Get the Best IPTV Service
(self.webpackChunkdiscourse=self.webpackChunkdiscourse||[]).push([[827],{72:(e,t,i)=>{"use strict";i.r(t),i.d(t,{_addTrackedPostProperty:()=>E,clearAddedTrackedPostProperties:()=>L,default:()=>F});var s=i(40779),n=i(66530),r=i(58295),a=i(13744),o=i(58670),l=i(23286),u=i(12640),d=i(20559),c=i(72172),p=i(27090),h=i(6827),m=i(47754),g=i(87285),f=i(75009),_=i(86232),y=i(34057),b=i(47353),w=i(64299),k=i(78188),T=i(37288),S=i(95357),C=i(48297),A=i(57364);let D=(0,i(69853).A)(i(40779)).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,d.ajax)(`/posts/${e}/bookmark`,{type:"PUT",data:{bookmarked:t}})}static destroyBookmark(e){return(0,d.ajax)(`/posts/${e}/bookmark`,{type:"DELETE"})}static deleteMany(e){let{agreeWithFirstReplyFlag:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,d.ajax)("/posts/destroy_many",{type:"DELETE",data:{post_ids:e,agree_with_first_reply_flag:t}})}static mergePosts(e){return(0,d.ajax)("/posts/merge_posts",{type:"PUT",data:{post_ids:e}}).catch(c.popupAjaxError)}static loadRevision(e,t){return(0,d.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,d.ajax)(`/posts/${e}/revisions/${t}/hide`,{type:"PUT"})}static permanentlyDeleteRevisions(e){return(0,d.ajax)(`/posts/${e}/revisions/permanently_delete`,{type:"DELETE"})}static showRevision(e,t){return(0,d.ajax)(`/posts/${e}/revisions/${t}/show`,{type:"PUT"})}static loadRawEmail(e){return(0,d.ajax)(`/posts/${e}/raw-email.json`)}static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #n=(()=>dt7948.g(this.prototype,"customShare",[s.tracked],function(){return null}))();#r=(()=>void dt7948.i(this,"customShare"))();static #a=(()=>dt7948.g(this.prototype,"action_code",[P]))();#o=(()=>void dt7948.i(this,"action_code"))();static #l=(()=>dt7948.g(this.prototype,"action_code_path",[P]))();#u=(()=>void dt7948.i(this,"action_code_path"))();static #d=(()=>dt7948.g(this.prototype,"action_code_who",[P]))();#c=(()=>void dt7948.i(this,"action_code_who"))();static #p=(()=>dt7948.g(this.prototype,"actions_summary",[P]))();#h=(()=>void dt7948.i(this,"actions_summary"))();static #m=(()=>dt7948.g(this.prototype,"admin",[P]))();#g=(()=>void dt7948.i(this,"admin"))();static #f=(()=>dt7948.g(this.prototype,"badges_granted",[P]))();#_=(()=>void dt7948.i(this,"badges_granted"))();static #y=(()=>dt7948.g(this.prototype,"bookmarked",[P]))();#b=(()=>void dt7948.i(this,"bookmarked"))();static #v=(()=>dt7948.g(this.prototype,"can_delete",[P]))();#w=(()=>void dt7948.i(this,"can_delete"))();static #k=(()=>dt7948.g(this.prototype,"can_edit",[P]))();#T=(()=>void dt7948.i(this,"can_edit"))();static #S=(()=>dt7948.g(this.prototype,"can_permanently_delete",[P]))();#C=(()=>void dt7948.i(this,"can_permanently_delete"))();static #A=(()=>dt7948.g(this.prototype,"can_recover",[P]))();#D=(()=>void dt7948.i(this,"can_recover"))();static #M=(()=>dt7948.g(this.prototype,"can_see_hidden_post",[P]))();#x=(()=>void dt7948.i(this,"can_see_hidden_post"))();static #E=(()=>dt7948.g(this.prototype,"can_view_edit_history",[P]))();#L=(()=>void dt7948.i(this,"can_view_edit_history"))();static #P=(()=>dt7948.g(this.prototype,"cooked",[P]))();#F=(()=>void dt7948.i(this,"cooked"))();static #I=(()=>dt7948.g(this.prototype,"cooked_hidden",[P]))();#N=(()=>void dt7948.i(this,"cooked_hidden"))();static #O=(()=>dt7948.g(this.prototype,"created_at",[P]))();#j=(()=>void dt7948.i(this,"created_at"))();static #R=(()=>dt7948.g(this.prototype,"deleted_at",[P]))();#U=(()=>void dt7948.i(this,"deleted_at"))();static #B=(()=>dt7948.g(this.prototype,"deleted_by",[P]))();#H=(()=>void dt7948.i(this,"deleted_by"))();static #Y=(()=>dt7948.g(this.prototype,"excerpt",[P]))();#q=(()=>void dt7948.i(this,"excerpt"))();static #$=(()=>dt7948.g(this.prototype,"expandedExcerpt",[P]))();#z=(()=>void dt7948.i(this,"expandedExcerpt"))();static #V=(()=>dt7948.g(this.prototype,"group_moderator",[P]))();#W=(()=>void dt7948.i(this,"group_moderator"))();static #K=(()=>dt7948.g(this.prototype,"hidden",[P]))();#G=(()=>void dt7948.i(this,"hidden"))();static #J=(()=>dt7948.g(this.prototype,"id",[P]))();#Q=(()=>void dt7948.i(this,"id"))();static #X=(()=>dt7948.g(this.prototype,"is_auto_generated",[P]))();#Z=(()=>void dt7948.i(this,"is_auto_generated"))();static #ee=(()=>dt7948.g(this.prototype,"last_wiki_edit",[P]))();#et=(()=>void dt7948.i(this,"last_wiki_edit"))();static #ei=(()=>dt7948.g(this.prototype,"likeAction",[P]))();#es=(()=>void dt7948.i(this,"likeAction"))();static #en=(()=>dt7948.g(this.prototype,"link_counts",[P]))();#er=(()=>void dt7948.i(this,"link_counts"))();static #ea=(()=>dt7948.g(this.prototype,"locked",[P]))();#eo=(()=>void dt7948.i(this,"locked"))();static #el=(()=>dt7948.g(this.prototype,"moderator",[P]))();#eu=(()=>void dt7948.i(this,"moderator"))();static #ed=(()=>dt7948.g(this.prototype,"name",[P]))();#ec=(()=>void dt7948.i(this,"name"))();static #ep=(()=>dt7948.g(this.prototype,"notice",[P]))();#eh=(()=>void dt7948.i(this,"notice"))();static #em=(()=>dt7948.g(this.prototype,"notice_created_by_user",[P]))();#eg=(()=>void dt7948.i(this,"notice_created_by_user"))();static #ef=(()=>dt7948.g(this.prototype,"post_number",[P]))();#e_=(()=>void dt7948.i(this,"post_number"))();static #ey=(()=>dt7948.g(this.prototype,"post_type",[P]))();#eb=(()=>void dt7948.i(this,"post_type"))();static #ev=(()=>dt7948.g(this.prototype,"primary_group_name",[P]))();#ew=(()=>void dt7948.i(this,"primary_group_name"))();static #ek=(()=>dt7948.g(this.prototype,"quoted",[P]))();#eT=(()=>void dt7948.i(this,"quoted"))();static #eS=(()=>dt7948.g(this.prototype,"read",[P]))();#eC=(()=>void dt7948.i(this,"read"))();static #eA=(()=>dt7948.g(this.prototype,"reply_count",[P]))();#eD=(()=>void dt7948.i(this,"reply_count"))();static #eM=(()=>dt7948.g(this.prototype,"reply_to_user",[P]))();#ex=(()=>void dt7948.i(this,"reply_to_user"))();static #eE=(()=>dt7948.g(this.prototype,"staff",[P]))();#eL=(()=>void dt7948.i(this,"staff"))();static #eP=(()=>dt7948.g(this.prototype,"staged",[P]))();#eF=(()=>void dt7948.i(this,"staged"))();static #eI=(()=>dt7948.g(this.prototype,"title_is_group",[P]))();#eN=(()=>void dt7948.i(this,"title_is_group"))();static #eO=(()=>dt7948.g(this.prototype,"topic",[P]))();#ej=(()=>void dt7948.i(this,"topic"))();static #eR=(()=>dt7948.g(this.prototype,"topic_id",[P]))();#eU=(()=>void dt7948.i(this,"topic_id"))();static #eB=(()=>dt7948.g(this.prototype,"trust_level",[P]))();#eH=(()=>void dt7948.i(this,"trust_level"))();static #eY=(()=>dt7948.g(this.prototype,"updated_at",[P]))();#eq=(()=>void dt7948.i(this,"updated_at"))();static #e$=(()=>dt7948.g(this.prototype,"user_deleted",[P]))();#ez=(()=>void dt7948.i(this,"user_deleted"))();static #eV=(()=>dt7948.g(this.prototype,"user_id",[P]))();#eW=(()=>void dt7948.i(this,"user_id"))();static #eK=(()=>dt7948.g(this.prototype,"user_suspended",[P]))();#eG=(()=>void dt7948.i(this,"user_suspended"))();static #eJ=(()=>dt7948.g(this.prototype,"user_title",[P]))();#eQ=(()=>void dt7948.i(this,"user_title"))();static #eX=(()=>dt7948.g(this.prototype,"username",[P]))();#eZ=(()=>void dt7948.i(this,"username"))();static #e1=(()=>dt7948.g(this.prototype,"version",[P]))();#e0=(()=>void dt7948.i(this,"version"))();static #e3=(()=>dt7948.g(this.prototype,"via_email",[P]))();#e2=(()=>void dt7948.i(this,"via_email"))();static #e8=(()=>dt7948.g(this.prototype,"wiki",[P]))();#e4=(()=>void dt7948.i(this,"wiki"))();static #e7=(()=>dt7948.g(this.prototype,"yours",[P]))();#e9=(()=>void dt7948.i(this,"yours"))();static #e5=(()=>dt7948.g(this.prototype,"user_custom_fields",[P]))();#e6=(()=>void dt7948.i(this,"user_custom_fields"))();static #te=(()=>dt7948.g(this.prototype,"post_localizations",[P]))();#tt=(()=>void dt7948.i(this,"post_localizations"))();static #ti=(()=>dt7948.g(this.prototype,"canEdit",[(0,r.alias)("can_edit")]))();#ts=(()=>void dt7948.i(this,"canEdit"))();static #tn=(()=>dt7948.g(this.prototype,"new_user",[(0,r.equal)("trust_level",0)]))();#tr=(()=>void dt7948.i(this,"new_user"))();static #ta=(()=>dt7948.g(this.prototype,"firstPost",[(0,r.equal)("post_number",1)]))();#to=(()=>void dt7948.i(this,"firstPost"))();static #tl=(()=>dt7948.g(this.prototype,"deletedViaTopic",[(0,r.and)("firstPost","topic.deleted_at")]))();#tu=(()=>void dt7948.i(this,"deletedViaTopic"))();static #td=(()=>dt7948.g(this.prototype,"deleted",[(0,r.or)("deleted_at","deletedViaTopic")]))();#tc=(()=>void dt7948.i(this,"deleted"))();static #tp=(()=>dt7948.g(this.prototype,"notDeleted",[(0,r.not)("deleted")]))();#th=(()=>void dt7948.i(this,"notDeleted"))();static #tm=(()=>dt7948.g(this.prototype,"recoverable",[(0,r.or)("deleted_at","user_deleted")]))();#tg=(()=>void dt7948.i(this,"recoverable"))();static #tf=(()=>dt7948.g(this.prototype,"topicOwner",[(0,p.propertyEqual)("topic.details.created_by.id","user_id")]))();#t_=(()=>void dt7948.i(this,"topicOwner"))();static #ty=(()=>dt7948.g(this.prototype,"topicCreatedById",[(0,r.alias)("topic.details.created_by.id")]))();#tb=(()=>void dt7948.i(this,"topicCreatedById"))();static #tv=(()=>dt7948.g(this.prototype,"postDeletedBy",[(0,r.alias)("deletedBy")]))();#tw=(()=>void dt7948.i(this,"postDeletedBy"))();static #tk=(()=>dt7948.g(this.prototype,"postDeletedAt",[(0,r.alias)("deletedAt")]))();#tT=(()=>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 #tS=(()=>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 #tC=(()=>dt7948.n(this.prototype,"url",[(0,h.default)("post_number","topic_id","topic.slug")]))();urlWithNumber(e,t){return 1===e?`${t}/1`:t}static #tA=(()=>dt7948.n(this.prototype,"urlWithNumber",[(0,h.default)("post_number","url")]))();usernameUrl(e){return(0,_.userPath)(e)}static #tD=(()=>dt7948.n(this.prototype,"usernameUrl",[(0,h.default)("username")]))();updatePostField(e,t){let i={};return i[e]=t,(0,d.ajax)(`/posts/${this.id}/${e}`,{type:"PUT",data:i}).then(i=>(this.set(e,t),i)).catch(c.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 #tM=(()=>dt7948.n(this.prototype,"flagsAvailable",[(0,h.default)("actions_summary.@each.can_act")]))();useTopicTitleHeadline(e,t){return e&&t}static #tx=(()=>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 #tE=(()=>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 isSmallAction(){return this.post_type===this.site.post_types.small_action||"split_topic"===this.action_code}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)}get user(){return this.user_id&&this.username?C.default.create({id:this.user_id,username:this.username,name:this.name,admin:this.admin,avatar_template:this.avatar_template,flair_bg_color:this.flair_bg_color,flair_color:this.flair_color,flair_group_id:this.flair_group_id,flair_name:this.flair_name,flair_url:this.flair_url,moderator:this.moderator,primary_group_name:this.primary_group_name,status:this.user_status,title:this.user_title,trust_level:this.trust_level,custom_fields:this.user_custom_fields}):null}static #tL=(()=>dt7948.n(this.prototype,"user",[D]))();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,d.ajax)(`/posts/${this.id}/expand-embed`);this.cooked=`
${e.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,d.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,c.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,d.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"):"topic"===t&&!i&&s&&(r=!0),r||this.set(t,i))})}expandHidden(){return(0,d.ajax)(`/posts/${this.id}/cooked.json`).then(e=>{this.setProperties({cooked:e.cooked,cooked_hidden:!1})})}rebake(){return(0,d.ajax)(`/posts/${this.id}/rebake`,{type:"PUT"}).catch(c.popupAjaxError)}unhide(){return(0,d.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,d.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 #tP=(()=>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.actionType.translatedDescription}))}static #tF=(()=>dt7948.n(this.prototype,"actionsSummary",[D]))()}},129:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(98914);function n(e){return(0,s.default)(e)||"string"==typeof e&&!1===/\S/.test(e)}},175:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(24698),n=i(13744),r=i(81430),a=i(21018),o=i.n(a),l=i(9348),u=i(55888);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"tooltip",[n.service]))();#tI=(()=>void dt7948.i(this,"tooltip"))();registerDTooltip=(()=>(0,r.modifier)(e=>{o()("`` is deprecated. Use `` or the `tooltip` service instead.",{id:"discourse.d-popover"});let t=e.children[0],i=e.children[1];if(!t||!i)return;let s=this.tooltip.register(t,{content:i});return i.remove(),()=>{s.destroy()}}))();static #i=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"kEXzdHRf",block:'[[[1,"\\n "],[11,0],[24,5,"display:inline-flex;"],[4,[30,0,["registerDTooltip"]],null,null],[12],[1,"\\n "],[18,1,null],[1,"\\n "],[13],[1,"\\n "]],["&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-popover.js",isStrictMode:!0}),this))()}},184:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CustomComponentManager:()=>W,CustomHelperManager:()=>C,CustomModifierManager:()=>J,capabilityFlagsFrom:()=>_,componentCapabilities:()=>$,getComponentTemplate:()=>es,getCustomTagFor:()=>u,getInternalComponentManager:()=>U,getInternalHelperManager:()=>j,getInternalModifierManager:()=>I,hasCapability:()=>w,hasDestroyable:()=>S,hasInternalComponentManager:()=>B,hasInternalHelperManager:()=>H,hasInternalModifierManager:()=>Y,hasValue:()=>T,helperCapabilities:()=>k,managerHasCapability:()=>b,modifierCapabilities:()=>G,setComponentManager:()=>Q,setComponentTemplate:()=>ei,setCustomTagFor:()=>d,setHelperManager:()=>Z,setInternalComponentManager:()=>R,setInternalHelperManager:()=>N,setInternalModifierManager:()=>F,setModifierManager:()=>X});var s=i(77597),n=i(17633),r=i(16226),a=i(4837),o=i(43800);let l=new WeakMap;function u(e){return l.get(e)}function d(e,t){l.set(e,t)}function c(e){if("symbol"==typeof e)return null;let t=Number(e);return isNaN(t)?null:t%1==0?t:null}class p{constructor(e){this.named=e}get(e,t){let i=this.named[t];if(void 0!==i)return(0,r.valueForRef)(i)}has(e,t){return t in this.named}ownKeys(){return Object.keys(this.named)}isExtensible(){return!1}getOwnPropertyDescriptor(e,t){return{enumerable:!0,configurable:!0}}}class h{constructor(e){this.positional=e}get(e,t){let{positional:i}=this;if("length"===t)return i.length;let s=c(t);return null!==s&&s{let{named:i,positional:s}=e,n=new p(i),o=new h(s),l=new Proxy(Object.create(null),n),u=new Proxy([],o);return d(l,(e,t)=>(function(e,t){return(0,a.track)(()=>{t in e&&(0,r.valueForRef)(e[t])})})(i,t)),d(u,(e,t)=>(function(e,t){return(0,a.track)(()=>{"[]"===t&&e.forEach(r.valueForRef);let i=c(t);null!==i&&i1&&void 0!==arguments[1]?arguments[1]:{};return g({hasValue:!!t.hasValue,hasDestroyable:!!t.hasDestroyable,hasScheduledEffect:!!t.hasScheduledEffect})}function T(e){return e.capabilities.hasValue}function S(e){return e.capabilities.hasDestroyable}class C{constructor(e){this.factory=e}helperManagerDelegates=(()=>new WeakMap)();undefinedDelegate=null;getDelegateForOwner(e){let t=this.helperManagerDelegates.get(e);if(void 0===t){let{factory:i}=this;t=i(e),this.helperManagerDelegates.set(e,t)}return t}getDelegateFor(e){if(void 0===e){let{undefinedDelegate:e}=this;if(null===e){let{factory:t}=this;this.undefinedDelegate=e=t(void 0)}return e}return this.getDelegateForOwner(e)}getHelper(e){return(t,i)=>{let s=this.getDelegateFor(i),a=m(t,"helper"),o=s.createHelper(e,a);if(T(s)){let e=(0,r.createComputeRef)(()=>s.getValue(o),null,!1);return S(s)&&(0,n.associateDestroyableChild)(e,s.getDestroyable(o)),e}if(S(s)){let e=(0,r.createConstRef)(void 0,!1);return(0,n.associateDestroyableChild)(e,s.getDestroyable(o)),e}return r.UNDEFINED_REFERENCE}}}class A{capabilities=(()=>g({hasValue:!0,hasDestroyable:!1,hasScheduledEffect:!1}))();createHelper(e,t){return{fn:e,args:t}}getValue(e){let{fn:t,args:i}=e;return Object.keys(i.named).length>0?t(...i.positional,i.named):t(...i.positional)}getDebugName(e){return e.name?`(helper function ${e.name})`:"(anonymous helper function)"}}let D=new WeakMap,M=new WeakMap,x=new WeakMap,E=Object.getPrototypeOf;function L(e,t,i){return e.set(i,t),i}function P(e,t){let i=t;for(;null!=i;){let t=e.get(i);if(void 0!==t)return t;i=E(i)}}function F(e,t){return L(M,e,t)}function I(e,t){let i=P(M,e);return void 0===i&&!0===t?null:i}function N(e,t){return L(x,e,t)}let O=new C(()=>new A);function j(e,t){let i=P(x,e);return(void 0===i&&"function"==typeof e&&(i=O),i)?i:null}function R(e,t){return L(D,e,t)}function U(e,t){let i=P(D,e);return void 0===i&&!0===t?null:i}function B(e){return void 0!==P(D,e)}function H(e){return function(e){return"function"==typeof e}(e)||void 0!==P(x,e)}function Y(e){return void 0!==P(M,e)}let q={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!0,attributeHook:!1,elementHook:!1,createCaller:!1,dynamicScope:!0,updateHook:!0,createInstance:!0,wrapped:!1,willDestroy:!1,hasSubOwner:!1};function $(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=!!t.updateHook;return g({asyncLifeCycleCallbacks:!!t.asyncLifecycleCallbacks,destructor:!!t.destructor,updateHook:i})}function z(e){return e.capabilities.asyncLifeCycleCallbacks}function V(e){return e.capabilities.updateHook}class W{componentManagerDelegates=(()=>new WeakMap)();constructor(e){this.factory=e}getDelegateFor(e){let{componentManagerDelegates:t}=this,i=t.get(e);if(void 0===i){let{factory:s}=this;i=s(e),t.set(e,i)}return i}create(e,t,i){let s=this.getDelegateFor(e),n=m(i.capture(),"component");return new K(s.createComponent(t,n),s,n)}getDebugName(e){return"function"==typeof e?e.name:e.toString()}update(e){let{delegate:t}=e;if(V(t)){let{component:i,args:s}=e;t.updateComponent(i,s)}}didCreate(e){let{component:t,delegate:i}=e;z(i)&&i.didCreateComponent(t)}didUpdate(e){let{component:t,delegate:i}=e;(function(e){return z(e)&&V(e)})(i)&&i.didUpdateComponent(t)}didRenderLayout(){}didUpdateLayout(){}getSelf(e){let{component:t,delegate:i}=e;return(0,r.createConstRef)(i.getContext(t),"this")}getDestroyable(e){let{delegate:t}=e;if(function(e){return e.capabilities.destructor}(t)){let{component:i}=e;return(0,n.registerDestructor)(e,()=>t.destroyComponent(i)),e}return null}getCapabilities(){return q}}class K{constructor(e,t,i){this.component=e,this.delegate=t,this.args=i}}function G(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return g({disableAutoTracking:!!t.disableAutoTracking})}class J{componentManagerDelegates=(()=>new WeakMap)();constructor(e){this.factory=e}getDelegateFor(e){let{componentManagerDelegates:t}=this,i=t.get(e);if(void 0===i){let{factory:s}=this;i=s(e),t.set(e,i)}return i}create(e,t,i,s){let r,o=this.getDelegateFor(e),l=m(s,"modifier"),u=o.createModifier(i,l);return r={tag:(0,a.createUpdatableTag)(),element:t,delegate:o,args:l,modifier:u},(0,n.registerDestructor)(r,()=>o.destroyModifier(u,l)),r}getDebugName(e){return"function"==typeof e?e.name||e.toString():""}getDebugInstance(e){let{modifier:t}=e;return t}getTag(e){let{tag:t}=e;return t}install(e){let{element:t,args:i,modifier:n,delegate:r}=e,{capabilities:o}=r;!0===o.disableAutoTracking?(0,a.untrack)(()=>r.installModifier(n,(0,s.castToBrowser)(t,"ELEMENT"),i)):r.installModifier(n,(0,s.castToBrowser)(t,"ELEMENT"),i)}update(e){let{args:t,modifier:i,delegate:s}=e,{capabilities:n}=s;!0===n.disableAutoTracking?(0,a.untrack)(()=>s.updateModifier(i,t)):s.updateModifier(i,t)}getDestroyable(e){return e}}function Q(e,t){return R(new W(e),t)}function X(e,t){return F(new J(e),t)}function Z(e,t){return N(new C(e),t)}let ee=new WeakMap,et=Object.getPrototypeOf;function ei(e,t){return ee.set(t,e),t}function es(e){let t=e;for(;null!==t;){let e=ee.get(t);if(void 0!==e)return e;t=et(t)}}},186:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(23463);class n extends s.default{}},228:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(13744),n=i(86232),r=i(28710),a=i(65677),o=i(57364);class l extends a.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[s.service]))();#tN=(()=>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")}}},300:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(71795),n=i(57364);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}`})}}},317:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(9348),n=i(55888);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))()}},383:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(24698),n=i(40779),r=i(9348),a=i(66530),o=i(13744),l=i(11811),u=i(66296),d=i(20559),c=i(72172),p=i(51715),h=i(57364),m=i(55888);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #i=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #n=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #a=(()=>dt7948.g(this.prototype,"errorMessage",[n.tracked]))();#tj=(()=>void dt7948.i(this,"errorMessage"))();static #l=(()=>dt7948.g(this.prototype,"resetEmailSent",[n.tracked],function(){return null}))();#tR=(()=>void dt7948.i(this,"resetEmailSent"))();static #d=(()=>dt7948.g(this.prototype,"isLoading",[n.tracked],function(){return!1}))();#tU=(()=>void dt7948.i(this,"isLoading"))();passwordLabel=(()=>(0,h.i18n)("user.password.title"))();instructions=(()=>(0,h.i18n)("user.confirm_access.instructions"))();loggedInAs=(()=>(0,h.i18n)("user.confirm_access.logged_in_as"))();finePrint=(()=>(0,h.i18n)("user.confirm_access.fine_print"))();get canUsePasskeys(){return this.siteSettings.enable_local_logins&&this.siteSettings.enable_passkeys&&this.currentUser.user_passkeys?.length>0&&(0,p.isWebauthnSupported)()}async confirmWithPasskey(){try{let e=await (0,p.getPasskeyCredential)(e=>this.dialog.alert(e));if(!e)return;(await (0,d.ajax)("/u/confirm-session.json",{type:"POST",data:{publicKeyCredential:e}})).success?(this.errorMessage=null,this.dialog.didConfirmWrapped()):this.errorMessage=(0,h.i18n)("user.confirm_access.incorrect_passkey")}catch(e){(0,c.popupAjaxError)(e)}}static #p=(()=>dt7948.n(this.prototype,"confirmWithPasskey",[a.action]))();async submit(){try{this.isLoading=!0,this.errorMessage=this.password?null:(0,h.i18n)("user.confirm_access.incorrect_password"),(await (0,d.ajax)("/u/confirm-session.json",{type:"POST",data:{password:this.password}})).success?(this.errorMessage=null,this.dialog.didConfirmWrapped()):this.errorMessage=(0,h.i18n)("user.confirm_access.incorrect_password")}finally{this.isLoading=!1}}static #m=(()=>dt7948.n(this.prototype,"submit",[a.action]))();async sendPasswordResetEmail(){try{(await this.currentUser.changePassword()).success?(this.errorMessage=null,this.resetEmailSent=(0,h.i18n)("user.confirm_access.password_reset_email_sent")):this.errorMessage=(0,h.i18n)("user.confirm_access.cannot_send_password_reset_email")}catch(e){this.errorMessage=(0,c.extractError)(e,(0,h.i18n)("user.confirm_access.cannot_send_password_reset_email"))}}static #f=(()=>dt7948.n(this.prototype,"sendPasswordResetEmail",[a.action]))();static #y=(()=>(0,r.setComponentTemplate)((0,m.createTemplateFactory)({id:"4UKzXD1A",block:'[[[1,"\\n"],[41,[30,0,["errorMessage"]],[[[1," "],[10,0],[14,0,"alert alert-error"],[12],[1,"\\n "],[1,[30,0,["errorMessage"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"control-group confirm-session"],[12],[1,"\\n "],[10,0],[14,0,"confirm-session__instructions"],[12],[1,"\\n "],[1,[30,0,["instructions"]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"confirm-session__instructions"],[12],[1,"\\n "],[10,1],[12],[1,[30,0,["loggedInAs"]]],[13],[1,"\\n "],[8,[32,0],null,[["@user"],[[30,0,["currentUser"]]]],[["default"],[[[[1,"\\n "],[1,[30,0,["currentUser","username"]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,"form"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[30,0,["passwordLabel"]]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[10,0],[14,0,"inline-form"],[12],[1,"\\n "],[8,[32,1],[[24,1,"password"],[24,0,"input-large"],[24,"autofocus","autofocus"]],[["@value","@type"],[[30,0,["password"]],"password"]],null],[1,"\\n "],[8,[32,2],[[24,0,"btn-primary"]],[["@isLoading","@type","@action","@label"],[[30,0,["isLoading"]],"submit",[30,0,["submit"]],"user.password.confirm"]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"confirm-session__reset"],[12],[1,"\\n "],[8,[32,2],[[24,0,"btn-link btn-flat confirm-session__reset-btn"]],[["@label","@action"],["user.confirm_access.forgot_password",[30,0,["sendPasswordResetEmail"]]]],null],[1,"\\n"],[41,[30,0,["resetEmailSent"]],[[[1," "],[10,1],[14,0,"confirm-session__reset-email-sent"],[12],[1,"\\n "],[1,[30,0,["resetEmailSent"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"],[41,[30,0,["canUsePasskeys"]],[[[1," "],[10,0],[14,0,"confirm-session__passkey"],[12],[1,"\\n "],[8,[32,2],null,[["@action","@label","@icon"],[[30,0,["confirmWithPasskey"]],"user.passkeys.confirm_button","user"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"confirm-session__fine-print"],[12],[1,"\\n "],[1,[30,0,["finePrint"]]],[1,"\\n "],[13],[1,"\\n\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/dialog-messages/confirm-session.js",scope:()=>[u.default,r.Input,l.default],isStrictMode:!0}),this))()}},493:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(1848),n=i(57364),r=i(44093),a=i(81235),o=i(86558);let l=dt7948.c(class extends r.default{modifyComponentForRow(){return a.default}},[(0,o.pluginApiIdentifiers)(["color-palettes"]),(0,o.selectKitOptions)({translatedNone:(0,n.i18n)("admin.customize.theme.default_light_scheme")}),(0,s.classNames)("color-palettes")])},565:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(24698),n=i(66530),r=i(41993),a=i(13744),o=i(96675),l=i(25334),u=i(9348),d=i(55888);class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"search",[a.service]))();#tB=(()=>void dt7948.i(this,"search"))();highlight(e){(0,l.default)(e,this.search.activeGlobalSearchTerm)}static #i=(()=>dt7948.n(this.prototype,"highlight",[n.action]))();static #n=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"C5v1dlcJ",block:'[[[1,"\\n "],[11,1],[4,[32,0],[[30,0,["highlight"]]],null],[12],[1,"\\n "],[1,[28,[32,1],[[30,1]],null]],[1,"\\n "],[13],[1,"\\n "]],["@string"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/search-menu/highlighted-search.js",scope:()=>[r.default,o.htmlSafe],isStrictMode:!0}),this))()}},677:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(24698),n=i(13744),r=i(86726),a=i(96675),o=i(81430),l=i(11811),u=i(79401),d=i(81894),c=i(82286),p=i(22106),h=i(52716),m=i(47754),g=i(34057),f=i(57364),_=i(9348),y=i(55888);class b extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #a=(()=>dt7948.g(this.prototype,"appEvents",[n.service]))();#tY=(()=>void dt7948.i(this,"appEvents"))();static #l=(()=>dt7948.g(this.prototype,"search",[n.service]))();#tB=(()=>void dt7948.i(this,"search"))();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(),this.search.welcomeBannerSearchInViewport=!1}}))();handleKeyboardShortcut=(()=>(0,o.modifier)(()=>{let e=e=>{"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(){switch(this.siteSettings.welcome_banner_page_visibility){case"top_menu_pages":return this.siteSettings.top_menu.split("|").any(e=>`discovery.${e}`===this.router.currentRouteName);case"homepage":return this.router.currentRouteName===`discovery.${(0,g.defaultHomepage)()}`;case"discovery":return this.router.currentRouteName.startsWith("discovery.");case"all_pages":return!0;default:return!1}}get headerText(){return this.currentUser?(0,f.i18n)("welcome_banner.header.logged_in_members",{preferred_display_name:(0,m.sanitize)((0,h.prioritizeNameFallback)(this.currentUser.name,this.currentUser.username))}):(0,f.i18n)("welcome_banner.header.anonymous_members",{site_name:this.siteSettings.title})}get subheaderText(){let e=this.currentUser?"logged_in_members":"anonymous_members";return f.default.lookup(`welcome_banner.subheader.${e}`)}get shouldDisplay(){return this.siteSettings.enable_welcome_banner&&this.displayForRoute}get bodyClasses(){return this.shouldDisplay&&this.search.welcomeBannerSearchInViewport?"welcome-banner--enabled welcome-banner--visible":this.shouldDisplay?"welcome-banner--enabled":""}get locationClass(){return`--location-${(0,r.dasherize)(this.siteSettings.welcome_banner_location)}`}get bgImgClass(){if(this.siteSettings.welcome_banner_image)return"--with-bg-img"}get bgImgStyle(){if(this.siteSettings.welcome_banner_image)return(0,a.htmlSafe)(`background-image: url(${(0,g.escapeExpression)(this.siteSettings.welcome_banner_image)})`)}static #d=(()=>(0,_.setComponentTemplate)((0,y.createTemplateFactory)({id:"djL9TZg/",block:'[[[1,"\\n "],[1,[28,[32,0],[[30,0,["bodyClasses"]]],null]],[1,"\\n"],[41,[30,0,["shouldDisplay"]],[[[1," "],[11,0],[16,5,[52,[30,0,["bgImgStyle"]],[30,0,["bgImgStyle"]]]],[16,0,[28,[32,1],["welcome-banner",[30,0,["locationClass"]],[30,0,["bgImgClass"]]],null]],[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,2],[[30,0,["headerText"]]],null]],[1,"\\n"],[41,[30,0,["subheaderText"]],[[[1," "],[10,2],[14,0,"welcome-banner__subheader"],[12],[1,"\\n "],[1,[28,[32,2],[[30,0,["subheaderText"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[8,[32,3],null,[["@name"],["welcome-banner-below-headline"]],null],[1,"\\n "],[10,0],[14,0,"search-menu welcome-banner__search-menu"],[12],[1,"\\n "],[8,[32,4],[[24,0,"search-icon"]],[["@icon","@title","@href"],["magnifying-glass","search.open_advanced","/search?expanded=true"]],null],[1,"\\n "],[8,[32,5],null,[["@location","@searchInputId"],["welcome-banner","welcome-banner-search-input"]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,3],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:()=>[c.default,p.default,a.htmlSafe,u.default,l.default,d.default],isStrictMode:!0}),this))()}},687:function(e,t,i){!function(e,t){t(i(4387))}(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("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".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 ਵਜੇ"},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}})})},765:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698),n=i(4089),r=i(66530),a=i(99148),o=i(99307),l=i(48310),u=i(34057),d=i(37159),c=i(96533),p=i(9348),h=i(55888);class m extends s.default{clickOutside(e){if(e.target.classList.contains("header-cloak")&&!(0,u.prefersReducedMotion)()){let e=document.querySelector(".menu-panel"),t=document.querySelector(".header-cloak"),i=(0,l.isDocumentRTL)()?"-340px":"340px";e.animate([{transform:`translate3d(${i}, 0, 0)`}],{duration:200,fill:"forwards",easing:"ease-in"}).finished.then(()=>{(0,a.isTesting)()?this.args.toggleUserMenu():(0,o.default)(()=>this.args.toggleUserMenu())}),t.animate([{opacity:0}],{duration:200,fill:"forwards",easing:"ease-in"})}else this.args.toggleUserMenu()}static #e=(()=>dt7948.n(this.prototype,"clickOutside",[r.action]))();static #i=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"S7Hkd1b8",block:'[[[1,"\\n "],[11,0],[24,0,"user-menu-dropdown-wrapper"],[17,1],[4,[32,0],[[30,0,["clickOutside"]],[28,[32,1],null,[["targetSelector","secondaryTargetSelector"],[".user-menu-panel",".user-menu-panel"]]]],null],[12],[1,"\\n "],[8,[32,2],null,[["@closeUserMenu"],[[28,[32,3],[[30,2],false],null]]],null],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@toggleUserMenu"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/user-menu-wrapper.js",scope:()=>[d.default,n.hash,c.default,n.fn],isStrictMode:!0}),this))()}},879:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(4089),n=i(96675),r=i(90098),a=i(91160),o=i(11811),l=i(9348),u=i(55888),d=i(74975);let c=(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,d.default)(void 0,void 0)))},894:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Component:()=>n.C,DOMChanges:()=>o.DOMChanges,DOMTreeConstruction:()=>o.DOMTreeConstruction,Helper:()=>n.H,Input:()=>n.I,LinkTo:()=>n.L,NodeDOMTreeConstruction:()=>l.NodeDOMTreeConstruction,OutletView:()=>n.O,Renderer:()=>n.b,RootTemplate:()=>n.R,SafeString:()=>n.S,Textarea:()=>n.T,_resetRenderers:()=>n._,componentCapabilities:()=>d.componentCapabilities,escapeExpression:()=>n.e,getTemplate:()=>r.g,getTemplates:()=>r.a,hasTemplate:()=>r.h,helper:()=>n.h,htmlSafe:()=>n.a,isHTMLSafe:()=>n.i,isSerializationFirstNode:()=>o.isSerializationFirstNode,modifierCapabilities:()=>d.modifierCapabilities,renderSettled:()=>n.r,setComponentManager:()=>u.s,setTemplate:()=>r.s,setTemplates:()=>r.b,setupApplicationRegistry:()=>a.a,setupEngineRegistry:()=>a.s,template:()=>s.templateFactory,templateCacheCounters:()=>s.templateCacheCounters,uniqueId:()=>n.u});var s=i(12023),n=i(56625),r=i(43775),a=i(20059),o=i(96131),l=i(67129),u=i(35968),d=i(184)},909:(e,t,i)=>{"use strict";var s=i(30379),n=i(49561),r=i(32641),a=i(8995),o=Object.prototype.hasOwnProperty,l=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[\x85\u2028\u2029]/,d=/[,\[\]\{\}]/,c=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function h(e){return Object.prototype.toString.call(e)}function m(e){return 10===e||13===e}function g(e){return 9===e||32===e}function f(e){return 9===e||32===e||10===e||13===e}function _(e){return 44===e||91===e||93===e||123===e||125===e}function y(e){return 48===e?"\0":97===e?"\x07":98===e?"\b":116===e||9===e?" ":110===e?` `:118===e?"\v":102===e?"\f":114===e?"\r":101===e?"\x1b":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}for(var b=Array(256),w=Array(256),k=0;k<256;k++)b[k]=+!!y(k),w[k]=y(k);function T(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||a,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function S(e,t){var i={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return i.snippet=r(i),new n(t,i)}function C(e,t){throw S(e,t)}function A(e,t){e.onWarning&&e.onWarning.call(null,S(e,t))}var D={YAML:function(e,t,i){var s,n,r;null!==e.version&&C(e,"duplication of %YAML directive"),1!==i.length&&C(e,"YAML directive accepts exactly one argument"),null===(s=/^([0-9]+)\.([0-9]+)$/.exec(i[0]))&&C(e,"ill-formed argument of the YAML directive"),n=parseInt(s[1],10),r=parseInt(s[2],10),1!==n&&C(e,"unacceptable YAML version of the document"),e.version=i[0],e.checkLineBreaks=r<2,1!==r&&2!==r&&A(e,"unsupported YAML version of the document")},TAG:function(e,t,i){var s,n;2!==i.length&&C(e,"TAG directive accepts exactly two arguments"),s=i[0],n=i[1],c.test(s)||C(e,"ill-formed tag handle (first argument) of the TAG directive"),o.call(e.tagMap,s)&&C(e,'there is a previously declared suffix for "'+s+'" tag handle'),p.test(n)||C(e,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(t){C(e,"tag prefix is malformed: "+n)}e.tagMap[s]=n}};function M(e,t,i,s){var n,r,a,o;if(t1&&(e.result+=s.repeat(` `,t-1))}function N(e,t){var i,s,n=e.tag,r=e.anchor,a=[],o=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),s=e.input.charCodeAt(e.position);0!==s&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,C(e,"tab characters must not be used in indentation")),45===s&&f(e.input.charCodeAt(e.position+1)));){if(o=!0,e.position++,P(e,!0,-1)&&e.lineIndent<=t){a.push(null),s=e.input.charCodeAt(e.position);continue}if(i=e.line,O(e,t,3,!1,!0),a.push(e.result),P(e,!0,-1),s=e.input.charCodeAt(e.position),(e.line===i||e.lineIndent>t)&&0!==s)C(e,"bad indentation of a sequence entry");else if(e.lineIndentt?D=1:e.lineIndent===t?D=0:e.lineIndentt?D=1:e.lineIndent===t?D=0:e.lineIndentt)&&(b&&(a=e.line,o=e.lineStart,l=e.position),O(e,t,4,!0,n)&&(b?_=e.result:y=e.result),b||(E(e,p,h,m,_,y,a,o,l),m=_=y=null),P(e,!0,-1),u=e.input.charCodeAt(e.position)),(e.line===r||e.lineIndent>t)&&0!==u)C(e,"bad indentation of a mapping entry");else if(e.lineIndent=0)0===r?C(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?C(e,"repeat of an indentation width identifier"):(d=t+r-1,u=!0);else break;if(g(a)){do a=e.input.charCodeAt(++e.position);while(g(a))if(35===a)do a=e.input.charCodeAt(++e.position);while(!m(a)&&0!==a)}for(;0!==a;){for(L(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!u||e.lineIndentd&&(d=e.lineIndent),m(a)){c++;continue}if(e.lineIndent0){for(n=a,r=0;n>0;n--)(a=function(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}(o=e.input.charCodeAt(++e.position)))>=0?r=(r<<4)+a:C(e,"expected hexadecimal character");e.result+=function(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}(r),e.position++}else C(e,"unknown escape sequence");i=s=e.position}else m(o)?(M(e,i,s,!0),I(e,P(e,!1,t)),i=s=e.position):e.position===e.lineStart&&F(e)?C(e,"unexpected end of the document within a double quoted scalar"):(e.position++,s=e.position);C(e,"unexpected end of the stream within a double quoted scalar")}(e,S)?j=!0:!function(e){var t,i,s;if(42!==(s=e.input.charCodeAt(e.position)))return!1;for(s=e.input.charCodeAt(++e.position),t=e.position;0!==s&&!f(s)&&!_(s);)s=e.input.charCodeAt(++e.position);return e.position===t&&C(e,"name of an alias node must contain at least one character"),i=e.input.slice(t,e.position),o.call(e.anchorMap,i)||C(e,'unidentified alias "'+i+'"'),e.result=e.anchorMap[i],P(e,!0,-1),!0}(e)?function(e,t,i){var s,n,r,a,o,l,u,d,c=e.kind,p=e.result;if(f(d=e.input.charCodeAt(e.position))||_(d)||35===d||38===d||42===d||33===d||124===d||62===d||39===d||34===d||37===d||64===d||96===d||(63===d||45===d)&&(f(s=e.input.charCodeAt(e.position+1))||i&&_(s)))return!1;for(e.kind="scalar",e.result="",n=r=e.position,a=!1;0!==d;){if(58===d){if(f(s=e.input.charCodeAt(e.position+1))||i&&_(s))break}else if(35===d){if(f(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&F(e)||i&&_(d))break;else if(m(d)){if(o=e.line,l=e.lineStart,u=e.lineIndent,P(e,!1,-1),e.lineIndent>=t){a=!0,d=e.input.charCodeAt(e.position);continue}e.position=r,e.line=o,e.lineStart=l,e.lineIndent=u;break}a&&(M(e,n,r,!1),I(e,e.line-o),n=r=e.position,a=!1),g(d)||(r=e.position+1),d=e.input.charCodeAt(++e.position)}return M(e,n,r,!1),!!e.result||(e.kind=c,e.result=p,!1)}(e,S,1===i)&&(j=!0,null===e.tag&&(e.tag="?")):(j=!0,(null!==e.tag||null!==e.anchor)&&C(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===D&&(j=u&&N(e,A))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&C(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),h=0,y=e.implicitTypes.length;h"),null!==e.result&&T.kind!==e.kind&&C(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+T.kind+'", not "'+e.kind+'"'),T.resolve(e.result,e.tag)?(e.result=T.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):C(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||j}function j(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+=` `),65279===e.charCodeAt(0)&&(e=e.slice(1)));var i=new T(e,t),s=e.indexOf("\0");for(-1!==s&&(i.position=s,C(i,"null byte is not allowed in input")),i.input+="\0";32===i.input.charCodeAt(i.position);)i.lineIndent+=1,i.position+=1;for(;i.position0)&&37===n);){for(a=!0,n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!f(n);)n=e.input.charCodeAt(++e.position);for(i=e.input.slice(t,e.position),s=[],i.length<1&&C(e,"directive name must not be less than one character in length");0!==n;){for(;g(n);)n=e.input.charCodeAt(++e.position);if(35===n){do n=e.input.charCodeAt(++e.position);while(0!==n&&!m(n))break}if(m(n))break;for(t=e.position;0!==n&&!f(n);)n=e.input.charCodeAt(++e.position);s.push(e.input.slice(t,e.position))}0!==n&&L(e),o.call(D,i)?D[i](e,i,s):A(e,'unknown document directive "'+i+'"')}if(P(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,P(e,!0,-1)):a&&C(e,"directives end mark is expected"),O(e,e.lineIndent-1,4,!1,!0),P(e,!0,-1),e.checkLineBreaks&&u.test(e.input.slice(r,e.position))&&A(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&F(e)){46===e.input.charCodeAt(e.position)&&(e.position+=3,P(e,!0,-1));return}e.position{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(23260),n=i(79422);let r=!1,a={initialize(){r||((0,s.registerDeprecationHandler)((e,t,i)=>{let s=(0,n.consolePrefix)();i(s?`${s} ${e}`:e,t)}),r=!0)}}},1057:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(24698),n=i(13744),r=i(66296),a=i(87018),o=i(22106),l=i(9348),u=i(55888);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();get ariaHidden(){return null!==this.args.ariaHidden?this.args.ariaHidden:!this.args.ariaLabel&&(this.args.ariaHidden??!0)}get hideFromAnonUser(){return this.siteSettings.hide_user_profiles_from_public&&!this.currentUser}static #n=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"VUJWj9Sy",block:'[[[1,"\\n "],[8,[32,0],[[17,1]],[["@ariaHidden","@ariaLabel","@href","@user"],[[30,2],[30,3],[30,4],[30,5]]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],[[30,5]],[["extraClasses","imageSize","hideTitle","loading"],[[28,[32,2],[[30,6],[52,[30,0,["hideFromAnonUser"]],"non-clickable"]],null],[30,7],[30,8],[52,[30,9],"lazy"]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","@ariaHidden","@ariaLabel","@href","@user","@avatarClasses","@size","@hideTitle","@lazy"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-avatar.js",scope:()=>[r.default,a.default,o.default],isStrictMode:!0}),this))()}},1094:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addBulkDropdownButton:()=>w,default:()=>k});var s=i(24698),n=i(4089),r=i(66530),a=i(13744),o=i(11811),l=i(68269),u=i(39538),d=i(97356),c=i(59417),p=i(22106),h=i(71773),m=i(57364),g=i(51719),f=i(9348),_=i(55888);let y=[],b={};function w(e){y.push({id:e.id,icon:e.icon,name:(0,m.i18n)(e.label),visible:e.visible,class:e.class}),(0,u.addBulkDropdownAction)(e.id,e.action);let t={label:e.label,setComponent:!0};"performAndRefresh"===e.actionType&&(t.setComponent=!1),b[e.id]=t}class k extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[a.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#tq=(()=>void dt7948.i(this,"modal"))();static #n=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #a=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();get buttons(){return[{id:"dismiss-unread",icon:"check",name:(0,m.i18n)("topic_bulk_actions.dismiss.name"),visible:e=>{let{router:t}=e;return"discovery.unread"===t.currentRouteName}},{id:"dismiss-new",icon:"check",name:(0,m.i18n)("topic_bulk_actions.dismiss.name"),visible:e=>{let{router:t}=e;return"discovery.new"===t.currentRouteName}},{id:"update-category",icon:"pencil",name:(0,m.i18n)("topic_bulk_actions.update_category.name"),visible:e=>{let{topics:t}=e;return!t.some(e=>e.isPrivateMessage)}},{id:"update-notifications",icon:"d-regular",name:(0,m.i18n)("topic_bulk_actions.update_notifications.name")},{id:"reset-bump-dates",icon:"anchor",name:(0,m.i18n)("topic_bulk_actions.reset_bump_dates.name")},{id:"defer",icon:"circle",name:(0,m.i18n)("topic_bulk_actions.defer.name"),visible:e=>{let{currentUser:t}=e;return t.user_option.enable_defer}},{id:"close-topics",icon:"topic.closed",name:(0,m.i18n)("topic_bulk_actions.close_topics.name")},{id:"archive-topics",icon:"folder",name:(0,m.i18n)("topic_bulk_actions.archive_topics.name"),visible:e=>{let{topics:t}=e;return!t.some(e=>e.isPrivateMessage)}},{id:"archive-messages",icon:"box-archive",name:(0,m.i18n)("topic_bulk_actions.archive_messages.name"),visible:e=>{let{topics:t}=e;return t.every(e=>e.isPrivateMessage)}},{id:"move-messages-to-inbox",icon:"envelope",name:(0,m.i18n)("topic_bulk_actions.move_messages_to_inbox.name"),visible:e=>{let{topics:t}=e;return t.every(e=>e.isPrivateMessage)}},{id:"unlist-topics",icon:"far-eye-slash",name:(0,m.i18n)("topic_bulk_actions.unlist_topics.name"),visible:e=>{let{topics:t}=e;return t.some(e=>e.visible)&&!t.some(e=>e.isPrivateMessage)}},{id:"relist-topics",icon:"far-eye",name:(0,m.i18n)("topic_bulk_actions.relist_topics.name"),visible:e=>{let{topics:t}=e;return t.some(e=>!e.visible)&&!t.some(e=>e.isPrivateMessage)}},{id:"append-tags",icon:"tag",name:(0,m.i18n)("topic_bulk_actions.append_tags.name"),visible:e=>{let{currentUser:t,siteSettings:i}=e;return i.tagging_enabled&&t.canManageTopic}},{id:"replace-tags",icon:"tag",name:(0,m.i18n)("topic_bulk_actions.replace_tags.name"),visible:e=>{let{currentUser:t,siteSettings:i}=e;return i.tagging_enabled&&t.canManageTopic}},{id:"remove-tags",icon:"tag",name:(0,m.i18n)("topic_bulk_actions.remove_tags.name"),visible:e=>{let{currentUser:t,siteSettings:i}=e;return i.tagging_enabled&&t.canManageTopic}},{id:"delete-topics",icon:"trash-can",name:(0,m.i18n)("topic_bulk_actions.delete_topics.name"),visible:e=>{let{currentUser:t}=e;return t.staff}},...y].filter(e=>{let{visible:t}=e;return!t||t({topics:this.args.bulkSelectHelper.selected,currentUser:this.currentUser,siteSettings:this.siteSettings,router:this.router})})}showBulkTopicActionsModal(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=!1,n=null,r=null,a=null;!0===i.allowSilent&&(s=!0),!0===i.custom?(t=(0,m.i18n)(b[e].label),r=e,!0===i.setComponent&&(n="set-component")):t=(0,m.i18n)(`topics.bulk.${t}`),i.description&&(a=i.description),this.modal.show(u.default,{model:{action:e,title:t,description:a,bulkSelectHelper:this.args.bulkSelectHelper,refreshClosure:()=>this.args.afterBulkActionComplete(),allowSilent:s,initialAction:n,initialActionLabel:r}})}async onSelect(e){switch(await this.dMenu.close(),e){case"dismiss-unread":this.modal.show(c.default,{model:{title:"topics.bulk.dismiss_read_with_selected",count:this.args.bulkSelectHelper.selected.length,dismissRead:e=>this.dismissRead(e)}});break;case"dismiss-new":this.modal.show(d.default,{model:{selectedTopics:this.args.bulkSelectHelper.selected,dismissCallback:e=>this.dismissRead(e)}});break;case"update-category":this.showBulkTopicActionsModal(e,"change_category",{allowSilent:!0,description:(0,m.i18n)("topic_bulk_actions.update_category.description")});break;case"update-notifications":this.showBulkTopicActionsModal(e,"notification_level",{description:(0,m.i18n)("topic_bulk_actions.update_notifications.description")});break;case"close-topics":this.showBulkTopicActionsModal("close","close_topics",{allowSilent:!0});break;case"archive-topics":this.showBulkTopicActionsModal("archive","archive_topics");break;case"archive-messages":this.showBulkTopicActionsModal("archive_messages","archive_messages");break;case"move-messages-to-inbox":this.showBulkTopicActionsModal("move_messages_to_inbox","move_messages_to_inbox");break;case"unlist-topics":this.showBulkTopicActionsModal("unlist","unlist_topics");break;case"relist-topics":this.showBulkTopicActionsModal("relist","relist_topics");break;case"append-tags":this.showBulkTopicActionsModal(e,"choose_append_tags");break;case"replace-tags":this.showBulkTopicActionsModal(e,"change_tags");break;case"remove-tags":this.showBulkTopicActionsModal(e,"remove_tags");break;case"delete-topics":this.showBulkTopicActionsModal("delete","delete");break;case"reset-bump-dates":this.showBulkTopicActionsModal(e,"reset_bump_dates",{description:(0,m.i18n)("topic_bulk_actions.reset_bump_dates.description")});break;case"defer":this.showBulkTopicActionsModal(e,"defer",{description:(0,m.i18n)("topic_bulk_actions.defer.description")});break;default:b[e]&&this.showBulkTopicActionsModal(e,b[e].label,{custom:!0,setComponent:b[e].setComponent})}}static #l=(()=>dt7948.n(this.prototype,"onSelect",[r.action]))();dismissRead(e){this.args.bulkSelectHelper.dismissRead(e?"topics":"posts")}onRegisterApi(e){this.dMenu=e}static #d=(()=>dt7948.n(this.prototype,"onRegisterApi",[r.action]))();static #p=(()=>(0,f.setComponentTemplate)((0,_.createTemplateFactory)({id:"y5cIm15k",block:'[[[1,"\\n "],[8,[32,0],null,[["@modalForMobile","@autofocus","@identifier","@onRegisterApi"],[true,true,"bulk-select-topics-dropdown",[30,0,["onRegisterApi"]]]],[["trigger","content"],[[[[1,"\\n "],[10,1],[14,0,"d-button-label"],[12],[1,"\\n "],[1,[28,[32,1],["select_kit.components.bulk_select_topics_dropdown.title"],null]],[1,"\\n "],[13],[1,"\\n "],[1,[28,[32,2],["angle-down"],null]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,3],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["buttons"]]],null]],null],null,[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,4],[[16,0,[28,[32,5],["btn-transparent",[30,2,["id"]],[30,2,["class"]]],null]]],[["@translatedLabel","@icon","@action"],[[30,2,["name"]],[30,2,["icon"]],[28,[32,6],[[30,0,["onSelect"]],[30,2,["id"]]],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[2]],null],[1," "]],[1]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["dropdown","button"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/bulk-select-topics-dropdown.js",scope:()=>[g.default,m.i18n,h.default,l.default,o.default,p.default,n.fn],isStrictMode:!0}),this))()}},1096:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(66530),n=i(58295),r=i(1848),a=i(81727),o=i.n(a),l=i(70239),u=i.n(l),d=i(86558),c=i(70546),p=i(9348),h=i(55888);let m=dt7948.c(class extends c.default{static #e=(()=>dt7948.g(this.prototype,"clearable",[(0,n.reads)("selectKit.options.clearable")]))();#t$=(()=>void dt7948.i(this,"clearable"))();static #i=(()=>dt7948.g(this.prototype,"caretUpIcon",[(0,n.reads)("selectKit.options.caretUpIcon")]))();#tz=(()=>void dt7948.i(this,"caretUpIcon"))();static #n=(()=>dt7948.g(this.prototype,"caretDownIcon",[(0,n.reads)("selectKit.options.caretDownIcon")]))();#tV=(()=>void dt7948.i(this,"caretDownIcon"))();static #a=(()=>dt7948.g(this.prototype,"shouldDisplayClearableButton",[(0,n.and)("clearable","value")]))();#tW=(()=>void dt7948.i(this,"shouldDisplayClearableButton"))();get caretIcon(){return this.selectKit.isExpanded?this.caretUpIcon:this.caretDownIcon}static #l=(()=>dt7948.n(this.prototype,"caretIcon",[(0,s.computed)("selectKit.isExpanded","caretUpIcon","caretDownIcon")]))();static #d=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"f0qYLsZn",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," "]],[1]],null],[1,"\\n\\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,["shouldDisplayClearableButton"]],[[[1," "],[8,[32,2],[[24,0,"btn-clear"]],[["@icon","@action","@ariaLabel"],["xmark",[30,0,["selectKit","onClearSelection"]],"clear_input"]],null],[1,"\\n"]],[]],null],[1,"\\n "],[1,[28,[32,0],[[30,0,["caretIcon"]]],[["class"],["caret-icon"]]]],[1,"\\n "],[13],[1,"\\n "]],["iconName","SelectedNameComponent"],false,["each","-track-array","let","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/combo-box/combo-box-header.js",scope:()=>[u(),d.resolveComponent,o()],isStrictMode:!0}),this))()},[(0,r.classNames)("combo-box-header")])},1100:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(9348),n=i(58452),r=i(66530),a=i(13744),o=i(96675),l=i(58670),u=i(1848),d=i(72825),c=i(90831),p=i(95048),h=i(35352),m=i(1817),g=i(6827),f=i(57364),_=i(55888);let y=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#tO=(()=>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 #i=(()=>dt7948.n(this.prototype,"_determineSettingsValid",[(0,d.on)("init")]))();enableImapSettings(e,t,i){return t&&(e||i)}static #n=(()=>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 #a=(()=>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 #l=(()=>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 #d=(()=>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 #p=(()=>dt7948.n(this.prototype,"imapEnabledChange",[r.action]))();afterSave(){this.store.find("group",this.group.name).then(()=>{this._determineSettingsValid()})}static #m=(()=>dt7948.n(this.prototype,"afterSave",[r.action]))();static #f=(()=>(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,c.not,p.default,h.default],isStrictMode:!0}),this))()},[(0,u.tagName)("")])},1195:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(24698),n=i(58452),r=i(66530),a=i(41993),o=i(90831),l=i(21571),u=i(9348),d=i(55888);class c extends s.default{#tK;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.#tK=e}static #e=(()=>dt7948.n(this.prototype,"setElement",[r.action]))();sharedBehaviorOnClick(e){e.currentTarget?.blur()}static #i=(()=>dt7948.n(this.prototype,"sharedBehaviorOnClick",[r.action]))();showFeedback(e){this.#tK&&(0,l.showAlert)(this.args.post.id,this.args.buttonConfig.key,e,{actionBtn:this.#tK})}static #n=(()=>dt7948.n(this.prototype,"showFeedback",[r.action]))();static #a=(()=>(0,u.setComponentTemplate)((0,d.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))()}},1198:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(40779),n=i(81845),r=i(36768),a=i(13744),o=i(76586),l=i(39105),u=i(42358);class d{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"bookmarkApi",[a.service]))();#tG=(()=>void dt7948.i(this,"bookmarkApi"))();static #n=(()=>dt7948.g(this.prototype,"topicController",[(0,n.inject)("topic")]))();#tJ=(()=>void dt7948.i(this,"topicController"))();static #a=(()=>dt7948.g(this.prototype,"trackedBookmark",[s.tracked]))();#tQ=(()=>void dt7948.i(this,"trackedBookmark"))();static #l=(()=>dt7948.g(this.prototype,"bookmarkModel",[s.tracked]))();#tX=(()=>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))}}},1247:(e,t,i)=>{"use strict";i.r(t),i.d(t,{getRenderDirector:()=>l});var s=i(54993),n=i(32751),r=i(11188),a=i(87839);let o={ReviewableFlaggedPost:n.default,ReviewableQueuedPost:r.default,ReviewableUser:a.default};function l(e,t,i,n,r){return new(o[e]||s.default)({reviewable:t,currentUser:i,siteSettings:n,site:r})}},1254:(e,t,i)=>{"use strict";i.r(t),i.d(t,{i:()=>r,s:()=>a});var s=i(27322);let n=new WeakSet;function r(e){return!!(0,s.e)(e)&&n.has(e)}function a(e){(0,s.e)(e)&&n.add(e)}},1297:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p,sendDeferredPageview:()=>c});var s=i(30587),n=i.n(s),r=i(20559),a=i(99148),o=i(18965),l=i(78390);let u=!1,d=null;function c(){u=!0}let p={after:"inject-objects",initialize(e){if((0,a.isTesting)())return;let t=e.lookup("service:message-bus"),i=e.lookup("service:current-user"),s=e.lookup("service:site-settings"),c=e.lookup("service:router");if(t.alwaysLongPoll=!(0,a.isProduction)(),t.shouldLongPollCallback=()=>(0,l.default)({userUnseenTime:12e5}),t.stop(),(0,l.onPresenceChange)({unseenTime:12e5,callback:e=>{e&&t.onVisibilityChange&&t.onVisibilityChange()}}),s.login_required&&!i)return;let p=setInterval(()=>{"complete"===document.readyState&&(("topic.fromParams"===c.currentRouteName||"topic.fromParamsNear"===c.currentRouteName)&&(d=c.currentRoute.parent.params.id),clearInterval(p),t.start())},500);t.callbackInterval=s.anon_polling_interval,t.backgroundCallbackInterval=s.background_polling_interval,t.baseUrl=s.long_polling_base_url.replace(/\/$/,"")+"/",t.enableChunkedEncoding=s.enable_chunked_encoding,t.ajax=e=>(function(e,t){if(t.headers||={},"/"!==e.baseUrl){let e=document.querySelector("meta[name=shared_session_key]")?.content;t.headers["X-Shared-Session-Key"]=e}(0,l.default)()&&(t.headers["Discourse-Present"]="true"),u&&(t.headers["Discourse-Deferred-Track-View"]="true",d&&(t.headers["Discourse-Deferred-Track-View-Topic-Id"]=d),u=!1,d=null);let i=t.complete;return t.complete=function(e,t){(0,r.handleLogoff)(e),i?.(e,t)},n().ajax(t)})(t,e),t.baseUrl=(0,o.default)("/"),i&&(t.callbackInterval=s.polling_interval)}}},1310:(e,t,i)=>{"use strict";i.r(t),i.d(t,{renderSettled:()=>s.r}),i(12023);var s=i(56625);i(54048),i(23260),i(96131),i(45916),i(16226),i(4837),i(184)},1336:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(24698),n=i(71773),r=i(42358),a=i(57364),o=i(9348),l=i(55888);class u extends s.default{get icon(){return this.args.bookmark?.get("reminder_at")?r.WITH_REMINDER_ICON:r.NO_REMINDER_ICON}get cssClasses(){return this.args.bookmark?"bookmark-icon bookmark-icon__bookmarked":"bookmark-icon"}get title(){return this.args.bookmark?this.args.bookmark.get("reminderTitle"):(0,a.i18n)("bookmarks.create")}static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"P6s4+vdY",block:'[[[1,"\\n "],[1,[28,[32,0],[[30,0,["icon"]]],[["translatedTitle","class"],[[30,0,["title"]],[30,0,["cssClasses"]]]]]],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/bookmark-icon.js",scope:()=>[n.default],isStrictMode:!0}),this))()}},1617:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=(0,i(71795).default)("user","private-messages-sent","sent")},1633:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(1848),n=i(70239),r=i.n(n),a=i(24097),o=i(9348),l=i(55888);let u=dt7948.c(class extends a.default{static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"9+uVxzv1",block:'[[[1,"\\n"],[41,[30,0,["item","icon"]],[[[1," "],[10,0],[14,0,"future-date-input-selector-icons"],[12],[1,"\\n "],[1,[28,[32,0],[[30,0,["item","icon"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[14,0,"name"],[12],[1,[30,0,["label"]]],[13],[1,"\\n\\n"],[41,[30,0,["item","timeFormatted"]],[[[1," "],[10,1],[14,0,"future-date-input-selector-datetime"],[12],[1,"\\n "],[1,[30,0,["item","timeFormatted"]]],[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/future-date-input-selector/future-date-input-selector-row.js",scope:()=>[r()],isStrictMode:!0}),this))()},[(0,s.classNames)("future-date-input-selector-row")])},1650:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(24698),n=i(71773),r=i(9348),a=i(55888);class o extends s.default{get type(){return this.args.type||"info"}static #e=(()=>(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"8cxEw1Wf",block:'[[[1,"\\n "],[11,0],[16,0,[29,["form-kit__alert alert alert-",[30,0,["type"]]]]],[17,1],[12],[1,"\\n"],[41,[30,2],[[[1," "],[1,[28,[32,0],[[30,2]],null]],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[14,0,"form-kit__alert-message"],[12],[18,3,null],[13],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@icon","&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/alert.js",scope:()=>[n.default],isStrictMode:!0}),this))()}},1660:(e,t,i)=>{"use strict";i.r(t),i.d(t,{downloadCalendar:()=>o,downloadGoogle:()=>u,downloadIcs:()=>l,formatDates:()=>d,generateIcsData:()=>c});var s=i(26089),n=i(55751),r=i(18965),a=i(48297);function o(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=a.default.current(),o=d(t);switch(e=e.trim(),r?.user_option.default_calendar){case"ics":l(e,o,i);break;case"google":u(e,o,i);break;default:!function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,n.getOwnerWithFallback)(this).lookup("service:modal").show(s.default,{model:{calendar:{title:e,dates:t,recurrenceRule:i.recurrenceRule,location:i.location,details:i.details}}})}(e,o,i)}}function l(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=new File([c(e,t,i)],{type:"text/plain"}),n=document.createElement("a");document.body.appendChild(n),n.style="display: none",n.href=window.URL.createObjectURL(s),n.download=`${e.toLowerCase().replace(/[^\w]/g,"-")}.ics`,n.click(),setTimeout(()=>window.URL.revokeObjectURL(s),2e4)}function u(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.forEach(t=>{let s=new URL("https://www.google.com/calendar/event");s.searchParams.append("action","TEMPLATE"),s.searchParams.append("text",e),s.searchParams.append("dates",`${p(t.startsAt)}/${p(t.endsAt)}`),i.recurrenceRule&&s.searchParams.append("recur",`RRULE:${i.recurrenceRule}`),i.location&&s.searchParams.append("location",i.location),i.details&&s.searchParams.append("details",i.details),window.open((0,r.default)(s.href).trim(),"_blank","noopener","noreferrer")})}function d(e){return e.map(e=>({startsAt:e.startsAt,endsAt:e.endsAt?e.endsAt:moment.utc(e.startsAt).add(1,"hours").format()}))}function c(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=`BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Discourse//EN `;return t.forEach(t=>{let n=moment(t.startsAt),r=moment(t.endsAt);s=s.concat(`BEGIN:VEVENT UID:${n.utc().format("x")}_${r.format("x")} DTSTAMP:${moment().utc().format("YMMDDTHHmmss")}Z DTSTART:${n.utc().format("YMMDDTHHmmss")}Z DTEND:${r.utc().format("YMMDDTHHmmss")}Z `+(i.recurrenceRule?`RRULE:${i.recurrenceRule} `:"")+(i.location?`LOCATION:${i.location} `:"")+(i.details?`DESCRIPTION:${i.details} `:"")+`SUMMARY:${e} `+`END:VEVENT `)}),s=s.concat("END:VCALENDAR")}function p(e){return moment(e).toISOString().replace(/-|:|\.\d\d\d/g,"")}},1736:(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(87018)},1766:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(24698),n=i(13744),r=i(71773),a=i(52716),o=i(57364),l=i(9348),u=i(55888);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();get user(){return this.siteSettings.display_name_on_posts&&(0,a.prioritizeNameInUx)(this.args.post.name)?this.args.post.name:this.args.post.username}static #i=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"4qbRWpnZ",block:'[[[1,"\\n "],[1,[28,[32,0],["handshake-angle"],null]],[1,"\\n "],[10,2],[12],[1,[28,[32,1],["post.notice.new_user"],[["user"],[[30,0,["user"]]]]]],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/notice/new-user.js",scope:()=>[r.default,o.i18n],isStrictMode:!0}),this))()}},1797:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(9348),n=i(4089),r=i(58452),a=i(66530),o=i(58295),l=i(62563),u=i(71773),d=i(38858),c=i(6827),p=i(27235),h=i(57364),m=i(90928),g=i(55888);class f extends s.default{selection=null;includeDateTime=!0;static #e=(()=>dt7948.g(this.prototype,"isCustom",[(0,o.equal)("selection","custom")]))();#tZ=(()=>void dt7948.i(this,"isCustom"))();static #i=(()=>dt7948.g(this.prototype,"displayDateAndTimePicker",[(0,o.and)("includeDateTime","isCustom")]))();#t1=(()=>void dt7948.i(this,"displayDateAndTimePicker"))();static #n=(()=>dt7948.g(this.prototype,"timeInputDisabled",[(0,o.empty)("_date")]))();#t0=(()=>void dt7948.i(this,"timeInputDisabled"))();displayLabel=null;labelClasses=null;userTimezone=null;onChangeInput=null;_date=null;_time=null;init(){super.init(...arguments),this.userTimezone=this.currentUser.user_option.timezone}didReceiveAttrs(){if(super.didReceiveAttrs(...arguments),this.label&&this.set("displayLabel",(0,h.i18n)(this.label)),this.input){let e=moment(this.input),t=this._findClosestShortcut(e);!this.noRelativeOptions&&t?this.set("selection",t.id):this.setProperties({selection:p.TIME_SHORTCUT_TYPES.CUSTOM,_date:e.format("YYYY-MM-DD"),_time:e.format("HH:mm")})}}shortcuts(e){let t;t=e&&e.length?e:(0,p.extendedDefaultTimeShortcuts)(this.userTimezone);let i=(0,p.timeShortcuts)(this.userTimezone);return this.includeDateTime&&t.push(i.custom()),this.includeNow&&t.push(i.now()),(t=(0,p.hideDynamicTimeShortcuts)(t,this.userTimezone,this.siteSettings)).map(e=>({id:e.id,name:(0,h.i18n)(e.label),time:e.time,timeFormatted:(0,p.formatTime)(e),icon:e.icon}))}static #a=(()=>dt7948.n(this.prototype,"shortcuts",[(0,c.default)("customShortcuts")]))();onChangeDate(e){e||this.set("_time",null),this._dateTimeChanged(e,this._time)}static #l=(()=>dt7948.n(this.prototype,"onChangeDate",[a.action]))();onChangeTime(e){this._date&&this._dateTimeChanged(this._date,e)}static #d=(()=>dt7948.n(this.prototype,"onChangeTime",[a.action]))();_dateTimeChanged(e,t){t=t?` ${t}`:"";let i=moment(`${e}${t}`);i.isValid()?this.onChangeInput?.(i.format(m.FORMAT)):this.onChangeInput?.(null)}_findClosestShortcut(e){return this.shortcuts.find(t=>{if(t.time){let i=t.time.diff(e);return 0<=i&&i<6e4}})}static #p=(()=>(0,s.setComponentTemplate)((0,g.createTemplateFactory)({id:"iFjhyCJ+",block:'[[[1,"\\n "],[10,0],[14,0,"future-date-input"],[12],[1,"\\n"],[41,[51,[30,0,["noRelativeOptions"]]],[[[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[15,0,[30,0,["labelClasses"]]],[12],[1,"\\n "],[41,[30,0,["displayLabelIcon"]],[[[1,[28,[32,0],[[30,0,["displayLabelIcon"]]],null]]],[]],null],[1,[30,0,["displayLabel"]]],[1,"\\n "],[13],[1,"\\n "],[8,[32,1],null,[["@value","@content","@clearable","@onChangeInput","@onChange","@options"],[[28,[31,2],[[30,0,["selection"]]],null],[30,0,["shortcuts"]],[30,0,["clearable"]],[30,0,["onChangeInput"]],[28,[32,2],[[28,[31,3],[[30,0,["selection"]]],null]],null],[28,[32,3],null,[["none"],["time_shortcut.select_timeframe"]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["displayDateAndTimePicker"]],[[[1," "],[10,0],[14,0,"control-group future-date-input-date-picker"],[12],[1,"\\n "],[1,[28,[32,0],["calendar-days"],null]],[1,"\\n "],[8,[32,4],null,[["@value","@defaultDate","@onSelect"],[[30,0,["_date"]],[30,0,["_date"]],[30,0,["onChangeDate"]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group future-date-input-time-picker"],[12],[1,"\\n "],[1,[28,[32,0],["far-clock"],null]],[1,"\\n "],[8,[32,5],[[24,"placeholder","--:--"],[24,0,"time-input"],[16,"disabled",[30,0,["timeInputDisabled"]]],[4,[32,6],["input",[28,[32,7],[[30,0,["onChangeTime"]]],null]],null]],[["@type","@value"],["time",[30,0,["_time"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[],false,["unless","if","readonly","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/future-date-input.js",scope:()=>[u.default,m.default,n.fn,n.hash,l.default,s.Input,r.on,d.default],isStrictMode:!0}),this))()}},1817:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>k});var s=i(24698),n=i(40779),r=i(4089),a=i(58452),o=i(66530),l=i(78941),u=i(13744),d=i(90831),c=i(47210),p=i(87609),h=i(20559),m=i(72172),g=i(39960),f=i(61053),_=i(57364),y=i(9348),b=i(55888);let w=(0,i(69853).A)(i(40779)).cached;class k extends s.default{static #e=(()=>dt7948.g(this.prototype,"toasts",[u.service]))();#t3=(()=>void dt7948.i(this,"toasts"))();static #i=(()=>dt7948.g(this.prototype,"smtpSettingsValid",[n.tracked],function(){return!1}))();#t2=(()=>void dt7948.i(this,"smtpSettingsValid"))();static #n=(()=>dt7948.g(this.prototype,"testingSettings",[n.tracked],function(){return!1}))();#t8=(()=>void dt7948.i(this,"testingSettings"))();get sslModes(){return Object.keys(g.GROUP_SMTP_SSL_MODES).map(e=>({value:g.GROUP_SMTP_SSL_MODES[e],name:(0,_.i18n)(`groups.manage.email.ssl_modes.${e}`)}))}get formData(){let e=(0,o.getProperties)(this.args.group,"email_username","email_password","email_from_alias","smtp_server","smtp_port","smtp_ssl_mode");return e.smtp_ssl_mode??=g.GROUP_SMTP_SSL_MODES.none,e}static #a=(()=>dt7948.n(this.prototype,"formData",[w]))();changeSmtpSettingsValid(e){this.smtpSettingsValid=e,this.args.onChangeSmtpSettingsValid(e)}static #l=(()=>dt7948.n(this.prototype,"changeSmtpSettingsValid",[o.action]))();prefillSettings(e,t,i){i?.preventDefault();let s=(0,f.default)(e,"smtp");Object.keys(s).forEach(e=>{t(e,s[e])})}static #d=(()=>dt7948.n(this.prototype,"prefillSettings",[o.action]))();testSmtpSettings(e){let t={host:e.smtp_server,port:e.smtp_port,ssl_mode:e.smtp_ssl_mode,username:e.email_username,password:e.email_password};return this.testingSettings=!0,this.changeSmtpSettingsValid(!1),(0,h.ajax)(`/groups/${this.args.group.id}/test_email_settings`,{type:"POST",data:Object.assign(t,{protocol:"smtp"})}).then(()=>{this.changeSmtpSettingsValid(!0),this.args.group.setProperties({smtp_server:e.smtp_server,smtp_port:e.smtp_port,smtp_ssl_mode:e.smtp_ssl_mode,email_username:e.email_username,email_from_alias:e.email_from_alias||"",email_password:e.email_password}),this.toasts.success({duration:"short",data:{message:(0,_.i18n)("groups.manage.email.smtp_settings_valid")}})}).catch(m.popupAjaxError).finally(()=>this.testingSettings=!1)}static #p=(()=>dt7948.n(this.prototype,"testSmtpSettings",[o.action]))();resetTestingSettings(e,t,i){let{set:s}=i;this.changeSmtpSettingsValid(!1),s(e,t)}static #m=(()=>dt7948.n(this.prototype,"resetTestingSettings",[o.action]))();static #f=(()=>(0,y.setComponentTemplate)((0,b.createTemplateFactory)({id:"gEnDujX1",block:'[[[1,"\\n "],[10,0],[14,0,"group-smtp-email-settings"],[12],[1,"\\n "],[8,[32,0],null,[["@data","@onSubmit"],[[30,0,["formData"]],[30,0,["testSmtpSettings"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Row"]],null,null,[["default"],[[[[1,"\\n "],[8,[30,2,["Col"]],null,[["@size"],[6]],[["default"],[[[[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@validation","@onSet"],["smtp_server",[28,[32,1],["groups.manage.email.credentials.smtp_server"],null],"required",[28,[32,2],[[30,0,["resetTestingSettings"]],"smtp_server"],null]]],[["default"],[[[[1,"\\n "],[8,[30,3,["Input"]],null,null,null],[1,"\\n "]],[3]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,2,["Col"]],null,[["@size"],[6]],[["default"],[[[[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@validation","@onSet"],["email_username",[28,[32,1],["groups.manage.email.credentials.username"],null],"required",[28,[32,2],[[30,0,["resetTestingSettings"]],"email_username"],null]]],[["default"],[[[[1,"\\n "],[8,[30,4,["Input"]],null,null,null],[1,"\\n "]],[4]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,2,["Col"]],null,[["@size"],[6]],[["default"],[[[[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@validation","@onSet"],["smtp_port",[28,[32,1],["groups.manage.email.credentials.smtp_port"],null],"required|integer",[28,[32,2],[[30,0,["resetTestingSettings"]],"smtp_port"],null]]],[["default"],[[[[1,"\\n "],[8,[30,5,["Input"]],null,[["@type"],["number"]],null],[1,"\\n "]],[5]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,2,["Col"]],null,[["@size"],[6]],[["default"],[[[[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@validation","@onSet"],["email_password",[28,[32,1],["groups.manage.email.credentials.password"],null],"required",[28,[32,2],[[30,0,["resetTestingSettings"]],"email_password"],null]]],[["default"],[[[[1,"\\n "],[8,[30,6,["Password"]],null,null,null],[1,"\\n "]],[6]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,2,["Col"]],null,[["@size"],[6]],[["default"],[[[[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@validation","@onSet"],["smtp_ssl_mode",[28,[32,1],["groups.manage.email.credentials.smtp_ssl_mode"],null],"required",[28,[32,2],[[30,0,["resetTestingSettings"]],"smtp_ssl_mode"],null]]],[["default"],[[[[1,"\\n "],[8,[30,7,["Select"]],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["sslModes"]]],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 "],[8,[30,2,["Col"]],null,[["@size"],[6]],[["default"],[[[[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@description"],["email_from_alias",[28,[32,1],["groups.manage.email.settings.from_alias"],null],[28,[32,1],["groups.manage.email.settings.from_alias_hint"],null]]],[["default"],[[[[1,"\\n "],[8,[30,10,["Input"]],null,null,null],[1,"\\n "]],[10]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n\\n "],[8,[30,1,["Submit"]],[[24,"tabindex","7"],[24,0,"btn-primary group-smtp-form__test-smtp-settings"]],[["@disabled","@icon","@label","@title"],[[28,[32,3],[[30,0,["testingSettings"]]],null],"gear","groups.manage.email.test_settings","groups.manage.email.settings_required"]],null],[1,"\\n\\n "],[8,[30,1,["Container"]],[[24,0,"group-smtp-prefill-options"]],null,[["default"],[[[[1,"\\n "],[1,[28,[32,1],["groups.manage.email.prefill.title"],null]],[1,"\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[11,3],[24,1,"prefill_smtp_gmail"],[24,6,""],[4,[32,4],["click",[28,[32,2],[[30,0,["prefillSettings"]],"gmail",[30,1,["set"]]],null]],null],[12],[1,[28,[32,1],["groups.manage.email.prefill.gmail"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[11,3],[24,1,"prefill_smtp_outlook"],[24,6,""],[4,[32,4],["click",[28,[32,2],[[30,0,["prefillSettings"]],"outlook",[30,1,["set"]]],null]],null],[12],[1,[28,[32,1],["groups.manage.email.prefill.outlook"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[11,3],[24,1,"prefill_smtp_office365"],[24,6,""],[4,[32,4],["click",[28,[32,2],[[30,0,["prefillSettings"]],"office365",[30,1,["set"]]],null]],null],[12],[1,[28,[32,1],["groups.manage.email.prefill.office365"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n\\n"],[41,[30,11,["smtp_updated_at"]],[[[1," "],[10,0],[14,0,".group-smtp-form__last-updated-details"],[12],[1,"\\n "],[10,"small"],[12],[1,"\\n "],[1,[28,[32,1],["groups.manage.email.last_updated"],null]],[1,"\\n "],[10,"strong"],[12],[1,[28,[32,5],[[30,11,["smtp_updated_at"]]],[["leaveAgo"],["true"]]]],[13],[1,"\\n "],[1,[28,[32,1],["groups.manage.email.last_updated_by"],null]],[1,"\\n "],[8,[32,6],null,[["@route","@model"],["user",[30,11,["smtp_updated_by","username"]]]],[["default"],[[[[1,[30,11,["smtp_updated_by","username"]]]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["form","row","field","field","field","field","field","select","sslMode","field","@group"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-smtp-email-settings.js",scope:()=>[c.default,_.i18n,r.fn,d.or,a.on,p.default,l.LinkTo],isStrictMode:!0}),this))()}},1819:(e,t,i)=>{"use strict";var s=i(74376),n=i(37476),r=i(93191),a=i(26435),o=i(17900),l=i(27189),u=i(88972),d=i(7505),c=i(90753),p=i(82283),h=i(15769);function m(e){return a(e)||o(e)||l(e)||d(e)}function g(e){try{return JSON.stringify(e,null," ")}catch(t){return String(e)}}e.exports=function(e,t,i){var a,o,l,d,f=[];return!i&&function(e){return"string"==typeof e||s(e)||m(e)}(t)&&(i=t,o={}),a=c(e,o=o||t||{}),o.hasOwnProperty("key")&&(l=o.key,o.key=void 0),o.hasOwnProperty("namespace")&&(d=o.namespace,o.namespace=void 0),"INPUT"===a&&!d&&o.hasOwnProperty("value")&&void 0!==o.value&&!u(o.value)&&(o.value=p(o.value)),function(e){for(var t in e)if(e.hasOwnProperty(t)){var i=e[t];if(u(i))continue;"ev-"===t.substr(0,3)&&(e[t]=h(i))}}(o),null!=i&&function e(t,i,n,a){if("string"==typeof t)i.push(new r(t));else if("number"==typeof t)i.push(new r(String(t)));else if(m(t))i.push(t);else if(s(t))for(var o=0;o{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(66530),n=i(1848),r=i(44093),a=i(86558),o=i(24152),l=i(72121);let u=dt7948.c(class extends r.default{modifyComponentForRow(){return o.default}get selectedContent(){let e=(this.content||[]).findBy(this.selectKit.valueProperty,this.value);return e?this.selectKit.modifySelection(e):this.selectKit.noneItem}static #e=(()=>dt7948.n(this.prototype,"selectedContent",[(0,s.computed)("value","content.[]","selectKit.noneItem")]))()},[(0,a.pluginApiIdentifiers)(["flair-chooser"]),(0,a.selectKitOptions)({selectedNameComponent:l.default}),(0,n.classNames)("flair-chooser")])},1848:(e,t,i)=>{"use strict";i.r(t),i.d(t,{attribute:()=>r,attributeBindings:()=>d,className:()=>a,classNameBindings:()=>u,classNames:()=>l,layout:()=>p,tagName:()=>c}),i(23260);var s=i(39490),n=i(6693);let r=(0,n.decoratorWithParams)(function(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if((0,s.default)(e),!e.hasOwnProperty("attributeBindings")){let t=e.attributeBindings;e.attributeBindings=Array.isArray(t)?t.slice():[]}let r=n[0]?`${t}:${n[0]}`:t;return e.attributeBindings.push(r),i&&(i.configurable=!0),i}),a=(0,n.decoratorWithParams)(function(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if((0,s.default)(e),!e.hasOwnProperty("classNameBindings")){let t=e.classNameBindings;e.classNameBindings=Array.isArray(t)?t.slice():[]}let r=n.length>0?`${t}:${n.join(":")}`:t;return e.classNameBindings.push(r),i&&(i.configurable=!0),i});function o(e){return(0,n.decoratorWithRequiredParams)((t,i)=>{if((0,s.default)(t.prototype),e in t.prototype){let s=t.prototype[e];i.unshift(...s)}return t.prototype[e]=i,t},e)}let l=o("classNames"),u=o("classNameBindings"),d=o("attributeBindings"),c=(0,n.decoratorWithRequiredParams)((e,t)=>{let[i]=t;return e.prototype.tagName=i,e},"tagName"),p=function(){for(var e=arguments.length,t=Array(e),i=0;i{let[i]=t;return e.prototype.layout=i,e}}},1892:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(81845),n=i(66530),r=i(13744),a=i(29681),o=i(6827),l=i(57364);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 d extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[r.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #i=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #n=(()=>dt7948.g(this.prototype,"router",[r.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #a=(()=>dt7948.g(this.prototype,"composer",[r.service]))();#t4=(()=>void dt7948.i(this,"composer"))();static #l=(()=>dt7948.g(this.prototype,"application",[s.inject]))();#t7=(()=>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 #d=(()=>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 #p=(()=>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 #m=(()=>dt7948.n(this.prototype,"displayGroupMessageButton",[(0,o.default)("model.messageable")]))();canManageGroup(e){return this.currentUser?.canManageGroup(e)}static #f=(()=>dt7948.n(this.prototype,"canManageGroup",[(0,o.default)("model","model.automatic")]))();messageGroup(){this.composer.openNewMessage({recipients:this.get("model.name"),hasGroups:!0})}static #y=(()=>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 #v=(()=>dt7948.n(this.prototype,"destroyGroup",[n.action]))();toggleDeleteTooltip(){this.toggleProperty("showTooltip")}static #k=(()=>dt7948.n(this.prototype,"toggleDeleteTooltip",[n.action]))()}},1952:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(81845),n=i(13744);class r extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#tH=(()=>void dt7948.i(this,"router"))();queryParams=["category_id"]}},1961:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(34057);function n(e){return`
  • ${(0,s.escapeExpression)(e.name)}
  • `}function r(e){let{options:t}=e;return`
      ${t.map(n).join("")}
    `}},2007:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>M});var s=i(24698),n=i(40779),r=i(9348),a=i(4089),o=i(58452),l=i(66530),u=i(41993),d=i(96675),c=i(61243),p=i(90831),h=i(11811),m=i(68269),g=i(15294),f=i(22106),_=i(71773),y=i(56367),b=i(28206),w=i(99148),k=i(51852),T=i(57364),S=i(51719),C=i(55888);let A=(0,i(69853).A)(i(40779)).cached;class D extends s.default{get width(){return(0,d.htmlSafe)(`width: ${Math.floor(70*Math.random())+20}%`)}static #e=(()=>(0,r.setComponentTemplate)((0,C.createTemplateFactory)({id:"kpV4iEfH",block:'[[[1,"\\n "],[10,0],[14,0,"d-multi-select__skeleton"],[12],[1,"\\n "],[10,0],[14,0,"d-multi-select__skeleton-checkbox"],[12],[13],[1,"\\n "],[10,0],[14,0,"d-multi-select__skeleton-text"],[15,5,[30,0,["width"]]],[12],[13],[1,"\\n "],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-multi-select.js",isStrictMode:!0}),this))()}class M extends s.default{static #e=(()=>dt7948.g(this.prototype,"searchTerm",[n.tracked],function(){return""}))();#t9=(()=>void dt7948.i(this,"searchTerm"))();static #i=(()=>dt7948.g(this.prototype,"preselectedItem",[n.tracked],function(){return null}))();#t5=(()=>void dt7948.i(this,"preselectedItem"))();compareKey="id";get hasSelection(){return this.args.selection?.length>0}get label(){return this.args.label??(0,T.i18n)("multi_select.label")}get data(){if(this.isDestroying||this.isDestroyed)return;let e=new Promise((e,t)=>{(0,b.default)(this,this.#t6,this.args.loadFn,this.searchTerm,e,t,w.INPUT_DELAY)});return new c.n(e)}static #n=(()=>dt7948.n(this.prototype,"data",[A]))();search(e){this.preselectedItem=null,this.searchTerm=e.target.value}static #a=(()=>dt7948.n(this.prototype,"search",[l.action]))();focus(e){e.focus()}static #l=(()=>dt7948.n(this.prototype,"focus",[l.action]))();handleKeydown(e){if(this.data.isResolved){if("Enter"===e.key&&(e.preventDefault(),this.preselectedItem&&this.toggle(this.preselectedItem,e)),"ArrowDown"===e.key){if(e.preventDefault(),!this.data.value?.length)return;if(null===this.preselectedItem)this.preselectedItem=this.data.value[0];else{let e=this.data.value.findIndex(e=>this.compare(e,this.preselectedItem));ethis.compare(e,this.preselectedItem));e>0&&(this.preselectedItem=this.data.value[e-1])}}}}static #d=(()=>dt7948.n(this.prototype,"handleKeydown",[l.action]))();remove(e,t){t?.stopPropagation(),this.args.onChange?.(this.args.selection?.filter(t=>!this.compare(t,e)))}static #p=(()=>dt7948.n(this.prototype,"remove",[l.action]))();isSelected(e){return this.args.selection?.filter(t=>this.compare(t,e)).length}static #m=(()=>dt7948.n(this.prototype,"isSelected",[l.action]))();toggle(e,t){t?.stopPropagation(),this.isSelected(e)?this.remove(e,t):this.args.onChange?.((0,k.makeArray)(this.args.selection).concat(e))}static #f=(()=>dt7948.n(this.prototype,"toggle",[l.action]))();compare(e,t){return this.args.compareFn?this.args.compareFn(e,t):e[this.compareKey]===t[this.compareKey]}static #y=(()=>dt7948.n(this.prototype,"compare",[l.action]))();#t6(e,t,i,s){return e(t).then(i).catch(s)}static #v=(()=>(0,r.setComponentTemplate)((0,C.createTemplateFactory)({id:"ewjE1Qi3",block:'[[[1,"\\n "],[8,[32,0],[[17,1]],[["@identifier","@triggerComponent","@triggerClass"],["d-multi-select",[28,[32,1],["div"],null],[28,[32,2],[[52,[30,0,["hasSelection"]],"--has-selection"]],null]]],[["trigger","content"],[[[[1,"\\n"],[41,[30,2],[[[1," "],[10,0],[14,0,"d-multi-select-trigger__selection"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,2]],null]],null],null,[[[1," "],[11,"button"],[24,0,"d-multi-select-trigger__selected-item"],[4,[32,3],["click",[28,[32,4],[[30,0,["remove"]],[30,3]],null]],null],[12],[1,"\\n "],[10,1],[14,0,"d-multi-select-trigger__selection-label"],[12],[18,7,[[30,3]]],[13],[1,"\\n "],[1,[28,[32,5],["xmark"],[["class"],["d-multi-select-trigger__remove-selection-icon"]]]],[1,"\\n "],[13],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[10,1],[14,0,"d-multi-select-trigger__label"],[12],[1,[30,0,["label"]]],[13],[1,"\\n"]],[]]],[1,"\\n "],[8,[32,6],[[24,0,"d-multi-select-trigger__expand-btn btn-transparent"]],[["@icon","@action"],["angle-down",[30,4,["show"]]]],null],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,7],[[24,0,"d-multi-select__content"]],null,[["default"],[[[[1,"\\n "],[8,[30,5,["item"]],[[24,0,"d-multi-select__search-container"]],null,[["default"],[[[[1,"\\n "],[1,[28,[32,5],["magnifying-glass"],null]],[1,"\\n "],[8,[32,8],[[24,0,"d-multi-select__search-input"],[24,"autocomplete","off"],[4,[32,3],["input",[30,0,["search"]]],null],[4,[32,3],["keydown",[30,0,["handleKeydown"]]],null],[4,[32,10],[[30,0,["focus"]]],null]],[["@placeholder","@type","@value"],[[28,[32,9],["multi_select.search"],null],"search",[28,[31,4],[[30,0,["searchTerm"]]],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,5,["divider"]],null,null,null],[1,"\\n\\n"],[41,[30,0,["data","isPending"]],[[[1," "],[10,0],[14,0,"d-multi-select__skeletons"],[12],[1,"\\n "],[8,[32,11],null,null,null],[1,"\\n "],[8,[32,11],null,null,null],[1,"\\n "],[8,[32,11],null,null,null],[1,"\\n "],[8,[32,11],null,null,null],[1,"\\n "],[8,[32,11],null,null,null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["data","isRejected"]],[[[1," "],[10,0],[14,0,"d-multi-select__error"],[12],[1,"\\n "],[18,8,[[30,0,["data","error"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["data","isResolved"]],[[[41,[30,0,["data","value"]],[[[1," "],[10,0],[14,0,"d-multi-select__search-results"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["data","value"]]],null]],null],null,[[[1," "],[8,[30,5,["item"]],[[16,0,[28,[32,2],["d-multi-select__result",[52,[28,[32,12],[[30,6],[30,0,["preselectedItem"]]],null],"--preselected",""]],null]],[24,"role","button"],[4,[32,3],["mouseenter",[28,[32,4],[[28,[31,5],[[30,0,["preselectedItem"]]],null],[30,6]],null]],null],[4,[32,3],["click",[28,[32,4],[[30,0,["toggle"]],[30,6]],null]],null]],null,[["default"],[[[[1,"\\n "],[8,[32,13],[[24,0,"d-multi-select__result-checkbox"]],[["@type","@checked"],["checkbox",[28,[30,0,["isSelected"]],[[30,6]],null]]],null],[1,"\\n\\n "],[10,1],[14,0,"d-multi-select__result-label"],[12],[1,"\\n "],[18,9,[[30,6]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[6]],null],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"d-multi-select__search-no-results"],[12],[1,"\\n "],[1,[28,[32,9],["multi_select.no_results"],null]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "]],[]],null]],[]]]],[]]],[1," "]],[5]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","@selection","item","@componentArgs","menu","result","&selection","&error","&result"],false,["if","each","-track-array","yield","readonly","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-multi-select.js",scope:()=>[S.default,y.default,f.default,o.on,a.fn,_.default,h.default,m.default,g.default,T.i18n,u.default,D,p.eq,r.Input],isStrictMode:!0}),this))()}},2014:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(24698),n=i(40779),r=i(4089),a=i(58452),o=i(66530),l=i(13744),u=i(58670),d=i(68269),c=i(51719),p=i(76107),h=i(98671),m=i(12816),g=i(9348),f=i(55888);class _ extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[l.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"activeSectionLink",[n.tracked]))();#ie=(()=>void dt7948.i(this,"activeSectionLink"))();constructor(){super(...arguments),this.#it(),this.router.on("routeDidChange",this,this.#it)}willDestroy(){super.willDestroy(...arguments),this.router.off("routeDidChange",this,this.#it)}get sectionLinks(){return this.activeSectionLink?this.#ii(this.args.sectionLinks):this.args.sectionLinks}get secondarySectionLinks(){return this.activeSectionLink?this.#ii(this.args.secondarySectionLinks):this.args.secondarySectionLinks}#ii(e){return e.filter(e=>e.name!==this.activeSectionLink.name)}#it(){this.activeSectionLink=this.args.sectionLinks.find(e=>{let t=[e.route];return e.model?t.push(e.model):e.models&&t.push(...e.models),(0,u.isEmpty)(e.query)||t.push({queryParams:e.query}),this.router.isActive(...t)&&e})}closeMenu(e){e.close(),this.args.toggleNavigationMenu&&this.args.toggleNavigationMenu()}static #n=(()=>dt7948.n(this.prototype,"closeMenu",[o.action]))();static #a=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"rYByo83o",block:'[[[1,"\\n"],[41,[30,0,["activeSectionLink"]],[[[1," "],[8,[32,0],null,[["@sectionLink"],[[30,0,["activeSectionLink"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,"li"],[14,0,"sidebar-section-link-wrapper"],[12],[1,"\\n "],[8,[32,1],null,[["@triggerClass","@modalForMobile","@autofocus","@placement","@inline","@identifier","@triggerComponent"],["sidebar-section-link sidebar-more-section-links-details-summary sidebar-row --link-button",true,true,"bottom",true,"sidebar-more-section",[32,2]]],[["content"],[[[[1,"\\n "],[8,[32,3],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["sectionLinks"]]],null]],null],null,[[[1," "],[8,[32,0],[[24,0,"dropdown-menu__item"],[4,[32,4],["click",[28,[32,5],[[30,0,["closeMenu"]],[30,1]],null]],null]],[["@sectionLink"],[[30,3]]],null],[1,"\\n"]],[3]],null],[1,"\\n"],[41,[30,4],[[[1," "],[8,[30,2,["divider"]],null,null,null],[1,"\\n\\n "],[8,[30,2,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,6],null,[["@action","@icon","@text","@name","@toggleNavigationMenu"],[[30,4],[30,5],[30,6],"customize",[30,7]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],[2]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n "]],["menu","dropdown","sectionLink","@moreButtonAction","@moreButtonIcon","@moreButtonText","@toggleNavigationMenu"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/more-section-links.js",scope:()=>[p.default,c.default,h.default,d.default,a.on,r.fn,m.default],isStrictMode:!0}),this))()}},2038:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698),n=i(66530),r=i(13744),a=i(11811),o=i(87018),l=i(20559),u=i(72172),d=i(9348),c=i(55888);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"store",[r.service]))();#is=(()=>void dt7948.i(this,"store"))();get enabled(){return"disabled"!==this.siteSettings.reviewable_claiming}async unclaim(){try{await (0,l.ajax)(`/reviewable_claimed_topics/${this.args.topicId}`,{type:"DELETE"}),this.args.onClaim(null)}catch(e){(0,u.popupAjaxError)(e)}}static #a=(()=>dt7948.n(this.prototype,"unclaim",[n.action]))();async claim(){let e=this.store.createRecord("reviewable-claimed-topic");try{await e.save({topic_id:this.args.topicId}),this.args.onClaim({user:this.currentUser,automatic:!1})}catch(e){(0,u.popupAjaxError)(e)}}static #l=(()=>dt7948.n(this.prototype,"claim",[n.action]))();static #d=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"FCCQ6Xu1",block:'[[[1,"\\n"],[41,[30,0,["enabled"]],[[[1," "],[10,0],[14,0,"reviewable-claimed-topic"],[12],[1,"\\n"],[41,[30,1],[[[1," "],[10,0],[14,0,"claimed-by"],[12],[1,"\\n "],[1,[28,[32,0],[[30,1]],[["imageSize"],["small"]]]],[1,"\\n "],[10,1],[14,0,"claimed-username"],[12],[1,[30,1,["username"]]],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,1],[[24,0,"btn-small unclaim"]],[["@icon","@action","@title"],["xmark",[30,0,["unclaim"]],"review.unclaim.help"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,1],[[24,0,"btn-small claim"]],[["@icon","@title","@action"],["user-plus","review.claim.title",[30,0,["claim"]]]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["@claimedBy"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-claimed-topic.js",scope:()=>[o.default,a.default],isStrictMode:!0}),this))()}},2173:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>A,resetLastEditNotificationClick:()=>C,setLastEditNotificationClick:()=>S});var s=i(40779),n=i(66530),r=i(58295),a=i(45916),o=i(13744),l=i(58670),u=i(4705),d=i(23286),c=i(20559),p=i(6827),h=i(43952),m=i(8106),g=i(66214),f=i(46566),_=i(86232),y=i(34057),b=i(37288),w=i(12079),k=i(57364);let T=null;function S(e,t,i){T={topicId:e,postNumber:t,revisionNumber:i}}function C(){T=null}class A extends b.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"store",[o.service]))();#is=(()=>void dt7948.i(this,"store"))();static #n=(()=>dt7948.g(this.prototype,"filter",[s.tracked]))();#ir=(()=>void dt7948.i(this,"filter"))();static #a=(()=>dt7948.g(this.prototype,"filterRepliesToPostNumber",[s.tracked]))();#ia=(()=>void dt7948.i(this,"filterRepliesToPostNumber"))();static #l=(()=>dt7948.g(this.prototype,"filterUpwardsPostID",[s.tracked]))();#io=(()=>void dt7948.i(this,"filterUpwardsPostID"))();static #d=(()=>dt7948.g(this.prototype,"gaps",[s.tracked]))();#il=(()=>void dt7948.i(this,"gaps"))();static #p=(()=>dt7948.g(this.prototype,"lastId",[s.tracked]))();#iu=(()=>void dt7948.i(this,"lastId"))();static #m=(()=>dt7948.g(this.prototype,"loaded",[s.tracked]))();#id=(()=>void dt7948.i(this,"loaded"))();static #f=(()=>dt7948.g(this.prototype,"loadingAbove",[s.tracked]))();#ic=(()=>void dt7948.i(this,"loadingAbove"))();static #y=(()=>dt7948.g(this.prototype,"loadingBelow",[s.tracked]))();#ip=(()=>void dt7948.i(this,"loadingBelow"))();static #v=(()=>dt7948.g(this.prototype,"loadingFilter",[s.tracked]))();#ih=(()=>void dt7948.i(this,"loadingFilter"))();static #k=(()=>dt7948.g(this.prototype,"loadingNearPost",[s.tracked]))();#im=(()=>void dt7948.i(this,"loadingNearPost"))();static #S=(()=>dt7948.g(this.prototype,"postsWithPlaceholders",[s.tracked]))();#ig=(()=>void dt7948.i(this,"postsWithPlaceholders"))();static #A=(()=>dt7948.g(this.prototype,"stagingPost",[s.tracked]))();#i_=(()=>void dt7948.i(this,"stagingPost"))();static #M=(()=>dt7948.g(this.prototype,"stream",[s.tracked]))();#iy=(()=>void dt7948.i(this,"stream"))();static #E=(()=>dt7948.g(this.prototype,"timelineLookup",[s.tracked]))();#ib=(()=>void dt7948.i(this,"timelineLookup"))();static #P=(()=>dt7948.g(this.prototype,"userFilters",[s.tracked]))();#iv=(()=>void dt7948.i(this,"userFilters"))();static #I=(()=>dt7948.g(this.prototype,"posts",[s.tracked]))();#iw=(()=>void dt7948.i(this,"posts"))();static #O=(()=>dt7948.g(this.prototype,"loading",[(0,r.or)("loadingAbove","loadingBelow","loadingFilter","stagingPost")]))();#ik=(()=>void dt7948.i(this,"loading"))();static #R=(()=>dt7948.g(this.prototype,"notLoading",[(0,r.not)("loading")]))();#iT=(()=>void dt7948.i(this,"notLoading"))();static #B=(()=>dt7948.g(this.prototype,"summary",[(0,r.equal)("filter","summary")]))();#iS=(()=>void dt7948.i(this,"summary"))();static #Y=(()=>dt7948.g(this.prototype,"canAppendMore",[(0,r.and)("notLoading","hasPosts","lastPostNotLoaded")]))();#iC=(()=>void dt7948.i(this,"canAppendMore"))();static #$=(()=>dt7948.g(this.prototype,"canPrependMore",[(0,r.and)("notLoading","hasPosts","firstPostNotLoaded")]))();#iA=(()=>void dt7948.i(this,"canPrependMore"))();static #V=(()=>dt7948.g(this.prototype,"firstPostNotLoaded",[(0,r.not)("firstPostPresent")]))();#iD=(()=>void dt7948.i(this,"firstPostNotLoaded"))();static #K=(()=>dt7948.g(this.prototype,"lastPostNotLoaded",[(0,r.not)("loadedAllPosts")]))();#iM=(()=>void dt7948.i(this,"lastPostNotLoaded"))();_identityMap=null;init(){this._identityMap={};let e=[],t=g.default.create({posts:e,store:this.store});this.setProperties({posts:e,postsWithPlaceholders:t,stream:[],userFilters:[],filterRepliesToPostNumber:parseInt(this.get("topic.replies_to_post_number"),10)||!1,filterUpwardsPostID:!1,loaded:!1,loadingAbove:!1,loadingBelow:!1,loadingFilter:!1,stagingPost:!1,timelineLookup:[]})}filteredPostsCount(e,t,i){return e?i:t}static #J=(()=>dt7948.n(this.prototype,"filteredPostsCount",[(0,p.default)("isMegaTopic","stream.length","topic.highest_post_number")]))();hasPosts(){return this.get("posts.length")>0}static #X=(()=>dt7948.n(this.prototype,"hasPosts",[(0,p.default)("posts.[]")]))();hasLoadedData(e,t){return e&&t>0}static #ee=(()=>dt7948.n(this.prototype,"hasLoadedData",[(0,p.default)("hasPosts","filteredPostsCount")]))();firstPostPresent(e){return!!e&&!!this.posts.findBy("post_number",1)}static #ei=(()=>dt7948.n(this.prototype,"firstPostPresent",[(0,p.default)("hasLoadedData","posts.[]")]))();lastPostId(e,t,i){return e?i:t}static #en=(()=>dt7948.n(this.prototype,"lastPostId",[(0,p.default)("isMegaTopic","stream.lastObject","lastId")]))();loadedAllPosts(e,t){return!!e&&(-1===t||!!this.posts.findBy("id",t))}static #ea=(()=>dt7948.n(this.prototype,"loadedAllPosts",[(0,p.default)("hasLoadedData","lastPostId","posts.@each.id")]))();streamFilters(){let e={};this.filter&&(e.filter=this.filter);let t=this.userFilters;return(0,l.isEmpty)(t)||(e.username_filters=t.join(",")),this.filterRepliesToPostNumber&&(e.replies_to_post_number=this.filterRepliesToPostNumber),this.filterUpwardsPostID&&(e.filter_upwards_post_id=this.filterUpwardsPostID),e}static #el=(()=>dt7948.n(this.prototype,"streamFilters",[(0,p.default)("filter","userFilters.[]","filterRepliesToPostNumber","filterUpwardsPostID")]))();hasNoFilters(){let e=this.streamFilters;return!(e&&("summary"===e.filter||e.username_filters))}static #ed=(()=>dt7948.n(this.prototype,"hasNoFilters",[(0,p.default)("streamFilters.[]","topic.posts_count","posts.length")]))();previousWindow(){if(!this.posts)return[];let e=this.posts[0];if(!e)return[];let t=this.stream,i=this.indexOf(e);if(-1===i)return[];let s=i-this.get("topic.chunk_size");return s<0&&(s=0),t.slice(s,i)}static #ep=(()=>dt7948.n(this.prototype,"previousWindow",[(0,p.default)("posts.[]","stream.[]")]))();nextWindow(e){if(!e)return[];let t=this.stream,i=this.indexOf(e);return -1===i||i+1>=this.highest_post_number?[]:t.slice(i+1,i+this.get("topic.chunk_size")+1)}static #em=(()=>dt7948.n(this.prototype,"nextWindow",[(0,p.default)("posts.lastObject","stream.[]")]))();cancelFilter(){this.setProperties({userFilters:[],filterRepliesToPostNumber:!1,filterUpwardsPostID:!1,mixedHiddenPosts:!1,filter:null})}refreshAndJumpToSecondVisible(){return this.refresh({}).then(()=>{this.posts&&this.posts.length>1&&_.default.jumpToPost(this.posts[1].get("post_number"))})}showTopReplies(){return this.cancelFilter(),this.set("filter","summary"),this.refreshAndJumpToSecondVisible()}filterParticipant(e){return this.cancelFilter(),this.userFilters.addObject(e),this.refreshAndJumpToSecondVisible()}filterReplies(e,t){return this.cancelFilter(),this.set("filterRepliesToPostNumber",e),this.appEvents.trigger("post-stream:filter-replies",{topic_id:this.get("topic.id"),post_number:e,post_id:t}),this.refresh({refreshInPlace:!0}).then(()=>{let t=document.querySelector(`#post_${e}`),i=t?t.getBoundingClientRect().top:null;this.appEvents.trigger("post-stream:refresh"),_.default.jumpToPost(e,{originalTopOffset:i}),(0,a.schedule)("afterRender",()=>{(0,y.highlightPost)(e)})})}filterUpwards(e){return this.cancelFilter(),this.set("filterUpwardsPostID",e),this.appEvents.trigger("post-stream:filter-upwards",{topic_id:this.get("topic.id"),post_id:e}),this.refresh({refreshInPlace:!0}).then(()=>{if(this.appEvents.trigger("post-stream:refresh"),this.posts&&this.posts.length>1){let e=this.posts[1].get("post_number");_.default.jumpToPost(e,{skipIfOnScreen:!0}),(0,a.schedule)("afterRender",()=>{(0,y.highlightPost)(e)})}})}refresh(e){(e=e||{}).nearPost=parseInt(e.nearPost,10),e.cancelFilter&&(this.cancelFilter(),delete e.cancelFilter);let t=this.topic;if(e.forceLoad)this.set("loaded",!1);else if(this.posts.findBy("post_number",e.nearPost))return d.Promise.resolve().then(()=>this._checkIfShouldShowRevisions());return e.refreshInPlace||this.set("loadingFilter",!0),this.set("loadingNearPost",e.nearPost),e=(0,m.deepMerge)(e,this.streamFilters),(0,w.loadTopicView)(t,e).then(e=>{this.updateFromJson(e.post_stream),this.setProperties({loadingFilter:!1,timelineLookup:e.timeline_lookup,loaded:!0}),this._checkIfShouldShowRevisions(),t.setProperties({errorLoading:!1,errorTitle:null,errorHtml:null,errorMessage:null,noRetry:!1})}).catch(e=>{throw this.errorLoading(e),Error(e)}).finally(()=>{this.set("loadingNearPost",null)})}fillGapBefore(e,t){let i=e.get("id"),s=this.stream,n=s.indexOf(i),r=this.posts;if(-1!==n){let a=r.indexOf(e),o=t.slice(0,this.topic.chunk_size),l=t.slice(this.topic.chunk_size);if(s.splice.apply(s,[n,0].concat(o)),-1!==a)return this.findPostsByIds(o).then(t=>{t.forEach(e=>{this._initUserModels(e);let t=this.storePost(e);if(!r.includes(t)){let e=a++;this.postsWithPlaceholders.insertPost(e,()=>{r.insertAt(e,t)})}}),l.length>0?this.get("gaps.before")[i]=l:delete this.get("gaps.before")[i],e.set("hasGap",!1),this.gapExpanded()})}return d.Promise.resolve()}fillGapAfter(e,t){let i=e.get("id"),s=this.stream;return -1!==s.indexOf(i)?(s.pushObjects(t),this.appendMore().then(()=>{delete this.get("gaps.after")[i],this.gapExpanded()})):d.Promise.resolve()}gapExpanded(){this.appEvents.trigger("post-stream:refresh"),this.streamFilters&&this.streamFilters.replies_to_post_number&&this.set("streamFilters.mixedHiddenPosts",!0)}appendMore(){if(!this.canAppendMore)return d.Promise.resolve();let e=this.postsWithPlaceholders;if(this.isMegaTopic){this.set("loadingBelow",!0);let t=[...Array(this.get("topic.chunk_size")-1).keys()].map(e=>-e-1);return e.appending(t),this.fetchNextWindow(this.get("posts.lastObject.post_number"),!0,e=>{this.appendPost(e)}).finally(()=>{e.finishedAppending(t),this.set("loadingBelow",!1)})}{let t=this.nextWindow;return(0,l.isEmpty)(t)?d.Promise.resolve():(this.set("loadingBelow",!0),e.appending(t),this.findPostsByIds(t).then(e=>(e.forEach(e=>this.appendPost(e)),e)).finally(()=>{e.finishedAppending(t),this.set("loadingBelow",!1)}))}}prependMore(){if(!this.canPrependMore)return d.Promise.resolve();if(this.isMegaTopic){this.set("loadingAbove",!0);let e=[];return this.fetchNextWindow(this.get("posts.firstObject.post_number"),!1,t=>{this.prependPost(t),e.push(t.get("id"))}).finally(()=>{this.postsWithPlaceholders.finishedPrepending(e),this.set("loadingAbove",!1)})}{let e=this.previousWindow;return(0,l.isEmpty)(e)?d.Promise.resolve():(this.set("loadingAbove",!0),this.findPostsByIds(e.reverse()).then(e=>{e.forEach(e=>this.prependPost(e))}).finally(()=>{this.postsWithPlaceholders.finishedPrepending(e),this.set("loadingAbove",!1)}))}}stagePost(e,t){if(this.stagingPost)return"alreadyStaging";this.set("stagingPost",!0);let i=this.topic;return(i.setProperties({posts_count:(i.get("posts_count")||0)+1,last_posted_at:new Date,"details.last_poster":t,highest_post_number:(i.get("highest_post_number")||0)+1}),e.setProperties({post_number:i.get("highest_post_number"),topic:i,created_at:new Date,id:-1}),this.loadedAllPosts)?(this.appendPost(e),this.stream.addObject(e.get("id")),"staged"):"offScreen"}commitPost(e){this.get("topic.id")===e.get("topic_id")&&this.loadedAllPosts&&(this.appendPost(e),this.stream.addObject(e.get("id"))),this.stream.removeObject(-1),this._identityMap[-1]=null,this.set("stagingPost",!1)}undoPost(e){this.stream.removeObject(-1),this.postsWithPlaceholders.removePost(()=>this.posts.removeObject(e)),this._identityMap[-1]=null;let t=this.topic;this.set("stagingPost",!1),t.setProperties({highest_post_number:(t.get("highest_post_number")||0)-1,posts_count:(t.get("posts_count")||0)-1})}prependPost(e){this._initUserModels(e);let t=this.storePost(e);return t&&this.posts.unshiftObject(t),e}appendPost(e){this._initUserModels(e);let t=this.storePost(e);if(t){let e=this.posts;e.includes(t)||(this.loadingBelow?e.pushObject(t):this.postsWithPlaceholders.appendPost(()=>e.pushObject(t))),-1!==t.get("id")&&this.set("lastAppended",t)}return e}removePosts(e){(0,l.isEmpty)(e)||this.postsWithPlaceholders.refreshAll(()=>{let t=this.posts,i=e.map(e=>e.get("id")),s=this._identityMap;this.stream.removeObjects(i),t.removeObjects(e),i.forEach(e=>delete s[e])})}findLoadedPost(e){return this._identityMap[e]}loadPostByPostNumber(e){let t=`/posts/by_number/${this.get("topic.id")}/${e}`,i=this.store;return(0,c.ajax)(t).then(e=>this.storePost(i.createRecord("post",e)))}loadNearestPostToDate(e){let t=`/posts/by-date/${this.get("topic.id")}/${e}`,i=this.store;return(0,c.ajax)(t).then(e=>this.storePost(i.createRecord("post",e)))}loadPost(e){let t=this.store,i=this._identityMap[e];return(0,c.ajax)("/posts/"+e).then(e=>(i&&(e.cooked=i.cooked),this.storePost(t.createRecord("post",e))))}triggerNewPostInStream(e,t){return(0,h.default)("Please use triggerNewPostsInStream, this method will be removed July 2021",{id:"discourse.post-stream.trigger-new-post"}),this.triggerNewPostsInStream([e],t)}triggerNewPostsInStream(e,t){let i=d.Promise.resolve();if(!e||0===e.length||!this.hasNoFilters)return i;let s=this.loadedAllPosts;this._loadingPostIds=this._loadingPostIds||[];let n=[];return(e.forEach(e=>{e&&!this.stream.includes(e)&&n.push(e)}),0===n.length)?i:s?(n.forEach(e=>{this._loadingPostIds.includes(e)||this._loadingPostIds.push(e)}),this.set("loadingLastPost",!0),this.findPostsByIds(this._loadingPostIds,t).then(e=>{this._loadingPostIds=null;let t=this.currentUser?.ignored_users;e.forEach(e=>{if(t?.includes(e.username))return void this.stream.removeObject(e.id);this.stream.addObject(e.id),this.appendPost(e)})}).finally(()=>{this.set("loadingLastPost",!1)})):(n.forEach(e=>this.stream.addObject(e)),i)}triggerRecoveredPost(e){if(this._identityMap[e])return this.triggerChangedPost(e,new Date);{let t=`/posts/${e}`,i=this.store;return(0,c.ajax)(t).then(e=>{let t=i.createRecord("post",e),s=this.stream,n=this.posts;this.storePost(t);let r=0;s.forEach(t=>{t{t.id{n.insertAt(r,t)}):t.post_number{this.storePost(i.createRecord("post",e))}).catch(()=>{this.removePosts([t])})}return d.Promise.resolve()}triggerDestroyedPost(e){let t=this._identityMap[e];return this.removePosts([t]),d.Promise.resolve()}async triggerChangedPost(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(i||={},!e)return;let s=this._identityMap[e];if(s&&s.updated_at!==t){let t=await (0,c.ajax)(`/posts/${e}`);i.preserveCooked&&(t.cooked=s.cooked);let n=this.store.createRecord("post",t);this.storePost(n)}}triggerLikedPost(e,t,i,s){let n=d.Promise.resolve(),r=this.findLoadedPost(e);return r&&(r.updateLikeCount(t,i,s),this.storePost(r)),n}triggerReadPost(e,t){let i=d.Promise.resolve();return i.then(()=>{let i=this.findLoadedPost(e);i&&t>i.readers_count&&(i.set("readers_count",t),this.storePost(i))}),i}triggerChangedTopicStats(){return this.firstPostNotLoaded?d.Promise.reject():d.Promise.resolve().then(()=>this.posts.findBy("post_number",1).id)}postForPostNumber(e){if(this.hasPosts)return this.posts.find(t=>t.get("post_number")===e)}closestPostForPostNumber(e){if(!this.hasPosts)return;let t=null;return this.posts.forEach(i=>{if(!t){t=i;return}Math.abs(e-i.get("post_number")){t!==e&&(t||(t=i.get("post_number")),Math.abs(e-i.get("post_number"))e)s=n-1;else{if(!(rt.clear()),this.set("gaps",null),e){let t=this.store;e.posts.forEach(e=>this.appendPost(t.createRecord("post",e))),delete e.posts;let i={before:new u.TrackedObject(e.gaps?.before||{}),after:new u.TrackedObject(e.gaps?.after||{})};e.gaps=i,this.setProperties(e)}}storePost(e){if(e){if((0,n.get)(e,"id")){let t=this._identityMap[e.get("id")],i=e.get("post_number");if(i&&i>(this.get("topic.highest_post_number")||0)&&(this.set("topic.highest_post_number",i),this.set("topic.last_posted_at",e.get("created_at"))),t)return t.updateFromPost(e),t;e.topic!==this.topic&&(e.topic=this.topic),this._identityMap[e.get("id")]=e}return e}}fetchNextWindow(e,t,i){let s=!this.get("topic.suggested_topics"),r=`/t/${this.get("topic.id")}/posts.json`,a={post_number:e,asc:t,include_suggested:s};a=(0,m.deepMerge)(a,this.streamFilters);let o=this.store;return(0,c.ajax)(r,{data:a}).then(e=>{this._setSuggestedTopics(e);let t=(0,n.get)(e,"post_stream.posts");t&&t.forEach(e=>{e=this.storePost(o.createRecord("post",e)),i&&i.call(this,e)})})}findPostsByIds(e,t){let i=this._identityMap,s=e.filter(e=>!i[e]);return this.loadIntoIdentityMap(s,t).then(()=>e.map(e=>i[e]).compact())}loadIntoIdentityMap(e,t){if((0,l.isEmpty)(e))return d.Promise.resolve([]);let i=!this.get("topic.suggested_topics"),s="/t/"+this.get("topic.id")+"/posts.json",r=this.store,a={};return t&&t.background&&(a["Discourse-Background"]="true"),(0,c.ajax)(s,{data:{post_ids:e,include_suggested:i},headers:a}).then(e=>{this._setSuggestedTopics(e),e.user_badges&&(this.topic.user_badges??={},Object.assign(this.topic.user_badges,e.user_badges));let t=(0,n.get)(e,"post_stream.posts");t&&t.forEach(e=>this.storePost(r.createRecord("post",e)))})}backfillExcerpts(e){this._excerpts=this._excerpts||[];let t=this.stream;if(this._excerpts.loadNext=e,this._excerpts.loading)return this._excerpts.loading.then(()=>{if(!this._excerpts[t[e]]&&this._excerpts.loadNext===e)return this.backfillExcerpts(e)});let i=t.slice(Math.max(e-20,0),e+20);for(let e=i.length-1;e>=0;e--)this._excerpts[i[e]]&&i.splice(e,1);return this._excerpts.loading=(0,c.ajax)("/t/"+this.get("topic.id")+"/excerpts.json",{data:{post_ids:i}}).then(e=>{e.forEach(e=>{this._excerpts[e.post_id]=e})}).finally(()=>{this._excerpts.loading=null}),this._excerpts.loading}excerpt(e){if(this.isMegaTopic)return new d.Promise(e=>e(""));let t=this.stream;return new d.Promise((i,s)=>{let n=this._excerpts&&this._excerpts[t[e]];if(n)return void i(n);this.backfillExcerpts(e).then(()=>{i(this._excerpts[t[e]])}).catch(e=>s(e))})}indexOf(e){return this.stream.indexOf(e.get("id"))}errorLoading(e){(0,f.applyBehaviorTransformer)("post-stream-error-loading",()=>{let t=this.topic;if(this.set("loadingFilter",!1),t.set("errorLoading",!0),!e.jqXHR)throw e;let i=e.jqXHR.responseJSON;i&&i.extras&&i.extras.html?(t.set("errorTitle",i.extras.title),t.set("errorHtml",i.extras.html)):(t.set("errorMessage",(0,k.i18n)("topic.server_error.description")),t.set("noRetry",403===e.jqXHR.status))},{topic:this.topic,error:e})}_initUserModels(e){e.mentioned_users&&(e.mentioned_users=e.mentioned_users.map(e=>this.store.createRecord("user",e)))}_checkIfShouldShowRevisions(){if(T){let e=T;C();let t=this.posts.mapBy("post_number");e.topicId===this.topic.id&&t.includes(e.postNumber)&&(0,a.schedule)("afterRender",()=>{this.appEvents.trigger("post:show-revision",e.postNumber,e.revisionNumber)})}}_setSuggestedTopics(e){e.suggested_topics&&(this.topic.setProperties({suggested_topics:e.suggested_topics,suggested_group_name:e.suggested_group_name}),this.topic.isPrivateMessage&&this.pmTopicTrackingState.startTracking())}}},2222:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(7550),n=i(46423),r=i(60070),a=i(58295),o=i(66530),l=i(50110);let{meta:u}=s.default,d=Object.prototype.hasOwnProperty;function c(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 d.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)),(d.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)),c(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)||c(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)}})},2263:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PLUGIN_API_VERSION:()=>eK,withPluginApi:()=>e3});var s=i(24698),n=i(30587),r=i.n(n),a=i(21371),o=i(47611),l=i(1094),u=i(6367),d=i(40618),c=i(79722),p=i(99538),h=i(30739),m=i(42071),g=i(25148),f=i(40245),_=i(96612),y=i(45402),b=i(73064),w=i(92501),k=i(94269),T=i(89421),S=i(55486),C=i(25968),A=i(55896),D=i(68882),M=i(7615),x=i(90184),E=i(26531),L=i(4170),P=i(96077),F=i(84189),I=i(95543),N=i(67880),O=i(38705),j=i(5368),R=i(37717),U=i(75171),B=i(62112),H=i(93731),Y=i(1736),q=i(28823),$=i(96087),z=i(42262),V=i(79514),W=i(68844),K=i(81819),G=i(55403),J=i(43952),Q=i(53596),X=i(1660),Z=i(99148),ee=i(55751),et=i(30208),ei=i(51852),es=i(62441),en=i(60882),er=i(79178),ea=i(47209),eo=i(24084),el=i(72903),eu=i(71543),ed=i(53749),ec=i(80872),ep=i(20236),eh=i(49507),em=i(3327),eg=i(44325),ef=i(97141),e_=i(67788),ey=i(79969),eb=i(80048),ev=i(45650),ew=i(77303),ek=i(79422),eT=i(48532),eS=i(46566),eC=i(74697),eA=i(45580),eD=i(34057),eM=i(78188),ex=i(58605),eE=i(72),eL=i(12079),eP=i(48297),eF=i(83869),eI=i(67699),eN=i(84916),eO=i(69966),ej=i(75565),eR=i(95327),eU=i(58658),eB=i(65758),eH=i(30728),eY=i(23419),eq=i(40145),e$=i(15188),ez=i(68894),eV=i(9348),eW=i(55888);let eK="2.1.1",eG=["component:scrolling-post-stream"],eJ=["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"],eQ=["component:topic-list"],eX=new WeakMap;function eZ(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(eX.get(e.class)?.includes(n))return!1;{let t=eX.get(e.class)||[];return t.push(n),eX.set(e.class,t),!0}}function e1(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 e0{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(eQ.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){this.#ix(e);let s=this._resolveClass(e,i);if(s)return eZ(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 eZ(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=e1(e,"broken_decorator_alert"),(0,eR.addDecorator)(e),this.onAppEvent("decorate-post-cooked-element",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,eV.setComponentTemplate)((0,eW.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)(eY.POST_STREAM_DEPRECATION_OPTIONS.id,()=>{(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.#iE(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.#iE(e,"attachWidgetAction"),s.prototype[t]=i}includePostAttributes(){(0,J.default)("`api.includePostAttributes` has been deprecated. Use `api.addTrackedPostProperties` instead.",eY.POST_STREAM_DEPRECATION_OPTIONS),this.addTrackedPostProperties(...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=e1(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,Y.registerCustomAvatarHelper)(e)}disableNameSuppressionOnPosts(){(0,eH.disableNameSuppression)(),this.registerValueTransformer("post-meta-data-poster-name-suppress-similar-name",()=>!0)}registerCustomPostMessageCallback(e,t){(0,j.registerCustomPostMessageCallback)(e,t)}addBeforeLoadMoreNotificationsCallback(e){(0,R.addBeforeLoadMoreCallback)(e)}changeWidgetSetting(e,t,i){this.#iE(e,"changeWidgetSetting"),(0,eY.changeSetting)(e,t,i)}preventCloak(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];(0,eB.preventCloak)(e),(0,eF.preventCloaking)(e,t)}createWidget(e,t){return(0,eY.createWidget)(e,t)}reopenWidget(e,t){return this.#iE(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,ed.registerTopicFooterButton)(e)}registerTopicFooterDropdown(e){(0,ec.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,eU.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,eU.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.",eY.POST_STREAM_DEPRECATION_OPTIONS),(0,eB.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,ez.modifySelectKit)(e)}addGTMPageChangedCallback(e){(0,el.addGTMPageChangedCallback)(e)}addSharingSource(e){ef.default.addSharingId(e.id),ef.default.addSource(e)}addComposerUploadHandler(e,t){(0,d.addComposerUploadHandler)(e,t)}addComposerUploadPreProcessor(e,t){(0,d.addComposerUploadPreProcessor)(e,t)}addComposerUploadMarkdownResolver(e){(0,d.addComposerUploadMarkdownResolver)(e)}addUsernameSelectorDecorator(e){(0,H.addUsernameSelectorDecorator)(e)}composerBeforeSave(e){eM.default.reopen({beforeSave:e})}addComposerSaveErrorCallback(e){(0,eO.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,c.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,eI.setNewCategoryDefaultColors)(e,t)}setNotificationsLimit(e){(0,eN.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){e$.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,O.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,eq.addImageWrapperButton)(e,t,i),(0,d.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)}#ix(e){eG.includes(e)&&(0,J.default)(`Using api.modifyClass for \`${e}\` has been deprecated and is no longer a supported override.`,eY.POST_STREAM_DEPRECATION_OPTIONS)}#iE(e,t){eJ.includes(e)?(0,J.default)(`The \`${e}\` widget has been deprecated and \`api.${t}\` is no longer a supported override.`,eY.POST_STREAM_DEPRECATION_OPTIONS):(0,eY.warnWidgetsDeprecation)(`Using \`api.${t}\` is deprecated and will soon stop working. Affected widget: ${e}.`)}}function e3(){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;i{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(30587),n=i.n(s);let r=!1,a=n().Callbacks(),o={initialize(e){let t=e.lookup("service:session");t.set("csrfToken",document.head.querySelector("meta[name=csrf-token]")?.content),r||(n().ajaxPrefilter(a.fire),r=!0),a.add(function(e,i,s){e.crossDomain||s.setRequestHeader("X-CSRF-Token",t.get("csrfToken"))})},teardown(){a.empty()}}},2346:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(9348),n=i(21195);class r extends s.default{click(e){e?.target?.tagName==="A"&&(0,n.shouldOpenInNewTab)(e.target.href)&&(0,n.openLinkInNewTab)(e,e.target)}}},2364:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(45916),n=i(1848),r=i(92129),a=i(28184);let o=dt7948.c(class extends a.default{didInsertElement(){super.didInsertElement(...arguments),(0,s.schedule)("afterRender",()=>{let e=document.querySelector(`#${this.selectKit.uniqueID} #${this.id}`);if(!e)return;e.style.borderBottom="2px solid transparent";let t=(0,r.escapeExpression)(this.name);e.style.borderBottomColor=`#${t}`})}},[(0,n.classNames)("select-kit-selected-color")])},2367:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>M});var s=i(4089),n=i(58452),r=i(78941),a=i(90098),o=i(90831),l=i(11811),u=i(5586),d=i(11541),c=i(79401),p=i(8664),h=i(15294),m=i(20336),g=i(59440),f=i(9265),_=i(71773),y=i(30336),b=i(46386),w=i(3365),k=i(57364),T=i(44093),S=i(1841),C=i(9348),A=i(55888),D=i(74975);let M=(0,a.default)((0,C.setComponentTemplate)((0,A.createTemplateFactory)({id:"5DHPnEtA",block:'[[[1,"\\n "],[10,0],[14,0,"control-group pref-username"],[14,"data-setting-name","user-username"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.username.title"],null]],[13],[1,"\\n "],[8,[32,1],null,[["@user"],[[30,1,["model"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[51,[30,1,["siteSettings","discourse_connect_overrides_avatar"]]],[[[1," "],[10,0],[14,0,"control-group pref-avatar"],[14,"data-setting-name","user-avatar"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[14,1,"profile-picture"],[12],[1,[28,[32,0],["user.avatar.title"],null]],[13],[1,"\\n "],[10,"input"],[14,1,"user-avatar-uploads"],[15,"data-custom-avatar-upload-id",[30,1,["model","custom_avatar_upload_id"]]],[15,"data-system-avatar-upload-id",[30,1,["model","system_avatar_upload_id"]]],[14,4,"hidden"],[12],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n"],[1," "],[1,[28,[32,2],[[30,1,["model"]],"huge"],null]],[1,"\\n "],[8,[32,3],[[24,1,"edit-avatar"],[24,0,"btn-default pad-left"]],[["@action","@icon"],[[28,[32,4],[[28,[32,5],["showAvatarSelector"],null],[30,1,["model"]]],null],"pencil"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canCheckEmails"]],[[[1," "],[10,0],[14,0,"control-group pref-email"],[14,"data-setting-name","user-email"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.email.title"],null]],[13],[1,"\\n"],[41,[30,1,["model","email"]],[[[41,[30,1,["siteSettings","enable_secondary_emails"]],[[[1," "],[10,0],[14,0,"emails"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,1,["emails"]]],null]],null],null,[[[1," "],[10,0],[14,0,"row email"],[12],[1,"\\n "],[10,0],[14,0,"email-first"],[12],[1,[30,2,["email"]]],[13],[1,"\\n "],[10,0],[14,0,"email-second"],[12],[1,"\\n"],[41,[30,2,["primary"]],[[[1," "],[10,1],[14,0,"primary"],[12],[1,"\\n "],[1,[28,[32,0],["user.email.primary_label"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[51,[30,2,["confirmed"]]],[[[1," "],[10,1],[14,0,"unconfirmed"],[12],[1,"\\n "],[1,[28,[32,0],["user.email.unconfirmed_label"],null]],[1,"\\n "],[13],[1,"\\n •\\n"],[41,[30,2,["resending"]],[[[1," "],[10,1],[12],[1,[28,[32,0],["user.email.resending_label"],null]],[13],[1,"\\n"]],[]],[[[41,[30,2,["resent"]],[[[1," "],[10,1],[12],[1,[28,[32,0],["user.email.resent_label"],null]],[13],[1,"\\n"]],[]],[[[1," "],[11,"button"],[24,0,"resend-email-confirmation"],[24,4,"button"],[4,[32,6],["click",[28,[32,4],[[30,1,["resendConfirmationEmail"]],[30,2]],null]],null],[12],[1,"\\n "],[1,[28,[32,0],["user.email.resend_label"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]],[]]]],[]],null],[1," "],[13],[1,"\\n"],[41,[30,1,["model","can_edit_email"]],[[[1," "],[8,[32,7],null,[["@email","@setPrimaryEmail","@destroyEmail"],[[30,2],[30,1,["setPrimaryEmail"]],[30,1,["destroyEmail"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,1,["canAddEmail"]],[[[1," "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,8],null,[["@route","@query"],["preferences.email",[28,[32,9],null,[["new"],[1]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,10],["plus"],null]],[1,"\\n "],[1,[28,[32,0],["user.email.add_email"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],[[[1," "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[10,1],[14,0,"static"],[12],[1,[30,1,["model","email"]]],[13],[1,"\\n"],[41,[30,1,["model","can_edit_email"]],[[[1," "],[8,[32,8],[[24,0,"btn btn-default btn-small btn-icon pad-left no-text"]],[["@route"],["preferences.email"]],[["default"],[[[[1,"\\n "],[1,[28,[32,10],["pencil"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]]],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n"],[41,[30,1,["siteSettings","auth_overrides_email"]],[[[1," "],[1,[28,[32,0],["user.email.auth_override_instructions"],null]],[1,"\\n"]],[]],null],[1," "],[1,[28,[32,0],["user.email.instructions"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn-default"]],[["@action","@title","@icon","@label"],[[28,[32,4],[[28,[32,5],["checkEmail"],null],[30,1,["model"]]],null],"admin.users.check_email.title","envelope","admin.users.check_email.text"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canUpdateAssociatedAccounts"]],[[[1," "],[10,0],[14,0,"control-group pref-associated-accounts"],[14,"data-setting-name","user-associated-accounts"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.associated_accounts.title"],null]],[13],[1,"\\n"],[41,[30,1,["associatedAccountsLoaded"]],[[[1," "],[10,"table"],[14,0,"associated-accounts"],[12],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,1,["authProviders"]]],null]],null],null,[[[41,[30,3,["account"]],[[[1," "],[10,"tr"],[15,0,[29,[[28,[32,11],[[30,3,["method","name"]]],null],"\\n account-connected"]]],[12],[1,"\\n "],[10,"td"],[14,0,"associated-account__icon"],[12],[1,"\\n"],[41,[30,3,["method","isGoogle"]],[[[1," "],[8,[32,12],null,null,null],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,10],[[28,[32,13],[[30,3,["method","icon"]],"user"],null]],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,"td"],[12],[1,"\\n "],[10,0],[14,0,"associated-account__name"],[12],[1,"\\n"],[41,[30,3,["method","provider_url"]],[[[1," "],[10,3],[15,6,[30,3,["method","provider_url"]]],[14,"rel","noopener noreferrer"],[14,"target","_blank"],[12],[1,"\\n "],[1,[30,3,["method","prettyName"]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[1,[30,3,["method","prettyName"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,0],[14,0,"associated-account__description"],[12],[1,"\\n "],[1,[30,3,["account","description"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"associated-account__actions"],[12],[1,"\\n"],[41,[30,3,["method","can_revoke"]],[[[1," "],[8,[32,3],[[24,0,"btn-danger no-text"]],[["@action","@title","@icon","@disabled"],[[28,[32,4],[[30,1,["revokeAccount"]],[30,3,["account"]]],null],"user.associated_accounts.revoke","trash-can",[28,[32,14],[[30,1,["revoking"]],[30,3,["method","name"]]],null]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"tr"],[15,0,[28,[32,11],[[30,3,["method","name"]]],null]],[12],[1,"\\n "],[10,"td"],[15,0,[29,["associated-account__icon\\n ",[28,[32,11],[[30,3,["method","name"]]],null]]]],[12],[1,"\\n"],[41,[30,3,["method","isGoogle"]],[[[1," "],[8,[32,12],null,null,null],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,10],[[28,[32,13],[[30,3,["method","icon"]],"user"],null]],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,"td"],[12],[1,"\\n "],[10,0],[14,0,"associated-account__name"],[12],[1,"\\n"],[41,[30,3,["method","provider_url"]],[[[1," "],[10,3],[15,6,[30,3,["method","provider_url"]]],[14,"rel","noopener noreferrer"],[14,"target","_blank"],[12],[1,"\\n "],[1,[30,3,["method","prettyName"]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[1,[30,3,["method","prettyName"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,0],[14,0,"associated-account__description"],[12],[1,"\\n "],[1,[30,3,["account","description"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"associated-account__actions"],[12],[1,"\\n"],[41,[30,3,["method","can_connect"]],[[[1," "],[8,[32,3],[[24,0,"btn-primary"]],[["@action","@label","@icon","@disabled"],[[28,[32,4],[[30,1,["connectAccount"]],[30,3,["method"]]],null],"user.associated_accounts.connect","plug",[30,1,["disableConnectButtons"]]]],null],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["user.associated_accounts.not_connected"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]]],[3]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,3],null,[["@action","@title","@icon","@label"],[[28,[32,4],[[28,[32,5],["checkEmail"],null],[30,1,["model"]]],null],"admin.users.check_email.title","envelope","admin.users.check_email.text"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canEditName"]],[[[1," "],[10,0],[14,0,"control-group pref-name"],[14,"data-setting-name","user-name"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.name.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n"],[41,[30,1,["model","can_edit_name"]],[[[1," "],[8,[32,15],null,[["@value","@classNames","@maxlength"],[[30,1,["newNameInput"]],"input-xxlarge","255"]],null],[1,"\\n"]],[]],[[[1," "],[10,1],[14,0,"static"],[12],[1,[30,1,["model","name"]]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[30,1,["nameInstructions"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canSelectTitle"]],[[[1," "],[10,0],[14,0,"control-group pref-title"],[14,"data-setting-name","user-title"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.title.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,16],null,[["@value","@content","@onChange","@options"],[[30,1,["newTitleInput"]],[30,1,["model","availableTitles"]],[28,[32,4],[[28,[31,4],[[30,1,["newTitleInput"]]],null]],null],[28,[32,9],null,[["none"],["user.title.none"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[28,[32,0],["user.title.instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canSelectFlair"]],[[[1," "],[10,0],[14,0,"control-group pref-flair"],[14,"data-setting-name","user-flair"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.flair.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,17],null,[["@value","@content","@onChange","@options"],[[30,1,["newFlairGroupId"]],[30,1,["model","availableFlairs"]],[28,[32,4],[[28,[31,4],[[30,1,["newFlairGroupId"]]],null]],null],[28,[32,9],null,[["none"],["user.flair.none"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[28,[32,0],["user.flair.instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canSelectUserStatus"]],[[[1," "],[10,0],[14,0,"control-group pref-user-status"],[14,"data-setting-name","user-status"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.status.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n"],[41,[30,1,["newStatus"]],[[[1," "],[8,[32,18],null,[["@status","@showDescription"],[[30,1,["newStatus"]],true]],null],[1,"\\n"]],[]],[[[1," "],[10,1],[14,0,"static"],[12],[1,[28,[32,0],["user.status.not_set"],null]],[13],[1,"\\n"]],[]]],[1," "],[8,[32,3],[[24,0,"btn-default btn-small pad-left"]],[["@action","@icon"],[[28,[32,4],[[30,1,["showUserStatusModal"]],[30,1,["newStatus"]]],null],"pencil"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canSelectPrimaryGroup"]],[[[1," "],[10,0],[14,0,"control-group pref-primary-group"],[14,"data-setting-name","user-primary-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.primary_group.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,16],null,[["@value","@content","@options"],[[30,1,["newPrimaryGroupInput"]],[30,1,["model","filteredGroups"]],[28,[32,9],null,[["none"],["user.primary_group.none"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canDownloadPosts"]],[[[1," "],[10,0],[14,0,"control-group pref-data-export"],[14,"data-setting-name","user-data-export"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.download_archive.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn-default btn-request-archive"]],[["@action","@label","@icon"],[[30,1,["exportUserArchive"]],"user.download_archive.button_text","download"]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[28,[32,0],["user.download_archive.description"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,19],null,[["@name","@connectorTagName","@outletArgs"],["user-preferences-account","div",[28,[32,20],null,[["model","save"],[[30,1,["model"]],[30,1,["save"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"br"],[12],[13],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,19],null,[["@name","@connectorTagName","@outletArgs"],["user-custom-controls","div",[28,[32,20],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["canSaveUser"]],[[[1," "],[8,[32,21],null,[["@model","@action","@saved"],[[30,1,["model"]],[30,1,["save"]],[30,1,["saved"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["model","canDeleteAccount"]],[[[1," "],[10,0],[14,0,"control-group delete-account"],[12],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn-danger"]],[["@action","@disabled","@icon","@label"],[[30,1,["delete"]],[30,1,["deleteDisabled"]],"trash-can","user.delete_account"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["@controller","email","authProvider"],false,["unless","if","each","-track-array","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/preferences/account.js",scope:()=>[k.i18n,g.default,f.default,l.default,s.fn,w.default,n.on,u.default,r.LinkTo,s.hash,_.default,y.default,d.default,o.or,s.get,h.default,T.default,S.default,m.default,c.default,b.default,p.default],isStrictMode:!0}),(0,D.default)(void 0,void 0)))},2517:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ALL_CATEGORIES_ID:()=>w,NO_CATEGORIES_ID:()=>b,default:()=>T});var s=i(66530),n=i(58295),r=i(96675),a=i(1848),o=i(93032),l=i(37380),u=i(152),d=i.n(u),c=i(59190),p=i.n(c),h=i(57364),m=i(14460),g=i(49250),f=i(44093),_=i(86558),y=i(17524);let b="no-categories",w="all-categories",k="MORE_COLLECTION",T=dt7948.c(class extends f.default{static #e=(()=>dt7948.g(this.prototype,"value",[(0,n.readOnly)("category.id")]))();#iL=(()=>void dt7948.i(this,"value"))();static #i=(()=>dt7948.g(this.prototype,"content",[(0,n.readOnly)("categoriesWithShortcuts.[]")]))();#iP=(()=>void dt7948.i(this,"content"))();static #n=(()=>dt7948.g(this.prototype,"parentCategoryName",[(0,n.readOnly)("selectKit.options.parentCategory.displayName")]))();#iF=(()=>void dt7948.i(this,"parentCategoryName"))();static #a=(()=>dt7948.g(this.prototype,"shouldDisplayIcon",[(0,n.readOnly)("selectKit.options.shouldDisplayIcon")]))();#iI=(()=>void dt7948.i(this,"shouldDisplayIcon"))();static #l=(()=>dt7948.g(this.prototype,"allowUncategorized",[(0,l.setting)("allow_uncategorized_topics")]))();#iN=(()=>void dt7948.i(this,"allowUncategorized"))();noCategoriesLabel=(()=>(0,h.i18n)("categories.no_subcategories"))();navigateToEdit=!1;editingCategory=!1;editingCategoryTab=null;init(){super.init(...arguments),this.insertAfterCollection(_.MAIN_COLLECTION,k)}modifyComponentForCollection(e){if(e===k)return m.default}modifyComponentForRow(){return g.default}get noSubcategories(){return this.selectKit.options.noSubcategories}static #d=(()=>dt7948.n(this.prototype,"noSubcategories",[(0,s.computed)("selectKit.options.noSubcategories")]))();get displayCategoryDescription(){return!(this.get("currentUser.staff")||this.get("currentUser.trust_level")>0)}static #p=(()=>dt7948.n(this.prototype,"displayCategoryDescription",[s.computed]))();get hideParentCategory(){return this.options.subCategory||!1}static #m=(()=>dt7948.n(this.prototype,"hideParentCategory",[s.computed]))();get shortcuts(){let e=[];return(this.value&&!this.editingCategory||this.selectKit.options.noSubcategories&&this.selectKit.options.subCategory)&&e.push({id:w,name:this.allCategoriesLabel}),this.selectKit.options.subCategory&&(this.value||!this.selectKit.options.noSubcategories)&&e.push({id:b,name:this.noCategoriesLabel}),1===e.length&&e[0].id===w&&(e[0].name=(0,h.i18n)("categories.remove_filter")),e}static #f=(()=>dt7948.n(this.prototype,"shortcuts",[(0,s.computed)("value","selectKit.options.{subCategory,noSubcategories}")]))();get categoriesWithShortcuts(){let e=this._filterUncategorized(this.categories||[]);return this.shortcuts.concat(e)}static #y=(()=>dt7948.n(this.prototype,"categoriesWithShortcuts",[(0,s.computed)("categories.[]","shortcuts")]))();modifyNoSelection(){return this.selectKit.options.noSubcategories?this.defaultItem(b,(0,h.i18n)("categories.no_subcategories")):this.defaultItem(w,this.selectKit.options.subCategory?(0,h.i18n)("categories.subcategories_label"):(0,h.i18n)("categories.categories_label"))}modifySelection(e){if(this.value){let t=p().findById(this.value);e.title=t.title,e.label=(0,r.htmlSafe)((0,o.categoryBadgeHTML)(t,{link:!1,allowUncategorized:!0,hideParent:!0}))}return e}get allCategoriesLabel(){return this.editingCategory?this.noCategoriesLabel:this.selectKit.options.subCategory?(0,h.i18n)("categories.remove_filter",{categoryName:this.parentCategoryName}):(0,h.i18n)("categories.all")}static #v=(()=>dt7948.n(this.prototype,"allCategoriesLabel",[(0,s.computed)("parentCategoryName","selectKit.options.subCategory")]))();async search(e){if(this.site.lazy_load_categories){let t;this.options.parentCategory?.id?t=this.options.parentCategory.id:e||(t=-1);let i=await p().asyncSearch(e,{parentCategoryId:t,includeUncategorized:this.siteSettings.allow_uncategorized_topics,includeAncestors:!0,limit:18}),s=i.categoriesCount>18?i.categories.slice(0,15):i.categories;return this.selectKit.totalCount=i.categoriesCount,this.shortcuts.concat(s)}let t={parentCategoryId:this.options.parentCategory?.id};if(!e)return this._filterUncategorized(this.content);{let i=p().search(e,t);return this._filterUncategorized(i).sort((e,t)=>e.parent_category_id&&!t.parent_category_id?1:!e.parent_category_id&&t.parent_category_id?-1:0)}}onChange(e){let t,i=e===w||e===b?this.selectKit.options.parentCategory:p().findById(parseInt(e,10));t=this.editingCategoryTab?(0,u.getEditCategoryUrl)(i,e!==b,this.editingCategoryTab):(0,u.getCategoryAndTagUrl)(i,e!==b,this.tagId),d().routeToUrl(t)}static #k=(()=>dt7948.n(this.prototype,"onChange",[s.action]))();_filterUncategorized(e){return this.siteSettings.allow_uncategorized_topics||(e=e.filter(e=>e.id!==this.site.uncategorized_category_id)),e}},[(0,_.pluginApiIdentifiers)(["category-drop"]),(0,_.selectKitOptions)({filterable:!0,none:"category.all",caretDownIcon:"caret-right",caretUpIcon:"caret-down",fullWidthOnMobile:!0,noSubcategories:!1,subCategory:!1,clearable:!1,hideParentCategory:"hideParentCategory",countSubcategories:!1,autoInsertNoneItem:!1,displayCategoryDescription:"displayCategoryDescription",headerComponent:y.default,parentCategory:!1,allowUncategorized:"allowUncategorized",shouldDisplayIcon:"shouldDisplayIcon"}),(0,a.classNameBindings)("noSubcategories:has-selection"),(0,a.classNames)("category-drop")])},2563:function(e,t,i){!function(e,t){t(i(4387))}(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",{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}})})},2581:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(96675),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 d=function(){return(d=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.level,s=void 0===i?"all":i,n=p.scope,r=void 0===n?"xml"===s?"strict":"body":n;if(!e)return"";var a=f[s][r],o=c[s].entities,d="attribute"===r,h="strict"===r;return e.replace(a,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],d="x"==o||"X"==o?parseInt(e.substr(3),16):parseInt(e.substr(2));n=d>=1114111?y:d>65535?u(d):_(l[d]||d)}}return n}(e,o,d,h)})}(n.innerHTML))}},2609:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(9348),n=i(79401),r=i(53710),a=i(9265),o=i(46386),l=i(55888);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:()=>[n.default,o.default,a.default,r.default],isStrictMode:!0}),this))()}},2623:(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})},2650:(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_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:"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",route:"adminConfig.logo",label:"admin.config.logo.title",description:"admin.config.logo.header_description",icon:"fab-discourse"},{name:"admin_fonts",route:"adminConfig.fonts",label:"admin.config.fonts.title",description:"admin.config.fonts.header_description",icon:"font"},{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:"adminConfig.customize.themes",label:"admin.config.themes_and_components.title",description:"admin.config.themes_and_components.header_description",icon:"paintbrush",keywords:"admin.config.themes_and_components.keywords",links:[{name:"admin_theme_site_settings",route:"adminConfig.theme-site-settings",label:"admin.config.theme_site_settings.title",description:"admin.config.theme_site_settings.header_description",icon:"gear"}]},{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_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:"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"}]}]},2654:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(96675),n=i(62931);function r(e){return(0,s.htmlSafe)(`${(0,n.number)(e.item.get(e.column.name))}`)}},2725:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},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?"jedna godina":n||i?a[0]:a[1]:(r=t.correctGrammaticalCase(e,a),"yy"===s&&i&&"godinu"===r)?e+" godina":e+" "+r}};return e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".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:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",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}})})},2753:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(96675),n=i(90098),r=i(79401),a=i(82286),o=i(9348),l=i(55888),u=i(74975);let d=(0,n.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"mughXnAe",block:'[[[1,"\\n "],[1,[28,[32,0],["static-privacy"],null]],[1,"\\n\\n "],[10,"section"],[14,0,"container"],[12],[1,"\\n "],[10,0],[14,0,"contents clearfix body-page"],[12],[1,"\\n "],[8,[32,1],null,[["@name"],["above-static"]],null],[1,"\\n "],[1,[28,[32,2],[[30,1,["model","html"]]],null]],[1,"\\n "],[8,[32,1],null,[["@name"],["below-static"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/privacy.js",scope:()=>[a.default,r.default,s.htmlSafe],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},2780:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(66530),n=i(56994),r=i(79401),a=i(86009),o=i(46386),l=i(6827),u=i(57364),d=i(9348),c=i(55888);class p extends(0,n.buildCategoryPanel)("images"){backgroundImageUrl(e){return e||""}static #e=(()=>dt7948.n(this.prototype,"backgroundImageUrl",[(0,l.default)("category.uploaded_background.url")]))();backgroundDarkImageUrl(e){return e||""}static #i=(()=>dt7948.n(this.prototype,"backgroundDarkImageUrl",[(0,l.default)("category.uploaded_background_dark.url")]))();logoImageUrl(e){return e||""}static #n=(()=>dt7948.n(this.prototype,"logoImageUrl",[(0,l.default)("category.uploaded_logo.url")]))();logoImageDarkUrl(e){return e||""}static #a=(()=>dt7948.n(this.prototype,"logoImageDarkUrl",[(0,l.default)("category.uploaded_logo_dark.url")]))();logoUploadDone(e){this._setFromUpload("category.uploaded_logo",e)}static #l=(()=>dt7948.n(this.prototype,"logoUploadDone",[s.action]))();logoUploadDeleted(){this._deleteUpload("category.uploaded_logo")}static #d=(()=>dt7948.n(this.prototype,"logoUploadDeleted",[s.action]))();logoDarkUploadDone(e){this._setFromUpload("category.uploaded_logo_dark",e)}static #p=(()=>dt7948.n(this.prototype,"logoDarkUploadDone",[s.action]))();logoDarkUploadDeleted(){this._deleteUpload("category.uploaded_logo_dark")}static #m=(()=>dt7948.n(this.prototype,"logoDarkUploadDeleted",[s.action]))();backgroundUploadDone(e){this._setFromUpload("category.uploaded_background",e)}static #f=(()=>dt7948.n(this.prototype,"backgroundUploadDone",[s.action]))();backgroundUploadDeleted(){this._deleteUpload("category.uploaded_background")}static #y=(()=>dt7948.n(this.prototype,"backgroundUploadDeleted",[s.action]))();backgroundDarkUploadDone(e){this._setFromUpload("category.uploaded_background_dark",e)}static #v=(()=>dt7948.n(this.prototype,"backgroundDarkUploadDone",[s.action]))();backgroundDarkUploadDeleted(){this._deleteUpload("category.uploaded_background_dark")}static #k=(()=>dt7948.n(this.prototype,"backgroundDarkUploadDeleted",[s.action]))();_deleteUpload(e){this.set(e,s.default.create({id:null,url:null}))}_setFromUpload(e,t){this.set(e,s.default.create({url:t.url,id:t.id}))}static #S=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"u63kISqm",block:'[[[1,"\\n "],[10,"section"],[14,0,"field category-logo"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.logo"],null]],[13],[1,"\\n "],[8,[32,1],[[24,0,"no-repeat contain-image"]],[["@imageUrl","@onUploadDone","@onUploadDeleted","@type","@id"],[[30,0,["logoImageUrl"]],[30,0,["logoUploadDone"]],[30,0,["logoUploadDeleted"]],"category_logo","category-logo-uploader"]],null],[1,"\\n "],[10,0],[14,0,"category-logo-description"],[12],[1,"\\n "],[1,[28,[32,0],["category.logo_description"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field category-logo"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.logo_dark"],null]],[13],[1,"\\n "],[8,[32,1],[[24,0,"no-repeat contain-image"]],[["@imageUrl","@onUploadDone","@onUploadDeleted","@type","@id"],[[30,0,["logoImageDarkUrl"]],[30,0,["logoDarkUploadDone"]],[30,0,["logoDarkUploadDeleted"]],"category_logo_dark","category-dark-logo-uploader"]],null],[1,"\\n "],[10,0],[14,0,"category-logo-description"],[12],[1,"\\n "],[1,[28,[32,0],["category.logo_description"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field category-background-image"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.background_image"],null]],[13],[1,"\\n "],[8,[32,1],null,[["@imageUrl","@onUploadDone","@onUploadDeleted","@type","@id"],[[30,0,["backgroundImageUrl"]],[30,0,["backgroundUploadDone"]],[30,0,["backgroundUploadDeleted"]],"category_background","category-background-uploader"]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field category-background-image"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.background_image_dark"],null]],[13],[1,"\\n "],[8,[32,1],null,[["@imageUrl","@onUploadDone","@onUploadDeleted","@type","@id"],[[30,0,["backgroundDarkImageUrl"]],[30,0,["backgroundDarkUploadDone"]],[30,0,["backgroundDarkUploadDeleted"]],"category_background_dark","category-dark-background-uploader"]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,2],null,[["@name","@outletArgs"],["category-custom-images",[28,[32,3],null,[["category"],[[30,0,["category"]]]]]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/edit-category-images.js",scope:()=>[u.i18n,a.default,r.default,o.default],isStrictMode:!0}),this))()}},2784:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(34057);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`
      ${t.map(n).join("")}
    `}},2808:(e,t,i)=>{"use strict";i.r(t),i.d(t,{HUGE_FILE_THRESHOLD_BYTES:()=>S,default:()=>D});var s=i(40779);i(23260);var n=i(66530),r=i(36768),a=i(45916),o=i(13744),l=i(4705),u=i(55914),d=i(58430),c=i(91969),p=i(15930),h=i(20559),m=i(6827),g=i(18965),f=i(8106),_=i(52443),y=i(83093),b=i(93119),w=i(30667),k=i(94281),T=i(57364);let S=0x6400000,C={uploadDone:null,uploadError:null,autoStartUploads:!0,uploadUrl:null,uploadRootPath:"/uploads",validateUploadedFilesOptions:{},additionalParams:{},maxFiles:null,isUploadedFileAllowed:()=>!0,perFileData:null,uploadDropTargetOptions:null,preventDirectS3Uploads:!1,useChunkedUploads:!1,useMultipartUploadsIfAvailable:!1,uppyReady:null,onProgressUploadsChanged:null,type:null},A=["id","uploadDone","type"];class D{static #e=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #i=(()=>dt7948.g(this.prototype,"messageBus",[o.service]))();#iO=(()=>void dt7948.i(this,"messageBus"))();static #n=(()=>dt7948.g(this.prototype,"appEvents",[o.service]))();#tY=(()=>void dt7948.i(this,"appEvents"))();static #a=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #l=(()=>dt7948.g(this.prototype,"capabilities",[o.service]))();#ij=(()=>void dt7948.i(this,"capabilities"))();static #d=(()=>dt7948.g(this.prototype,"session",[o.service]))();#iR=(()=>void dt7948.i(this,"session"))();static #p=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #m=(()=>dt7948.g(this.prototype,"uploading",[s.tracked],function(){return!1}))();#iU=(()=>void dt7948.i(this,"uploading"))();static #f=(()=>dt7948.g(this.prototype,"processing",[s.tracked],function(){return!1}))();#iB=(()=>void dt7948.i(this,"processing"))();static #y=(()=>dt7948.g(this.prototype,"uploadProgress",[s.tracked],function(){return 0}))();#iH=(()=>void dt7948.i(this,"uploadProgress"))();static #v=(()=>dt7948.g(this.prototype,"allowMultipleFiles",[s.tracked]))();#iY=(()=>void dt7948.i(this,"allowMultipleFiles"))();static #k=(()=>dt7948.g(this.prototype,"filesAwaitingUpload",[s.tracked],function(){return!1}))();#iq=(()=>void dt7948.i(this,"filesAwaitingUpload"))();static #S=(()=>dt7948.g(this.prototype,"cancellable",[s.tracked],function(){return!1}))();#i$=(()=>void dt7948.i(this,"cancellable"))();inProgressUploads=(()=>new l.TrackedArray)();uppyWrapper;#iz;#iV;_fileInputEl;constructor(e,t){(0,r.setOwner)(this,e),this.uppyWrapper=new b.default(e),this.config=function(e){let t={},i=Object.getOwnPropertyDescriptors(e);return Object.defineProperties(t,{...Object.getOwnPropertyDescriptors(C),...i}),t}(t),function(e){for(let t of A)if(!e[t])throw Error(`Missing required UppyUpload config: ${t}`)}(this.config)}teardown(){this.messageBus.unsubscribe(`/uploads/${this.config.type}`),this._fileInputEl?.removeEventListener("change",this.#iz),this.appEvents.off(`upload-mixin:${this.config.id}:add-files`,this.addFiles),this.appEvents.off(`upload-mixin:${this.config.id}:cancel-upload`,this.cancelSingleUpload),this.uppyWrapper.uppyInstance?.close&&this.uppyWrapper.uppyInstance.close()}setup(e){e&&(this._fileInputEl=e,this.allowMultipleFiles=this._fileInputEl.multiple,this.#iW()),this.uppyWrapper.uppyInstance=new d.A({id:this.config.id,autoProceed:this.config.autoStartUploads,meta:(0,f.deepMerge)({upload_type:this.config.type},this.#iK),onBeforeFileAdded:e=>{let t=(0,f.deepMerge)({bypassNewUserRestriction:!0,user:this.currentUser,siteSettings:this.siteSettings,validateSize:!0},this.config.validateUploadedFilesOptions),i=(0,_.validateUploadedFile)(e,t)&&this.config.isUploadedFileAllowed(e);return Object.assign(this,{uploadProgress:0,uploading:i&&this.config.autoStartUploads,filesAwaitingUpload:!this.config.autoStartUploads,cancellable:i&&this.config.autoStartUploads}),i},onBeforeUpload:e=>{let t=Object.keys(e).length,i=this.config.maxFiles||this.siteSettings.simultaneous_uploads;if(this.allowMultipleFiles?i>0&&t>i:t>1)return this.dialog.alert((0,T.i18n)("post.errors.too_many_dragged_and_dropped_files",{count:this.allowMultipleFiles?i:1})),this.#iG(),!1;Object.values(e).forEach(e=>{(0,f.deepMerge)(e.meta,this.config.perFileData?.(e))})}});let t=this.#iJ;t&&this.uppyWrapper.uppyInstance.use(c.default,t),this.uppyWrapper.uppyInstance.on("progress",e=>{this.uploadProgress=e}),this.uppyWrapper.uppyInstance.on("upload",(e,t)=>{this.uppyWrapper.addNeedProcessing(t.length),this.processing=!0,this.cancellable=!1,t.forEach(e=>{this.inProgressUploads.push(n.default.create({fileName:e.name,id:e.id,progress:0,extension:e.extension,processing:!1})),this.#iQ()})}),this.uppyWrapper.uppyInstance.on("upload-progress",(e,t)=>{(0,a.run)(()=>{let i=this.inProgressUploads.find(t=>t.id===e.id);if(i){let e=Math.round(t.bytesUploaded/t.bytesTotal*100);i.set("progress",e)}})}),this.uppyWrapper.uppyInstance.on("upload-success",(e,t)=>{if(this.#iV)Object.assign(this,{uploading:!1,processing:!0}),this.#iX(e).then(t=>{this.#iZ(e.id),this.appEvents.trigger(`upload-mixin:${this.config.id}:upload-success`,e.name,t),this.config.uploadDone((0,f.deepMerge)(t,{file_name:e.name})),this.#iQ(),0===this.inProgressUploads.length&&this.#i1()}).catch(t=>{(0,_.displayErrorForUpload)(t,this.siteSettings,e.name),this.#iQ()});else{this.#iZ(e.id);let i=t?.body||{};this.appEvents.trigger(`upload-mixin:${this.config.id}:upload-success`,e.name,i),this.config.uploadDone((0,f.deepMerge)(i,{file_name:e.name})),this.#iQ(),0===this.inProgressUploads.length&&this.#i1()}}),this.uppyWrapper.uppyInstance.on("upload-error",(e,t,i)=>{i.aborted||(this.#iZ(e.id),(0,_.displayErrorForUpload)(i||t,this.siteSettings,e.name),this.#iG())}),this.uppyWrapper.uppyInstance.on("file-removed",(e,t)=>{(0,a.run)(()=>{"cancel-all"!==t&&this.appEvents.trigger(`upload-mixin:${this.config.id}:upload-cancelled`,e.id)})}),this.siteSettings.enable_upload_debug_mode&&this.uppyWrapper.debug.instrumentUploadTimings(this.uppyWrapper.uppyInstance),!this.siteSettings.enable_direct_s3_uploads||this.config.preventDirectS3Uploads||this.config.useChunkedUploads?this.config.useChunkedUploads?this.#i0():this.#i3():this.config.useMultipartUploadsIfAvailable?new y.default((0,r.getOwner)(this),{uploadRootPath:this.config.uploadRootPath,uppyWrapper:this.uppyWrapper,errorHandler:this.config.uploadError}).apply(this.uppyWrapper.uppyInstance):this.#i2(),this.uppyWrapper.uppyInstance.on("cancel-all",()=>{this.appEvents.trigger(`upload-mixin:${this.config.id}:uploads-cancelled`),this.inProgressUploads.length&&(this.inProgressUploads.length=0,this.#iQ())}),this.appEvents.on(`upload-mixin:${this.config.id}:add-files`,this.addFiles),this.appEvents.on(`upload-mixin:${this.config.id}:cancel-upload`,this.cancelSingleUpload),this.config.uppyReady?.(),this.uppyWrapper.useUploadPlugin(w.default,{capabilities:this.capabilities})}static #A=(()=>dt7948.n(this.prototype,"setup",[m.bind]))();openPicker(){this._fileInputEl.click()}static #M=(()=>dt7948.n(this.prototype,"openPicker",[m.bind]))();#iQ(){this.config.onProgressUploadsChanged?.(this.inProgressUploads),this.appEvents.trigger(`upload-mixin:${this.config.id}:in-progress-uploads`,this.inProgressUploads)}startUpload(){if(this.filesAwaitingUpload&&this.uppyWrapper.uppyInstance?.getFiles().length)return this.uploading=!0,this.uppyWrapper.uppyInstance?.upload()}#i3(){this.uppyWrapper.uppyInstance.use(p.default,{endpoint:this.#i8(),shouldRetry:()=>!1,headers:()=>({"X-CSRF-Token":this.session.csrfToken})})}#i0(){this.uppyWrapper.uppyInstance.use(k.default,{url:this.#i8(),headers:{"X-CSRF-Token":this.session.csrfToken}})}#i2(){this.#iV=!0,this.uppyWrapper.uppyInstance.use(u.default,{shouldUseMultipart:!1,getUploadParameters:e=>{let t={file_name:e.name,file_size:e.size,type:this.config.type};return e.meta.sha1_checksum&&(t.metadata={"sha1-checksum":e.meta.sha1_checksum}),(0,h.ajax)(`${this.config.uploadRootPath}/generate-presigned-put`,{type:"POST",data:t}).then(t=>(this.uppyWrapper.uppyInstance.setFileMeta(e.id,{uniqueUploadIdentifier:t.unique_identifier}),{method:"put",url:t.url,headers:{...t.signed_headers,"Content-Type":e.type}})).catch(t=>{(0,_.displayErrorForUpload)(t,this.siteSettings,e.name),this.#iG()})}})}#i8(){let e=this.config.uploadUrl||this.config.uploadRootPath;return(0,g.default)(e)+".json?client_id="+this.messageBus.clientId}#iW(){this.#iz=(0,_.bindFileInputChangeListener)(this._fileInputEl,this.addFiles)}cancelSingleUpload(e){this.uppyWrapper.uppyInstance.removeFile(e.fileId),this.#iZ(e.fileId)}static #E=(()=>dt7948.n(this.prototype,"cancelSingleUpload",[m.bind]))();cancelAllUploads(){this.uppyWrapper.uppyInstance?.cancelAll(),this.inProgressUploads.length=0,this.#iQ()}static #P=(()=>dt7948.n(this.prototype,"cancelAllUploads",[m.bind]))();async addFiles(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.session.csrfToken||await (0,h.updateCsrfToken)(),e=Array.isArray(e)?e:[e];try{this.uppyWrapper.uppyInstance.addFiles(e.map(e=>({source:this.config.id,name:e.name,type:e.type,data:e,meta:{pasted:t.pasted}})))}catch(e){}}static #I=(()=>dt7948.n(this.prototype,"addFiles",[m.bind]))();#iX(e){return(0,h.ajax)(`${this.config.uploadRootPath}/complete-external-upload`,{type:"POST",data:(0,f.deepMerge)({unique_identifier:e.meta.uniqueUploadIdentifier},this.#iK)})}get #iK(){return"function"==typeof this.config.additionalParams?this.config.additionalParams():this.config.additionalParams}get #iJ(){return"function"==typeof this.config.uploadDropTargetOptions?this.config.uploadDropTargetOptions():this.config.uploadDropTargetOptions}#iG(){this.uppyWrapper.uppyInstance?.cancelAll(),Object.assign(this,{uploading:!1,processing:!1,cancellable:!1,uploadProgress:0,filesAwaitingUpload:!1}),this._fileInputEl&&(this._fileInputEl.value="")}#iZ(e){let t=this.inProgressUploads.findIndex(t=>t.id===e);-1!==t&&(this.inProgressUploads.splice(t,1),this.#iQ())}#i1(){this.isDestroying||this.isDestroyed||(this.appEvents.trigger(`upload-mixin:${this.config.id}:all-uploads-complete`),this.#iG())}}},2833:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("tl-ph",{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}})})},2863:(e,t,i)=>{"use strict";i.r(t),i.d(t,{TRACKED_QUERY_PARAM_VALUE:()=>r,hasTrackedFilter:()=>a,isTrackedTopic:()=>o});var s=i(95357),n=i(48297);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}},2973:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return(12===e&&(e=0),"pagi"===t)?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})})},3003:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(43952),n=i(62931);function r(e){return(0,s.default)("inline-date helper is deprecated",{id:"discourse.inline-date",since:"3.1.0.beta6"}),e.value&&(e=e.value()),(0,n.relativeAge)(new Date(e))}},3013:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(96675),n=i(90098),r=i(63262),a=i(57364),o=i(9348),l=i(55888),u=i(74975);let d=(0,n.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"tiJIjgkm",block:'[[[1,"\\n "],[8,[32,0],null,[["@step"],["activate"]],null],[1,"\\n "],[10,0],[14,0,"ac-message"],[12],[1,"\\n"],[41,[30,1,["email"]],[[[1," "],[1,[28,[32,1],[[28,[32,2],["login.sent_activation_email_again"],[["currentEmail"],[[30,1,["email"]]]]]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["login.sent_activation_email_again_generic"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/account-created/resent.js",scope:()=>[r.default,s.htmlSafe,a.i18n],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},3049:(e,t,i)=>{"use strict";i.r(t),i.d(t,{a:()=>l,b:()=>r,c:()=>a,d:()=>c,e:()=>p,r:()=>u}),i(23260);var s=i(49233),n=i(39665);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,{currentThemeId:()=>u,currentThemeIds:()=>l,currentThemeKey:()=>o,extendThemeCookie:()=>c,listThemes:()=>p,setLocalTheme:()=>d});var s=i(64119),n=i(43952),r=i(57364);let a="theme_ids";function o(){console&&console.warn&&console.trace&&(0,n.default)("'currentThemeKey' is deprecated use 'currentThemeId' instead. A theme component may require updating.",{id:"discourse.current-theme-key"})}function l(){let e=[],t=document.querySelector("meta[name=discourse_theme_id]");return t&&t.content.split(",").forEach(t=>{isNaN(t=parseInt(t,10))||e.push(t)}),e}function u(){return l()[0]}function d(e,t){(e=e.reject(e=>!e))&&e.length>0?(0,s.default)(a,`${e.join(",")}|${t}`,{path:"/",expires:365}):(0,s.removeCookie)(a,{path:"/"})}function c(){let e=(0,s.default)(a);e&&(0,s.default)(a,e,{path:"/",expires:365})}function p(e){let t=e.get("user_themes");if(!t)return null;let i=!!t.findBy("default",!0),s=[];return i||s.push({name:(0,r.i18n)("themes.default_description"),id:null}),t.forEach(e=>{s.push({name:e.name,id:e.theme_id,color_scheme_id:e.color_scheme_id,dark_color_scheme_id:e.dark_color_scheme_id})}),0===s.length?null:s}},3178:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PUBLIC_JS_VERSIONS:()=>s});let s={"ace/ace.js":"ace.js/1.4.13/ace.js","ace/theme-chrome.js":"ace.js/1.4.13/theme-chrome.js","ace/theme-chaos.js":"ace.js/1.4.13/theme-chaos.js","jsoneditor.js":"@json-editor/json-editor/2.10.0/jsoneditor.js","chart.min.js":"chart.js/3.5.1/chart.min.js","chartjs-plugin-datalabels.min.js":"chartjs-plugin-datalabels/2.2.0/chartjs-plugin-datalabels.min.js","jquery.magnific-popup.min.js":"magnific-popup/1.1.0/jquery.magnific-popup.min.js","pikaday.js":"pikaday/1.8.2/pikaday.js"}},3234:(e,t,i)=>{"use strict";i.r(t),i.d(t,{capabilities:()=>d,default:()=>c});var s=i(60103);let n=/iPhone|iPod|iPad|Macintosh|MacIntel/,r=/macOS/,a=navigator.userAgent,o={sm:new s.default("(min-width: 40rem)"),md:new s.default("(min-width: 48rem)"),lg:new s.default("(min-width: 64rem)"),xl:new s.default("(min-width: 80rem)"),"2xl":new s.default("(min-width: 96rem)")},l=new s.default("(any-pointer: coarse)");class u{isAndroid=(()=>a.includes("Android"))();isWinphone=(()=>a.includes("Windows Phone"))();isIpadOS=(()=>a.includes("Mac OS")&&!/iPhone|iPod/.test(a)&&this.touch)();isIOS=(()=>(/iPhone|iPod/.test(a)||this.isIpadOS)&&!window.MSStream)();isApple=(()=>n.test(navigator.platform)||navigator.userAgentData&&r.test(navigator.userAgentData.platform))();isOpera=(()=>!!window.opera||a.includes(" OPR/"))();isFirefox=(()=>a.includes("Firefox"))();isChrome=(()=>!!window.chrome&&!this.isOpera)();isSafari=(()=>/Constructor/.test(window.HTMLElement)||window.safari?.pushNotification?.toString()==="[object SafariRemoteNotification]")();hasContactPicker=(()=>"contacts"in navigator&&"ContactsManager"in window)();canVibrate=(()=>"vibrate"in navigator)();isPwa=(()=>window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone||document.referrer.includes("android-app://"))();isiOSPWA=(()=>this.isPwa&&this.isIOS)();wasLaunchedFromDiscourseHub=(()=>window.location.search.includes("discourse_app=1"))();isAppWebview=(()=>void 0!==window.ReactNativeWebView)();viewport={get sm(){return o.sm.matches},get md(){return o.md.matches},get lg(){return o.lg.matches},get xl(){return o.xl.matches},get"2xl"(){return o["2xl"].matches}};get touch(){return l.matches}get userHasBeenActive(){return!("userActivation"in navigator)||navigator.userActivation.hasBeenActive}get supportsServiceWorker(){return"serviceWorker"in navigator&&"undefined"!=typeof ServiceWorkerRegistration&&!this.isAppWebview&&navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state}}let d=new u;class c{static isServiceFactory=!0;static create(){return d}}},3257:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o,replaceEmoji:()=>a});var s=i(47754),n=i(34057),r=i(5251);function a(e){let t=(0,s.emojiUnescape)((0,n.escapeExpression)(e));return[new r.default({html:`${t}`})]}let o=(0,i(23419).createWidget)("emoji",{tagName:"img.emoji",buildAttributes(e){let t={src:(0,s.emojiUrlFor)(e.name),alt:`:${e.alt||e.name}:`};return e.title&&(t.title="string"==typeof e.title?e.title:e.name),t}})},3274:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(58295),n=i(66530),r=i(15601),a=i(9348),o=i(23260),l=i(96595),u=i(13744),d=i(36090);let c=(0,i(55888).createTemplateFactory)({id:"PTP2Dyo3",block:'[[[41,[48,[30,1]],[[[18,1,null]],[]],[[[1,[30,0,["linkTitle"]]]],[]]]],["&default"],false,["if","has-block","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/@ember/legacy-built-in-components.fa997d18/node_modules/@ember/legacy-built-in-components/components/link-to.hbs",isStrictMode:!1}),p=Object.freeze({toString:()=>"UNDEFINED"}),h=Object.freeze({}),m=a.default.extend({tagName:"a",route:p,model:p,models:p,query:p,"current-when":null,disabledWhen:void 0,title:null,rel:null,tabindex:null,target:null,activeClass:"active",loadingClass:"loading",disabledClass:"disabled",replace:!1,preventDefault:!0,linkTitle:void 0,attributeBindings:["href","title","rel","tabindex","target"],classNameBindings:["active","loading","disabled","transitioningIn","transitioningOut"],eventName:"click",init(){this._super(...arguments),this.assertLinkToOrigin();let{eventName:e}=this;this.on(e,this,this._invoke)},_routing:(0,u.inject)("-routing"),_currentRoute:(0,s.alias)("_routing.currentRouteName"),_currentRouterState:(0,s.alias)("_routing.currentState"),_targetRouterState:(0,s.alias)("_routing.targetState"),assertLinkToOrigin(){},_isEngine:(0,n.computed)(function(){return void 0!==(0,l.getEngineParent)((0,r.getOwner)(this))}),_engineMountPoint:(0,n.computed)(function(){return(0,r.getOwner)(this).mountPoint}),_route:(0,n.computed)("route","_currentRouterState",function(){let{route:e}=this;return e===p?this._currentRoute:this._namespaceRoute(e)}),_models:(0,n.computed)("model","models",function(){let{model:e,models:t}=this;return e!==p?[e]:t!==p?t:[]}),_query:(0,n.computed)("query",function(){let{query:e}=this;return e===p?h:Object.assign({},e)}),disabled:(0,n.computed)({get:e=>!1,set(e,t){return this._isDisabled=t,!!t&&this.disabledClass}}),active:(0,n.computed)("activeClass","_active",function(){return!!this._active&&this.activeClass}),_active:(0,n.computed)("_currentRouterState","_route","_models","_query","loading","current-when",function(){let{_currentRouterState:e}=this;return!!e&&this._isActive(e)}),willBeActive:(0,n.computed)("_currentRouterState","_targetRouterState","_route","_models","_query","loading","current-when",function(){let{_currentRouterState:e,_targetRouterState:t}=this;if(e!==t)return this._isActive(t)}),_isActive(e){if(this.loading)return!1;let t=this["current-when"];if("boolean"==typeof t)return t;let{_models:i,_routing:s}=this;return"string"==typeof t?t.split(" ").some(t=>s.isActiveForRoute(i,void 0,this._namespaceRoute(t),e)):s.isActiveForRoute(i,this._query,this._route,e)},transitioningIn:(0,n.computed)("_active","willBeActive",function(){return!0===this.willBeActive&&!this._active&&"ember-transitioning-in"}),transitioningOut:(0,n.computed)("_active","willBeActive",function(){return!1===this.willBeActive&&!!this._active&&"ember-transitioning-out"}),_namespaceRoute(e){let{_engineMountPoint:t}=this;return void 0===t?e:"application"===e?t:`${t}.${e}`},_invoke(e){if(!(0,d.isSimpleClick)(e))return!0;let{bubbles:t,preventDefault:i}=this,s=this.element.target,n=!s||"_self"===s;if(!1!==i&&n&&e.preventDefault(),!1===t&&e.stopPropagation(),this._isDisabled||this.loading||!n)return!1;let{_route:r,_models:a,_query:o,replace:l}=this;return this._generateTransition({queryParams:o,routeName:r},r,a,o,l),!1},_generateTransition(e,t,i,s,n){let{_routing:r}=this;e.transition=r.transitionTo(t,i,s,n)},href:(0,n.computed)("_currentRouterState","_route","_models","_query","tagName","loading","loadingHref",function(){if("a"!==this.tagName)return;if(this.loading)return this.loadingHref;let{_route:e,_models:t,_query:i,_routing:s}=this;return s.generateURL(e,t,i)}),loading:(0,n.computed)("_route","_modelsAreLoaded","loadingClass",function(){let{_route:e,_modelsAreLoaded:t}=this;if(!t||null==e)return this.loadingClass}),_modelsAreLoaded:(0,n.computed)("_models",function(){let{_models:e}=this;for(let t=0;t0){let t=e[e.length-1];"object"==typeof t&&null!==t&&t.isQueryParams&&(this.query=t.values,e.pop())}return}let i=this[d.HAS_BLOCK];t=t.slice(),i||this.set("linkTitle",t.shift());let s=t[t.length-1];s&&s.isQueryParams?this.set("query",t.pop().values):this.set("query",p),0===t.length?this.set("route",p):this.set("route",t.shift()),this.set("model",p),this.set("models",t),(0,o.runInDebug)(()=>{t=this.params.slice();let e=[],s=!1;i||t.shift();let n=t[t.length-1];if(n&&n.isQueryParams&&(t.pop(),s=!0),t.length>0&&(t.shift(),e.push("`@route`")),1===t.length?e.push("`@model`"):t.length>1&&e.push("`@models`"),s&&e.push("`@query`"),e.length>0){let t="Invoking the `` component with positional arguments is deprecated.";t+=`Please use the equivalent named arguments (${e.join(", ")})`,s&&(t+=" along with the `hash` helper"),i||(t+=" and pass a block for the link's content."),t+=".",(0,o.deprecate)(t,!1,{id:"ember-glimmer.link-to.positional-arguments",until:"4.0.0",for:"ember-source",url:"https://deprecations.emberjs.com/v3.x#toc_ember-glimmer-link-to-positional-arguments",since:{available:"3.26.0-beta.1",enabled:"3.26.0-beta.1"}})}})}});m.toString=()=>"@ember/routing/link-component",m.reopenClass({positionalParams:"params"});let g=(0,a.setComponentTemplate)(c,m)},3327:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addFeaturedLinkMetaDecorator:()=>o,default:()=>u,extractLinkMeta:()=>l,topicFeaturedLinkNode:()=>d});var s=i(21371),n=i(60882),r=i(48297);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 d(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])}},3338:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(4089),n=i(78941),r=i(90098),a=i(2038),o=i(95256),l=i(71773),u=i(98320),d=i(57364),c=i(9348),p=i(55888),h=i(74975);let m=(0,r.default)((0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"SwyNcrux",block:'[[[1,"\\n"],[41,[30,1,["reviewableTopics"]],[[[1," "],[10,"table"],[14,0,"reviewable-topics"],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"th"],[12],[1,[28,[32,0],["review.topics.topic"],null]],[1," "],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,0],["review.topics.reviewable_count"],null]],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,0],["review.topics.reported_by"],null]],[13],[1,"\\n "],[10,"th"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["reviewableTopics"]]],null]],null],null,[[[1," "],[10,"tr"],[14,0,"reviewable-topic"],[12],[1,"\\n "],[10,"td"],[14,0,"topic-title"],[12],[1,"\\n "],[10,0],[14,0,"combined-title"],[12],[1,"\\n "],[8,[32,1],null,[["@topic"],[[30,2]]],null],[1,"\\n "],[10,3],[15,6,[30,2,["relative_url"]]],[14,"rel","noopener noreferrer"],[14,"target","_blank"],[12],[1,[28,[32,2],[[30,2,["title"]]],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"reviewable-count"],[12],[1,"\\n "],[1,[30,2,["stats","count"]]],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"reported-by"],[12],[1,"\\n "],[1,[28,[32,0],["review.topics.unique_users"],[["count"],[[30,2,["stats","unique_users"]]]]]],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"reviewable-details"],[12],[1,"\\n "],[8,[32,3],null,[["@topicId","@claimedBy","@onClaim"],[[30,2,["id"]],[30,2,["claimed_by"]],[28,[32,4],[[28,[31,3],[[30,2,["claimed_by"]]],null]],null]]],null],[1,"\\n "],[8,[32,5],[[24,0,"btn btn-primary btn-small"]],[["@route","@query"],["review.index",[28,[32,6],null,[["topic_id"],[[30,2,["id"]]]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,7],["list"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,0],["review.topics.details"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[13],[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," "]],["@controller","rt"],false,["if","each","-track-array","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/review-topics.js",scope:()=>[d.i18n,o.default,u.default,a.default,s.fn,n.LinkTo,s.hash,l.default],isStrictMode:!0}),(0,h.default)(void 0,void 0)))},3359:(e,t,i)=>{"use strict";i.d(t,{a:()=>n,i:()=>a,r:()=>o});let s=new WeakMap;function n(e,t,i,n){let r={configurable:!0,enumerable:!0,writable:!0,initializer:null};for(let s of(n&&(r.initializer=n),i))r=s(e,t,r)||r;void 0===r.initializer?Object.defineProperty(e,t,r):function(e,t,i){let n=s.get(e);n||(n=new Map,s.set(e,n)),n.set(t,i)}(e,t,r)}function r(e,t,i){let s={...Object.getOwnPropertyDescriptor(e,t)};for(let n of i)s=n(e,t,s)||s;void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(e):void 0,s.initializer=void 0),Object.defineProperty(e,t,s)}function a(e,t){let i=function(e,t){var i;let n=e.prototype;for(;n;){let e=null==(i=s.get(n))?void 0:i.get(t);if(e)return e;n=n.prototype}}(e.constructor,t);i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(e):void 0})}let o=Object.freeze(Object.defineProperty({__proto__:null,c:function(e,t){return t.reduce((e,t)=>t(e)||e,e)},f:function(e,t,i,s){return n(e.prototype,t,i,s)},g:n,i:a,m:function(e,t,i){let{prototype:s}=e;return r(s,t,i)},n:r,p:function(e,t){for(let[i,s,n]of t)"field"===i?function(e,t,i){let s={configurable:!0,enumerable:!0,writable:!0,initializer:()=>{var i;return null==(i=Object.getOwnPropertyDescriptor(e,t))?void 0:i.value}};for(let n of i)s=n(e,t,s)||s;s.initializer&&(s.value=s.initializer.call(e),delete s.initializer),Object.defineProperty(e,t,s)}(e,s,n):r(e,s,n);return e}},Symbol.toStringTag,{value:"Module"}))},3365:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(60070),n=i(49938),r=i(23260),a=i(66530),o=i(36768),l=i(45916),u=i(99148);function d(e,t){let i,n=(0,s.A)(function(e){return(0,s.A)(function(e){return(e._routerMicrolib||e.router).currentRouteInfos}(e)).mapBy("_route").reverse()}(e)).find(e=>"function"==typeof(i=(e.actions||e._actions)[t]));return{action:i,handler:n}}class c extends n.default{get router(){return(0,o.getOwner)(this).lookup("router:main")}static #e=(()=>dt7948.n(this.prototype,"router",[a.computed]))();compute(e){let[t,...i]=e;return function(e,t){for(var i=arguments.length,s=Array(i>2?i-2:0),n=2;n{let{handler:i}=d(t,e)}),function(){let{action:i,handler:n}=d(t,e);for(var r=arguments.length,a=Array(r),o=0;o{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(24698),n=i(40779),r=i(66530),a=i(13744),o=i(11811),l=i(22106),u=i(64119),d=i(9348),c=i(55888);let p="content-localization-show-original";class h extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[a.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"showingOriginal",[n.tracked],function(){return!1}))();#i4=(()=>void dt7948.i(this,"showingOriginal"))();constructor(){super(...arguments),this.showingOriginal=(0,u.default)(p)}async showOriginal(){this.showingOriginal?(0,u.removeCookie)(p,{path:"/"}):(0,u.default)(p,!0,{path:"/",expires:30}),this.router.refresh()}static #n=(()=>dt7948.n(this.prototype,"showOriginal",[r.action]))();get title(){return this.showingOriginal?"translator.content_not_translated":"translator.content_translated"}static #a=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"6Zw7kv1a",block:'[[[1,"\\n "],[8,[32,0],[[16,0,[28,[32,1],["btn btn-default btn-toggle-localized-content no-text",[52,[51,[30,0,["showingOriginal"]]],"btn-active"]],null]]],[["@icon","@title","@action"],["language",[30,0,["title"]],[30,0,["showOriginal"]]]],null],[1,"\\n "]],[],false,["unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-localized-content-toggle.js",scope:()=>[o.default,l.default],isStrictMode:!0}),this))()}},3464:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(24698),n=i(4089),r=i(66530),a=i(13744),o=i(99538),l=i(15294),u=i(46386),d=i(72172),c=i(49604),p=i(57364),h=i(75443),m=i(9348),g=i(55888);class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"composer",[a.service]))();#t4=(()=>void dt7948.i(this,"composer"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"languageNameLookup",[a.service]))();#i7=(()=>void dt7948.i(this,"languageNameLookup"))();constructor(){super(...arguments),this.initializeFromSelectedLocale()}async initializeFromSelectedLocale(){if(this.composer.selectedTranslationLocale&&!this.composer.model.reply){let e=await this.findCurrentLocalization();e&&(this.composer.model.set("reply",e.raw),e?.topic_localization&&this.composer.model.set("title",e.topic_localization.title))}}async findCurrentLocalization(){try{let{post_localizations:e}=await c.default.find(this.composer.model.post.id);return e.find(e=>e.locale===this.composer.selectedTranslationLocale)}catch(e){(0,d.popupAjaxError)(e)}}get availableContentLocalizationLocales(){let e=this.composer.model?.post?.locale;return this.siteSettings.available_content_localization_locales.filter(t=>{let{value:i}=t;return i!==e}).map(e=>{let{value:t}=e;return{name:this.languageNameLookup.getLanguageName(t),value:t}})}handleInput(e){this.composer.model.set("reply",e.target.value)}static #a=(()=>dt7948.n(this.prototype,"handleInput",[r.action]))();async updateSelectedLocale(e){this.composer.selectedTranslationLocale=e;let t=await this.findCurrentLocalization();t?(this.composer.model.set("reply",t.raw),t?.topic_localization&&this.composer.model.set("title",t.topic_localization.title)):this.composer.model.setProperties({reply:"",title:""})}static #l=(()=>dt7948.n(this.prototype,"updateSelectedLocale",[r.action]))();static #d=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"wR0AB1BC",block:'[[[1,"\\n "],[10,0],[12],[1,"\\n "],[8,[32,0],[[24,0,"translation-selector-dropdown btn-small"]],[["@nameProperty","@valueProperty","@value","@content","@onChange","@options"],["name","value",[30,0,["composer","selectedTranslationLocale"]],[30,0,["availableContentLocalizationLocales"]],[30,0,["updateSelectedLocale"]],[28,[32,1],null,[["icon","showCaret","filterable","disabled","placement","translatedNone"],["globe",true,true,[30,0,["composer","loading"]],"bottom-start",[28,[32,2],["composer.translations.select"],null]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["composer","model","post","firstPost"]],[[[1," "],[10,0],[14,0,"topic-title-translator title-and-category with-preview"],[12],[1,"\\n "],[8,[32,3],null,[["@value","@id","@maxLength","@placeholder","@disabled","@autocomplete"],[[30,0,["composer","model","title"]],"translated-topic-title",[30,0,["siteSettings","max_topic_title_length"]],[30,0,["composer","model","topic","title"]],[30,0,["composer","loading"]],"off"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,4],[[24,0,"translation-editor"]],[["@value","@change","@placeholder","@forcePreview","@processPreview","@loading","@hijackPreview","@disabled","@onSetup","@disableSubmit","@topicId","@categoryId","@outletArgs"],[[28,[31,1],[[30,0,["composer","model","reply"]]],null],[30,0,["handleInput"]],"composer.translations.placeholder",true,false,[30,0,["composer","loading"]],[30,0,["composer","hijackPreview"]],[30,0,["composer","disableTextarea"]],[30,1],[30,0,["composer","disableSubmit"]],[30,0,["composer","model","topic","id"]],[30,0,["composer","model","category","id"]],[28,[32,5],null,[["composer","editorType"],[[30,0,["composer","model"]],"composer"]]]]],null],[1,"\\n "]],["@setupEditor"],false,["if","readonly"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post-translation-editor.js",scope:()=>[h.default,n.hash,p.i18n,l.default,o.default,u.default],isStrictMode:!0}),this))()}},3535:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(72825),n=i(15294);class r extends n.default{_init(){navigator.userAgent.includes("Chrome")?this.set("type","text"):this.set("type","password")}static #e=(()=>dt7948.n(this.prototype,"_init",[(0,s.on)("init")]))()}},3548:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(24698),n=i(40779),r=i(9348),a=i(58452),o=i(66530),l=i(41993),u=i(13177),d=i(58670),c=i(23286),p=i(71773),h=i(51261),m=i(57364),g=i(55888);class f extends s.default{_timeFormat=(()=>this.args.timeFormat||"HH:mm:ss")();_dateFormat=(()=>this.args.dateFormat||"YYYY-MM-DD")();_dateTimeFormat=(()=>this.args.dateTimeFormat||"YYYY-MM-DD HH:mm:ss")();_picker=null;static #e=(()=>dt7948.g(this.prototype,"_time",[n.tracked]))();#i9=(()=>void dt7948.i(this,"_time"))();static #i=(()=>dt7948.g(this.prototype,"_date",[n.tracked]))();#i5=(()=>void dt7948.i(this,"_date"))();setupInternalDateTime(){this._time=this.args.time,this._date=this.args.date}static #n=(()=>dt7948.n(this.prototype,"setupInternalDateTime",[o.action]))();setupPikaday(e){this.#i6(e).then(e=>{this._picker=e})}static #a=(()=>dt7948.n(this.prototype,"setupPikaday",[o.action]))();onChangeTime(e){this._time=e.target.value,this.args.onChangeTime(this._time)}static #l=(()=>dt7948.n(this.prototype,"onChangeTime",[o.action]))();changeDate(){moment(this.args.date,this._dateFormat).isValid()?(this._date=this.args.date,this._picker.setDate(moment.utc(this._date).format("YYYY/MM/DD"),!0)):(this._date=null,this._picker.setDate(null))}static #d=(()=>dt7948.n(this.prototype,"changeDate",[o.action]))();changeTime(){if((0,d.isEmpty)(this.args.time)){this._time=null;return}/^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/.test(this.args.time)&&(this._time=this.args.time)}static #p=(()=>dt7948.n(this.prototype,"changeTime",[o.action]))();changeMinDate(){this.args.minDate&&moment(this.args.minDate,this._dateFormat).isValid()?this._picker.setMinDate(moment(this.args.minDate,this._dateFormat).toDate()):this._picker.setMinDate(null)}static #m=(()=>dt7948.n(this.prototype,"changeMinDate",[o.action]))();#i6(e){return new c.Promise(t=>{(0,h.default)("/javascripts/pikaday.js").then(()=>{t(new Pikaday({field:e.querySelector(".fake-input"),container:e.querySelector(`#picker-container-${this.args.datePickerId}`),bound:!1,format:"YYYY-MM-DD",reposition:!1,firstDay:1,setDefaultDate:!0,keyboardInput:!1,i18n:{previousMonth:(0,m.i18n)("dates.previous_month"),nextMonth:(0,m.i18n)("dates.next_month"),months:moment.months(),weekdays:moment.weekdays(),weekdaysShort:moment.weekdaysMin()},onSelect:e=>{let t=moment(e).format("YYYY-MM-DD");this.args.onChangeDate(t)}}))})})}static #f=(()=>(0,r.setComponentTemplate)((0,g.createTemplateFactory)({id:"NgJmf3jB",block:'[[[1,"\\n "],[11,0],[24,0,"calendar-date-time-input"],[4,[32,0],[[30,0,["setupInternalDateTime"]]],null],[4,[32,0],[[30,0,["setupPikaday"]]],null],[4,[32,1],[[30,0,["changeMinDate"]],[30,1]],null],[4,[32,1],[[30,0,["changeDate"]],[30,2]],null],[4,[32,1],[[30,0,["changeTime"]],[30,3]],null],[12],[1,"\\n "],[8,[32,2],[[24,0,"fake-input"]],null,null],[1,"\\n\\n "],[10,0],[14,0,"date-picker"],[15,1,[29,["picker-container-",[30,4]]]],[12],[13],[1,"\\n\\n "],[10,0],[14,0,"time-pickers"],[12],[1,"\\n "],[1,[28,[32,3],["far-clock"],null]],[1,"\\n "],[8,[32,2],[[16,"maxlength",5],[24,"placeholder","hh:mm"],[24,0,"time-picker"],[4,[32,4],["input",[30,0,["onChangeTime"]]],null]],[["@type","@value"],["time",[30,0,["_time"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@minDate","@date","@time","@datePickerId"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/calendar-date-time-input.js",scope:()=>[l.default,u.default,r.Input,p.default,a.on],isStrictMode:!0}),this))()}},3583:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>k});var s=i(24698),n=i(40779),r=i(4089),a=i(58452),o=i(66530),l=i(13744),u=i(75054),d=i(11811),c=i(51031),p=i(13371),h=i(89561),m=i(48972),g=i(92067),f=i(89361),_=i(71773),y=i(2581),b=i(9348),w=i(55888);class k extends s.default{static #e=(()=>dt7948.g(this.prototype,"modal",[l.service]))();#tq=(()=>void dt7948.i(this,"modal"))();static #i=(()=>dt7948.g(this.prototype,"isCollapsed",[n.tracked],function(){return!1}))();#se=(()=>void dt7948.i(this,"isCollapsed"))();static #n=(()=>dt7948.g(this.prototype,"isLongPost",[n.tracked],function(){return!1}))();#st=(()=>void dt7948.i(this,"isLongPost"))();static #a=(()=>dt7948.g(this.prototype,"postBodyHeight",[n.tracked],function(){return 0}))();#si=(()=>void dt7948.i(this,"postBodyHeight"))();maxPostHeight=300;showRawEmail(e){e?.preventDefault(),this.modal.show(c.default,{model:{rawEmail:this.args.reviewable.payload.raw_email}})}static #l=(()=>dt7948.n(this.prototype,"showRawEmail",[o.action]))();toggleContent(){this.isCollapsed=!this.isCollapsed}static #d=(()=>dt7948.n(this.prototype,"toggleContent",[o.action]))();get collapseButtonProps(){return this.isCollapsed?{label:"review.show_more",icon:"chevron-down"}:{label:"review.show_less",icon:"chevron-up"}}setPostBodyHeight(e){this.postBodyHeight=e,this.postBodyHeight>this.maxPostHeight?(this.isCollapsed=!0,this.isLongPost=!0):(this.isCollapsed=!1,this.isLongPost=!1)}static #p=(()=>dt7948.n(this.prototype,"setPostBodyHeight",[o.action]))();static #m=(()=>(0,b.setComponentTemplate)((0,w.createTemplateFactory)({id:"WOTc+DkA",block:'[[[1,"\\n "],[8,[32,0],null,[["@reviewable","@tagName"],[[30,1],""]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"title-text"],[12],[1,"\\n "],[1,[28,[32,1],["square-plus"],[["title"],["review.new_topic"]]]],[1,"\\n "],[1,[28,[32,2],[[30,1,["payload","title"]],[30,1]],null]],[1,"\\n "],[13],[1,"\\n "],[1,[28,[32,3],[[30,1,["category"]]],null]],[1,"\\n "],[8,[32,4],null,[["@tags"],[[30,1,["payload","tags"]]]],null],[1,"\\n"],[41,[30,1,["payload","via_email"]],[[[1," "],[11,3],[24,6,""],[24,0,"show-raw-email"],[4,[32,5],["click",[30,0,["showRawEmail"]]],null],[12],[1,"\\n "],[1,[28,[32,1],["envelope"],[["title"],["post.via_email"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n\\n "],[10,0],[14,0,"post-contents-wrapper"],[12],[1,"\\n "],[8,[32,6],null,[["@user"],[[30,1,["target_created_by"]]]],null],[1,"\\n\\n "],[10,0],[14,0,"post-contents"],[12],[1,"\\n "],[8,[32,7],null,[["@reviewable","@createdBy","@tagName"],[[30,1],[30,1,["target_created_by"]],""]],null],[1,"\\n\\n "],[8,[32,8],[[16,0,[29,["post-body ",[52,[30,0,["isCollapsed"]],"is-collapsed"]]]]],[["@rawText","@categoryId","@topicId","@paintOneboxes","@opts","@onOffsetHeightCalculated"],[[28,[32,2],[[30,1,["payload","raw"]],[30,1]],null],[30,1,["category_id"]],[30,1,["topic_id"]],true,[28,[32,9],null,[["removeMissing"],[true]]],[30,0,["setPostBodyHeight"]]]],null],[1,"\\n\\n"],[41,[30,0,["isLongPost"]],[[[1," "],[8,[32,10],[[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,"\\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-queued-post.js",scope:()=>[g.default,_.default,y.default,f.default,m.default,a.on,p.default,h.default,u.default,r.hash,d.default],isStrictMode:!0}),this))()}},3675:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(96675),n=i(28383),r=i(71773),a=i(18965),o=i(57364),l=i(9348),u=i(55888),d=i(74975);let c=(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"Ne1d3m4F",block:'[[[1,"\\n "],[8,[32,0],null,[["@title","@body"],[[28,[32,1],["user.no_messages_title"],null],[28,[32,2],[[28,[32,1],["user.no_messages_body"],[["icon","aboutUrl"],[[28,[32,3],["envelope"],null],[28,[32,4],["/about"],null]]]]],null]]],null],[1,"\\n"]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-menu/messages-list-empty-state.js",scope:()=>[n.default,o.i18n,s.htmlSafe,r.default,a.default],isStrictMode:!0}),(0,d.default)(void 0,"messages-list-empty-state:MessagesListEmptyState"))},3953:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(1848),n=i(63676),r=i.n(n),a=i(59717),o=i.n(a),l=i(24097),u=i(9348),d=i(55888);let c=dt7948.c(class extends l.default{static #e=(()=>(0,u.setComponentTemplate)((0,d.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")])},4015:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(90098),n=i(11811),r=i(3365),a=i(57364),o=i(9348),l=i(55888),u=i(74975);let d=(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)))},4032:function(e,t,i){!function(e,t){t(i(4387))}(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("km",{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 ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%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]})},week:{dow:1,doy:4}})})},4036:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(90831),n=i(25670),r=i(6897),a=i(9348),o=i(55888),l=i(74975);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"))},4043:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(9348),n=i(4089),r=i(66530),a=i(36768),o=i(1848),l=i(6827),u=i(2808),d=i(55888);let c=dt7948.c(class extends s.default{uppyUpload=(()=>new u.default((0,a.getOwner)(this),{id:"create-invite-uploader",type:"csv",autoStartUploads:!1,uploadUrl:"/invites/upload_csv",preventDirectS3Uploads:!0,validateUploadedFilesOptions:{bypassNewUserRestriction:!0,csvOnly:!0},uploadDone:()=>{this.set("uploaded",!0)}}))();submitDisabled(e,t){return!e||t}static #e=(()=>dt7948.n(this.prototype,"submitDisabled",[(0,l.default)("uppyUpload.filesAwaitingUpload","uppyUpload.uploading")]))();startUpload(){this.uppyUpload.startUpload()}static #i=(()=>dt7948.n(this.prototype,"startUpload",[r.action]))();static #n=(()=>(0,s.setComponentTemplate)((0,d.createTemplateFactory)({id:"Qewrhljr",block:'[[[1,"\\n "],[18,1,[[28,[32,0],null,[["data","uploading","uploadProgress","uploaded","submitDisabled","startUpload"],[[30,0,["data"]],[30,0,["uploading"]],[30,0,["uploadProgress"]],[30,0,["uploaded"]],[30,0,["submitDisabled"]],[30,0,["startUpload"]]]]],[30,0,["uppyUpload","setup"]]]],[1,"\\n "]],["&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/create-invite-uploader.js",scope:()=>[n.hash],isStrictMode:!0}),this))()},[(0,o.tagName)("div")])},4089:(e,t,i)=>{"use strict";i.r(t),i.d(t,{array:()=>d,capabilities:()=>a,concat:()=>c,fn:()=>h,get:()=>p,hash:()=>u,invokeHelper:()=>l,setHelperManager:()=>o,uniqueId:()=>m});var s=i(184),n=i(96131);i(12023);var r=i(56625);i(54048),i(23260),i(45916),i(16226),i(4837);let a=s.helperCapabilities,o=s.setHelperManager,l=n.invokeHelper,u=n.hash,d=n.array,c=n.concat,p=n.get,h=n.fn,m=r.u},4104:(e,t,i)=>{"use strict";i.r(t),i.d(t,{assert:()=>s,setAssert:()=>n});let s=()=>{};function n(e){return s=e,e}},4108:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(24698),n=i(71773),r=i(3327),a=i(9348),o=i(55888);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))()}},4118:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s={initialize(e){e.lookup("service:client-error-handler"),e.lookup("service:deprecation-warning-handler")}}},4170:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addTopicParticipantClassesCallback:()=>g,default:()=>f});var s=i(24698),n=i(96675),r=i(90831),a=i(79401),o=i(53710),l=i(66296),u=i(46386),d=i(80404),c=i(86232),p=i(9348),h=i(55888);let m=[];function g(e){m.push(e)}class f extends s.default{get avatarImage(){return(0,n.htmlSafe)((0,d.avatarImg)({avatarTemplate:this.args.participant.avatar_template,size:"medium",title:this.args.participant.name||this.args.participant.username}))}get participantClasses(){let{primary_group_name:e}=this.args.participant;return[e?`group-${e}`:null,m.map(e=>e(this.args.participant))].filter(Boolean).flat(3).join(" ")}get linkClasses(){return["poster","trigger-user-card",this.args.toggledUsers?.has(this.args.participant.username)?"toggled":null].filter(Boolean).join(" ")}get userUrl(){return(0,c.userPath)(this.args.participant.username)}static #e=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"ARfHgeZD",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["topic-participant",[28,[32,1],null,[["participant"],[[30,1]]]]]],[["default"],[[[[1,"\\n "],[10,0],[15,0,[30,0,["participantClasses"]]],[12],[1,"\\n "],[8,[32,2],[[16,0,[30,0,["linkClasses"]]],[16,"title",[30,1,["username"]]]],[["@username","@href"],[[30,1,["username"]],[30,0,["userUrl"]]]],[["default"],[[[[1,"\\n\\n "],[1,[30,0,["avatarImage"]]],[1,"\\n"],[41,[28,[32,3],[[30,1,["post_count"]],1],null],[[[1," "],[10,1],[14,0,"post-count"],[12],[1,[30,1,["post_count"]]],[13],[1,"\\n"]],[]],null],[1," "],[8,[32,4],null,[["@user"],[[30,1]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@participant"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-map/topic-participant.js",scope:()=>[a.default,u.default,l.default,r.gt,o.default],isStrictMode:!0}),this))()}},4175:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(12433);function n(e){return Object.assign({},(0,s.A)(),e)}},4245:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=[{handler:"silence",matchId:"template-action"},{handler:"silence",matchId:"deprecate-array-prototype-extensions"},{handler:"silence",matchId:"discourse.select-kit"},{handler:"silence",matchId:"discourse.decorate-widget.hamburger-widget-links"}]},4255:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(36768),n=i(72825),r=i(30587),a=i.n(r),o=i(15294),l=i(6827),u=i(44325),d=i(57364);class c extends o.default{autocomplete="off";enterkeyhint="search";placeholder(e){return e?"":(0,d.i18n)("search.full_page_title")}static #e=(()=>dt7948.n(this.prototype,"placeholder",[(0,l.default)("searchService.searchContextEnabled")]))();becomeFocused(){(0,u.applySearchAutocomplete)(this.element,this.siteSettings,(0,s.getOwner)(this));let e=a()(this.element);this.hasAutofocus&&(a()(window).scrollTop(0),e.focus())}static #i=(()=>dt7948.n(this.prototype,"becomeFocused",[(0,n.on)("didInsertElement")]))()}},4309:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>function e(t,i){if(t===i)return 0;let n=(0,s.default)(t),l=(0,s.default)(i);if("instance"===n&&o(t)&&t.constructor.compare)return t.constructor.compare(t,i);if("instance"===l&&o(i)&&i.constructor.compare)return -1*i.constructor.compare(i,t);let u=a(r[n],r[l]);if(0!==u)return u;switch(n){case"boolean":return a(Number(t),Number(i));case"number":return a(t,i);case"string":return a(t.localeCompare(i),0);case"array":{let s=t.length,n=i.length,r=Math.min(s,n);for(let s=0;s>>0;for(t=0;t0)for(i=0;i=0?i?"+":"":"-")+Math.pow(10,Math.max(0,t-s.length)).toString().substr(1)+s}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},N={};function O(e,t,i,s){var n=s;"string"==typeof s&&(n=function(){return this[s]()}),e&&(N[e]=n),t&&(N[t[0]]=function(){return L(n.apply(this,arguments),t[1],t[2])}),i&&(N[i]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function j(e,t){return e.isValid()?(I[t=R(t,e.localeData())]=I[t]||function(e){var t,i,s=e.match(P);for(t=0,i=s.length;t=0&&F.test(e);)e=e.replace(F,s),F.lastIndex=0,i-=1;return e}var U={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function B(e){return"string"==typeof e?U[e]||U[e.toLowerCase()]:void 0}function H(e){var t,i,s={};for(i in e)r(e,i)&&(t=B(i))&&(s[t]=e[i]);return s}var Y,q,$,z={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},V=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)r(e,t)&&i.push(t);return i},W=/\d/,K=/\d\d/,G=/\d{3}/,J=/\d{4}/,Q=/[+-]?\d{6}/,X=/\d\d?/,Z=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,et=/\d{1,3}/,ei=/\d{1,4}/,es=/[+-]?\d{1,6}/,en=/\d+/,er=/[+-]?\d+/,ea=/Z|[+-]\d\d:?\d\d/gi,eo=/Z|[+-]\d\d(?::?\d\d)?/gi,el=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,eu=/^[1-9]\d?/,ed=/^([1-9]\d|\d)/;function ec(e,t,i){$[e]=M(t)?t:function(e,s){return e&&i?i:t}}function ep(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function eh(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function em(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=eh(t)),i}$={};var eg={};function ef(e,t){var i,s,n=t;for("string"==typeof e&&(e=[e]),l(t)&&(n=function(e,i){i[t]=em(e)}),s=e.length,i=0;i68?1900:2e3)};var ev=ew("FullYear",!0);function ew(e,i){return function(s){return null!=s?(eT(this,e,s),t.updateOffset(this,i),this):ek(this,e)}}function ek(e,t){if(!e.isValid())return NaN;var i=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?i.getUTCMilliseconds():i.getMilliseconds();case"Seconds":return s?i.getUTCSeconds():i.getSeconds();case"Minutes":return s?i.getUTCMinutes():i.getMinutes();case"Hours":return s?i.getUTCHours():i.getHours();case"Date":return s?i.getUTCDate():i.getDate();case"Day":return s?i.getUTCDay():i.getDay();case"Month":return s?i.getUTCMonth():i.getMonth();case"FullYear":return s?i.getUTCFullYear():i.getFullYear();default:return NaN}}function eT(e,t,i){var s,n,r,a;if(!(!e.isValid()||isNaN(i))){switch(s=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?s.setUTCMilliseconds(i):s.setMilliseconds(i));case"Seconds":return void(n?s.setUTCSeconds(i):s.setSeconds(i));case"Minutes":return void(n?s.setUTCMinutes(i):s.setMinutes(i));case"Hours":return void(n?s.setUTCHours(i):s.setHours(i));case"Date":return void(n?s.setUTCDate(i):s.setDate(i));case"FullYear":break;default:return}r=e.month(),a=29!==(a=e.date())||1!==r||ey(i)?a:28,n?s.setUTCFullYear(i,r,a):s.setFullYear(i,r,a)}}function eS(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=function(e,t){return(e%12+12)%t}(t,12);return e+=(t-i)/12,1===i?ey(e)?29:28:31-i%7%2}e$=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?isFinite((o=new Date(e+400,t,i,s,n,r,a)).getFullYear())&&o.setFullYear(e):o=new Date(e,t,i,s,n,r,a),o}function eP(e){var t,i;return e<100&&e>=0?(i=Array.prototype.slice.call(arguments),i[0]=e+400,isFinite((t=new Date(Date.UTC.apply(null,i))).getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function eF(e,t,i){var s=7+t-i;return-((7+eP(e,0,s).getUTCDay()-t)%7)+s-1}function eI(e,t,i,s,n){var r,a,o=1+7*(t-1)+(7+i-s)%7+eF(e,s,n);return o<=0?a=eb(r=e-1)+o:o>eb(e)?(r=e+1,a=o-eb(e)):(r=e,a=o),{year:r,dayOfYear:a}}function eN(e,t,i){var s,n,r=eF(e.year(),t,i),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+eO(n=e.year()-1,t,i):a>eO(e.year(),t,i)?(s=a-eO(e.year(),t,i),n=e.year()+1):(n=e.year(),s=a),{week:s,year:n}}function eO(e,t,i){var s=eF(e,t,i),n=eF(e+1,t,i);return(eb(e)-s+n)/7}function ej(e,t){return e.slice(t,7).concat(e.slice(0,t))}O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),ec("w",X,eu),ec("ww",X,K),ec("W",X,eu),ec("WW",X,K),e_(["w","ww","W","WW"],function(e,t,i,s){t[s.substr(0,1)]=em(e)}),O("d",0,"do","day"),O("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),O("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),O("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),ec("d",X),ec("e",X),ec("E",X),ec("dd",function(e,t){return t.weekdaysMinRegex(e)}),ec("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ec("dddd",function(e,t){return t.weekdaysRegex(e)}),e_(["dd","ddd","dddd"],function(e,t,i,s){var n=i._locale.weekdaysParse(e,s,i._strict);null!=n?t.d=n:h(i).invalidWeekday=e}),e_(["d","e","E"],function(e,t,i,s){t[s]=em(e)});var eR="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function eU(e,t,i){var s,n,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(s=0,this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];s<7;++s)r=p([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();if(i)if("dddd"===t)return -1!==(n=e$.call(this._weekdaysParse,a))?n:null;else if("ddd"===t)return -1!==(n=e$.call(this._shortWeekdaysParse,a))?n:null;else return -1!==(n=e$.call(this._minWeekdaysParse,a))?n:null;return"dddd"===t?-1!==(n=e$.call(this._weekdaysParse,a))||-1!==(n=e$.call(this._shortWeekdaysParse,a))||-1!==(n=e$.call(this._minWeekdaysParse,a))?n:null:"ddd"===t?-1!==(n=e$.call(this._shortWeekdaysParse,a))||-1!==(n=e$.call(this._weekdaysParse,a))||-1!==(n=e$.call(this._minWeekdaysParse,a))?n:null:-1!==(n=e$.call(this._minWeekdaysParse,a))||-1!==(n=e$.call(this._weekdaysParse,a))||-1!==(n=e$.call(this._shortWeekdaysParse,a))?n:null}function eB(){function e(e,t){return t.length-e.length}var t,i,s,n,r,a=[],o=[],l=[],u=[];for(t=0;t<7;t++)i=p([2e3,1]).day(t),s=ep(this.weekdaysMin(i,"")),n=ep(this.weekdaysShort(i,"")),r=ep(this.weekdays(i,"")),a.push(s),o.push(n),l.push(r),u.push(s),u.push(n),u.push(r);a.sort(e),o.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+a.join("|")+")","i")}function eH(){return this.hours()%12||12}function eY(e,t){O(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function eq(e,t){return t._meridiemParse}O("H",["HH",2],0,"hour"),O("h",["hh",2],0,eH),O("k",["kk",2],0,function(){return this.hours()||24}),O("hmm",0,0,function(){return""+eH.apply(this)+L(this.minutes(),2)}),O("hmmss",0,0,function(){return""+eH.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)}),O("Hmm",0,0,function(){return""+this.hours()+L(this.minutes(),2)}),O("Hmmss",0,0,function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)}),eY("a",!0),eY("A",!1),ec("a",eq),ec("A",eq),ec("H",X,ed),ec("h",X,eu),ec("k",X,eu),ec("HH",X,K),ec("hh",X,K),ec("kk",X,K),ec("hmm",Z),ec("hmmss",ee),ec("Hmm",Z),ec("Hmmss",ee),ef(["H","HH"],3),ef(["k","kk"],function(e,t,i){var s=em(e);t[3]=24===s?0:s}),ef(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),ef(["h","hh"],function(e,t,i){t[3]=em(e),h(i).bigHour=!0}),ef("hmm",function(e,t,i){var s=e.length-2;t[3]=em(e.substr(0,s)),t[4]=em(e.substr(s)),h(i).bigHour=!0}),ef("hmmss",function(e,t,i){var s=e.length-4,n=e.length-2;t[3]=em(e.substr(0,s)),t[4]=em(e.substr(s,2)),t[5]=em(e.substr(n)),h(i).bigHour=!0}),ef("Hmm",function(e,t,i){var s=e.length-2;t[3]=em(e.substr(0,s)),t[4]=em(e.substr(s))}),ef("Hmmss",function(e,t,i){var s=e.length-4,n=e.length-2;t[3]=em(e.substr(0,s)),t[4]=em(e.substr(s,2)),t[5]=em(e.substr(n))});var e$,ez,eV=ew("Hours",!0),eW={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:eC,week:{dow:0,doy:6},weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysShort:eR,meridiemParse:/[ap]\.?m?\.?/i},eK={},eG={};function eJ(e){return e?e.toLowerCase().replace("_","-"):e}function eQ(t){var s=null;if(void 0===eK[t]&&e&&e.exports&&function(e){return!!(e&&e.match("^[^/\\\\]*$"))}(t))try{s=ez._abbr,i(27416)("./"+t),eX(s)}catch(e){eK[t]=null}return eK[t]}function eX(e,t){var i;return e&&((i=o(t)?e1(e):eZ(e,t))?ez=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ez._abbr}function eZ(e,t){if(null===t)return delete eK[e],null;var i,s=eW;if(t.abbr=e,null!=eK[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=eK[e]._config;else if(null!=t.parentLocale)if(null!=eK[t.parentLocale])s=eK[t.parentLocale]._config;else{if(null==(i=eQ(t.parentLocale)))return eG[t.parentLocale]||(eG[t.parentLocale]=[]),eG[t.parentLocale].push({name:e,config:t}),null;s=i._config}return eK[e]=new E(x(s,t)),eG[e]&&eG[e].forEach(function(e){eZ(e.name,e.config)}),eX(e),eK[e]}function e1(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ez;if(!s(e)){if(t=eQ(e))return t;e=[e]}return function(e){for(var t,i,s,n,r=0;r0;){if(s=eQ(n.slice(0,t).join("-")))return s;if(i&&i.length>=t&&function(e,t){var i,s=Math.min(e.length,t.length);for(i=0;i=t-1)break;t--}r++}return ez}(e)}function e0(e){var t,i=e._a;return i&&-2===h(e).overflow&&(t=i[1]<0||i[1]>11?1:i[2]<1||i[2]>eS(i[0],i[1])?2:i[3]<0||i[3]>24||24===i[3]&&(0!==i[4]||0!==i[5]||0!==i[6])?3:i[4]<0||i[4]>59?4:i[5]<0||i[5]>59?5:i[6]<0||i[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}var e3=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e2=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e8=/Z|[+-]\d\d(?::?\d\d)?/,e4=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],e7=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],e9=/^\/?Date\((-?\d+)/i,e5=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,e6={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function te(e){var t,i,s,n,r,a,o=e._i,l=e3.exec(o)||e2.exec(o),u=e4.length,d=e7.length;if(l){for(t=0,h(e).iso=!0,i=u;t7)&&(l=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,u=eN(to(),r,a),i=ti(t.gg,e._a[0],u.year),s=ti(t.w,u.week),null!=t.d?((n=t.d)<0||n>6)&&(l=!0):null!=t.e?(n=t.e+r,(t.e<0||t.e>6)&&(l=!0)):n=r),s<1||s>eO(i,r,a)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(o=eI(i,s,n,r,a),e._a[0]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(a=ti(e._a[0],n[0]),(e._dayOfYear>eb(a)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),s=eP(a,0,e._dayOfYear),e._a[1]=s.getUTCMonth(),e._a[2]=s.getUTCDate()),i=0;i<3&&null==e._a[i];++i)e._a[i]=o[i]=n[i];for(;i<7;i++)e._a[i]=o[i]=null==e._a[i]?+(2===i):e._a[i];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?eP:eL).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(h(e).weekdayMismatch=!0)}}function tn(e){if(e._f===t.ISO_8601)return void te(e);if(e._f===t.RFC_2822)return void tt(e);e._a=[],h(e).empty=!0;var i,s,n,a,o,l,u,d=""+e._i,c=d.length,p=0;for(i=0,u=(n=R(e._f,e._locale).match(P)||[]).length;i0&&h(e).unusedInput.push(o),d=d.slice(d.indexOf(s)+s.length),p+=s.length),N[a]?(s?h(e).empty=!1:h(e).unusedTokens.push(a),function(e,t,i){null!=t&&r(eg,e)&&eg[e](t,i._a,i,e)}(a,s,e)):e._strict&&!s&&h(e).unusedTokens.push(a);h(e).charsLeftOver=c-p,d.length>0&&h(e).unusedInput.push(d),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,i){var s;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):(null!=e.isPM&&((s=e.isPM(i))&&t<12&&(t+=12),s||12!==t||(t=0)),t)}(e._locale,e._a[3],e._meridiem),null!==(l=h(e).era)&&(e._a[0]=e._locale.erasConvertYear(l,e._a[0])),ts(e),e0(e)}function tr(e){var i=e._i,r=e._f;return(e._locale=e._locale||e1(e._l),null===i||void 0===r&&""===i)?g({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),T(i))?new k(e0(i)):(u(i)?e._d=i:s(r)?!function(e){var t,i,s,n,r,a,o=!1,l=e._f.length;if(0===l){h(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;nthis?this:e:g()});function td(e,t){var i,n;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return to();for(n=1,i=t[0];n=0?new Date(e+400,t,i)-126227808e5:new Date(e,t,i).valueOf()}function tj(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-126227808e5:Date.UTC(e,t,i)}function tR(e,t){return t.erasAbbrRegex(e)}function tU(){var e,t,i,s,n,r=[],a=[],o=[],l=[],u=this.eras();for(e=0,t=u.length;e(r=eO(e,s,n))&&(t=r),tY.call(this,e,t,i,s,n))}function tY(e,t,i,s,n){var r=eI(e,t,i,s,n),a=eP(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}O("N",0,0,"eraAbbr"),O("NN",0,0,"eraAbbr"),O("NNN",0,0,"eraAbbr"),O("NNNN",0,0,"eraName"),O("NNNNN",0,0,"eraNarrow"),O("y",["y",1],"yo","eraYear"),O("y",["yy",2],0,"eraYear"),O("y",["yyy",3],0,"eraYear"),O("y",["yyyy",4],0,"eraYear"),ec("N",tR),ec("NN",tR),ec("NNN",tR),ec("NNNN",function(e,t){return t.erasNameRegex(e)}),ec("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ef(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,s){var n=i._locale.erasParse(e,s,i._strict);n?h(i).era=n:h(i).invalidEra=e}),ec("y",en),ec("yy",en),ec("yyy",en),ec("yyyy",en),ec("yo",function(e,t){return t._eraYearOrdinalRegex||en}),ef(["y","yy","yyy","yyyy"],0),ef(["yo"],function(e,t,i,s){var n;i._locale._eraYearOrdinalRegex&&(n=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[0]=i._locale.eraYearOrdinalParse(e,n):t[0]=parseInt(e,10)}),O(0,["gg",2],0,function(){return this.weekYear()%100}),O(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tB("gggg","weekYear"),tB("ggggg","weekYear"),tB("GGGG","isoWeekYear"),tB("GGGGG","isoWeekYear"),ec("G",er),ec("g",er),ec("GG",X,K),ec("gg",X,K),ec("GGGG",ei,J),ec("gggg",ei,J),ec("GGGGG",es,Q),ec("ggggg",es,Q),e_(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,s){t[s.substr(0,2)]=em(e)}),e_(["gg","GG"],function(e,i,s,n){i[n]=t.parseTwoDigitYear(e)}),O("Q",0,"Qo","quarter"),ec("Q",W),ef("Q",function(e,t){t[1]=(em(e)-1)*3}),O("D",["DD",2],"Do","date"),ec("D",X,eu),ec("DD",X,K),ec("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ef(["D","DD"],2),ef("Do",function(e,t){t[2]=em(e.match(X)[0])});var tq=ew("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),ec("DDD",et),ec("DDDD",G),ef(["DDD","DDDD"],function(e,t,i){i._dayOfYear=em(e)}),O("m",["mm",2],0,"minute"),ec("m",X,ed),ec("mm",X,K),ef(["m","mm"],4);var t$=ew("Minutes",!1);O("s",["ss",2],0,"second"),ec("s",X,ed),ec("ss",X,K),ef(["s","ss"],5);var tz=ew("Seconds",!1);for(O("S",0,0,function(){return~~(this.millisecond()/100)}),O(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,function(){return 10*this.millisecond()}),O(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),O(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),O(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),O(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),O(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),ec("S",et,W),ec("SS",et,K),ec("SSS",et,G),f="SSSS";f.length<=9;f+="S")ec(f,en);function tV(e,t){t[6]=em(("0."+e)*1e3)}for(f="S";f.length<=9;f+="S")ef(f,tV);_=ew("Milliseconds",!1),O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");var tW=k.prototype;function tK(e){return e}tW.add=tM,tW.calendar=function(e,i){1==arguments.length&&(arguments[0]?function(e){return T(e)||u(e)||tE(e)||l(e)||function(e){var t=s(e),i=!1;return t&&(i=0===e.filter(function(t){return!l(t)&&tE(e)}).length),t&&i}(e)||function(e){var t,i,s=n(e)&&!a(e),o=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=l.length;for(t=0;ti.valueOf():i.valueOf()i.year()||i.year()>9999)return j(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ");if(M(Date.prototype.toISOString))if(t)return this.toDate().toISOString();else return new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",j(i,"Z"));return j(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},tW.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,i,s="moment",n="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+s+'("]',t=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY",i=n+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+i)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(tW[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),tW.toJSON=function(){return this.isValid()?this.toISOString():null},tW.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},tW.unix=function(){return Math.floor(this.valueOf()/1e3)},tW.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},tW.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},tW.eraName=function(){var e,t,i,s=this.localeData().eras();for(e=0,t=s.length;eMath.abs(e)&&!s&&(e*=60);return!this._isUTC&&i&&(n=tb(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!i||this._changeInProgress?tD(this,tT(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this},tW.utc=function(e){return this.utcOffset(0,e)},tW.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(tb(this),"m")),this},tW.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=t_(ea,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},tW.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?to(e).utcOffset():0,(this.utcOffset()-e)%60==0)},tW.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},tW.isLocal=function(){return!!this.isValid()&&!this._isUTC},tW.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},tW.isUtc=tv,tW.isUTC=tv,tW.zoneAbbr=function(){return this._isUTC?"UTC":""},tW.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},tW.dates=C("dates accessor is deprecated. Use date instead.",tq),tW.months=C("months accessor is deprecated. Use month instead",ex),tW.years=C("years accessor is deprecated. Use year instead",ev),tW.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),tW.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=tr(t))._a?(e=t._isUTC?p(t._a):to(t._a),this._isDSTShifted=this.isValid()&&function(e,t,i){var s,n=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;s0):this._isDSTShifted=!1,this._isDSTShifted});var tG=E.prototype;function tJ(e,t,i,s){var n=e1(),r=p().set(s,t);return n[i](r,e)}function tQ(e,t,i){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return tJ(e,t,i,"month");var s,n=[];for(s=0;s<12;s++)n[s]=tJ(e,s,i,"month");return n}function tX(e,t,i,s){"boolean"==typeof e||(i=t=e,e=!1),l(t)&&(i=t,t=void 0),t=t||"";var n,r=e1(),a=e?r._week.dow:0,o=[];if(null!=i)return tJ(t,(i+a)%7,s,"day");for(n=0;n<7;n++)o[n]=tJ(t,(n+a)%7,s,"day");return o}tG.calendar=function(e,t,i){var s=this._calendar[e]||this._calendar.sameElse;return M(s)?s.call(t,i):s},tG.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(P).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},tG.invalidDate=function(){return this._invalidDate},tG.ordinal=function(e){return this._ordinal.replace("%d",e)},tG.preparse=tK,tG.postformat=tK,tG.relativeTime=function(e,t,i,s){var n=this._relativeTime[i];return M(n)?n(e,t,i,s):n.replace(/%d/i,e)},tG.pastFuture=function(e,t){var i=this._relativeTime[e>0?"future":"past"];return M(i)?i(t):i.replace(/%s/i,t)},tG.set=function(e){var t,i;for(i in e)r(e,i)&&(M(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},tG.eras=function(e,i){var s,n,r,a=this._eras||e1("en")._eras;for(s=0,n=a.length;s=0)return l[s]},tG.erasConvertYear=function(e,i){var s=e.since<=e.until?1:-1;return void 0===i?t(e.since).year():t(e.since).year()+(i-e.offset)*s},tG.erasAbbrRegex=function(e){return r(this,"_erasAbbrRegex")||tU.call(this),e?this._erasAbbrRegex:this._erasRegex},tG.erasNameRegex=function(e){return r(this,"_erasNameRegex")||tU.call(this),e?this._erasNameRegex:this._erasRegex},tG.erasNarrowRegex=function(e){return r(this,"_erasNarrowRegex")||tU.call(this),e?this._erasNarrowRegex:this._erasRegex},tG.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||eA).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},tG.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[eA.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},tG.monthsParse=function(e,t,i){var s,n,r;if(this._monthsParseExact)return eD.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(n=p([2e3,s]),i&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),i||this._monthsParse[s]||(r="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=RegExp(r.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(i&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!i&&this._monthsParse[s].test(e))return s}},tG.monthsRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||eE.call(this),e)?this._monthsStrictRegex:this._monthsRegex:(r(this,"_monthsRegex")||(this._monthsRegex=el),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},tG.monthsShortRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||eE.call(this),e)?this._monthsShortStrictRegex:this._monthsShortRegex:(r(this,"_monthsShortRegex")||(this._monthsShortRegex=el),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},tG.week=function(e){return eN(e,this._week.dow,this._week.doy).week},tG.firstDayOfYear=function(){return this._week.doy},tG.firstDayOfWeek=function(){return this._week.dow},tG.weekdays=function(e,t){var i=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?ej(i,this._week.dow):e?i[e.day()]:i},tG.weekdaysMin=function(e){return!0===e?ej(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},tG.weekdaysShort=function(e){return!0===e?ej(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},tG.weekdaysParse=function(e,t,i){var s,n,r;if(this._weekdaysParseExact)return eU.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=p([2e3,1]).day(s),i&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[s]=RegExp(r.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(i&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(i&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;else if(!i&&this._weekdaysParse[s].test(e))return s}},tG.weekdaysRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||eB.call(this),e)?this._weekdaysStrictRegex:this._weekdaysRegex:(r(this,"_weekdaysRegex")||(this._weekdaysRegex=el),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},tG.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||eB.call(this),e)?this._weekdaysShortStrictRegex:this._weekdaysShortRegex:(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=el),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},tG.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||eB.call(this),e)?this._weekdaysMinStrictRegex:this._weekdaysMinRegex:(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=el),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},tG.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},tG.meridiem=function(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"},eX("en",{eras:[{since:"0001-01-01",until:Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,i=1===em(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+i}}),t.lang=C("moment.lang is deprecated. Use moment.locale instead.",eX),t.langData=C("moment.langData is deprecated. Use moment.localeData instead.",e1);var tZ=Math.abs;function t1(e,t,i,s){var n=tT(t,i);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n._months,e._bubble()}function t0(e){return e<0?Math.floor(e):Math.ceil(e)}function t3(e){return 4800*e/146097}function t2(e){return 146097*e/4800}function t8(e){return function(){return this.as(e)}}var t4=t8("ms"),t7=t8("s"),t9=t8("m"),t5=t8("h"),t6=t8("d"),ie=t8("w"),it=t8("M"),ii=t8("Q"),is=t8("y");function ir(e){return function(){return this.isValid()?this._data[e]:NaN}}var ia=ir("milliseconds"),io=ir("seconds"),il=ir("minutes"),iu=ir("hours"),id=ir("days"),ic=ir("months"),ip=ir("years"),ih=Math.round,im={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ig(e,t,i,s,n){return n.relativeTime(t||1,!!i,e,s)}var i_=Math.abs;function iy(e){return(e>0)-(e<0)||+e}function ib(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i,s,n,r,a,o,l=i_(this._milliseconds)/1e3,u=i_(this._days),d=i_(this._months),c=this.asSeconds();return c?(e=eh(l/60),t=eh(e/60),l%=60,e%=60,i=eh(d/12),d%=12,s=l?l.toFixed(3).replace(/\.?0+$/,""):"",n=c<0?"-":"",r=iy(this._months)!==iy(c)?"-":"",a=iy(this._days)!==iy(c)?"-":"",o=iy(this._milliseconds)!==iy(c)?"-":"",n+"P"+(i?r+i+"Y":"")+(d?r+d+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+s+"S":"")):"P0D"}var iv=tp.prototype;return iv.isValid=function(){return this._isValid},iv.abs=function(){var e=this._data;return this._milliseconds=tZ(this._milliseconds),this._days=tZ(this._days),this._months=tZ(this._months),e.milliseconds=tZ(e.milliseconds),e.seconds=tZ(e.seconds),e.minutes=tZ(e.minutes),e.hours=tZ(e.hours),e.months=tZ(e.months),e.years=tZ(e.years),this},iv.add=function(e,t){return t1(this,e,t,1)},iv.subtract=function(e,t){return t1(this,e,t,-1)},iv.as=function(e){if(!this.isValid())return NaN;var t,i,s=this._milliseconds;if("month"===(e=B(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,i=this._months+t3(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(t2(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw Error("Unknown unit "+e)}},iv.asMilliseconds=t4,iv.asSeconds=t7,iv.asMinutes=t9,iv.asHours=t5,iv.asDays=t6,iv.asWeeks=ie,iv.asMonths=it,iv.asQuarters=ii,iv.asYears=is,iv.valueOf=t4,iv._bubble=function(){var e,t,i,s,n,r=this._milliseconds,a=this._days,o=this._months,l=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*t0(t2(o)+a),a=0,o=0),l.milliseconds=r%1e3,l.seconds=(e=eh(r/1e3))%60,l.minutes=(t=eh(e/60))%60,l.hours=(i=eh(t/60))%24,a+=eh(i/24),o+=n=eh(t3(a)),a-=t0(t2(n)),s=eh(o/12),o%=12,l.days=a,l.months=o,l.years=s,this},iv.clone=function(){return tT(this)},iv.get=function(e){return e=B(e),this.isValid()?this[e+"s"]():NaN},iv.milliseconds=ia,iv.seconds=io,iv.minutes=il,iv.hours=iu,iv.days=id,iv.weeks=function(){return eh(this.days()/7)},iv.months=ic,iv.years=ip,iv.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var i,s,n=!1,r=im;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},im,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),s=function(e,t,i,s){var n=tT(e).abs(),r=ih(n.as("s")),a=ih(n.as("m")),o=ih(n.as("h")),l=ih(n.as("d")),u=ih(n.as("M")),d=ih(n.as("w")),c=ih(n.as("y")),p=r<=i.ss&&["s",r]||r0,p[4]=s,ig.apply(null,p)}(this,!n,r,i=this.localeData()),n&&(s=i.pastFuture(+this,s)),i.postformat(s)},iv.toISOString=ib,iv.toString=ib,iv.toJSON=ib,iv.locale=tP,iv.localeData=tI,iv.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ib),iv.lang=tF,O("X",0,0,"unix"),O("x",0,0,"valueOf"),ec("x",er),ec("X",/[+-]?\d+(\.\d{1,3})?/),ef("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),ef("x",function(e,t,i){i._d=new Date(em(e))}),t.version="2.30.1",!function(e){Y=e}(to),t.fn=tW,t.min=function(){var e=[].slice.call(arguments,0);return td("isBefore",e)},t.max=function(){var e=[].slice.call(arguments,0);return td("isAfter",e)},t.now=function(){return Date.now?Date.now():+new Date},t.utc=p,t.unix=function(e){return to(1e3*e)},t.months=function(e,t){return tQ(e,t,"months")},t.isDate=u,t.locale=eX,t.invalid=g,t.duration=tT,t.isMoment=T,t.weekdays=function(e,t,i){return tX(e,t,i,"weekdays")},t.parseZone=function(){return to.apply(null,arguments).parseZone()},t.localeData=e1,t.isDuration=th,t.monthsShort=function(e,t){return tQ(e,t,"monthsShort")},t.weekdaysMin=function(e,t,i){return tX(e,t,i,"weekdaysMin")},t.defineLocale=eZ,t.updateLocale=function(e,t){if(null!=t){var i,s,n=eW;null!=eK[e]&&null!=eK[e].parentLocale?eK[e].set(x(eK[e]._config,t)):(null!=(s=eQ(e))&&(n=s._config),t=x(n,t),null==s&&(t.abbr=e),(i=new E(t)).parentLocale=eK[e],eK[e]=i),eX(e)}else null!=eK[e]&&(null!=eK[e].parentLocale?(eK[e]=eK[e].parentLocale,e===eX()&&eX(e)):null!=eK[e]&&delete eK[e]);return eK[e]},t.locales=function(){return V(eK)},t.weekdaysShort=function(e,t,i){return tX(e,t,i,"weekdaysShort")},t.normalizeUnits=B,t.relativeTimeRounding=function(e){return void 0===e?ih:"function"==typeof e&&(ih=e,!0)},t.relativeTimeThreshold=function(e,t){return void 0!==im[e]&&(void 0===t?im[e]:(im[e]=t,"s"===e&&(im.ss=t-1),!0))},t.calendarFormat=function(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},t.prototype=tW,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t})},4415:(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}},4466:(e,t,i)=>{"use strict";i.r(t),i.d(t,{exportEntity:()=>u,exportUserArchive:()=>l});var s=i(20559),n=i(72172),r=i(55751),a=i(57364);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)}},4511:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(90481)},4602:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n.default,flushMap:()=>n.flushMap});var s=i(43952),n=i(87299);(0,s.default)('"discourse/models/store" import is deprecated, use "discourse/services/store" instead',{since:"2.8.0.beta8",dropFrom:"2.9.0.beta1",id:"discourse.models-store"})},4686:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(96675),n=i(62931);function r(e){return(0,s.htmlSafe)((0,n.longDate)(new Date(e)))}},4705:(e,t,i)=>{"use strict";i.r(t),i.d(t,{TrackedArray:()=>k,TrackedMap:()=>r,TrackedObject:()=>E,TrackedSet:()=>o,TrackedWeakMap:()=>a,TrackedWeakSet:()=>l,tracked:()=>L});var s=i(12040);i(23260);var n=i(95693);class r{collection=(()=>(0,n.createStorage)(null,()=>!1))();storages=(()=>new Map)();readStorageFor(e){let{storages:t}=this,i=t.get(e);void 0===i&&(i=(0,n.createStorage)(null,()=>!1),t.set(e,i)),(0,n.getValue)(i)}dirtyStorageFor(e){let t=this.storages.get(e);t&&(0,n.setValue)(t,null)}constructor(e){this.vals=e?new Map(e):new Map}get(e){return this.readStorageFor(e),this.vals.get(e)}has(e){return this.readStorageFor(e),this.vals.has(e)}entries(){return(0,n.getValue)(this.collection),this.vals.entries()}keys(){return(0,n.getValue)(this.collection),this.vals.keys()}values(){return(0,n.getValue)(this.collection),this.vals.values()}forEach(e){(0,n.getValue)(this.collection),this.vals.forEach(e)}get size(){return(0,n.getValue)(this.collection),this.vals.size}[Symbol.iterator](){return(0,n.getValue)(this.collection),this.vals[Symbol.iterator]()}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}set(e,t){return this.dirtyStorageFor(e),(0,n.setValue)(this.collection,null),this.vals.set(e,t),this}delete(e){return this.dirtyStorageFor(e),(0,n.setValue)(this.collection,null),this.storages.delete(e),this.vals.delete(e)}clear(){this.storages.forEach(e=>(0,n.setValue)(e,null)),this.storages.clear(),(0,n.setValue)(this.collection,null),this.vals.clear()}}Object.setPrototypeOf(r.prototype,Map.prototype);class a{storages=(()=>new WeakMap)();readStorageFor(e){let{storages:t}=this,i=t.get(e);void 0===i&&(i=(0,n.createStorage)(null,()=>!1),t.set(e,i)),(0,n.getValue)(i)}dirtyStorageFor(e){let t=this.storages.get(e);t&&(0,n.setValue)(t,null)}constructor(e){this.vals=e?new WeakMap(e):new WeakMap}get(e){return this.readStorageFor(e),this.vals.get(e)}has(e){return this.readStorageFor(e),this.vals.has(e)}set(e,t){return this.dirtyStorageFor(e),this.vals.set(e,t),this}delete(e){return this.dirtyStorageFor(e),this.storages.delete(e),this.vals.delete(e)}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}}Object.setPrototypeOf(a.prototype,WeakMap.prototype);class o{collection=(()=>(0,n.createStorage)(null,()=>!1))();storages=(()=>new Map)();storageFor(e){let t=this.storages,i=t.get(e);return void 0===i&&(i=(0,n.createStorage)(null,()=>!1),t.set(e,i)),i}dirtyStorageFor(e){let t=this.storages.get(e);t&&(0,n.setValue)(t,null)}constructor(e){this.vals=new Set(e)}has(e){return(0,n.getValue)(this.storageFor(e)),this.vals.has(e)}entries(){return(0,n.getValue)(this.collection),this.vals.entries()}keys(){return(0,n.getValue)(this.collection),this.vals.keys()}values(){return(0,n.getValue)(this.collection),this.vals.values()}forEach(e){(0,n.getValue)(this.collection),this.vals.forEach(e)}get size(){return(0,n.getValue)(this.collection),this.vals.size}[Symbol.iterator](){return(0,n.getValue)(this.collection),this.vals[Symbol.iterator]()}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}add(e){return this.dirtyStorageFor(e),(0,n.setValue)(this.collection,null),this.vals.add(e),this}delete(e){return this.dirtyStorageFor(e),(0,n.setValue)(this.collection,null),this.storages.delete(e),this.vals.delete(e)}clear(){this.storages.forEach(e=>(0,n.setValue)(e,null)),(0,n.setValue)(this.collection,null),this.storages.clear(),this.vals.clear()}}Object.setPrototypeOf(o.prototype,Set.prototype);class l{storages=(()=>new WeakMap)();storageFor(e){let t=this.storages,i=t.get(e);return void 0===i&&(i=(0,n.createStorage)(null,()=>!1),t.set(e,i)),i}dirtyStorageFor(e){let t=this.storages.get(e);t&&(0,n.setValue)(t,null)}constructor(e){this.vals=new WeakSet(e)}has(e){return(0,n.getValue)(this.storageFor(e)),this.vals.has(e)}add(e){return this.vals.add(e),this.dirtyStorageFor(e),this}delete(e){return this.dirtyStorageFor(e),this.storages.delete(e),this.vals.delete(e)}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}}function u(e,t){var i=function(e,t,i){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return t.get(e)}(e,t,0);return function(e,t){return t.get?t.get.call(e):t.value}(e,i)}function d(e,t){p(e,t),t.add(e)}function c(e,t,i){p(e,t),t.set(e,i)}function p(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function h(e,t,i){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return i}Object.setPrototypeOf(l.prototype,WeakSet.prototype);let m=new Set([Symbol.iterator,"concat","entries","every","fill","filter","find","findIndex","flat","flatMap","forEach","includes","indexOf","join","keys","lastIndexOf","map","reduce","reduceRight","slice","some","values"]);function g(e){if("symbol"==typeof e)return null;let t=Number(e);return isNaN(t)?null:t%1==0?t:null}var f=new WeakMap,_=new WeakMap,y=new WeakSet,b=new WeakSet,w=new WeakSet;class k{static from(e,t,i){return new k(t?Array.from(e,t,i):Array.from(e))}static of(){for(var e=arguments.length,t=Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:[];d(this,w),d(this,b),d(this,y),c(this,f,{writable:!0,value:(0,n.createStorage)(null,()=>!1)}),c(this,_,{writable:!0,value:new Map});let t=e.slice(),i=this,s=new Map;return new Proxy(t,{get(e,t){let r=g(t);if(null!==r)return h(i,y,T).call(i,r),(0,n.getValue)(u(i,f)),e[r];if("length"===t)(0,n.getValue)(u(i,f));else if(m.has(t)){let r=s.get(t);return void 0===r&&(r=function(){return(0,n.getValue)(u(i,f)),e[t](...arguments)},s.set(t,r)),r}return e[t]},set:(e,t,s)=>(e[t]=s,(null!==g(t)||"length"===t)&&h(i,w,S).call(i),!0),getPrototypeOf:()=>k.prototype})}}function T(e){let t=u(this,_),i=t.get(e);void 0===i&&(i=(0,n.createStorage)(null,()=>!1),t.set(e,i)),(0,n.getValue)(i)}function S(){(0,n.setValue)(u(this,f),null),u(this,_).clear()}Object.setPrototypeOf(k.prototype,Array.prototype);let{dirtyProperty:C,consumeProperty:A}=function(e){if(function(e){return"consumeTag"in e&&"function"==typeof e.consumeTag&&"tagFor"in e&&"function"==typeof e.tagFor&&"dirtyTagFor"in e&&"function"==typeof e.dirtyTagFor}(e))return{dirtyProperty:(t,i)=>{e.dirtyTagFor(t,i)},consumeProperty:(t,i)=>{e.consumeTag(e.tagFor(t,i))}};throw Error("The version of @glimmer/validator included with this build is incompatible with @ember-compat/tracked-built-ins. ")}(i(4837));class D{#ss;constructor(e){this.#ss=e}consume(e){A(this.#ss,e)}update(e){C(this.#ss,e)}}function M(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(new.target===void 0)throw Error("TrackedObject must be called with `new`");let t=new.target.prototype,i=function(e){let t=Object.create(Object.getPrototypeOf(e)),i={};for(let s of Reflect.ownKeys(e)){let n=Object.getOwnPropertyDescriptor(e,s);n&&(function(e){return"get"in e||"set"in e}(n)?Object.defineProperty(t,s,n):(Reflect.set(i,s,Reflect.get(e,s)),Object.defineProperty(t,s,{configurable:n.configurable,enumerable:!0,get:()=>Reflect.get(i,s),set:e=>{Reflect.set(i,s,e)}})))}return t}(e),s=(0,n.createStorage)(null,()=>!1),r=new Proxy(i,{get:(e,t)=>(a.consume(t),Reflect.get(e,t)),getPrototypeOf:()=>t,setPrototypeOf(){throw Error("Cannot set prototype of TrackedObject")},has:(e,t)=>(a.consume(t),Reflect.has(e,t)),ownKeys:e=>((0,n.getValue)(s),Reflect.ownKeys(e)),set:(e,t,i,n)=>(x(s),a.update(t),Reflect.set(e,t,i,n),!0),deleteProperty(e,t){let i=Reflect.getOwnPropertyDescriptor(e,t);return i&&!0===i.configurable&&(a.update(t),x(s)),Reflect.deleteProperty(e,t),!0}}),a=new D(r);return r}function x(e){(0,n.setValue)(e,null)}M.fromEntries=e=>new E(Object.fromEntries(e));let E=M;function L(e,t,i){if(void 0!==t&&void 0!==i)return(0,s.tracked)(e,t,i);if(Array.isArray(e))return new k(e);switch(e){case Object:return new E;case Array:return new k;case Map:return new r;case WeakMap:return new a;case Set:return new o;case WeakSet:return new l}return e instanceof Map?new r(e):e instanceof WeakMap?new a:e instanceof Set?new o(e):e instanceof WeakSet?new l:new E(e)}},4708:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(11811),n=i(79401),r=i(57364),a=i(9348),o=i(55888),l=i(74975);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"72uhm36W",block:'[[[1,"\\n "],[10,0],[14,0,"login-page-cta"],[12],[1,"\\n "],[10,0],[14,0,"login-page-cta__buttons"],[12],[1,"\\n"],[41,[30,1],[[[41,[51,[30,2]],[[[1," "],[8,[32,0],[[24,1,"login-button"],[24,"form","login-form"],[24,0,"btn-large btn-primary login-page-cta__login"],[16,"tabindex",[52,[51,[30,3]],"2"]]],[["@action","@disabled","@isLoading","@label"],[[30,4],[30,5],[30,6],[30,7]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,8],[[[1," "],[10,1],[14,0,"login-page-cta__no-account-yet"],[12],[1,"\\n "],[1,[28,[32,1],["create_account.no_account_yet"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,0],[[24,0,"btn-large btn-flat login-page-cta__signup"],[24,1,"new-account-link"],[24,"tabindex","3"]],[["@action","@disabled","@label"],[[30,9],[30,6],"create_account.title"]],null],[1,"\\n"]],[]],null]],[]],null],[1," "],[13],[1,"\\n "],[8,[32,2],null,[["@name","@connectorTagName"],["login-after-modal-footer","div"]],null],[1,"\\n "],[13],[1,"\\n"]],["@canLoginLocal","@showSecurityKey","@showSecondFactor","@login","@loginDisabled","@loggingIn","@loginButtonLabel","@showSignupLink","@createAccount"],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/login-page-cta.js",scope:()=>[s.default,r.i18n,n.default],isStrictMode:!0}),(0,l.default)(void 0,"login-page-cta:LoginPageCta"))},4760:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>S});var s=i(24698),n=i(40779),r=i(58452),a=i(66530),o=i(13744),l=i(96675),u=i(90831),d=i(11811),c=i(76586),p=i(12601),h=i(33361),m=i(79401),g=i(6424),f=i(46386),_=i(12947),y=i(47900),b=i(48297),w=i(57364),k=i(9348),T=i(55888);class S extends s.default{static #e=(()=>dt7948.g(this.prototype,"adminTools",[o.service]))();#sn=(()=>void dt7948.i(this,"adminTools"))();static #i=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #n=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #a=(()=>dt7948.g(this.prototype,"appEvents",[o.service]))();#tY=(()=>void dt7948.i(this,"appEvents"))();static #l=(()=>dt7948.g(this.prototype,"site",[o.service]))();#s=(()=>void dt7948.i(this,"site"))();static #d=(()=>dt7948.g(this.prototype,"userDetails",[n.tracked]))();#sr=(()=>void dt7948.i(this,"userDetails"))();static #p=(()=>dt7948.g(this.prototype,"selected",[n.tracked]))();#sa=(()=>void dt7948.i(this,"selected"))();static #m=(()=>dt7948.g(this.prototype,"message",[n.tracked]))();#so=(()=>void dt7948.i(this,"message"))();static #f=(()=>dt7948.g(this.prototype,"isConfirmed",[n.tracked],function(){return!1}))();#sl=(()=>void dt7948.i(this,"isConfirmed"))();static #y=(()=>dt7948.g(this.prototype,"isWarning",[n.tracked],function(){return!1}))();#su=(()=>void dt7948.i(this,"isWarning"))();static #v=(()=>dt7948.g(this.prototype,"spammerDetails",[n.tracked]))();#sd=(()=>void dt7948.i(this,"spammerDetails"))();constructor(){super(...arguments),this.adminTools?.checkSpammer(this.args.model.flagModel.user_id).then(e=>this.spammerDetails=e),1===this.flagsAvailable.length&&(this.selected=this.flagsAvailable[0])}get flagActions(){return{icon:"gavel",label:(0,w.i18n)("flagging.take_action"),actions:[{id:"agree_and_hide",icon:"thumbs-up",label:(0,w.i18n)("flagging.take_action_options.default.title"),description:(0,w.i18n)("flagging.take_action_options.default.details")},{id:"agree_and_suspend",icon:"ban",label:(0,w.i18n)("flagging.take_action_options.suspend.title"),description:(0,w.i18n)("flagging.take_action_options.suspend.details"),client_action:"suspend"},{id:"agree_and_silence",icon:"microphone-slash",label:(0,w.i18n)("flagging.take_action_options.silence.title"),description:(0,w.i18n)("flagging.take_action_options.silence.details"),client_action:"silence"}]}}get canSendWarning(){return!this.args.model.flagTarget.targetsTopic()&&this.currentUser.staff&&this.selected?.name_key==="notify_user"}get showDeleteSpammer(){return this.spammerDetails?.canDelete&&this.selected?.name_key==="spam"}get submitLabel(){return this.selected?.require_message?this.args.model.flagTarget.customSubmitLabel():this.args.model.flagTarget.submitLabel()}get title(){return this.args.model.flagTarget.title()}get flagsAvailable(){return this.args.model.flagTarget.flagsAvailable(this).filterBy("enabled")}get staffFlagsAvailable(){return this.flagsAvailable.length>1}get submitEnabled(){if(!this.selected)return!1;if(!this.selected.require_message)return!0;if(this.selected.isIllegal&&!this.isConfirmed)return!1;let e=this.message?.length||0;return e>=this.siteSettings.min_personal_message_post_length&&e<=y.MAX_MESSAGE_LENGTH}get notifyModeratorsFlag(){return this.flagsAvailable.find(e=>"notify_moderators"===e.id)}get canTakeAction(){return!this.args.model.flagTarget.targetsTopic()&&!this.selected?.require_message&&this.currentUser.staff}onKeydown(e){if(this.submitEnabled&&"Enter"===e.key&&(e.ctrlKey||e.metaKey))return this.createFlag(),!1}static #k=(()=>dt7948.n(this.prototype,"onKeydown",[a.action]))();async penalize(e,t){if(!this.adminTools)return;let i=await b.default.findByUsername(this.args.model.flagModel.username),s={before:t};return this.args.model.flagTarget.editable()&&(s.postId=this.args.model.flagModel.id,s.postEdit=this.args.model.flagModel.cooked),this.adminTools[e](i,s)}static #S=(()=>dt7948.n(this.prototype,"penalize",[a.action]))();async deleteSpammer(){this.spammerDetails&&(await this.spammerDetails.deleteUser(),(0,_.reload)())}static #A=(()=>dt7948.n(this.prototype,"deleteSpammer",[a.action]))();async takeAction(e){"suspend"===e.client_action?await this.penalize("showSuspendModal",()=>this.createFlag({takeAction:!0,skipClose:!0})):"silence"===e.client_action?await this.penalize("showSilenceModal",()=>this.createFlag({takeAction:!0,skipClose:!0})):e.client_action?console.error(`No handler for ${e.client_action} found`):(this.args.model.setHidden(),this.createFlag({takeAction:!0}))}static #M=(()=>dt7948.n(this.prototype,"takeAction",[a.action]))();createFlag(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.selected.require_message&&(e.message=this.message),this.args.model.flagTarget.create(this,e),this.appEvents.trigger("flag:created",{message:e.message,postId:this.args.model.flagModel.id})}static #E=(()=>dt7948.n(this.prototype,"createFlag",[a.action]))();createFlagAsWarning(){this.createFlag({isWarning:!0}),this.args.model.setHidden()}static #P=(()=>dt7948.n(this.prototype,"createFlagAsWarning",[a.action]))();flagForReview(){this.selected||=this.notifyModeratorsFlag,this.createFlag({queue_for_review:!0}),this.args.model.setHidden()}static #I=(()=>dt7948.n(this.prototype,"flagForReview",[a.action]))();changePostActionType(e){this.selected=e}static #O=(()=>dt7948.n(this.prototype,"changePostActionType",[a.action]))();static #R=(()=>(0,k.setComponentTemplate)((0,T.createTemplateFactory)({id:"0cd8Mja3",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"flag-modal"],[4,[32,2],["keydown",[30,0,["onKeydown"]]],null]],[["@bodyClass","@title","@submitOnEnter","@closeModal"],["flag-modal-body",[28,[32,1],[[30,0,["title"]]],null],false,[30,1]]],[["body","footer"],[[[[1,"\\n "],[10,2],[12],[1,[28,[32,3],[[28,[32,1],["flagging.review_process_description"],null]],null]],[13],[1,"\\n "],[8,[32,4],null,[["@name","@connectorTagName","@outletArgs"],["after-flag-modal-review-process-description","div",[28,[32,5],null,[["post"],[[30,2,["flagModel"]]]]]]],null],[1,"\\n "],[10,"form"],[12],[1,"\\n "],[8,[32,6],null,[["@nameKey","@flags"],[[30,0,["selected","name_key"]],[30,0,["flagsAvailable"]]]],[["default"],[[[[1,"\\n "],[8,[32,7],null,[["@flag","@message","@isConfirmed","@isWarning","@selectedFlag","@username","@staffFlagsAvailable","@changePostActionType"],[[30,3],[30,0,["message"]],[30,0,["isConfirmed"]],[30,0,["isWarning"]],[30,0,["selected"]],[30,2,["flagModel","username"]],[30,0,["staffFlagsAvailable"]],[30,0,["changePostActionType"]]]],null],[1,"\\n "]],[3]]]]],[1,"\\n "],[13],[1,"\\n "],[8,[32,4],null,[["@name","@connectorTagName","@outletArgs"],["flag-modal-bottom","div",[28,[32,5],null,[["post"],[[30,2,["flagModel"]]]]]]],null],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,8],[[24,0,"btn-primary flag-modal__create-flag"]],[["@action","@disabled","@title","@icon","@label"],[[30,0,["createFlag"]],[28,[32,9],[[30,0,["submitEnabled"]]],null],"flagging.submit_tooltip",[52,[30,0,["selected","is_custom_flag"]],"envelope","flag"],[30,0,["submitLabel"]]]],null],[1,"\\n\\n"],[41,[30,0,["canSendWarning"]],[[[1," "],[8,[32,8],[[24,0,"btn-danger flag-modal__send-warning"]],[["@action","@disabled","@icon","@label"],[[30,0,["createFlagAsWarning"]],[28,[32,9],[[30,0,["submitEnabled"]]],null],"triangle-exclamation","flagging.official_warning"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["canTakeAction"]],[[[1," "],[8,[32,10],[[24,0,"flag-modal__take-action"]],[["@bundle","@performAction","@reviewableUpdating"],[[30,0,["flagActions"]],[30,0,["takeAction"]],[28,[32,9],[[30,0,["submitEnabled"]]],null]]],null],[1,"\\n\\n "],[8,[32,8],[[24,0,"btn-danger flag-modal__flag-for-review"]],[["@action","@disabled","@icon","@label"],[[30,0,["flagForReview"]],[28,[32,9],[[30,0,["submitEnabled"]],[30,0,["notifyModeratorsFlag"]]],null],"triangle-exclamation","flagging.flag_for_review"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showDeleteSpammer"]],[[[1," "],[8,[32,8],[[24,0,"btn-danger delete-spammer flag-modal__delete-spammer"]],[["@action","@disabled","@icon","@label"],[[30,0,["deleteSpammer"]],[28,[32,9],[[30,0,["submitEnabled"]]],null],"triangle-exclamation","flagging.delete_spammer"]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@closeModal","@model","f"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/flag.js",scope:()=>[c.default,w.i18n,r.on,l.htmlSafe,m.default,f.default,h.default,p.default,d.default,u.not,g.default],isStrictMode:!0}),this))()}},4775:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(27165),n=i(98753),r=i(5141),a=i(88755),o=i(22715);let l={_helpers:s.helpers,registerHelper:s.registerHelper,registerAsyncHelper:s.registerAsyncHelper,unregisterHelper:s.unregisterHelper,onInjectHelpers:n.onInjectHelpers,Promise:r.default,promise:r.promise,resolve:r.resolve,registerWaiter:a.registerWaiter,unregisterWaiter:a.unregisterWaiter,checkWaiters:a.checkWaiters};Object.defineProperty(l,"adapter",{get:o.getAdapter,set:o.setAdapter})},4800:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>S});var s=i(24698),n=i(40779),r=i(4089),a=i(66530),o=i(13744),l=i(58219),u=i(76586),d=i(18442),c=i(68857),p=i(49422),h=i(62112),m=i(30336),g=i(60882),f=i(47754),_=i(98174),y=i(72),b=i(57364),w=i(9348),k=i(55888);function T(e){return e?(Array.isArray(e)||(e=[e]),e):[]}class S extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #i=(()=>dt7948.g(this.prototype,"site",[o.service]))();#s=(()=>void dt7948.i(this,"site"))();static #n=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #a=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #l=(()=>dt7948.g(this.prototype,"appEvents",[o.service]))();#tY=(()=>void dt7948.i(this,"appEvents"))();static #d=(()=>dt7948.g(this.prototype,"loading",[n.tracked]))();#ik=(()=>void dt7948.i(this,"loading"))();static #p=(()=>dt7948.g(this.prototype,"postRevision",[n.tracked]))();#sc=(()=>void dt7948.i(this,"postRevision"))();static #m=(()=>dt7948.g(this.prototype,"viewMode",[n.tracked],function(){return this.site.mobileView?"inline":"side_by_side"}))();#sp=(()=>void dt7948.i(this,"viewMode"))();static #f=(()=>dt7948.g(this.prototype,"bodyDiff",[n.tracked]))();#sh=(()=>void dt7948.i(this,"bodyDiff"))();static #y=(()=>dt7948.g(this.prototype,"initialLoad",[n.tracked],function(){return!0}))();#sm=(()=>void dt7948.i(this,"initialLoad"))();constructor(){super(...arguments),this.refresh(this.args.model.postId,this.args.model.postVersion)}get loadFirstDisabled(){return this.loading||this.postRevision?.current_revision<=this.postRevision?.first_revision}get loadPreviousDisabled(){return this.loading||!this.postRevision.previous_revision||!this.postRevision.previous_revision&&this.postRevision.current_revision<=this.postRevision.previous_revision}get loadNextDisabled(){return this.loading||this.postRevision?.current_revision>=this.postRevision?.next_revision}get loadLastDisabled(){return this.loading||this.postRevision?.current_revision>=this.postRevision?.next_revision}get displayRevisions(){return this.postRevision?.version_count>2}get modalTitleKey(){return this.args.model.post.version>100?"history_capped_revisions":"history"}get previousVersion(){return this.postRevision?.current_version?this.postRevision.current_version-1:null}get revisionsText(){return(0,b.i18n)("post.revisions.controls.comparing_previous_to_current_out_of_total",{previous:this.previousVersion,icon:(0,g.iconHTML)("left-right"),current:this.postRevision?.current_version,total:this.postRevision?.version_count})}get titleDiff(){let e=this.viewMode;return"side_by_side_markdown"===e&&(e="side_by_side"),this.postRevision?.title_changes?.[e]}get bodyDiffHTML(){return this.postRevision?.body_changes?.[this.viewMode]}async calculateBodyDiff(e,t){let i=t;"side_by_side_markdown"!==this.viewMode&&(i=await (0,f.sanitizeAsync)(i,{features:{editHistory:!0,historyOneboxes:!0},allowListed:{editHistory:{custom:(e,t)=>"class"===t},historyOneboxes:["header","article","div[style]"]}})),this.bodyDiff=i}static #v=(()=>dt7948.n(this.prototype,"calculateBodyDiff",[a.action]))();get previousTagChanges(){let e=T(this.postRevision.tags_changes?.previous),t=new Set(T(this.postRevision.tags_changes?.current));return e.map(e=>({name:e,deleted:!t.has(e)}))}get currentTagChanges(){let e=new Set(T(this.postRevision.tags_changes?.previous));return T(this.postRevision.tags_changes?.current).map(t=>({name:t,inserted:!e.has(t)}))}get createdAtDate(){return moment(this.postRevision.created_at).format("LLLL")}get displayEdit(){return!!(this.postRevision?.can_edit&&this.args.model.editPost&&this.postRevision?.last_revision===this.postRevision?.current_revision)}get revertToRevisionText(){if(this.previousVersion)return(0,b.i18n)("post.revisions.controls.revert",{revision:this.previousVersion})}async refresh(e,t){this.loading=!0;try{let i=await y.default.loadRevision(e,t);this.postRevision=i}catch(i){this.args.closeModal(),this.dialog.alert(i.jqXHR.responseJSON.errors[0]);let t=this.args.model.post?.topic?.postStream;if(!t)return;t.triggerChangedPost(e,this.args.model).then(()=>this.appEvents.trigger("post-stream:refresh",{id:e}))}finally{this.loading=!1,this.initialLoad=!1}}hide(e,t){y.default.hideRevision(e,t).then(()=>this.refresh(e,t))}show(e,t){y.default.showRevision(e,t).then(()=>this.refresh(e,t))}async revert(e,t){try{let i=await e.revertToRevision(t);this.refresh(e.id,t),i.topic&&(e.set("topic.slug",i.topic.slug),e.set("topic.title",i.topic.title),e.set("topic.fancy_title",i.topic.fancy_title)),i.category_id&&e.set("topic.category",await _.default.asyncFindById(i.category_id)),this.args.closeModal()}catch(e){e.jqXHR.responseJSON?.errors?.[0]&&this.dialog.alert(e.jqXHR.responseJSON.errors[0])}}get editButtonLabel(){return`post.revisions.controls.${this.postRevision.wiki?"edit_wiki":"edit_post"}`}get hiddenClasses(){if("inline"===this.viewMode)return this.postRevision?.previous_hidden||this.postRevision?.current_hidden?"hidden-revision-either":null;{let e=[];return this.postRevision?.previous_hidden&&e.push("hidden-revision-previous"),this.postRevision?.current_hidden&&e.push("hidden-revision-current"),e.join(" ")}}get previousCategory(){if(this.postRevision?.category_id_changes?.previous){let e=_.default.findById(this.postRevision.category_id_changes.previous);return(0,h.categoryBadgeHTML)(e,{allowUncategorized:!0,extraClasses:"diff-del"})}}get currentCategory(){if(this.postRevision?.category_id_changes?.current){let e=_.default.findById(this.postRevision.category_id_changes.current);return(0,h.categoryBadgeHTML)(e,{allowUncategorized:!0,extraClasses:"diff-ins"})}}displayInline(e){e?.preventDefault(),this.viewMode="inline"}static #k=(()=>dt7948.n(this.prototype,"displayInline",[a.action]))();displaySideBySide(e){e?.preventDefault(),this.viewMode="side_by_side"}static #S=(()=>dt7948.n(this.prototype,"displaySideBySide",[a.action]))();displaySideBySideMarkdown(e){e?.preventDefault(),this.viewMode="side_by_side_markdown"}static #A=(()=>dt7948.n(this.prototype,"displaySideBySideMarkdown",[a.action]))();loadFirstVersion(){this.refresh(this.postRevision.post_id,this.postRevision.first_revision)}static #M=(()=>dt7948.n(this.prototype,"loadFirstVersion",[a.action]))();loadPreviousVersion(){this.refresh(this.postRevision.post_id,this.postRevision.previous_revision)}static #E=(()=>dt7948.n(this.prototype,"loadPreviousVersion",[a.action]))();loadNextVersion(){this.refresh(this.postRevision.post_id,this.postRevision.next_revision)}static #P=(()=>dt7948.n(this.prototype,"loadNextVersion",[a.action]))();loadLastVersion(){return this.refresh(this.postRevision.post_id,this.postRevision.last_revision)}static #I=(()=>dt7948.n(this.prototype,"loadLastVersion",[a.action]))();hideVersion(){this.hide(this.postRevision.post_id,this.postRevision.current_revision)}static #O=(()=>dt7948.n(this.prototype,"hideVersion",[a.action]))();permanentlyDeleteVersions(){this.dialog.yesNoConfirm({message:(0,b.i18n)("post.revisions.controls.destroy_confirm"),didConfirm:()=>{y.default.permanentlyDeleteRevisions(this.postRevision.post_id).then(()=>{this.args.closeModal()})}})}static #R=(()=>dt7948.n(this.prototype,"permanentlyDeleteVersions",[a.action]))();showVersion(){this.show(this.postRevision.post_id,this.postRevision.current_revision)}static #B=(()=>dt7948.n(this.prototype,"showVersion",[a.action]))();editPost(){this.args.model.editPost(this.args.model.post),this.args.closeModal()}static #Y=(()=>dt7948.n(this.prototype,"editPost",[a.action]))();revertToVersion(){this.revert(this.args.model.post,this.postRevision.current_revision)}static #$=(()=>dt7948.n(this.prototype,"revertToVersion",[a.action]))();static #V=(()=>(0,w.setComponentTemplate)((0,k.createTemplateFactory)({id:"DTARGu1i",block:'[[[1,"\\n "],[8,[32,0],[[16,0,[29,["history-modal -max ",[28,[32,1],["--mode-",[28,[32,2],[[30,0,["viewMode"]]],null]],null]]]]],[["@title","@closeModal"],[[28,[32,3],[[30,0,["modalTitleKey"]]],null],[30,1]]],[["body","footer"],[[[[1,"\\n "],[8,[32,4],null,[["@condition"],[[30,0,["initialLoad"]]]],[["default"],[[[[1,"\\n "],[8,[32,5],null,[["@model","@previousCategory","@currentCategory","@displayInline","@displaySideBySide","@displaySideBySideMarkdown","@viewMode"],[[30,0,["postRevision"]],[30,0,["previousCategory"]],[30,0,["currentCategory"]],[30,0,["displayInline"]],[30,0,["displaySideBySide"]],[30,0,["displaySideBySideMarkdown"]],[30,0,["viewMode"]]]],null],[1,"\\n "],[8,[32,6],null,[["@model","@hiddenClasses","@mobileView","@userChanges","@previousCategory","@currentCategory","@previousTagChanges","@currentTagChanges","@bodyDiffHTML","@bodyDiff","@calculateBodyDiff","@titleDiff","@viewMode"],[[30,0,["postRevision"]],[30,0,["hiddenClasses"]],[30,0,["site","mobileView"]],[30,0,["user_changes"]],[30,0,["previousCategory"]],[30,0,["currentCategory"]],[30,0,["previousTagChanges"]],[30,0,["currentTagChanges"]],[30,0,["bodyDiffHTML"]],[30,0,["bodyDiff"]],[30,0,["calculateBodyDiff"]],[30,0,["titleDiff"]],[30,0,["viewMode"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[]],[[[1,"\\n"],[41,[30,2,["editPost"]],[[[1," "],[8,[32,7],null,[["@model","@loadFirstVersion","@loadPreviousVersion","@loadNextVersion","@loadLastVersion","@displayEdit","@editPost","@editButtonLabel","@revertToVersion","@hideVersion","@showVersion","@permanentlyDeleteVersions","@loading","@canPermanentlyDelete","@loadFirstDisabled","@loadPreviousDisabled","@displayRevisions","@revisionsText","@loadNextDisabled","@loadLastDisabled","@revertToRevisionText","@isStaff"],[[30,0,["postRevision"]],[30,0,["loadFirstVersion"]],[30,0,["loadPreviousVersion"]],[30,0,["loadNextVersion"]],[30,0,["loadLastVersion"]],[30,0,["displayEdit"]],[30,0,["editPost"]],[30,0,["editButtonLabel"]],[30,0,["revertToVersion"]],[30,0,["hideVersion"]],[30,0,["showVersion"]],[30,0,["permanentlyDeleteVersions"]],[30,0,["loading"]],[30,0,["siteSettings","can_permanently_delete"]],[30,0,["loadFirstDisabled"]],[30,0,["loadPreviousDisabled"]],[30,0,["displayRevisions"]],[30,0,["revisionsText"]],[30,0,["loadNextDisabled"]],[30,0,["loadLastDisabled"]],[30,0,["revertToRevisionText"]],[30,0,["currentUser","staff"]]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/history.js",scope:()=>[u.default,r.concat,m.default,b.i18n,l.default,d.default,c.default,p.default],isStrictMode:!0}),this))()}},4830:(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})},4837:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{ALLOW_CYCLES:()=>s,COMPUTE:()=>c,CONSTANT:()=>a,CONSTANT_TAG:()=>w,CURRENT_TAG:()=>A,CurrentTag:()=>C,INITIAL:()=>o,VOLATILE:()=>l,VOLATILE_TAG:()=>S,VolatileTag:()=>T,beginTrackFrame:()=>R,beginUntrackFrame:()=>B,bump:()=>d,combine:()=>D,consumeTag:()=>$,createCache:()=>G,createTag:()=>y,createUpdatableTag:()=>b,debug:()=>r,dirtyTag:()=>f,dirtyTagFor:()=>P,endTrackFrame:()=>U,endUntrackFrame:()=>H,getValue:()=>J,isConst:()=>Q,isConstTag:()=>k,isTracking:()=>q,resetTracking:()=>Y,tagFor:()=>I,tagMetaFor:()=>F,track:()=>X,trackedData:()=>ee,untrack:()=>Z,updateTag:()=>_,validateTag:()=>h,valueForTag:()=>p});var n=i(99652);i(77597);let r={},a=0,o=1,l=NaN,u=1;function d(){u++}let c=Symbol("TAG_COMPUTE");function p(e){return e[c]()}function h(e,t){return t>=e[c]()}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}[c](){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[c]();t=Math.max(e,t)}else{let i=e[c]();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[c](),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;[c](){return NaN}}let S=new T;class C{[m]=101;[c](){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 O=null,j=[];function R(e){j.push(O),O=new N}function U(){let e=O;return O=j.pop()||null,(function(e){if(null==e)throw Error("Expected value to be present");return e})(e).combine()}function B(){j.push(O),O=null}function H(){O=j.pop()||null}function Y(){for(;j.length>0;)j.pop();O=null}function q(){return null!==O}function $(e){null!==O&&O.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){let i;R(t);try{e()}finally{i=U()}return i}function Z(e){B();try{return e()}finally{H()}}function ee(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 et=Symbol("GLIMMER_VALIDATOR_REGISTRATION"),ei=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===ei[et])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.");ei[et]=!0},4894:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(24698),n=i(4089),r=i(13744),a=i(96675),o=i(42724),l=i(68269),u=i(57364),d=i(51719),c=i(9348),p=i(55888);class h extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[r.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"hSMXBwxU",block:'[[[1,"\\n "],[10,0],[14,0,"d-page-subheader"],[12],[1,"\\n "],[10,0],[14,0,"d-page-subheader__title-row"],[12],[1,"\\n"],[41,[30,1],[[[1," "],[10,"h2"],[14,0,"d-page-subheader__title"],[12],[1,"\\n"],[41,[30,2],[[[1," "],[10,3],[15,6,[30,2]],[14,0,"d-page-subheader__title-link"],[12],[1,"\\n "],[1,[30,1]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[1,[30,1]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[41,[48,[30,5]],[[[1," "],[10,0],[14,0,"d-page-subheader__actions"],[12],[1,"\\n"],[41,[30,0,["site","mobileView"]],[[[1," "],[8,[32,0],[[24,0,"btn-small"]],[["@identifier","@title","@icon"],["d-page-subheader-mobile-actions",[28,[32,1],["more_options"],null],"ellipsis-vertical"]],[["content"],[[[[1,"\\n "],[8,[32,2],[[24,0,"d-page-subheader__mobile-actions"]],null,[["default"],[[[[1,"\\n "],[18,5,[[28,[32,3],null,[["Primary","Default","Danger","Wrapped"],[[32,4],[32,4],[32,5],[32,6]]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[18,5,[[28,[32,3],null,[["Primary","Default","Danger","Wrapped"],[[32,7],[32,8],[32,9],[32,10]]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,3],[[[1," "],[10,2],[14,0,"d-page-subheader__description"],[12],[1,"\\n "],[1,[28,[32,11],[[30,3]],null]],[1,"\\n"],[41,[30,4],[[[1," "],[10,1],[14,0,"d-page-subheader__learn-more"],[12],[1,"\\n "],[1,[28,[32,11],[[28,[32,1],["learn_more_with_link"],[["url"],[[30,4]]]]],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@titleLabel","@titleUrl","@descriptionLabel","@learnMoreUrl","&actions"],false,["if","has-block","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-page-subheader.js",scope:()=>[d.default,u.i18n,l.default,n.hash,o.DefaultActionListItem,o.DangerActionListItem,o.WrappedActionListItem,o.PrimaryButton,o.DefaultButton,o.DangerButton,o.WrappedButton,a.htmlSafe],isStrictMode:!0}),this))()}},4911:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d,incrementSequence:()=>u});var s=i(56142),n=i(36768),r=i(13744),a=i(76437),o=i(47754);let l=1;function u(){return l++}class d{static #e=(()=>dt7948.g(this.prototype,"store",[r.service]))();#is=(()=>void dt7948.i(this,"store"))();constructor(e){if(e&&!(e instanceof s.default))throw Error("First argument of CoreFabricators constructor must be the owning ApplicationInstance");(0,n.setOwner)(this,e)}post(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.createRecord("post",{id:e.id||u(),topic:e.topic||this.topic()})}tag(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.createRecord("tag",{id:e.id||u(),name:e.name??(0,a.getLoadedFaker)().faker.word.noun(),description:e.description??(0,a.getLoadedFaker)().faker.lorem.sentence(),count:e.count??0,pm_count:e.pm_count??0})}topic(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id||u();return this.store.createRecord("topic",{id:t,created_at:e.created_at||moment().subtract(2,"day"),updated_at:e.updated_at||moment().subtract(1,"day"),slug:e.slug||(0,a.getLoadedFaker)().faker.lorem.slug(),title:e.title||(0,a.getLoadedFaker)().faker.commerce.productName(),tags:e.tags||[],category:e.category,image_url:e.image_url??"/images/bubbles-bg.png",excerpt:e.excerpt??(0,o.excerpt)((0,a.getLoadedFaker)().faker.lorem.sentences(5),100)})}category(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name||(0,a.getLoadedFaker)().faker.commerce.product();return this.store.createRecord("category",{id:e.id||u(),color:e.color||(0,a.getLoadedFaker)().faker.color.rgb({prefix:""}),read_restricted:e.read_restricted??!1,name:t,slug:e.slug||t.toLowerCase()})}user(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.createRecord("user",{id:e.id||u(),username:e.username||(0,a.getLoadedFaker)().faker.internet.domainWord(),name:e.name,avatar_template:"/letter_avatar_proxy/v3/letter/t/41988e/{size}.png",suspended_till:e.suspended_till,can_send_private_message_to_user:e.can_send_private_message_to_user??!0})}bookmark(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.createRecord("bookmark",{id:e.id||u()})}group(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.createRecord("group",{name:e.name||(0,a.getLoadedFaker)().faker.word.noun()})}webhook(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.createRecord("web-hook",e)}upload(){return{extension:"jpeg",filesize:126177,height:800,human_filesize:"123 KB",id:u(),original_filename:"avatar.PNG.jpg",retain_hours:null,short_path:"/images/avatar.png",short_url:"upload://yoj8pf9DdIeHRRULyw7i57GAYdz.jpeg",thumbnail_height:320,thumbnail_width:690,url:"/images/avatar.png",width:1920}}}},4922:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".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:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return(12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t)?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,i){var s=100*e+t;if(s<600)return"凌晨";if(s<900)return"早上";if(s<1200)return"上午";if(1200===s)return"中午";if(s<1800)return"下午";else return"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})})},4964:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(55751);function n(e,t){if("string"!=typeof e)throw Error("`discourse/lib/show-modal` can only be used with the legacy controller-based API. To use the new component-based API, inject the modal service and call modal.show(). https://meta.discourse.org/t/268057");t=t||{};let i=(0,s.getOwnerWithFallback)(this);if(!i.isDestroying&&!i.isDestroyed)return i.lookup("service:modal").show(e,t)}},4992:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(2263);let n={initialize(){(0,s.withPluginApi)(e=>{e.registerValueTransformer("mentions-class",t=>{let{value:i,context:s}=t,{user:n}=s;return n.id<0?i.push("--bot"):n.id===e.getCurrentUser()?.id?i.push("--current"):("here"===n.username||"all"===n.username)&&i.push("--wide"),i})})}}},5058:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(24698),n=i(90831),r=i(98320),a=i(57364),o=i(9348),l=i(55888);class u extends s.default{get linkClasses(){return this.args.attachment?"topic-link track-link attachment":"topic-link track-link"}get truncatedContent(){let e=this.args.title||this.args.url;return e.length>85?`${e.slice(0,85).trim()}...`:e}static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"i6QAwUit",block:'[[[1,"\\n "],[10,3],[15,0,[30,0,["linkClasses"]]],[15,6,[30,1]],[15,"title",[30,1]],[15,"data-user-id",[30,2]],[14,"data-ignore-post-id","true"],[14,"target","_blank"],[14,"rel","nofollow ugc noopener noreferrer"],[15,"data-clicks",[30,3]],[15,"aria-label",[28,[32,0],["topic_map.clicks"],[["count"],[[30,3]]]]],[12],[1,"\\n "],[10,1],[14,0,"content"],[12],[1,"\\n"],[41,[30,4],[[[1," "],[1,[28,[32,1],[[30,0,["truncatedContent"]]],null]],[1,"\\n"]],[]],[[[1," "],[1,[30,0,["truncatedContent"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[28,[32,2],[[30,4],[30,5]],null],[[[1," "],[10,1],[14,0,"domain"],[12],[1,"\\n "],[1,[30,5]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["@url","@userId","@clickCount","@title","@rootDomain"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-map/topic-map-link.js",scope:()=>[a.i18n,r.default,n.and],isStrictMode:!0}),this))()}},5064:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(24698),n=i(4089),r=i(66530),a=i(13744),o=i(11811),l=i(68269),u=i(64119),d=i(51719),c=i(9348),p=i(55888);class h extends s.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #i=(()=>dt7948.g(this.prototype,"languageNameLookup",[a.service]))();#i7=(()=>void dt7948.i(this,"languageNameLookup"))();async changeLocale(e){(0,u.default)("locale",e,{path:"/"}),this.dMenu.close(),window.location.reload()}static #n=(()=>dt7948.n(this.prototype,"changeLocale",[r.action]))();get content(){return this.siteSettings.available_content_localization_locales.map(e=>{let{value:t}=e;return{name:this.languageNameLookup.getLanguageName(t),value:t}})}onRegisterApi(e){this.dMenu=e}static #a=(()=>dt7948.n(this.prototype,"onRegisterApi",[r.action]))();static #l=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"Sz0P8JWE",block:'[[[1,"\\n "],[8,[32,0],[[24,"title","Language switcher"],[24,0,"btn-flat btn-icon icon"]],[["@identifier","@icon","@onRegisterApi"],["language-switcher","language",[30,0,["onRegisterApi"]]]],[["content"],[[[[1,"\\n "],[8,[32,1],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["content"]]],null]],null],null,[[[1," "],[8,[30,1,["item"]],[[24,0,"locale-options"],[16,"data-menu-option-id",[30,2,["value"]]]],null,[["default"],[[[[1,"\\n "],[8,[32,2],null,[["@translatedLabel","@action"],[[30,2,["name"]],[28,[32,3],[[30,0,["changeLocale"]],[30,2,["value"]]],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[2]],null],[1," "]],[1]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["dropdown","option"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/language-switcher.js",scope:()=>[d.default,l.default,o.default,n.fn],isStrictMode:!0}),this))()}},5081:function(e,t,i){!function(e,t){t(i(4387))}(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("kn",{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?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})})},5141:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a,getLastPromise:()=>u,promise:()=>o,resolve:()=>l}),i(98710),i(81904),i(50434),i(36819),i(90743),i(85333),i(99628),i(15036);var s=i(70629),n=i(93579);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}},5197:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addObserver:()=>s.v,removeObserver:()=>s.w}),i(49233),i(27322),i(23260),i(17633),i(4837),i(184);var s=i(39665);i(8166)},5233:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(9348),n=i(45916),r=i(30587),a=i.n(r),o=i(71773),l=i(57364),u=i(55888);class d extends s.default{showInput=!1;click(){return this.onClick(),(0,n.schedule)("afterRender",()=>{a()(this.element).find("input").focus()}),!1}static #e=(()=>(0,s.setComponentTemplate)((0,u.createTemplateFactory)({id:"9vDaTpUo",block:'[[[1,"\\n"],[41,[30,0,["showInput"]],[[[1," "],[18,1,null],[1,"\\n"]],[]],[[[1," "],[10,3],[14,6,""],[12],[1,"\\n"],[41,[30,0,["key"]],[[[1," "],[1,[28,[32,0],[[30,0,["key"]]],null]],[1,"\\n"]],[]],null],[41,[30,0,["icon"]],[[[1," "],[1,[28,[32,1],[[30,0,["icon"]]],null]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]]],[1," "]],["&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/link-to-input.js",scope:()=>[l.i18n,o.default],isStrictMode:!0}),this))()}},5251:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(30587),n=i.n(s);class r{constructor(e){this.html=e.html}init(){let e=n()(this.html);return this.decorate(e),e[0]}decorate(){}update(e){if(e.html!==this.html)return this.init()}destroy(){}}r.prototype.type="Widget"},5303:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5352:function(e,t,i){!function(e,t){t(i(4387))}(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"})})},5368:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>Q,registerCustomPostMessageCallback:()=>J,resetCustomPostMessageCallbacks:()=>G});var s=i(40779),n=i(81845),r=i(66530),a=i(87966),o=i(58295),l=i(45916),u=i(13744),d=i(58670),c=i(72825),p=i(94347),h=i(23286),m=i(83883),g=i(76586),f=i(34326),_=i(80494),y=i(94513),b=i(32802),w=i(39237),k=i(7080),T=i(62807),S=i(20559),C=i(72172),A=i(39105),D=i(71358),M=i(6827),x=i(99148),E=i(99314),L=i(99307),P=i(8106),F=i(24433),I=i(77109),N=i(3327),O=i(75009),j=i(86232),R=i(34057),U=i(42358),B=i(98174),H=i(78188),Y=i(13591),q=i(72),$=i(12079),z=i(39923),V=i(57364);let W=(0,i(69853).A)(i(40779)).cached,K={};function G(){K={}}function J(e,t){if(K[e])throw Error(`Error ${e} is an already registered post message!`);K[e]=t}class Q extends n.default{static #e=(()=>dt7948.g(this.prototype,"composer",[u.service]))();#t4=(()=>void dt7948.i(this,"composer"))();static #i=(()=>dt7948.g(this.prototype,"dialog",[u.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #n=(()=>dt7948.g(this.prototype,"documentTitle",[u.service]))();#sg=(()=>void dt7948.i(this,"documentTitle"))();static #a=(()=>dt7948.g(this.prototype,"screenTrack",[u.service]))();#sf=(()=>void dt7948.i(this,"screenTrack"))();static #l=(()=>dt7948.g(this.prototype,"modal",[u.service]))();#tq=(()=>void dt7948.i(this,"modal"))();static #d=(()=>dt7948.g(this.prototype,"currentUser",[u.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #p=(()=>dt7948.g(this.prototype,"router",[u.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #m=(()=>dt7948.g(this.prototype,"siteSettings",[u.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #f=(()=>dt7948.g(this.prototype,"site",[u.service]))();#s=(()=>void dt7948.i(this,"site"))();static #y=(()=>dt7948.g(this.prototype,"appEvents",[u.service]))();#tY=(()=>void dt7948.i(this,"appEvents"))();static #v=(()=>dt7948.g(this.prototype,"languageNameLookup",[u.service]))();#i7=(()=>void dt7948.i(this,"languageNameLookup"))();static #k=(()=>dt7948.g(this.prototype,"model",[s.tracked]))();#s_=(()=>void dt7948.i(this,"model"))();static #S=(()=>dt7948.g(this.prototype,"multiSelect",[s.tracked],function(){return!1}))();#sy=(()=>void dt7948.i(this,"multiSelect"))();static #A=(()=>dt7948.g(this.prototype,"hasScrolled",[s.tracked],function(){return null}))();#sb=(()=>void dt7948.i(this,"hasScrolled"))();static #M=(()=>dt7948.g(this.prototype,"selectedPostIds",[O.trackedArray],function(){return[]}))();#sv=(()=>void dt7948.i(this,"selectedPostIds"))();queryParams=["filter","username_filters","replies_to_post_number"];static #E=(()=>dt7948.g(this.prototype,"canRemoveTopicFeaturedLink",[(0,o.and)("canEditTopicFeaturedLink","buffered.featured_link")]))();#sw=(()=>void dt7948.i(this,"canRemoveTopicFeaturedLink"))();static #P=(()=>dt7948.g(this.prototype,"showCategoryChooser",[(0,o.not)("model.isPrivateMessage")]))();#sk=(()=>void dt7948.i(this,"showCategoryChooser"))();static #I=(()=>dt7948.g(this.prototype,"hasError",[(0,o.or)("model.errorHtml","model.errorMessage")]))();#sT=(()=>void dt7948.i(this,"hasError"))();static #O=(()=>dt7948.g(this.prototype,"noErrorYet",[(0,o.not)("hasError")]))();#sS=(()=>void dt7948.i(this,"noErrorYet"))();static #R=(()=>dt7948.g(this.prototype,"categories",[(0,o.alias)("site.categoriesList")]))();#sC=(()=>void dt7948.i(this,"categories"))();static #B=(()=>dt7948.g(this.prototype,"selectedPostsCount",[(0,o.alias)("selectedPostIds.length")]))();#sA=(()=>void dt7948.i(this,"selectedPostsCount"))();static #Y=(()=>dt7948.g(this.prototype,"canDeselectAll",[(0,o.alias)("selectedAllPosts")]))();#sD=(()=>void dt7948.i(this,"canDeselectAll"))();static #$=(()=>dt7948.g(this.prototype,"loadedAllPosts",[(0,o.or)("model.postStream.loadedAllPosts","model.postStream.loadingLastPost")]))();#sM=(()=>void dt7948.i(this,"loadedAllPosts"))();editingTopic=!1;enteredAt=null;enteredIndex=null;retrying=!1;userTriggeredProgress=null;username_filters=null;replies_to_post_number=null;filter=null;quoteState=(()=>new I.default)();currentPostId=null;userLastReadPostNumber=null;highestPostNumber=null;_progressIndex=null;_retryInProgress=!1;_retryRateLimited=!1;_newPostsInStream=[];init(){super.init(...arguments),this.appEvents.on("post:show-revision",this,"_showRevision"),this.appEvents.on("post:created",this,()=>{this._removeDeleteOnOwnerReplyBookmarks(),this.appEvents.trigger("post-stream:refresh",{force:!0})})}willDestroy(){super.willDestroy(...arguments),this.appEvents.off("post:show-revision",this,"_showRevision")}get buffered(){return p.default.create({content:this.model})}static #V=(()=>dt7948.n(this.prototype,"buffered",[a.dependentKeyCompat,W]))();updateQueryParams(){let e=this.get("model.postStream.streamFilters");Object.keys(e).length>0?this.setProperties(e):this.setProperties({username_filters:null,filter:null,replies_to_post_number:null})}_titleChanged(){let e=this.get("model.title");(0,d.isEmpty)(e)||this.send("refreshTitle")}static #K=(()=>dt7948.n(this.prototype,"_titleChanged",[(0,c.observes)("model.title","category")]))();showSharedDraftControls(e,t){return e&&t}static #J=(()=>dt7948.n(this.prototype,"showSharedDraftControls",[(0,M.default)("model.postStream.loaded","model.is_shared_draft")]))();showSelectedPostsAtBottom(e,t){return e&&t>3}static #X=(()=>dt7948.n(this.prototype,"showSelectedPostsAtBottom",[(0,M.default)("site.mobileView","model.posts_count")]))();postsToRender(e,t){return this.capabilities.isAndroid?e:t}static #ee=(()=>dt7948.n(this.prototype,"postsToRender",[(0,M.default)("model.postStream.posts","model.postStream.postsWithPlaceholders")]))();androidLoading(e){return this.capabilities.isAndroid&&e}static #ei=(()=>dt7948.n(this.prototype,"androidLoading",[(0,M.default)("model.postStream.loadingFilter")]))();pmPath(e){return this.currentUser&&this.currentUser.pmPath(e)}static #en=(()=>dt7948.n(this.prototype,"pmPath",[(0,M.default)("model")]))();_showRevision(e,t){let i=this.model.get("postStream").postForPostNumber(e);i&&i.version>1&&i.can_view_edit_history&&(0,l.schedule)("afterRender",()=>this.send("showHistory",i,t))}gotoInbox(e){let t=(0,j.userPath)(`${this.get("currentUser.username_lower")}/messages`);e&&(t=`${t}/group/${e}`),j.default.routeTo(t)}selectedQuery(){return e=>this.postSelected(e)}static #ea=(()=>dt7948.n(this.prototype,"selectedQuery",[M.default]))();canEditTopicFeaturedLink(e,t){if(this.currentUser&&0===this.currentUser.trust_level||!this.siteSettings.topic_featured_link_enabled||e)return!1;let i=this.site.get("topic_featured_link_allowed_category_ids");return void 0===i||!i.length||i.includes(t)}static #el=(()=>dt7948.n(this.prototype,"canEditTopicFeaturedLink",[(0,M.default)("model.isPrivateMessage","model.category.id")]))();featuredLinkDomain(e){return(0,N.extractLinkMeta)(e).domain}static #ed=(()=>dt7948.n(this.prototype,"featuredLinkDomain",[(0,M.default)("model")]))();canEditTags(e){return this.site.get("can_tag_topics")&&(!e||this.site.get("can_tag_pms"))}static #ep=(()=>dt7948.n(this.prototype,"canEditTags",[(0,M.default)("model.isPrivateMessage")]))();canSendPms(){return this.currentUser?.can_send_private_messages}static #em=(()=>dt7948.n(this.prototype,"canSendPms",[(0,M.default)("currentUser.can_send_private_messages")]))();minimumRequiredTags(e){return B.default.findById(e)?.minimumRequiredTags||0}static #ef=(()=>dt7948.n(this.prototype,"minimumRequiredTags",[(0,M.default)("buffered.category_id")]))();showBottomTopicMap(e,t,i){let s=e?.filter(e=>3!==e.post_type).length||0,n=!!x.isTesting||t>200;return this.siteSettings.show_bottom_topic_map&&!i&&s>k.MIN_POSTS_COUNT&&n}static #ey=(()=>dt7948.n(this.prototype,"showBottomTopicMap",[(0,M.default)("model.postStream.posts","model.word_count","model.postStream.loadingFilter")]))();_removeDeleteOnOwnerReplyBookmarks(){if(!this.model)return;let e=this.get("model.postStream.posts");e&&e.filter(e=>e.bookmarked&&e.bookmark_auto_delete_preference===U.AUTO_DELETE_PREFERENCES.ON_OWNER_REPLY).forEach(e=>{e.clearBookmark(),this.model.removeBookmark(e.bookmark_id)});let t=this.model.bookmarks.findBy("bookmarkable_type","Topic");t?.auto_delete_preference===U.AUTO_DELETE_PREFERENCES.ON_OWNER_REPLY&&this.model.removeBookmark(t.id)}_forceRefreshPostStream(){this.appEvents.trigger("post-stream:refresh",{force:!0})}_updateSelectedPostIds(e){let t=this._smallActionPostIds();this.selectedPostIds=Array.from(new Set([...this.selectedPostIds,...e.filter(e=>!t.has(e))])),this._forceRefreshPostStream()}_smallActionPostIds(){let e=new Set,t=this.get("model.postStream.posts");if(t&&this.site){let i=this.site.get("post_types.small_action"),s=this.site.get("post_types.whisper");t.forEach(t=>{t.post_type!==i&&(t.cooked||t.post_type!==s)||e.add(t.id)})}return e}_loadPostIds(e){if(this.loadingPostIds)return;let t=this.get("model.postStream"),i=`/t/${this.get("model.id")}/post_ids.json`;return this.set("loadingPostIds",!0),(0,S.ajax)(i,{data:(0,P.deepMerge)({post_number:e.get("post_number")},t.get("streamFilters"))}).then(t=>{t.post_ids.pushObject(e.get("id")),this._updateSelectedPostIds(t.post_ids)}).finally(()=>{this.set("loadingPostIds",!1)})}editTopic(e){e?.preventDefault(),this.get("model.details.can_edit")&&this.set("editingTopic",!0)}static #ev=(()=>dt7948.n(this.prototype,"editTopic",[r.action]))();jumpTop(e){e&&(0,E.wantsNewWindow)(e)||(e?.preventDefault(),j.default.routeTo(this.get("model.firstPostUrl"),{skipIfOnScreen:!1,keepFilter:!0}))}static #ek=(()=>dt7948.n(this.prototype,"jumpTop",[r.action]))();removeFeaturedLink(e){e?.preventDefault(),this.set("buffered.featured_link",null)}static #eS=(()=>dt7948.n(this.prototype,"removeFeaturedLink",[r.action]))();selectAll(e){e?.preventDefault();let t=this._smallActionPostIds();this.selectedPostIds=[...this.get("model.postStream.stream").filter(e=>!t.has(e))],this._forceRefreshPostStream()}static #eA=(()=>dt7948.n(this.prototype,"selectAll",[r.action]))();deselectAll(e){e?.preventDefault(),this.selectedPostIds=[],this._forceRefreshPostStream()}static #eM=(()=>dt7948.n(this.prototype,"deselectAll",[r.action]))();toggleMultiSelect(e){e?.preventDefault(),this.toggleProperty("multiSelect"),this._forceRefreshPostStream()}static #eE=(()=>dt7948.n(this.prototype,"toggleMultiSelect",[r.action]))();topicCategoryChanged(e){this.set("buffered.category_id",e)}static #eP=(()=>dt7948.n(this.prototype,"topicCategoryChanged",[r.action]))();topicTagsChanged(e){this.set("buffered.tags",e)}static #eI=(()=>dt7948.n(this.prototype,"topicTagsChanged",[r.action]))();deletePending(e){return(0,S.ajax)(`/review/${e.id}`,{type:"DELETE"}).then(()=>{this.get("model.pending_posts").removeObject(e)}).catch(C.popupAjaxError)}static #eO=(()=>dt7948.n(this.prototype,"deletePending",[r.action]))();showPostFlags(e){return this.send("showFlags",e)}static #eR=(()=>dt7948.n(this.prototype,"showPostFlags",[r.action]))();openFeatureTopic(){this.send("showFeatureTopic")}static #eB=(()=>dt7948.n(this.prototype,"openFeatureTopic",[r.action]))();selectText(){let{postId:e,buffer:t,opts:i}=this.quoteState,s=this.get("model.postStream").findLoadedPost(e);return(s?h.Promise.resolve(s):this.get("model.postStream").loadPost(e)).then(e=>{let s=this.composer;if(!s.get("model.viewOpen")&&!this.get("model.details.can_create_post"))return void this.send("replyAsNewTopic",e);let n={action:H.default.REPLY,draftSequence:e.get("topic.draft_sequence"),draftKey:e.get("topic.draft_key")};1===e.get("post_number")?n.topic=e.get("topic"):n.post=e;let r=s.get("model.post");r&&r.get("id")!==this.get("post.id")&&(n.post=r);let a=(0,F.buildQuote)(e,t,i);if(n.quote=a,s.get("model.viewOpen"))this.appEvents.trigger("composer:insert-block",a);else if(s.get("model.viewDraft")){let e=s.get("model");e.set("reply",e.get("reply")+` `+a),s.openIfDraft()}else s.open(n)})}static #eY=(()=>dt7948.n(this.prototype,"selectText",[r.action]))();fillGapBefore(e){return this.get("model.postStream").fillGapBefore(e.post,e.gap)}static #e$=(()=>dt7948.n(this.prototype,"fillGapBefore",[r.action]))();fillGapAfter(e){return this.get("model.postStream").fillGapAfter(e.post,e.gap)}static #eV=(()=>dt7948.n(this.prototype,"fillGapAfter",[r.action]))();currentPostChanged(e){let{post:t}=e;if(!t)return;this.set("currentPostId",t.id);let i=t.get("post_number"),s=this.model;s.set("currentPost",i),i>(s.get("last_read_post_number")||0)&&(s.set("last_read_post_id",t.get("id")),s.set("last_read_post_number",i)),this.send("postChangedRoute",i),this._progressIndex=s.get("postStream").progressIndexOfPost(t),this.appEvents.trigger("topic:current-post-changed",{post:t})}static #eK=(()=>dt7948.n(this.prototype,"currentPostChanged",[r.action]))();currentPostScrolled(e){let t=this.get("model.postStream.filteredPostsCount"),i=parseFloat(this._progressIndex+e.percent-1)/t;this.appEvents.trigger("topic:current-post-scrolled",{postIndex:this._progressIndex,percent:Math.max(Math.min(i,1),0)})}static #eJ=(()=>dt7948.n(this.prototype,"currentPostScrolled",[r.action]))();topVisibleChanged(e){let{post:t,refresh:i}=e;if(!t)return;let s=this.get("model.postStream"),n=s.get("posts.firstObject");(!t.get||1!==t.get("post_number"))&&n&&n===t&&s.prependMore().then(()=>i?.())}static #eX=(()=>dt7948.n(this.prototype,"topVisibleChanged",[r.action]))();bottomVisibleChanged(e){let{post:t,refresh:i}=e,s=this.get("model.postStream"),n=s.get("posts.lastObject");n&&n===t&&s.get("canAppendMore")&&(s.appendMore().then(()=>i?.()),i?.())}static #e1=(()=>dt7948.n(this.prototype,"bottomVisibleChanged",[r.action]))();showTopReplies(){return this.get("model.postStream").showTopReplies().then(()=>{this.updateQueryParams()})}static #e3=(()=>dt7948.n(this.prototype,"showTopReplies",[r.action]))();cancelFilter(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.get("model.postStream");if(!e){let i=t.findLoadedPost(this.currentPostId);i?e=i.post_number:t.findPostsByIds([this.currentPostId]).then(t=>{e=t[0].post_number})}t.cancelFilter(),t.refresh({nearPost:e,forceLoad:!0}).then(()=>{j.default.routeTo(this.model.urlForPostNumber(e)),this.updateQueryParams()})}static #e8=(()=>dt7948.n(this.prototype,"cancelFilter",[r.action]))();removeAllowedUser(e){return this.get("model.details").removeAllowedUser(e).then(()=>{this.currentUser.id===e.id&&this.router.transitionTo("userPrivateMessages",e)})}static #e7=(()=>dt7948.n(this.prototype,"removeAllowedUser",[r.action]))();removeAllowedGroup(e){return this.get("model.details").removeAllowedGroup(e)}static #e5=(()=>dt7948.n(this.prototype,"removeAllowedGroup",[r.action]))();toggleArchiveMessage(){let e=this.model;if(!e||e.get("archiving")||!e.isPrivateMessage)return;let t=()=>{(0,D.resetCachedTopicList)(this.session),this.gotoInbox(e.get("inboxGroupName"))};e.get("message_archived")?e.moveToInbox().then(t):e.archiveMessage().then(t)}static #te=(()=>dt7948.n(this.prototype,"toggleArchiveMessage",[r.action]))();deferTopic(){let{screenTrack:e,currentUser:t}=this,i=this.model;e.reset(),e.stop();let s=i.get("isPrivateMessage")?t.pmPath(i):"/";(0,S.ajax)("/t/"+i.get("id")+"/timings.json?last=1",{type:"DELETE"}).then(()=>{this.session.get("highestSeenByTopic")[i.get("id")]=null,j.default.routeTo(s)}).catch(C.popupAjaxError)}static #ti=(()=>dt7948.n(this.prototype,"deferTopic",[r.action]))();editFirstPost(){this.model.firstPost().then(e=>this.send("editPost",e))}static #tn=(()=>dt7948.n(this.prototype,"editFirstPost",[r.action]))();async replyToPost(e){let t=this.composer,i=e?e.get("topic"):this.model,s=this.quoteState,n=this.get("model.postStream");if(this.appEvents.trigger("page:compose-reply",i),!n||!i||!i.get("details.can_create_post"))return;let r=n.findLoadedPost(s.postId),a=(0,F.buildQuote)(r,s.buffer,s.opts);if(s.clear(),t.get("model.topic.id")===i.get("id")&&t.get("model.action")===H.default.REPLY&&e?.get("post_number")!==1)t.set("model.post",e),t.set("model.composeState",H.default.OPEN),this.appEvents.trigger("composer:insert-block",a.trim());else{let s={action:H.default.REPLY,draftKey:i.get("draft_key"),draftSequence:i.get("draft_sequence")};if(a&&(s.quote=a),e&&1!==e.get("post_number")?s.post=e:s.topic=i,!s.quote){let e=await Y.default.get(s.draftKey);e.draft&&(s.reply=JSON.parse(e.draft).reply,s.draftSequence=e.draft_sequence)}t.open(s)}return!1}static #ta=(()=>dt7948.n(this.prototype,"replyToPost",[r.action]))();recoverPost(e){1===e.get("post_number")?this.recoverTopic():e.recover()}static #tl=(()=>dt7948.n(this.prototype,"recoverPost",[r.action]))();deletePost(e,t){if(1===e.get("post_number"))return this.deleteTopic(t);if(!t?.force_destroy&&!e.can_delete||t?.force_destroy&&!e.can_permanently_delete)return!1;let i=this.currentUser,s=()=>this.appEvents.trigger("post-stream:refresh"),n=e.get("reply_count")>0,r=this.get("model.postStream.posts");if(!i.get("staff")||!n)return e.destroy(i,t).then(s).catch(t=>{(0,C.popupAjaxError)(t),e.undoDeleteState()});(0,S.ajax)(`/posts/${e.id}/reply-ids.json`).then(n=>{if(0===n.length)return e.destroy(i,t).then(s).catch(t=>{(0,C.popupAjaxError)(t),e.undoDeleteState()});let a=[],o=n.filter(e=>1===e.level).map(e=>e.id);a.push({label:(0,V.i18n)("post.controls.delete_replies.direct_replies",{count:o.length}),class:"btn-primary",action:()=>{r.forEach(t=>(t===e||o.includes(t.id))&&t.setDeletedState(i)),q.default.deleteMany([e.id,...o]).then(s).catch(C.popupAjaxError)}}),n.some(e=>e.level>1)&&a.push({label:(0,V.i18n)("post.controls.delete_replies.all_replies",{count:n.length}),action:()=>{r.forEach(t=>(t===e||n.some(e=>e.id===t.id))&&t.setDeletedState(i)),q.default.deleteMany([e.id,...n.map(e=>e.id)]).then(s).catch(C.popupAjaxError)}}),a.push({label:(0,V.i18n)("post.controls.delete_replies.just_the_post"),action:()=>{e.destroy(i,t).then(s).catch(t=>{(0,C.popupAjaxError)(t),e.undoDeleteState()})}}),a.push({label:(0,V.i18n)("cancel"),class:"btn-flat"}),this.dialog.alert({title:(0,V.i18n)("post.controls.delete_replies.confirm"),buttons:a})})}static #td=(()=>dt7948.n(this.prototype,"deletePost",[r.action]))();deletePostWithConfirmation(e,t){e.can_delete&&this.dialog.yesNoConfirm({message:(0,V.i18n)("post.confirm_delete"),didConfirm:()=>this.send("deletePost",e,t)})}static #tp=(()=>dt7948.n(this.prototype,"deletePostWithConfirmation",[r.action]))();permanentlyDeletePost(e){return this.dialog.yesNoConfirm({message:(0,V.i18n)("post.controls.permanently_delete_confirmation"),didConfirm:()=>{this.send("deletePost",e,{force_destroy:!0})}})}static #tm=(()=>dt7948.n(this.prototype,"permanentlyDeletePost",[r.action]))();editPost(e){if(!this.currentUser)return this.dialog.alert((0,V.i18n)("post.controls.edit_anonymous"));if(!e.can_edit)return!1;let t=this.model;if(e?.is_localized&&this.siteSettings.content_localization_enabled){if(!this.currentUser.can_localize_content)return this._openComposerForEdit(t,e);let i=this.languageNameLookup.getLanguageName(e.language);return this.dialog.alert({message:(0,V.i18n)("post.localizations.edit_warning.message",{language:i}),buttons:[{label:(0,V.i18n)("post.localizations.edit_warning.action_original"),class:"btn-primary",action:()=>this._openComposerForEdit(t,e)},{label:(0,V.i18n)("post.localizations.edit_warning.action_translation"),class:"btn-default",action:()=>this._openComposerForEditTranslation(t,e)}]})}return this._openComposerForEdit(t,e)}static #tf=(()=>dt7948.n(this.prototype,"editPost",[r.action]))();_openComposerForEdit(e,t){let i=!1,s=this.get("site.shared_drafts_category_id");s&&s===e.get("category.id")&&(i=t.get("firstPost"));let n={post:t,action:i?H.default.EDIT_SHARED_DRAFT:H.default.EDIT,draftKey:t.get("topic.draft_key"),draftSequence:t.get("topic.draft_sequence")};i&&(n.destinationCategoryId=e.get("destination_category_id"));let{composer:r}=this,a=r.get("model");return n.post.id===a?.post?.id&&n.action===a?.action&&n.draftKey===a?.draftKey?r.unshrink():r.open(n)}async _openComposerForEditTranslation(e,t){let{raw:i}=await (0,S.ajax)(`/posts/${t.id}.json`),s={action:H.default.ADD_TRANSLATION,draftKey:"translation",warningsDisabled:!0,hijackPreview:{component:m.default,model:{postLocale:t.locale,rawPost:i}},post:t,selectedTranslationLocale:this.currentUser?.effective_locale};await this.composer.open(s)}toggleBookmark(e){if(!this.currentUser)return this.dialog.alert((0,V.i18n)("bookmarks.not_bookmarked"));if(!e)return this._toggleTopicLevelBookmark().then(e=>{e&&e.forEach(e=>this.appEvents.trigger("post-stream:refresh",{id:e}))});{let t=this.model.bookmarks.find(t=>t.bookmarkable_id===e.id&&"Post"===t.bookmarkable_type);return this._modifyPostBookmark(t||U.default.createFor(this.currentUser,"Post",e.id),e)}}static #ty=(()=>dt7948.n(this.prototype,"toggleBookmark",[r.action]))();jumpToIndex(e){this._jumpToIndex(e)}static #tv=(()=>dt7948.n(this.prototype,"jumpToIndex",[r.action]))();jumpToDate(e){this._jumpToDate(e)}static #tk=(()=>dt7948.n(this.prototype,"jumpToDate",[r.action]))();jumpToPostPrompt(){this.modal.show(w.default,{model:{topic:this.model,jumpToIndex:e=>this.send("jumpToIndex",e),jumpToDate:e=>this.send("jumpToDate",e)}})}static #tS=(()=>dt7948.n(this.prototype,"jumpToPostPrompt",[r.action]))();jumpToPost(e){this._jumpToPostNumber(e)}static #tC=(()=>dt7948.n(this.prototype,"jumpToPost",[r.action]))();jumpBottom(){let e=this.model.highest_post_number;document.getElementById(`post_${e}`)||j.default.routeTo(this.get("model.lastPostUrl"),{skipIfOnScreen:!1,jumpEnd:!1,keepFilter:!0})}static #tA=(()=>dt7948.n(this.prototype,"jumpBottom",[r.action]))();jumpEnd(){this.appEvents.trigger("topic:jump-to-post",this.get("model.highest_post_number")),j.default.routeTo(this.get("model.lastPostUrl"),{jumpEnd:!0,keepFilter:!0})}static #tD=(()=>dt7948.n(this.prototype,"jumpEnd",[r.action]))();jumpUnread(){this._jumpToPostId(this.get("model.last_read_post_id"))}static #tM=(()=>dt7948.n(this.prototype,"jumpUnread",[r.action]))();jumpToPostId(e){this._jumpToPostId(e)}static #tx=(()=>dt7948.n(this.prototype,"jumpToPostId",[r.action]))();togglePostSelection(e){let t=this.selectedPostIds;t.includes(e.id)?t.removeObject(e.id):t.addObject(e.id)}static #tE=(()=>dt7948.n(this.prototype,"togglePostSelection",[r.action]))();selectReplies(e){(0,S.ajax)(`/posts/${e.id}/reply-ids.json`).then(t=>{let i=t.map(e=>e.id);this.selectedPostIds=[...new Set([...this.selectedPostIds,e.id,...i])],this._forceRefreshPostStream()})}static #tL=(()=>dt7948.n(this.prototype,"selectReplies",[r.action]))();selectBelow(e){if(this.get("model.postStream.isMegaTopic"))this._loadPostIds(e);else{let t=[...this.get("model.postStream.stream")],i=t.slice(t.indexOf(e.id));this._updateSelectedPostIds(i)}}static #tP=(()=>dt7948.n(this.prototype,"selectBelow",[r.action]))();deleteSelected(){let e=this.currentUser;this.dialog.yesNoConfirm({message:(0,V.i18n)("post.delete.confirm",{count:this.selectedPostsCount}),didConfirm:()=>{if(this.selectedAllPosts)return this.deleteTopic();q.default.deleteMany(this.selectedPostIds),this.get("model.postStream.posts").forEach(t=>this.postSelected(t)&&t.setDeletedState(e)),this.send("toggleMultiSelect")}})}static #tF=(()=>dt7948.n(this.prototype,"deleteSelected",[r.action]))();mergePosts(){this.dialog.yesNoConfirm({message:(0,V.i18n)("post.merge.confirm",{count:this.selectedPostsCount}),didConfirm:()=>{q.default.mergePosts(this.selectedPostIds),this.send("toggleMultiSelect")}})}static #sx=(()=>dt7948.n(this.prototype,"mergePosts",[r.action]))();changePostOwner(e){this.selectedPostIds=[e.id],this.send("changeOwner")}static #sE=(()=>dt7948.n(this.prototype,"changePostOwner",[r.action]))();lockPost(e){return e.updatePostField("locked",!0)}static #sL=(()=>dt7948.n(this.prototype,"lockPost",[r.action]))();unlockPost(e){return e.updatePostField("locked",!1)}static #sP=(()=>dt7948.n(this.prototype,"unlockPost",[r.action]))();grantBadge(e){this.selectedPostIds=[e.id],this.send("showGrantBadgeModal")}static #sF=(()=>dt7948.n(this.prototype,"grantBadge",[r.action]))();async changeNotice(e){await this.modal.show(_.default,{model:{post:e}})}static #sI=(()=>dt7948.n(this.prototype,"changeNotice",[r.action]))();filterParticipant(e){this.get("model.postStream").filterParticipant(e.username).then(()=>this.updateQueryParams)}static #sN=(()=>dt7948.n(this.prototype,"filterParticipant",[r.action]))();cancelEditingTopic(){this.set("editingTopic",!1),this.buffered.discardChanges()}static #sO=(()=>dt7948.n(this.prototype,"cancelEditingTopic",[r.action]))();finishedEditingTopic(){if(!this.editingTopic)return;let e=this.get("buffered.buffer");$.default.update(this.model,e,{fastEdit:!0}).then(()=>{this.buffered.discardChanges(),this.set("editingTopic",!1)}).catch(C.popupAjaxError)}static #sj=(()=>dt7948.n(this.prototype,"finishedEditingTopic",[r.action]))();expandHidden(e){return e.expandHidden()}static #sR=(()=>dt7948.n(this.prototype,"expandHidden",[r.action]))();toggleVisibility(){this.model.toggleStatus("visible")}static #sU=(()=>dt7948.n(this.prototype,"toggleVisibility",[r.action]))();toggleClosed(){let e=this.model;this.model.toggleStatus("closed").then(t=>{e.set("topic_status_update",t.topic_status_update)})}static #sB=(()=>dt7948.n(this.prototype,"toggleClosed",[r.action]))();makeBanner(){this.model.makeBanner()}static #sH=(()=>dt7948.n(this.prototype,"makeBanner",[r.action]))();removeBanner(){this.model.removeBanner()}static #sY=(()=>dt7948.n(this.prototype,"removeBanner",[r.action]))();togglePinned(){let e=!this.get("model.pinned_at"),t=this.model,i=this.get("model.pinnedInCategoryUntil");return t.setProperties({pinned_at:e?moment():null,pinned_globally:!1,pinned_until:e?i:null}),t.saveStatus("pinned",e,i)}static #sq=(()=>dt7948.n(this.prototype,"togglePinned",[r.action]))();pinGlobally(){let e=this.model,t=this.get("model.pinnedGloballyUntil");return e.setProperties({pinned_at:moment(),pinned_globally:!0,pinned_until:t}),e.saveStatus("pinned_globally",!0,t)}static #s$=(()=>dt7948.n(this.prototype,"pinGlobally",[r.action]))();toggleArchived(){this.model.toggleStatus("archived")}static #sz=(()=>dt7948.n(this.prototype,"toggleArchived",[r.action]))();clearPin(){this.model.clearPin()}static #sV=(()=>dt7948.n(this.prototype,"clearPin",[r.action]))();togglePinnedForUser(){if(this.get("model.pinned_at")){let e=this.model;e.get("pinned")?e.clearPin():e.rePin()}}static #sW=(()=>dt7948.n(this.prototype,"togglePinnedForUser",[r.action]))();replyAsNewTopic(e){let t,i=this.composer,{quoteState:s}=this,n=(0,F.buildQuote)(e,s.buffer,s.opts);if(s.clear(),this.get("model.isPrivateMessage")){let i=this.get("model.details.allowed_users"),s=this.get("model.details.allowed_groups"),n=[];i.forEach(e=>n.push(e.username)),s.forEach(e=>n.push(e.name)),n=n.join(),t={action:H.default.PRIVATE_MESSAGE,archetypeId:"private_message",draftKey:e.topic.draft_key,recipients:n}}else t={action:H.default.CREATE_TOPIC,draftKey:e.topic.draft_key,topicCategoryId:this.get("model.category.permission")&&this.get("model.category.id"),prioritizedCategoryId:this.get("model.category.id")};i.open(t).then(()=>{let t=(0,R.escapeExpression)(this.model.title),s=`${location.protocol}//${location.host}${e.url}`,r=`[${t}](${s})`,a=`${(0,V.i18n)("post.continue_discussion",{postLink:r})} ${n}`;i.model.prependText(a,{new_line:!0})})}static #sK=(()=>dt7948.n(this.prototype,"replyAsNewTopic",[r.action]))();retryLoading(){this.set("retrying",!0);let e=()=>this.set("retrying",!1);this.get("model.postStream").refresh().then(e,e)}static #sG=(()=>dt7948.n(this.prototype,"retryLoading",[r.action]))();toggleWiki(e){return e.updatePostField("wiki",!e.get("wiki"))}static #sJ=(()=>dt7948.n(this.prototype,"toggleWiki",[r.action]))();togglePostType(e){let t=this.site.get("post_types.regular"),i=this.site.get("post_types.moderator_action");return e.updatePostField("post_type",e.get("post_type")===i?t:i)}static #sQ=(()=>dt7948.n(this.prototype,"togglePostType",[r.action]))();rebakePost(e){return e.rebake()}static #sX=(()=>dt7948.n(this.prototype,"rebakePost",[r.action]))();unhidePost(e){return e.unhide()}static #sZ=(()=>dt7948.n(this.prototype,"unhidePost",[r.action]))();convertToPublicTopic(){this.modal.show(y.default,{model:{topic:this.model}})}static #s1=(()=>dt7948.n(this.prototype,"convertToPublicTopic",[r.action]))();convertToPrivateMessage(){this.model.convertTopic("private").then(()=>window.location.reload()).catch(C.popupAjaxError)}static #s0=(()=>dt7948.n(this.prototype,"convertToPrivateMessage",[r.action]))();resetBumpDate(){this.model.resetBumpDate()}static #s3=(()=>dt7948.n(this.prototype,"resetBumpDate",[r.action]))();removeTopicTimer(e,t){z.default.update(this.get("model.id"),null,null,e,null).then(()=>this.set(`model.${t}`,r.default.create({}))).catch(e=>(0,C.popupAjaxError)(e))}static #s2=(()=>dt7948.n(this.prototype,"removeTopicTimer",[r.action]))();updateTopicPageQueryParams(){this.updateQueryParams()}static #s8=(()=>dt7948.n(this.prototype,"updateTopicPageQueryParams",[r.action]))();_jumpToIndex(e){let t=this.get("model.postStream");if(t.get("isMegaTopic"))this._jumpToPostNumber(e);else{let i=t.get("stream"),s=Math.max(1,Math.min(i.length,e));this._jumpToPostId(i[s-1])}}_jumpToDate(e){let t=this.get("model.postStream");t.loadNearestPostToDate(e).then(e=>{j.default.routeTo(this.model.urlForPostNumber(e.get("post_number")))}).catch(()=>{this._jumpToIndex(t.get("topic.highest_post_number"))})}_jumpToPostNumber(e){let t=this.get("model.postStream"),i=t.get("posts").findBy("post_number",e);i?j.default.routeTo(this.model.urlForPostNumber(i.get("post_number"))):t.loadPostByPostNumber(e).then(e=>{j.default.routeTo(this.model.urlForPostNumber(e.get("post_number")))})}_jumpToPostId(e){if(!e)return void console.warn("jump-post code broken - requested an index outside the stream array");this.appEvents.trigger("topic:jump-to-post",e);let t=this.model,i=t.get("postStream"),s=i.findLoadedPost(e);s?j.default.routeTo(t.urlForPostNumber(s.get("post_number")),{keepFilter:!0}):i.findPostsByIds([e]).then(e=>{j.default.routeTo(t.urlForPostNumber(e[0].get("post_number")),{keepFilter:!0})})}_modifyTopicBookmark(e){this.modal.show(f.default,{model:{bookmark:new A.BookmarkFormData(e),afterSave:t=>{this._syncBookmarks(t.saveData),this.model.set("bookmarking",!1),this.model.set("bookmarked",!0),this.model.incrementProperty("bookmarksWereChanged"),this.appEvents.trigger("bookmarks:changed",t.saveData,e.attachedTo())},afterDelete:(e,t)=>{this.model.removeBookmark(t)}}})}_modifyPostBookmark(e,t){this.modal.show(f.default,{model:{bookmark:new A.BookmarkFormData(e),afterSave:e=>(this._syncBookmarks(e),this.model.set("bookmarking",!1),t.createBookmark(e),this.model.afterPostBookmarked(t,e),[t.id]),afterDelete:(e,i)=>{this.model.removeBookmark(i),t.deleteBookmark(e)}}}).then(i=>{i&&(i.closeWithoutSaving||i.initiatedBy===g.CLOSE_INITIATED_BY_ESC||i.initiatedBy===g.CLOSE_INITIATED_BY_BUTTON)&&t.appEvents.trigger("post-stream:refresh",{id:e.bookmarkable_id})})}_syncBookmarks(e){this.model.bookmarks||this.model.set("bookmarks",[]);let t=this.model.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.model.bookmarks.pushObject(U.default.create(e))}async _toggleTopicLevelBookmark(){if(this.model.bookmarking)return h.Promise.resolve();if(this.model.bookmarkCount>1)return this._maybeClearAllBookmarks();if(1===this.model.bookmarkCount){let e=this.model.bookmarks.findBy("bookmarkable_type","Topic");if(e)return this._modifyTopicBookmark(e);{let e=this.model.bookmarks[0],t=await this.model.postById(e.bookmarkable_id);return this._modifyPostBookmark(e,t)}}if(0===this.model.bookmarkCount)return this._modifyTopicBookmark(U.default.createFor(this.currentUser,"Topic",this.model.id))}_maybeClearAllBookmarks(){return new h.Promise(e=>{this.dialog.yesNoConfirm({message:(0,V.i18n)("bookmarks.confirm_clear"),didConfirm:()=>this.model.deleteBookmarks().then(()=>e(this.model.clearBookmarks())).catch(C.popupAjaxError).finally(()=>{this.model.set("bookmarking",!1)}),didCancel:()=>{this.model.set("bookmarking",!1),e()}})})}togglePinnedState(){this.send("togglePinnedForUser")}print(){this.siteSettings.max_prints_per_hour_per_user>0&&window.open(this.get("model.printUrl"),"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width=600,height=315")}selectedPosts(e,t){return e.map(e=>t.find(t=>t.id===e)).filter(e=>void 0!==e)}static #s4=(()=>dt7948.n(this.prototype,"selectedPosts",[(0,M.default)("selectedPostIds","model.postStream.posts","selectedPostIds.[]","model.postStream.posts.[]")]))();selectedPostsUsername(e,t){if(t.length<1||e>t.length)return;let i=t[0].username;return t.every(e=>e.username===i)?i:void 0}static #s7=(()=>dt7948.n(this.prototype,"selectedPostsUsername",[(0,M.default)("selectedPostsCount","selectedPosts","selectedPosts.[]")]))();selectedAllPosts(e,t,i,s){return t?e>=s:e>=i}static #s9=(()=>dt7948.n(this.prototype,"selectedAllPosts",[(0,M.default)("selectedPostsCount","model.postStream.isMegaTopic","model.postStream.stream.length","model.posts_count")]))();canSelectAll(e,t){return!t&&!e}static #s5=(()=>dt7948.n(this.prototype,"canSelectAll",[(0,M.default)("selectedAllPosts","model.postStream.isMegaTopic")]))();canDeleteSelected(e,t,i,s){return t>0&&(i&&e||s.every(e=>e.can_delete))}static #s6=(()=>dt7948.n(this.prototype,"canDeleteSelected",[(0,M.default)("currentUser.staff","selectedPostsCount","selectedAllPosts","selectedPosts","selectedPosts.[]")]))();canMergeTopic(e,t){return e&&t>0}static #ne=(()=>dt7948.n(this.prototype,"canMergeTopic",[(0,M.default)("model.details.can_move_posts","selectedPostsCount")]))();canChangeOwner(e,t,i,s,n){return(e||i&&t)&&s>0&&void 0!==n}static #nt=(()=>dt7948.n(this.prototype,"canChangeOwner",[(0,M.default)("currentUser.admin","currentUser.staff","siteSettings.moderators_change_post_ownership","selectedPostsCount","selectedPostsUsername")]))();canMergePosts(e,t,i){return e>1&&void 0!==t&&i.every(e=>e.can_delete)}static #ni=(()=>dt7948.n(this.prototype,"canMergePosts",[(0,M.default)("selectedPostsCount","selectedPostsUsername","selectedPosts","selectedPosts.[]")]))();_multiSelectChanged(){this.selectedPostIds=[]}static #ns=(()=>dt7948.n(this.prototype,"_multiSelectChanged",[(0,c.observes)("multiSelect")]))();postSelected(e){return this.selectedAllPost||this.selectedPostIds.includes(e.id)}static #nn=(()=>dt7948.n(this.prototype,"postSelected",[M.bind]))();loadingHTML(){return T.spinnerHTML}static #nr=(()=>dt7948.n(this.prototype,"loadingHTML",[M.default]))();recoverTopic(){this.model.recover()}static #na=(()=>dt7948.n(this.prototype,"recoverTopic",[r.action]))();buildQuoteMarkdown(){let{postId:e,buffer:t,opts:i}=this.quoteState,s=this.get("model.postStream").findLoadedPost(e);return(s?h.Promise.resolve(s):this.get("model.postStream").loadPost(e)).then(e=>(0,F.buildQuote)(e,t,i))}static #no=(()=>dt7948.n(this.prototype,"buildQuoteMarkdown",[r.action]))();deleteTopic(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.force_destroy)return this.model.destroy(this.currentUser,e);this.model.views>this.siteSettings.min_topic_views_for_delete_confirm?this.deleteTopicModal():this.model.destroy(this.currentUser,e)}static #nl=(()=>dt7948.n(this.prototype,"deleteTopic",[r.action]))();deleteTopicModal(){this.modal.show(b.default,{model:{topic:this.model}})}retryOnRateLimit(e,t,i){let s=this.get("model.id");if((i=i||s)===s&&!this._retryRateLimited&&!(e<=0)){if(this._retryInProgress)return void(0,L.default)(()=>{this.retryOnRateLimit(e,t,i)},100);this._retryInProgress=!0,t().catch(s=>{let n=s.jqXHR;if(n&&429===n.status&&n.responseJSON&&n.responseJSON.extras&&n.responseJSON.extras.wait_seconds){let s=n.responseJSON.extras.wait_seconds;s<5&&(s=5),this._retryRateLimited=!0,(0,L.default)(()=>{this._retryRateLimited=!1,this.retryOnRateLimit(e-1,t,i)},1e3*s)}}).finally(()=>{this._retryInProgress=!1})}}subscribe(){this.unsubscribe(),this.messageBus.subscribe(`/topic/${this.get("model.id")}`,this.onMessage,this.get("model.message_bus_last_id"))}unsubscribe(){this.get("model.id")&&this.messageBus.unsubscribe("/topic/*",this.onMessage)}onMessage(e){let t=this.model,i=e=>this.appEvents.trigger("post-stream:refresh",e);if((0,d.isPresent)(e.notification_level_change)){t.set("details.notification_level",e.notification_level_change),t.set("details.notifications_reason_id",e.notifications_reason_id);return}let s=this.get("model.postStream");if(e.reload_topic)return void t.reload().then(()=>{this.send("postChangedRoute",t.get("post_number")||1),this.appEvents.trigger("header:update-topic",t),e.refresh_stream&&s.refresh()});switch(e.type){case"acted":s.triggerChangedPost(e.id,e.updated_at,{preserveCooked:!0}).then(()=>i({id:e.id,refreshLikes:!0}));break;case"read":s.triggerReadPost(e.id,e.readers_count).then(()=>i({id:e.id,refreshLikes:!0}));break;case"liked":case"unliked":s.triggerLikedPost(e.id,e.likes_count,e.user_id,e.type).then(()=>i({id:e.id,refreshLikes:!0}));break;case"revised":case"rebaked":s.triggerChangedPost(e.id,e.updated_at).then(()=>i({id:e.id}));break;case"deleted":s.triggerDeletedPost(e.id).then(()=>i({id:e.id}));break;case"destroyed":s.triggerDestroyedPost(e.id).then(()=>i({id:e.id}));break;case"recovered":s.triggerRecoveredPost(e.id).then(()=>i({id:e.id}));break;case"created":this._newPostsInStream.push(e.id),this.retryOnRateLimit(4,()=>{let e=this._newPostsInStream;return this._newPostsInStream=[],s.triggerNewPostsInStream(e,{background:!0}).then(()=>i()).catch(t=>{throw this._newPostsInStream=e.concat(this._newPostsInStream),t})}),this.get("currentUser.id")!==e.user_id&&this.documentTitle.incrementBackgroundContextCount();break;case"move_to_inbox":t.set("message_archived",!1);break;case"archived":t.set("message_archived",!0);break;case"stats":{let n=!1;["last_posted_at","like_count","posts_count"].forEach(i=>{let s=e[i];void 0!==s&&(t.set(i,s),n=!0)}),e.last_poster&&(t.details.set("last_poster",e.last_poster),n=!0),n&&s.triggerChangedTopicStats().then(e=>i({id:e}));break}case"remove_allowed_user":this.router.transitionTo("userPrivateMessages",this.currentUser);break;default:{let t=K[e.type];t?t(this,e):console.warn("unknown topic bus message type",e)}}}static #nu=(()=>dt7948.n(this.prototype,"onMessage",[M.bind]))();reply(){this.replyToPost()}readPosts(e,t){let i=this.model,s=i.get("postStream");if(i.get("id")===e&&(s.get("posts").forEach(e=>{!e.read&&t.includes(e.post_number)&&(e.set("read",!0),this.appEvents.trigger("post-stream:refresh",{id:e.get("id")}))}),this.siteSettings.automatically_unpin_topics&&this.currentUser&&this.currentUser.user_option.automatically_unpin_topics)){let e=Math.max(...t);i.get("pinned")&&e>=i.get("highest_post_number")&&(0,l.next)(()=>i.clearPin())}}}},5429:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(24698),n=i(40779),r=i(4089),a=i(66530),o=i(13744),l=i(58219),u=i(11811),d=i(83883),c=i(76586),p=i(20559),h=i(72172),m=i(78188),g=i(49604),f=i(11289),_=i(57364),y=i(9348),b=i(55888);class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"composer",[o.service]))();#t4=(()=>void dt7948.i(this,"composer"))();static #i=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #n=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #a=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #l=(()=>dt7948.g(this.prototype,"postLocalizations",[n.tracked],function(){return null}))();#nd=(()=>void dt7948.i(this,"postLocalizations"))();static #d=(()=>dt7948.g(this.prototype,"loading",[n.tracked],function(){return!1}))();#ik=(()=>void dt7948.i(this,"loading"))();constructor(){super(...arguments),this.loadPostLocalizations()}async loadPostLocalizations(){this.loading=!0;try{let{post_localizations:e}=await g.default.find(this.args.model.post.id);this.postLocalizations=e,this.loading=!1}catch(e){(0,h.popupAjaxError)(e)}}async editLocalization(e){if(!this.currentUser||!this.siteSettings.content_localization_enabled||!this.currentUser.can_localize_content)return;this.args.closeModal();let t=this.args.model.post?.locale,{raw:i}=await (0,p.ajax)(`/posts/${this.args.model.post.id}.json`),s={action:m.default.ADD_TRANSLATION,draftKey:"translation",warningsDisabled:!0,hijackPreview:{component:d.default,model:{postLocale:t,rawPost:i}},post:this.args.model.post,selectedTranslationLocale:e.locale};await this.composer.open(s)}static #p=(()=>dt7948.n(this.prototype,"editLocalization",[a.action]))();async deleteLocalization(e){try{await g.default.destroy(this.args.model.post.id,e),this.args.model.post.firstPost&&await f.default.destroy(this.args.model.post.topic_id,e)}catch(e){(0,h.popupAjaxError)(e)}finally{window.location.reload()}}static #m=(()=>dt7948.n(this.prototype,"deleteLocalization",[a.action]))();delete(e){return this.dialog.yesNoConfirm({message:(0,_.i18n)("post.localizations.modal.confirm_delete",{languageCode:e}),didConfirm:()=>this.deleteLocalization(e)})}static #f=(()=>dt7948.n(this.prototype,"delete",[a.action]))();static #y=(()=>(0,y.setComponentTemplate)((0,b.createTemplateFactory)({id:"Ew5ulQOo",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"post-translations-modal"]],[["@title","@closeModal"],[[28,[32,1],["post.localizations.modal.title"],null],[30,1]]],[["body"],[[[[1,"\\n "],[8,[32,2],null,[["@size","@condition"],["large",[30,0,["loading"]]]],null],[1,"\\n\\n"],[41,[30,0,["postLocalizations"]],[[[1," "],[10,"table"],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"tr"],[12],[1,"\\n "],[10,"th"],[12],[1,[28,[32,1],["post.localizations.table.locale"],null]],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,1],["post.localizations.table.actions"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["postLocalizations"]]],null]],null],null,[[[1," "],[10,"tr"],[12],[1,"\\n "],[10,"td"],[14,0,"post-translations-modal__locale"],[12],[1,[30,2,["locale"]]],[13],[1,"\\n "],[10,"td"],[14,0,"post-translations-modal__edit-action"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn-primary btn-transparent"]],[["@icon","@label","@action"],["pencil","post.localizations.table.edit",[28,[32,4],[[30,0,["editLocalization"]],[30,2]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"post-translations-modal__delete-action"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn-danger btn-transparent"]],[["@icon","@label","@action"],["trash-can","post.localizations.table.delete",[28,[32,4],[[30,0,["delete"]],[30,2,["locale"]]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@closeModal","localization"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/post-translations.js",scope:()=>[c.default,_.i18n,l.default,u.default,r.fn],isStrictMode:!0}),this))()}},5494:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(24698);i(40779);var n=i(4089),r=i(66530),a=i(13744),o=i(57028),l=i(34731),u=i(83241),d=i(29385),c=i(57364),p=i(39895),h=i(64682),m=i(90043),g=i(9348),f=i(55888);let _=(0,i(69853).A)(i(40779)).cached;class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#tq=(()=>void dt7948.i(this,"modal"))();static #n=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #a=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #l=(()=>dt7948.g(this.prototype,"topicTrackingState",[a.service]))();#nc=(()=>void dt7948.i(this,"topicTrackingState"))();constructor(){super(...arguments),this.callbackId=this.topicTrackingState.onStateChange(()=>{this.sectionLinks.forEach(e=>{e.refreshCounts&&e.refreshCounts()})})}willDestroy(){super.willDestroy(...arguments),this.topicTrackingState.offStateChange(this.callbackId)}get sectionLinks(){let e=[];for(let t of this.currentUser.sidebarTags.length>0?this.currentUser.sidebarTags:this.site.navigation_menu_site_top_tags||[])t.pm_only?e.push(new u.default({tag:t,currentUser:this.currentUser})):e.push(new d.default({tag:t,topicTrackingState:this.topicTrackingState,currentUser:this.currentUser}));return e}static #d=(()=>dt7948.n(this.prototype,"sectionLinks",[_]))();get shouldDisplayDefaultConfig(){return this.currentUser.admin&&!this.hasDefaultSidebarTags}get hasDefaultSidebarTags(){return(0,l.hasDefaultSidebarTags)(this.siteSettings)}showModal(){this.modal.show(o.default)}static #p=(()=>dt7948.n(this.prototype,"showModal",[r.action]))();static #m=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"cxAgl6p5",block:'[[[1,"\\n "],[8,[32,0],null,[["@sectionName","@headerLinkText","@headerActions","@headerActionsIcon","@collapsable"],["tags",[28,[32,1],["sidebar.sections.tags.header_link_text"],null],[28,[32,2],[[28,[32,3],null,[["action","title"],[[30,0,["showModal"]],[28,[32,1],["sidebar.sections.tags.header_action_title"],null]]]]],null],"pencil",[30,1]]],[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["sectionLinks"]]],null]],null],null,[[[1," "],[8,[32,4],[[16,"data-tag-name",[30,2,["tagName"]]]],[["@route","@title","@content","@currentWhen","@prefixType","@prefixValue","@prefixColor","@badgeText","@models","@suffixCSSClass","@suffixValue","@suffixType"],[[30,2,["route"]],[30,2,["title"]],[30,2,["text"]],[30,2,["currentWhen"]],[30,2,["prefixType"]],[30,2,["prefixValue"]],[30,2,["prefixColor"]],[30,2,["badgeText"]],[30,2,["models"]],[30,2,["suffixCSSClass"]],[30,2,["suffixValue"]],[30,2,["suffixType"]]]],null],[1,"\\n"]],[2]],null],[1,"\\n "],[8,[32,5],null,null,null],[1,"\\n\\n"],[41,[30,0,["shouldDisplayDefaultConfig"]],[[[1," "],[8,[32,4],null,[["@linkName","@content","@prefixType","@prefixValue","@route","@model","@query"],["configure-default-navigation-menu-tags",[28,[32,1],["sidebar.sections.tags.configure_defaults"],null],"icon","wrench","adminSiteSettingsCategory","sidebar",[28,[32,3],null,[["filter"],["default_navigation_menu_tags"]]]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@collapsable","sectionLink"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/user/tags-section.js",scope:()=>[h.default,c.i18n,n.array,n.hash,m.default,p.default],isStrictMode:!0}),this))()}},5502:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(13744),n=i(20559),r=i(8106),a=i(31552),o=i(65677),l=i(57364);class u extends o.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[s.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();titleToken(){return(0,l.i18n)("invites.accept_title")}model(e){return a.default.get("invite_info")?a.default.getAndRemove("invite_info").then(t=>(0,r.deepMerge)(e,t)):(0,n.ajax)(`/invites/${e.token}`).then(t=>(0,r.deepMerge)(e,t))}activate(){super.activate(...arguments),this.siteSettings.login_required&&this.controllerFor("application").setProperties({showSiteHeader:!1})}deactivate(){super.deactivate(...arguments),this.siteSettings.login_required&&this.controllerFor("application").setProperties({showSiteHeader:!0})}setupController(e,t){super.setupController(...arguments),e.accountUsername=t.username,t.user_fields&&e.userFields.forEach(e=>{t.user_fields[e.field.id]&&(e.value=t.user_fields[e.field.id])})}}},5516:function(e,t,i){!function(e,t){t(i(4387))}(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-sa",{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]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})})},5539:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(58452),n=i(9348),r=i(55888),a=i(74975);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"))},5566:(e,t,i)=>{var s=i(63040);t.operation=function(e){return new s(t.timeouts(e),{forever:e&&(e.forever||e.retries===1/0),unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})},t.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1e3,maxTimeout:1/0,randomize:!1};for(var i in e)t[i]=e[i];if(t.minTimeout>t.maxTimeout)throw Error("minTimeout is greater than maxTimeout");for(var s=[],n=0;n{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(66530),n=i(13744),r=i(1848),a=i(57364),o=i(75443),l=i(86558);let u=dt7948.c(class extends o.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#tH=(()=>void dt7948.i(this,"router"))();get content(){let e=[];return this.email.primary&&e.push({id:"updateEmail",icon:"pencil",name:(0,a.i18n)("user.email.update_email"),description:""}),!this.email.primary&&this.email.confirmed&&e.push({id:"setPrimaryEmail",icon:"star",name:(0,a.i18n)("user.email.set_primary"),description:""}),this.email.primary||e.push({id:"destroyEmail",icon:"xmark",name:(0,a.i18n)("user.email.destroy"),description:""}),e}static #i=(()=>dt7948.n(this.prototype,"content",[(0,s.computed)("email")]))();onChange(e){switch(e){case"updateEmail":this.router.transitionTo("preferences.email");break;case"setPrimaryEmail":this.setPrimaryEmail(this.email.email);break;case"destroyEmail":this.destroyEmail(this.email.email)}}static #n=(()=>dt7948.n(this.prototype,"onChange",[s.action]))()},[(0,l.selectKitOptions)({icon:"wrench",showFullTitle:!1}),(0,r.classNames)("email-dropdown")])},5596:(e,t,i)=>{"use strict";i.r(t),i.d(t,{SexpOpcodes:()=>s,VariableResolutionContext:()=>n,WellKnownAttrNames:()=>r,WellKnownTagNames:()=>a,getStringFromValue:()=>c,is:()=>o,isArgument:()=>p,isAttribute:()=>u,isFlushElement:()=>l,isGet:()=>m,isHelper:()=>h,isStringLiteral:()=>d});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 d(e){return"string"==typeof e}function c(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)},5614:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(81845),n=i(66530),r=i(58295),a=i(13744),o=i(383),l=i(50137),u=i(49535),d=i(70478),c=i(50627),p=i(83541),h=i(38178),m=i(72172),g=i(6827),f=i(86232),_=i(54200),y=i(48297),b=i(57364);class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #i=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#tq=(()=>void dt7948.i(this,"modal"))();static #n=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();loading=!1;dirty=!1;errorMessage=null;newUsername=null;static #a=(()=>dt7948.g(this.prototype,"backupEnabled",[(0,r.alias)("model.second_factor_backup_enabled")]))();#np=(()=>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 #l=(()=>dt7948.n(this.prototype,"hasOAuth",[g.default]))();displayOAuthWarning(){return this.hasOAuth&&this.siteSettings.enforce_second_factor_on_external_auth}static #d=(()=>dt7948.n(this.prototype,"displayOAuthWarning",[g.default]))();showEnforcedWithOAuthNotice(e){return e&&e.enforcedSecondFactor&&this.hasOAuth&&!this.siteSettings.enforce_second_factor_on_external_auth}static #p=(()=>dt7948.n(this.prototype,"showEnforcedWithOAuthNotice",[(0,g.default)("currentUser")]))();showEnforcedNotice(e){return e&&e.enforcedSecondFactor&&this.siteSettings.enforce_second_factor_on_external_auth}static #m=(()=>dt7948.n(this.prototype,"showEnforcedNotice",[(0,g.default)("currentUser")]))();hasSecondFactors(e,t){return e.length>0||t.length>0}static #f=(()=>dt7948.n(this.prototype,"hasSecondFactors",[(0,g.default)("totps","security_keys")]))();async createToTpModal(){try{await this.modal.show(d.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 #y=(()=>dt7948.n(this.prototype,"handleError",[n.action]))();setBackupEnabled(e){this.set("backupEnabled",e)}static #v=(()=>dt7948.n(this.prototype,"setBackupEnabled",[n.action]))();setCodesRemaining(e){this.model.set("second_factor_remaining_backup_codes",e)}static #k=(()=>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 #A=(()=>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 #M=(()=>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 #E=(()=>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 #P=(()=>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 #I=(()=>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 #O=(()=>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 #R=(()=>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 #B=(()=>dt7948.n(this.prototype,"editSecondFactor",[n.action]))();async editSecondFactorBackup(){await this.modal.show(c.default,{model:{secondFactor:this.model,markDirty:()=>this.markDirty(),onError:e=>this.handleError(e),setBackupEnabled:e=>this.setBackupEnabled(e),setCodesRemaining:e=>this.setCodesRemaining(e)}})}static #Y=(()=>dt7948.n(this.prototype,"editSecondFactorBackup",[n.action]))()}},5704:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(6964);class n extends s.default{setupController(e){e.set("email",this.controllerFor("account-created").get("accountCreated.email"))}}},5716:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698),n=i(13744),r=i(96675),a=i(28383),o=i(52449),l=i(68628),u=i(57364),d=i(9348),c=i(55888);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();get educationText(){if(this.args.unreadFilter)return(0,u.i18n)("topics.none.education.unread");if(this.args.newFilter)if(this.currentUser.new_new_view_enabled)return(0,u.i18n)("topics.none.education.new_new");else return(0,u.i18n)("topics.none.education.new")}static #i=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"/qAI8N5o",block:'[[[1,"\\n "],[8,[32,0],null,[["@identifier","@title","@ctaLabel","@ctaRoute","@tipIcon","@tipText","@svgContent"],["empty-topic-filter",[30,0,["educationText"]],[28,[32,1],["topic.browse_latest_topics"],null],"discovery.latest","circle-info",[28,[32,2],[[28,[32,1],["topics.none.education.topic_tracking_preferences"],[["basePath"],[[28,[32,3],null,null]]]]],null],[32,4]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/empty-topic-filter.js",scope:()=>[a.default,u.i18n,r.htmlSafe,l.default,o.default],isStrictMode:!0}),this))()}},5764:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(24698),n=i(4089),r=i(66530),a=i(7977),o=i(22106),l=i(71773),u=i(98320),d=i(51719),c=i(9348),p=i(55888);class h extends s.default{onRegisterMenu(e){this.menu=e}static #e=(()=>dt7948.n(this.prototype,"onRegisterMenu",[r.action]))();get icon(){return this.args.icon??"far-face-smile"}get context(){return this.args.context??"topic"}get modalForMobile(){return this.args.modalForMobile??!0}static #i=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"ZQ8bzHGP",block:'[[[1,"\\n "],[8,[32,0],null,[["@triggerClass","@contentClass","@onRegisterApi","@identifier","@groupIdentifier","@modalForMobile","@maxWidth","@onShow","@onClose"],[[28,[32,1],[[30,1]],null],"emoji-picker-content",[30,0,["onRegisterMenu"]],"emoji-picker","emoji-picker",[30,0,["modalForMobile"]],405,[30,2],[30,3]]],[["trigger","content"],[[[[1,"\\n"],[41,[30,4],[[[1," "],[1,[28,[32,2],[[28,[32,3],[":",[30,4],":"],null]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,4],[[30,0,["icon"]]],null]],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,5],[[[1," "],[10,1],[14,0,"d-button-label"],[12],[1,[30,5]],[13],[1,"\\n"]],[]],[[[1," ​\\n"]],[]]],[1," "]],[]],[[[1,"\\n "],[8,[32,5],null,[["@close","@didSelectEmoji","@context"],[[30,0,["menu","close"]],[30,6],[30,0,["context"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@btnClass","@onShow","@onClose","@emoji","@label","@didSelectEmoji"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/emoji-picker/index.js",scope:()=>[d.default,o.default,u.default,n.concat,l.default,a.default],isStrictMode:!0}),this))()}},5777:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(6827),n=i(37288),r=i(57364);class a extends n.default{i18nNameKey(){return this.name.toLowerCase().replace(/\s/g,"_")}static #e=(()=>dt7948.n(this.prototype,"i18nNameKey",[(0,s.default)("name")]))();displayName(){let e=`badges.badge_grouping.${this.i18nNameKey}.name`;return(0,r.i18n)(e,{defaultValue:this.name})}static #i=(()=>dt7948.n(this.prototype,"displayName",[(0,s.default)("name")]))()}},5815:(e,t,i)=>{"use strict";e.exports=i(48042)},5852:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(49938),n=i(45916),r=i(13744);class a extends s.default{static #e=(()=>dt7948.g(this.prototype,"header",[r.service]))();#nh=(()=>void dt7948.i(this,"header"))();registerHider(e){this.header.registerHider(this,e)}compute(e){let[...t]=e;(0,n.scheduleOnce)("afterRender",this,this.registerHider,t)}}},5889:function(e,t,i){!function(e,t){t(i(4387))}(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}})})},5998:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=(0,i(71795).default)("warnings","private-messages-warnings",null)},6050:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>k});var s=i(24698),n=i(9348),r=i(4089),a=i(58452),o=i(66530),l=i(13744),u=i(90831),d=i(58219),c=i(11811),p=i(21164),h=i(52752),m=i(79401),g=i(82286),f=i(98242),_=i(38858),y=i(57364),b=i(44093),w=i(55888);class k extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[l.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"router",[l.service]))();#tH=(()=>void dt7948.i(this,"router"))();new(){this.router.transitionTo("groups.new")}static #n=(()=>dt7948.n(this.prototype,"new",[o.action]))();loadMore(){this.args.groups&&this.args.groups.loadMore()}static #a=(()=>dt7948.n(this.prototype,"loadMore",[o.action]))();get types(){let e=[],t=this.args.groups.extras.type_filters;return t&&t.forEach(t=>e.push({id:t,name:(0,y.i18n)(`groups.index.${t}_groups`)})),e}static #l=(()=>(0,n.setComponentTemplate)((0,w.createTemplateFactory)({id:"VwfxoscT",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,1,["loadingMore"]],[30,1,["canLoadMore"]]],null],[[[1," "],[1,[32,1]],[1,"\\n"]],[]],null],[1,"\\n "],[1,[28,[32,2],["groups-page"],null]],[1,"\\n\\n "],[8,[32,3],null,[["@name","@connectorTagName"],["before-groups-index-container","div"]],null],[1,"\\n\\n "],[10,"section"],[14,0,"container groups-index"],[12],[1,"\\n "],[10,0],[14,0,"groups-header"],[12],[1,"\\n"],[41,[30,0,["currentUser","can_create_group"]],[[[1," "],[8,[32,4],[[24,0,"btn-default groups-header-new pull-right"]],[["@action","@icon","@label"],[[30,0,["new"]],"plus","admin.groups.new.title"]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"groups-header-filters"],[12],[1,"\\n "],[8,[32,5],[[16,"placeholder",[28,[32,6],["groups.index.all"],null]],[24,0,"groups-header-filters-name no-blur"],[16,"aria-description",[28,[32,6],["groups.index.search_results"],null]],[4,[32,7],["input",[28,[32,8],[[30,3]],null]],null]],[["@value","@type"],[[30,2],"search"]],null],[1,"\\n\\n "],[8,[32,9],[[24,0,"groups-header-filters-type"]],[["@value","@content","@onChange","@options"],[[30,4],[30,0,["types"]],[30,5],[28,[32,10],null,[["clearable","none"],[true,"groups.index.filter"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1],[[[1," "],[8,[32,11],null,[["@action"],[[30,0,["loadMore"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"container"],[12],[1,"\\n "],[10,0],[14,0,"groups-boxes"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1]],null]],null],null,[[[1," "],[8,[32,12],null,[["@group"],[[30,6]]],null],[1,"\\n"]],[6]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[32,13],null,[["@condition"],[[30,1,["loadingMore"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,2],[14,"role","status"],[12],[1,[28,[32,6],["groups.index.empty"],null]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@groups","@filter","@onFilterChanged","@type","@onTypeChanged","group"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-list.js",scope:()=>[u.or,f.default,g.default,m.default,c.default,n.Input,y.i18n,a.on,_.default,b.default,r.hash,h.default,p.default,d.default],isStrictMode:!0}),this))()}},6054:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(13744),n=i(23463),r=i(57364);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();model(){return this.modelFor("user")}titleToken(){let e=this.controllerFor(this.router.currentRouteName),t=e?.subpageTitle;return t?`${t} - ${(0,r.i18n)("user.preferences.title")}`:(0,r.i18n)("user.preferences.title")}}},6062:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(1848),n=i(70239),r=i.n(n),a=i(1096),o=i(86558),l=i(9348),u=i(55888);let d=dt7948.c(class extends a.default{static #e=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"88yHImIh",block:'[[[1,"\\n "],[10,0],[14,0,"select-kit-header-wrapper"],[12],[1,"\\n"],[44,[[28,[32,0],[[30,0],[30,0,["selectKit","options","selectedNameComponent"]]],null]],[[[1," "],[8,[30,1],null,[["@tabindex","@item","@selectKit","@shouldDisplayClearableButton"],[[30,0,["tabindex"]],[30,0,["selectedContent"]],[30,0,["selectKit"]],[30,0,["shouldDisplayClearableButton"]]]],null],[1,"\\n"]],[1]]],[1,"\\n "],[1,[28,[32,1],[[30,0,["caretIcon"]]],[["class"],["caret-icon"]]]],[1,"\\n "],[13],[1,"\\n "]],["SelectedNameComponent"],false,["let"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/tag-drop/tag-drop-header.js",scope:()=>[o.resolveComponent,r()],isStrictMode:!0}),this))()},[(0,s.classNames)("tag-drop-header")])},6068:(e,t,i)=>{"use strict";function s(e,t){return null!=e&&"function"==typeof e[t]}i.r(t),i.d(t,{c:()=>s})},6140:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(24698),n=i(40779),r=i(9348),a=i(4089),o=i(66530),l=i(11811),u=i(76586),d=i(18006),c=i(44291),p=i(23048),h=i(62807),m=i(12947),g=i(20559),f=i(72172),_=i(57364),y=i(55888);let b="down";class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"loading",[n.tracked],function(){return!0}))();#ik=(()=>void dt7948.i(this,"loading"))();static #i=(()=>dt7948.g(this.prototype,"columns",[n.tracked]))();#nm=(()=>void dt7948.i(this,"columns"))();static #n=(()=>dt7948.g(this.prototype,"labelKey",[n.tracked]))();#ng=(()=>void dt7948.i(this,"labelKey"))();static #a=(()=>dt7948.g(this.prototype,"flash",[n.tracked]))();#nf=(()=>void dt7948.i(this,"flash"))();constructor(){super(...arguments),this.setupColumns()}async setupColumns(){try{let e=await (0,g.ajax)("edit-directory-columns.json");this.loading=!1,this.columns=e.directory_columns.sort((e,t)=>e.position>t.position?1:-1).map(e=>({...e,enabled:!!e.enabled}))}catch(e){(0,f.popupAjaxError)(e)}}static #l=(()=>dt7948.n(this.prototype,"setupColumns",[o.action]))();async save(){this.loading=!0,this.flash=null;let e={directory_columns:this.columns.map(e=>({id:e.id,enabled:e.enabled,position:e.position}))};try{await (0,g.ajax)("edit-directory-columns.json",{type:"PUT",data:e}),(0,m.reload)()}catch(e){this.loading=!1,this.flash=(0,f.extractError)(e)}}static #d=(()=>dt7948.n(this.prototype,"save",[o.action]))();resetToDefault(){let e=this.columns.sort((e,t)=>{let i=e.automatic_position||(e.user_field?.position||0)+1e3,s=t.automatic_position||(t.user_field?.position||0)+1e3;return i===s?e.name.localeCompare(t.name):i>s?1:-1}).map((e,t)=>({...e,position:e.automatic_position||t+1,enabled:"automatic"===e.type}));this.columns=e}static #p=(()=>dt7948.n(this.prototype,"resetToDefault",[o.action]))();moveUp(e){this._moveColumn("up",e)}static #m=(()=>dt7948.n(this.prototype,"moveUp",[o.action]))();moveDown(e){this._moveColumn(b,e)}static #f=(()=>dt7948.n(this.prototype,"moveDown",[o.action]))();_moveColumn(e,t){if("up"===e&&1===t.position||e===b&&t.position===this.columns.length)return;let i=t.position,s="up"===e?i-1:i+1,n=this.columns.find(e=>e.position===s);t.position=s,n.position=i,this.columns=this.columns.sort((e,t)=>e.position>t.position?1:-1)}static #y=(()=>(0,r.setComponentTemplate)((0,y.createTemplateFactory)({id:"pZllEfkl",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"edit-user-directory-columns-modal"]],[["@closeModal","@title","@flash"],[[30,1],[28,[32,1],["directory.edit_columns.title"],null],[30,0,["flash"]]]],[["body","footer"],[[[[1,"\\n"],[41,[30,0,["loading"]],[[[1," "],[1,[28,[32,2],null,[["size"],["large"]]]],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"edit-directory-columns-container"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["columns"]]],null]],null],null,[[[1," "],[10,0],[14,0,"edit-directory-column"],[12],[1,"\\n "],[10,0],[14,0,"left-content"],[12],[1,"\\n "],[10,"label"],[14,0,"column-name"],[12],[1,"\\n "],[8,[32,3],null,[["@type","@checked"],["checkbox",[30,2,["enabled"]]]],null],[1,"\\n"],[41,[28,[32,4],null,[["column"],[[30,2]]]],[[[1," "],[1,[28,[32,5],null,[["field","labelKey","icon"],[[30,2,["name"]],[30,0,["labelKey"]],[30,2,["icon"]]]]]],[1,"\\n"]],[]],[[[41,[28,[32,6],null,[["column"],[[30,2]]]],[[[1," "],[1,[28,[32,5],null,[["field","translated"],[[30,2,["user_field","name"]],true]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,5],null,[["field","translated"],[[28,[32,1],[[30,2,["name"]]],null],true]]]],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"right-content"],[12],[1,"\\n "],[8,[32,7],[[24,0,"button-secondary move-column-up"]],[["@icon","@action"],["arrow-up",[28,[32,8],[[30,0,["moveUp"]],[30,2]],null]]],null],[1,"\\n "],[8,[32,7],[[24,0,"button-secondary"]],[["@icon","@action"],["arrow-down",[28,[32,8],[[30,0,["moveDown"]],[30,2]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n"]],[]]],[1," "]],[]],[[[1,"\\n "],[8,[32,7],[[24,0,"btn-primary"]],[["@label","@action"],["directory.edit_columns.save",[30,0,["save"]]]],null],[1,"\\n "],[8,[32,7],[[24,0,"btn-secondary reset-to-default"]],[["@label","@action"],["directory.edit_columns.reset_to_default",[30,0,["resetToDefault"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","column"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/edit-user-directory-columns.js",scope:()=>[u.default,_.i18n,h.default,r.Input,d.default,p.default,c.default,l.default,a.fn],isStrictMode:!0}),this))()}},6142:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698),n=i(13744),r=i(79401),a=i(36557),o=i(67362),l=i(75257),u=i(72250),d=i(82286),c=i(6827),p=i(9348),h=i(55888);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #a=(()=>dt7948.g(this.prototype,"sidebarState",[n.service]))();#n_=(()=>void dt7948.i(this,"sidebarState"))();constructor(){super(...arguments),this.site.mobileView&&document.addEventListener("click",this.collapseSidebar)}willDestroy(){super.willDestroy(...arguments),this.site.mobileView&&document.removeEventListener("click",this.collapseSidebar)}get showSwitchPanelButtonsOnTop(){return"top"===this.siteSettings.default_sidebar_switch_panel_position}get switchPanelButtons(){return this.sidebarState.displaySwitchPanelButtons&&1!==this.sidebarState.panels.length&&this.currentUser?this.sidebarState.panels.filter(e=>e!==this.sidebarState.currentPanel&&!e.hidden):[]}collapseSidebar(e){let t=!1,i=e.composedPath().some(e=>e?.className!=="sidebar-section-header-caret"&&["A","BUTTON"].includes(e.nodeName)?(t=!0,!0):e.className&&"sidebar-wrapper"===e.className);(t||!i)&&this.args.toggleSidebar()}static #l=(()=>dt7948.n(this.prototype,"collapseSidebar",[c.bind]))();static #d=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"kTbBfDb2",block:'[[[1,"\\n "],[1,[28,[32,0],["has-sidebar-page"],null]],[1,"\\n\\n "],[10,"section"],[14,1,"d-sidebar"],[14,0,"sidebar-container"],[12],[1,"\\n"],[41,[30,0,["showSwitchPanelButtonsOnTop"]],[[[1," "],[8,[32,1],null,[["@buttons"],[[30,0,["switchPanelButtons"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,2],null,[["@name"],["before-sidebar-sections"]],null],[1,"\\n\\n"],[41,[30,0,["sidebarState","showMainPanel"]],[[[1," "],[8,[32,3],null,[["@currentUser","@collapsableSections","@panel"],[[30,0,["currentUser"]],true,[30,0,["sidebarState","currentPanel"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,4],null,[["@currentUser","@collapsableSections"],[[30,0,["currentUser"]],true]],null],[1,"\\n"]],[]]],[1,"\\n "],[8,[32,2],null,[["@name"],["after-sidebar-sections"]],null],[1,"\\n\\n"],[41,[51,[30,0,["showSwitchPanelButtonsOnTop"]]],[[[1," "],[8,[32,1],null,[["@buttons"],[[30,0,["switchPanelButtons"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,5],null,null,null],[1,"\\n "],[13],[1,"\\n "]],[],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar.js",scope:()=>[d.default,u.default,r.default,l.default,a.default,o.default],isStrictMode:!0}),this))()}},6240:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(9348),n=i(96675),r=i(58670),a=i(1848),o=i(74018),l=i(43415),u=i(13288),d=i(79401),c=i(96771),p=i(40474),h=i(62112),m=i(46386),g=i(6827),f=i(55888);let _=dt7948.c(class extends s.default{anyLogos(){return this.categories.any(e=>!(0,r.isEmpty)(e.get("uploaded_logo.url")))}static #e=(()=>dt7948.n(this.prototype,"anyLogos",[(0,g.default)("categories.[].uploaded_logo.url")]))();hasSubcategories(){return this.categories.any(e=>!(0,r.isEmpty)(e.get("subcategories")))}static #i=(()=>dt7948.n(this.prototype,"hasSubcategories",[(0,g.default)("categories.[].subcategories")]))();categoryName(e){return(0,n.htmlSafe)((0,h.categoryBadgeHTML)(e,{allowUncategorized:!0,link:!1}))}static #n=(()=>(0,s.setComponentTemplate)((0,f.createTemplateFactory)({id:"Q5yKil6Z",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["categories-boxes-wrapper",[28,[32,1],null,[["categories"],[[30,0,["categories"]]]]]]],[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["categories"]]],null]],null],null,[[[1," "],[8,[32,0],null,[["@name","@outletArgs"],["category-box-before-each-box",[28,[32,1],null,[["category"],[[30,1]]]]]],null],[1,"\\n\\n "],[10,0],[15,5,[28,[32,2],[[30,1,["color"]]],null]],[15,"data-category-id",[30,1,["id"]]],[15,"data-notification-level",[30,1,["notificationLevelString"]]],[15,"data-url",[30,1,["url"]]],[15,0,[29,["category category-box category-box-",[30,1,["slug"]],"\\n ",[52,[30,1,["isMuted"]],"muted"]]]],[12],[1,"\\n "],[10,0],[14,0,"category-box-inner"],[12],[1,"\\n"],[41,[51,[30,1,["isMuted"]]],[[[1," "],[10,0],[14,0,"category-logo"],[12],[1,"\\n"],[41,[30,1,["uploaded_logo","url"]],[[[1," "],[8,[32,3],null,[["@category"],[[30,1]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"category-details"],[12],[1,"\\n "],[10,0],[14,0,"category-box-heading"],[12],[1,"\\n "],[10,3],[14,0,"parent-box-link"],[15,6,[30,1,["url"]]],[12],[1,"\\n "],[10,"h3"],[12],[1,"\\n "],[8,[32,4],null,[["@category"],[[30,1]]],null],[1,"\\n "],[1,[28,[30,0,["categoryName"]],[[30,1]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[51,[30,1,["isMuted"]]],[[[1," "],[10,0],[14,0,"description"],[12],[1,"\\n "],[1,[28,[32,5],[[30,1,["description_excerpt"]]],null]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["isGrandParent"]],[[[42,[28,[31,1],[[28,[31,1],[[30,1,["subcategories"]]],null]],null],null,[[[1," "],[10,0],[15,"data-category-id",[30,2,["id"]]],[15,"data-notification-level",[30,2,["notificationLevelString"]]],[15,5,[28,[32,6],[[30,2,["color"]]],null]],[15,0,[29,["subcategory with-subcategories\\n ",[52,[30,2,["uploaded_logo","url"]],"has-logo","no-logo"]]]],[12],[1,"\\n "],[10,0],[14,0,"subcategory-box-inner"],[12],[1,"\\n "],[8,[32,7],null,[["@tagName","@category"],["h4",[30,2]]],null],[1,"\\n"],[41,[30,2,["subcategories"]],[[[1," "],[10,0],[14,0,"subcategories"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,2,["subcategories"]]],null]],null],null,[[[41,[51,[30,3,["isMuted"]]],[[[1," "],[10,1],[14,0,"subcategory"],[12],[1,"\\n "],[8,[32,4],null,[["@category"],[[30,3]]],null],[1,"\\n "],[1,[28,[32,8],[[30,3]],[["hideParent"],["true"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[3]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null]],[]],[[[41,[30,1,["subcategories"]],[[[1," "],[10,0],[14,0,"subcategories"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["subcategories"]]],null]],null],null,[[[1," "],[10,3],[14,0,"subcategory"],[15,6,[30,4,["url"]]],[12],[1,"\\n"],[41,[30,4,["uploaded_logo","url"]],[[[1," "],[10,1],[14,0,"subcategory-image-placeholder"],[12],[1,"\\n "],[8,[32,3],null,[["@category"],[[30,4]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[1,[28,[32,8],[[30,4]],[["hideParent"],["true"]]]],[1,"\\n "],[13],[1,"\\n"]],[4]],null],[1," "],[13],[1,"\\n "]],[]],null]],[]]]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,0],null,[["@name","@outletArgs"],["category-box-below-each-category",[28,[32,1],null,[["category"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,0],null,[["@name","@outletArgs"],["category-box-after-each-box",[28,[32,1],null,[["category"],[[30,1]]]]]],null],[1,"\\n"]],[1]],null],[1," "]],[]]]]],[1,"\\n\\n "],[8,[32,0],null,[["@name","@outletArgs"],["category-boxes-after-boxes",[28,[32,1],null,[["category"],[[30,0,["c"]]]]]]],null],[1,"\\n "]],["c","subcategory","subsubcategory","sc"],false,["each","-track-array","if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/categories-boxes.js",scope:()=>[d.default,m.default,p.default,o.default,l.default,n.htmlSafe,c.default,u.default,h.default],isStrictMode:!0}),this))()},[(0,a.classNameBindings)(":category-boxes","anyLogos:with-logos:no-logos","hasSubcategories:with-subcategories"),(0,a.tagName)("section")])},6284:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698),n=i(40779),r=i(66530),a=i(90831),o=i(11811),l=i(71773),u=i(98320),d=i(57364),c=i(9348),p=i(55888);let h=(0,i(69853).A)(i(40779)).cached;class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"collapsed",[n.tracked],function(){return!0}))();#ny=(()=>void dt7948.i(this,"collapsed"))();get links(){return this.args.post.internalLinks?.filter(e=>e.reflection)?.reduce((e,t)=>(e.find(e=>t.title===e.title)||e.push(t),e),[])}static #i=(()=>dt7948.n(this.prototype,"links",[h]))();get canExpandList(){return this.links?.length>5&&this.collapsed}get displayedLinks(){return this.canExpandList?this.links.slice(0,5):this.links}get remainingCount(){return this.links.length-5}expandList(){this.collapsed=!1}static #n=(()=>dt7948.n(this.prototype,"expandList",[r.action]))();static #a=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"eMs5eaYa",block:'[[[1,"\\n"],[41,[30,0,["links"]],[[[1," "],[10,0],[14,0,"post-links-container"],[12],[1,"\\n "],[10,"ul"],[14,0,"post-links"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["displayedLinks"]]],null]],null],"title",[[[1," "],[10,"li"],[12],[1,"\\n "],[10,3],[14,0,"track-link inbound"],[15,"data-clicks",[52,[28,[32,0],[[30,1,["clicks"]],0],null],[30,1,["clicks"]]]],[15,6,[30,1,["url"]]],[12],[1,"\\n "],[1,[28,[32,1],["link"],null]],[1,"\\n "],[10,1],[12],[1," "],[1,[28,[32,2],[[30,1,["title"]]],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[41,[30,0,["canExpandList"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn-transparent expand-links"]],[["@translatedLabel","@title","@action"],[[28,[32,4],["post_links.title"],[["count"],[[30,0,["remainingCount"]]]]],"post_links.about",[30,0,["expandList"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["link"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/links.js",scope:()=>[a.gt,l.default,u.default,o.default,d.i18n],isStrictMode:!0}),this))()}},6315:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(65677),n=i(57364);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)}}},6325:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(40779),n=i(58670),r=i(57364);class a{static #e=(()=>dt7948.g(this.prototype,"forceValidationReason",[s.tracked],function(){return!1}))();#nb=(()=>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}}}},6367:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addCardClickListenerSelector:()=>f,default:()=>y,resetCardClickListenerSelector:()=>_});var s=i(9348),n=i(58295),r=i(45916),a=i(13744),o=i(6827),l=i(99314),u=i(99307),d=i(32023),c=i(86232),p=i(34057);let h=["#main-outlet","#d-menu-portals"],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]))();#tY=(()=>void dt7948.i(this,"appEvents"))();static #i=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #n=(()=>dt7948.g(this.prototype,"menu",[a.service]))();#nv=(()=>void dt7948.i(this,"menu"))();static #a=(()=>dt7948.g(this.prototype,"router",[a.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #l=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #d=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();elementId=null;visible=!1;username=null;loading=null;cardTarget=null;post=null;isDocked=!1;static #p=(()=>dt7948.g(this.prototype,"postStream",[(0,n.alias)("topic.postStream")]))();#nw=(()=>void dt7948.i(this,"postStream"))();static #m=(()=>dt7948.g(this.prototype,"viewingTopic",[(0,n.match)("router.currentRouteName",/^topic\./)]))();#nk=(()=>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(),c.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.trim().replace(/^@/,""))}static #f=(()=>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 #y=(()=>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,d.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 #v=(()=>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 #k=(()=>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]))()}},6424:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698),n=i(4089),r=i(66530),a=i(13744),o=i(86726),l=i(11811),u=i(22106),d=i(48310),c=i(75443),p=i(9348),h=i(55888);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>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,d.isRTL)()?"end":"start";return`${e}-${t}`}get buttonClass(){let e=(0,o.dasherize)(this.first.button_class||this.first.id);return"reject-post"===e?"btn-danger":"approve-post"===e?"btn-success":"btn-default"}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 #i=(()=>dt7948.n(this.prototype,"perform",[r.action]))();static #n=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"z+ovlmDW",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","customStyle","btnCustomClasses"],[true,[30,2],[30,0,["placement"]],[30,1,["label"]],true,[30,0,["buttonClass"]]]]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,4],[[16,0,[28,[32,1],["reviewable-action",[28,[32,2],[[30,0,["first","id"]]],null],[30,0,["first","button_class"]],[30,0,["buttonClass"]]],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:()=>[c.default,u.default,o.dasherize,n.hash,l.default],isStrictMode:!0}),this))()}},6443:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(90098),n=i(8664),r=i(44630),a=i(9348),o=i(55888),l=i(74975);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)))},6507:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(46337)},6531:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(90098),n=i(82286),r=i(5852),a=i(91765),o=i(9348),l=i(55888),u=i(74975);let d=(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)))},6692:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(66530),n=i(1848),r=i(57364),a=i(75443),o=i(86558);let l=dt7948.c(class extends a.default{get content(){return[{id:"edit",icon:"pencil",name:(0,r.i18n)("user.second_factor.edit")},{id:"delete",icon:"trash-can",name:(0,r.i18n)("user.second_factor.delete")}]}static #e=(()=>dt7948.n(this.prototype,"content",[s.computed]))();onChange(e){switch(e){case"edit":this.renamePasskey();break;case"delete":this.deletePasskey()}}static #i=(()=>dt7948.n(this.prototype,"onChange",[s.action]))()},[(0,o.selectKitOptions)({icon:"wrench",showFullTitle:!1}),(0,n.classNames)("passkey-options-dropdown")])},6693:(e,t,i)=>{"use strict";i.r(t),i.d(t,{decoratorWithParams:()=>n,decoratorWithRequiredParams:()=>r}),i(23260);var s=i(55222);function n(e){return function(){for(var t=arguments.length,i=Array(t),n=0;n{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(76586),n=i(57364),r=i(9348),a=i(55888),o=i(74975);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"))},6724:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(66296),n=i(87018),r=i(9348),a=i(55888),o=i(74975);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"j8JCcq1B",block:'[[[1,"\\n "],[10,"td"],[14,0,"posters topic-list-data"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["featuredUsers"]]],null]],null],null,[[[41,[30,2,["moreCount"]],[[[1," "],[10,3],[14,0,"posters-more-count"],[12],[1,[30,2,["moreCount"]]],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,0],[[16,0,[30,2,["extraClasses"]]]],[["@username","@href"],[[30,2,["user","username"]],[30,2,["user","path"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],[[30,2]],[["avatarTemplatePath","usernamePath","namePath","imageSize"],["user.avatar_template","user.username","user.name","small"]]]]],[]]]]],[1,"\\n"]],[]]]],[2]],null],[1," "],[13],[1,"\\n"]],["@topic","poster"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/item/posters-cell.js",scope:()=>[s.default,n.default],isStrictMode:!0}),(0,o.default)(void 0,"posters-cell:PostersCell"))},6816:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(24698),n=i(66530),r=i(54615),a=i(9348),o=i(55888);class l extends s.default{click(e){let t=e.target;t.closest("button.topics-replies-toggle.--all")?this.args.changeNewListSubset(null):t.closest("button.topics-replies-toggle.--topics")?this.args.changeNewListSubset("topics"):t.closest("button.topics-replies-toggle.--replies")&&this.args.changeNewListSubset("replies")}static #e=(()=>dt7948.n(this.prototype,"click",[n.action]))();static #i=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"T4kpUhF2",block:'[[[1,"\\n "],[10,0],[14,0,"topic-replies-toggle-wrapper"],[12],[1,"\\n "],[8,[32,0],null,[["@current","@newRepliesCount","@newTopicsCount","@noStaticLabel","@changeNewListSubset"],[[30,1],[30,2],[30,3],true,[30,4]]],null],[1,"\\n "],[13],[1,"\\n "]],["@current","@newRepliesCount","@newTopicsCount","@changeNewListSubset"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/new-list-header-controls-wrapper.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},6827:(e,t,i)=>{"use strict";i.r(t),i.d(t,{afterRender:()=>_,alias:()=>S,and:()=>C,bind:()=>y,bool:()=>A,collect:()=>D,debounce:()=>w,default:()=>f,empty:()=>M,equal:()=>x,filter:()=>E,filterBy:()=>L,gt:()=>P,gte:()=>F,lt:()=>I,lte:()=>N,map:()=>O,mapBy:()=>j,match:()=>R,max:()=>U,min:()=>B,none:()=>H,not:()=>Y,notEmpty:()=>q,observes:()=>T,on:()=>k,oneWay:()=>$,or:()=>z,readOnly:()=>b,reads:()=>V,setDiff:()=>W,sort:()=>K,sum:()=>G,union:()=>J,uniq:()=>Q});var s=i(66530),n=i(58295),r=i(58375),a=i(84807),o=i(45916),l=i(72825),u=i(28206),d=i(35389),c=i(43952),p=i(44836),h=i(96645),m=i(91939),g=i(59928);function f(){for(var e=arguments.length,t=Array(e),i=0;i{if(!this.isDestroying&&!this.isDestroyed)return s.apply(this,arguments)})}}function y(e,t,i){return{configurable:!0,get(){let e=(0,o.bind)(this,i.value);return Object.defineProperty(this,t,{...i,value:e}),e}}}function b(e,t,i){return{writable:!1,enumerable:i.enumerable,configurable:i.configurable,initializer:()=>(0,p.default)(i).readOnly()}}function w(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(i,s,n){return{enumerable:n.enumerable,configurable:n.configurable,get:function(){var i=this;let r=n.value,a=function(){for(var s=arguments.length,n=Array(s),a=0;a{"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}`}},6897:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(24698),n=i(13744),r=i(57364),a=i(9348),o=i(55888);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();get displayUnreadPosts(){return this.args.newPosts||this.args.unreadPosts}get newDotText(){return this.currentUser?.trust_level>0?" ":(0,r.i18n)("filters.new.lower_title")}static #i=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"vRrgRhYz",block:'[[[10,1],[14,0,"topic-post-badges"],[12],[41,[30,0,["displayUnreadPosts"]],[[[1," "],[10,3],[15,6,[30,1]],[15,"title",[28,[32,0],["topic.unread_posts"],[["count"],[[30,0,["displayUnreadPosts"]]]]]],[14,0,"badge badge-notification unread-posts"],[12],[1,[30,0,["displayUnreadPosts"]]],[13]],[]],null],[41,[30,2],[[[1," "],[10,3],[15,6,[30,1]],[15,"title",[28,[32,0],["topic.new"],null]],[14,0,"badge badge-notification new-topic"],[12],[1,[30,0,["newDotText"]]],[13]],[]],null],[13]],["@url","@unseen"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-post-badges.js",scope:()=>[r.i18n],isStrictMode:!0}),this))()}},6915:(e,t,i)=>{"use strict";i.r(t),i.d(t,{SEPARATOR:()=>r,categoryHashtagTriggerRule:()=>o,replaceSpan:()=>a});var s=i(43952),n=i(24938);let r=":";function a(e,t,i,s){s=s?` data-type="${s}"`:"",e.replaceWith(`#${t}`)}function o(e,t){return(0,s.default)("categoryHashtagTriggerRule is being replaced by hashtagTriggerRule and the new hashtag-autocomplete plugin APIs",{since:"2.9.0.beta10",dropFrom:"3.0.0.beta1",id:"discourse.category-hashtags.categoryHashtagTriggerRule"}),(0,n.hashtagTriggerRule)(t)}},6917:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(24842),n=i(34057),r=i(65677),a=i(57364);class o extends r.default{queryParams={q:{refreshModel:!0}};async model(e){let t=await this.store.findFiltered("topicList",{filter:"filter",params:{q:e.q}});return(0,s.setTopicList)(t),t}titleToken(){let e=this.paramsFor(this.routeName).q;return(0,a.i18n)("filters.filter.title",{filter:(0,n.escapeExpression)(e)})}}},6945:(e,t,i)=>{"use strict";i.r(t),i.d(t,{arrow:()=>L,autoPlacement:()=>A,autoUpdate:()=>T,computePosition:()=>I,detectOverflow:()=>S,flip:()=>M,getOverflowAncestors:()=>r.v9,hide:()=>E,inline:()=>P,limitShift:()=>F,offset:()=>C,platform:()=>w,shift:()=>D,size:()=>x});var s=i(23611),n=i(33351),r=i(19165);function a(e){let t=(0,r.L9)(e),i=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=(0,r.sb)(e),o=a?e.offsetWidth:i,l=a?e.offsetHeight:n,u=(0,s.LI)(i)!==o||(0,s.LI)(n)!==l;return u&&(i=o,n=l),{width:i,height:n,$:u}}function o(e){return(0,r.vq)(e)?e:e.contextElement}function l(e){let t=o(e);if(!(0,r.sb)(t))return(0,s.Jx)(1);let i=t.getBoundingClientRect(),{width:n,height:l,$:u}=a(t),d=(u?(0,s.LI)(i.width):i.width)/n,c=(u?(0,s.LI)(i.height):i.height)/l;return d&&Number.isFinite(d)||(d=1),c&&Number.isFinite(c)||(c=1),{x:d,y:c}}let u=(0,s.Jx)(0);function d(e){let t=(0,r.zk)(e);return(0,r.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:u}function c(e,t,i,n){void 0===t&&(t=!1),void 0===i&&(i=!1);let a=e.getBoundingClientRect(),u=o(e),c=(0,s.Jx)(1);t&&(n?(0,r.vq)(n)&&(c=l(n)):c=l(e));let p=!function(e,t,i){return void 0===t&&(t=!1),!!i&&(!t||i===(0,r.zk)(e))&&t}(u,i,n)?(0,s.Jx)(0):d(u),h=(a.left+p.x)/c.x,m=(a.top+p.y)/c.y,g=a.width/c.x,f=a.height/c.y;if(u){let e=(0,r.zk)(u),t=n&&(0,r.vq)(n)?(0,r.zk)(n):n,i=e,s=(0,r._m)(i);for(;s&&n&&t!==i;){let e=l(s),t=s.getBoundingClientRect(),n=(0,r.L9)(s),a=t.left+(s.clientLeft+parseFloat(n.paddingLeft))*e.x,o=t.top+(s.clientTop+parseFloat(n.paddingTop))*e.y;h*=e.x,m*=e.y,g*=e.x,f*=e.y,h+=a,m+=o,i=(0,r.zk)(s),s=(0,r._m)(i)}}return(0,s.B1)({width:g,height:f,x:h,y:m})}function p(e,t){let i=(0,r.CP)(e).scrollLeft;return t?t.left+i:c((0,r.ep)(e)).left+i}function h(e,t,i){void 0===i&&(i=!1);let s=e.getBoundingClientRect();return{x:s.left+t.scrollLeft-(i?0:p(e,s)),y:s.top+t.scrollTop}}let m=new Set(["absolute","fixed"]);function g(e,t,i){let n;if("viewport"===t)n=function(e,t){let i=(0,r.zk)(e),s=(0,r.ep)(e),n=i.visualViewport,a=s.clientWidth,o=s.clientHeight,l=0,u=0;if(n){a=n.width,o=n.height;let e=(0,r.Tc)();(!e||e&&"fixed"===t)&&(l=n.offsetLeft,u=n.offsetTop)}return{width:a,height:o,x:l,y:u}}(e,i);else if("document"===t)n=function(e){let t=(0,r.ep)(e),i=(0,r.CP)(e),n=e.ownerDocument.body,a=(0,s.T9)(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=(0,s.T9)(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-i.scrollLeft+p(e),u=-i.scrollTop;return"rtl"===(0,r.L9)(n).direction&&(l+=(0,s.T9)(t.clientWidth,n.clientWidth)-a),{width:a,height:o,x:l,y:u}}((0,r.ep)(e));else if((0,r.vq)(t))n=function(e,t){let i=c(e,!0,"fixed"===t),n=i.top+e.clientTop,a=i.left+e.clientLeft,o=(0,r.sb)(e)?l(e):(0,s.Jx)(1),u=e.clientWidth*o.x,d=e.clientHeight*o.y;return{width:u,height:d,x:a*o.x,y:n*o.y}}(t,i);else{let i=d(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return(0,s.B1)(n)}function f(e){return"static"===(0,r.L9)(e).position}function _(e,t){if(!(0,r.sb)(e)||"fixed"===(0,r.L9)(e).position)return null;if(t)return t(e);let i=e.offsetParent;return(0,r.ep)(e)===i&&(i=i.ownerDocument.body),i}function y(e,t){let i=(0,r.zk)(e);if((0,r.Tf)(e))return i;if(!(0,r.sb)(e)){let t=(0,r.$4)(e);for(;t&&!(0,r.eu)(t);){if((0,r.vq)(t)&&!f(t))return t;t=(0,r.$4)(t)}return i}let s=_(e,t);for(;s&&(0,r.Lv)(s)&&f(s);)s=_(s,t);return s&&(0,r.eu)(s)&&f(s)&&!(0,r.sQ)(s)?i:s||(0,r.gJ)(e)||i}let b=async function(e){let t=this.getOffsetParent||y,i=this.getDimensions,n=await i(e.floating);return{reference:function(e,t,i){let n=(0,r.sb)(t),a=(0,r.ep)(t),o="fixed"===i,l=c(e,!0,o,t),u={scrollLeft:0,scrollTop:0},d=(0,s.Jx)(0);function m(){d.x=p(a)}if(n||!n&&!o)if(("body"!==(0,r.mq)(t)||(0,r.ZU)(a))&&(u=(0,r.CP)(t)),n){let e=c(t,!0,o,t);d.x=e.x+t.clientLeft,d.y=e.y+t.clientTop}else a&&m();o&&!n&&a&&m();let g=!a||n||o?(0,s.Jx)(0):h(a,u);return{x:l.left+u.scrollLeft-d.x-g.x,y:l.top+u.scrollTop-d.y-g.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},w={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:i,offsetParent:n,strategy:a}=e,o="fixed"===a,u=(0,r.ep)(n),d=!!t&&(0,r.Tf)(t.floating);if(n===u||d&&o)return i;let p={scrollLeft:0,scrollTop:0},m=(0,s.Jx)(1),g=(0,s.Jx)(0),f=(0,r.sb)(n);if((f||!f&&!o)&&(("body"!==(0,r.mq)(n)||(0,r.ZU)(u))&&(p=(0,r.CP)(n)),(0,r.sb)(n))){let e=c(n);m=l(n),g.x=e.x+n.clientLeft,g.y=e.y+n.clientTop}let _=!u||f||o?(0,s.Jx)(0):h(u,p,!0);return{width:i.width*m.x,height:i.height*m.y,x:i.x*m.x-p.scrollLeft*m.x+g.x+_.x,y:i.y*m.y-p.scrollTop*m.y+g.y+_.y}},getDocumentElement:r.ep,getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:n,strategy:a}=e,o=[..."clippingAncestors"===i?(0,r.Tf)(t)?[]:function(e,t){let i=t.get(e);if(i)return i;let s=(0,r.v9)(e,[],!1).filter(e=>(0,r.vq)(e)&&"body"!==(0,r.mq)(e)),n=null,a="fixed"===(0,r.L9)(e).position,o=a?(0,r.$4)(e):e;for(;(0,r.vq)(o)&&!(0,r.eu)(o);){let t=(0,r.L9)(o),i=(0,r.sQ)(o);i||"fixed"!==t.position||(n=null),(a?!i&&!n:!i&&"static"===t.position&&!!n&&m.has(n.position)||(0,r.ZU)(o)&&!i&&function e(t,i){let s=(0,r.$4)(t);return!(s===i||!(0,r.vq)(s)||(0,r.eu)(s))&&("fixed"===(0,r.L9)(s).position||e(s,i))}(e,o))?s=s.filter(e=>e!==o):n=t,o=(0,r.$4)(o)}return t.set(e,s),s}(t,this._c):[].concat(i),n],l=o[0],u=o.reduce((e,i)=>{let n=g(t,i,a);return e.top=(0,s.T9)(n.top,e.top),e.right=(0,s.jk)(n.right,e.right),e.bottom=(0,s.jk)(n.bottom,e.bottom),e.left=(0,s.T9)(n.left,e.left),e},g(t,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:y,getElementRects:b,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:i}=a(e);return{width:t,height:i}},getScale:l,isElement:r.vq,isRTL:function(e){return"rtl"===(0,r.L9)(e).direction}};function k(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function T(e,t,i,n){let a;void 0===n&&(n={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:d="function"==typeof ResizeObserver,layoutShift:p="function"==typeof IntersectionObserver,animationFrame:h=!1}=n,m=o(e),g=l||u?[...m?(0,r.v9)(m):[],...(0,r.v9)(t)]:[];g.forEach(e=>{l&&e.addEventListener("scroll",i,{passive:!0}),u&&e.addEventListener("resize",i)});let f=m&&p?function(e,t){let i,n=null,a=(0,r.ep)(e);function o(){var e;clearTimeout(i),null==(e=n)||e.disconnect(),n=null}return!function r(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),o();let d=e.getBoundingClientRect(),{left:c,top:p,width:h,height:m}=d;if(l||t(),!h||!m)return;let g=(0,s.RI)(p),f=(0,s.RI)(a.clientWidth-(c+h)),_={rootMargin:-g+"px "+-f+"px "+-(0,s.RI)(a.clientHeight-(p+m))+"px "+-(0,s.RI)(c)+"px",threshold:(0,s.T9)(0,(0,s.jk)(1,u))||1},y=!0;function b(t){let s=t[0].intersectionRatio;if(s!==u){if(!y)return r();s?r(!1,s):i=setTimeout(()=>{r(!1,1e-7)},1e3)}1!==s||k(d,e.getBoundingClientRect())||r(),y=!1}try{n=new IntersectionObserver(b,{..._,root:a.ownerDocument})}catch(e){n=new IntersectionObserver(b,_)}n.observe(e)}(!0),o}(m,i):null,_=-1,y=null;d&&(y=new ResizeObserver(e=>{let[s]=e;s&&s.target===m&&y&&(y.unobserve(t),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),i()}),m&&!h&&y.observe(m),y.observe(t));let b=h?c(e):null;return h&&function t(){let s=c(e);b&&!k(b,s)&&i(),b=s,a=requestAnimationFrame(t)}(),i(),()=>{var e;g.forEach(e=>{l&&e.removeEventListener("scroll",i),u&&e.removeEventListener("resize",i)}),null==f||f(),null==(e=y)||e.disconnect(),y=null,h&&cancelAnimationFrame(a)}}let S=n.__,C=n.cY,A=n.RK,D=n.BN,M=n.UU,x=n.Ej,E=n.jD,L=n.UE,P=n.mG,F=n.ER,I=(e,t,i)=>{let s=new Map,r={platform:w,...i},a={...r.platform,_c:s};return(0,n.rD)(e,t,{...r,platform:a})}},6960:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(9348),n=i(1848),r=i(71773),a=i(6827),o=i(57364),l=i(55888);let u=dt7948.c(class extends s.default{resolvedTitle(e,t){return e?(0,o.i18n)(e):t||void 0}static #e=(()=>dt7948.n(this.prototype,"resolvedTitle",[(0,a.default)("title","translatedTitle")]))();keyDown(e){if("Enter"===e.key)return this.action?.(),!1}click(){return this.action?.(),!1}static #i=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"UYpcQn4j",block:'[[[1,[28,[32,0],[[30,0,["icon"]]],null]]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/flat-button.js",scope:()=>[r.default],isStrictMode:!0}),this))()},[(0,n.attributeBindings)("disabled","resolvedTitle:title"),(0,n.classNames)("btn-flat"),(0,n.tagName)("button")])},6964:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>D,defaultSerialize:()=>F,getFullQueryParams:()=>x,getRenderState:()=>M,hasDefaultSerialize:()=>I});var s=i(54048),n=i(39665);i(49233),i(23260),i(4837);var r=i(27322),a=i(1254);i(17633),i(184);var o=i(24196),l=i(50329),u=i(8166),d=i(57078),c=i(66530),p=i(84807),h=i(60070);i(98710),i(81904),i(50434);var m=i(36819);i(90743),i(85333),i(99628),i(15036);var g=i(98824);i(81845);var f=i(55568);i(46224);var _=i(87966),y=i(45916);i(82413),i(93579);var b=i(25192),w=i(12029),k=i(36096),T=i(67820),S=i(9e3);let C=Symbol("render"),A=Symbol("render-state");class D extends c.default.extend(m.default,p.default){static isRouteFactory=!0;context={};_bucketCache;_internalName;_names;_router;constructor(e){if(super(e),e){let t=e.lookup("router:main"),i=e.lookup((0,s.p)`-bucket-cache:main`);this._router=t,this._bucketCache=i,this._topLevelViewTemplate=e.lookup("template:-outlet"),this._environment=e.lookup("-environment:main")}}serialize(e,t){if(t.length<1||!e)return;let i={};if(1===t.length){let[s]=t;"object"==typeof e&&s in e?i[s]=(0,n.g)(e,s):/_id$/.test(s)?i[s]=(0,n.g)(e,"id"):(0,a.i)(e)&&(i[s]=(0,n.g)(e,s))}else i=(0,l.g)(e,t);return i}_setRouteName(e){this.routeName=e;let t=(0,d.getOwner)(this);this.fullRouteName=P(t,e)}_stashNames(e,t){if(this._names)return;let i=this._names=e._names;i.length||(i=(e=t)&&e._names||[]);let s=(0,n.g)(this,"_qp").qps,r=Array(i.length);for(let t=0;t{let[i,s]=t;return e[i]=s,e},r)}serializeQueryParamKey(e){return e}serializeQueryParam(e,t,i){return this._router._serializeQueryParam(e,i)}deserializeQueryParam(e,t,i){return this._router._deserializeQueryParam(e,i)}_optionsForQueryParam(e){let t=(0,n.g)(this,"queryParams");return(0,n.g)(t,e.urlKey)||(0,n.g)(t,e.prop)||t[e.urlKey]||t[e.prop]||{}}resetController(e,t,i){return this}exit(e){this.deactivate(e),this.trigger("deactivate",e),this.teardownViews()}_internalReset(e,t){let i=this.controller;i._qpDelegate=(0,n.g)(this,"_qp").states.inactive,this.resetController(i,e,t)}enter(e){this[A]=void 0,this.activate(e),this.trigger("activate",e)}deactivate(e){}activate(e){}intermediateTransitionTo(){for(var e=arguments.length,t=Array(e),i=0;i{if(void 0===(0,n.b)(e,t)){let i=(0,r.l)(e,t);null!==i&&("function"==typeof i.get||"function"==typeof i.set)&&(0,n.d)(e,t,(0,_.dependentKeyCompat)({get:i.get,set:i.set}))}(0,n.v)(e,`${t}.[]`,e,e._qpChanged,!1)})}(s,a.propertyNames),this.controller=s),s._qpDelegate=a.states.allowOverrides,t){(0,k.stashParamNames)(this._router,t[b.S].routeInfos);let e=this._bucketCache,i=t[b.P];a.propertyNames.forEach(t=>{let n=a.map[t];n.values=i;let r=(0,k.calculateCacheKey)(n.route.fullRouteName,n.parts,n.values),l=e.lookup(r,t,n.undecoratedDefaultValue);(0,o.s)(s,t,l)});let n=E(this,t[b.S]);(0,l.s)(s,n)}this.setupController(s,e,t),this._environment.options.shouldRender&&this[C](),(0,n.I)(!1)}_qpChanged(e,t,i){if(!i)return;let s=this._bucketCache,n=(0,k.calculateCacheKey)(i.route.fullRouteName,i.parts,i.values);s.stash(n,e,t)}beforeModel(e){}afterModel(e,t){}redirect(e,t){}contextDidChange(){this.currentModel=this.context}model(e,t){let i,s,r,a=(0,n.g)(this,"_qp").map;for(let t in e){if("queryParams"===t||a&&t in a)continue;let n=t.match(/^(.*)_id$/);null!==n&&(i=n[1],r=e[t]),s=!0}if(!i)if(s)return Object.assign({},e);else{if(t.resolveIndex<1)return;return t[b.S].routeInfos[t.resolveIndex-1].context}return this.findModel(i,r)}deserialize(e,t){return this.model(this._paramsFor(this.routeName,e),t)}findModel(e,t){if(!u.E._NO_IMPLICIT_ROUTE_MODEL)return(0,f.deprecateUntil)(`The implicit model loading behavior for routes is deprecated. Please define an explicit model hook for ${this.fullRouteName}.`,f.DEPRECATIONS.DEPRECATE_IMPLICIT_ROUTE_MODEL),("store"in this?this.store:(0,n.g)(this,"_store")).find(e,t)}setupController(e,t,i){e&&void 0!==t&&(0,o.s)(e,"model",t)}controllerFor(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];let t=(0,d.getOwner)(this),i=t.lookup(`route:${e}`);return i&&i.controllerName&&(e=i.controllerName),t.lookup(`controller:${e}`)}generateController(e){let t=(0,d.getOwner)(this);return(0,w.default)(t,e)}modelFor(e){let t,i=(0,d.getOwner)(this),s=this._router&&this._router._routerMicrolib?this._router._routerMicrolib.activeTransition:void 0;t=i.routable&&void 0!==s?P(i,e):e;let n=i.lookup(`route:${t}`);if(null!=s){let e=n&&n.routeName||t;if(Object.prototype.hasOwnProperty.call(s.resolvedModels,e))return s.resolvedModels[e]}return n?.currentModel}[A]=(()=>void 0)();[C](){this[A]=function(e){let t=(0,d.getOwner)(e),i=e.routeName,s=t.lookup(`controller:${e.controllerName||i}`),n=e.currentModel,r=t.lookup(`template:${e.templateName||i}`);return{owner:t,into:void 0,outlet:"main",name:i,controller:s,model:n,template:r?.(t)??e._topLevelViewTemplate(t)}}(this),(0,y.once)(this._router,"_setOutlets")}willDestroy(){this.teardownViews()}teardownViews(){this[A]&&(this[A]=void 0,(0,y.once)(this._router,"_setOutlets"))}buildRouteInfoMetadata(){}_paramsFor(e,t){return void 0!==this._router._routerMicrolib.activeTransition?this.paramsFor(e):t}get _store(){let e=(0,d.getOwner)(this);return this.routeName,{find(t,i){let s=e.factoryFor(`model:${t}`);if(s)return(s=s.class).find(i)}}}static #e=(()=>(0,T.a)(this.prototype,"_store",[n.c]))();get _qp(){let e={},t=this.controllerName||this.routeName,i=(0,d.getOwner)(this),s=i.lookup(`controller:${t}`),r=(0,n.g)(this,"queryParams"),a=Object.keys(r).length>0;if(s){let t=(0,n.g)(s,"queryParams")||[];e=function(e,t){let i={},s={defaultValue:!0,type:!0,scope:!0,as:!0};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]={...e[n],...t[n]},s[n]=!0);for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&!s[n]&&(i[n]={...t[n],...e[n]});return i}((0,k.normalizeControllerQueryParams)(t),r)}else a&&(s=(0,w.default)(i,t),e=r);let o=[],l={},u=[];for(let i in e){let r;if(!Object.prototype.hasOwnProperty.call(e,i)||"unknownProperty"===i||"_super"===i)continue;let a=e[i],d=a.scope||"model";"controller"===d&&(r=[]);let c=a.as||this.serializeQueryParamKey(i),p=(0,n.g)(s,i);p=L(p);let h=a.type||(0,g.default)(p),m=this.serializeQueryParam(p,c,h),f=`${t}:${i}`,_={undecoratedDefaultValue:(0,n.g)(s,i),defaultValue:p,serializedDefaultValue:m,serializedValue:m,type:h,urlKey:c,prop:i,scopedPropertyName:f,controllerName:t,route:this,parts:r,values:null,scope:d};l[i]=l[c]=l[f]=_,o.push(_),u.push(i)}return{qps:o,map:l,propertyNames:u,states:{inactive:(e,t)=>{let i=l[e];this._qpChanged(e,t,i)},active:(e,t)=>{let i=l[e];return this._qpChanged(e,t,i),this._activeQPChanged(i,t)},allowOverrides:(e,t)=>{let i=l[e];return this._qpChanged(e,t,i),this._updatingQPChanged(i)}}}}static #i=(()=>(0,T.a)(this.prototype,"_qp",[n.c]))()}function M(e){return e[A]}function x(e,t){if(t.fullQueryParams)return t.fullQueryParams;let i=t.routeInfos.every(e=>e.route),s={...t.queryParams};return e._deserializeQueryParams(t.routeInfos,s),i&&(t.fullQueryParams=s),s}function E(e,t){t.queryParamsFor=t.queryParamsFor||{};let i=e.fullRouteName,s=t.queryParamsFor[i];if(s)return s;let r=x(e._router,t),a=t.queryParamsFor[i]={};for(let t of(0,n.g)(e,"_qp").qps){let e=t.prop in r;a[t.prop]=e?r[t.prop]:L(t.defaultValue)}return a}function L(e){return Array.isArray(e)?(0,h.A)(e.slice()):e}function P(e,t){if(e.routable){let i=e.mountPoint;return"application"===t?i:`${i}.${t}`}return t}let F=D.prototype.serialize;function I(e){return e.serialize===F}D.reopen({mergedProperties:["queryParams"],queryParams:{},templateName:null,controllerName:null,send(){for(var e=arguments.length,t=Array(e),i=0;i{let t=(0,n.g)(e.route,"_qp");e.route.controller._qpDelegate=(0,n.g)(t,"states.active")}),a._qpUpdates.clear()}}})},6969:(e,t,i)=>{"use strict";function s(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}i.d(t,{A:()=>s})},7016:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.MutableArray});var s=i(60070)},7018:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(43952),n=i(18965);function r(){return(0,s.default)("Use `{{base-path}}` instead of `{{base-url}}`",{id:"discourse.base-url"}),(0,n.default)("")}},7049:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(45916),n=i(21371),r=i(6718),a=i(75370),o=i(20559),l=i(72172),u=i(59570),d=i(62441),c=i(60882),p=i(35623),h=i(28424),m=i(2263),g=i(47754),f=i(48310),_=i(34057),y=i(57364);let b={initialize(e){(0,m.withPluginApi)(t=>{let i=e.lookup("service:site-settings"),m=e.lookup("service:session"),b=e.lookup("service:site"),w=e.lookup("service:capabilities"),k=e.lookup("service:modal");t.decorateCookedElement(e=>(0,d.default)(e,i,m)),t.decorateCookedElement(e=>(0,h.default)(e,i)),t.decorateCookedElement(e=>{let t=e.querySelectorAll(".d-image-grid");t.length&&t.forEach(e=>new u.default(e,{columns:b.mobileView?2:3}))}),i.support_mixed_text_direction&&t.decorateCookedElement(f.setTextDirections,{}),(0,p.nativeLazyLoading)(t),t.decorateCookedElement(e=>{e.querySelectorAll("audio").forEach(i=>{i.addEventListener("play",()=>{let i=parseInt(e.closest("article")?.dataset.postId,10);i&&t.preventCloak(i)})})});let T={amazon:"discourse-amazon",githubactions:"fab-github",githubblob:"fab-github",githubcommit:"fab-github",githubpullrequest:"fab-github",githubissue:"fab-github",githubfile:"fab-github",githubgist:"fab-github",twitterstatus:"fab-twitter",wikipedia:"fab-wikipedia-w"};function S(e){let t=document.createElement("button"),i=["open-popup-link","btn-default","btn","btn-icon",...e.label?[]:["no-text"]];if(t.classList.add(...i),e.classes&&t.classList.add(...e.classes),e.title&&(t.title=(0,y.i18n)(e.title)),e.label&&w.touch&&(t.innerHTML=` ${(0,y.i18n)(e.label)} `),e.icon){let i=(0,n.create)((0,c.iconNode)(e.icon.name,{class:e.icon?.class}));t.prepend(i)}return t}function C(e){let{postId:t}=this,s=e.currentTarget.parentElement.nextElementSibling.cloneNode(!0),n=document.createElement("div");n.classList.add("cooked"),i.display_footnotes_inline&&n.classList.add("inline-footnotes"),n.dataset.refPostId=t,n.appendChild(s),k.show(r.default,{model:{tableHtml:n}})}async function A(){let{postId:e,tableIndex:t}=this;try{let i=await (0,o.ajax)(`/posts/${e}`,{type:"GET"}),s=await (0,g.parseAsync)(i.raw),n=(0,_.tokenRange)(s,"table_open","table_close")[t];k.show(a.default,{model:{post:i,tableIndex:t,tableTokens:n}})}catch(e){(0,l.popupAjaxError)(e)}}t.decorateCookedElement(e=>{e.querySelectorAll(".onebox").forEach(e=>{Object.entries(T).forEach(t=>{let[i,s]=t;e.classList.contains(i)&&e.querySelector(".source").insertAdjacentHTML("afterbegin",(0,c.iconHTML)(s))})})}),t.decorateCookedElement((e,t)=>{(0,s.schedule)("afterRender",()=>{!function(e,t){e.forEach((e,i)=>{let s=document.createElement("div");s.classList.add("fullscreen-table-wrapper__buttons");let n=S({classes:["btn-edit-table"],title:"table_builder.edit.btn_edit",icon:{name:"pencil",class:"edit-table-icon"}});if(e.parentNode.setAttribute("data-table-index",i),e.parentNode.classList.add("fullscreen-table-wrapper"),t.canEdit&&(e.parentNode.classList.add("--editable"),s.append(n),n.addEventListener("click",A.bind({postId:t.id,tableIndex:i}),!1)),e.parentNode.insertBefore(s,e),!function(e){let{clientWidth:t,scrollWidth:i}=e;return i>t}(e.parentNode)||b.isMobileDevice)return;e.parentNode.classList.add("--has-overflow");let r=S({classes:["btn-expand-table"],title:"fullscreen_table.expand_btn",icon:{name:"discourse-expand",class:"expand-table-icon"}});s.append(r),r.addEventListener("click",C.bind({postId:t.id}),!1),e.parentNode.insertBefore(s,e)})}(e.querySelectorAll(".md-table table"),t.model)})},{onlyStream:!0,id:"table-wrapper"}),t.cleanupStream(function(){let e=document.querySelector(".open-popup-link.btn-edit-table"),t=document.querySelector(".open-popup-link.btn-expand-table");t?.removeEventListener("click",C),e?.removeEventListener("click",A)})})}}},7080:(e,t,i)=>{"use strict";i.r(t),i.d(t,{MIN_POSTS_COUNT:()=>x,default:()=>E});var s=i(24698),n=i(40779),r=i(4089),a=i(66530),o=i(41993),l=i(13744),u=i(96675),d=i(58219),c=i(11811),p=i(79401),h=i(5058),m=i(81881),g=i(28029),f=i(34064),_=i(38180),y=i(22106),b=i(71773),w=i(46386),k=i(95506),T=i(20559),S=i(47754),C=i(57364),A=i(51719),D=i(9348),M=i(55888);let x=3;class E extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[l.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[l.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"mapCache",[l.service]))();#nT=(()=>void dt7948.i(this,"mapCache"))();static #a=(()=>dt7948.g(this.prototype,"dialog",[l.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #l=(()=>dt7948.g(this.prototype,"allLinksShown",[n.tracked],function(){return!1}))();#nS=(()=>void dt7948.i(this,"allLinksShown"))();static #d=(()=>dt7948.g(this.prototype,"top3LikedPosts",[n.tracked],function(){return[]}))();#nC=(()=>void dt7948.i(this,"top3LikedPosts"))();static #p=(()=>dt7948.g(this.prototype,"views",[n.tracked],function(){return[]}))();#nA=(()=>void dt7948.i(this,"views"))();static #m=(()=>dt7948.g(this.prototype,"loading",[n.tracked],function(){return!0}))();#ik=(()=>void dt7948.i(this,"loading"))();get shouldShowParticipants(){return this.args.topic.posts_count>=x&&this.args.topicDetails.participants?.length>=2&&!this.site.mobileView}get first5Participants(){return this.args.topicDetails.participants.slice(0,5)}get readTimeMinutes(){let e=Math.ceil(Math.max(this.args.topic.word_count/this.siteSettings.read_time_word_count,4*this.args.topic.posts_count/60));return e>3?e:null}get topRepliesSummaryEnabled(){return this.args.postStream.summary}get topRepliesTitle(){if(!this.topRepliesSummaryEnabled)return(0,C.i18n)("summary.short_title")}get topRepliesIcon(){return this.topRepliesSummaryEnabled?"up-down":"layer-group"}get topRepliesLabel(){return this.topRepliesSummaryEnabled?(0,C.i18n)("summary.show_all_label"):(0,C.i18n)("summary.short_label")}get loneStat(){return!this.args.topic.has_summary&&[this.hasLikes,this.hasUsers,this.hasLinks].every(e=>!e)}get manyStats(){return[this.hasLikes,this.hasUsers,this.hasLinks].every(Boolean)}get minViewsCount(){return Math.max(this.args.topic.views,1)}get shouldShowViewsChart(){return this.views.stats.length>2}get linksCount(){return this.args.topicDetails.links?.length??0}get topicLinks(){return this.args.topicDetails.links}get linksToShow(){return this.allLinksShown?this.topicLinks:this.topicLinks?.slice(0,5)}get hasMoreLinks(){return!this.allLinksShown&&this.linksCount>5}get hasLikes(){return this.args.topic.like_count>5&&this.args.topic.posts_count>x}get hasUsers(){return this.args.topic.participant_count>5}get hasLinks(){return this.linksCount>0}showAllLinks(){this.allLinksShown=!0}static #f=(()=>dt7948.n(this.prototype,"showAllLinks",[a.action]))();showTopReplies(){this.args.postStream.showTopReplies()}static #y=(()=>dt7948.n(this.prototype,"showTopReplies",[a.action]))();cancelFilter(){this.args.postStream.cancelFilter(),this.args.postStream.refresh()}static #v=(()=>dt7948.n(this.prototype,"cancelFilter",[a.action]))();postUrl(e){return this.args.topic.urlForPostNumber(e.post_number)}static #k=(()=>dt7948.n(this.prototype,"postUrl",[a.action]))();fetchMostLiked(){let e=`top3LikedPosts_${this.args.topic.id}`,t=this.mapCache.get(e);if(this.loading=!0,t){this.top3LikedPosts=t,this.loading=!1;return}let i=`/search.json?q=" " topic%3A${this.args.topic.id} order%3Alikes`;(0,T.ajax)(i).then(t=>{let i=t.posts.filter(e=>e.post_number>1&&e.like_count>0).sort((e,t)=>t.like_count-e.like_count).slice(0,3);this.mapCache.set(e,i),this.top3LikedPosts=i}).catch(e=>{this.dialog.alert((0,C.i18n)("generic_error_with_reason",{error:`http: ${e.status} - ${e.body}`}))}).finally(()=>{this.loading=!1})}static #S=(()=>dt7948.n(this.prototype,"fetchMostLiked",[a.action]))();fetchViews(){let e=`topicViews_${this.args.topic.id}`,t=this.mapCache.get(e);if(this.loading=!0,t){this.views=t,this.loading=!1;return}(0,T.ajax)(`/t/${this.args.topic.id}/view-stats.json`).then(t=>{t.stats.length||t.stats.push({viewed_at:new Date().toISOString().split("T")[0],views:this.args.topic.views}),this.views=t,this.mapCache.set(e,t)}).catch(e=>{this.dialog.alert((0,C.i18n)("generic_error_with_reason",{error:`http: ${e.status} - ${e.body}`}))}).finally(()=>{this.loading=!1})}static #A=(()=>dt7948.n(this.prototype,"fetchViews",[a.action]))();static #M=(()=>(0,D.setComponentTemplate)((0,M.createTemplateFactory)({id:"rC43dz3p",block:'[[[1,"\\n "],[10,0],[15,0,[28,[32,0],["topic-map__stats",[52,[30,0,["loneStat"]],"--single-stat"],[52,[30,0,["manyStats"]],"--many-stats"]],null]],[12],[1,"\\n "],[8,[32,1],null,[["@arrow","@identifier","@interactive","@modalForMobile","@placement","@groupIdentifier","@inline","@onShow"],[true,"topic-map__views",true,true,"right","topic-map",true,[30,0,["fetchViews"]]]],[["trigger","content"],[[[[1,"\\n "],[1,[28,[32,2],[[30,0,["minViewsCount"]]],[["noTitle"],["true"]]]],[1,"\\n "],[10,1],[14,0,"topic-map__stat-label"],[12],[1,"\\n "],[1,[28,[32,3],["views_lowercase"],[["count"],[[30,0,["minViewsCount"]]]]]],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[10,"h3"],[12],[1,[28,[32,3],["topic_map.menu_titles.views"],null]],[13],[1,"\\n "],[8,[32,4],null,[["@condition"],[[30,0,["loading"]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["shouldShowViewsChart"]],[[[1," "],[8,[32,5],null,[["@views","@created"],[[30,0,["views"]],[30,1,["created_at"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,6],null,[["@views"],[[30,0,["views"]]]],null],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[30,0,["hasLikes"]],[[[1," "],[8,[32,1],null,[["@arrow","@identifier","@interactive","@modalForMobile","@placement","@groupIdentifier","@inline","@autofocus"],[true,"topic-map__likes",true,true,"right","topic-map",true,true]],[["trigger","content"],[[[[1,"\\n "],[1,[28,[32,2],[[30,1,["like_count"]]],[["noTitle"],["true"]]]],[1,"\\n "],[10,1],[14,0,"topic-map__stat-label"],[12],[1,"\\n "],[1,[28,[32,3],["likes_lowercase"],[["count"],[[30,1,["like_count"]]]]]],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[11,"h3"],[4,[32,7],[[30,0,["fetchMostLiked"]]],null],[12],[1,[28,[32,3],["topic_map.menu_titles.replies"],null]],[13],[1,"\\n "],[8,[32,4],null,[["@condition"],[[30,0,["loading"]]]],[["default"],[[[[1,"\\n "],[8,[32,8],null,[["@name","@outletArgs"],["most-liked-replies",[28,[32,9],null,[["posts"],[[30,0,["top3LikedPosts"]]]]]]],[["default"],[[[[1,"\\n "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["top3LikedPosts"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[10,3],[15,6,[28,[30,0,["postUrl"]],[[30,2]],null]],[12],[1,"\\n "],[10,1],[14,0,"like-section__user"],[12],[1,"\\n "],[1,[28,[32,10],[[30,2,["avatar_template"]],"tiny",[28,[32,11],null,[["title"],[[30,2,["username"]]]]]],null]],[1,"\\n "],[1,[30,2,["username"]]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"like-section__likes"],[12],[1,"\\n "],[1,[30,2,["like_count"]]],[1,"\\n "],[1,[28,[32,12],["heart"],null]],[13],[1,"\\n "],[10,2],[12],[1,"\\n "],[1,[28,[32,13],[[28,[32,14],[[30,2,["blurb"]]],null]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["linksCount"]],[[[1," "],[8,[32,1],null,[["@arrow","@identifier","@interactive","@modalForMobile","@groupIdentifier","@placement","@inline","@autofocus"],[true,"topic-map__links",true,true,"topic-map","right",true,true]],[["trigger","content"],[[[[1,"\\n "],[1,[28,[32,2],[[30,0,["linksCount"]]],[["maxDisplay","noTitle"],[[32,15],"true"]]]],[1,"\\n "],[10,1],[14,0,"topic-map__stat-label"],[12],[1,"\\n "],[1,[28,[32,3],["links_lowercase"],[["count"],[[30,0,["linksCount"]]]]]],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[10,"h3"],[12],[1,[28,[32,3],["topic_map.links_title"],null]],[13],[1,"\\n "],[10,"ul"],[14,0,"topic-links"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["linksToShow"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,16],null,[["@attachment","@title","@rootDomain","@url","@userId","@clickCount"],[[30,3,["attachment"]],[30,3,["title"]],[30,3,["root_domain"]],[30,3,["url"]],[30,3,["user_id"]],[30,3,["clicks"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[3]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["hasMoreLinks"]],[[[1," "],[8,[32,17],[[24,0,"link-summary btn-flat"]],[["@action","@title","@icon"],[[30,0,["showAllLinks"]],"topic_map.links_shown","chevron-down"]],null],[1,"\\n\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["hasUsers"]],[[[1," "],[8,[32,1],null,[["@arrow","@identifier","@interactive","@placement","@modalForMobile","@groupIdentifier","@inline","@autofocus"],[true,"topic-map__users",true,"right",true,"topic-map",true,true]],[["trigger","content"],[[[[1,"\\n "],[1,[28,[32,2],[[30,1,["participant_count"]]],[["noTitle"],["true"]]]],[1,"\\n "],[10,1],[14,0,"topic-map__stat-label"],[12],[1,"\\n "],[1,[28,[32,3],["users_lowercase"],[["count"],[[30,1,["participant_count"]]]]]],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,18],null,[["@title","@userFilters","@participants"],[[28,[32,3],["topic_map.participants_title"],null],[30,4,["userFilters"]],[30,5,["participants"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["shouldShowParticipants"]],[[[1," "],[8,[32,18],null,[["@participants","@userFilters"],[[30,0,["first5Participants"]],[30,4,["userFilters"]]]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,8],null,[["@name","@outletArgs"],["topic-map-participants-after",[28,[32,9],null,[["topic"],[[30,1]]]]]],null],[1,"\\n "],[10,0],[14,0,"topic-map__buttons"],[12],[1,"\\n"],[41,[30,0,["readTimeMinutes"]],[[[1," "],[10,0],[14,0,"estimated-read-time"],[12],[1,"\\n "],[10,1],[12],[1," "],[1,[28,[32,3],["topic_map.read"],null]],[1," "],[13],[1,"\\n "],[10,1],[12],[1,"\\n "],[1,[30,0,["readTimeMinutes"]]],[1,"\\n "],[1,[28,[32,3],["topic_map.minutes"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["has_summary"]],[[[1," "],[10,0],[14,0,"summarization-button"],[12],[1,"\\n "],[8,[32,17],[[24,0,"btn-default top-replies"]],[["@action","@translatedTitle","@translatedLabel","@icon"],[[52,[30,4,["summary"]],[30,0,["cancelFilter"]],[30,0,["showTopReplies"]]],[30,0,["topRepliesTitle"]],[30,0,["topRepliesLabel"]],[30,0,["topRepliesIcon"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],["@topic","post","link","@postStream","@topicDetails"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-map/topic-map-summary.js",scope:()=>[y.default,A.default,k.default,C.i18n,d.default,f.default,g.default,o.default,p.default,w.default,_.default,r.hash,b.default,u.htmlSafe,S.emojiUnescape,50,h.default,c.default,m.default],isStrictMode:!0}),this))()}},7118:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(66530),n=i(36768),r=i(13744),a=i(99997),o=i(63239),l=i(50902),u=i(27090),d=i(43952),c=i(18965),p=i(70227),h=i(97515),m=i(79422),g=i(86232),f=i(98174),_=i(78188),y=i(65677),b=i(57364);class w extends y.default{static #e=(()=>dt7948.g(this.prototype,"capabilities",[r.service]))();#ij=(()=>void dt7948.i(this,"capabilities"))();static #i=(()=>dt7948.g(this.prototype,"clientErrorHandler",[r.service]))();#nD=(()=>void dt7948.i(this,"clientErrorHandler"))();static #n=(()=>dt7948.g(this.prototype,"composer",[r.service]))();#t4=(()=>void dt7948.i(this,"composer"))();static #a=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #l=(()=>dt7948.g(this.prototype,"dialog",[r.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #d=(()=>dt7948.g(this.prototype,"documentTitle",[r.service]))();#sg=(()=>void dt7948.i(this,"documentTitle"))();static #p=(()=>dt7948.g(this.prototype,"historyStore",[r.service]))();#nM=(()=>void dt7948.i(this,"historyStore"))();static #m=(()=>dt7948.g(this.prototype,"loadingSlider",[r.service]))();#nx=(()=>void dt7948.i(this,"loadingSlider"))();static #f=(()=>dt7948.g(this.prototype,"login",[r.service]))();#nE=(()=>void dt7948.i(this,"login"))();static #y=(()=>dt7948.g(this.prototype,"modal",[r.service]))();#tq=(()=>void dt7948.i(this,"modal"))();static #v=(()=>dt7948.g(this.prototype,"router",[r.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #k=(()=>dt7948.g(this.prototype,"site",[r.service]))();#s=(()=>void dt7948.i(this,"site"))();static #S=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #A=(()=>dt7948.g(this.prototype,"restrictedRouting",[r.service]))();#nL=(()=>void dt7948.i(this,"restrictedRouting"))();static #M=(()=>dt7948.g(this.prototype,"siteTitle",[(0,u.setting)("title")]))();#nP=(()=>void dt7948.i(this,"siteTitle"))();static #E=(()=>dt7948.g(this.prototype,"shortSiteDescription",[(0,u.setting)("short_site_description")]))();#nF=(()=>void dt7948.i(this,"shortSiteDescription"))();loading(e){return this.loadingSlider.transitionStarted(),e.finally(()=>{this.loadingSlider.transitionEnded()}),!1}static #P=(()=>dt7948.n(this.prototype,"loading",[s.action]))();willTransition(e){return!this.restrictedRouting.isRestricted||!!this.restrictedRouting.isAllowedRoute(e.to.name)||(e.abort(),this.router.replaceWith(this.restrictedRouting.redirectRoute,this.currentUser),!1)}static #I=(()=>dt7948.n(this.prototype,"willTransition",[s.action]))();willResolveModel(e){return this.historyStore.willResolveModel(e),!0}static #O=(()=>dt7948.n(this.prototype,"willResolveModel",[s.action]))();toggleMobileView(){h.default.toggleMobileView()}static #R=(()=>dt7948.n(this.prototype,"toggleMobileView",[s.action]))();toggleSidebar(){this.controllerFor("application").send("toggleSidebar")}static #B=(()=>dt7948.n(this.prototype,"toggleSidebar",[s.action]))();logout(){let{isReadOnly:e,isStaffWritesOnly:t}=this.site;e&&!t?this.dialog.alert((0,b.i18n)("read_only_mode.logout_disabled")):this.currentUser&&this.currentUser.destroySession().then(e=>(0,p.default)({redirect:e.redirect_url}))}static #Y=(()=>dt7948.n(this.prototype,"logout",[s.action]))();_collectTitleTokens(e){e.push(this.siteTitle),(window.location.pathname===(0,c.default)("/")||window.location.pathname===(0,c.default)("/login"))&&""!==this.shortSiteDescription&&e.push(this.shortSiteDescription),this.documentTitle.setTitle(e.join(" - "))}static #$=(()=>dt7948.n(this.prototype,"_collectTitleTokens",[s.action]))();composePrivateMessage(e,t){let i=e?e.get("username"):"",s=t?`${window.location.protocol}//${window.location.host}${t.url}`:null,n=t?(0,b.i18n)("composer.reference_topic_title",{title:t.topic.title}):null;return this.composer.open({action:_.default.PRIVATE_MESSAGE,recipients:i,archetypeId:"private_message",draftKey:this.composer.privateMessageDraftKey,draftSequence:0,reply:s,title:n})}static #V=(()=>dt7948.n(this.prototype,"composePrivateMessage",[s.action]))();error(e,t){let i=e.jqXHR?e.jqXHR:e,s=this.controllerFor("exception"),n=!1,r=(0,m.default)(e);if(!(i instanceof l.RouteException)){if(n=!0,console.error(...[(0,m.consolePrefix)(e,r),i].filter(Boolean)),i&&404===i.status)return this.router.transitionTo("exception-unknown");r&&this.clientErrorHandler.displayErrorNotice("Error loading route",r)}return s.setProperties({lastTransition:t,thrown:i}),t.intent.url&&("replace"===t.method?g.default.replaceState(t.intent.url):g.default.pushState(t.intent.url)),this.intermediateTransitionTo("exception"),n}static #K=(()=>dt7948.n(this.prototype,"error",[s.action]))();showLogin(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.router.transitionTo("login");return t.wantsTo=!0,t.then(()=>(0,n.getOwner)(this).lookup("controller:login").setProperties({...e}))}static #J=(()=>dt7948.n(this.prototype,"showLogin",[s.action]))();showCreateAccount(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.router.transitionTo("signup");return t.wantsTo=!0,t.then(()=>(0,n.getOwner)(this).lookup("controller:signup").setProperties({...e}))}static #X=(()=>dt7948.n(this.prototype,"showCreateAccount",[s.action]))();showNotActivated(e){this.modal.show(o.default,{model:e})}static #ee=(()=>dt7948.n(this.prototype,"showNotActivated",[s.action]))();showUploadSelector(){document.getElementById("file-uploader").click()}static #ei=(()=>dt7948.n(this.prototype,"showUploadSelector",[s.action]))();showKeyboardShortcutsHelp(){this.modal.show(a.default)}static #en=(()=>dt7948.n(this.prototype,"showKeyboardShortcutsHelp",[s.action]))();closeModal(e){return this.modal.close(e)}static #ea=(()=>dt7948.n(this.prototype,"closeModal",[s.action]))();editCategory(e){g.default.routeTo(`/c/${f.default.slugFor(e)}/edit`)}static #el=(()=>dt7948.n(this.prototype,"editCategory",[s.action]))();checkEmail(e){e.checkEmail()}static #ed=(()=>dt7948.n(this.prototype,"checkEmail",[s.action]))();createNewTopicViaParams(e,t,i,s){(0,d.default)("createNewTopicViaParam on the application route is deprecated. Use the composer service instead",{id:"discourse.createNewTopicViaParams"}),this.composer.openNewTopic({title:e,body:t,categoryId:i,tags:s})}static #ep=(()=>dt7948.n(this.prototype,"createNewTopicViaParams",[s.action]))();createNewMessageViaParams(){let{recipients:e="",topicTitle:t="",topicBody:i="",hasGroups:s=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,d.default)("createNewMessageViaParams on the application route is deprecated. Use the composer service instead",{id:"discourse.createNewMessageViaParams"}),this.composer.openNewMessage({recipients:e,title:t,body:i,hasGroups:s})}static #em=(()=>dt7948.n(this.prototype,"createNewMessageViaParams",[s.action]))()}},7145:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r}),i(49233),i(27322),i(23260),i(17633),i(4837),i(184),i(39665),i(8166);var s=i(46423);let n=Object.freeze([]),r=s.default.create({concatenatedProperties:["classNames","classNameBindings"],init(){this._super(...arguments)},classNames:n,classNameBindings:n})},7178:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698);i(40779);var n=i(13744),r=i(96675),a=i(23599),o=i(18965),l=i(57364),u=i(9348),d=i(55888);let c=(0,i(69853).A)(i(40779)).cached;class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();get targetUser(){let{topic:e}=this.args;if(e&&e.isPrivateMessage&&e.relatedMessages?.length>=5&&0===e.details.allowed_groups.length&&2===e.details.allowed_users.length&&e.details.allowed_users.find(e=>e.username===this.currentUser.username))return e.details.allowed_users.find(e=>e.username!==this.currentUser.username)}static #i=(()=>dt7948.n(this.prototype,"targetUser",[c]))();get searchLink(){return(0,o.default)(`/search?expanded=true&q=%40${this.targetUser.username}%20in%3Apersonal-direct`)}static #n=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"/UHgJGK3",block:'[[[1,"\\n "],[10,0],[14,"role","complementary"],[14,"aria-labelledby","related-messages-title"],[14,1,"related-messages"],[14,0,"more-topics__list"],[12],[1,"\\n "],[10,"h3"],[14,1,"related-messages-title"],[14,0,"more-topics__list-title"],[12],[1,"\\n "],[1,[28,[32,0],["related_messages.title"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"topics"],[12],[1,"\\n "],[8,[32,1],null,[["@topics","@hideCategory","@showPosters"],[[30,1,["relatedMessages"]],true,true]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["targetUser"]],[[[1," "],[10,"h3"],[14,0,"see-all-pms-message"],[12],[1,"\\n "],[1,[28,[32,2],[[28,[32,0],["related_messages.see_all"],[["path","username"],[[30,0,["searchLink"]],[30,0,["targetUser","username"]]]]]],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/related-messages.js",scope:()=>[l.i18n,a.default,r.htmlSafe],isStrictMode:!0}),this))()}},7191:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(78941),n=i(90098),r=i(47611),a=i(79401),o=i(82286),l=i(46386),u=i(57364),d=i(9348),c=i(55888),p=i(74975);let h=(0,n.default)((0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"Kvpxi1Em",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["about-wrapper",[28,[32,1],null,[["model","contactInfo","faqOverridden"],[[30,1,["model"]],[30,1,["contactInfo"]],[30,1,["faqOverridden"]]]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["about-page"],null]],[1,"\\n\\n "],[10,"section"],[12],[1,"\\n "],[10,0],[14,0,"container"],[12],[1,"\\n "],[10,0],[14,0,"contents clearfix body-page"],[12],[1,"\\n\\n "],[10,"ul"],[14,0,"nav-pills"],[12],[1,"\\n "],[10,"li"],[14,0,"nav-item-about"],[12],[8,[32,3],[[24,0,"active"]],[["@route"],["about"]],[["default"],[[[[1,[28,[32,4],["about.simple_title"],null]]],[]]]]],[13],[1,"\\n"],[41,[30,1,["faqOverridden"]],[[[1," "],[10,"li"],[14,0,"nav-item-guidelines"],[12],[8,[32,3],null,[["@route"],["guidelines"]],[["default"],[[[[1,[28,[32,4],["guidelines"],null]]],[]]]]],[13],[1,"\\n "],[10,"li"],[14,0,"nav-item-faq"],[12],[8,[32,3],null,[["@route"],["faq"]],[["default"],[[[[1,[28,[32,4],["faq"],null]]],[]]]]],[13],[1,"\\n"]],[]],[[[41,[30,1,["renameFaqToGuidelines"]],[[[1," "],[10,"li"],[14,0,"nav-item-guidelines"],[12],[8,[32,3],null,[["@route"],["guidelines"]],[["default"],[[[[1,[28,[32,4],["guidelines"],null]]],[]]]]],[13],[1,"\\n"]],[]],[[[1," "],[10,"li"],[14,0,"nav-item-faq"],[12],[8,[32,3],null,[["@route"],["faq"]],[["default"],[[[[1,[28,[32,4],["faq"],null]]],[]]]]],[13],[1,"\\n "]],[]]]],[]]],[41,[30,1,["site","tos_url"]],[[[1," "],[10,"li"],[14,0,"nav-item-tos"],[12],[8,[32,3],null,[["@route"],["tos"]],[["default"],[[[[1,[28,[32,4],["tos"],null]]],[]]]]],[13],[1,"\\n"]],[]],null],[41,[30,1,["site","privacy_policy_url"]],[[[1," "],[10,"li"],[14,0,"nav-item-privacy"],[12],[8,[32,3],null,[["@route"],["privacy"]],[["default"],[[[[1,[28,[32,4],["privacy"],null]]],[]]]]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[8,[32,5],null,[["@model"],[[30,1,["model"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/about.js",scope:()=>[a.default,l.default,o.default,s.LinkTo,u.i18n,r.default],isStrictMode:!0}),(0,p.default)(void 0,void 0)))},7220:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(13744),n=i(98320),r=i(60882),a=i(39441);class o extends a.default{static #e=(()=>dt7948.g(this.prototype,"site",[s.service]))();#s=(()=>void dt7948.i(this,"site"))();get type(){return"category"}get preloadedData(){return this.site.categories||[]}generatePreloadedCssClasses(){return[".hashtag-category-square { background-color: var(--primary-medium); }",...super.generatePreloadedCssClasses()]}generateColorCssClasses(e){let t,i,s;if(e.colors?1===e.colors.length?t=e.colors[0]:(i=e.colors[0],t=e.colors[1]):(t=e.color,e.parentCategory&&"square"===e.styleType&&(i=e.parentCategory.color)),i)s=`background: linear-gradient(-90deg, #${t} 50%, #${i} 50%);`;else if("icon"===e.styleType)s=`color: #${t};`;else{if("square"!==e.styleType)return[];s=`background-color: #${t};`}return[`.hashtag-color--category-${e.id} { ${s} }`]}generateIconHTML(e){e.preloaded?this.onLoad(e):this.load(e.id);let t="";"icon"===e.style_type&&e.icon&&(t=(0,r.iconHTML)(e.icon)),"emoji"===e.style_type&&e.emoji&&(t=(0,n.default)(`:${e.emoji}:`));let i=`hashtag-color--${this.type}-${e.id}`;return`${t}`}isLoaded(e){return!this.site.lazy_load_categories||super.isLoaded(e)}}},7254:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>P});var s=i(24698),n=i(40779),r=i(4089),a=i(58452),o=i(66530),l=i(13744),u=i(96675),d=i(90831),c=i(47954),p=i(11811),h=i(76586),m=i(47210),g=i(1797),f=i(72172),_=i(39960),y=i(9021),b=i(47754),w=i(46566),k=i(34057),T=i(45379),S=i(57364),C=i(90928),A=i(75348),D=i(33608),M=i(9348),x=i(55888),E=i(74975);let L=(0,i(69853).A)(i(40779)).cached;class P extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[l.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[l.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"site",[l.service]))();#s=(()=>void dt7948.i(this,"site"))();static #a=(()=>dt7948.g(this.prototype,"saving",[n.tracked],function(){return!1}))();#nI=(()=>void dt7948.i(this,"saving"))();static #l=(()=>dt7948.g(this.prototype,"displayAdvancedOptions",[n.tracked],function(){return!1}))();#nN=(()=>void dt7948.i(this,"displayAdvancedOptions"))();static #d=(()=>dt7948.g(this.prototype,"isEmailInvite",[n.tracked],function(){return(0,k.emailValid)(this.data.restrictTo)}))();#nO=(()=>void dt7948.i(this,"isEmailInvite"))();static #p=(()=>dt7948.g(this.prototype,"flashText",[n.tracked]))();#nj=(()=>void dt7948.i(this,"flashText"))();static #m=(()=>dt7948.g(this.prototype,"flashClass",[n.tracked],function(){return"info"}))();#nR=(()=>void dt7948.i(this,"flashClass"))();static #f=(()=>dt7948.g(this.prototype,"topics",[n.tracked],function(){return this.invite.topics??this.model.topics??[]}))();#nU=(()=>void dt7948.i(this,"topics"))();allGroups=this.site.groups.filter(e=>!e.automatic);model=this.args.model;invite=(()=>this.model.invite??T.default.create())();sendEmail=!1;formApi;get linkValidityMessageFormat(){return S.default.messageFormat("user.invited.invite.link_validity_MF",{user_count:this.defaultRedemptionsAllowed,duration_days:this.siteSettings.invite_expiry_days})}get expireAfterOptions(){let e=[1,7,30,90];return e.includes(this.siteSettings.invite_expiry_days)||e.push(this.siteSettings.invite_expiry_days),(e=e.sort((e,t)=>e-t).map(e=>({value:e,text:(0,S.i18n)("dates.medium.x_days",{count:e})}))).push({value:999999,text:(0,S.i18n)("time_shortcut.never")}),e}get data(){let e={description:this.invite.description??"",restrictTo:this.invite.emailOrDomain??"",maxRedemptions:this.invite.max_redemptions_allowed??this.defaultRedemptionsAllowed,inviteToTopic:this.invite.topicId,inviteToGroups:this.model.groupIds??this.invite.groupIds??[],customMessage:this.invite.custom_message??""};return this.inviteCreated?e.expiresAt=this.invite.expires_at:e.expiresAfterDays=this.siteSettings.invite_expiry_days,e}static #y=(()=>dt7948.n(this.prototype,"data",[L]))();async save(e){let t=!0;e.emailOrDomain&&(this.isEmailInvite?(t=!1,e.email=e.emailOrDomain):(0,k.hostnameValid)(e.emailOrDomain)&&(e.domain=e.emailOrDomain),delete e.emailOrDomain),t?this.invite.email&&(e.email=e.custom_message=""):(e.max_redemptions_allowed>1&&(e.max_redemptions_allowed=1),this.sendEmail?(e.send_email=!0,e.topic_id&&(e.invite_to_topic=!0)):e.skip_email=!0),this.saving=!0;try{await this.invite.save(e);let t=this.model?.invites;t&&!t.some(e=>e.id===this.invite.id)&&t.unshiftObject(this.invite),this.simpleMode||(this.sendEmail?this.flashText=(0,b.sanitize)((0,S.i18n)("user.invited.invite.invite_saved_with_sending_email")):this.flashText=(0,b.sanitize)((0,S.i18n)("user.invited.invite.invite_saved_without_sending_email")),this.flashClass="success")}catch(e){this.flashText=(0,b.sanitize)((0,f.extractError)(e)),this.flashClass="error"}finally{this.saving=!1}}get descriptionValidation(){return`length:0,${_.INVITE_DESCRIPTION_MAX_LENGTH}`}get maxRedemptionsAllowedLimit(){return this.currentUser.staff?this.siteSettings.invite_link_max_redemptions_limit:this.siteSettings.invite_link_max_redemptions_limit_users}get defaultRedemptionsAllowed(){return Math.min(this.maxRedemptionsAllowedLimit,this.currentUser.staff?100:10)}get canInviteToGroup(){return this.currentUser.staff||this.currentUser.groups.some(e=>e.group_user?.owner)}get canArriveAtTopic(){return this.currentUser.staff&&!this.siteSettings.must_approve_users}get simpleMode(){return!this.args.model.editing&&!this.displayAdvancedOptions}get inviteCreated(){return!!this.invite.get("id")}handleRestrictToChange(e,t){let{set:i}=t;i("restrictTo",e),this.isEmailInvite=(0,k.emailValid)(e)}static #v=(()=>dt7948.n(this.prototype,"handleRestrictToChange",[o.action]))();async onFormSubmit(e){let t={description:e.description,emailOrDomain:e.restrictTo?.trim(),group_ids:e.inviteToGroups,topic_id:e.inviteToTopic,max_redemptions_allowed:e.maxRedemptions,custom_message:e.customMessage};e.expiresAt?t.expires_at=e.expiresAt:e.expiresAfterDays&&(t.expires_at=moment().add(e.expiresAfterDays,"days").format(C.FORMAT)),await this.save(t)}static #k=(()=>dt7948.n(this.prototype,"onFormSubmit",[o.action]))();saveInvite(){this.sendEmail=!1,this.formApi.submit()}static #S=(()=>dt7948.n(this.prototype,"saveInvite",[o.action]))();saveInviteAndSendEmail(){this.sendEmail=!0,this.formApi.submit()}static #A=(()=>dt7948.n(this.prototype,"saveInviteAndSendEmail",[o.action]))();onChangeTopic(e,t,i){this.topics=[i],e(t)}static #M=(()=>dt7948.n(this.prototype,"onChangeTopic",[o.action]))();showAdvancedMode(e){this.displayAdvancedOptions=!0,e.preventDefault(),e.stopPropagation()}static #E=(()=>dt7948.n(this.prototype,"showAdvancedMode",[o.action]))();async createLink(){this.sendEmail=!1;let e=(0,w.applyValueTransformer)("invite-simple-mode-topic",null,{invite:this.invite});await this.save({max_redemptions_allowed:this.defaultRedemptionsAllowed,expires_at:moment().add(this.siteSettings.invite_expiry_days,"days").format(C.FORMAT),...null!=e&&{topic_id:e}})}static #P=(()=>dt7948.n(this.prototype,"createLink",[o.action]))();cancel(){this.args.closeModal()}static #I=(()=>dt7948.n(this.prototype,"cancel",[o.action]))();registerApi(e){this.formApi=e}static #O=(()=>dt7948.n(this.prototype,"registerApi",[o.action]))();static #R=(()=>(0,M.setComponentTemplate)((0,x.createTemplateFactory)({id:"y2HsB4El",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"create-invite-modal"]],[["@title","@closeModal","@hideFooter","@inline"],[[28,[32,1],[[52,[30,1,["editing"]],"user.invited.invite.edit_title","user.invited.invite.new_title"]],null],[30,2],[28,[32,2],[[30,0,["simpleMode"]],[30,0,["inviteCreated"]]],null],[30,3]]],[["belowHeader","body","footer"],[[[[1,"\\n"],[41,[28,[32,3],[[30,0,["flashText"]],[30,1,["editing"]]],null],[[[1," "],[8,[32,4],null,[["@invite","@alertClass","@showInviteLink"],[[30,0,["invite"]],[30,0,["flashClass"]],[28,[32,2],[[30,0,["inviteCreated"]],[28,[32,5],[[30,0,["flashClass"]],"error"],null]],null]]],[["default"],[[[[1,"\\n"],[41,[30,0,["flashText"]],[[[1," "],[1,[28,[32,6],[[30,0,["flashText"]]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,1],["user.invited.invite.copy_link_and_share_it"],null]],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],[]],[[[1,"\\n"],[41,[30,0,["simpleMode"]],[[[41,[30,0,["inviteCreated"]],[[[41,[51,[30,0,["site","mobileView"]]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,1],["user.invited.invite.copy_link_and_share_it"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"link-share-container"],[12],[1,"\\n "],[8,[32,7],null,[["@invite"],[[30,0,["invite"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,1],["user.invited.invite.create_link_to_invite"],null]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[10,2],[14,0,"link-limits-info"],[12],[1,"\\n "],[1,[30,0,["linkValidityMessageFormat"]]],[1,"\\n "],[11,3],[24,0,"edit-link-options"],[24,"role","button"],[24,"tabindex","0"],[4,[32,8],["click",[30,0,["showAdvancedMode"]]],null],[4,[32,8],["keydown",[30,0,["showAdvancedMode"]]],null],[12],[1,[28,[32,1],["user.invited.invite.edit_link_options"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,9],null,[["@data","@onSubmit","@onRegisterApi"],[[30,0,["data"]],[30,0,["onFormSubmit"]],[30,0,["registerApi"]]]],[["default"],[[[[1,"\\n "],[8,[30,4,["Field"]],null,[["@name","@title","@format","@validation"],["description",[28,[32,1],["user.invited.invite.description"],null],"large",[30,0,["descriptionValidation"]]]],[["default"],[[[[1,"\\n "],[8,[30,5,["Input"]],null,null,null],[1,"\\n "]],[5]]]]],[1,"\\n "],[8,[30,4,["Field"]],null,[["@name","@title","@format","@onSet"],["restrictTo",[28,[32,1],["user.invited.invite.restrict"],null],"large",[30,0,["handleRestrictToChange"]]]],[["default"],[[[[1,"\\n "],[8,[30,6,["Input"]],[[16,"placeholder",[28,[32,1],["user.invited.invite.email_or_domain_placeholder"],null]]],null,null],[1,"\\n "]],[6]]]]],[1,"\\n\\n"],[41,[51,[30,0,["isEmailInvite"]]],[[[1," "],[8,[30,4,["Field"]],null,[["@name","@title","@type","@format","@validation"],["maxRedemptions",[28,[32,1],["user.invited.invite.max_redemptions_allowed"],null],"number","small","required"]],[["default"],[[[[1,"\\n "],[8,[30,7,["Input"]],[[24,"min","1"],[16,"max",[30,0,["maxRedemptionsAllowedLimit"]]],[24,4,"number"]],null,null],[1,"\\n "]],[7]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["inviteCreated"]],[[[1," "],[8,[30,4,["Field"]],null,[["@name","@title","@format","@validation"],["expiresAt",[28,[32,1],["user.invited.invite.expires_at"],null],"large","required"]],[["default"],[[[[1,"\\n "],[8,[30,8,["Custom"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,10],null,[["@clearable","@input","@noRelativeOptions","@onChangeInput"],[true,[30,8,["value"]],true,[30,8,["set"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[8]]]]],[1,"\\n"]],[]],[[[1," "],[8,[30,4,["Field"]],null,[["@name","@title","@format","@validation"],["expiresAfterDays",[28,[32,1],["user.invited.invite.expires_after"],null],"large","required"]],[["default"],[[[[1,"\\n "],[8,[30,9,["Select"]],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["expireAfterOptions"]]],null]],null],null,[[[1," "],[8,[30,10,["Option"]],null,[["@value"],[[30,11,["value"]]]],[["default"],[[[[1,[30,11,["text"]]]],[]]]]],[1,"\\n"]],[11]],null],[1," "]],[10]]]]],[1,"\\n "]],[9]]]]],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,0,["canArriveAtTopic"]],[[[1," "],[8,[30,4,["Field"]],null,[["@name","@title","@format"],["inviteToTopic",[28,[32,1],["user.invited.invite.invite_to_topic"],null],"large"]],[["default"],[[[[1,"\\n "],[8,[30,12,["Custom"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,11],null,[["@value","@content","@onChange","@options"],[[30,12,["value"]],[30,0,["topics"]],[28,[32,12],[[30,0,["onChangeTopic"]],[30,12,["set"]]],null],[28,[32,13],null,[["additionalFilters"],["status:public"]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[12]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["canInviteToGroup"]],[[[1," "],[8,[30,4,["Field"]],null,[["@name","@title","@format"],["inviteToGroups",[28,[32,1],["user.invited.invite.add_to_groups"],null],"large"]],[["default"],[[[[1,"\\n "],[8,[30,13,["Custom"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,14],null,[["@content","@value","@labelProperty","@onChange"],[[30,0,["allGroups"]],[30,13,["value"]],"name",[30,13,["set"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[13]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isEmailInvite"]],[[[1," "],[8,[30,4,["Field"]],null,[["@name","@title","@format"],["customMessage",[28,[32,1],["user.invited.invite.custom_message"],null],"full"]],[["default"],[[[[1,"\\n "],[8,[30,14,["Textarea"]],[[16,"height",100],[16,"placeholder",[28,[32,1],["user.invited.invite.custom_message_placeholder"],null]]],null,null],[1,"\\n "]],[14]]]]],[1,"\\n"]],[]],null],[1," "]],[4]]]]],[1,"\\n"]],[]]],[1," "]],[]],[[[1,"\\n"],[41,[30,0,["simpleMode"]],[[[1," "],[8,[32,15],[[24,0,"btn-primary save-invite"],[24,"autofocus","true"]],[["@label","@action","@disabled"],["user.invited.invite.create_link",[30,0,["createLink"]],[30,0,["saving"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,15],[[24,0,"btn-primary save-invite"]],[["@label","@action","@disabled"],[[52,[30,0,["inviteCreated"]],"user.invited.invite.update_invite","user.invited.invite.create_link"],[30,0,["saveInvite"]],[30,0,["saving"]]]],null],[1,"\\n"],[41,[30,0,["isEmailInvite"]],[[[1," "],[8,[32,15],[[24,"autofocus","true"],[24,0,"btn-primary save-invite-and-send-email"]],[["@label","@action","@disabled"],[[52,[30,0,["inviteCreated"]],"user.invited.invite.update_invite_and_send_email","user.invited.invite.create_link_and_send_email"],[30,0,["saveInviteAndSendEmail"]],[30,0,["saving"]]]],null],[1,"\\n"]],[]],null]],[]]],[1," "],[8,[32,15],[[24,0,"btn-transparent cancel-button"]],[["@label","@action"],["user.invited.invite.cancel",[30,0,["cancel"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@model","@closeModal","@inline","form","field","field","field","field","field","select","option","field","field","field"],false,["if","unless","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/create-invite.js",scope:()=>[h.default,S.i18n,d.and,d.or,F,d.notEq,u.htmlSafe,I,a.on,m.default,g.default,D.default,r.fn,r.hash,A.default,p.default],isStrictMode:!0}),this))()}let F=(0,M.setComponentTemplate)((0,x.createTemplateFactory)({id:"V7fnDNr2",block:'[[[1,"\\n "],[10,0],[14,1,"modal-alert"],[14,"role","alert"],[15,0,[29,["alert alert-",[30,1]]]],[12],[1,"\\n "],[10,0],[14,0,"input-group invite-link"],[12],[1,"\\n "],[10,"label"],[14,"for","invite-link"],[12],[1,"\\n "],[18,4,null],[1,"\\n "],[13],[1,"\\n"],[41,[30,2],[[[1," "],[10,0],[14,0,"link-share-container"],[12],[1,"\\n "],[8,[32,0],null,[["@invite"],[[30,3]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],["@alertClass","@showInviteLink","@invite","&default"],false,["yield","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/create-invite.js",scope:()=>[I],isStrictMode:!0}),(0,E.default)(void 0,"create-invite:InviteModalAlert"));class I extends s.default{static #e=(()=>dt7948.g(this.prototype,"capabilities",[l.service]))();#ij=(()=>void dt7948.i(this,"capabilities"))();async nativeShare(){await (0,y.nativeShare)(this.capabilities,{url:this.args.invite.link})}static #i=(()=>dt7948.n(this.prototype,"nativeShare",[o.action]))();static #n=(()=>(0,M.setComponentTemplate)((0,x.createTemplateFactory)({id:"yxPGvtZc",block:'[[[1,"\\n "],[10,"input"],[14,3,"invite-link"],[14,0,"invite-link"],[15,2,[30,1,["link"]]],[15,"readonly",true],[14,4,"text"],[12],[13],[1,"\\n"],[41,[28,[32,0],[[30,0,["capabilities"]]],null],[[[1," "],[8,[32,1],[[24,0,"btn-primary"]],[["@icon","@translatedLabel","@action"],["share",[28,[32,2],["user.invited.invite.share_link"],null],[30,0,["nativeShare"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,3],null,[["@selector","@translatedLabel","@translatedLabelAfterCopy"],["input.invite-link",[28,[32,2],["user.invited.invite.copy_link"],null],[28,[32,2],["user.invited.invite.link_copied"],null]]],null],[1,"\\n"]],[]]],[1," "]],["@invite"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/create-invite.js",scope:()=>[y.canNativeShare,p.default,S.i18n,c.default],isStrictMode:!0}),this))()}},7297:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(40779),n=i(81845),r=i(66530),a=i(58295),o=i(13744),l=i(86726),u=i(72172),d=i(6827),c=i(45824),p=i(86232),h=i(98174),m=i(52042),g=i(57364);let f=["name","slug","parent_category_id","description","color","text_color","style_type","emoji","icon","localizations"];class _ extends n.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #i=(()=>dt7948.g(this.prototype,"site",[o.service]))();#s=(()=>void dt7948.i(this,"site"))();static #n=(()=>dt7948.g(this.prototype,"router",[o.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #a=(()=>dt7948.g(this.prototype,"breadcrumbCategories",[s.tracked],function(){return this.site.get("categoriesList")}))();#nB=(()=>void dt7948.i(this,"breadcrumbCategories"))();selectedTab="general";saving=!1;deleting=!1;panels=[];showTooltip=!1;createdCategory=!1;expandedMenu=!1;parentParams=null;validators=[];textColors=["000000","FFFFFF"];static #l=(()=>dt7948.g(this.prototype,"showDeleteReason",[(0,a.and)("showTooltip","model.cannot_delete_reason")]))();#nH=(()=>void dt7948.i(this,"showDeleteReason"))();get formData(){let e=(0,r.getProperties)(this.model,...f);return this.model.styleType||(e.style_type="square"),e}canSaveForm(e){return!!e.name&&!!e.color&&!(e.text_color.length<6)&&(this.saving||this.deleting,!0)}static #d=(()=>dt7948.n(this.prototype,"canSaveForm",[r.action]))();deleteDisabled(e,t){return t||e||!1}static #p=(()=>dt7948.n(this.prototype,"deleteDisabled",[(0,d.default)("saving","deleting")]))();categoryName(e){return(e=e||"").trim().length>0?e:(0,g.i18n)("preview")}static #m=(()=>dt7948.n(this.prototype,"categoryName",[(0,d.default)("name")]))();saveLabel(e,t){return e?"saving":t?"category.save":"category.create"}static #f=(()=>dt7948.n(this.prototype,"saveLabel",[(0,d.default)("saving","model.id")]))();title(e,t){return e?(0,g.i18n)("category.edit_dialog_title",{categoryName:t}):(0,g.i18n)("category.create")}static #y=(()=>dt7948.n(this.prototype,"title",[(0,d.default)("model.id","model.name")]))();selectedTabTitle(e){return(0,g.i18n)(`category.${(0,l.underscore)(e)}`)}static #v=(()=>dt7948.n(this.prototype,"selectedTabTitle",[(0,d.default)("selectedTab")]))();registerValidator(e){this.validators.push(e)}static #k=(()=>dt7948.n(this.prototype,"registerValidator",[r.action]))();isLeavingForm(e){return!e.targetName.startsWith("editCategory.tabs")}static #S=(()=>dt7948.n(this.prototype,"isLeavingForm",[r.action]))();saveCategory(e){this.validators.some(e=>e())||(this.model.setProperties(e),this.set("saving",!0),this.model.save().then(e=>{this.model.id||(this.model.setProperties({slug:e.category.slug,id:e.category.id,can_edit:e.category.can_edit,permission:m.default.FULL,notification_level:c.NotificationLevels.REGULAR}),this.site.updateCategory(this.model),this.router.transitionTo("editCategory",h.default.slugFor(this.model))),this.breadcrumbCategories=this.site.categoriesList.map(e=>e.id===this.model.id?this.model:e)}).catch(e=>{(0,u.popupAjaxError)(e),this.model.set("parent_category_id",void 0)}).finally(()=>{this.set("saving",!1)}))}static #A=(()=>dt7948.n(this.prototype,"saveCategory",[r.action]))();deleteCategory(){this.set("deleting",!0),this.dialog.deleteConfirm({title:(0,g.i18n)("category.delete_confirm"),didConfirm:()=>{this.model.destroy().then(()=>{this.router.transitionTo("discovery.categories")}).catch(()=>{this.displayErrors([(0,g.i18n)("category.delete_error")])}).finally(()=>{this.set("deleting",!1)})},didCancel:()=>this.set("deleting",!1)})}static #M=(()=>dt7948.n(this.prototype,"deleteCategory",[r.action]))();toggleDeleteTooltip(){this.toggleProperty("showTooltip")}static #E=(()=>dt7948.n(this.prototype,"toggleDeleteTooltip",[r.action]))();goBack(){p.default.routeTo(this.model.url)}static #P=(()=>dt7948.n(this.prototype,"goBack",[r.action]))()}},7324:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(31137);let n={initialize(e){let t=e.lookup("service:session");t.svgSpritePath&&(0,s.loadSprites)(t.svgSpritePath,"fontawesome")}}},7372:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>A});var s=i(24698),n=i(36768),r=i(13744),a=i(96675),o=i(4705),l=i(47983),u=i(70481),d=i(46386),c=i(6827),p=i(99148),h=i(51852),m=i(18538),g=i(72466),f=i(64364),_=i(95128),y=i(18593),b=i(99437),w=i(57364),k=i(9348),T=i(55888);let S=document.implementation.createHTMLDocument("detached"),C=[b.default,f.default,m.default,_.default,g.default];class A extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[r.service]))();#tY=(()=>void dt7948.i(this,"appEvents"))();static #i=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();#nY=[];#nq=(()=>this.args.decoratorState||new o.TrackedMap)();willDestroy(){super.willDestroy(...arguments),this.#n$()}get isStreamElement(){return this.args.streamElement??!1}get shouldAddSelectionBarrier(){return this.args.selectionBarrier??!0}decorate(e,t,i){this.#n$();let s=[...C,...this.extraDecorators];this.shouldAddSelectionBarrier&&s.push(y.default),s.forEach(s=>{try{let r;this.#nq.has(s)?r=this.#nq.get(s):(r=new o.TrackedMap,this.#nq.set(s,r));let a=(0,n.getOwner)(this),u=(e,s,n,o)=>{let u={...o,post:s,decoratorState:r,streamElement:this.isStreamElement,highlightTerm:i.highlightTerm,extraDecorators:[...this.extraDecorators,...(0,h.makeArray)(n)]};t.renderGlimmer(e,(0,l.default)(A,u,a))},d=s(e,{data:{post:this.args.post,cooked:this.cooked,highlightTerm:i.highlightTerm,isIgnored:i.isIgnored,ignoredUsers:i.ignoredUsers},decoratorState:r,cooked:this.cooked,createDetachedElement:this.#nz,currentUser:this.currentUser,extraDecorators:this.extraDecorators,helper:t,highlightTerm:i.highlightTerm,ignoredUsers:i.ignoredUsers,isIgnored:i.isIgnored,owner:a,post:this.args.post,renderGlimmer:t.renderGlimmer,renderNestedPostCookedHtml:u,streamElement:this.isStreamElement});"function"==typeof d&&this.#nY.push(d)}catch(e){if((0,p.isRailsTesting)()||(0,p.isTesting)())throw e;console.error(e)}}),this.appEvents.trigger(this.isStreamElement?"decorate-post-cooked-element":"decorate-non-stream-cooked-element",e,t)}static #n=(()=>dt7948.n(this.prototype,"decorate",[c.bind]))();get className(){return this.args.className??"cooked"}get cooked(){return this.isIgnored?(0,w.i18n)("post.ignored"):this.args.cooked??this.args.post.cooked}get highlightTerm(){return this.args.highlightTerm}get extraDecorators(){return(0,h.makeArray)(this.args.extraDecorators)}get ignoredUsers(){return this.currentUser?.ignored_users}get isIgnored(){return(this.args.post.firstPost||this.args.embeddedPost)&&this.ignoredUsers?.includes?.(this.args.post.username)}#n$(){this.#nY.forEach(e=>e()),this.#nY=[]}#nz(e){return S.createElement(e)}static #a=(()=>(0,k.setComponentTemplate)((0,T.createTemplateFactory)({id:"xEGQrDCm",block:'[[[1,"\\n "],[8,[32,0],null,[["@className","@decorate","@decorateArgs","@html","@model"],[[30,0,["className"]],[30,0,["decorate"]],[28,[32,1],null,[["highlightTerm","isIgnored","ignoredUsers"],[[30,0,["highlightTerm"]],[30,0,["isIgnored"]],[30,0,["ignoredUsers"]]]]],[28,[32,2],[[30,0,["cooked"]]],null],[30,1]]],null],[1,"\\n "]],["@post"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/cooked-html.js",scope:()=>[u.default,d.default,a.htmlSafe],isStrictMode:!0}),this))()}},7381:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(39992),n=i(86232),r=i(57364);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}}},7394:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(12040),n=i(66530),r=i(17048),a=i(36768),o=i(13744),l=i(55259),u=i(30157);class d extends u.default{static #e=(()=>dt7948.g(this.prototype,"menu",[o.service]))();#nv=(()=>void dt7948.i(this,"menu"))();static #i=(()=>dt7948.g(this.prototype,"site",[o.service]))();#s=(()=>void dt7948.i(this,"site"))();static #n=(()=>dt7948.g(this.prototype,"modal",[o.service]))();#tq=(()=>void dt7948.i(this,"modal"))();static #a=(()=>dt7948.g(this.prototype,"expanded",[s.tracked],function(){return!1}))();#nV=(()=>void dt7948.i(this,"expanded"))();static #l=(()=>dt7948.g(this.prototype,"detachedTrigger",[s.tracked],function(){return!1}))();#nW=(()=>void dt7948.i(this,"detachedTrigger"))();static #d=(()=>dt7948.g(this.prototype,"options",[s.tracked]))();#nK=(()=>void dt7948.i(this,"options"))();static #p=(()=>dt7948.g(this.prototype,"portalOutletOverrideElement",[s.tracked]))();#nG=(()=>void dt7948.i(this,"portalOutletOverrideElement"))();static #m=(()=>dt7948.g(this.prototype,"_trigger",[s.tracked]))();#nJ=(()=>void dt7948.i(this,"_trigger"))();constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(...arguments),(0,a.setOwner)(this,e),this.options={...l.MENU.options,...t},this.portalOutletOverrideElement=t.portalOutletElement}get portalOutletElement(){return this.portalOutletOverrideElement||document.getElementById("d-menu-portals")}get trigger(){return this._trigger}set trigger(e){this._trigger=e,this.id=e.id||(0,r.guidFor)(e),this.setupListeners()}get shouldTrapPointerDown(){return this.expanded}async close(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{focusTrigger:!0};(0,a.getOwner)(this).isDestroying||(await super.close(...arguments),this.site.mobileView&&this.options.modalForMobile&&this.expanded&&await this.modal.close(),await this.menu.close(this),e.focusTrigger&&this.trigger?.focus?.(),await this.options.onClose?.(this))}static #f=(()=>dt7948.n(this.prototype,"close",[n.action]))();async show(){await super.show(...arguments),await this.menu.show(this)}static #y=(()=>dt7948.n(this.prototype,"show",[n.action]))();async onPointerMove(e){this.expanded&&this.trigger.contains(e.target)||await this.onTrigger(e)}static #v=(()=>dt7948.n(this.prototype,"onPointerMove",[n.action]))();async onClick(e){if(this.expanded&&this.untriggers.includes("click"))return await this.onUntrigger(e);await this.onTrigger(e)}static #k=(()=>dt7948.n(this.prototype,"onClick",[n.action]))();async onPointerLeave(e){this.untriggers.includes("hover")&&await this.onUntrigger(e)}static #S=(()=>dt7948.n(this.prototype,"onPointerLeave",[n.action]))();async onTrigger(e){e.stopPropagation(),await this.options.beforeTrigger?.(this),await this.show()}static #A=(()=>dt7948.n(this.prototype,"onTrigger",[n.action]))();async onUntrigger(e){e.stopPropagation(),await this.close()}static #M=(()=>dt7948.n(this.prototype,"onUntrigger",[n.action]))();destroy(){this.close(),this.tearDownListeners()}static #E=(()=>dt7948.n(this.prototype,"destroy",[n.action]))()}},7446:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(84609),n=i(57364),r=i(9348),a=i(55888),o=i(74975);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"LOJTbWPr",block:'[[[1,"\\n"],[41,[30,1,["hasExcerpt"]],[[[1," "],[10,3],[15,6,[30,1,["url"]]],[14,0,"topic-excerpt"],[12],[1,"\\n "],[1,[28,[32,0],[[30,1,["escapedExcerpt"]]],[["htmlSafe"],["true"]]]],[1,"\\n\\n"],[41,[30,1,["excerptTruncated"]],[[[1," "],[10,1],[14,0,"topic-excerpt-more"],[12],[1,[28,[32,1],["read_more"],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null]],["@topic"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/topic-excerpt.js",scope:()=>[s.default,n.i18n],isStrictMode:!0}),(0,o.default)(void 0,"topic-excerpt:TopicExcerpt"))},7471:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698),n=i(58452),r=i(66530),a=i(13744),o=i(22106),l=i(71773),u=i(57364),d=i(9348),c=i(55888);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"navigationMenu",[a.service]))();#nQ=(()=>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 #n=(()=>dt7948.n(this.prototype,"toggleWithBlur",[r.action]))();static #a=(()=>(0,d.setComponentTemplate)((0,c.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))()}},7505:e=>{e.exports=function(e){return e&&"Thunk"===e.type}},7550:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(55568);let n=new Proxy(i(63604).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))})},7569:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(9348),n=i(66530),r=i(68643),a=i(78178),o=i(6827),l=i(57364),u=i(55888);let d=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"];class c extends n.default{id=null;startTimeOptions=null;model=null;onChangeStartTime(e){this.startingTimeChangedForDay(e)}static #e=(()=>dt7948.n(this.prototype,"onChangeStartTime",[n.action]))();onChangeEndTime(e){this.set(`model.user_notification_schedule.day_${this.id}_end_time`,e)}static #i=(()=>dt7948.n(this.prototype,"onChangeEndTime",[n.action]))();startTimeValue(e){return e[`day_${this.id}_start_time`]}static #n=(()=>dt7948.n(this.prototype,"startTimeValue",[(0,o.default)("model.user_notification_schedule.day_{0,1,2,3,4,5,6}_start_time")]))();endTimeOptions(e){return this.buildEndTimeOptionsFor(e[`day_${this.id}_start_time`])}static #a=(()=>dt7948.n(this.prototype,"endTimeOptions",[(0,o.default)("model.user_notification_schedule.day_{0,1,2,3,4,5,6}_start_time")]))();endTimeValue(e){return e[`day_${this.id}_end_time`]}static #l=(()=>dt7948.n(this.prototype,"endTimeValue",[(0,o.default)("model.user_notification_schedule.day_{0,1,2,3,4,5,6}_end_time")]))();startingTimeChangedForDay(e){e=parseInt(e,10),this.model.set(`user_notification_schedule.day_${this.id}_start_time`,e),"-1"!==e&&this.model.user_notification_schedule[`day_${this.id}_end_time`]<=e&&this.model.set(`user_notification_schedule.day_${this.id}_end_time`,e+30)}buildEndTimeOptionsFor(e){return -1===(e=parseInt(e,10))?null:this.buildTimeOptions(e+30,{includeNone:!1,showMidnight:!0})}}class p extends s.default{days=null;didInsertElement(){super.didInsertElement(...arguments),this.set("startTimeOptions",this.buildTimeOptions(0,{includeNone:!0,showMidnight:!1})),this.set("days",[]),d.forEach((e,t)=>{this.days.pushObject(c.create({id:t,day:e,model:this.model,buildTimeOptions:this.buildTimeOptions,startTimeOptions:this.startTimeOptions}))})}buildTimeOptions(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{includeNone:!1,showMidnight:!0},i=[];t.includeNone&&i.push({name:(0,l.i18n)("user.notification_schedule.none"),value:-1});for(let s=e;s<=1440;s+=30){let e=Math.floor(s/60),n=s%60;if(0===n&&(n="00"),24===e){t.showMidnight&&i.push({name:(0,l.i18n)("user.notification_schedule.midnight"),value:1440});break}i.push({name:moment().set("hour",e).set("minute",n).format("LT"),value:s})}return i}static #e=(()=>(0,s.setComponentTemplate)((0,u.createTemplateFactory)({id:"ZPXurtb/",block:'[[[1,"\\n "],[10,0],[14,0,"control-group notification-schedule"],[14,"data-setting-name","user-notification-schedule"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.notification_schedule.title"],null]],[13],[1,"\\n "],[8,[32,1],null,[["@labelKey","@checked"],["user.notification_schedule.label",[30,0,["model","user_notification_schedule","enabled"]]]],null],[1,"\\n\\n"],[41,[30,0,["model","user_notification_schedule","enabled"]],[[[1," "],[10,0],[14,0,"instruction"],[12],[1,[28,[32,0],["user.notification_schedule.tip"],null]],[13],[1,"\\n\\n "],[10,"table"],[14,0,"notification-schedule-table"],[12],[1,"\\n "],[10,"tbody"],[14,0,"notification-schedule-tbody"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["days"]]],null]],null],null,[[[1," "],[8,[32,2],null,[["@day","@startTimeOptions","@startTimeValue","@onChangeStartTime","@endTimeOptions","@endTimeValue","@onChangeEndTime"],[[30,1,["day"]],[30,1,["startTimeOptions"]],[30,1,["startTimeValue"]],[30,1,["onChangeStartTime"]],[30,1,["endTimeOptions"]],[30,1,["endTimeValue"]],[30,1,["onChangeEndTime"]]]],null],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["day"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-notification-schedule.js",scope:()=>[l.i18n,r.default,a.default],isStrictMode:!0}),this))()}},7615:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addQuickSearchRandomTip:()=>h,default:()=>f,removeDefaultQuickSearchRandomTips:()=>g,resetQuickSearchRandomTips:()=>m});var s=i(24698),n=i(58452),r=i(66530),a=i(13744),o=i(22106),l=i(57364),u=i(9348),d=i(55888);let c=[{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(c)}function g(){p=p.filter(e=>!c.includes(e))}m();class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"search",[a.service]))();#tB=(()=>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 #i=(()=>dt7948.n(this.prototype,"tipSelected",[r.action]))();static #n=(()=>(0,u.setComponentTemplate)((0,d.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))()}},7625:function(e,t,i){!function(e,t){t(i(4387))}(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}})})},7665:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(9348),n=i(58452),r=i(55888);class a extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,r.createTemplateFactory)({id:"xyO5mTZu",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"reviewable-input-text"],[4,[32,1],["change",[30,0,["valueChanged"]]],null]],[["@value"],[[30,0,["value"]]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-field-text.js",scope:()=>[s.Input,n.on],isStrictMode:!0}),this))()}},7673:function(e,t,i){!function(e,t){t(i(4387))}(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-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._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}})})},7691:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(9348),n=i(4089),r=i(66530),a=i(58295),o=i(78941),l=i(11811),u=i(56994),d=i(15294),c=i(57364),p=i(99539),h=i(57777),m=i(55888);class g extends(0,u.buildCategoryPanel)("tags"){static #e=(()=>dt7948.g(this.prototype,"allowedTagsEmpty",[(0,a.empty)("category.allowed_tags")]))();#nX=(()=>void dt7948.i(this,"allowedTagsEmpty"))();static #i=(()=>dt7948.g(this.prototype,"allowedTagGroupsEmpty",[(0,a.empty)("category.allowed_tag_groups")]))();#nZ=(()=>void dt7948.i(this,"allowedTagGroupsEmpty"))();static #n=(()=>dt7948.g(this.prototype,"disableAllowGlobalTags",[(0,a.and)("allowedTagsEmpty","allowedTagGroupsEmpty")]))();#n1=(()=>void dt7948.i(this,"disableAllowGlobalTags"))();onTagGroupChange(e,t){(0,r.set)(e,"name",t[0])}static #a=(()=>dt7948.n(this.prototype,"onTagGroupChange",[r.action]))();addRequiredTagGroup(){this.category.required_tag_groups.pushObject({min_count:1})}static #l=(()=>dt7948.n(this.prototype,"addRequiredTagGroup",[r.action]))();deleteRequiredTagGroup(e){this.category.required_tag_groups.removeObject(e)}static #d=(()=>dt7948.n(this.prototype,"deleteRequiredTagGroup",[r.action]))();static #p=(()=>(0,s.setComponentTemplate)((0,m.createTemplateFactory)({id:"Ojw2FSw2",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,"\\n"],[41,[30,0,["category","id"]],[[[1," "],[1,[28,[32,0],["category.tags_allowed_tags"],[["categoryName"],[[30,0,["category","name"]]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["category.tags_allowed_tags_new_category"],null]],[1,"\\n"]],[]]],[1," "],[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,1],[[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,"\\n"],[41,[30,0,["category","id"]],[[[1," "],[1,[28,[32,0],["category.tags_allowed_tag_groups"],[["categoryName"],[[30,0,["category","name"]]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["category.tags_allowed_tag_groups_new_category"],null]],[1,"\\n"]],[]]],[1," "],[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,1],[[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,3],[[28,[31,3],[[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,["if","mut","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/edit-category-tags.js",scope:()=>[c.i18n,d.default,p.default,n.fn,n.hash,h.default,o.LinkTo,s.Input,n.array,l.default],isStrictMode:!0}),this))()}},7754:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(24698),n=i(13744),r=i(57364),a=i(46337),o=i(9348),l=i(55888);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"languageNameLookup",[n.service]))();#i7=(()=>void dt7948.i(this,"languageNameLookup"))();get language(){let e=this.args.data?.language||this.args.post?.language;return this.languageNameLookup.getLanguageName(e)}get outdated(){return this.args.data?.localization_outdated||this.args.post?.localization_outdated}get tooltip(){let e=this.outdated?"post.original_language_and_outdated":"post.original_language";return(0,r.i18n)(e,{language:this.language})}static #i=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"UzoX0RG6",block:'[[[1,"\\n "],[10,0],[14,0,"post-info post-language"],[12],[1,"\\n "],[8,[32,0],[[16,0,[52,[30,0,["outdated"]],"heatmap-low"]]],[["@identifier","@icon","@content"],["post-language","language",[30,0,["tooltip"]]]],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/language.js",scope:()=>[a.default],isStrictMode:!0}),this))()}},7796:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(4089),n=i(46566),r=i(9348),a=i(55888),o=i(74975);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"e0ShBmTH",block:'[[[1,"\\n "],[10,"tr"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1]],null]],null],null,[[[1," "],[8,[30,2,["value","header"]],null,[["@sortable","@activeOrder","@changeSort","@ascending","@category","@name","@bulkSelectEnabled","@showBulkToggle","@canBulkSelect","@canDoBulkActions","@showTopicsAndRepliesToggle","@newListSubset","@newRepliesCount","@newTopicsCount","@bulkSelectHelper","@changeNewListSubset"],[[28,[32,0],["topic-list-header-sortable-column",[30,3],[28,[32,1],null,[["category","name"],[[30,4],[30,5]]]]],null],[30,6],[30,7],[30,8],[30,4],[30,9],[30,10],[30,11],[30,12],[30,13],[30,14],[30,15],[30,16],[30,17],[30,18],[30,19]]],null],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n"]],["@columns","entry","@sortable","@category","@name","@order","@changeSort","@ascending","@listTitle","@bulkSelectEnabled","@toggleInTitle","@canBulkSelect","@canDoBulkActions","@showTopicsAndRepliesToggle","@newListSubset","@newRepliesCount","@newTopicsCount","@bulkSelectHelper","@changeNewListSubset"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/header.js",scope:()=>[n.applyValueTransformer,s.hash],isStrictMode:!0}),(0,o.default)(void 0,"header:Header"))},7797:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(4089),n=i(90098),r=i(35352),a=i(71773),o=i(57364),l=i(93653),u=i(9348),d=i(55888),c=i(74975);let p=(0,n.default)((0,u.setComponentTemplate)((0,d.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,c.default)(void 0,void 0)))},7834:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(40779),n=i(81845),r=i(66530),a=i(13744),o=i(20559),l=i(72172),u=i(57364);class d extends n.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #n=(()=>dt7948.g(this.prototype,"router",[a.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #a=(()=>dt7948.g(this.prototype,"loading",[s.tracked]))();#ik=(()=>void dt7948.i(this,"loading"))();async confirm(){this.loading=!0;try{await (0,o.ajax)(`/u/confirm-old-email/${this.model.token}.json`,{type:"PUT"})}catch(e){(0,l.popupAjaxError)(e);return}finally{this.loading=!1}await new Promise(e=>this.dialog.dialog({message:(0,u.i18n)("user.change_email.authorizing_old.confirm_success"),type:"alert",didConfirm:e})),this.router.transitionTo(`/u/${this.currentUser.username_lower}/preferences/account`)}static #l=(()=>dt7948.n(this.prototype,"confirm",[r.action]))()}},7912:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(9348),n=i(96675),r=i(1848),a=i(30587),o=i.n(a),l=i(6897),u=i(17659),d=i(95256),c=i(55888);let p=dt7948.c(class extends s.default{click(e){if(e.target.closest(".last-posted-at"))return this.appEvents.trigger("topic-entrance:show",{topic:this.topic,position:o()(e.target).offset()}),!1}static #e=(()=>(0,s.setComponentTemplate)((0,c.createTemplateFactory)({id:"GzjUIc2M",block:'[[[1,"\\n "],[8,[32,0],null,[["@topic","@disableActions"],[[30,0,["topic"]],true]],null],[1,"\\n "],[10,3],[15,6,[30,0,["topic","lastUnreadUrl"]]],[14,0,"title"],[12],[1,[28,[32,1],[[30,0,["topic","fancyTitle"]]],null]],[13],[1,"\\n "],[8,[32,2],null,[["@unreadPosts","@unseen","@url"],[[30,0,["topic","unread_posts"]],[30,0,["topic","unseen"]],[30,0,["topic","lastUnreadUrl"]]]],null],[1,"\\n\\n "],[10,3],[15,6,[30,0,["topic","lastPostUrl"]]],[14,0,"last-posted-at"],[12],[1,[28,[32,3],[[30,0,["topic","last_posted_at"]]],null]],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/featured-topic.js",scope:()=>[d.default,n.htmlSafe,l.default,u.default],isStrictMode:!0}),this))()},[(0,r.attributeBindings)("topic.id:data-topic-id"),(0,r.classNameBindings)(":featured-topic")])},7930:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(24698),n=i(4089),r=i(66530),a=i(13744),o=i(90831),l=i(11811),u=i(68269),d=i(22106),c=i(9348),p=i(55888);class h extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"adminPostMenuButtons",[a.service]))();#n0=(()=>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 #a=(()=>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 #l=(()=>dt7948.n(this.prototype,"extraAction",[r.action]))();static #d=(()=>(0,c.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,d.default,n.fn,o.or],isStrictMode:!0}),this))()}},7977:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>U});var s=i(24698),n=i(40779),r=i(4089),a=i(58452),o=i(66530),l=i(41993),u=i(45916),d=i(13744),c=i(81430),p=i(56647),h=i(90831),m=i(11811),g=i(11571),f=i(79401),_=i(22106),y=i(46386),b=i(46111),w=i(98320),k=i(38858),T=i(20559),S=i(72172),C=i(88567),A=i(28206),D=i(6827),M=i(99148),x=i(51852),E=i(76866),L=i(47754),P=i(57364),F=i(79387),I=i(9348),N=i(55888);let O=["favorites","smileys_&_emotion"],j=(e,t)=>e.tonable&&1!==t?`:${e.name}:t${t}:`:`:${e.name}:`,R=(e,t)=>e.tonable&&1!==t?(0,L.emojiUrlFor)(`${e.name}:t${t}`):(0,L.emojiUrlFor)(e.name);class U extends s.default{static #e=(()=>dt7948.g(this.prototype,"emojiStore",[d.service]))();#n3=(()=>void dt7948.i(this,"emojiStore"))();static #i=(()=>dt7948.g(this.prototype,"capabilities",[d.service]))();#ij=(()=>void dt7948.i(this,"capabilities"))();static #n=(()=>dt7948.g(this.prototype,"site",[d.service]))();#s=(()=>void dt7948.i(this,"site"))();static #a=(()=>dt7948.g(this.prototype,"isFiltering",[n.tracked],function(){return!1}))();#n2=(()=>void dt7948.i(this,"isFiltering"))();static #l=(()=>dt7948.g(this.prototype,"filteredEmojis",[n.tracked],function(){return null}))();#n8=(()=>void dt7948.i(this,"filteredEmojis"))();static #d=(()=>dt7948.g(this.prototype,"scrollObserverEnabled",[n.tracked],function(){return!0}))();#n4=(()=>void dt7948.i(this,"scrollObserverEnabled"))();static #p=(()=>dt7948.g(this.prototype,"scrollDirection",[n.tracked],function(){return"up"}))();#n7=(()=>void dt7948.i(this,"scrollDirection"))();static #m=(()=>dt7948.g(this.prototype,"emojis",[n.tracked],function(){return null}))();#n9=(()=>void dt7948.i(this,"emojis"))();static #f=(()=>dt7948.g(this.prototype,"visibleSections",[n.tracked],function(){return O}))();#n5=(()=>void dt7948.i(this,"visibleSections"))();static #y=(()=>dt7948.g(this.prototype,"lastVisibleSection",[n.tracked],function(){return"favorites"}))();#n6=(()=>void dt7948.i(this,"lastVisibleSection"))();static #v=(()=>dt7948.g(this.prototype,"term",[n.tracked],function(){return this.args.term}))();#re=(()=>void dt7948.i(this,"term"))();prevYPosition=0;scrollableNode;setupSectionsNavScroll=(()=>(0,c.modifier)(e=>((0,C.disableBodyScroll)(e),()=>{(0,C.enableBodyScroll)(e)})))();scrollListener=(()=>(0,c.modifier)(e=>(this.scrollableNode=e,(0,C.disableBodyScroll)(e),e.addEventListener("scroll",this._handleScroll),()=>{this.scrollableNode=null,e.removeEventListener("scroll",this._handleScroll),(0,C.enableBodyScroll)(e)})))();addVisibleSections(e){this.visibleSections=(0,x.makeArray)(this.visibleSections).concat((0,x.makeArray)(e)).uniq()}get sections(){return!this.loading&&this.emojiStore.list?Object.keys(this.emojiStore.list):[]}get groups(){return{...{favorites:this.emojiStore.favoritesForContext(this.args.context).filter(e=>!this.site.denied_emojis?.includes(e)).map(e=>({name:e,group:"favorites",url:(0,L.emojiUrlFor)(e)}))},...this.emojiStore.list}}registerFilterInput(e){this.filterInput=e}static #k=(()=>dt7948.n(this.prototype,"registerFilterInput",[o.action]))();clearFavorites(){this.emojiStore.resetContext(this.args.context)}static #S=(()=>dt7948.n(this.prototype,"clearFavorites",[o.action]))();trapKeyDownEvents(e){"ArrowUp"===e.key&&e.stopPropagation(),"ArrowDown"===e.key&&e.target===this.filterInput&&(e.stopPropagation(),e.preventDefault(),this.scrollableNode.querySelector('.emoji[tabindex="0"]')?.focus())}static #A=(()=>dt7948.n(this.prototype,"trapKeyDownEvents",[o.action]))();didInputFilter(e){if(this.isFiltering=!0,this.term=e,!e?.length){(0,u.cancel)(this.debouncedFilterHandler),this.visibleSections=O,this.filteredEmojis=null,this.isFiltering=!1;return}this.debouncedFilterHandler=(0,A.default)(this,this.debouncedDidInputFilter,e,M.INPUT_DELAY)}static #M=(()=>dt7948.n(this.prototype,"didInputFilter",[o.action]))();focusFilter(e){e?.focus({preventScroll:!0})}static #E=(()=>dt7948.n(this.prototype,"focusFilter",[o.action]))();debouncedDidInputFilter(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";e=e.toLowerCase(),(0,E.default)().then(t=>{let i=(0,p.emojiSearch)(e,{exclude:this.site.denied_emojis,searchAliases:t}).slice(0,50);this.filteredEmojis=i.map(e=>({name:e,tonable:(0,p.isSkinTonableEmoji)(e)})),this.isFiltering=!1,(0,u.schedule)("afterRender",()=>{this.scrollableNode&&(this.scrollableNode.scrollTop=0)})})}onSectionsKeyDown(e){"Enter"===e.key?this.didSelectEmoji(e):this.didNavigateSection(e)}static #P=(()=>dt7948.n(this.prototype,"onSectionsKeyDown",[o.action]))();didNavigateSection(e){let t=e=>[...e.querySelectorAll(".emoji")],i=e=>{t(e)[0].focus()},s=e.target.closest(".emoji-picker__section"),n=()=>{this.filterInput?.focus()},r=()=>[...document.querySelectorAll(".emoji-picker__section:not(.hidden) .emoji")];if("ArrowRight"===e.key){e.preventDefault();let t=e.target.nextElementSibling;if(t)t.focus();else{let e=s.nextElementSibling;e&&i(e)}}if("ArrowLeft"===e.key){e.preventDefault();let i=e.target.previousElementSibling;if(i)i.focus();else{let e=s.previousElementSibling;e?(e=>{let i=t(e);return i[i.length-1].focus()})(e):n()}}if("ArrowDown"===e.key){e.preventDefault(),e.stopPropagation();let t=r().filter(t=>t.offsetTop>e.target.offsetTop).findBy("offsetLeft",e.target.offsetLeft);if(t)t.focus();else{let e=s.nextElementSibling;e&&i(e)}}if("ArrowUp"===e.key){e.preventDefault(),e.stopPropagation();let t=r().reverse().filter(t=>t.offsetTopdt7948.n(this.prototype,"didNavigateSection",[o.action]))();async didSelectEmoji(e){if(e.target.classList.contains("emoji")&&("click"===e.type||"Enter"===e.key)){e.preventDefault(),e.stopPropagation();let t=e.target.dataset.emoji,i=e.target.dataset.tonable,s=this.emojiStore.diversity;i&&s>1&&(t=`${t}:t${s}`),this.emojiStore.trackEmojiForContext(t,this.args.context),this.args.didSelectEmoji?.(t),await this.args.close?.()}}static #O=(()=>dt7948.n(this.prototype,"didSelectEmoji",[o.action]))();didRequestSection(e){this.term="",this.didInputFilter(null),this.scrollObserverEnabled=!1,this.addVisibleSections(this._getSectionsUpTo(e)),this.lastVisibleSection=e,this.scrollableNode&&this.capabilities.isIOS&&(this.scrollableNode.style.overflow="hidden"),(0,u.next)(()=>{(0,u.schedule)("afterRender",()=>{document.querySelector(`.emoji-picker__section[data-section="${e}"]`).scrollIntoView({block:"nearest"}),this.scrollableNode&&this.capabilities.isIOS&&(this.scrollableNode.style.overflow="scroll"),this.scrollObserverEnabled=!0})})}static #R=(()=>dt7948.n(this.prototype,"didRequestSection",[o.action]))();async loadEmojis(){if(this.emojiStore.list)return void this.didInputFilter(this.term);this.loading=!0;try{this.emojiStore.list=await (0,T.ajax)("/emojis.json"),this.didInputFilter(this.term)}catch(e){(0,S.popupAjaxError)(e)}finally{this.loading=!1}}static #B=(()=>dt7948.n(this.prototype,"loadEmojis",[o.action]))();_handleScroll(e){if(!this.scrollObserverEnabled)return;this._setScrollDirection(e.target);let t=[...document.querySelectorAll(".emoji-picker__section")].filter(t=>this._isSectionVisibleInPicker(t,e.target));if(t?.length){let e;e="up"===this.scrollDirection||this.prevYPosition<50?t.firstObject:t.lastObject,this.lastVisibleSection=e.dataset.section,this.addVisibleSections(t.map(e=>e.dataset.section)),document.querySelector(".emoji-picker__section-btn.active")?.scrollIntoView({block:"nearest",inline:"start"})}}static #Y=(()=>dt7948.n(this.prototype,"_handleScroll",[D.bind]))();_setScrollDirection(e){e.scrollTop>this.prevYPosition?this.scrollDirection="down":this.scrollDirection="up",this.prevYPosition=e.scrollTop}_isSectionVisibleInPicker(e,t){let{bottom:i,height:s,top:n}=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n<=r.top?r.top-n<=s:i-r.bottom<=s}_getSectionsUpTo(e){let t=[];for(let i of document.querySelectorAll(".emoji-picker__section")){let s=i.dataset.section;if(t.push(i.dataset.section),s===e)break}return t}static #$=(()=>(0,I.setComponentTemplate)((0,N.createTemplateFactory)({id:"mLREVZ6e",block:'[[[1,"\\n"],[1," "],[11,0],[16,0,[28,[32,0],["emoji-picker"],null]],[17,1],[4,[32,1],[[30,0,["loadEmojis"]]],null],[4,[32,1],[[52,[30,2],[30,2],[28,[32,2],null,null]]],null],[4,[32,3],["keydown",[30,0,["trapKeyDownEvents"]]],null],[12],[1,"\\n "],[10,0],[14,0,"emoji-picker__filter-container"],[12],[1,"\\n "],[8,[32,4],null,[["@name","@outletArgs"],["emoji-picker-filter-container",[28,[32,5],null,[["term","focusFilter","registerFilterInput","didInputFilter","context","close"],[[30,0,["term"]],[30,0,["focusFilter"]],[30,0,["registerFilterInput"]],[30,0,["didInputFilter"]],[30,3],[30,4]]]]]],[["default"],[[[[1,"\\n "],[8,[32,6],[[16,"placeholder",[28,[32,7],["chat.emoji_picker.search_placeholder"],null]],[4,[32,1],[[30,0,["focusFilter"]]],null],[4,[32,1],[[30,0,["registerFilterInput"]]],null]],[["@value","@filterAction","@icons","@containerClass"],[[30,0,["term"]],[28,[32,8],[[30,0,["didInputFilter"]]],null],[28,[32,9],null,[["right"],["magnifying-glass"]]],"emoji-picker__filter"]],null],[1,"\\n\\n "],[8,[32,10],null,null,null],[1,"\\n\\n"],[41,[30,0,["site","mobileView"]],[[[1," "],[8,[32,11],[[24,0,"btn-transparent emoji-picker__close-btn"]],[["@icon","@action"],["xmark",[30,4]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"emoji-picker__content"],[12],[1,"\\n "],[11,0],[24,0,"emoji-picker__sections-nav"],[4,[30,0,["setupSectionsNavScroll"]],null,null],[12],[1,"\\n"],[42,[28,[31,2],[[30,0,["groups"]]],null],null,[[[41,[30,5,["length"]],[[[1," "],[8,[32,11],[[16,0,[28,[32,0],["btn-flat","emoji-picker__section-btn",[52,[28,[32,12],[[30,0,["lastVisibleSection"]],[30,6]],null],"active"]],null]],[24,"tabindex","-1"],[16,"data-section",[30,6]]],[["@action"],[[28,[32,13],[[30,0,["didRequestSection"]],[30,6]],null]]],[["default"],[[[[1,"\\n"],[41,[28,[32,12],[[30,6],"favorites"],null],[[[1," "],[1,[28,[32,14],[":star:"],null]],[1,"\\n"]],[]],[[[1," "],[10,"img"],[14,"width","18"],[14,"height","18"],[14,0,"emoji"],[15,"src",[28,[32,15],[[28,[32,16],[[30,5],"0"],null],[30,0,["emojiStore","diversity"]]],null]],[12],[13],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n"]],[]],null]],[5,6]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["emojiStore","list"]],[[[1," "],[11,0],[24,0,"emoji-picker__scrollable-content"],[4,[30,0,["scrollListener"]],null,null],[12],[1,"\\n "],[11,0],[24,0,"emoji-picker__sections"],[24,"role","button"],[4,[32,3],["click",[30,0,["didSelectEmoji"]]],null],[4,[32,3],["keydown",[30,0,["onSectionsKeyDown"]]],null],[12],[1,"\\n"],[41,[30,0,["term","length"]],[[[1," "],[10,0],[14,0,"emoji-picker__section filtered"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["filteredEmojis"]]],null]],null],null,[[[1," "],[10,"img"],[14,"width","32"],[14,"height","32"],[14,0,"emoji"],[15,"src",[28,[32,15],[[30,7],[30,0,["emojiStore","diversity"]]],null]],[14,"tabindex","0"],[15,"data-emoji",[30,7,["name"]]],[15,"data-tonable",[52,[30,7,["tonable"]],"true"]],[15,"alt",[30,7,["name"]]],[15,"title",[28,[32,17],[[30,7],[30,0,["emojiStore","diversity"]]],null]],[14,"loading","lazy"],[12],[13],[1,"\\n"]],[7]],[[[41,[30,0,["isFiltering"]],[[[1," "],[10,0],[14,0,"spinner-container"],[12],[1,"\\n "],[10,0],[14,0,"spinner medium"],[12],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,2],[14,0,"emoji-picker__no-results"],[12],[1,"\\n "],[1,[28,[32,7],["chat.emoji_picker.no_results"],null]],[1,"\\n "],[1,[28,[32,14],[":crying_cat_face:"],null]],[1,"\\n "],[13],[1,"\\n"]],[]]]],[]]],[1," "],[13],[1,"\\n"]],[]],[[[42,[28,[31,2],[[30,0,["groups"]]],null],null,[[[41,[30,8],[[[1," "],[10,0],[15,0,[28,[32,0],["emoji-picker__section",[52,[28,[32,18],[[30,0,["filteredEmojis"]],null],null],"hidden"]],null]],[15,"data-section",[30,9]],[14,"role","region"],[15,"aria-label",[28,[32,7],[[28,[32,19],["chat.emoji_picker.",[30,9]],null]],[["translatedFallback"],[[30,9]]]]],[12],[1,"\\n "],[10,0],[14,0,"emoji-picker__section-title-container"],[12],[1,"\\n "],[10,"h2"],[14,0,"emoji-picker__section-title"],[12],[1,"\\n "],[1,[28,[32,7],[[28,[32,19],["chat.emoji_picker.",[30,9]],null]],[["translatedFallback"],[[30,9]]]]],[1,"\\n "],[13],[1,"\\n"],[41,[28,[32,12],[[30,9],"favorites"],null],[[[1," "],[8,[32,11],[[24,0,"btn-transparent"]],[["@icon","@action"],["trash-can",[30,0,["clearFavorites"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,0],[14,0,"emoji-picker__section-emojis"],[12],[1,"\\n"],[44,[[28,[32,16],[[30,8],"0"],null]],[[[1," "],[10,"img"],[14,"width","32"],[14,"height","32"],[14,0,"emoji"],[15,"src",[28,[32,15],[[30,10],[30,0,["emojiStore","diversity"]]],null]],[14,"tabindex","0"],[15,"data-emoji",[30,10,["name"]]],[15,"data-tonable",[52,[30,10,["tonable"]],"true"]],[15,"alt",[30,10,["name"]]],[15,"title",[28,[32,17],[[30,10],[30,0,["emojiStore","diversity"]]],null]],[14,"loading","lazy"],[12],[13],[1,"\\n"]],[10]]],[1,"\\n"],[41,[28,[32,20],[[30,0,["visibleSections"]],[30,9]],null],[[[42,[28,[31,3],[[28,[31,3],[[30,8]],null]],null],null,[[[41,[28,[32,21],[[30,12],0],null],[[[1," "],[10,"img"],[14,"width","32"],[14,"height","32"],[14,0,"emoji"],[15,"src",[28,[32,15],[[30,11],[30,0,["emojiStore","diversity"]]],null]],[14,"tabindex","-1"],[15,"data-emoji",[30,11,["name"]]],[15,"data-tonable",[52,[30,11,["tonable"]],"true"]],[15,"alt",[30,11,["name"]]],[15,"title",[28,[32,17],[[30,11],[30,0,["emojiStore","diversity"]]],null]],[14,"loading","lazy"],[12],[13],[1,"\\n"]],[]],null]],[11,12]],null]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[8,9]],null]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"spinner-container"],[12],[1,"\\n "],[10,0],[14,0,"spinner medium"],[12],[13],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@didInsert","@context","@close","emojis","section","emoji","emojis","section","emoji","emoji","index"],false,["if","each","-each-in","-track-array","let"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/emoji-picker/content.js",scope:()=>[_.default,l.default,b.default,a.on,f.default,y.default,g.default,P.i18n,k.default,r.hash,F.default,m.default,h.eq,r.fn,w.default,R,o.get,j,h.notEq,r.concat,h.includes,h.gt],isStrictMode:!0}),this))()}},7994:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(24698),n=i(58452),r=i(66530),a=i(13744),o=i(90595),l=i(38858),u=i(9348),d=i(55888);class c extends s.default{static controlType="calendar";static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();get containerId(){return`${this.args.field.name}-container`}get time(){return this.args.field.value?moment(this.args.field.value).format("HH:mm"):null}get includeTime(){return this.args.includeTime??!0}setTime(e){let[t,i]=e.split(":").map(Number),s=new Date(this.args.field.value.getTime());s.setHours(t,i,0,0),this.args.field.set(s)}static #i=(()=>dt7948.n(this.prototype,"setTime",[r.action]))();setDate(e){let[t,i,s]=e.split("-").map(Number),n=new Date(t,i-=1,s),r=this.args.field.value||new Date;n.setHours(r.getHours(),r.getMinutes(),0,0),this.args.field.set(n)}static #n=(()=>dt7948.n(this.prototype,"setDate",[r.action]))();formatForInput(e){return moment(e).format("YYYY-MM-DD")}static #a=(()=>dt7948.n(this.prototype,"formatForInput",[r.action]))();get minDate(){return this.args.field.rules?.dateAfterOrEqual?.date}get maxDate(){return this.args.field.rules?.dateBeforeOrEqual?.date}get expandedDatePicker(){return(this.args.expandedDatePickerOnDesktop??!0)&&this.site.desktopView}static #l=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"3xOUDuPL",block:'[[[1,"\\n"],[41,[30,0,["expandedDatePicker"]],[[[1," "],[8,[32,0],[[16,1,[30,1,["id"]]],[24,0,"form-kit__control-calendar"]],[["@value","@onSelect","@containerId","@minDate","@maxDate"],[[28,[31,1],[[30,1,["value"]]],null],[30,0,["setDate"]],[30,0,["containerId"]],[30,0,["minDate"]],[30,0,["maxDate"]]]],null],[1,"\\n "],[10,0],[15,1,[30,0,["containerId"]]],[14,0,"date-picker-container"],[12],[13],[1,"\\n"]],[]],[[[1," "],[11,"input"],[16,"min",[28,[30,0,["formatForInput"]],[[30,0,["minDate"]]],null]],[16,"max",[28,[30,0,["formatForInput"]],[[30,0,["maxDate"]]],null]],[16,"disabled",[30,1,["disabled"]]],[24,0,"form-kit__control-input form-kit__control-date"],[16,2,[30,0,["date"]]],[24,4,"date"],[4,[32,1],["change",[28,[32,2],[[30,0,["setDate"]]],null]],null],[12],[13],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,0,["includeTime"]],[[[1," "],[11,"input"],[16,"disabled",[30,1,["disabled"]]],[16,2,[30,0,["time"]]],[24,0,"form-kit__control-input form-kit__control-time"],[24,"step","900"],[24,4,"time"],[4,[32,1],["input",[28,[32,2],[[30,0,["setTime"]]],null]],null],[12],[13],[1,"\\n"]],[]],null],[1," "]],["@field"],false,["if","readonly"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/calendar.js",scope:()=>[o.default,n.on,l.default],isStrictMode:!0}),this))()}},8106:(e,t,i)=>{"use strict";function s(e){return e&&"object"==typeof e}function n(){let e;for(var t=arguments.length,i=Array(t),n=0;ne&&!s(e)))throw Error('deepMerge: all values should be of type "object"');let r=i.shift();for(;e=i.shift();)!function e(t,i){return Object.keys(i).forEach(n=>{let r=t[n],a=i[n];Array.isArray(r)&&Array.isArray(a)?t[n]=r.concat(a):s(r)&&s(a)?t[n]=e({...r},a):t[n]=a}),t}(r,e||{});return r}function r(e){return JSON.parse(JSON.stringify(e))}i.r(t),i.d(t,{cloneJSON:()=>r,deepEqual:()=>function e(t,i){if(t===i)return!0;if(!(s(t)&&s(i))||Object.keys(t).length!==Object.keys(i).length)return!1;for(let s in t)if(!e(t[s],i[s]))return!1;return!0},deepFreeze:()=>function e(t){for(let i of Reflect.ownKeys(t)){let s=t[i];(s&&"object"==typeof s||"function"==typeof s)&&e(s)}return Object.freeze(t)},deepMerge:()=>n})},8121:(e,t,i)=>{"use strict";var s=i(35302),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:{}}})},8166:(e,t,i)=>{"use strict";function s(e){return e&&e.Object===Object?e:void 0}i.r(t),i.d(t,{E:()=>l,a:()=>a,b:()=>u,c:()=>r,g:()=>n,s:()=>o});let n=s(function(e){return e&&void 0===e.nodeType?e:void 0}("object"==typeof global&&global))||s("object"==typeof self&&self)||s("object"==typeof window&&window)||"undefined"!=typeof mainContext&&mainContext||Function("return this")(),r=function(e,t){return void 0===t?{imports:e,exports:e,lookup:e}:{imports:t.imports||e,exports:t.exports||e,lookup:t.lookup||e}}(n,n.Ember);function a(){return r.lookup}function o(e){r.lookup=e}let l={ENABLE_OPTIONAL_FEATURES:!1,EXTEND_PROTOTYPES:{Array:!0},LOG_STACKTRACE_ON_DEPRECATION:!0,LOG_VERSION:!0,RAISE_ON_DEPRECATION:!1,STRUCTURED_PROFILE:!1,_DEBUG_RENDER_TREE:!1,_ALL_DEPRECATIONS_ENABLED:!1,_OVERRIDE_DEPRECATION_VERSION:null,_DEFAULT_ASYNC_OBSERVERS:!1,_NO_IMPLICIT_ROUTE_MODEL:!1,_RERENDER_LOOP_LIMIT:1e3,EMBER_LOAD_HOOKS:{},FEATURES:{}};function u(){return l}(e=>{if("object"!=typeof e||null===e)return;for(let t in e){if(!Object.prototype.hasOwnProperty.call(e,t)||"EXTEND_PROTOTYPES"===t||"EMBER_LOAD_HOOKS"===t)continue;let i=l[t];!0===i?l[t]=!1!==e[t]:!1===i?l[t]=!0===e[t]:l[t]=e[t]}let{EXTEND_PROTOTYPES:t}=e;void 0!==t&&("object"==typeof t&&null!==t?l.EXTEND_PROTOTYPES.Array=!1!==t.Array:l.EXTEND_PROTOTYPES.Array=!1!==t);let{EMBER_LOAD_HOOKS:i}=e;if("object"==typeof i&&null!==i)for(let e in i){if(!Object.prototype.hasOwnProperty.call(i,e))continue;let t=i[e];Array.isArray(t)&&(l.EMBER_LOAD_HOOKS[e]=t.filter(e=>"function"==typeof e))}let{FEATURES:s}=e;if("object"==typeof s&&null!==s)for(let e in s)Object.prototype.hasOwnProperty.call(s,e)&&(l.FEATURES[e]=!0===s[e])})(n.EmberENV)},8176:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(52716),n=i(34057);function r(e){return(0,s.prioritizeNameFallback)(e.name,(0,n.formatUsername)(e.username))}},8189:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("en-il",{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}})})},8192:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(9348),n=i(90098),r=i(30517),a=i(58219),o=i(11811),l=i(28383),u=i(79401),d=i(82286),c=i(57364),p=i(55888),h=i(74975);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:()=>[d.default,a.default,u.default,c.i18n,l.default,s.Input,o.default,r.default],isStrictMode:!0}),(0,h.default)(void 0,void 0)))},8224:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(66530),n=i(46423),r=i(95078),a=i(83375);let o={Enter:"insertNewline",Escape:"cancel"},l=n.default.create(r.default,{value:"",attributeBindings:["autocapitalize","autocorrect","autofocus","disabled","form","maxlength","minlength","placeholder","readonly","required","selectionDirection","spellcheck","tabindex","title"],placeholder:null,disabled:!1,maxlength:null,init(){this._super(...arguments),this.on("paste",this,this._elementValueDidChange),this.on("cut",this,this._elementValueDidChange),this.on("input",this,this._elementValueDidChange)},bubbles:!1,interpretKeyEvents(e){let t=o[e.key];if(this._elementValueDidChange(),t)return this[t](e)},_elementValueDidChange(){(0,s.set)(this,"value",this.element.value)},change(e){this._elementValueDidChange(e)},insertNewline(e){u("enter",this,e),u("insert-newline",this,e)},cancel(e){u("escape-press",this,e)},focusIn(e){u("focus-in",this,e)},focusOut(e){this._elementValueDidChange(e),u("focus-out",this,e)},keyPress(e){u("key-press",this,e)},keyUp(e){this.interpretKeyEvents(e),u("key-up",this,e)},keyDown(e){u("key-down",this,e)}});function u(e,t,i){let n=(0,s.get)(t,`attrs.${e}`);null!==n&&"object"==typeof n&&!0===n[a.MUTABLE_CELL]&&(n=n.value),void 0===n&&(n=(0,s.get)(t,e));let r=t.value;"function"==typeof n&&n(r,i),n&&!t.bubbles&&i.stopPropagation()}},8229:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.categoryLinkHTML});var s=i(62112)},8305:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a}),i(49233),i(27322),i(23260),i(17633),i(4837),i(184);var s=i(39665);i(8166);var n=i(46423),r=i(75376);let a=n.default.create({childViews:(0,s.B)({configurable:!1,enumerable:!1,get(){return(0,r.getChildViews)(this)}}),appendChild(e){(0,r.addChildView)(this,e)}})},8316:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>C});var s=i(24698);i(40779);var n=i(4089),r=i(66530),a=i(13744),o=i(96675),l=i(90831),u=i(79401),d=i(89361),c=i(62112),p=i(46386),h=i(39960),m=i(18965),g=i(98174),f=i(57364),_=i(609),y=i.n(_),b=i(75515),w=i(99556),k=i(9348),T=i(55888);let S=(0,i(69853).A)(i(40779)).cached;class C extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();uncategorizedSiteSettingLink=(()=>(0,m.default)("/admin/site_settings/category/all_results?filter=allow_uncategorized_topics"))();customizeTextContentLink=(()=>(0,m.default)("/admin/customize/site_texts?q=uncategorized"))();get styleTypes(){return Object.keys(h.CATEGORY_STYLE_TYPES).map(e=>({id:e,name:(0,f.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 #n=(()=>dt7948.n(this.prototype,"backgroundColors",[S]))();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 #a=(()=>dt7948.n(this.prototype,"usedBackgroundColors",[S]))();get parentCategories(){return this.site.get("categoriesList").filter(e=>e.level+1dt7948.n(this.prototype,"parentCategories",[S]))();categoryBadgePreview(e){let t=this.args.category,i=g.default.create({id:t.id,name:e.name||(0,f.i18n)("category.untitled"),color:e.color,text_color:e.text_color,parent_category_id:parseInt(t.get("parent_category_id"),10),read_restricted:t.get("read_restricted")});return(0,c.categoryBadgeHTML)(i,{link:!1,previewColor:!0,styleType:e.style_type,emoji:e.emoji,icon:e.icon})}static #d=(()=>dt7948.n(this.prototype,"categoryBadgePreview",[r.action]))();get subCategories(){return this.args.category.isNew?null:g.default.list().filter(e=>e.get("parent_category_id")===this.args.category.id)}static #p=(()=>dt7948.n(this.prototype,"subCategories",[S]))();get showDescription(){let e=this.args.category;return!e.isUncategorizedCategory&&e.id&&e.topic_url}static #m=(()=>dt7948.n(this.prototype,"showDescription",[S]))();showCategoryTopic(){window.open(this.args.category.get("topic_url"),"_blank").focus()}static #f=(()=>dt7948.n(this.prototype,"showCategoryTopic",[r.action]))();updateColor(e,t){let i=t.replace("#","");if("color"===e.name){let e=this.colorDifference(i,h.CATEGORY_TEXT_COLORS[0]),t=this.colorDifference(i,h.CATEGORY_TEXT_COLORS[1]);this.args.form.setProperties({color:i,text_color:h.CATEGORY_TEXT_COLORS[e>t?0:1]})}else e.set(i)}static #y=(()=>dt7948.n(this.prototype,"updateColor",[r.action]))();colorDifference(e,t){let i=parseInt(e.substr(0,2),16),s=parseInt(e.substr(2,2),16),n=parseInt(e.substr(4,2),16),r=parseInt(t.substr(0,2),16),a=parseInt(t.substr(2,2),16),o=parseInt(t.substr(4,2),16);return Math.max(i,r)-Math.min(i,r)+(Math.max(s,a)-Math.min(s,a))+(Math.max(n,o)-Math.min(n,o))}static #v=(()=>dt7948.n(this.prototype,"colorDifference",[r.action]))();get categoryDescription(){return this.args.category.description?(0,o.htmlSafe)(this.args.category.description):(0,f.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 #k=(()=>(0,k.setComponentTemplate)((0,T.createTemplateFactory)({id:"92892Lmr",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,5],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,6],[[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 "],[10,1],[14,0,"readonly-field"],[12],[1,[30,0,["categoryDescription"]]],[13],[1,"\\n\\n"],[41,[30,2,["topic_url"]],[[[1," "],[8,[30,1,["Container"]],null,null,[["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,7],[[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,7],[[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,8],null,[["@hexValue","@valid","@ariaLabelledby","@onChangeColor"],[[28,[31,4],[[30,13,["value"]]],null],[30,2,["colorValid"]],"background-color-label",[28,[32,9],[[30,0,["updateColor"]],[30,13]],null]]],null],[1,"\\n "],[8,[32,10],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,9],[[30,0,["updateColor"]],[30,13]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[13]]]]],[1,"\\n\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@format"],["text_color",[28,[32,1],["category.foreground_color"],null],"full"]],[["default"],[[[[1,"\\n "],[8,[30,14,["Custom"]],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"category-color-editor"],[12],[1,"\\n "],[10,0],[14,0,"colorpicker-wrapper edit-text-color"],[12],[1,"\\n "],[8,[32,8],null,[["@hexValue","@ariaLabelledby","@onBlur"],[[28,[31,4],[[30,14,["value"]]],null],"foreground-color-label",[28,[32,9],[[30,0,["updateColor"]],[30,14]],null]]],null],[1,"\\n "],[8,[32,10],null,[["@colors","@value","@ariaLabel","@onSelectColor"],[[32,11],[28,[31,4],[[30,14,["value"]]],null],[28,[32,1],["category.predefined_colors"],null],[28,[32,9],[[30,0,["updateColor"]],[30,14]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[14]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],["@form","@category","field","field","field","@transientData","s","field","select","styleType","field","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,f.i18n,u.default,p.default,b.default,n.hash,d.default,l.eq,y(),n.fn,w.default,h.CATEGORY_TEXT_COLORS],isStrictMode:!0}),this))()}},8420:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(34328),n=i(57364);let r=e=>class extends s.default{titleToken(){return(0,n.i18n)(`user.messages.${e}`)}async model(){let e=this.modelFor("group").get("name"),t=this.currentUser.get("username_lower"),i=`topics/private-messages-group/${t}/${e}`;this._isArchive()&&(i=`${i}/archive`);let s=await this.store.findFiltered("topicList",{filter:i});return s.set("emptyState",this.emptyState()),s}setupController(){super.setupController(...arguments);let e=this.modelFor("group").get("name"),t=`/private-messages/group/${e}`;this._isArchive()&&(t=`${t}/archive`),this.controllerFor("user-topics-list").subscribe(t),this.controllerFor("user-topics-list").setProperties({hideCategory:!0,showPosters:!0}),this.searchService.searchContext={type:"private_messages",id:this.currentUser.get("username_lower"),user:this.currentUser}}emptyState(){return{title:(0,n.i18n)("no_group_messages_title"),body:""}}_isArchive(){return"archive"===e}deactivate(){this.searchService.searchContext=null}}},8452:(e,t,i)=>{var s=i(64173),n=i(41793),r=i(88034);function a(e,t){return new r(t).process(e)}(t=e.exports=a).filterXSS=a,t.FilterXSS=r,function(){for(var e in s)t[e]=s[e];for(var i in n)t[i]=n[i]}(),"undefined"!=typeof window&&(window.filterXSS=e.exports),function(){return"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope}()&&(self.filterXSS=e.exports)},8465:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(58452),n=i(71773),r=i(57364),a=i(9348),o=i(55888),l=i(74975);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"GNtbf8nb",block:'[[[1,"\\n "],[11,3],[24,0,"clear-search"],[24,"aria-label","clear_input"],[16,"title",[28,[32,0],["search.clear_search"],null]],[24,6,""],[4,[32,1],["click",[30,1]],null],[12],[1,"\\n "],[1,[28,[32,2],["xmark"],null]],[1,"\\n "],[13],[1,"\\n"]],["@clearSearch"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/search-menu/clear-button.js",scope:()=>[r.i18n,s.on,n.default],isStrictMode:!0}),(0,l.default)(void 0,"clear-button"))},8480:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(81845),n=i(66530),r=i(72825),a=i(6827);class o extends s.default{static #e=(()=>dt7948.g(this.prototype,"group",[s.inject]))();#rt=(()=>void dt7948.i(this,"group"))();static #i=(()=>dt7948.g(this.prototype,"application",[s.inject]))();#t7=(()=>void dt7948.i(this,"application"))();loading=!1;offset=0;filters=(()=>n.default.create())();filterParams(e,t,i,s){return{action:e,acting_user:t,target_user:i,subject:s}}static #n=(()=>dt7948.n(this.prototype,"filterParams",[(0,a.default)("filters.action","filters.acting_user","filters.target_user","filters.subject")]))();_refreshModel(){this.get("group.model").findLogs(0,this.filterParams).then(e=>{this.set("offset",0),this.model.setProperties({logs:e.logs,all_loaded:e.all_loaded})})}static #a=(()=>dt7948.n(this.prototype,"_refreshModel",[(0,r.observes)("filters.action","filters.acting_user","filters.target_user","filters.subject")]))();reset(){this.setProperties({offset:0,filters:n.default.create()})}loadMore(){this.get("model.all_loaded")||(this.set("loading",!0),this.get("group.model").findLogs(this.offset+1,this.filterParams).then(e=>{e.logs.forEach(e=>this.get("model.logs").addObject(e)),this.incrementProperty("offset"),this.set("model.all_loaded",e.all_loaded)}).finally(()=>this.set("loading",!1)))}static #l=(()=>dt7948.n(this.prototype,"loadMore",[n.action]))();clearFilter(e){this.set(`filters.${e}`,"")}static #d=(()=>dt7948.n(this.prototype,"clearFilter",[n.action]))()}},8520:function(e,t,i){!function(e,t){t(i(4387))}(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 ปี"}})})},8521:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(57364);function n(e,t){return(0,s.i18n)(e?"yes_value":"no_value",t)}},8528:(e,t,i)=>{var s=i(60958);function n(e,t,i){this.type=Number(e),this.vNode=t,this.patch=i}n.NONE=0,n.VTEXT=1,n.VNODE=2,n.WIDGET=3,n.PROPS=4,n.ORDER=5,n.INSERT=6,n.REMOVE=7,n.THUNK=8,e.exports=n,n.prototype.version=s,n.prototype.type="VirtualPatch"},8588:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&null!==e}},8644:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(66530),n=i(58295),r=i(1848),a=i(70239),o=i.n(a),l=i(86558),u=i(70546),d=i(9348),c=i(55888);let p=dt7948.c(class extends u.default{static #e=(()=>dt7948.g(this.prototype,"showFullTitle",[(0,n.readOnly)("selectKit.options.showFullTitle")]))();#ri=(()=>void dt7948.i(this,"showFullTitle"))();static #i=(()=>dt7948.g(this.prototype,"customStyle",[(0,n.readOnly)("selectKit.options.customStyle")]))();#rs=(()=>void dt7948.i(this,"customStyle"))();static #n=(()=>dt7948.g(this.prototype,"btnCustomClasses",[(0,n.readOnly)("selectKit.options.btnCustomClasses")]))();#rn=(()=>void dt7948.i(this,"btnCustomClasses"))();static #a=(()=>dt7948.g(this.prototype,"caretUpIcon",[(0,n.readOnly)("selectKit.options.caretUpIcon")]))();#tz=(()=>void dt7948.i(this,"caretUpIcon"))();static #l=(()=>dt7948.g(this.prototype,"caretDownIcon",[(0,n.readOnly)("selectKit.options.caretDownIcon")]))();#tV=(()=>void dt7948.i(this,"caretDownIcon"))();get btnClassName(){return`btn ${this.showFullTitle?"btn-icon-text":"no-text btn-icon"}`}static #d=(()=>dt7948.n(this.prototype,"btnClassName",[(0,s.computed)("showFullTitle")]))();get btnStyleClass(){return`${this.customStyle?"":"btn-default"}`}static #p=(()=>dt7948.n(this.prototype,"btnStyleClass",[(0,s.computed)("customStyle")]))();get caretIcon(){return this.selectKit.isExpanded?this.caretUpIcon:this.caretDownIcon}static #m=(()=>dt7948.n(this.prototype,"caretIcon",[(0,s.computed)("selectKit.isExpanded","caretUpIcon","caretDownIcon")]))();static #f=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"99V+yO61",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," "]],[1]],null],[1,"\\n\\n"],[44,[[28,[32,1],[[30,0],[30,0,["selectKit","options","selectedNameComponent"]]],null]],[[[1," "],[8,[30,2],null,[["@tabindex","@item","@selectKit","@shouldDisplayClearableButton"],[[30,0,["tabindex"]],[30,0,["selectedContent"]],[30,0,["selectKit"]],[30,0,["shouldDisplayClearableButton"]]]],null],[1,"\\n"]],[2]]],[1,"\\n"],[41,[30,0,["selectKit","options","showCaret"]],[[[1," "],[1,[28,[32,0],[[30,0,["caretIcon"]]],[["class"],["caret-icon"]]]],[1,"\\n"]],[]],null],[1," ​\\n"],[1," "],[13],[1,"\\n "]],["iconName","SelectedNameComponent"],false,["each","-track-array","let","if"]]',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-header.js",scope:()=>[o(),l.resolveComponent],isStrictMode:!0}),this))()},[(0,r.classNameBindings)("btnClassName","btnStyleClass","btnCustomClasses"),(0,r.classNames)("dropdown-select-box-header")])},8647:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698),n=i(4089),r=i(58452),a=i(66530),o=i(13744),l=i(90831),u=i(38180),d=i(71773),c=i(18965),p=i(9348),h=i(55888);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[o.service]))();#tY=(()=>void dt7948.i(this,"appEvents"))();get url(){return"user"===this.args.type?this.args.user.path:(0,c.default)(`/g/${this.args.username}`)}click(e){this.appEvents.trigger(`topic-header:trigger-${this.args.type}-card`,this.args.username,e.target,e),e.preventDefault()}static #i=(()=>dt7948.n(this.prototype,"click",[a.action]))();static #n=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"uQOcUGLt",block:'[[[1,"\\n "],[10,1],[15,0,[28,[32,0],["trigger-",[30,1],"-card"],null]],[12],[1,"\\n "],[11,3],[24,0,"icon"],[16,6,[30,0,["url"]]],[24,"data-auto-route","true"],[16,"title",[30,2]],[4,[32,1],["click",[30,0,["click"]]],null],[12],[1,"\\n"],[41,[28,[32,2],[[30,1],"user"],null],[[[1," "],[1,[28,[32,3],[[30,3,["avatar_template"]],[28,[32,4],[[30,4],"tiny"],null],[28,[32,5],null,[["title"],[[30,2]]]]],null]],[1,"\\n"]],[]],[[[1," "],[10,1],[12],[1,"\\n "],[1,[28,[32,6],["users"],null]],[1,"\\n "],[1,[30,2]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],["@type","@username","@user","@avatarSize"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/topic/participant.js",scope:()=>[n.concat,r.on,l.eq,u.default,l.or,n.hash,d.default],isStrictMode:!0}),this))()}},8661:(e,t,i)=>{"use strict";i.r(t),i(43398);var s=i(30587),n=i.n(s),r=i(21371),a=i.n(r),o=i(29955);window.__widget_helpers=o.default,window.virtualDom=a(),window.$||(window.$=window.jQuery=n())},8664:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(9348),n=i(58295),r=i(1848),a=i(11811),o=i(6827),l=i(57364),u=i(55888);let d=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"buttonDisabled",[(0,n.or)("model.isSaving","saveDisabled")]))();#rr=(()=>void dt7948.i(this,"buttonDisabled"))();didInsertElement(){super.didInsertElement(...arguments),this.set("saved",!1)}savingText(e){return e?"saving":"save"}static #i=(()=>dt7948.n(this.prototype,"savingText",[(0,o.default)("model.isSaving")]))();static #n=(()=>(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")])},8673:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(9348),n=i(1848),r=i(6827),a=i(46566);let o={NORMAL:"normal",MUTED:"muted"},l=dt7948.c(class extends s.default{category=null;listType=(()=>o.NORMAL)();isHidden(e,t,i){return e&&i===o.NORMAL||!t&&i===o.MUTED}static #e=(()=>dt7948.n(this.prototype,"isHidden",[(0,r.default)("category.isHidden","category.hasMuted","listType")]))();isMuted(e,t){return e&&t===o.NORMAL||!e&&t===o.MUTED}static #i=(()=>dt7948.n(this.prototype,"isMuted",[(0,r.default)("category.isMuted","listType")]))();get unreadTopicsCount(){return this.category.unreadTopicsCount}get newTopicsCount(){return this.category.newTopicsCount}slugPath(e){return e.substring(3)}static #n=(()=>dt7948.n(this.prototype,"slugPath",[(0,r.default)("category.path")]))();applyValueTransformer(e,t,i){return(0,a.applyValueTransformer)(e,t,i)}},[(0,n.tagName)("")])},8705:(e,t,i)=>{"use strict";i.d(t,{DD:()=>f,EP:()=>T,GM:()=>D,LF:()=>y,LG:()=>w,M9:()=>C,Mn:()=>s,OM:()=>l,Ol:()=>g,R9:()=>p,SE:()=>A,WY:()=>c,_N:()=>d,ci:()=>_,iW:()=>k,ir:()=>m,kb:()=>a,ni:()=>u,pA:()=>S,pG:()=>r,qZ:()=>o,sQ:()=>n,v5:()=>b,xf:()=>h});var s="top",n="bottom",r="right",a="left",o="auto",l=[s,n,r,a],u="start",d="end",c="clippingParents",p="viewport",h="popper",m="reference",g=l.reduce(function(e,t){return e.concat([t+"-"+u,t+"-"+d])},[]),f=[].concat(l,[o]).reduce(function(e,t){return e.concat([t,t+"-"+u,t+"-"+d])},[]),_="beforeRead",y="read",b="afterRead",w="beforeMain",k="main",T="afterMain",S="beforeWrite",C="write",A="afterWrite",D=[_,y,b,w,k,T,S,C,A]},8756:(e,t,i)=>{"use strict";var s=i(30379);e.exports=new(i(35302))("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,i=e.length,s=0,n=!1;if(!i)return!1;if(("-"===(t=e[s])||"+"===t)&&(t=e[++s]),"0"===t){if(s+1===i)return!0;if("b"===(t=e[++s])){for(s++;s=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},8770:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(65677);class n extends s.default{model(e){return this.store.find("tagGroup",e.id)}afterModel(e){e.set("savingStatus",null)}}},8924:(e,t,i)=>{"use strict";i.r(t)},8995:(e,t,i)=>{"use strict";e.exports=i(5815).extend({implicit:[i(91825),i(55777)],explicit:[i(39660),i(18888),i(43548),i(8121)]})},9e3:(e,t,i)=>{"use strict";i.r(t),i.d(t,{isTesting:()=>n,setTesting:()=>r});let s=!1;function n(){return s}function r(e){s=!!e}},9021:(e,t,i)=>{"use strict";i.r(t),i.d(t,{canNativeShare:()=>n,getNativeContact:()=>a,nativeShare:()=>r});var s=i(23286);function n(e){return(e.isIOS||e.isAndroid||e.isWinphone)&&"https:"===window.location.protocol&&void 0!==window.navigator.share}function r(e,t){return new s.Promise((i,s)=>{if(!n(e))return void s();window.navigator.share(t).then(i).catch(e=>{"AbortError"===e.name||s()})})}function a(e,t,i){return new s.Promise((s,n)=>{if(!e.hasContactPicker)return n();navigator.contacts.select(t,{multiple:i}).then(s).catch(n)})}},9086:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(13744),n=i(36861),r=i(20559),a=i(18965),o=i(55971),l=i(62950),u=i(57364);class d extends n.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[s.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[s.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"site",[s.service]))();#s=(()=>void dt7948.i(this,"site"))();get showAllHref(){return(0,a.default)("/review")}get showAllTitle(){return(0,u.i18n)("user_menu.reviewable.view_all")}get itemsCacheKey(){return"pending-reviewables"}fetchItems(){return(0,r.ajax)("/review/user-menu-list").then(e=>(this.currentUser.updateReviewableCount(e.reviewable_count),e.reviewables.map(e=>new o.default({reviewable:l.default.create(e),currentUser:this.currentUser,siteSettings:this.siteSettings,site:this.site}))))}}},9097:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var s=i(60524),n={passive:!0};let r={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,l=r.resize,u=void 0===l||l,d=(0,s.A)(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",i.update,n)}),u&&d.addEventListener("resize",i.update,n),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",i.update,n)}),u&&d.removeEventListener("resize",i.update,n)}},data:{}}},9226:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>ei});var s=i(4089),n=i(58452),r=i(66530),a=i(78941),o=i(96675),l=i(90098),u=i(90831),d=i(48422),c=i(94663),p=i(55909),h=i(58219),m=i(75054),g=i(11811),f=i(84298),_=i(25981),y=i(45402),b=i(79401),w=i(87735),k=i(70183),T=i(63180),S=i(13371),C=i(46983),A=i(51381),D=i(81979),M=i(75286),x=i(33707),E=i(35182),L=i(15294),P=i(73727),F=i(25846),I=i(20373),N=i(3434),O=i(42117),j=i(99940),R=i(99837),U=i(95256),B=i(51245),H=i(29754),Y=i(81998),q=i(17659),$=i(82286),z=i(71773),V=i(98242),W=i(46386),K=i(3365),G=i(67320),J=i(57364),Q=i(75515),X=i(87401),Z=i(9348),ee=i(55888),et=i(74975);let ei=(0,l.default)((0,Z.setComponentTemplate)((0,ee.createTemplateFactory)({id:"pPnygwYL",block:'[[[1,"\\n"],[44,[[30,1,["model","postStream"]]],[[[41,[51,[28,[32,0],[[30,2,["loaded"]],[30,2,["loadedAllPosts"]]],null]],[[[1," "],[1,[32,1]],[1,"\\n"]],[]],null]],[2]]],[1,"\\n "],[8,[32,2],null,[["@multiSelect","@enteredAt","@topic","@hasScrolled"],[[30,1,["multiSelect"]],[30,1,["enteredAt"]],[30,1,["model"]],[30,1,["hasScrolled"]]]],[["default"],[[[[1,"\\n"],[41,[30,1,["model"]],[[[1," "],[8,[32,3],null,[["@category","@tags"],[[30,1,["model","category"]],[30,1,["model","tags"]]]],null],[1,"\\n "],[8,[32,4],null,[["@topic"],[[30,1,["model"]]]],null],[1,"\\n "],[1,[28,[32,5],[[28,[32,6],["archetype-",[30,1,["model","archetype"]]],null]],null]],[1,"\\n "],[10,0],[14,0,"container"],[12],[1,"\\n "],[8,[32,7],null,[["@overlay","@hide"],[[30,1,["hasScrolled"]],[30,1,["model","errorLoading"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["showSharedDraftControls"]],[[[1," "],[8,[32,8],null,[["@topic"],[[30,1,["model"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["topic-above-post-stream","div",[28,[32,10],null,[["model","editFirstPost"],[[30,1,["model"]],[30,1,["editFirstPost"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["model","postStream","loaded"]],[[[41,[30,1,["model","postStream","firstPostPresent"]],[[[1," "],[8,[32,11],null,[["@cancelled","@save","@model"],[[30,1,["cancelEditingTopic"]],[30,1,["finishedEditingTopic"]],[30,1,["model"]]]],[["default"],[[[[1,"\\n"],[41,[30,1,["editingTopic"]],[[[1," "],[10,0],[14,0,"edit-topic-title"],[12],[1,"\\n "],[8,[32,12],null,[["@shouldShow"],[[30,1,["model","isPrivateMessage"]]]],null],[1,"\\n\\n "],[10,0],[14,0,"edit-title__wrapper"],[12],[1,"\\n "],[8,[32,9],null,[["@name","@outletArgs"],["edit-topic-title",[28,[32,10],null,[["model","buffered"],[[30,1,["model"]],[30,1,["buffered"]]]]]]],[["default"],[[[[1,"\\n "],[8,[32,13],[[4,[32,14],null,null]],[["@id","@value","@maxlength","@autofocus"],["edit-title",[30,1,["buffered","title"]],[30,1,["siteSettings","max_topic_title_length"]],true]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["showCategoryChooser"]],[[[1," "],[10,0],[14,0,"edit-category__wrapper"],[12],[1,"\\n "],[8,[32,9],null,[["@name","@outletArgs"],["edit-topic-category",[28,[32,10],null,[["model","buffered"],[[30,1,["model"]],[30,1,["buffered"]]]]]]],[["default"],[[[[1,"\\n "],[8,[32,15],[[24,0,"small"]],[["@value","@onChange"],[[30,1,["buffered","category_id"]],[30,1,["topicCategoryChanged"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canEditTags"]],[[[1," "],[10,0],[14,0,"edit-tags__wrapper"],[12],[1,"\\n "],[8,[32,9],null,[["@name","@outletArgs"],["edit-topic-tags",[28,[32,10],null,[["model","buffered"],[[30,1,["model"]],[30,1,["buffered"]]]]]]],[["default"],[[[[1,"\\n "],[8,[32,16],null,[["@value","@onChange","@options"],[[30,1,["buffered","tags"]],[30,1,["topicTagsChanged"]],[28,[32,17],null,[["filterable","categoryId","minimum","filterPlaceholder","useHeaderFilter"],[true,[30,1,["buffered","category_id"]],[30,1,["minimumRequiredTags"]],"tagging.choose_for_topic",true]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["edit-topic","div",[28,[32,10],null,[["model","buffered"],[[30,1,["model"]],[30,1,["buffered"]]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"edit-controls"],[12],[1,"\\n "],[8,[32,18],[[24,0,"btn-primary submit-edit"]],[["@action","@icon","@ariaLabel"],[[30,1,["finishedEditingTopic"]],"check","composer.save_edit"]],null],[1,"\\n "],[8,[32,18],[[24,0,"btn-default cancel-edit"]],[["@action","@icon","@ariaLabel"],[[30,1,["cancelEditingTopic"]],"xmark","composer.cancel"]],null],[1,"\\n\\n"],[41,[30,1,["canRemoveTopicFeaturedLink"]],[[[1," "],[11,3],[24,6,""],[24,0,"remove-featured-link"],[16,"title",[28,[32,19],["composer.remove_featured_link"],null]],[4,[32,20],["click",[30,1,["removeFeaturedLink"]]],null],[12],[1,"\\n "],[1,[28,[32,21],["circle-xmark"],null]],[1,"\\n "],[1,[30,1,["featuredLinkDomain"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n"]],[]],[[[1," "],[10,"h1"],[15,"data-topic-id",[30,1,["model","id"]]],[12],[1,"\\n"],[41,[51,[30,1,["model","is_warning"]]],[[[41,[30,1,["canSendPms"]],[[[1," "],[8,[32,12],null,[["@shouldShow","@href","@title","@ariaLabel"],[[30,1,["model","isPrivateMessage"]],[30,1,["pmPath"]],"topic_statuses.personal_message.title","user.messages.inbox"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,12],null,[["@shouldShow"],[[30,1,["model","isPrivateMessage"]]]],null],[1,"\\n"]],[]]]],[]],null],[1,"\\n"],[41,[30,1,["model","details","loaded"]],[[[1," "],[8,[32,22],null,[["@topic"],[[30,1,["model"]]]],null],[1,"\\n "],[11,3],[16,6,[30,1,["model","url"]]],[24,0,"fancy-title"],[4,[32,20],["click",[52,[30,1,["model","details","can_edit"]],[30,1,["editTopic"]],[30,1,["jumpTop"]]]],null],[12],[1,"\\n "],[1,[28,[32,23],[[30,1,["model","fancyTitle"]]],null]],[1,"\\n\\n"],[41,[30,1,["model","details","can_edit"]],[[[1," "],[1,[28,[32,21],["pencil"],[["class"],["edit-topic"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,9],null,[["@name","@outletArgs"],["topic-title-suffix",[28,[32,10],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,9],null,[["@name","@outletArgs"],["topic-category-wrapper",[28,[32,10],null,[["topic"],[[30,1,["model"]]]]]]],[["default"],[[[[1,"\\n "],[8,[32,24],[[24,0,"topic-category"]],[["@topic"],[[30,1,["model"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n"]],[]]],[1," "]],[]]]]],[1,"\\n\\n"],[41,[30,1,["model","publishedPage"]],[[[1," "],[10,0],[14,0,"published-page-notice"],[12],[1,"\\n "],[10,0],[14,0,"details"],[12],[1,"\\n"],[41,[30,1,["model","publishedPage","public"]],[[[1," "],[10,1],[14,0,"is-public"],[12],[1,[28,[32,19],["topic.publish_page.public"],null]],[13],[1,"\\n"]],[]],null],[1," "],[1,[28,[32,19],["topic.publish_page.topic_published"],null]],[1,"\\n "],[10,0],[12],[1,"\\n "],[10,3],[15,6,[30,1,["model","publishedPage","url"]]],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,[30,1,["model","publishedPage","url"]]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,18],null,[["@icon","@label","@action"],["file","topic.publish_page.publishing_settings",[28,[32,25],["showPagePublish"],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"container posts"],[12],[1,"\\n "],[10,0],[15,0,[29,["selected-posts ",[52,[51,[30,1,["multiSelect"]]],"hidden"]]]],[12],[1,"\\n "],[8,[32,26],null,[["@selectedPostsCount","@canSelectAll","@canDeselectAll","@canDeleteSelected","@canMergeTopic","@canChangeOwner","@canMergePosts","@toggleMultiSelect","@mergePosts","@deleteSelected","@deselectAll","@selectAll"],[[30,1,["selectedPostsCount"]],[30,1,["canSelectAll"]],[30,1,["canDeselectAll"]],[30,1,["canDeleteSelected"]],[30,1,["canMergeTopic"]],[30,1,["canChangeOwner"]],[30,1,["canMergePosts"]],[30,1,["toggleMultiSelect"]],[30,1,["mergePosts"]],[30,1,["deleteSelected"]],[30,1,["deselectAll"]],[30,1,["selectAll"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[28,[32,0],[[30,1,["showBottomTopicMap"]],[30,1,["loadedAllPosts"]]],null],[[[1," "],[10,0],[14,0,"topic-map --bottom"],[12],[1,"\\n "],[8,[32,27],null,[["@model","@topicDetails","@postStream","@showPMMap","@showInvite","@removeAllowedGroup","@removeAllowedUser"],[[30,1,["model"]],[30,1,["model","details"]],[30,1,["model","postStream"]],[28,[32,28],[[30,1,["model","archetype"]],"private_message"],null],[28,[32,25],["showInvite"],null],[30,1,["removeAllowedGroup"]],[30,1,["removeAllowedUser"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName"],["above-timeline","div"]],null],[1,"\\n\\n "],[8,[32,29],[[24,0,"topic-navigation"]],[["@topic","@jumpToDate","@jumpToIndex"],[[30,1,["model"]],[30,1,["jumpToDate"]],[30,1,["jumpToIndex"]]]],[["default"],[[[[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["topic-navigation","div",[28,[32,10],null,[["topic","renderTimeline","topicProgressExpanded"],[[30,1,["model"]],[30,3,["renderTimeline"]],[30,3,["topicProgressExpanded"]]]]]]],null],[1,"\\n\\n"],[41,[30,1,["model","has_localized_content"]],[[[1," "],[8,[32,30],null,[["@topic"],[[30,1,["model"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,3,["renderTimeline"]],[[[1," "],[8,[32,31],null,[["@info","@model","@replyToPost","@showTopReplies","@jumpToPostPrompt","@enteredIndex","@prevEvent","@jumpTop","@jumpBottom","@jumpEnd","@jumpToIndex","@toggleMultiSelect","@showTopicSlowModeUpdate","@deleteTopic","@recoverTopic","@toggleClosed","@toggleArchived","@toggleVisibility","@showTopicTimerModal","@showFeatureTopic","@showChangeTimestamp","@resetBumpDate","@convertToPublicTopic","@convertToPrivateMessage","@fullscreen"],[[30,3],[30,1,["model"]],[30,1,["replyToPost"]],[30,1,["showTopReplies"]],[30,1,["jumpToPostPrompt"]],[30,1,["enteredIndex"]],[30,3,["prevEvent"]],[30,1,["jumpTop"]],[30,1,["jumpBottom"]],[30,1,["jumpEnd"]],[30,1,["jumpToIndex"]],[30,1,["toggleMultiSelect"]],[28,[32,25],["showTopicSlowModeUpdate"],null],[30,1,["deleteTopic"]],[30,1,["recoverTopic"]],[30,1,["toggleClosed"]],[30,1,["toggleArchived"]],[30,1,["toggleVisibility"]],[28,[32,25],["showTopicTimerModal"],null],[28,[32,25],["showFeatureTopic"],null],[28,[32,25],["showChangeTimestamp"],null],[30,1,["resetBumpDate"]],[30,1,["convertToPublicTopic"]],[30,1,["convertToPrivateMessage"]],[30,3,["topicProgressExpanded"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,32],null,[["@prevEvent","@topic","@expanded","@jumpToPost"],[[30,3,["prevEvent"]],[30,1,["model"]],[30,3,["topicProgressExpanded"]],[30,1,["jumpToPost"]]]],[["default"],[[[[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["before-topic-progress","div",[28,[32,10],null,[["model","jumpToPost"],[[30,1,["model"]],[30,1,["jumpToPost"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,33],null,[["@topic","@toggleMultiSelect","@showTopicSlowModeUpdate","@deleteTopic","@recoverTopic","@toggleClosed","@toggleArchived","@toggleVisibility","@showTopicTimerModal","@showFeatureTopic","@showChangeTimestamp","@resetBumpDate","@convertToPublicTopic","@convertToPrivateMessage"],[[30,1,["model"]],[30,1,["toggleMultiSelect"]],[28,[32,25],["showTopicSlowModeUpdate"],null],[30,1,["deleteTopic"]],[30,1,["recoverTopic"]],[30,1,["toggleClosed"]],[30,1,["toggleArchived"]],[30,1,["toggleVisibility"]],[28,[32,25],["showTopicTimerModal"],null],[28,[32,25],["showFeatureTopic"],null],[28,[32,25],["showChangeTimestamp"],null],[30,1,["resetBumpDate"]],[30,1,["convertToPublicTopic"]],[30,1,["convertToPrivateMessage"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["topic-navigation-bottom","div",[28,[32,10],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "]],[3]]]]],[1,"\\n\\n "],[10,0],[14,0,"row"],[12],[1,"\\n "],[10,"section"],[14,0,"topic-area"],[14,1,"topic"],[15,"data-topic-id",[30,1,["model","id"]]],[12],[1,"\\n\\n"],[41,[30,1,["site","useGlimmerPostStream"]],[[[1," "],[10,0],[14,0,"posts-wrapper"],[12],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["topic-above-posts","div",[28,[32,10],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[51,[30,1,["model","postStream","loadingFilter"]]],[[[1," "],[8,[32,34],null,[["@postStream","@posts","@canCreatePost","@multiSelect","@selectedPostsCount","@filteredPostsCount","@selectedQuery","@gaps","@showReadIndicator","@streamFilters","@lastReadPostNumber","@highestPostNumber","@showFlags","@editPost","@showHistory","@showLogin","@showRawEmail","@deletePost","@permanentlyDeletePost","@recoverPost","@expandHidden","@toggleBookmark","@togglePostType","@rebakePost","@changePostOwner","@grantBadge","@changeNotice","@lockPost","@unlockPost","@unhidePost","@replyToPost","@toggleWiki","@showTopReplies","@cancelFilter","@removeAllowedUser","@removeAllowedGroup","@topVisibleChanged","@currentPostChanged","@currentPostScrolled","@bottomVisibleChanged","@togglePostSelection","@selectReplies","@selectBelow","@fillGapBefore","@fillGapAfter","@showInvite","@showPagePublish","@filteringRepliesToPostNumber","@updateTopicPageQueryParams","@postSelected","@topicPageQueryParams","@topic"],[[30,1,["model","postStream"]],[30,1,["postsToRender"]],[30,1,["model","details","can_create_post"]],[30,1,["multiSelect"]],[30,1,["selectedPostsCount"]],[30,1,["model","postStream","filteredPostsCount"]],[30,1,["selectedQuery"]],[30,1,["model","postStream","gaps"]],[30,1,["model","show_read_indicator"]],[30,1,["model","postStream","streamFilters"]],[30,1,["userLastReadPostNumber"]],[30,1,["highestPostNumber"]],[30,1,["showPostFlags"]],[30,1,["editPost"]],[28,[32,25],["showHistory"],null],[28,[32,25],["showLogin"],null],[28,[32,25],["showRawEmail"],null],[30,1,["deletePost"]],[30,1,["permanentlyDeletePost"]],[30,1,["recoverPost"]],[30,1,["expandHidden"]],[30,1,["toggleBookmark"]],[30,1,["togglePostType"]],[30,1,["rebakePost"]],[30,1,["changePostOwner"]],[30,1,["grantBadge"]],[30,1,["changeNotice"]],[30,1,["lockPost"]],[30,1,["unlockPost"]],[30,1,["unhidePost"]],[30,1,["replyToPost"]],[30,1,["toggleWiki"]],[30,1,["showTopReplies"]],[30,1,["cancelFilter"]],[30,1,["removeAllowedUser"]],[30,1,["removeAllowedGroup"]],[30,1,["topVisibleChanged"]],[30,1,["currentPostChanged"]],[30,1,["currentPostScrolled"]],[30,1,["bottomVisibleChanged"]],[30,1,["togglePostSelection"]],[30,1,["selectReplies"]],[30,1,["selectBelow"]],[30,1,["fillGapBefore"]],[30,1,["fillGapAfter"]],[28,[32,25],["showInvite"],null],[28,[32,25],["showPagePublish"],null],[30,1,["replies_to_post_number"]],[30,1,["updateTopicPageQueryParams"]],[30,1,["postSelected"]],[28,[32,35],[[30,1],[30,1,["queryParams"]]],null],[30,1,["model"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"posts-wrapper"],[12],[1,"\\n "],[8,[32,36],null,[["@condition"],[[30,1,["model","postStream","loadingAbove"]]]],null],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["topic-above-posts","div",[28,[32,10],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[51,[30,1,["model","postStream","loadingFilter"]]],[[[1," "],[8,[32,37],null,[["@posts","@canCreatePost","@multiSelect","@selectedPostsCount","@filteredPostsCount","@selectedQuery","@gaps","@showReadIndicator","@streamFilters","@lastReadPostNumber","@highestPostNumber","@showFlags","@editPost","@showHistory","@showLogin","@showRawEmail","@deletePost","@permanentlyDeletePost","@recoverPost","@expandHidden","@toggleBookmark","@togglePostType","@rebakePost","@changePostOwner","@grantBadge","@changeNotice","@lockPost","@unlockPost","@unhidePost","@replyToPost","@toggleWiki","@showTopReplies","@cancelFilter","@removeAllowedUser","@removeAllowedGroup","@topVisibleChanged","@currentPostChanged","@currentPostScrolled","@bottomVisibleChanged","@togglePostSelection","@selectReplies","@selectBelow","@fillGapBefore","@fillGapAfter","@showInvite","@showPagePublish","@filteringRepliesToPostNumber","@updateTopicPageQueryParams","@topicPageQueryParams"],[[30,1,["postsToRender"]],[30,1,["model","details","can_create_post"]],[30,1,["multiSelect"]],[30,1,["selectedPostsCount"]],[30,1,["model","postStream","filteredPostsCount"]],[30,1,["selectedQuery"]],[30,1,["model","postStream","gaps"]],[30,1,["model","show_read_indicator"]],[30,1,["model","postStream","streamFilters"]],[30,1,["userLastReadPostNumber"]],[30,1,["highestPostNumber"]],[30,1,["showPostFlags"]],[30,1,["editPost"]],[28,[32,25],["showHistory"],null],[28,[32,25],["showLogin"],null],[28,[32,25],["showRawEmail"],null],[30,1,["deletePost"]],[30,1,["permanentlyDeletePost"]],[30,1,["recoverPost"]],[30,1,["expandHidden"]],[30,1,["toggleBookmark"]],[30,1,["togglePostType"]],[30,1,["rebakePost"]],[30,1,["changePostOwner"]],[30,1,["grantBadge"]],[30,1,["changeNotice"]],[30,1,["lockPost"]],[30,1,["unlockPost"]],[30,1,["unhidePost"]],[30,1,["replyToPost"]],[30,1,["toggleWiki"]],[30,1,["showTopReplies"]],[30,1,["cancelFilter"]],[30,1,["removeAllowedUser"]],[30,1,["removeAllowedGroup"]],[30,1,["topVisibleChanged"]],[30,1,["currentPostChanged"]],[30,1,["currentPostScrolled"]],[30,1,["bottomVisibleChanged"]],[30,1,["togglePostSelection"]],[30,1,["selectReplies"]],[30,1,["selectBelow"]],[30,1,["fillGapBefore"]],[30,1,["fillGapAfter"]],[28,[32,25],["showInvite"],null],[28,[32,25],["showPagePublish"],null],[30,1,["replies_to_post_number"]],[30,1,["updateTopicPageQueryParams"]],[28,[32,35],[[30,1],[30,1,["queryParams"]]],null]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,36],null,[["@condition"],[[30,1,["model","postStream","loadingBelow"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[10,0],[14,1,"topic-bottom"],[12],[13],[1,"\\n\\n "],[8,[32,36],null,[["@condition"],[[30,1,["model","postStream","loadingFilter"]]]],[["default"],[[[[1,"\\n"],[41,[30,1,["loadedAllPosts"]],[[[1,"\\n"],[41,[30,1,["model","pending_posts"]],[[[1," "],[10,0],[14,0,"pending-posts"],[12],[1,"\\n"],[42,[28,[31,4],[[28,[31,4],[[30,1,["model","pending_posts"]]],null]],null],null,[[[1," "],[10,0],[14,0,"reviewable-item"],[15,"data-reviewable-id",[30,4,["id"]]],[12],[1,"\\n "],[10,0],[14,0,"reviewable-meta-data"],[12],[1,"\\n "],[10,1],[14,0,"reviewable-type"],[12],[1,"\\n "],[1,[28,[32,19],["review.awaiting_approval"],null]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"created-at"],[12],[1,"\\n "],[1,[28,[32,38],[[30,4,["created_at"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"post-contents-wrapper"],[12],[1,"\\n "],[8,[32,39],null,[["@user"],[[30,1,["currentUser"]]]],null],[1,"\\n "],[10,0],[14,0,"post-contents"],[12],[1,"\\n "],[8,[32,40],null,[["@user"],[[30,1,["currentUser"]]]],null],[1,"\\n "],[10,0],[14,0,"post-body"],[12],[1,"\\n "],[8,[32,41],null,[["@rawText"],[[30,4,["raw"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"reviewable-actions"],[12],[1,"\\n "],[8,[32,9],null,[["@name","@outletArgs"],["topic-additional-reviewable-actions",[28,[32,10],null,[["pending"],[[30,4]]]]]],null],[1,"\\n "],[8,[32,18],[[24,0,"btn-danger"]],[["@label","@icon","@action"],["review.delete","trash-can",[28,[32,42],[[30,1,["deletePending"]],[30,4]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[4]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["model","queued_posts_count"]],[[[1," "],[10,0],[14,0,"has-pending-posts"],[12],[1,"\\n "],[10,0],[12],[1,"\\n "],[1,[28,[32,23],[[28,[32,19],["review.topic_has_pending"],[["count"],[[30,1,["model","queued_posts_count"]]]]]],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,43],null,[["@route","@query"],["review",[28,[32,17],null,[["topic_id","type","status"],[[30,1,["model","id"]],"ReviewableQueuedPost","pending"]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,19],["review.view_pending"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,44],null,[["@topic","@user","@tagName"],[[30,1,["model"]],[30,1,["currentUser"]],""]],null],[1,"\\n\\n "],[8,[32,45],null,[["@topicClosed","@statusType","@statusUpdate","@executeAt","@basedOnLastPost","@durationMinutes","@categoryId","@showTopicTimerModal","@removeTopicTimer"],[[30,1,["model","closed"]],[30,1,["model","topic_timer","status_type"]],[30,1,["model","topic_status_update"]],[30,1,["model","topic_timer","execute_at"]],[30,1,["model","topic_timer","based_on_last_post"]],[30,1,["model","topic_timer","duration_minutes"]],[30,1,["model","topic_timer","category_id"]],[28,[32,25],["showTopicTimerModal"],null],[28,[32,42],[[30,1,["removeTopicTimer"]],[30,1,["model","topic_timer","status_type"]],"topic_timer"],null]]],null],[1,"\\n\\n"],[41,[30,1,["showSelectedPostsAtBottom"]],[[[1," "],[10,0],[15,0,[29,["selected-posts\\n ",[52,[51,[30,1,["multiSelect"]]],"hidden"],"\\n ",[52,[30,1,["showSelectedPostsAtBottom"]],"hidden"]]]],[12],[1,"\\n "],[8,[32,26],null,[["@selectedPostsCount","@canSelectAll","@canDeselectAll","@canDeleteSelected","@canMergeTopic","@canChangeOwner","@canMergePosts","@toggleMultiSelect","@mergePosts","@deleteSelected","@deselectAll","@selectAll"],[[30,1,["selectedPostsCount"]],[30,1,["canSelectAll"]],[30,1,["canDeselectAll"]],[30,1,["canDeleteSelected"]],[30,1,["canMergeTopic"]],[30,1,["canChangeOwner"]],[30,1,["canMergePosts"]],[30,1,["toggleMultiSelect"]],[30,1,["mergePosts"]],[30,1,["deleteSelected"]],[30,1,["deselectAll"]],[30,1,["selectAll"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["topic-area-bottom","div",[28,[32,10],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[13],[1,"\\n"],[41,[30,1,["loadedAllPosts"]],[[[41,[30,1,["session","showSignupCta"]],[[[1," "],[8,[32,46],null,null,null],[1,"\\n"]],[]],[[[41,[30,1,["currentUser"]],[[[1," "],[10,1],[12],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["topic-above-footer-buttons","div",[28,[32,10],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,47],null,[["@topic","@toggleMultiSelect","@showTopicSlowModeUpdate","@deleteTopic","@recoverTopic","@toggleClosed","@toggleArchived","@toggleVisibility","@showTopicTimerModal","@showFeatureTopic","@showChangeTimestamp","@resetBumpDate","@convertToPublicTopic","@convertToPrivateMessage","@toggleBookmark","@showFlagTopic","@toggleArchiveMessage","@editFirstPost","@deferTopic","@replyToPost"],[[30,1,["model"]],[30,1,["toggleMultiSelect"]],[28,[32,25],["showTopicSlowModeUpdate"],null],[30,1,["deleteTopic"]],[30,1,["recoverTopic"]],[30,1,["toggleClosed"]],[30,1,["toggleArchived"]],[30,1,["toggleVisibility"]],[28,[32,25],["showTopicTimerModal"],null],[28,[32,25],["showFeatureTopic"],null],[28,[32,25],["showChangeTimestamp"],null],[30,1,["resetBumpDate"]],[30,1,["convertToPublicTopic"]],[30,1,["convertToPrivateMessage"]],[30,1,["toggleBookmark"]],[28,[32,25],["showFlagTopic"],null],[30,1,["toggleArchiveMessage"]],[30,1,["editFirstPost"]],[30,1,["deferTopic"]],[30,1,["replyToPost"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,48],null,[["@topic"],[[30,1,["model"]]]],null],[1,"\\n"]],[]]]],[]]],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["topic-above-suggested","div",[28,[32,10],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,49],null,[["@topic"],[[30,1,["model"]]]],null],[1,"\\n "],[8,[32,9],null,[["@name","@outletArgs"],["topic-below-suggested",[28,[32,10],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n"]],[]],null]],[]],[[[1," "],[10,0],[14,0,"container"],[12],[1,"\\n "],[8,[32,36],null,[["@condition"],[[30,1,["noErrorYet"]]]],[["default"],[[[[1,"\\n"],[41,[30,1,["model","errorHtml"]],[[[1," "],[10,0],[14,0,"not-found"],[12],[1,[28,[32,23],[[30,1,["model","errorHtml"]]],null]],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"topic-error"],[12],[1,"\\n "],[10,0],[12],[1,[30,1,["model","errorMessage"]]],[13],[1,"\\n"],[41,[30,1,["model","noRetry"]],[[[41,[51,[30,1,["currentUser"]]],[[[1," "],[8,[32,18],[[24,0,"btn-primary topic-retry"]],[["@action","@icon","@label"],[[28,[32,25],["showLogin"],null],"user","log_in"]],null],[1,"\\n"]],[]],null]],[]],[[[1," "],[8,[32,18],[[24,0,"btn-primary topic-retry"]],[["@action","@icon","@label"],[[30,1,["retryLoading"]],"arrows-rotate","errors.buttons.again"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[8,[32,36],null,[["@condition"],[[30,1,["retrying"]]]],null],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1,"\\n"],[42,[28,[31,4],[[28,[31,4],[[28,[32,50],[[30,1,["model"]]],null]],null]],null],null,[[[1," "],[8,[32,51],null,[["@quoteState","@selectText","@buildQuoteMarkdown","@editPost","@topic"],[[30,1,["quoteState"]],[30,1,["selectText"]],[30,1,["buildQuoteMarkdown"]],[30,1,["editPost"]],[30,5]]],null],[1,"\\n"]],[5]],null],[1," "]],[]]]]],[1,"\\n "]],["@controller","postStream","info","pending","topic"],false,["let","unless","if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/topic.js",scope:()=>[u.and,V.default,_.default,d.default,c.default,$.default,s.concat,f.default,M.default,b.default,W.default,Y.default,T.default,L.default,G.default,Q.default,X.default,s.hash,g.default,J.i18n,n.on,z.default,U.default,o.htmlSafe,F.default,K.default,D.default,O.default,u.eq,j.default,N.default,B.default,R.default,P.default,w.default,r.getProperties,h.default,A.default,q.default,S.default,C.default,m.default,s.fn,a.LinkTo,E.default,H.default,x.default,I.default,p.default,y.default,s.array,k.default],isStrictMode:!0}),(0,et.default)(void 0,void 0)))},9247:(e,t,i)=>{"use strict";function s(e){let t=Object.create(e);return t._dict=null,delete t._dict,t}i.r(t),i.d(t,{m:()=>s})},9265:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(96675),n=i(58670),r=i(1736),a=i(80404);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})))}},9321:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(24698),n=i(12040),r=i(66530),a=i(90831),o=i(28372),l=i.n(o),u=i(21018),d=i.n(u),c=i(26867),p=i(54042),h=i.n(p),m=i(25207),g=i(9348),f=i(55888);class _ extends s.default{static #e=(()=>dt7948.g(this.prototype,"progressBar",[n.tracked]))();#ra=(()=>void dt7948.i(this,"progressBar"))();registerProgressBar(e){this.progressBar=e}static #i=(()=>dt7948.n(this.prototype,"registerProgressBar",[r.action]))();async didSwipe(e){if(e.deltaY>=0)return void this.#ro(e.element,0);e.velocityY<-1.2?await this.#rl(e.element):await this.#ro(e.element,e.deltaY)}static #n=(()=>dt7948.n(this.prototype,"didSwipe",[r.action]))();async didEndSwipe(e){e.velocityY<-1.2?await this.#rl(e.element):await this.#ro(e.element,0)}static #a=(()=>dt7948.n(this.prototype,"didEndSwipe",[r.action]))();async #rl(e){await this.#ru(e),this.args.toast.close()}async #ru(e){await e.animate([{transform:"translateY(-150px)"}],{fill:"forwards",duration:(0,c.getMaxAnimationTimeMs)()}).finished}async #ro(e,t){await e.animate([{transform:`translateY(${t}px)`}],{fill:"forwards"}).finished}get duration(){let e=this.args.toast.options.duration;return"long"===e?5e3:"short"===e?3e3:(d()("Using an integer for the duration property of the d-toast component is deprecated. Use `short` or `long` instead.",{id:"float-kit.d-toast.duration"}),e)}static #l=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"WpY1+qk5",block:'[[[1,"\\n "],[11,"output"],[16,"role",[52,[30,1,["options","autoClose"]],"status","log"]],[16,"key",[30,1,["id"]]],[16,0,[28,[32,0],["fk-d-toast",[30,1,["options","class"]]],null]],[4,[32,1],null,[["close","duration","progressBar","enabled"],[[30,1,["close"]],[30,0,["duration"]],[30,0,["progressBar"]],[30,1,["options","autoClose"]]]]],[4,[32,2],null,[["onDidSwipe","onDidEndSwipe"],[[30,0,["didSwipe"]],[30,0,["didEndSwipe"]]]]],[12],[1,"\\n "],[8,[30,1,["options","component"]],null,[["@data","@close","@showProgressBar","@onRegisterProgressBar"],[[30,1,["options","data"]],[30,1,["close"]],[28,[32,3],[[30,1,["options","showProgressBar"]],[30,1,["options","autoClose"]]],null],[30,0,["registerProgressBar"]]]],null],[1,"\\n "],[13],[1,"\\n "]],["@toast"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-toast.js",scope:()=>[l(),m.default,h(),a.and],isStrictMode:!0}),this))()}},9333:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(24698),n=i(4089),r=i(75682),a=i(69964),o=i(9348),l=i(55888);class u extends s.default{get objectData(){return this.args.data.get(this.name)}get name(){return this.args.name?`${this.args.parentName?this.args.parentName+".":""}${this.args.name}`:this.args.parentName}static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"7ZXN1eHO",block:'[[[1,"\\n "],[11,0],[24,0,"form-kit__object"],[17,1],[12],[1,"\\n "],[18,10,[[28,[32,0],null,[["Field","Object","Collection"],[[50,[32,1],0,null,[["errors","addError","data","set","registerField","unregisterField","triggerRevalidationFor","parentName"],[[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8],[30,0,["name"]]]]],[50,[32,2],0,null,[["errors","addError","data","set","registerField","unregisterField","triggerRevalidationFor","parentName","remove"],[[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8],[30,0,["name"]],[30,9]]]],[50,[32,3],0,null,[["errors","addError","data","set","registerField","unregisterField","triggerRevalidationFor","parentName","remove"],[[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8],[30,0,["name"]],[30,9]]]]]]],[30,0,["objectData"]]]],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@errors","@addError","@data","@set","@registerField","@unregisterField","@triggerRevalidationFor","@remove","&default"],false,["yield","component"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/object.js",scope:()=>[n.hash,a.default,u,r.default],isStrictMode:!0}),this))()}},9348:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Input:()=>n.I,Textarea:()=>n.T,capabilities:()=>s.componentCapabilities,default:()=>n.C,getComponentTemplate:()=>s.getComponentTemplate,setComponentManager:()=>r.s,setComponentTemplate:()=>s.setComponentTemplate});var s=i(184);i(12023);var n=i(56625);i(54048),i(23260),i(96131),i(45916),i(16226),i(4837);var r=i(35968)},9351:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(96675),n=i(11811),r=i(76586),a=i(57364),o=i(9348),l=i(55888),u=i(74975);let d=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"Zdg5vCi3",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"post-enqueued-modal"]],[["@closeModal","@title"],[[30,1],[28,[32,1],["review.approval.title"],null]]],[["body","footer"],[[[[1,"\\n "],[10,2],[12],[1,[28,[32,1],["review.approval.description"],null]],[13],[1,"\\n "],[10,2],[12],[1,"\\n "],[1,[28,[32,2],[[28,[32,1],["review.approval.pending_posts"],[["count"],[[30,2,["pending_count"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,3],[[24,0,"btn-primary"]],[["@action","@label"],[[30,1],"review.approval.ok"]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],["@closeModal","@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/post-enqueued.js",scope:()=>[r.default,a.i18n,s.htmlSafe,n.default],isStrictMode:!0}),(0,u.default)(void 0,"post-enqueued:PostEnqueued"))},9457:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(24698),n=i(57364),r=i(9348),a=i(55888);class o extends s.default{get filterKey(){let e=this.args.filter;return e&&"categories"!==e?e.includes("/")?e.split("/").pop():e:null}get type(){let{category:e,tag:t,additionalTags:i}=this.args;return e&&t?"category_tag":t&&i?.length?"multi_tag":t?"single_tag":e?"category":"all"}get label(){let{category:e,tag:t,additionalTags:i,filter:s}=this.args,r=this.filterKey,a=this.type;if("categories"===s)return(0,n.i18n)("discovery.headings.categories");if("multi_tag"===a)return(0,n.i18n)("discovery.headings.multi_tag.default",{tags:[t?.id,...i||[]].filter(Boolean).join(" + ")});if(t?.id==="none"&&!i?.length){let t=e?"category":"all",i=`discovery.headings.no_tags.${t}`,s=r?`${i}.${r}`:null,a=`${i}.default`,o={category:e?.name,filter:r},l=s?(0,n.i18n)(s,o):"";return(l===s||l.includes("discovery.headings"))&&(l=(0,n.i18n)(a,o)),l}let o=`discovery.headings.${a}`,l=r?`${o}.${r}`:null,u=`${o}.default`,d={category:e?.name,tag:t?.id,filter:r},c=l?(0,n.i18n)(l,d):"";return(c===l||c.includes("discovery.headings"))&&(c=(0,n.i18n)(u,d)),c}static #e=(()=>(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"qkunpgDT",block:'[[[1,"\\n"],[41,[30,1],[[[1," "],[10,"h1"],[14,1,"topic-list-heading"],[14,0,"sr-only"],[12],[1,[30,0,["label"]]],[13],[1,"\\n"]],[]],null],[1," "]],["@filter"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/discovery/accessible-discovery-heading.js",isStrictMode:!0}),this))()}},9486:(e,t,i)=>{"use strict";function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"■";if(e?.length){let i=e.map(e=>{let[t,i]=Object.entries(e)[0];return new RegExp(t,i.case_sensitive?"gu":"gui")});return function(e){return i.forEach(i=>{e=e.replace(i,function(e){for(var i=arguments.length,s=Array(i>1?i-1:0),n=1;n"string"==typeof e);return e.replace(r,Array(r.length+1).join(t))})}),e}}return function(e){return e}}function n(e,t,i){return s(t,i)(e)}i.r(t),i.d(t,{censor:()=>n,censorFn:()=>s})},9509:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=(0,i(8420).default)("inbox")},9543:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".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.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},9632:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(40779),n=i(81845),r=i(13744),a=i(6827),o=i(57364);class l extends n.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"user",[n.inject]))();#rd=(()=>void dt7948.i(this,"user"))();static #n=(()=>dt7948.g(this.prototype,"userActionType",[s.tracked],function(){return null}))();#rc=(()=>void dt7948.i(this,"userActionType"))();draftLabel(e){return e>0?(0,o.i18n)("drafts.label_with_count",{count:e}):(0,o.i18n)("drafts.label")}static #a=(()=>dt7948.n(this.prototype,"draftLabel",[(0,a.default)("currentUser.draft_count")]))();pendingLabel(e){return e>0?(0,o.i18n)("pending_posts.label_with_count",{count:e}):(0,o.i18n)("pending_posts.label")}static #l=(()=>dt7948.n(this.prototype,"pendingLabel",[(0,a.default)("model.pending_posts_count")]))()}},9699:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(99148);function n(){return!(0,s.isTesting)()&&visualViewport?.scale!==1&&document.documentElement.clientWidth/window.innerWidth!=1}},9733:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(24698),n=i(66530),r=i(96675),a=i(92235),o=i(34057),l=i(9348),u=i(55888);class d extends s.default{static controlType="code";initialValue=(()=>this.args.field.value||"")();handleInput(e){this.args.field.set(e)}static #e=(()=>dt7948.n(this.prototype,"handleInput",[n.action]))();get style(){if(this.args.height)return(0,r.htmlSafe)(`height: ${(0,o.escapeExpression)(this.args.height)}px`)}static #i=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"44yu3OAE",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"form-kit__control-code"],[16,5,[30,0,["style"]]],[17,1]],[["@content","@onChange","@mode","@disabled","@resizable"],[[30,0,["initialValue"]],[30,0,["handleInput"]],[30,2],[30,3,["disabled"]],true]],null],[1,"\\n "]],["&attrs","@lang","@field"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/code.js",scope:()=>[a.default],isStrictMode:!0}),this))()}},9752:(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})},9812:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(24698),n=i(40779),r=i(4089),a=i(66530),o=i(41993),l=i(58219),u=i(11811),d=i(76586),c=i(72172),p=i(18965),h=i(23693),m=i(64299),g=i(17315),f=i(57364),_=i(44093),y=i(9348),b=i(55888);class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"loading",[n.tracked],function(){return!0}))();#ik=(()=>void dt7948.i(this,"loading"))();static #i=(()=>dt7948.g(this.prototype,"saving",[n.tracked],function(){return!1}))();#nI=(()=>void dt7948.i(this,"saving"))();static #n=(()=>dt7948.g(this.prototype,"selectedBadgeId",[n.tracked],function(){return null}))();#rp=(()=>void dt7948.i(this,"selectedBadgeId"))();static #a=(()=>dt7948.g(this.prototype,"flash",[n.tracked],function(){return null}))();#nf=(()=>void dt7948.i(this,"flash"))();static #l=(()=>dt7948.g(this.prototype,"flashType",[n.tracked],function(){return null}))();#rh=(()=>void dt7948.i(this,"flashType"))();static #d=(()=>dt7948.g(this.prototype,"allBadges",[n.tracked],function(){return[]}))();#rm=(()=>void dt7948.i(this,"allBadges"))();static #p=(()=>dt7948.g(this.prototype,"userBadges",[n.tracked],function(){return[]}))();#rg=(()=>void dt7948.i(this,"userBadges"))();static #m=(()=>dt7948.g(this.prototype,"availableBadges",[n.tracked],function(){return[]}))();#rf=(()=>void dt7948.i(this,"availableBadges"))();get noAvailableBadges(){this.availableBadges.length}get post(){return this.args.model.selectedPost}get buttonDisabled(){return this.saving||!(0,h.isBadgeGrantable)(this.selectedBadgeId,this.availableBadges)}#r_(){this.availableBadges=(0,h.grantableBadges)(this.allBadges,this.userBadges)}async loadBadges(){this.loading=!0;try{this.allBadges=await m.default.findAll(),this.userBadges=await g.default.findByUsername(this.post.username),this.#r_()}catch(e){this.flash=(0,c.extractError)(e),this.flashType="error"}finally{this.loading=!1}}static #f=(()=>dt7948.n(this.prototype,"loadBadges",[a.action]))();async performGrantBadge(){try{this.saving=!0;let e=this.post.username,t=await g.default.grant(this.selectedBadgeId,e,(0,p.default)(this.post.url));this.userBadges.pushObject(t),this.#r_(),this.selectedBadgeId=null,this.flash=(0,f.i18n)("badges.successfully_granted",{username:e,badge:t.get("badge.name")}),this.flashType="success"}catch(e){this.flash=(0,c.extractError)(e),this.flashType="error"}finally{this.saving=!1}}static #y=(()=>dt7948.n(this.prototype,"performGrantBadge",[a.action]))();static #v=(()=>(0,y.setComponentTemplate)((0,b.createTemplateFactory)({id:"gSjxXpbe",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"grant-badge-modal"],[4,[32,2],[[30,0,["loadBadges"]]],null]],[["@bodyClass","@closeModal","@flash","@flashType","@title"],["grant-badge",[30,1],[30,0,["flash"]],[30,0,["flashType"]],[28,[32,1],["admin.badges.grant_badge"],null]]],[["body","footer"],[[[[1,"\\n "],[8,[32,3],null,[["@condition"],[[30,0,["loading"]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["noAvailableBadges"]],[[[1," "],[10,2],[12],[1,[28,[32,1],["admin.badges.no_badges"],null]],[13],[1,"\\n"]],[]],[[[1," "],[10,2],[12],[1,"\\n "],[8,[32,4],null,[["@value","@content","@onChange","@options"],[[30,0,["selectedBadgeId"]],[30,0,["availableBadges"]],[28,[32,5],[[28,[31,1],[[30,0,["selectedBadgeId"]]],null]],null],[28,[32,6],null,[["filterable","none"],[true,"badges.none"]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,7],[[24,0,"btn-primary"]],[["@disabled","@action","@label"],[[30,0,["buttonDisabled"]],[30,0,["performGrantBadge"]],"admin.badges.grant"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal"],false,["if","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/grant-badge.js",scope:()=>[d.default,f.i18n,o.default,l.default,_.default,r.fn,r.hash,u.default],isStrictMode:!0}),this))()}},9855:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(90098),n=i(66576),r=i(11811),a=i(63262),o=i(9348),l=i(55888),u=i(74975);let d=(0,s.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"1PVs6GfJ",block:'[[[1,"\\n "],[8,[32,0],null,[["@step"],["activate"]],null],[1,"\\n "],[10,0],[14,0,"ac-message"],[12],[1,"\\n "],[8,[32,1],null,[["@email","@updateNewEmail"],[[30,1,["newEmail"]],[30,1,["updateNewEmail"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"activation-controls"],[12],[1,"\\n "],[8,[32,2],[[24,0,"btn-primary"]],[["@action","@label","@disabled"],[[30,1,["changeEmail"]],"login.submit_new_email",[30,1,["submitDisabled"]]]],null],[1,"\\n "],[8,[32,2],[[24,0,"edit-cancel"]],[["@action","@label"],[[30,1,["cancel"]],"cancel"]],null],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/account-created/edit-email.js",scope:()=>[a.default,n.default,r.default],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},9861:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(33406);class n extends s.default{appendQueryParams(e,t){return super.appendQueryParams(e,t,".json")}}},9895:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(9348),n=i(58452),r=i(66530),a=i(1848),o=i(87864),l=i(79401),u=i(71773),d=i(46386),c=i(6827),p=i(57364),h=i(55888);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,c.default)("showMutedCategories","filteredCategories.length")]))();showMutedCategories(e,t){return e||0===t}static #i=(()=>dt7948.n(this.prototype,"showMutedCategories",[(0,c.default)("showMuted","filteredCategories.length")]))();filteredCategories(e,t){return e&&0!==t?e.filter(e=>!e.isHidden):[]}static #n=(()=>dt7948.n(this.prototype,"filteredCategories",[(0,c.default)("categories","categories.length")]))();mutedCategories(e,t){return!e||0===t||e.firstObject.parent_category_id?[]:e.filterBy("hasMuted")}static #a=(()=>dt7948.n(this.prototype,"mutedCategories",[(0,c.default)("categories","categories.length")]))();toggleShowMuted(e){e?.preventDefault(),this.toggleProperty("showMuted")}static #l=(()=>dt7948.n(this.prototype,"toggleShowMuted",[r.action]))();static #d=(()=>(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:()=>[l.default,d.default,o.default,p.i18n,n.on,u.default],isStrictMode:!0}),this))()},[(0,a.tagName)("")])},9923:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(90098),n=i(9348),r=i(55888),a=i(74975);let o=(0,s.default)((0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"wxUBNXT4",block:'[[[46,[28,[31,1],null,null],null,null,null]],[],false,["component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/invites.js",isStrictMode:!0}),(0,a.default)(void 0,void 0)))},9962:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(13744),n=i(20559),r=i(86232),a=i(65677);class o extends a.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();async model(e,t){let i=t.intent.url;if(!this.currentUser&&this.siteSettings.login_required)return;let s=i&&(0,r.rewritePath)(i);if(s!==i)return void this.router.transitionTo(s);let a=await (0,n.ajax)("/permalink-check.json",{data:{path:i}});if(!a.found)return a.html;{t.abort();let e=a.target_url;return t._discourse_anchor&&(e=e.split("#")[0]+`#${t._discourse_anchor}`),r.default.routeTo(e),""}}}},10068:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(24698),n=i(13744),r=i(9348),a=i(55888);class o extends s.default{static #e=(()=>dt7948.g(this.prototype,"renderGlimmer",[n.service]))();#ry=(()=>void dt7948.i(this,"renderGlimmer"))();static #i=(()=>(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))()}},10081:(e,t,i)=>{"use strict";function s(e,t,i){return e.lookup(`controller:${t}`,i)}i.r(t),i.d(t,{default:()=>s})},10144:(e,t,i)=>{"use strict";i.r(t),i.d(t,{destroyUserStatuses:()=>o,initUserStatusHtml:()=>r,renderUserStatusHtml:()=>a});var s=i(56443);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=[]}},10249:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(81845);class n extends s.default{}},10300:(e,t,i)=>{"use strict";i.r(t),i.d(t,{destroyUserStatusOnMentions:()=>o,updateUserStatusOnMention:()=>a});var s=i(17048),n=i(56443);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()})}},10342:(e,t,i)=>{"use strict";i.r(t),i.d(t,{scrollTop:()=>o});var s=i(45916),n=i(99148),r=i(86232);let a={_scrollTop(){(0,n.isTesting)()||(document.documentElement.scrollTop=0)}};function o(){r.default.isJumpScheduled()||(0,s.scheduleOnce)("afterRender",a,a._scrollTop)}},10419:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var s=i(56589),n=i(8705);let r={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,r=e.name,a=i.offset,o=void 0===a?[0,0]:a,l=n.DD.reduce(function(e,i){return e[i]=function(e,t,i){var r=(0,s.A)(e),a=[n.kb,n.Mn].indexOf(r)>=0?-1:1,o="function"==typeof i?i(Object.assign({},t,{placement:e})):i,l=o[0],u=o[1];return l=l||0,u=(u||0)*a,[n.kb,n.pG].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}(i,t.rects,o),e},{}),u=l[t.placement],d=u.x,c=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=l}}},10428:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>D});var s=i(24698),n=i(4089),r=i(66530),a=i(13744),o=i(96675);let l={inert:":not([inert]):not([inert] *)",negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"};var u=[`a[href]${l.inert}${l.negTabIndex}`,`area[href]${l.inert}${l.negTabIndex}`,`input:not([type="hidden"]):not([type="radio"])${l.inert}${l.negTabIndex}${l.disabled}`,`input[type="radio"]${l.inert}${l.negTabIndex}${l.disabled}`,`select${l.inert}${l.negTabIndex}${l.disabled}`,`textarea${l.inert}${l.negTabIndex}${l.disabled}`,`button${l.inert}${l.negTabIndex}${l.disabled}`,`details${l.inert} > summary:first-of-type${l.negTabIndex}`,`iframe${l.inert}${l.negTabIndex}`,`audio[controls]${l.inert}${l.negTabIndex}`,`video[controls]${l.inert}${l.negTabIndex}`,`[contenteditable]${l.inert}${l.negTabIndex}`,`[tabindex]${l.inert}${l.negTabIndex}`];function d(e){(e.querySelector("[autofocus]")||e).focus()}function c(e,t){if(t&&m(e))return e;if(function(e){return(!e.shadowRoot||"-1"!==e.getAttribute("tabindex"))&&!e.matches(":disabled,[hidden],[inert]")}(e))if(e.shadowRoot){let i=p(e.shadowRoot,t);for(;i;){let e=c(i,t);if(e)return e;i=h(i,t)}}else if("slot"===e.localName){let i=e.assignedElements({flatten:!0});for(let e of(t||i.reverse(),i)){let i=c(e,t);if(i)return i}}else{let i=p(e,t);for(;i;){let e=c(i,t);if(e)return e;i=h(i,t)}}return!t&&m(e)?e:null}function p(e,t){return t?e.firstElementChild:e.lastElementChild}function h(e,t){return t?e.nextElementSibling:e.previousElementSibling}let m=e=>!e.shadowRoot?.delegatesFocus&&e.matches(u.join(","))&&!(e=>!(!e.matches("details:not([open]) *")||e.matches("details>summary:first-of-type"))||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e);function g(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=e.activeElement;return t?t.shadowRoot?g(t.shadowRoot)||document.activeElement:t:null}function f(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 _="data-a11y-dialog";class y{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute(_)||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=g(),this.previouslyFocused?.tagName==="BODY"&&e?.target&&(this.previouslyFocused=e.target),e?.type==="focus"?this.maintainFocus():d(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"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.()),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=f(`[${_}-show="${this.id}"]`,t),s=f(`[${_}-hide="${this.id}"]`,t),n=f(`[${_}-hide]`,t)&&f('[aria-modal="true"]',t)===this.$el;i&&this.show(e),(s||n)&&this.hide(e)}bindKeypress(e){if(f('[aria-modal="true"]',g())!==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=c(e,!0),i=t?c(e,!1)||t:null;return[t,i]}(e);if(!i)return t.preventDefault();let n=g();t.shiftKey&&n===i?(s.focus(),t.preventDefault()):t.shiftKey||n!==s||(i.focus(),t.preventDefault())}(this.$el,e)}maintainFocus(){f(`[aria-modal="true"], [${_}-ignore-focus-trap]`,g())||d(this.$el)}}function b(){for(let e of document.querySelectorAll("[data-a11y-dialog]"))new y(e)}"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",b):b());var w=i(81430),k=i(90831),T=i(81727),S=i.n(T),C=i(9348),A=i(55888);class D extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();setupDialog=(()=>(0,w.modifier)(e=>{let t=new y(e);t.show(),t.on("hide",()=>{this.dialog.hide()})}))();async handleButtonAction(e){"function"==typeof e.action&&await e.action(),this.dialog.cancel()}static #i=(()=>dt7948.n(this.prototype,"handleButtonAction",[r.action]))();static #n=(()=>(0,C.setComponentTemplate)((0,A.createTemplateFactory)({id:"zLJ20uVU",block:'[[[1,"\\n"],[41,[30,0,["dialog","show"]],[[[1," "],[11,0],[16,"aria-labelledby",[30,0,["dialog","titleElementId"]]],[24,1,"dialog-holder"],[24,"aria-hidden","true"],[16,0,[29,["dialog-container ",[30,0,["dialog","class"]]]]],[4,[30,0,["setupDialog"]],null,null],[12],[1,"\\n "],[10,0],[14,0,"dialog-overlay"],[14,"data-a11y-dialog-hide",""],[12],[13],[1,"\\n\\n"],[41,[30,0,["dialog","type"]],[[[1," "],[10,0],[14,0,"dialog-content"],[14,"role","document"],[12],[1,"\\n"],[41,[30,0,["dialog","title"]],[[[1," "],[10,0],[14,0,"dialog-header"],[12],[1,"\\n "],[10,"h3"],[15,1,[30,0,["dialog","titleElementId"]]],[12],[1,[30,0,["dialog","title"]]],[13],[1,"\\n "],[8,[32,0],[[24,0,"btn-flat dialog-close close"]],[["@action","@title","@icon"],[[30,0,["dialog","cancel"]],"modal.close","xmark"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,1],[[30,0,["dialog","message"]],[30,0,["dialog","bodyComponent"]]],null],[[[1," "],[10,0],[14,0,"dialog-body"],[12],[1,"\\n"],[41,[30,0,["dialog","bodyComponent"]],[[[1," "],[8,[30,0,["dialog","bodyComponent"]],null,[["@model"],[[30,0,["dialog","bodyComponentModel"]]]],null],[1,"\\n"]],[]],[[[41,[30,0,["dialog","message"]],[[[1," "],[10,2],[12],[1,[28,[32,2],[[30,0,["dialog","message"]]],null]],[13],[1,"\\n "]],[]],null]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,3],[[30,0,["dialog","type"]],"notice"],null],[[[1," "],[10,0],[14,0,"dialog-footer"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["dialog","buttons"]]],null]],null],null,[[[1," "],[8,[32,0],[[16,0,[30,1,["class"]]]],[["@action","@translatedLabel","@icon"],[[28,[32,4],[[30,0,["handleButtonAction"]],[30,1]],null],[30,1,["label"]],[30,1,["icon"]]]],null],[1,"\\n"]],[1]],[[[1," "],[8,[32,0],[[16,0,[30,0,["dialog","confirmButtonClass"]]]],[["@action","@icon","@label","@disabled"],[[30,0,["dialog","didConfirmWrapped"]],[30,0,["dialog","confirmButtonIcon"]],[30,0,["dialog","confirmButtonLabel"]],[30,0,["dialog","confirmButtonDisabled"]]]],null],[1,"\\n"],[41,[30,0,["dialog","shouldDisplayCancel"]],[[[1," "],[8,[32,0],[[16,0,[30,0,["dialog","cancelButtonClass"]]]],[["@action","@label"],[[30,0,["dialog","cancel"]],[30,0,["dialog","cancelButtonLabel"]]]],null],[1,"\\n"]],[]],null]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["button"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/dialog-holder.0d5d21b0/node_modules/dialog-holder/components/dialog-holder.js",scope:()=>[S(),k.or,o.htmlSafe,k.notEq,n.fn],isStrictMode:!0}),this))()}},10502:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(85860),n=i(57364);class r extends s.default{get name(){return"admin"}get route(){return"admin"}get title(){return(0,n.i18n)("sidebar.sections.community.links.admin.content")}get text(){return(0,n.i18n)(`sidebar.sections.community.links.${this.overriddenName.toLowerCase()}.content`,{defaultValue:this.overriddenName})}get shouldDisplay(){return!!this.currentUser?.staff}get defaultPrefixValue(){return"wrench"}}},10559:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(39992),n=i(86232),r=i(57364);let a=class extends s.default{get linkHref(){return(0,n.groupPath)(this.notification.data.group_name)}get description(){return(0,r.i18n)("notifications.membership_request_accepted",{group_name:this.notification.data.group_name})}get label(){return null}}},10645:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u,renderCategory:()=>a,renderOption:()=>l,renderTag:()=>o});var s=i(62112),n=i(60882),r=i(34057);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`
      ${t.map(l).join("")}
    `}},10745:(e,t,i)=>{"use strict";function s(e){return 3===(e=e.replace("#","")).length?e.split("").map(e=>e+e).join(""):e}function n(e){let t=s(e),i=parseInt(t.substring(0,2),16);return .299*i+.587*parseInt(t.substring(2,4),16)+.114*parseInt(t.substring(4,6),16)}function r(e,t){let i=s(e),n=parseInt(i.substring(0,2),16),[r,a,o]=function(e,t,i){let s=Math.max(e/=255,t/=255,i/=255),n=Math.min(e,t,i),r,a,o=(s+n)/2;if(s===n)r=a=0;else{let l=s-n;switch(a=o>.5?l/(2-s-n):l/(s+n),s){case e:r=(t-i)/l+6*(t(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e,o=i<.5?i*(1+t):i+t-i*t,l=2*i-o;s=a(l,o,e+1/3),n=a(l,o,e),r=a(l,o,e-1/3)}return[Math.round(255*s),Math.round(255*n),Math.round(255*r)]}(r,a,t>0?o+t/100*(1-o):o*(1+t/100));return`#${l.toString(16).padStart(2,"0")}${u.toString(16).padStart(2,"0")}${d.toString(16).padStart(2,"0")}`}function a(e,t,i,s){return n(e)e.name===t),s=e.colors?.find(e=>"secondary"===e.name);if(!i||!s)return"#ffffff";let n=i.hex,r=s.hex;return"primary"===t?a(n,r,90,-78):"tertiary"===t?a(n,r,85,-65):n}function l(e){let t=o(e,"primary"),i=o(e,"tertiary");return`--primary-low--preview: ${t}; --tertiary-low--preview: ${i};`}i.r(t),i.d(t,{getColorSchemeStyles:()=>l,getPreviewColor:()=>o})},10759:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(96675),n=i(90098),r=i(79401),a=i(82286),o=i(9348),l=i(55888),u=i(74975);let d=(0,n.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"G2cJ95BD",block:'[[[1,"\\n "],[1,[28,[32,0],["static-tos"],null]],[1,"\\n\\n "],[10,"section"],[14,0,"container"],[12],[1,"\\n "],[10,0],[14,0,"contents clearfix body-page"],[12],[1,"\\n "],[8,[32,1],null,[["@name"],["above-static"]],null],[1,"\\n "],[1,[28,[32,2],[[30,1,["model","html"]]],null]],[1,"\\n "],[8,[32,1],null,[["@name"],["below-static"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/tos.js",scope:()=>[a.default,r.default,s.htmlSafe],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},10769:function(e,t,i){!function(e,t){t(i(4387))}(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"}})})},10880:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(9348);class n extends s.default{}},10913:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(24698),n=i(4089),r=i(96675),a=i(81430),o=i(90831),l=i(28372),u=i.n(l),d=i(52541),c=i.n(d),p=i(74049),h=i.n(p),m=i(97791),g=i(15067),f=i(57705),_=i(69589),y=i(9348),b=i(55888);class w extends s.default{closeOnScroll=(()=>(0,a.modifier)(()=>{let e=(0,g.getScrollParent)(this.trigger),t=()=>{this.args.instance.close()};return e.addEventListener("scroll",t,{passive:!0}),()=>{e.removeEventListener("scroll",t)}}))();trapPointerDown=(()=>(0,a.modifier)(e=>{let t=e=>{e.stopPropagation()};return e.addEventListener("pointerdown",t),()=>{e.removeEventListener("pointerdown",t)}}))();get supportsCloseOnClickOutside(){return this.args.instance.expanded&&this.options.closeOnClickOutside}get supportsCloseOnEscape(){return this.args.instance.expanded&&this.options.closeOnEscape}get supportsCloseOnScroll(){return this.args.instance.expanded&&this.options.closeOnScroll}get trigger(){return this.args.instance?.trigger}get content(){return this.args.instance?.content}get options(){return this.args.instance.options}static #e=(()=>(0,y.setComponentTemplate)((0,b.createTemplateFactory)({id:"CRxYI5K7",block:'[[[1,"\\n "],[8,[32,0],null,[["@inline","@portalOutletElement"],[[30,1],[30,2,["portalOutletElement"]]]],[["default"],[[[[1,"\\n "],[11,0],[16,0,[28,[32,1],[[30,3],[52,[30,0,["options","animated"]],"-animated"],[52,[30,2,["expanded"]],"-expanded"]],null]],[16,"data-identifier",[30,0,["options","identifier"]]],[24,"data-content",""],[16,"aria-labelledby",[30,2,["id"]]],[16,"aria-expanded",[52,[30,2,["expanded"]],"true","false"]],[16,"role",[30,4]],[16,5,[28,[32,2],[[28,[32,3],["max-width: ",[30,0,["options","maxWidth"]],"px"],null]],null]],[17,5],[4,[32,4],[[30,0,["trigger"]],[30,0,["options"]],[30,2]],null],[4,[30,0,["trapPointerDown"]],null,null],[4,[52,[30,6],[50,[32,5],2,null,[["autofocus"],[[30,0,["options","autofocus"]]]]]],null,null],[4,[52,[28,[32,6],[[30,2,["expanded"]],[30,0,["supportsCloseOnClickOutside"]]],null],[50,[32,7],2,[[28,[32,8],[[30,2,["close"]],[28,[32,9],null,[["focusTrigger"],[false]]]],null],[28,[32,9],null,[["target"],[[30,0,["content"]]]]]],null]],null,null],[4,[52,[30,0,["supportsCloseOnEscape"]],[50,[32,10],2,[[30,2,["close"]]],null]],null,null],[4,[52,[30,0,["supportsCloseOnScroll"]],[50,[30,0,["closeOnScroll"]],2,null,null]],null,null],[12],[1,"\\n "],[10,0],[15,0,[30,7]],[12],[1,"\\n "],[18,8,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@inline","@instance","@mainClass","@role","&attrs","@trapTab","@innerClass","&default"],false,["if","modifier","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-float-body.js",scope:()=>[m.default,u(),r.htmlSafe,n.concat,f.default,h(),o.and,c(),n.fn,n.hash,_.default],isStrictMode:!0}),this))()}},10947:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(66530),n=i(87966),r=i(13744),a=i(43952);let o=[];function l(e,t){return class extends s.default{static printDeprecation(){(0,a.default)(`${e} no longer exists, and this shim will eventually be removed. To fetch information about the current discovery route, use the discovery service instead.`,{id:t})}static reopen(){return this.printDeprecation(),o.push(e),super.reopen(...arguments)}static #e=(()=>dt7948.g(this.prototype,"discovery",[r.service]))();#rb=(()=>void dt7948.i(this,"discovery"))();constructor(){super(...arguments),this.constructor.printDeprecation()}}}class u extends l("controller:navigation/category","discourse.navigation-category-controller"){get category(){return this.constructor.printDeprecation(),this.discovery.category}static #e=(()=>dt7948.n(this.prototype,"category",[n.dependentKeyCompat]))()}class d extends l("controller:discovery/topics","discourse.discovery-topics-controller"){get model(){if(this.constructor.printDeprecation(),this.discovery.onDiscoveryRoute)return this.discovery.currentTopicList}static #e=(()=>dt7948.n(this.prototype,"model",[n.dependentKeyCompat]))();get category(){if(this.constructor.printDeprecation(),this.discovery.onDiscoveryRoute)return this.discovery.category}static #i=(()=>dt7948.n(this.prototype,"category",[n.dependentKeyCompat]))()}class c extends l("controller:tag-show","discourse.tag-show-controller"){get tag(){return this.constructor.printDeprecation(),this.discovery.tag}static #e=(()=>dt7948.n(this.prototype,"tag",[n.dependentKeyCompat]))()}let p={initialize(e){e.register("controller:navigation/category",u),e.register("controller:discovery/topics",d),e.register("controller:tag-show",c),e.lookup("service:router").on("routeDidChange",t=>{let i=t.to?.name;(i?.startsWith("discovery.")||i?.startsWith("tags.show")||"tag.show"===i)&&o.forEach(t=>e.lookup(t))})}}},11014:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(42856);let n={initialize(e){let t=e.lookup("service:app-events"),{canSignUp:i}=e.lookup("controller:application"),n=e.lookup("service:current-user"),r=e.lookup("service:key-value-store"),a=e.lookup("service:screen-track"),o=s.default.current(),{enable_signup_cta:l,login_required:u}=e.lookup("service:site-settings");function d(){if(o.get("showSignupCta")||o.get("hideSignupCta")||r.get("anon-cta-never")||r.getInt("anon-cta-hidden",0)>Date.now()-864e5||12e4>r.getInt("anon-topic-time"))return;let e=r.get("anon-topic-ids");e&&(e.split(",").length<2||(o.set("showSignupCta",!0),t.trigger("cta:shown")))}!n&&l&&i&&(u||(a.registerAnonCallback(d),d()))}}},11026:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(36025);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(){}}},11132:(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(42642)},11188:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(96675),n=i(54993),r=i(47754),a=i(34057),o=i(57364);let l=class extends n.default{get actor(){return(0,o.i18n)("user_menu.reviewable.queue")}get description(){let e=this.reviewable.topic_fancy_title;return(e||(e=(0,a.escapeExpression)(this.reviewable.payload_title)),e=(0,r.emojiUnescape)(e),this.reviewable.is_new_topic)?(0,s.htmlSafe)(e):(0,s.htmlSafe)((0,o.i18n)("user_menu.reviewable.new_post_in_topic",{title:e}))}get icon(){return"layer-group"}}},11202:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(24698),n=i(4089),r=i(46566),a=i(72294),o=i(48733),l=i(65475),u=i(26555),d=i(46590),c=i(9348),p=i(55888);class h extends s.default{get components(){return(0,r.applyValueTransformer)("user-field-components",{confirm:a.default,dropdown:o.default,multiselect:l.default,text:u.default,textarea:d.default})}static #e=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"1beUAQWg",block:'[[[1,"\\n"],[44,[[28,[32,0],[[30,0,["components"]],[30,1,["field_type"]]],null]],[[[1," "],[8,[30,2],[[17,3]],[["@field","@value","@validation"],[[30,1],[30,4],[30,5]]],null],[1,"\\n"]],[2]]],[1," "]],["@field","UserFieldComponent","&attrs","@value","@validation"],false,["let"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-field.js",scope:()=>[n.get],isStrictMode:!0}),this))()}},11226:(e,t,i)=>{"use strict";i.r(t),i.d(t,{collect:()=>T,filter:()=>g,filterBy:()=>f,intersect:()=>w,map:()=>h,mapBy:()=>m,max:()=>c,min:()=>p,setDiff:()=>k,sort:()=>S,sum:()=>d,union:()=>b,uniq:()=>_,uniqBy:()=>y}),i(23260);var s=i(39665);i(49233),i(4837),i(27322),i(17633),i(184),i(8166),i(66530),i(58375);var n=i(4309),r=i(60070);function a(e){return Array.isArray(e)||r.default.detect(e)}function o(e,t,i,n){return(0,s.c)(`${e}.[]`,function(){let n=(0,s.g)(this,e);return null===n||"object"!=typeof n?i:n.reduce(t,i,this)}).readOnly()}function l(e,t,i){let n;return/@each/.test(e)?n=e.replace(/\.@each.*$/,""):(n=e,e+=".[]"),(0,s.c)(e,...t,function(){let e=(0,s.g)(this,n);return a(e)?(0,r.A)(i.call(this,e)):(0,r.A)()}).readOnly()}function u(e,t,i){let n=e.map(e=>`${e}.[]`);return(0,s.c)(...n,function(){return(0,r.A)(t.call(this,e))}).readOnly()}function d(e){return o(e,(e,t)=>e+t,0,"sum")}function c(e){return o(e,(e,t)=>Math.max(e,t),-1/0,"max")}function p(e){return o(e,(e,t)=>Math.min(e,t),1/0,"min")}function h(e,t,i){let s;"function"==typeof t?(i=t,s=[]):s=t;let n=i;return l(e,s,function(e){return Array.isArray(e),e.map(n,this)})}function m(e,t){return h(`${e}.@each.${t}`,e=>(0,s.g)(e,t))}function g(e,t,i){let s;"function"==typeof t?(i=t,s=[]):s=t;let n=i;return l(e,s,function(e){return Array.isArray(e),e.filter(n,this)})}function f(e,t,i){let n;return n=2==arguments.length?e=>(0,s.g)(e,t):e=>(0,s.g)(e,t)===i,g(`${e}.@each.${t}`,n)}function _(e){for(var t=arguments.length,i=Array(t>1?t-1:0),n=1;n{let n=(0,s.g)(this,e);a(n)&&n.forEach(e=>{i.has(e)||(i.add(e),t.push(e))})}),t},"uniq")}function y(e,t){return(0,s.c)(`${e}.[]`,function(){let i=(0,s.g)(this,e);return a(i)?(0,r.uniqBy)(i,t):(0,r.A)()}).readOnly()}let b=_;function w(e){for(var t=arguments.length,i=Array(t>1?t-1:0),n=1;n{let t=(0,s.g)(this,e);return Array.isArray(t)?t:[]}),i=t.pop().filter(e=>{for(let i of t){let t=!1;for(let s of i)if(s===e){t=!0;break}if(!1===t)return!1}return!0});return(0,r.A)(i)},"intersect")}function k(e,t){return(0,s.c)(`${e}.[]`,`${t}.[]`,function(){let i=(0,s.g)(this,e),n=(0,s.g)(this,t);return a(i)?a(n)?i.filter(e=>-1===n.indexOf(e)):i:(0,r.A)()}).readOnly()}function T(e){for(var t=arguments.length,i=Array(t>1?t-1:0),n=1;n{let t=(0,s.g)(this,e);return void 0===t?null:t});return(0,r.A)(e)},"collect")}function S(e,t,i){let o,u;return(Array.isArray(t)?(o=t,u=i):(o=[],u=t),"function"==typeof u)?function(e,t,i){return l(e,t,function(e){return e.slice().sort((e,t)=>i.call(this,e,t))})}(e,o,u):function(e,t){return(0,s.R)(function(i){let o=(0,s.g)(this,t),l="@this"===e,u=function(e){return Array.isArray(e),e.map(e=>{let[t,i]=e.split(":");return[t,i=i||"asc"]})}(o),d=l?this:(0,s.g)(this,e);return a(d)?0===u.length?(0,r.A)(d.slice()):function(e,t){return(0,r.A)(e.slice().sort((e,i)=>{for(let[r,a]of t){let t=(0,n.default)((0,s.g)(e,r),(0,s.g)(i,r));if(0!==t)return"desc"===a?-1*t:t}return 0}))}(d,u):(0,r.A)()}).readOnly()}(e,u)}},11238:(e,t,i)=>{"use strict";i.r(t),i.d(t,{BucketCache:()=>o.default,DSL:()=>l.default,RouterState:()=>s.default,RoutingService:()=>n.default,controllerFor:()=>u.default,generateController:()=>a.default,generateControllerFactory:()=>a.generateControllerFactory,prefixRouteNameArg:()=>r.prefixRouteNameArg});var s=i(43046),n=i(16509),r=i(36096),a=i(12029),o=i(14387),l=i(13170),u=i(10081)},11247:function(e,t,i){!function(e,t){t(i(4387))}(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}})})},11289:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(20559),n=i(37288);class r extends n.default{static createOrUpdate(e,t,i){return(0,s.ajax)("/topic_localizations/create_or_update",{type:"POST",data:{topic_id:e,locale:t,title:i}})}static destroy(e,t){return(0,s.ajax)("/topic_localizations/destroy",{type:"DELETE",data:{topic_id:e,locale:t}})}}},11320:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(58452),n=i(90098),r=i(84298),a=i(79401),o=i(12819),l=i(21289),u=i(46386),d=i(57364),c=i(9348),p=i(55888),h=i(74975);let m=(0,n.default)((0,c.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:()=>[r.default,l.default,d.i18n,a.default,u.default,s.on,o.default],isStrictMode:!0}),(0,h.default)(void 0,void 0)))},11327:(e,t,i)=>{var s=i(23344);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)),d=s.trim(i.slice(l+1));if(u){var c=t(r,o.length,u,d,i);c&&(o+=c+"; ")}}}r=a+1}for(;a{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698),n=i(81845),r=i(66530),a=i(13744),o=i(28515),l=i(47521),u=i(3365),d=i(86232),c=i(79401),p=i(9348),h=i(55888);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"topic",[n.inject]))();#ej=(()=>void dt7948.i(this,"topic"))();filterPosts(e){this.topic.send("filterParticipant",e)}static #n=(()=>dt7948.n(this.prototype,"filterPosts",[r.action]))();showUser(e){d.default.routeTo((0,d.userPath)(e.username_lower))}static #a=(()=>dt7948.n(this.prototype,"showUser",[r.action]))();showGroup(e){d.default.routeTo((0,d.groupPath)(e.name))}static #l=(()=>dt7948.n(this.prototype,"showGroup",[r.action]))();static #d=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"LJSOFGKD",block:'[[[1,"\\n"],[41,[30,0,["site","mobileView"]],[[[1," "],[10,0],[14,0,"card-cloak hidden"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,0],null,[["@name"],["user-card-content-container"]],[["default"],[[[[1,"\\n "],[8,[32,1],[[24,"role","dialog"]],[["@topic","@showUser","@filterPosts","@composePrivateMessage"],[[30,0,["topic","model"]],[30,0,["showUser"]],[30,0,["filterPosts"]],[28,[32,2],["composePrivateMessage"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[32,3],null,[["@topic","@showUser","@showGroup"],[[30,0,["topic","model"]],[30,0,["showUser"]],[30,0,["showGroup"]]]],null],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/card-container.js",scope:()=>[c.default,l.default,u.default,o.default],isStrictMode:!0}),this))()}},11525:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(13744),n=i(20559),r=i(72172),a=i(42358);class o extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[s.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();buildNewBookmark(e,t){return a.default.createFor(this.currentUser,e,t)}create(e){return(0,n.ajax)("/bookmarks.json",{method:"POST",data:e.saveData}).then(t=>(e.id=t.id,e)).catch(r.popupAjaxError)}delete(e){return(0,n.ajax)(`/bookmarks/${e}.json`,{method:"DELETE"}).catch(r.popupAjaxError)}update(e){return(0,n.ajax)(`/bookmarks/${e.id}.json`,{method:"PUT",data:e.saveData}).catch(r.popupAjaxError)}}},11540:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(45240),n=i(97512),r=i(57364);class a extends n.default{userActionType=(()=>s.default.TYPES.links)();titleToken(){return(0,r.i18n)("user_action_groups.17")}}},11541:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(9348),n=i(55888),r=i(74975);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"))},11546:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(4089),n=i(96675),r=i(90098),a=i(91160),o=i(9348),l=i(55888),u=i(74975);let d=(0,r.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"dU2nsxc7",block:'[[[1,"\\n "],[8,[32,0],null,[["@action"],[[28,[32,1],[[30,1,["closeMessage"]],[30,1,["message"]]],null]]],null],[1,"\\n\\n"],[41,[30,1,["message","title"]],[[[1," "],[10,"h3"],[12],[1,[30,1,["message","title"]]],[13],[1,"\\n"]],[]],null],[1,"\\n "],[1,[28,[32,2],[[30,1,["message","body"]]],null]],[1,"\\n "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/composer/education.js",scope:()=>[a.default,s.fn,n.htmlSafe],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},11548:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(24698),n=i(57364),r=i(9348),a=i(55888);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))()}},11570:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h}),i(49233);var s=i(27322);i(23260),i(17633);var n=i(4837),r=i(39665),a=i(47086),o=i(3049);i(8166);var l=i(66530),u=i(60070),d=i(184);let c={willChange:"_arrangedContentArrayWillChange",didChange:"_arrangedContentArrayDidChange"};function p(e,t){return"[]"===t?(e._revalidate(),e._arrTag):"length"===t?(e._revalidate(),e._lengthTag):(0,n.tagFor)(e,t)}class h extends l.default{_objectsDirtyIndex=0;_objects=null;_lengthDirty=!0;_length=0;_arrangedContent=null;_arrangedContentIsUpdating=!1;_arrangedContentTag=null;_arrangedContentRevision=null;_lengthTag=null;_arrTag=null;init(e){super.init(e),(0,d.setCustomTagFor)(this,p)}[r.Q](){this._revalidate()}willDestroy(){this._removeArrangedContentArrayObserver()}objectAtContent(e){let t=(0,r.g)(this,"arrangedContent");return(0,r.o)(t,e)}replace(e,t,i){this.replaceContent(e,t,i)}replaceContent(e,t,i){let s=(0,r.g)(this,"content");(0,o.a)(s,e,t,i)}objectAt(e){if(this._revalidate(),null===this._objects&&(this._objects=[]),-1!==this._objectsDirtyIndex&&e>=this._objectsDirtyIndex){let e=(0,r.g)(this,"arrangedContent");if(e){let t=this._objects.length=(0,r.g)(e,"length");for(let e=this._objectsDirtyIndex;en)&&(this._objectsDirtyIndex=n),this._lengthDirty=!0,(0,o.c)(this,t,i,s,!1)}_invalidate(){this._objectsDirtyIndex=0,this._lengthDirty=!0}_revalidate(){if(!0!==this._arrangedContentIsUpdating&&(null===this._arrangedContentTag||!(0,n.validateTag)(this._arrangedContentTag,this._arrangedContentRevision))){let e=this.get("arrangedContent");null===this._arrangedContentTag?this._addArrangedContentArrayObserver(e):(this._arrangedContentIsUpdating=!0,this._updateArrangedContentArray(e),this._arrangedContentIsUpdating=!1);let t=this._arrangedContentTag=(0,n.tagFor)(this,"arrangedContent");this._arrangedContentRevision=(0,n.valueForTag)(this._arrangedContentTag),(0,s.e)(e)?(this._lengthTag=(0,n.combine)([t,(0,r.a)(e,"length")]),this._arrTag=(0,n.combine)([t,(0,r.a)(e,"[]")])):this._lengthTag=this._arrTag=t}}}h.reopen(u.MutableArray,{arrangedContent:(0,a.a)("content")})},11571:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698),n=i(40779),r=i(58452),a=i(81430),o=i(22106),l=i(71773),u=i(46111),d=i(9348),c=i(55888);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"isFocused",[n.tracked],function(){return!1}))();#rv=(()=>void dt7948.i(this,"isFocused"))();focusState=(()=>(0,a.modifier)(e=>{let t=()=>{this.isFocused=!0},i=()=>{this.isFocused=!1};return e.addEventListener("focusin",t),e.addEventListener("focusout",i),()=>{e.removeEventListener("focusin",t),e.removeEventListener("focusout",i)}}))();static #i=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"FQfd89PB",block:'[[[1,"\\n "],[10,0],[15,0,[28,[32,0],[[30,1],"filter-input-container",[52,[30,0,["isFocused"]],"is-focused"]],null]],[12],[1,"\\n"],[41,[30,2,["left"]],[[[1," "],[1,[28,[32,1],[[30,2,["left"]]],[["class"],["-left"]]]],[1,"\\n"]],[]],null],[1,"\\n "],[11,"input"],[24,4,"text"],[16,2,[30,3]],[24,0,"filter-input"],[17,4],[4,[30,0,["focusState"]],null,null],[4,[32,2],["input",[52,[30,5],[30,5],[28,[32,3],null,null]]],null],[12],[13],[1,"\\n\\n "],[18,6,null],[1,"\\n\\n"],[41,[30,2,["right"]],[[[1," "],[1,[28,[32,1],[[30,2,["right"]]],[["class"],["-right"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@containerClass","@icons","@value","&attrs","@filterAction","&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/filter-input.js",scope:()=>[o.default,l.default,r.on,u.default],isStrictMode:!0}),this))()}},11577:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(66530),n=i(13744),r=i(67880),a=i(40577),o=i(31552),l=i(24842),u=i(98174),d=i(99511),c=i(29708),p=i(59150),h=i(65677),m=i(57364);let g=dt7948.c(class extends h.default{static #e=(()=>dt7948.g(this.prototype,"composer",[n.service]))();#t4=(()=>void dt7948.i(this,"composer"))();static #i=(()=>dt7948.g(this.prototype,"router",[n.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #n=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();static #a=(()=>dt7948.g(this.prototype,"store",[n.service]))();#is=(()=>void dt7948.i(this,"store"))();static #l=(()=>dt7948.g(this.prototype,"topicTrackingState",[n.service]))();#nc=(()=>void dt7948.i(this,"topicTrackingState"))();static #d=(()=>dt7948.g(this.prototype,"searchService",[(0,n.service)("search")]))();#rw=(()=>void dt7948.i(this,"searchService"))();static #p=(()=>dt7948.g(this.prototype,"historyStore",[n.service]))();#nM=(()=>void dt7948.i(this,"historyStore"))();queryParams=(()=>r.queryParams)();templateName="discovery/list";async model(e,t){let i=this.site.lazy_load_categories?await u.default.asyncFindBySlugPathWithID(e.category_slug_path_with_id):u.default.findBySlugPathWithID(e.category_slug_path_with_id);if(!i)return void this.router.replaceWith("/404");if(this.routeConfig?.no_subcategories===void 0&&"none"===i.default_list_filter&&this.routeConfig?.filter==="default"&&e){o.default.getAndRemove("topic_list"),this.router.replaceWith("discovery.categoryNone",e.category_slug_path_with_id);return}let s=this._createSubcategoryList(i),n=this._retrieveTopicList(i,t,e),r=!!this.routeConfig?.no_subcategories,a=this.filter(i).split("/")[0];return{category:i,modelParams:e,subcategoryList:await s,list:await n,noSubcategories:r,filterType:a}}filter(e){return this.routeConfig?.filter==="default"?e.get("default_view")||"latest":this.routeConfig?.filter}async _createSubcategoryList(e){if(e.isParent&&e.show_subcategory_list)return d.default.list(this.store,e)}async _retrieveTopicList(e,t,i){let s=(0,p.filterQueryParams)(i,this.routeConfig),n={cached:this.historyStore.isPoppedState},r=`c/${u.default.slugFor(e)}/${e.id}`;s.no_subcategories&&(r+="/none"),r+=`/l/${this.filter(e)}`;let a=await (0,p.findTopicList)(this.store,this.topicTrackingState,r,s,n);return c.default.hideUniformCategory(a,e),a}titleToken(){let e=this.currentModel.category,t=(0,m.i18n)("filters."+this.filter(e).replace("/",".")+".title"),i=e.displayName;if(e.parent_category_id){let t=u.default.list().findBy("id",e.parent_category_id);i=`${t.displayName}/${i}`}return(0,m.i18n)("filters.with_category",{filter:t,category:i})}setupController(e,t){super.setupController(...arguments),e.bulkSelectHelper.clear(),this.searchService.searchContext=t.category.get("searchContext"),(0,l.setTopicList)(t.list);let i=t.category.params;i?.order!==void 0&&(e.order=i.order),i?.ascending!==void 0&&(e.ascending=i.ascending)}deactivate(){super.deactivate(...arguments),this.composer.set("prioritizedCategoryId",null),this.searchService.searchContext=null}setNotification(e){this.currentModel.setNotification(e)}static #m=(()=>dt7948.n(this.prototype,"setNotification",[s.action]))();triggerRefresh(){this.refresh()}static #f=(()=>dt7948.n(this.prototype,"triggerRefresh",[s.action]))();resetParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];r.resetParams.call(this,e)}static #y=(()=>dt7948.n(this.prototype,"resetParams",[s.action]))()},[a.disableImplicitInjections]);function f(e){return class extends g{routeConfig=(()=>e)()}}},11585:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(9348),n=i(55888),r=i(74975);let a=(0,s.setComponentTemplate)((0,n.createTemplateFactory)({id:"ftVkxDau",block:'[[[1,"\\n "],[11,2],[24,0,"form-kit-text"],[17,1],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n"]],["&attrs","&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/text.js",isStrictMode:!0}),(0,r.default)(void 0,"text:FKText"))},11607:(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}},11751:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(84807),n=i(13744);class r extends n.default.extend(s.default){}},11755:(e,t,i)=>{"use strict";i.d(t,{A:()=>p});var s=i(56589),n=i(32604),r=i(67399),a=i(88521),o=i(76426),l=i(79570),u=i(4175),d=i(28568),c=i(8705);let p={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,r=e.name,p=e.options,h=i.elements.arrow,m=i.modifiersData.popperOffsets,g=(0,s.A)(i.placement),f=(0,o.A)(g),_=[c.kb,c.pG].indexOf(g)>=0?"height":"width";if(h&&m){var y=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,u.A)("number"!=typeof e?e:(0,d.A)(e,c.OM))}(p.padding,i),b=(0,n.A)(h),w="y"===f?c.Mn:c.kb,k="y"===f?c.sQ:c.pG,T=i.rects.reference[_]+i.rects.reference[f]-m[f]-i.rects.popper[_],S=m[f]-i.rects.reference[f],C=(0,a.A)(h),A=C?"y"===f?C.clientHeight||0:C.clientWidth||0:0,D=y[w],M=A-b[_]-y[k],x=A/2-b[_]/2+(T/2-S/2),E=(0,l.u)(D,x,M);i.modifiersData[r]=((t={})[f]=E,t.centerOffset=E-x,t)}},effect:function(e){var t=e.state,i=e.options.element,s=void 0===i?"[data-popper-arrow]":i;if(null!=s)("string"!=typeof s||(s=t.elements.popper.querySelector(s)))&&(0,r.A)(t.elements.popper,s)&&(t.elements.arrow=s)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},11811:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(24698),n=i(58452),r=i(66530),a=i(58295),o=i(45916),l=i(13744),u=i(96675),d=i(90831),c=i(22106),p=i(71773),h=i(56367),m=i(57364),g=i(9348),f=i(55888);class _ extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[l.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"capabilities",[l.service]))();#ij=(()=>void dt7948.i(this,"capabilities"))();static #n=(()=>dt7948.g(this.prototype,"btnIcon",[(0,a.notEmpty)("args.icon")]))();#rk=(()=>void dt7948.i(this,"btnIcon"))();static #a=(()=>dt7948.g(this.prototype,"btnLink",[(0,a.equal)("args.display","link")]))();#rT=(()=>void dt7948.i(this,"btnLink"))();static #l=(()=>dt7948.g(this.prototype,"noText",[(0,a.empty)("computedLabel")]))();#rS=(()=>void dt7948.i(this,"noText"))();get forceDisabled(){return!!this.args.isLoading}get isDisabled(){return this.forceDisabled||this.args.disabled}get btnType(){return this.args.icon?this.computedLabel?"btn-icon-text":"btn-icon":this.computedLabel?"btn-text":void 0}get computedTitle(){return this.args.title?(0,m.i18n)(this.args.title):this.args.translatedTitle}get computedLabel(){return this.args.label?(0,u.htmlSafe)((0,m.i18n)(this.args.label)):this.args.translatedLabel}get computedAriaLabel(){return this.args.ariaLabel?(0,m.i18n)(this.args.ariaLabel):this.args.translatedAriaLabel?this.args.translatedAriaLabel:void 0}get computedAriaExpanded(){return!0===this.args.ariaExpanded?"true":!1===this.args.ariaExpanded?"false":void 0}get computedAriaPressed(){return!0===this.args.ariaPressed?"true":!1===this.args.ariaPressed?"false":void 0}keyDown(e){this.args.onKeyDown?(e.stopPropagation(),this.args.onKeyDown(e)):"Enter"===e.key&&this._triggerAction(e)}static #d=(()=>dt7948.n(this.prototype,"keyDown",[r.action]))();click(e){return this._triggerAction(e)}static #p=(()=>dt7948.n(this.prototype,"click",[r.action]))();mouseDown(e){this.args.preventFocus&&e.preventDefault()}static #m=(()=>dt7948.n(this.prototype,"mouseDown",[r.action]))();_triggerAction(e){let{action:t,route:i,routeModels:s}=this.args,n=this.capabilities?.isIOS;if(t||i){if(t){let{actionParam:i,forwardEvent:s}=this.args;"object"==typeof t&&t.value?n?s?t.value(i,e):t.value(i):(0,o.next)(()=>s?t.value(i,e):t.value(i)):"function"==typeof t&&(n?s?t(i,e):t(i):(0,o.next)(()=>s?t(i,e):t(i)))}else if(i)if(s){let e=Array.isArray(s)?s:[s];this.router.transitionTo(i,...e)}else this.router.transitionTo(i);return e.preventDefault(),e.stopPropagation(),!1}}get wrapperElement(){return(0,h.default)(this.args.href?"a":"button")}static #f=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"h+2BLPvl",block:'[[[1,"\\n"],[1," "],[8,[30,0,["wrapperElement"]],[[16,6,[30,1]],[16,4,[52,[51,[30,1]],[28,[32,0],[[30,2],"button"],null]]],[16,0,[28,[32,1],[[30,3],[52,[30,4],"is-loading"],[52,[30,0,["btnLink"]],"btn-link","btn"],[52,[30,0,["noText"]],"no-text"],[30,0,["btnType"]]],null]],[16,1,[30,5]],[16,"form",[30,6]],[16,"aria-controls",[30,7]],[16,"aria-expanded",[30,0,["computedAriaExpanded"]]],[16,"aria-pressed",[30,0,["computedAriaPressed"]]],[16,"tabindex",[30,8]],[16,"disabled",[30,0,["isDisabled"]]],[16,"title",[30,0,["computedTitle"]]],[16,"aria-label",[30,0,["computedAriaLabel"]]],[17,9],[4,[32,2],["keydown",[30,0,["keyDown"]]],null],[4,[32,2],["click",[30,0,["click"]]],null],[4,[32,2],["mousedown",[30,0,["mouseDown"]]],null]],null,[["default"],[[[[1,"\\n"],[41,[30,4],[[[1,[28,[32,3],["spinner"],[["class"],["loading-icon"]]]]],[]],[[[41,[30,10],[[[41,[30,11],[[[1," "],[10,1],[14,"aria-hidden","true"],[12],[1,[28,[32,3],[[30,10]],null]],[13],[1,"\\n"]],[]],[[[1,[28,[32,3],[[30,10]],null]]],[]]],[1," "]],[]],null]],[]]],[41,[30,0,["computedLabel"]],[[[10,1],[14,0,"d-button-label"],[12],[1,[30,0,["computedLabel"]]],[41,[30,12],[[[1,"…"]],[]],null],[13]],[]],[[[41,[28,[32,0],[[30,10],[30,4]],null],[[[10,1],[14,"aria-hidden","true"],[12],[1,"\\n ​\\n"],[1," "],[13]],[]],null]],[]]],[18,13,null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@href","@type","@class","@isLoading","@id","@form","@ariaControls","@tabindex","&attrs","@icon","@ariaHidden","@ellipsis","&default"],false,["unless","if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-button.js",scope:()=>[d.or,c.default,n.on,p.default],isStrictMode:!0}),this))()}},11882:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n.R}),i(98710),i(81904),i(50434),i(36819),i(90743),i(85333),i(99628),i(15036);var s=i(45916),n=i(93579);n.R.configure("async",function(e,t){s._backburner.schedule("actions",()=>e(t))})},11922:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(24698),n=i(13744),r=i(42775),a=i(9348),o=i(55888);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"menu",[n.service]))();#nv=(()=>void dt7948.i(this,"menu"))();static #i=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"rtCNRCrc",block:'[[[1,"\\n "],[10,0],[14,1,"d-menu-portals"],[12],[13],[1,"\\n\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["menu","registeredMenus"]]],null]],null],"id",[[[41,[30,1,["detachedTrigger"]],[[[1," "],[8,[32,0],null,[["@menu"],[[30,1]]],null],[1,"\\n"]],[]],null]],[1]],null],[1," "]],["menu"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-menus.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},11950:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n,deprecationCollector:()=>u,detectWorkflow:()=>a,flushDeprecations:()=>o,handleDeprecationWorkflow:()=>l});var s=i(23260);function n(e){self.deprecationWorkflow=self.deprecationWorkflow||{},self.deprecationWorkflow.deprecationLog={messages:new Set},(0,s.registerDeprecationHandler)((t,i,s)=>l(e,t,i,s)),(0,s.registerDeprecationHandler)(u),self.deprecationWorkflow.flushDeprecations=t=>o({config:e,...t})}function r(e,t){return"string"==typeof e&&e===t||e instanceof RegExp&&e.exec(t)}function a(e,t,i){let s,n,a;if(e&&e.workflow){for(s=0;s0&&void 0!==arguments[0]?arguments[0]:{},i=self.deprecationWorkflow.deprecationLog.messages,s=t.workflow??[],n=i.values().filter(e=>!s.some(t=>t.matchId===e)).map(t=>({handler:e,matchId:t})),r={...t,workflow:[...s,...n]};return`import setupDeprecationWorkflow from 'ember-cli-deprecation-workflow'; setupDeprecationWorkflow(${JSON.stringify(r,void 0,2)});`}function l(e,t,i,s){let n=a(e,t,i);if(n)switch(n.handler){case"silence":break;case"log":{let e=i&&i.id||t;self.deprecationWorkflow.logCounts||(self.deprecationWorkflow.logCounts={});let s=self.deprecationWorkflow.logCounts[e]||0;self.deprecationWorkflow.logCounts[e]=++s,s<=100&&(console.warn("DEPRECATION: "+t),100===s&&console.warn("To avoid console overflow, this deprecation will not be logged any more in this run."));break}case"throw":throw Error(t+` (id: ${i?.id||"unknown"})`);default:s(t,i)}else if(e&&e.throwOnUnhandled)throw Error(t);else s(t,i)}function u(e,t,i){self.deprecationWorkflow.deprecationLog.messages.add(t.id),i(e,t)}},11953:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(24698),n=i(40779),r=i(66530),a=i(26524),o=i(58347),l=i(44792),u=i(9348),d=i(55888);class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"type",[n.tracked]))();#rC=(()=>void dt7948.i(this,"type"))();id=(()=>(0,l.default)())();errorId=(()=>(0,l.default)())();constructor(){if(super(...arguments),!this.args.title?.length)throw Error("@title is required on ``.")}get value(){return this.args.data.get(this.name)}get rules(){return this.args.validation?a.default.parse(this.args.validation):null}async set(e){this.args.onSet?await this.args.onSet(e,{set:this.args.set,name:this.name,parentName:this.args.parentName,index:this.args.collectionIndex}):await this.args.set(this.name,e,{index:this.args.collectionIndex}),this.args.triggerRevalidationFor(this.name)}static #i=(()=>dt7948.n(this.prototype,"set",[r.action]))();get title(){return this.args.title}get format(){return this.args.format}get titleFormat(){return this.args.titleFormat}get descriptionFormat(){return this.args.descriptionFormat}get tooltip(){return this.args.tooltip}get disabled(){return this.args.disabled??!1}get description(){return this.args.description}get helpText(){return this.args.helpText}get showTitle(){return this.args.showTitle??!0}get addError(){return this.args.addError}get name(){if(!this.args.name&&this.args.parentName)return this.args.parentName;let e=this.args.name.toString();if(e?.includes(".")||e?.includes("-"))throw Error("@name can't include `.` or `-`.");return this.args.parentName?`${this.args.parentName}.${e}`:e}get validation(){return this.args.validation}get customValidate(){return this.args.validate}get required(){return this.rules?.required??!1}get maxLength(){return this.rules?.length?.max??null}get minLength(){return this.rules?.length?.min??null}async validate(e,t,i){if(this.disabled)return;await this.customValidate?.(e,t,{data:i,type:this.type,addError:this.addError});let s=new o.default(t,this.rules);(await s.validate(this.type)).forEach(t=>{let i=this.title;void 0!==this.args.collectionIndex&&(i+=` #${this.args.collectionIndex+1}`),this.addError(e,{title:i,message:t})})}static #n=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"vl68Cimv",block:'[[[18,1,[[30,0]]]],["&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/field-data.js",isStrictMode:!0}),this))()}},11962:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(7178),n=i(87114),r=i(2263),a=i(57364);let o={initialize(){(0,r.withPluginApi)(e=>{e.registerMoreTopicsTab({id:"related-messages",name:(0,a.i18n)("related_messages.pill"),component:s.default,condition:e=>{let{context:t,topic:i}=e;return"pm"===t&&i.relatedMessages?.length>0}}),e.registerMoreTopicsTab({id:"suggested-topics",name:(0,a.i18n)("suggested_topics.pill"),component:n.default,condition:e=>{let{topic:t}=e;return t.suggestedTopics?.length>0}})})}}},11988: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,d=[],c=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.extended?"x":"")+(n.sticky?"y":""),p=0,n=RegExp(n.source,c+"g");for(s+="",i||(a=RegExp("^"+n.source+"$(?!\\s)",c)),r=r===e?0xffffffff:r>>>0;(o=n.exec(s))&&(!((l=o.index+o[0].length)>p)||(d.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(""))&&d.push(""):d.push(s.slice(p)),d.length>r?d.slice(0,r):d}}()},12023:(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:()=>Y,programCompilationContext:()=>ea,templateCacheCounters:()=>ew,templateCompilationContext:()=>eo,templateFactory:()=>ek});var n=i(77597),r=i(43800),a=i(39183),o=i(5596),l=i(184);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 d=u(o.SexpOpcodes.GetFreeAsComponentHead),c=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)(d(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)(c(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 d=t.helper(o,null,!0);l((0,n.expect)(d,"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]]),d=e.lookupComponent(u,o);if(null!==d)a(t.resolvedComponent(d,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 d=r[0];if(d===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 d=t.component(o,(0,n.expect)(s,"BUG: expected owner when resolving component definition"),!0);if(null!==d)return void a(d);let c=t.helper(o,null,!0);if(null!==c)return void l(c);u(t.value(o))}else if(d===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]]),d=e.lookupComponent(u,o);if(null!==d)return void a(t.resolvedComponent(d,u));let c=e.lookupHelper(u,o);null!==c&&l(t.helper(c,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:d,handle:c}=t,p=i?[i,[]]:null,h=Array.isArray(o)||null===o?L(o):o;u?(e(r.Op.PushComponentDefinition,c),function(e,t){let{capabilities:i,layout:s,elementBlock:a,positional:o,named:u,blocks:d}=t,{symbolTable:c}=s;if(c.hasEval||(0,l.hasCapability)(i,r.InternalComponentCapabilities.prepareArgs))return Z(e,{capabilities:i,elementBlock:a,positional:o,named:u,atNames:!0,blocks:d,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}=c,h=[],m=[],g=[],f=d.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,d.get(t)),h.push(i))}if((0,l.hasCapability)(i,r.InternalComponentCapabilities.createArgs)){let t=H(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:d,layout:u,elementBlock:p,positional:s,named:a,blocks:h})):(e(r.Op.PushComponentDefinition,c),Z(e,{capabilities:d,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,d=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:d}),e(_.Label,"ELSE")})}function Z(e,t){let{capabilities:i,elementBlock:s,positional:a,named:o,atNames:u,blocks:d,layout:c}=t,p=!!d,h=!0===i||(0,l.hasCapability)(i,r.InternalComponentCapabilities.prepareArgs)||!(!o||0===o[0].length),m=d.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=H(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{c?(e(r.Op.PushSymbolTable,T(c.symbolTable)),e(r.Op.Constant,S(c)),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)}j.add(o.SexpOpcodes.Concat,(e,t)=>{let[,i]=t;for(let t of i)U(e,t);e(r.Op.Concat,i.length)}),j.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))}),j.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)}),j.add(o.SexpOpcodes.GetSymbol,(e,t)=>{let[,i,s]=t;e(r.Op.GetVariable,i),R(e,s)}),j.add(o.SexpOpcodes.GetLexicalSymbol,(e,t)=>{let[,i,s]=t;e(f.TemplateLocal,i,t=>{e(r.Op.ConstantReference,t),R(e,s)})}),j.add(o.SexpOpcodes.GetStrictKeyword,(e,t)=>{e(f.Local,t[1],i=>{e(f.Helper,t,t=>{I(e,t,null,null)})})}),j.add(o.SexpOpcodes.GetFreeAsHelperHead,(e,t)=>{e(f.Local,t[1],i=>{e(f.Helper,t,t=>{I(e,t,null,null)})})}),j.add(o.SexpOpcodes.Undefined,e=>P(e,void 0)),j.add(o.SexpOpcodes.HasBlock,(e,t)=>{let[,i]=t;U(e,i),e(r.Op.HasBlock)}),j.add(o.SexpOpcodes.HasBlockParams,(e,t)=>{let[,i]=t;U(e,i),e(r.Op.SpreadBlock),e(r.Op.CompileBlock),e(r.Op.HasBlockParams)}),j.add(o.SexpOpcodes.IfInline,(e,t)=>{let[,i,s,n]=t;U(e,n),U(e,s),U(e,i),e(r.Op.IfInline)}),j.add(o.SexpOpcodes.Not,(e,t)=>{let[,i]=t;U(e,i),e(r.Op.Not)}),j.add(o.SexpOpcodes.GetDynamicVar,(e,t)=>{let[,i]=t;U(e,i),e(r.Op.GetDynamicVar)}),j.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;c(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,ec(i))}),el.add(o.SexpOpcodes.OpenElementWithSplat,(e,t)=>{let[,i]=t;e(r.Op.PutComponentOperations),e(r.Op.OpenElement,ec(i))}),el.add(o.SexpOpcodes.Component,(e,t)=>{let[,i,s,n,r]=t;d(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;d(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,H(e,i))}),el.add(o.SexpOpcodes.WithDynamicVars,(e,t)=>{let[,i,s]=t;if(i){let[t,n]=i;H(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;d(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,Y(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 d=a.encoder.commit(n.size);return"number"!=typeof d||(this.compiled=d),d}}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,d=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 d.__id=o,d.__meta={moduleName:i},d}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)}}},12029:(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(49233),i(27322),i(23260),i(17633),i(4837),i(184),i(39665),i(8166),i(81845)},12040:(e,t,i)=>{"use strict";i.r(t),i.d(t,{cached:()=>r,tracked:()=>n.S}),i(49233),i(27322),i(23260),i(17633);var s=i(4837);i(184);var n=i(39665);i(8166);let r=function(){for(var e=arguments.length,t=Array(e),i=0;i{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(13744),n=i(75009);class r extends s.default{containers=(()=>new n.DeferredTrackedSet)();items=(()=>new n.DeferredTrackedSet)()}},12079:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ID_CONSTRAINT:()=>N,clearCustomLastUnreadUrlCallbacks:()=>Y,default:()=>j,loadTopicView:()=>I,mergeTopic:()=>B,movePosts:()=>U,registerCustomLastUnreadUrlCallback:()=>H});var s=i(40779),n=i(66530),r=i(87966),a=i(58295),o=i(13744),l=i(23286),u=i(12640),d=i(20559),c=i(72172),p=i(27090),h=i(39960),m=i(6827),g=i(43952),f=i(62931),_=i(18965),y=i(47209),b=i(8106),w=i(31552),k=i(47754),T=i(87285),S=i(86232),C=i(47353),A=i(42358),D=i(37288),M=i(95357),x=i(38196),E=i(87299),L=i(57364),P=i(98174);let F=(0,i(69853).A)(i(40779)).cached;function I(e,t){let i=(0,b.deepMerge)({},t),s=`/t/${e.id}`,n=(i.nearPost?`${s}/${i.nearPost}`:s)+".json";return delete i.nearPost,delete i.__type,delete i.store,w.default.getAndRemove(`topic_${e.id}`,()=>(0,d.ajax)(n,{data:i})).then(async t=>(t.categories?.forEach(t=>e.site.updateCategory(t)),e.updateFromJson(t),await j.applyTransformations([e]),t))}let N=/^\d+$/,O=[];class j extends D.default{static NotificationLevel={WATCHING:3,TRACKING:2,REGULAR:1,MUTED:0};static munge(e){return delete e.category,e.bookmarks=e.bookmarks||[],e}static createActionSummary(e){if(e.actions_summary){let t=n.default.create();e.actions_summary=e.actions_summary.map(i=>{i.post=e,i.actionType=M.default.current().postActionTypeById(i.id);let s=C.default.create(i);return t.set(i.actionType.get("name_key"),s),s}),e.set("actionByName",t)}}static update(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};void 0!==t.categoryId&&(t.category_id=t.categoryId,delete t.categoryId),e.get("isPrivateMessage")&&delete t.category_id;let s={...t};return i.fastEdit&&(s.keep_existing_draft=!0),(0,d.ajax)(e.get("url"),{type:"PUT",data:JSON.stringify(s),contentType:"application/json"}).then(i=>{t.title=i.basic_topic.title,t.fancy_title=i.basic_topic.fancy_title,e.is_shared_draft&&(t.destination_category_id=t.category_id,delete t.category_id),e.setProperties(t)})}static create(){let e=super.create.apply(this,arguments);return this.createActionSummary(e),e}static find(e,t){let i=(0,_.default)("/t/")+e;t.nearPost&&(i+=`/${t.nearPost}`);let s={};return t.postsAfter&&(s.posts_after=t.postsAfter),t.postsBefore&&(s.posts_before=t.postsBefore),t.trackVisit&&(s.track_visit=!0),t.userFilters&&t.userFilters.length>0&&(s.username_filters=[],t.userFilters.forEach(function(e){s.username_filters.push(e)})),!0===t.summary&&(s.summary=!0),(0,d.ajax)(`${i}.json`,{data:s})}static changeOwners(e,t){let i=(0,d.ajax)(`/t/${e}/change-owner`,{type:"POST",data:t}).then(e=>{if(e.success)return e;i.reject(Error("error changing ownership of posts"))});return i}static changeTimestamp(e,t){let i=(0,d.ajax)(`/t/${e}/change-timestamp`,{type:"PUT",data:{timestamp:t}}).then(e=>{if(e.success)return e;i.reject(Error("error updating timestamp of topic"))});return i}static bulkOperation(e,t,i,s){let n={topic_ids:e.mapBy("id"),operation:t,tracked:s};return i&&i.silent&&(n.silent=!0),(0,d.ajax)("/topics/bulk",{type:"PUT",data:n})}static bulkOperationByFilter(e,t,i,s){let n={filter:e,operation:t,tracked:s};return i&&(i.categoryId&&(n.category_id=i.categoryId),i.includeSubcategories&&(n.include_subcategories=!0),i.tagName&&(n.tag_name=i.tagName),i.private_message_inbox&&(n.private_message_inbox=i.private_message_inbox,i.group_name&&(n.group_name=i.group_name))),(0,d.ajax)("/topics/bulk",{type:"PUT",data:n})}static resetNew(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{tracked:s,tag:n,topicIds:r}={tracked:!1,tag:null,topicIds:null,...i},a={tracked:s};return e&&(a.category_id=e.id,a.include_subcategories=t),n&&(a.tag_id=n.id),r&&(a.topic_ids=r),i.dismissPosts&&(a.dismiss_posts=i.dismissPosts),i.dismissTopics&&(a.dismiss_topics=i.dismissTopics),i.untrack&&(a.untrack=i.untrack),(0,d.ajax)("/topics/reset-new",{type:"PUT",data:a})}static pmResetNew(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};return e.topicIds&&(t.topic_ids=e.topicIds),e.inbox&&(t.inbox=e.inbox,e.groupName&&(t.group_name=e.groupName)),(0,d.ajax)("/topics/pm-reset-new",{type:"PUT",data:t})}static idForSlug(e){return(0,d.ajax)(`/t/id_for/${e}`)}static setSlowMode(e,t,i){let s={seconds:t};return s.enabled_until=i,(0,d.ajax)(`/t/${e}/slow_mode`,{type:"PUT",data:s})}static async applyTransformations(e){await (0,y.applyModelTransformations)("topic",e)}static #e=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"deleted_by",[s.tracked]))();#H=(()=>void dt7948.i(this,"deleted_by"))();static #a=(()=>dt7948.g(this.prototype,"deleted_at",[s.tracked]))();#U=(()=>void dt7948.i(this,"deleted_at"))();message=null;errorLoading=!1;static #l=(()=>dt7948.g(this.prototype,"lastPosterUser",[(0,a.alias)("lastPoster.user")]))();#rA=(()=>void dt7948.i(this,"lastPosterUser"))();static #d=(()=>dt7948.g(this.prototype,"lastPosterGroup",[(0,a.alias)("lastPoster.primary_group")]))();#rD=(()=>void dt7948.i(this,"lastPosterGroup"))();static #p=(()=>dt7948.g(this.prototype,"allowedGroups",[(0,a.alias)("details.allowed_groups")]))();#rM=(()=>void dt7948.i(this,"allowedGroups"))();static #m=(()=>dt7948.g(this.prototype,"deleted",[(0,a.notEmpty)("deleted_at")]))();#tc=(()=>void dt7948.i(this,"deleted"))();static #f=(()=>dt7948.g(this.prototype,"printUrl",[(0,p.fmt)("url","%@/print")]))();#rx=(()=>void dt7948.i(this,"printUrl"))();static #y=(()=>dt7948.g(this.prototype,"isPrivateMessage",[(0,a.equal)("archetype","private_message")]))();#rE=(()=>void dt7948.i(this,"isPrivateMessage"))();static #v=(()=>dt7948.g(this.prototype,"isBanner",[(0,a.equal)("archetype","banner")]))();#rL=(()=>void dt7948.i(this,"isBanner"))();static #k=(()=>dt7948.g(this.prototype,"bookmarkCount",[(0,a.alias)("bookmarks.length")]))();#rP=(()=>void dt7948.i(this,"bookmarkCount"))();static #S=(()=>dt7948.g(this.prototype,"isPinnedUncategorized",[(0,a.and)("pinned","category.isUncategorizedCategory")]))();#rF=(()=>void dt7948.i(this,"isPinnedUncategorized"))();static #A=(()=>dt7948.g(this.prototype,"hasExcerpt",[(0,a.notEmpty)("excerpt")]))();#rI=(()=>void dt7948.i(this,"hasExcerpt"))();static #M=(()=>dt7948.g(this.prototype,"readLastPost",[(0,p.propertyEqual)("last_read_post_number","highest_post_number")]))();#rN=(()=>void dt7948.i(this,"readLastPost"))();static #E=(()=>dt7948.g(this.prototype,"canClearPin",[(0,a.and)("pinned","readLastPost")]))();#rO=(()=>void dt7948.i(this,"canClearPin"))();static #P=(()=>dt7948.g(this.prototype,"canEditTags",[(0,a.or)("details.can_edit","details.can_edit_tags")]))();#rj=(()=>void dt7948.i(this,"canEditTags"))();static #I=(()=>dt7948.g(this.prototype,"_details",[s.tracked],function(){return this.store.createRecord("topicDetails",{id:this.id,topic:this})}))();#rR=(()=>void dt7948.i(this,"_details"))();visited(e,t){return e>=t}static #O=(()=>dt7948.n(this.prototype,"visited",[(0,m.default)("last_read_post_number","highest_post_number")]))();creator(e){return e&&e.user}static #R=(()=>dt7948.n(this.prototype,"creator",[(0,m.default)("posters.firstObject")]))();lastPoster(e){if(e&&e.length>0)return e.filter(e=>e.extras?.includes("latest"))[0]||e.firstObject}static #B=(()=>dt7948.n(this.prototype,"lastPoster",[(0,m.default)("posters.[]")]))();featuredUsers(e,t,i){let s=e.length;if(this.isPrivateMessage&&t&&s<5){let i=0;if(s>1){let t=e[s-1];t.extras&&t.extras.includes("latest")&&(i=1)}let n=e.map(e=>e.user&&e.user.id).filter(e=>e);t.some(t=>!n.includes(t.user_id)&&(e.splice(e.length-i,0,t),5===e.length)||!1)}return this.isPrivateMessage&&i>5&&(e.splice(3,1),e.push({moreCount:`+${i-5+1}`})),e}static #Y=(()=>dt7948.n(this.prototype,"featuredUsers",[(0,m.default)("posters.[]","participants.[]","allowed_user_count")]))();fancyTitle(e){return(0,T.fancyTitle)(e,this.siteSettings.support_mixed_text_direction)}static #$=(()=>dt7948.n(this.prototype,"fancyTitle",[(0,m.default)("fancy_title")]))();bumpedAt(e,t){return e?new Date(e):t}static #V=(()=>dt7948.n(this.prototype,"bumpedAt",[(0,m.default)("bumped_at","createdAt")]))();bumpedAtTitle(e,t){let i="YYYY-MM-DDTHH:mm:ss";if(moment(e).isValid()&&moment(t).isValid())return moment(e).format(i)!==moment(t).format(i)?`${(0,L.i18n)("topic.created_at",{date:(0,f.longDate)(t)})} ${(0,L.i18n)("topic.bumped_at",{date:(0,f.longDate)(e)})}`:(0,L.i18n)("topic.created_at",{date:(0,f.longDate)(t)})}static #K=(()=>dt7948.n(this.prototype,"bumpedAtTitle",[(0,m.default)("bumpedAt","createdAt")]))();createdAt(e){return new Date(e)}static #J=(()=>dt7948.n(this.prototype,"createdAt",[(0,m.default)("created_at")]))();postStream(){return this.store.createRecord("postStream",{id:this.id,topic:this})}static #X=(()=>dt7948.n(this.prototype,"postStream",[m.default]))();visibleListTags(e){if(!e||!this.siteSettings.suppress_overlapping_tags_in_list)return e;let t=this.title.toLowerCase(),i=[];return e.forEach(function(e){t.includes(e.toLowerCase())||i.push(e)}),i}static #ee=(()=>dt7948.n(this.prototype,"visibleListTags",[(0,m.default)("tags")]))();get relatedMessages(){return this.get("related_messages")?.map(e=>this.store.createRecord("topic",e))}static #ei=(()=>dt7948.n(this.prototype,"relatedMessages",[F,r.dependentKeyCompat]))();get suggestedTopics(){return this.get("suggested_topics")?.map(e=>this.store.createRecord("topic",e))}static #en=(()=>dt7948.n(this.prototype,"suggestedTopics",[F,r.dependentKeyCompat]))();replyCount(e){return e-1}static #ea=(()=>dt7948.n(this.prototype,"replyCount",[(0,m.default)("posts_count")]))();get details(){return this._details}set details(e){if(e instanceof x.default){this._details=e;return}this._details=this.store.createRecord("topicDetails",e)}invisible(e){return void 0!==e?!e:void 0}static #el=(()=>dt7948.n(this.prototype,"invisible",[(0,m.default)("visible")]))();visibilityReasonTranslated(){if(this.visibility_reason_id&&this.visibility_reason_id!==h.TOPIC_VISIBILITY_REASONS.unknown){let e=Object.keys(h.TOPIC_VISIBILITY_REASONS).find(e=>h.TOPIC_VISIBILITY_REASONS[e]===this.visibility_reason_id);return(0,L.i18n)(`topic_statuses.visibility_reasons.${e}`)}return""}static #ed=(()=>dt7948.n(this.prototype,"visibilityReasonTranslated",[(0,m.default)("visibility_reason_id")]))();searchContext(e){return{type:"topic",id:e}}static #ep=(()=>dt7948.n(this.prototype,"searchContext",[(0,m.default)("id")]))();get category(){return P.default.findById(this.category_id)}static #em=(()=>dt7948.n(this.prototype,"category",[(0,n.computed)("category_id","site.categoriesById.[]")]))();set category(e){this.set("category_id",e?.id)}shareUrl(e){return(0,u.resolveShareUrl)(e,this.currentUser)}static #ef=(()=>dt7948.n(this.prototype,"shareUrl",[(0,m.default)("url")]))();url(e,t){return 0===(t=t||"").trim().length&&(t="topic"),`${(0,_.default)("/t/")}${t}/${e}`}static #ey=(()=>dt7948.n(this.prototype,"url",[(0,m.default)("id","slug")]))();urlForPostNumber(e){let t=this.url;return e>0&&(t+=`/${e}`),t}totalUnread(e,t){return(0,g.default)("The totalUnread property of the topic model is deprecated",{id:"discourse.topic.totalUnread"}),e||t}static #ev=(()=>dt7948.n(this.prototype,"totalUnread",[(0,m.default)("unread_posts","new_posts")]))();displayNewPosts(e,t){return(0,g.default)("The displayNewPosts property of the topic model is deprecated",{id:"discourse.topic.totalUnread"}),e||t}static #ek=(()=>dt7948.n(this.prototype,"displayNewPosts",[(0,m.default)("unread_posts","new_posts")]))();lastReadUrl(e){return this.urlForPostNumber(e)}static #eS=(()=>dt7948.n(this.prototype,"lastReadUrl",[(0,m.default)("last_read_post_number","url")]))();lastUnreadUrl(e,t){let i=null;if(O.some(e=>{let t=e(this);if(t)return i=t,!0}),i)return i;if(e>=t&&this.get("category.navigate_to_first_post_after_read"))return this.urlForPostNumber(1);let s=e+1;return s>t&&(s=t),this.urlForPostNumber(s)}static #eA=(()=>dt7948.n(this.prototype,"lastUnreadUrl",[(0,m.default)("last_read_post_number","highest_post_number","url")]))();lastPostUrl(e){return this.urlForPostNumber(e)}static #eM=(()=>dt7948.n(this.prototype,"lastPostUrl",[(0,m.default)("highest_post_number","url")]))();firstPostUrl(){return this.urlForPostNumber(1)}static #eE=(()=>dt7948.n(this.prototype,"firstPostUrl",[(0,m.default)("url")]))();summaryUrl(){let e=this.has_summary?"?filter=summary":"";return`${this.urlForPostNumber(1)}${e}`}static #eP=(()=>dt7948.n(this.prototype,"summaryUrl",[(0,m.default)("url")]))();lastPosterUrl(e){return(0,S.userPath)(e)}static #eI=(()=>dt7948.n(this.prototype,"lastPosterUrl",[(0,m.default)("last_poster.username")]))();viewsHeat(e){return e>=this.siteSettings.topic_views_heat_high?"heatmap-high":e>=this.siteSettings.topic_views_heat_medium?"heatmap-med":e>=this.siteSettings.topic_views_heat_low?"heatmap-low":null}static #eO=(()=>dt7948.n(this.prototype,"viewsHeat",[(0,m.default)("views")]))();archetypeObject(e){return M.default.currentProp("archetypes").findBy("id",e)}static #eR=(()=>dt7948.n(this.prototype,"archetypeObject",[(0,m.default)("archetype")]))();toggleStatus(e){return this.toggleProperty(e),this.saveStatus(e,!!this.get(e))}saveStatus(e,t,i){return"closed"===e&&this.incrementProperty("posts_count"),(0,d.ajax)(`${this.url}/status`,{type:"PUT",data:{status:e,enabled:!!t,until:i}})}makeBanner(){return(0,d.ajax)(`/t/${this.id}/make-banner`,{type:"PUT"}).then(()=>this.set("archetype","banner"))}removeBanner(){return(0,d.ajax)(`/t/${this.id}/remove-banner`,{type:"PUT"}).then(()=>this.set("archetype","regular"))}afterPostBookmarked(e){e.set("bookmarked",!0)}firstPost(){let e=this.postStream,t=e.get("posts.firstObject");if(t&&1===t.post_number)return l.Promise.resolve(t);let i=e.findPostIdForPostNumber(1);return i?this.postById(i):this.postStream.loadPostByPostNumber(1)}postById(e){let t=this.postStream.findLoadedPost(e);return t?l.Promise.resolve(t):this.postStream.loadPost(e)}deleteBookmarks(){return(0,d.ajax)(`/t/${this.id}/remove_bookmarks`,{type:"PUT"})}removeBookmark(e){this.bookmarks||this.set("bookmarks",[]),this.set("bookmarks",this.bookmarks.filter(t=>(t.id===e&&"Topic"===t.bookmarkable_type&&this.appEvents.trigger("bookmarks:changed",null,t.attachedTo()),t.id!==e))),this.set("bookmarked",this.bookmarks.length),this.incrementProperty("bookmarksWereChanged")}clearBookmarks(){this.toggleProperty("bookmarked");let e=this.bookmarks.filterBy("bookmarkable_type","Post").mapBy("bookmarkable_id");return e.forEach(e=>{let t=this.postStream.findLoadedPost(e);t&&t.clearBookmark()}),this.set("bookmarks",[]),e}createGroupInvite(e){return(0,d.ajax)(`/t/${this.id}/invite-group`,{type:"POST",data:{group:e}})}createInvite(e,t,i){return(0,d.ajax)(`/t/${this.id}/invite`,{type:"POST",data:{user:e,group_ids:t,custom_message:i}})}generateInviteLink(e,t,i){return(0,d.ajax)("/invites",{type:"POST",data:{email:e,skip_email:!0,group_ids:t,topic_id:i}})}destroy(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,d.ajax)(`/t/${this.id}`,{data:{context:window.location.pathname,...t},type:"DELETE"}).then(()=>{this.setProperties({deleted_at:new Date,deleted_by:e,"details.can_delete":!1,"details.can_recover":!0,"details.can_permanently_delete":this.siteSettings.can_permanently_delete&&e.admin}),!t.force_destroy&&(e.staff||e.groups.some(e=>this.category?.moderating_group_ids?.includes(e.id))||e.can_delete_all_posts_and_topics)||S.default.redirectTo("/")}).catch(c.popupAjaxError)}recover(){return this.setProperties({deleted_at:null,deleted_by:null,"details.can_delete":!0,"details.can_recover":!1}),(0,d.ajax)(`/t/${this.id}/recover`,{data:{context:window.location.pathname},type:"PUT"})}updateFromJson(e){let t=Object.keys(e);return!e.view_hidden&&(this.details.updateFromJson(e.details),t.removeObjects(["details","post_stream"]),e.published_page&&this.set("publishedPage",this.store.createRecord("published-page",e.published_page))),t.forEach(t=>this.set(t,e[t])),this.bookmarks.length&&this.set("bookmarks",this.bookmarks.map(e=>A.default.create(e))),this}reload(){return(0,d.ajax)(`/t/${this.id}`,{type:"GET"}).then(e=>this.updateFromJson(e))}clearPin(){this.setProperties({pinned:!1,unpinned:!0}),(0,d.ajax)(`/t/${this.id}/clear-pin`,{type:"PUT"}).then(null,()=>{this.setProperties({pinned:!0,unpinned:!1})})}togglePinnedForUser(){this.pinned?this.clearPin():this.rePin()}rePin(){this.setProperties({pinned:!0,unpinned:!1}),(0,d.ajax)(`/t/${this.id}/re-pin`,{type:"PUT"}).then(null,()=>{this.setProperties({pinned:!0,unpinned:!1})})}escapedExcerpt(e){return(0,k.emojiUnescape)(e)}static #eB=(()=>dt7948.n(this.prototype,"escapedExcerpt",[(0,m.default)("excerpt")]))();excerptTruncated(e){return e&&"…"===e.slice(-8)}static #eY=(()=>dt7948.n(this.prototype,"excerptTruncated",[(0,m.default)("excerpt")]))();archiveMessage(){this.set("archiving",!0);let e=(0,d.ajax)(`/t/${this.id}/archive-message`,{type:"PUT"});return e.then(e=>{this.set("message_archived",!0),e&&e.group_name&&this.set("inboxGroupName",e.group_name)}).finally(()=>this.set("archiving",!1)),e}moveToInbox(){this.set("archiving",!0);let e=(0,d.ajax)(`/t/${this.id}/move-to-inbox`,{type:"PUT"});return e.then(e=>{this.set("message_archived",!1),e&&e.group_name&&this.set("inboxGroupName",e.group_name)}).finally(()=>this.set("archiving",!1)),e}publish(){return(0,d.ajax)(`/t/${this.id}/publish`,{type:"PUT",data:this.getProperties("destination_category_id")}).then(()=>this.set("destination_category_id",null)).catch(c.popupAjaxError)}updateDestinationCategory(e){return this.set("destination_category_id",e),(0,d.ajax)(`/t/${this.id}/shared-draft`,{type:"PUT",data:{category_id:e}})}convertTopic(e,t){let i={type:"PUT"};return t&&t.categoryId&&(i.data={category_id:t.categoryId}),(0,d.ajax)(`/t/${this.id}/convert-topic/${e}`,i)}resetBumpDate(){return(0,d.ajax)(`/t/${this.id}/reset-bump-date`,{type:"PUT"}).catch(c.popupAjaxError)}updateTags(e){return e&&0!==e.length||(e=[""]),(0,d.ajax)(`/t/${this.id}/tags`,{type:"PUT",data:{tags:e}})}}function R(e){if(e.success)return(0,E.flushMap)(),e;throw Error("error moving posts topic")}function U(e,t){return(0,d.ajax)(`/t/${e}/move-posts`,{type:"POST",data:t}).then(R)}function B(e,t){return(0,d.ajax)(`/t/${e}/merge-topic`,{type:"POST",data:t}).then(R)}function H(e){O.push(e)}function Y(){O.clear()}},12080:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(13744),n=i(23286),r=i(20559),a=i(72172),o=i(65677),l=i(57364);class u extends o.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[s.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"currentUser",[s.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();queryParams={period:{refreshModel:!0},order:{refreshModel:!0},asc:{refreshModel:!0},name:{refreshModel:!1,replace:!0},group:{refreshModel:!0},exclude_groups:{refreshModel:!0},exclude_usernames:{refreshModel:!0}};titleToken(){return(0,l.i18n)("directory.title")}resetController(e,t){t&&e.setProperties({period:"weekly",order:"likes_received",asc:null,name:"",group:null,exclude_usernames:null,exclude_groups:null,lastUpdatedAt:null})}beforeModel(){this.siteSettings.hide_user_profiles_from_public&&!this.currentUser&&this.router.replaceWith("discovery")}model(e){return(0,r.ajax)("/directory-columns.json").then(t=>(e.order=e.order||t.directory_columns[0]?.name||"likes_received",{params:e,columns:t.directory_columns})).catch(a.popupAjaxError)}setupController(e,t){return e.set("columns",t.columns),n.Promise.all([e.loadGroups(),e.loadUsers(t.params)])}}},12114:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(78941),n=i(90098),r=i(47711),a=i(57364),o=i(9348),l=i(55888),u=i(74975);let d=(0,n.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"kKhf0Ex0",block:'[[[1,"\\n "],[10,"section"],[14,0,"user-secondary-navigation"],[12],[1,"\\n "],[8,[32,0],[[24,0,"activity-nav"]],null,[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["tabs"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,1],null,[["@route","@model"],[[30,2,["route"]],[30,1,["model","name"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],[[30,2,["title"]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,"section"],[14,0,"user-content"],[14,1,"user-content"],[12],[1,"\\n "],[46,[28,[31,3],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "]],["@controller","tab"],false,["each","-track-array","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group/manage.js",scope:()=>[r.default,s.LinkTo,a.i18n],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},12129:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(1848),n=i(86558),r=i(15188),a=i(61928),o=i(76932);let l=dt7948.c(class extends r.default{valueProperty="id";nameProperty="name";modifyComponentForRow(){return o.default}search(){let e=super.search(...arguments);if(e)return e.then(e=>{if(e&&0!==e.length)return e.map(e=>{let t={};return e.username?(t.id=e.username,e.username.includes("@")?t.isEmail=!0:(t.isUser=!0,t.name=e.name,t.showUserStatus=this.showUserStatus)):e.name&&(t.id=e.name,t.name=e.full_name,t.isGroup=!0),{...e,...t}})})}},[(0,n.pluginApiIdentifiers)(["email-group-user-chooser"]),(0,n.selectKitOptions)({filterComponent:a.default,fullWidthWrap:!1,autoWrap:!1}),(0,s.classNameBindings)("selectKit.options.fullWidthWrap:full-width-wrap"),(0,s.classNames)("email-group-user-chooser")])},12183:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(66530);function n(e,t){"category_id"===t&&(t="category.id");let i=(0,s.get)(e,t);return Array.isArray(i)?i.slice(0):i}},12230:(e,t,i)=>{var s=i(8588),n=i(88972);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 d="style"===n?"":void 0;for(var c in r){var p=r[c];e[n][c]=void 0===p?d:p}}(e,0,i,o,l):e[o]=l}}},12246:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(33406),n=i(20559),r=i(31552),a=i(12079);class o extends s.default{find(e,t,i){let{filter:s,params:a}=i;return r.default.getAndRemove("topic_list",()=>{let e=`/${s}.json`;if(a){let t=new URLSearchParams;for(let[e,i]of Object.entries(a))if(void 0!==i)if(Array.isArray(i))for(let s of i)t.append(`${e}[]`,s);else t.set(e,i);let i=t.toString();i&&(e+=`?${i}`)}return(0,n.ajax)(e)}).then(e=>(e.filter=s,e.params=a,e))}async applyTransformations(e){for(let t of e)await a.default.applyTransformations(t.topics)}}},12282:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(84189);class n extends s.default{get dismissTypes(){return this.filterByTypes}get renderDismissConfirmation(){return!1}get emptyStateComponent(){return"user-menu/likes-list-empty-state"}}},12433:(e,t,i)=>{"use strict";function s(){return{top:0,right:0,bottom:0,left:0}}i.d(t,{A:()=>s})},12505:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(20559),n=i(65677),r=i(57364);class a extends n.default{titleToken(){return(0,r.i18n)("user.change_email.title")}model(e){return(0,s.ajax)(`/u/confirm-old-email/${e.token}.json`)}}},12515:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n,homepageDestination:()=>a,homepageRewriteParam:()=>r});var s=i(34057);function n(e){let t=e._routerMicrolib;for(let e of["updateURL","replaceURL"]){let i=t[e].bind(t);t[e]=function(e){return i(e=function(e,t){let i=t?.intent?.url;if(i?.startsWith(a())||i?.startsWith("/login-required")||t?.intent.name===`discovery.${(0,s.defaultHomepage)()}`&&t?.intent.queryParams[r]){let t=(i||e).split("?",2)[1];if(e="/",t){let i=new URLSearchParams(t);i.delete(r),i.size&&(e+=`?${i.toString()}`)}}return e}(e,this.activeTransition))}}}let r="_discourse_homepage_rewrite";function a(){return`/${(0,s.defaultHomepage)()}?${r}=1`}},12522:(e,t,i)=>{var s=i(31687);e.exports=function(){return s.Date.now()}},12601:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(9348),n=i(4089),r=i(58452),a=i(58295),o=i(96675),l=i(1848),u=i(22106),d=i(6827),c=i(46566),p=i(47900),h=i(57364),m=i(55888);let g=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"showMessageInput",[(0,a.and)("flag.require_message","selected")]))();#rU=(()=>void dt7948.i(this,"showMessageInput"))();static #i=(()=>dt7948.g(this.prototype,"showConfirmation",[(0,a.and)("flag.isIllegal","selected")]))();#rB=(()=>void dt7948.i(this,"showConfirmation"))();static #n=(()=>dt7948.g(this.prototype,"isNotifyUser",[(0,a.equal)("flag.name_key","notify_user")]))();#rH=(()=>void dt7948.i(this,"isNotifyUser"))();get flagDescription(){return(0,c.applyValueTransformer)("flag-description",this.description,{nameKey:this.flag.name_key})}wrapperClassNames(e){return`flag-action-type ${e}`}static #a=(()=>dt7948.n(this.prototype,"wrapperClassNames",[(0,d.default)("flag.name_key")]))();customPlaceholder(e){return(0,c.applyValueTransformer)("flag-custom-placeholder",(0,h.i18n)("flagging.custom_placeholder_"+e,{defaultValue:(0,h.i18n)("flagging.custom_placeholder_notify_moderators")}),{nameKey:e})}static #l=(()=>dt7948.n(this.prototype,"customPlaceholder",[(0,d.default)("flag.name_key")]))();formattedName(e,t,i){return["notify_user","notify_moderators"].includes(t)?e.replace(/{{username}}|%{username}/,i):(0,c.applyValueTransformer)("flag-formatted-name",(0,h.i18n)("flagging.formatted_name."+t,{defaultValue:e}),{nameKey:t})}static #d=(()=>dt7948.n(this.prototype,"formattedName",[(0,d.default)("flag.name","flag.name_key","username")]))();selected(e,t){return e===t}static #p=(()=>dt7948.n(this.prototype,"selected",[(0,d.default)("flag","selectedFlag")]))();description(e,t){return this.site.mobileView?t:e}static #m=(()=>dt7948.n(this.prototype,"description",[(0,d.default)("flag.description","flag.short_description")]))();customMessageLengthClasses(e){return edt7948.n(this.prototype,"customMessageLengthClasses",[(0,d.default)("message.length")]))();customMessageLength(e){let t=e||0,i=this.siteSettings.min_personal_message_post_length;return 0===t?(0,h.i18n)("flagging.custom_message.at_least",{count:i}):tdt7948.n(this.prototype,"customMessageLength",[(0,d.default)("message.length")]))();static #v=(()=>(0,s.setComponentTemplate)((0,m.createTemplateFactory)({id:"gy0uqBrG",block:'[[[1,"\\n "],[10,0],[15,0,[30,0,["wrapperClassNames"]]],[12],[1,"\\n"],[41,[30,0,["isNotifyUser"]],[[[1," "],[10,"h3"],[12],[1,[30,0,["formattedName"]]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[10,"label"],[14,0,"radio checkbox-label"],[12],[1,"\\n "],[11,"input"],[16,1,[29,["radio_",[30,0,["flag","name_key"]]]]],[24,3,"post_action_type_index"],[24,4,"radio"],[4,[32,0],["click",[28,[32,1],[[30,0,["changePostActionType"]],[30,0,["flag"]]],null]],null],[12],[13],[1,"\\n\\n "],[10,0],[14,0,"flag-action-type-details"],[12],[1,"\\n "],[10,1],[14,0,"description"],[12],[1,[28,[32,2],[[30,0,["flagDescription"]]],null]],[13],[1,"\\n"],[41,[30,0,["showMessageInput"]],[[[1," "],[8,[32,3],[[24,3,"message"],[24,0,"flag-message"],[16,"placeholder",[30,0,["customPlaceholder"]]],[16,"aria-label",[28,[32,4],["flagging.notify_user_textarea_label"],null]]],[["@value"],[[30,0,["message"]]]],null],[1," "],[10,0],[15,0,[28,[32,5],["custom-message-length",[30,0,["customMessageLengthClasses"]]],null]],[12],[1,"\\n "],[1,[30,0,["customMessageLength"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["staffFlagsAvailable"]],[[[1," "],[10,"hr"],[12],[13],[1,"\\n "],[10,"h3"],[12],[1,[28,[32,4],["flagging.notify_staff"],null]],[13],[1,"\\n"]],[]],null]],[]],[[[1," "],[10,0],[15,0,[29,["controls ",[30,0,["flag","name_key"]]]]],[12],[1,"\\n "],[10,"label"],[14,0,"radio checkbox-label"],[12],[1,"\\n "],[11,"input"],[16,1,[29,["radio_",[30,0,["flag","name_key"]]]]],[16,"checked",[30,0,["selected"]]],[24,3,"post_action_type_index"],[24,4,"radio"],[4,[32,0],["click",[28,[32,1],[[30,0,["changePostActionType"]],[30,0,["flag"]]],null]],null],[12],[13],[1,"\\n "],[10,0],[14,0,"flag-action-type-details"],[12],[1,"\\n "],[10,"strong"],[14,0,"flag-name"],[12],[1,[30,0,["formattedName"]]],[13],[1,"\\n "],[10,0],[14,0,"description"],[12],[1,[28,[32,2],[[30,0,["flagDescription"]]],null]],[13],[1,"\\n"],[41,[30,0,["showMessageInput"]],[[[1," "],[8,[32,3],[[24,3,"message"],[24,0,"flag-message"],[16,"placeholder",[30,0,["customPlaceholder"]]],[16,"aria-label",[28,[32,4],["flagging.notify_moderators_textarea_label"],null]]],[["@value"],[[30,0,["message"]]]],null],[1," "],[10,0],[15,0,[28,[32,5],["custom-message-length",[30,0,["customMessageLengthClasses"]]],null]],[12],[1,"\\n "],[1,[30,0,["customMessageLength"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["showConfirmation"]],[[[1," "],[10,"label"],[14,0,"checkbox-label flag-confirmation"],[12],[1,"\\n "],[8,[32,6],[[24,3,"confirmation"]],[["@type","@checked"],["checkbox",[30,0,["isConfirmed"]]]],null],[1,"\\n "],[10,1],[12],[1,[28,[32,4],["flagging.confirmation_illegal"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/flag-action-type.js",scope:()=>[r.on,n.fn,o.htmlSafe,s.Textarea,h.i18n,u.default,s.Input],isStrictMode:!0}),this))()},[(0,l.tagName)("")])},12614:(e,t,i)=>{var s=i(27003),n=i(35309),r=i(38360),a=s?s.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?n(e):r(e)}},12640:(e,t,i)=>{"use strict";i.r(t),i.d(t,{resolveShareUrl:()=>n});var s=i(51852);function n(e,t){let i=(0,s.helperContext)().siteSettings,n=i.enable_badges,r=i.allow_username_in_share_links;return e+(t&&n&&r?`?u=${t.username_lower}`:"")}},12655:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(21371),n=i(23419),r=i(57364);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")))})},12798:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(24698),n=i(13744),r=i(71773),a=i(18965),o=i(57364),l=i(9348),u=i(55888);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"routeHistory",[n.service]))();#rY=(()=>void dt7948.i(this,"routeHistory"))();get href(){let e=this.routeHistory.history.find(e=>!e.startsWith("/admin")&&!e.startsWith("/chat"));return e&&this.routeHistory.router.currentURL.startsWith("/admin")?(0,a.default)(e):(0,a.default)("/")}static #i=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"xoI00CmF",block:'[[[1,"\\n "],[10,3],[15,6,[30,0,["href"]]],[14,0,"sidebar-sections__back-to-forum"],[12],[1,"\\n "],[1,[28,[32,0],["arrow-left"],null]],[1,"\\n\\n "],[10,1],[12],[1,[28,[32,1],["sidebar.back_to_forum"],null]],[13],[1,"\\n "],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/back-to-forum.js",scope:()=>[r.default,o.i18n],isStrictMode:!0}),this))()}},12816:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(24698),n=i(58452),r=i(66530),a=i(13744),o=i(71773),l=i(9348),u=i(55888);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"menu",[a.service]))();#nv=(()=>void dt7948.i(this,"menu"))();static #i=(()=>dt7948.g(this.prototype,"header",[a.service]))();#nh=(()=>void dt7948.i(this,"header"))();static #n=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();handleClick(){let e=this.menu.getByIdentifier("sidebar-more-section");this.args.action(),this.menu.close(e),this.args.toggleNavigationMenu&&this.args.toggleNavigationMenu(),"header dropdown"===this.siteSettings.navigation_menu&&(this.header.hamburgerVisible=!1)}static #a=(()=>dt7948.n(this.prototype,"handleClick",[r.action]))();static #l=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"ttgboHXy",block:'[[[1,"\\n "],[10,0],[14,0,"sidebar-section-link-wrapper"],[12],[1,"\\n "],[11,"button"],[24,0,"sidebar-section-link sidebar-row --link-button"],[16,"data-list-item-name",[30,1]],[24,4,"button"],[4,[32,0],["click",[30,0,["handleClick"]]],null],[12],[1,"\\n "],[10,1],[14,0,"sidebar-section-link-prefix icon"],[12],[1,"\\n "],[1,[28,[32,1],[[30,2]],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,1],[14,0,"sidebar-section-link-content-text"],[12],[1,"\\n "],[1,[30,1]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@text","@icon"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/section-link-button.js",scope:()=>[n.on,o.default],isStrictMode:!0}),this))()}},12819:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(9348),n=i(58295),r=i(1848),a=i(13288),o=i(71773),l=i(87835),u=i(6827),d=i(98174),c=i(57364),p=i(55888);let h=dt7948.c(class extends s.default{isPrivateMessage=!1;static #e=(()=>dt7948.g(this.prototype,"sortedTags",[(0,n.sort)("tags","sortProperties")]))();#rq=(()=>void dt7948.i(this,"sortedTags"))();title(e){return e&&(0,c.i18n)(e)}static #i=(()=>dt7948.n(this.prototype,"title",[(0,u.default)("titleKey")]))();category(e){return e&&d.default.findById(e)}static #n=(()=>dt7948.n(this.prototype,"category",[(0,u.default)("categoryId")]))();categoryClass(e){return e&&`tag-list-${e}`}static #a=(()=>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 #l=(()=>dt7948.n(this.prototype,"tagGroupNameClass",[(0,u.default)("tagGroupName")]))();static #d=(()=>(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")])},12874:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(23463);class n extends s.default{}},12899:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(39992),n=i(86232),r=i(57364);let a=class extends s.default{get linkHref(){return(0,n.userPath)(this.notification.data.display_username)}get description(){return(0,r.i18n)("notifications.invitee_accepted_your_invitation")}}},12947:(e,t,i)=>{"use strict";i.r(t),i.d(t,{reload:()=>n});var s=i(99148);function n(){(0,s.isTesting)()||location.reload()}},13151:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AutocompleteHandler:()=>r,PlaceholderHandler:()=>n,TextManipulation:()=>s});let s={},n={},r={}},13170:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r}),i(23260);let s=0;function n(e){return"function"==typeof e}class r{parent;matches;enableLoadingSubstates;explicitIndex=!1;options;constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;this.parent=e,this.enableLoadingSubstates=!!(t&&t.enableLoadingSubstates),this.matches=[],this.options=t}route(e,t,i){let s,l=null,u=`/_unused_dummy_error_path_route_${e}/:error`;if(n(t)?(s={},l=t):n(i)?(s=t,l=i):s=t||{},this.enableLoadingSubstates&&(o(this,`${e}_loading`,{resetNamespace:s.resetNamespace}),o(this,`${e}_error`,{resetNamespace:s.resetNamespace,path:u})),l){let t=new r(a(this,e,s.resetNamespace),this.options);o(t,"loading"),o(t,"error",{path:u}),l.call(t),o(this,e,s,t.generate())}else o(this,e,s)}push(e,t,i,s){let n=t.split(".");if(this.options.engineInfo){let e=Object.assign({localFullName:t.slice(this.options.engineInfo.fullName.length+1)},this.options.engineInfo);s&&(e.serializeMethod=s),this.options.addRouteForEngine(t,e)}else if(s)throw Error(`Defining a route serializer on route '${t}' outside an Engine is not allowed.`);(""===e||"/"===e||"index"===n[n.length-1])&&(this.explicitIndex=!0),this.matches.push(e,t,i)}generate(){let e=this.matches;return this.explicitIndex||this.route("index",{path:"/"}),t=>{for(let i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=this.options.resolveRouteMap(e),l=e;i.as&&(l=i.as);let u=a(this,l,i.resetNamespace),d={name:e,instanceId:s++,mountPoint:u,fullName:u},c=i.path;"string"!=typeof c&&(c=`/${l}`);let p=`/_unused_dummy_error_path_route_${l}/:error`;if(n){let e=!1,i=this.options.engineInfo;i&&(e=!0,this.options.engineInfo=d);let s=new r(u,Object.assign({engineInfo:d},this.options));o(s,"loading"),o(s,"error",{path:p}),n.class.call(s),t=s.generate(),e&&(this.options.engineInfo=i)}let h=Object.assign({localFullName:"application"},d);if(this.enableLoadingSubstates){let e=`${l}_loading`,t="application_loading",s=Object.assign({localFullName:t},d);o(this,e,{resetNamespace:i.resetNamespace}),this.options.addRouteForEngine(e,s),e=`${l}_error`,s=Object.assign({localFullName:t="application_error"},d),o(this,e,{resetNamespace:i.resetNamespace,path:p}),this.options.addRouteForEngine(e,s)}this.options.addRouteForEngine(u,h),this.push(c,u,t)}}function a(e,t,i){return function(e){return"application"!==e.parent}(e)&&!0!==i?`${e.parent}.${t}`:t}function o(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0,n=a(e,t,i.resetNamespace);"string"!=typeof i.path&&(i.path=`/${t}`),e.push(i.path,n,s,i.serialize)}},13177:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(58452),n=i(69853);let r=function(){return(0,n.A)(i(4837)).untrack}(),a=(0,s.setModifierManager)(()=>({capabilities:(0,s.capabilities)("3.22",{disableAutoTracking:!1}),createModifier:()=>({element:null}),installModifier(e,t,i){e.element=t,i.positional.forEach(()=>{}),i.named&&Object.values(i.named)},updateModifier(e,t){let{element:i}=e,[s,...n]=t.positional;t.positional.forEach(()=>{}),t.named&&Object.values(t.named),r(()=>{s(i,n,t.named)})},destroyModifier(){}}),class{})},13211:(e,t,i)=>{"use strict";let s,n,r;i.r(t),i.d(t,{cacheShortUploadUrl:()=>m,lookupCachedUploadUrl:()=>c,lookupUncachedUploadUrls:()=>h,resetCache:()=>g,resolveAllShortUrls:()=>k,resolveCachedShortUrls:()=>w});var a=i(23286),o=i(14844),l=i.n(o),u=i(57364);let d={};function c(e){return d[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:c(e).url||p,short_path:c(e).short_path||p})),t))}function m(e,t){d[e]=t}function g(){d={}}function f(e,t,i,s,n){let r=c(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)}},13278:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(94904)},13288:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698),n=i(90831),r=i(74018),a=i(43415),o=i(62112),l=i(84609),u=i(56367),d=i(9348),c=i(55888);class p extends s.default{get displayName(){if(!0===this.args.unstyled)return(0,l.default)(this.args.category.displayName);let e=(0,o.categoryBadgeHTML)(this.args.category,{allowUncategorized:!0,link:!1});return(0,l.default)(e,{htmlSafe:"true"})}static #e=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"Bq2tFu3b",block:'[[[1,"\\n"],[44,[[28,[32,0],[[28,[32,1],[[30,1],"h3"],null]],null]],[[[1," "],[8,[30,2],null,null,[["default"],[[[[1,"\\n "],[10,3],[14,0,"category-title-link"],[15,6,[30,3,["url"]]],[12],[1,"\\n "],[10,0],[14,0,"category-text-title"],[12],[1,"\\n "],[8,[32,2],null,[["@category"],[[30,3]]],null],[1,"\\n "],[10,1],[14,0,"category-name"],[12],[1,[30,0,["displayName"]]],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,3,["uploaded_logo","url"]],[[[1," "],[8,[32,3],null,[["@category"],[[30,3]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[2]]],[1," "]],["@tagName","TagName","@category"],false,["let","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/category-title-link.js",scope:()=>[u.default,n.or,a.default,r.default],isStrictMode:!0}),this))()}p.prototype.lockIcon="lock"},13294:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(24698),n=i(66530),r=i(11811),a=i(76586),o=i(9348),l=i(55888);class u extends s.default{dismiss(){this.args.model?.dismissNotifications?.(),this.args.closeModal()}static #e=(()=>dt7948.n(this.prototype,"dismiss",[n.action]))();static #i=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"Ih18Vewr",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"dismiss-notification-confirmation"]],[["@headerClass","@closeModal"],["hidden",[30,1]]],[["body","footer"],[[[[1,"\\n "],[1,[30,2,["confirmationMessage"]]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,1],[[24,0,"btn-primary"]],[["@icon","@action","@label"],["check",[30,0,["dismiss"]],"notifications.dismiss_confirmation.dismiss"]],null],[1,"\\n "],[8,[32,1],[[24,0,"btn-default"]],[["@action","@label"],[[30,1],"notifications.dismiss_confirmation.cancel"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/dismiss-notification-confirmation.js",scope:()=>[a.default,r.default],isStrictMode:!0}),this))()}},13305:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(90098),n=i(1100),r=i(9348),a=i(55888),o=i(74975);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)))},13354:(e,t,i)=>{"use strict";i.r(t),i.d(t,{DEFAULT_LIST:()=>r,default:()=>n});let s=/([^\[]+)(\[([^=]+)(=(.*))?\])?/;class n{constructor(e){this._enabled={default:!0},this._allowedHrefSchemes=e&&e.allowedHrefSchemes||[],this._allowedIframes=e&&e.allowedIframes||[],this._rawFeatures=[["default",r]],this._cache=null,e&&e.features&&Object.keys(e.features).forEach(t=>{e.features[t]&&(this._enabled[t]=!0)})}allowListFeature(e,t){this._rawFeatures.push([e,t])}disable(e){this._enabled[e]=!1,this._cache=null}enable(e){this._enabled[e]=!0,this._cache=null}_buildCache(){let e={},t={},i=[];this._rawFeatures.forEach(n=>{let[r,a]=n;if(this._enabled[r]){if(a.custom)return void i.push(a.custom);"string"==typeof a&&(a=[a]),(a||[]).forEach(i=>{let n=i.split("."),r=n.shift(),a=s.exec(r);if(a){let[,i,,s,,r]=a;e[i]=[];let o=t[i]=t[i]||{};if(n.length>0&&(o.class=(o.class||[]).concat(n)),s){let e=o[s]=o[s]||[];r?e.push(r):o[s]=["*"]}}})}}),this._cache={custom:i,allowList:{tagList:e,attrList:t}}}_ensureCache(){this._cache||this._buildCache()}getAllowList(){return this._ensureCache(),this._cache.allowList}getCustom(){return this._ensureCache(),this._cache.custom}getAllowedHrefSchemes(){return this._allowedHrefSchemes}getAllowedIframes(){return this._allowedIframes}}let r=["a.anchor","a.attachment","a.hashtag","a.mention","a.mention-group","a.onebox","a.inline-onebox","a.inline-onebox-loading","a[data-bbcode]","a[data-word]","a[name]","a[rel=nofollow]","a[rel=ugc]","a[target=_blank]","a[title]","abbr[title]","aside.quote","aside[data-*]","audio","audio[controls]","audio[preload]","b","big","blockquote","br","code","dd","del","div","div.quote-controls","div.title","div[align]","div[lang]","div[data-*]","div[dir]","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","iframe","iframe[frameborder]","iframe[height]","iframe[marginheight]","iframe[marginwidth]","iframe[width]","iframe[allowfullscreen]","iframe[allow]","img[alt]","img[role]","img[height]","img[title]","img[width]","img[data-thumbnail]","ins","kbd","li","mark","ol","ol[reversed]","ol[start]","ol[type]","p","p[lang]","picture","pre","s","small","span[lang]","span.excerpt","div.excerpt","div.video-container","div.video-placeholder-container","div.onebox-placeholder-container","span.placeholder-icon video","span.hashtag","span.mention","strike","strong","sub","sup","source[data-orig-src]","source[type]","track","track[default]","track[label]","track[kind]","track[srclang]","ul","video","video[controls]","video[controlslist]","video[crossorigin]","video[height]","video[loop]","video[muted]","video[playsinline]","video[poster]","video[preload]","video[width]","ruby","ruby[lang]","rb","rb[lang]","rp","rt","rt[lang]"]},13371:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(66296),n=i(87018),r=i(71773),a=i(9348),o=i(55888),l=i(74975);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"IyuF2Yo1",block:'[[[1,"\\n "],[10,0],[14,0,"created-by"],[12],[1,"\\n"],[41,[30,1],[[[1," "],[8,[32,0],null,[["@user"],[[30,1]]],[["default"],[[[[1,[28,[32,1],[[30,1]],[["imageSize"],["large"]]]]],[]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["trash-can"],[["class"],["deleted-user-avatar"]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],["@user"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-created-by.js",scope:()=>[s.default,n.default,r.default],isStrictMode:!0}),(0,l.default)(void 0,"reviewable-created-by:ReviewableCreatedBy"))},13381:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(9348),n=i(66530),r=i(58295),a=i(58670),o=i(72825),l=i(99538),u=i(91474),d=i(97858),c=i(79401),p=i(15294),h=i(46386),m=i(72172),g=i(28206),f=i(6827),_=i(52327),y=i(57364),b=i(55888);class w extends s.default{disableSave=null;nameInput=null;static #e=(()=>dt7948.g(this.prototype,"canEdit",[(0,r.not)("model.automatic")]))();#ts=(()=>void dt7948.i(this,"canEdit"))();didInsertElement(){super.didInsertElement(...arguments);let e=this.get("model.name");e?this.set("nameInput",e):this.set("disableSave",!0)}nameValidation(e,t){return t||e}static #i=(()=>dt7948.n(this.prototype,"nameValidation",[(0,f.default)("basicNameValidation","uniqueNameValidation")]))();_validateName(){if(this.nameInput!==this.get("model.name"))return void 0===this.nameInput?this._failedInputValidation():""===this.nameInput?(this.set("uniqueNameValidation",null),this._failedInputValidation((0,y.i18n)("admin.groups.new.name.blank"))):this.nameInput.lengththis.siteSettings.max_username_length?this._failedInputValidation((0,y.i18n)("admin.groups.new.name.too_long")):(this.checkGroupNameDebounced(),this._failedInputValidation((0,y.i18n)("admin.groups.new.name.checking")))}static #n=(()=>dt7948.n(this.prototype,"_validateName",[(0,o.observes)("nameInput")]))();checkGroupNameDebounced(){(0,g.default)(this,this._checkGroupName,500)}_checkGroupName(){(0,a.isEmpty)(this.nameInput)||_.default.checkName(this.nameInput).then(e=>{let t="uniqueNameValidation";if(e.available)this.set(t,n.default.create({ok:!0,reason:(0,y.i18n)("admin.groups.new.name.available")})),this.set("disableSave",!1),this.set("model.name",this.nameInput);else{let i;i=e.errors?e.errors.join(" "):(0,y.i18n)("admin.groups.new.name.not_available"),this.set(t,this._failedInputValidation(i))}}).catch(m.popupAjaxError)}_failedInputValidation(e){this.set("disableSave",!0);let t={failed:!0};e&&(t.reason=e),this.set("basicNameValidation",n.default.create(t))}static #a=(()=>(0,s.setComponentTemplate)((0,b.createTemplateFactory)({id:"ZLnU5O+A",block:'[[[1,"\\n"],[41,[30,0,["canEdit"]],[[[41,[30,0,["currentUser","can_create_group"]],[[[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[14,"for","name"],[12],[1,[28,[32,0],["groups.name"],null]],[13],[1,"\\n\\n "],[8,[32,1],[[24,0,"input-xxlarge group-form-name"]],[["@name","@value","@placeholderKey"],["name",[30,0,["nameInput"]],"admin.groups.name_placeholder"]],null],[1,"\\n\\n "],[8,[32,2],null,[["@validation"],[[30,0,["nameValidation"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[14,"for","full_name"],[12],[1,[28,[32,0],["groups.manage.full_name"],null]],[13],[1,"\\n\\n "],[8,[32,1],[[24,0,"input-xxlarge group-form-full-name"]],[["@name","@value"],["full_name",[30,0,["model","full_name"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[14,"for","bio"],[12],[1,[28,[32,0],["groups.bio"],null]],[13],[1,"\\n "],[8,[32,3],[[24,0,"group-form-bio input-xxlarge"]],[["@value"],[[30,0,["model","bio_raw"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["model","automatic"]],[[[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[8,[32,4],null,[["@model"],[[30,0,["model"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["canEdit"]],[[[1," "],[18,1,null],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,5],null,[["@name","@connectorTagName","@outletArgs"],["group-edit","div",[28,[32,6],null,[["group"],[[30,0,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/groups-form-profile-fields.js",scope:()=>[y.i18n,p.default,d.default,l.default,u.default,c.default,h.default],isStrictMode:!0}),this))()}},13398:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(68245),n=i(78932),r=i(23286);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()}}},13556:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(45916),n=i(1848),r=i(92129),a=i(24097),o=i(9348),l=i(55888);let u=dt7948.c(class extends a.default{didReceiveAttrs(){super.didReceiveAttrs(...arguments),(0,s.schedule)("afterRender",()=>{let e=(0,r.escapeExpression)(this.rowValue);this.element.style.borderLeftColor=e.startsWith("#")?e:`#${e}`})}static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"DLIm1eau",block:'[[[1,"\\n "],[10,1],[12],[1,[30,0,["label"]]],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/create-color-row.js",isStrictMode:!0}),this))()},[(0,n.classNames)("create-color-row")])},13591:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(66530),n=i(20559);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})}}},13741:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(24698),n=i(13744),r=i(71773),a=i(18965),o=i(9348),l=i(55888),u=i(74975);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"breadcrumbs",[n.service]))();#r$=(()=>void dt7948.i(this,"breadcrumbs"))();constructor(){super(...arguments),this.breadcrumbs.items.add(this)}willDestroy(){super.willDestroy(...arguments),this.breadcrumbs.items.delete(this)}get templateForContainer(){let{label:e,path:t}=this.args;return(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"BSB99eLu",block:'[[[1,"\\n "],[11,"li"],[17,1],[12],[1,"\\n "],[10,3],[15,6,[28,[32,0],[[32,1]],null]],[15,0,[30,2]],[12],[1,"\\n "],[1,[32,2]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"separator"],[12],[1,[28,[32,3],["angle-right"],null]],[13],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@linkClass"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-breadcrumbs-item.js",scope:()=>[a.default,t,e,r.default],isStrictMode:!0}),(0,u.default)(void 0,void 0))}}},13744:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o,inject:()=>r,service:()=>a});var s=i(73779);i(49233),i(27322),i(23260),i(17633),i(4837),i(184);var n=i(39665);function r(){for(var e=arguments.length,t=Array(e),i=0;i{"use strict";i.r(t),i.d(t,{N:()=>u,a:()=>d,b:()=>c,c:()=>h,d:()=>g,e:()=>y,f:()=>m,i:()=>_,p:()=>f,r:()=>p,s:()=>b});var s=i(8166);i(27322);var n=i(74776);let r=Object.prototype.hasOwnProperty,a=!1,o={_set:0,_unprocessedNamespaces:!1,get unprocessedNamespaces(){return this._unprocessedNamespaces},set unprocessedNamespaces(v){this._set++,this._unprocessedNamespaces=v}},l=!1,u=[],d=Object.create(null);function c(e){o.unprocessedNamespaces=!0,u.push(e)}function p(e){let t=(0,n.g)(e);delete d[t],u.splice(u.indexOf(e),1),t in s.c.lookup&&e===s.c.lookup[t]&&(s.c.lookup[t]=void 0)}function h(){if(!o.unprocessedNamespaces)return;let e=s.c.lookup;for(let t of Object.keys(e)){if(!function(e){return e>=65&&e<=90}(t.charCodeAt(0)))continue;let i=function(e,t){try{let i=e[t];return(null!==i&&"object"==typeof i||"function"==typeof i)&&i.isNamespace&&i}catch(e){}}(e,t);i&&(0,n.s)(i,t)}}function m(e){return a||f(),d[e]}function g(e){!function e(t,i,s){let a=t.length,o=t.join(".");for(let l in d[o]=i,(0,n.s)(i,o),i){if(!r.call(i,l))continue;let o=i[l];if(t[a]=l,o&&void 0===(0,n.g)(o))(0,n.s)(o,t.join("."));else if(o&&function(e){return null!=e&&"object"==typeof e&&e.isNamespace}(o)){if(s.has(o))continue;s.add(o),e(t,o,s)}}t.length=a}([e.toString()],e,new Set)}function f(){let e=o.unprocessedNamespaces;if(e&&(h(),o.unprocessedNamespaces=!1),e||l){for(let e of u)g(e);l=!1}}function _(){return a}function y(e){a=!!e}function b(){l=!0}},13863:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(90831),n=i(11811),r=i(9348),a=i(55888),o=i(74975);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"HBxfvTLq",block:'[[[1,"\\n "],[10,0],[14,0,"select-posts"],[12],[1,"\\n"],[41,[28,[32,0],[[28,[32,1],[[30,1]],null],[28,[32,1],[[30,2,["firstPost"]]],null]],null],[[[41,[30,2,["hasReplies"]],[[[1," "],[8,[32,2],[[24,0,"btn-flat select-replies"]],[["@label","@title","@action"],["topic.multi_select.select_replies.label","topic.multi_select.select_replies.title",[30,3]]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,2],[[24,0,"btn-flat select-below"]],[["@label","@title","@action"],["topic.multi_select.select_below.label","topic.multi_select.select_below.title",[30,4]]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,2],[[24,0,"btn-flat select-post"]],[["@label","@title","@action"],[[52,[30,1],"topic.multi_select.selected_post.label","topic.multi_select.select_post.label"],[52,[30,1],"topic.multi_select.selected_post.title","topic.multi_select.select_post.title"],[30,5]]],null],[1,"\\n "],[13],[1,"\\n"]],["@selected","@post","@selectReplies","@selectBelow","@togglePostSelection"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/meta-data/select-post.js",scope:()=>[s.and,s.not,n.default],isStrictMode:!0}),(0,o.default)(void 0,"select-post:PostMetaDataSelectPost"))},13900:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(20559),n=i(28206);let r=[],a=0,o={enqueue(e,t,i){r.length>=40&&r.splice(0,1)[0].forEach(e=>{e.runnable()(429)}),r.push({runnable:()=>i,type:e,params:t}),(0,n.default)(this,this._processQueue,50)},_processQueue(){if(0===r.length||a>=3)return;a++;let e=r.splice(0,4);r.length>0&&(0,n.default)(this,this._processQueue,50);let t={};e.forEach(e=>{t[e.type]=e.params}),(0,s.ajax)("/admin/reports/bulk",{data:{reports:t}}).then(t=>{e.forEach(e=>{let i=t.reports.findBy("type",e.type);e.runnable()(i)})}).catch(t=>{e.forEach(e=>{t.jqXHR&&429===t.jqXHR.status?e.runnable()(429):t.jqXHR&&500===t.jqXHR.status?e.runnable()(500):e.runnable()()})}).finally(()=>{a--,(0,n.default)(this,this._processQueue,50)})},_reset(){r=[],a=0}}},13940:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>S});var s=i(4089),n=i(78941),r=i(96675),a=i(90098),o=i(90831),l=i(58219),u=i(11811),d=i(44501),c=i(52752),p=i(79401),h=i(55486),m=i(71773),g=i(46386),f=i(57364),_=i(75515),y=i(44093),b=i(12129),w=i(9348),k=i(55888),T=i(74975);let S=(0,a.default)((0,w.setComponentTemplate)((0,k.createTemplateFactory)({id:"cYKWeTry",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,13],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,13],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,14],null,[["@value","@onChange","@options"],[[30,1,["filterCategoryId"]],[28,[32,10],[[28,[31,3],[[30,1,["filterCategoryId"]]],null]],null],[28,[32,13],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,15],null,[["@value","@onChange","@options"],[[30,1,["filterFlaggedBy"]],[30,1,["updateFilterFlaggedBy"]],[28,[32,13],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,15],null,[["@value","@onChange","@options"],[[30,1,["filterReviewedBy"]],[30,1,["updateFilterReviewedBy"]],[28,[32,13],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,15],[[24,0,"user-selector"]],[["@value","@onChange","@options"],[[30,1,["filterUsername"]],[30,1,["updateFilterUsername"]],[28,[32,13],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,16],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:()=>[f.i18n,o.eq,r.htmlSafe,n.LinkTo,m.default,u.default,c.default,h.default,l.default,y.default,s.fn,p.default,g.default,s.hash,_.default,b.default,d.default],isStrictMode:!0}),(0,T.default)(void 0,void 0)))},13945:(e,t,i)=>{"use strict";function s(e,t){if(!(this instanceof s))return new s(e,t);this.namespace=e,this.value=t}i.r(t),i.d(t,{default:()=>n}),s.prototype.hook=function(e,t,i){i&&"AttributeHook"===i.type&&i.value===this.value&&i.namespace===this.namespace||e.setAttributeNS(this.namespace,t,this.value)},s.prototype.unhook=function(e,t,i){if(i&&"AttributeHook"===i.type&&i.namespace===this.namespace)return;let s=t.indexOf(":"),n=s>-1?t.slice(s+1):t;e.removeAttributeNS(this.namespace,n)},s.prototype.type="AttributeHook";let n=s},13946:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l}),i(49233);var s=i(27322),n=i(74776);i(23260),i(17633),i(4837),i(184);var r=i(39665),a=i(13827),o=i(66530);class l extends o.default{static NAMESPACES=(()=>a.N)();static NAMESPACES_BY_ID=(()=>a.a)();static processAll=(()=>a.p)();static byName=(()=>a.f)();init(e){super.init(e),(0,a.b)(this)}toString(){let e=(0,r.g)(this,"name")||(0,r.g)(this,"modulePrefix");if(e)return e;(0,a.c)();let t=(0,n.g)(this);return void 0===t&&(t=(0,s.g)(this),(0,n.s)(this,t)),t}nameClasses(){(0,a.d)(this)}destroy(){return(0,a.r)(this),super.destroy()}}l.prototype.isNamespace=!0},13975:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(96675),n=i(20559),r=i(98174),a=i(72),o=i(37288);class l extends o.default{static async find(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};e.before&&(t.before=e.before),e.id&&(t.id=e.id);let{latest_posts:i}=await (0,n.ajax)("/posts.json",{data:t});return i.map(e=>(e.category=r.default.findById(e.category_id),e.topic_html_title=(0,s.htmlSafe)(e.topic_html_title),a.default.create(e)))}}},14090:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(40779),n=i(58670),r=i(28206),a=i(48297),o=i(57364);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 d{static #e=(()=>dt7948.g(this.prototype,"usernameValidationResult",[s.tracked]))();#rz=(()=>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")}))}}},14113:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(90098),n=i(59827),r=i(9348),a=i(55888),o=i(74975);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)))},14130:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(78941),n=i(90098),r=i(11811),a=i(71773),o=i(18965),l=i(57364),u=i(9348),d=i(55888),c=i(74975);let p=(0,n.default)((0,u.setComponentTemplate)((0,d.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,c.default)(void 0,void 0)))},14310:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698),n=i(66530),r=i(13744),a=i(90831),o=i(11811),l=i(68269),u=i(71773),d=i(57364),c=i(51719),p=i(9348),h=i(55888);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();get currentSelection(){return this.args.content.find(e=>e.id===this.args.value)}get showUnreadIcon(){return!this.currentUser.sidebarShowCountOfNewItems}onRegisterApi(e){this.menuApi=e}static #i=(()=>dt7948.n(this.prototype,"onRegisterApi",[n.action]))();openInbox(e){this.args.onChange(e),this.menuApi.close()}static #n=(()=>dt7948.n(this.prototype,"openInbox",[n.action]))();static #a=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"4qeUA3uO",block:'[[[1,"\\n "],[8,[32,0],null,[["@icon","@label","@title","@identifier","@onRegisterApi"],[[30,0,["currentSelection","icon"]],[30,0,["currentSelection","name"]],[28,[32,1],["user.messages.all"],null],"messages-dropdown",[30,0,["onRegisterApi"]]]],[["trigger","content"],[[[[1,"\\n"],[41,[30,0,["currentSelection","showUnreadIcon"]],[[[1," "],[1,[28,[32,2],["circle"],[["class"],["d-icon-d-unread"]]]],[1,"\\n"]],[]],null],[1," "],[1,[28,[32,2],["angle-down"],null]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,3],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,2]],null]],null],null,[[[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,4],[[16,0,[52,[28,[32,5],[[30,0,["currentSelection","name"]],[30,3,["name"]]],null],"is-selected"]]],[["@translatedLabel","@icon","@action"],[[30,3,["name"]],[30,3,["icon"]],[28,[30,0,["openInbox"]],[[30,3,["id"]]],null]]],[["default"],[[[[1,"\\n"],[41,[30,3,["showUnreadIcon"]],[[[1," "],[1,[28,[32,2],["circle"],[["class"],["d-icon-d-unread"]]]],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[3]],null],[1," "]],[1]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["dropdown","@content","item"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-nav/messages-dropdown.js",scope:()=>[c.default,d.i18n,u.default,l.default,o.default,a.eq],isStrictMode:!0}),this))()}},14382:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a}),i(66530);var s=i(46423),n=i(39665);i(49233),i(23260),i(4837),i(27322),i(17633),i(184);var r=i(50329);i(8166);let a=s.default.create({reason:null,isPending:(0,n.c)("isSettled",function(){return!(0,n.g)(this,"isSettled")}).readOnly(),isSettled:(0,n.c)("isRejected","isFulfilled",function(){return(0,n.g)(this,"isRejected")||(0,n.g)(this,"isFulfilled")}).readOnly(),isRejected:!1,isFulfilled:!1,promise:(0,n.c)({get(){throw Error("PromiseProxy's promise must be set")},set(e,t){return function(e,t){return(0,r.s)(e,{isFulfilled:!1,isRejected:!1}),t.then(t=>(e.isDestroyed||e.isDestroying||(0,r.s)(e,{content:t,isFulfilled:!0}),t),t=>{throw e.isDestroyed||e.isDestroying||(0,r.s)(e,{reason:t,isRejected:!0}),t},"Ember: PromiseProxy")}(this,t)}}),then:o("then"),catch:o("catch"),finally:o("finally")});function o(e){return function(){return(0,n.g)(this,"promise")[e](...arguments)}}},14387:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{cache;constructor(){this.cache=new Map}has(e){return this.cache.has(e)}stash(e,t,i){let s=this.cache.get(e);void 0===s&&(s=new Map,this.cache.set(e,s)),s.set(t,i)}lookup(e,t,i){if(!this.has(e))return i;let s=this.cache.get(e);return s.has(t)?s.get(t):i}}},14460:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698),n=i(4089),r=i(78941),a=i(70239),o=i.n(a),l=i(57364),u=i(2517),d=i(9348),c=i(55888);class p extends s.default{tagName="";get moreCount(){if(!this.args.selectKit.totalCount)return 0;let e=this.args.collection.content.filter(e=>e.id!==u.NO_CATEGORIES_ID&&e.id!==u.ALL_CATEGORIES_ID).length;return this.args.selectKit.totalCount-e}get slugPath(){return this.args.selectKit.options.parentCategory.path.substring(3)}static #e=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"2YRBtCCQ",block:'[[[1,"\\n"],[41,[30,0,["moreCount"]],[[[1," "],[10,0],[14,0,"category-drop-footer"],[12],[1,"\\n "],[10,1],[12],[1,"\\n "],[1,[28,[32,0],["categories.plus_more_count",[28,[32,1],null,[["count"],[[30,0,["moreCount"]]]]]],null]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["options","parentCategory"]],[[[1," "],[8,[32,2],null,[["@route","@model"],["discovery.subcategories",[30,0,["slugPath"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,0],["categories.view_all"],null]],[1,"\\n "],[1,[28,[32,3],["up-right-from-square"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],null,[["@route"],["discovery.categories"]],[["default"],[[[[1,"\\n "],[1,[28,[32,0],["categories.view_all"],null]],[1,"\\n "],[1,[28,[32,3],["up-right-from-square"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["@selectKit"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/category-drop-more-collection.js",scope:()=>[l.i18n,n.hash,r.LinkTo,o()],isStrictMode:!0}),this))()}},14462:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(24698);i(40779);var n=i(36768),r=i(13744),a=i(99179),o=i(62709),l=i(9348),u=i(55888);let d=(0,i(69853).A)(i(40779)).cached;class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"sidebarState",[r.service]))();#n_=(()=>void dt7948.i(this,"sidebarState"))();get sections(){return(this.sidebarState.combinedMode?this.sidebarState.panels.filter(e=>!e.hidden).flatMap(e=>e.sections):this.sidebarState.currentPanel.sections).map(e=>{let t=new(function(e,t){return class extends e{constructor(e){let{filterable:t,sidebarState:i}=e;super(),this.filterable=t,this.sidebarState=i}get filteredLinks(){return!this.filterable||!this.sidebarState.filter||this.text?.toLowerCase()?.match(this.sidebarState.sanitizedFilter)?this.links:this.links.filter(e=>e.text.toString().toLowerCase().match(this.sidebarState.sanitizedFilter)||e.keywords.navigation.some(e=>e.match(this.sidebarState.sanitizedFilter)))}static #e=(()=>dt7948.n(this.prototype,"filteredLinks",[d]))();get activeLink(){return this.filteredLinks.find(e=>{try{let i,s=e.currentWhen;if("boolean"==typeof s)return s;let n=e.query||{};if(i=e.model?[e.model]:e.models?e.models:[],"string"==typeof s)return s.split(" ").some(e=>t.isActive(e,...i,{queryParams:n}));return t.isActive(e.route,...i,{queryParams:n})}catch{return!1}})}get filtered(){return!this.filterable||this.filteredLinks?.length>0}}}(e,this.router))({filterable:!this.sidebarState.combinedMode&&this.sidebarState.currentPanel.filterable,sidebarState:this.sidebarState});return(0,n.setOwner)(t,(0,n.getOwner)(this)),t})}get filteredSections(){return this.sections.filter(e=>e.filtered)}static #n=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"HbXEFMtW",block:'[[[1,"\\n "],[8,[32,0],null,[["@sections"],[[30,0,["filteredSections"]]]],null],[1,"\\n\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["filteredSections"]]],null]],null],"name",[[[1," "],[8,[32,1],null,[["@section","@collapsable","@expandWhenActive","@scrollActiveLinkIntoView"],[[30,1],[30,2],[30,3],[30,4]]],null],[1,"\\n"]],[1]],null],[1," "]],["section","@collapsable","@expandActiveSection","@scrollActiveLinkIntoView"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/api-sections.js",scope:()=>[o.default,a.default],isStrictMode:!0}),this))()}},14466:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(85860),n=i(57364);class r extends s.default{get name(){return"invite"}get route(){return"new-invite"}get title(){return(0,n.i18n)("sidebar.sections.community.links.invite.title")}get text(){return(0,n.i18n)(`sidebar.sections.community.links.${this.overriddenName.toLowerCase()}.content`,{defaultValue:this.overriddenName})}get shouldDisplay(){return!!this.currentUser?.can_invite_to_forum}get defaultPrefixValue(){return"paper-plane"}}},14467:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(13744),n=i(23463);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();model(){return this.modelFor("user")}setupController(e,t){e.setProperties({model:t,newUsername:t.username}),e.set("loading",!0),t.loadSecondFactorCodes().then(t=>{t.error?e.set("errorMessage",t.error):t.unconfirmed_session?this.router.transitionTo("preferences.security"):e.setProperties({errorMessage:null,totps:t.totps,security_keys:t.security_keys})}).catch(e.popupAjaxError).finally(()=>e.set("loading",!1))}}},14493:(e,t,i)=>{"use strict";function s(e){if(!e)return;let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=window.innerHeight&&t.right<=window.innerWidth}i.r(t),i.d(t,{default:()=>s})},14609:(e,t,i)=>{"use strict";i.r(t);var s=i(18026),n=i(69853);(0,s.default)("discourse-common/helpers/base-path",()=>(0,n.A)(i(68628))),(0,s.default)("discourse-common/helpers/base-url",()=>(0,n.A)(i(7018))),(0,s.default)("discourse-common/helpers/bound-i18n",()=>(0,n.A)(i(56556))),(0,s.default)("discourse-common/helpers/component-for-collection",()=>(0,n.A)(i(38091))),(0,s.default)("discourse-common/helpers/component-for-row",()=>(0,n.A)(i(39651))),(0,s.default)("discourse-common/helpers/d-icon",()=>(0,n.A)(i(71773))),(0,s.default)("discourse-common/helpers/fa-icon",()=>(0,n.A)(i(49758))),(0,s.default)("discourse-common/helpers/get-url",()=>(0,n.A)(i(18965))),(0,s.default)("discourse-common/helpers/html-safe",()=>(0,n.A)(i(77462))),(0,s.default)("discourse-common/helpers/i18n-yes-no",()=>(0,n.A)(i(8521))),(0,s.default)("discourse-common/helpers/i18n",()=>(0,n.A)(i(55963))),(0,s.default)("discourse-common/lib/attribute-hook",()=>(0,n.A)(i(13945))),(0,s.default)("discourse-common/lib/avatar-utils",()=>(0,n.A)(i(80404))),(0,s.default)("discourse-common/lib/case-converter",()=>(0,n.A)(i(53888))),(0,s.default)("discourse-common/lib/debounce",()=>(0,n.A)(i(28206))),(0,s.default)("discourse-common/lib/deprecated",()=>(0,n.A)(i(43952))),(0,s.default)("discourse-common/lib/discourse-template-map",()=>(0,n.A)(i(32136))),(0,s.default)("discourse-common/lib/dom-from-string",()=>(0,n.A)(i(52518))),(0,s.default)("discourse-common/lib/escape",()=>(0,n.A)(i(22710))),(0,s.default)("discourse-common/lib/get-owner",()=>(0,n.A)(i(55751))),(0,s.default)("discourse-common/lib/get-url",()=>(0,n.A)(i(18965))),(0,s.default)("discourse-common/lib/helpers",()=>(0,n.A)(i(51852))),(0,s.default)("discourse-common/lib/icon-library",()=>(0,n.A)(i(60882))),(0,s.default)("discourse-common/lib/later",()=>(0,n.A)(i(99307))),(0,s.default)("discourse-common/lib/loader-shim",()=>(0,n.A)(i(18026))),(0,s.default)("discourse-common/lib/object",()=>(0,n.A)(i(8106))),(0,s.default)("discourse-common/lib/popular-themes",()=>(0,n.A)(i(11607))),(0,s.default)("discourse-common/lib/suffix-trie",()=>(0,n.A)(i(64905))),(0,s.default)("discourse-common/utils/decorator-alias",()=>(0,n.A)(i(35389))),(0,s.default)("discourse-common/utils/decorators",()=>(0,n.A)(i(6827))),(0,s.default)("discourse-common/utils/dom-utils",()=>(0,n.A)(i(29909))),(0,s.default)("discourse-common/utils/escape-regexp",()=>(0,n.A)(i(43822))),(0,s.default)("discourse-common/utils/extract-value",()=>(0,n.A)(i(44836))),(0,s.default)("discourse-common/utils/handle-descriptor",()=>(0,n.A)(i(96645))),(0,s.default)("discourse-common/utils/is-descriptor",()=>(0,n.A)(i(91939))),(0,s.default)("discourse-common/utils/macro-alias",()=>(0,n.A)(i(59928))),(0,s.default)("discourse-common/utils/multi-cache",()=>(0,n.A)(i(41775))),(0,s.default)("discourse-common/deprecation-workflow",()=>(0,n.A)(i(4245))),(0,s.default)("discourse-common/resolver",()=>(0,n.A)(i(90659))),(0,s.default)("discourse-common/config/environment",()=>(0,n.A)(i(99148)))},14635:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>M});var s=i(24698),n=i(40779),r=i(9348),a=i(4089),o=i(66530),l=i(13744),u=i(96675),d=i(58670),c=i(31567),p=i(78623),h=i(11811),m=i(76586),g=i(79401),f=i(79166),_=i(15294),y=i(46386),b=i(46566),w=i(86232),k=i(12079),T=i(57364),S=i(75515),C=i(12129),A=i(99539),D=i(55888);class M extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[l.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"site",[l.service]))();#s=(()=>void dt7948.i(this,"site"))();static #n=(()=>dt7948.g(this.prototype,"topicName",[n.tracked]))();#rV=(()=>void dt7948.i(this,"topicName"))();static #a=(()=>dt7948.g(this.prototype,"saving",[n.tracked],function(){return!1}))();#nI=(()=>void dt7948.i(this,"saving"))();static #l=(()=>dt7948.g(this.prototype,"categoryId",[n.tracked]))();#rW=(()=>void dt7948.i(this,"categoryId"))();static #d=(()=>dt7948.g(this.prototype,"tags",[n.tracked]))();#rK=(()=>void dt7948.i(this,"tags"))();static #p=(()=>dt7948.g(this.prototype,"participants",[n.tracked],function(){return[]}))();#rG=(()=>void dt7948.i(this,"participants"))();static #m=(()=>dt7948.g(this.prototype,"chronologicalOrder",[n.tracked],function(){return!1}))();#rJ=(()=>void dt7948.i(this,"chronologicalOrder"))();static #f=(()=>dt7948.g(this.prototype,"selection",[n.tracked],function(){return"new_topic"}))();#rQ=(()=>void dt7948.i(this,"selection"))();static #y=(()=>dt7948.g(this.prototype,"selectedTopic",[n.tracked]))();#rX=(()=>void dt7948.i(this,"selectedTopic"))();static #v=(()=>dt7948.g(this.prototype,"flash",[n.tracked]))();#nf=(()=>void dt7948.i(this,"flash"))();constructor(){super(...arguments),this.args.model.topic.isPrivateMessage?this.selection=this.canSplitToPM?"new_message":"existing_message":this.canSplitTopic||(this.selection="existing_topic")}get newTopic(){return"new_topic"===this.selection}get existingTopic(){return"existing_topic"===this.selection}get newMessage(){return"new_message"===this.selection}get existingMessage(){return"existing_message"===this.selection}get buttonDisabled(){return this.saving||(0,d.isEmpty)(this.selectedTopic)&&(0,d.isEmpty)(this.topicName)}get buttonTitle(){return this.newTopic?"topic.split_topic.title":this.existingTopic?"topic.merge_topic.title":this.newMessage?"topic.move_to_new_message.title":this.existingMessage?"topic.move_to_existing_message.title":"saving"}get canSplitTopic(){return!this.args.model.selectedAllPosts&&this.args.model.selectedPosts.length>0&&this.args.model.selectedPosts.sort((e,t)=>e.post_number-t.post_number)[0].post_type===this.site.get("post_types.regular")}get canSplitToPM(){return this.canSplitTopic&&this.currentUser?.admin}get canAddTags(){return this.site.can_create_tag}get canTagMessages(){return this.site.can_tag_pms}performMove(){this.newTopic?this.movePostsTo("newTopic"):this.existingTopic?this.movePostsTo("existingTopic"):this.newMessage?this.movePostsTo("newMessage"):this.existingMessage&&this.movePostsTo("existingMessage")}static #k=(()=>dt7948.n(this.prototype,"performMove",[o.action]))();async movePostsTo(e){let t,i;this.saving=!0,this.flash=null,"existingTopic"===e?(t={destination_topic_id:this.selectedTopic.id,chronological_order:this.chronologicalOrder},i={post_ids:this.args.model.selectedPostIds,...t}):"existingMessage"===e?(t={destination_topic_id:this.selectedTopic.id,participants:this.participants.join(","),archetype:"private_message",chronological_order:this.chronologicalOrder},i={post_ids:this.args.model.selectedPostIds,...t}):"newTopic"===e?(t={},i={title:this.topicName,post_ids:this.args.model.selectedPostIds,category_id:this.categoryId,tags:this.tags}):(t={},i={title:this.topicName,post_ids:this.args.model.selectedPostIds,tags:this.tags,archetype:"private_message"}),t=(0,b.applyValueTransformer)("move-to-topic-merge-options",t),i=(0,b.applyValueTransformer)("move-to-topic-move-options",i);try{let e;e=this.args.model.selectedAllPosts?await (0,k.mergeTopic)(this.args.model.topic.id,t):await (0,k.movePosts)(this.args.model.topic.id,i),this.args.closeModal(),this.args.model.toggleMultiSelect(),w.default.routeTo(e.url)}catch{this.flash=(0,T.i18n)("topic.move_to.error")}finally{this.saving=!1}}static #S=(()=>dt7948.n(this.prototype,"movePostsTo",[o.action]))();updateTopicName(e){this.topicName=e}static #A=(()=>dt7948.n(this.prototype,"updateTopicName",[o.action]))();updateCategoryId(e){this.categoryId=e}static #M=(()=>dt7948.n(this.prototype,"updateCategoryId",[o.action]))();updateTags(e){this.tags=e}static #E=(()=>dt7948.n(this.prototype,"updateTags",[o.action]))();newTopicSelected(e){this.selectedTopic=e}static #P=(()=>dt7948.n(this.prototype,"newTopicSelected",[o.action]))();static #I=(()=>(0,r.setComponentTemplate)((0,D.createTemplateFactory)({id:"WB2aPGRH",block:'[[[1,"\\n "],[8,[32,0],[[24,1,"choosing-topic"],[24,0,"choose-topic-modal"]],[["@title","@closeModal","@flash","@flashType"],[[28,[32,1],["topic.move_to.title"],null],[30,1],[30,0,["flash"]],"error"]],[["body","footer"],[[[[1,"\\n"],[41,[30,2,["topic","isPrivateMessage"]],[[[1," "],[10,0],[14,0,"radios"],[12],[1,"\\n"],[41,[30,0,["canSplitToPM"]],[[[1," "],[10,"label"],[14,0,"radio-label"],[14,"for","move-to-new-message"],[12],[1,"\\n "],[8,[32,2],[[24,1,"move-to-new-message"]],[["@name","@value","@selection"],["move-to-entity","new_message",[30,0,["selection"]]]],null],[1,"\\n "],[10,"b"],[12],[1,[28,[32,1],["topic.move_to_new_message.radio_label"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"label"],[14,0,"radio-label"],[14,"for","move-to-existing-message"],[12],[1,"\\n "],[8,[32,2],[[24,1,"move-to-existing-message"]],[["@name","@value","@selection"],["move-to-entity","existing_message",[30,0,["selection"]]]],null],[1,"\\n "],[10,"b"],[12],[1,[28,[32,1],["topic.move_to_existing_message.radio_label"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["canSplitTopic"]],[[[41,[30,0,["newMessage"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,1],["topic.move_to_new_message.instructions"],[["count"],[[30,2,["selectedPostsCount"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,"form"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["topic.move_to_new_message.message_title"],null]],[13],[1,"\\n "],[8,[32,4],[[24,1,"split-topic-name"]],[["@value","@placeholderKey"],[[30,0,["topicName"]],"composer.title_placeholder"]],null],[1,"\\n\\n"],[41,[30,0,["canTagMessages"]],[[[1," "],[10,"label"],[12],[1,[28,[32,1],["tagging.tags"],null]],[13],[1,"\\n "],[8,[32,5],null,[["@tags"],[[30,0,["tags"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,0,["existingMessage"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,1],["topic.move_to_existing_message.instructions"],[["count"],[[30,2,["selectedPostsCount"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,"form"],[12],[1,"\\n "],[8,[32,6],null,[["@currentTopicId","@setSelectedTopicId","@selectedTopicId"],[[30,2,["topic","id"]],[28,[32,7],[[28,[31,1],[[30,0,["selectedTopic"]]],null]],null],[30,0,["selectedTopic","id"]]]],null],[1,"\\n\\n "],[10,"label"],[12],[1,[28,[32,1],["topic.move_to_new_message.participants"],null]],[13],[1,"\\n "],[8,[32,8],[[24,0,"participant-selector"]],[["@value","@onChange"],[[30,0,["participants"]],[28,[32,7],[[28,[31,1],[[30,0,["participants"]]],null]],null]]],null],[1,"\\n\\n"],[41,[30,0,["selectedTopic"]],[[[1," "],[10,"hr"],[12],[13],[1,"\\n "],[10,"label"],[14,"for","chronological-order"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,9],[[24,1,"chronological-order"]],[["@type","@checked"],["checkbox",[30,0,["chronologicalOrder"]]]],null],[1,"\\n "],[1,[28,[32,1],["topic.merge_topic.chronological_order"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"radios"],[12],[1,"\\n"],[41,[30,0,["canSplitTopic"]],[[[1," "],[10,"label"],[14,0,"radio-label"],[14,"for","move-to-new-topic"],[12],[1,"\\n "],[8,[32,2],[[24,1,"move-to-new-topic"]],[["@name","@value","@selection"],["move-to-entity","new_topic",[30,0,["selection"]]]],null],[1,"\\n "],[10,"b"],[12],[1,[28,[32,1],["topic.split_topic.radio_label"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"label"],[14,0,"radio-label"],[14,"for","move-to-existing-topic"],[12],[1,"\\n "],[8,[32,2],[[24,1,"move-to-existing-topic"]],[["@name","@value","@selection"],["move-to-entity","existing_topic",[30,0,["selection"]]]],null],[1,"\\n "],[10,"b"],[12],[1,[28,[32,1],["topic.merge_topic.radio_label"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["canSplitToPM"]],[[[1," "],[10,"label"],[14,0,"radio-label"],[14,"for","move-to-new-message"],[12],[1,"\\n "],[8,[32,2],[[24,1,"move-to-new-message"]],[["@name","@value","@selection"],["move-to-entity","new_message",[30,0,["selection"]]]],null],[1,"\\n "],[10,"b"],[12],[1,[28,[32,1],["topic.move_to_new_message.radio_label"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,10],null,[["@name"],["move-to-topic-after-radio-buttons"]],null],[1,"\\n\\n"],[41,[30,0,["existingTopic"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,1],["topic.merge_topic.instructions"],[["count"],[[30,2,["selectedPostsCount"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,"form"],[12],[1,"\\n "],[8,[32,11],null,[["@topicChangedCallback","@currentTopicId","@selectedTopicId"],[[30,0,["newTopicSelected"]],[30,2,["topic","id"]],[30,0,["selectedTopic","id"]]]],null],[1,"\\n\\n"],[41,[30,0,["selectedTopic"]],[[[1," "],[10,"hr"],[12],[13],[1,"\\n "],[10,"label"],[14,"for","chronological-order"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,9],[[24,1,"chronological-order"]],[["@type","@checked"],["checkbox",[30,0,["chronologicalOrder"]]]],null],[1,"\\n "],[1,[28,[32,1],["topic.merge_topic.chronological_order"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["canSplitTopic"]],[[[41,[30,0,["newTopic"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,1],["topic.split_topic.instructions"],[["count"],[[30,2,["selectedPostsCount"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,"form"],[14,0,"split-new-topic-form"],[12],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["topic.split_topic.topic_name"],null]],[13],[1,"\\n "],[8,[32,4],[[24,1,"split-topic-name"]],[["@value","@placeholderKey"],[[30,0,["topicName"]],"composer.title_placeholder"]],null],[1,"\\n "],[8,[32,10],null,[["@name","@outletArgs"],["split-new-topic-title-after",[28,[32,12],null,[["selectedPosts","updateTopicName"],[[30,2,["selectedPosts"]],[30,0,["updateTopicName"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["categories.category"],null]],[13],[1,"\\n "],[8,[32,13],[[24,0,"small"]],[["@value","@onChange"],[[30,0,["categoryId"]],[28,[32,7],[[28,[31,1],[[30,0,["categoryId"]]],null]],null]]],null],[1,"\\n "],[8,[32,10],null,[["@name","@outletArgs"],["split-new-topic-category-after",[28,[32,12],null,[["selectedPosts","updateCategoryId"],[[30,2,["selectedPosts"]],[30,0,["updateCategoryId"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["canAddTags"]],[[[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["tagging.tags"],null]],[13],[1,"\\n "],[8,[32,5],null,[["@tags","@categoryId"],[[30,0,["tags"]],[30,0,["categoryId"]]]],null],[1,"\\n "],[8,[32,10],null,[["@name","@outletArgs"],["split-new-topic-tag-after",[28,[32,12],null,[["selectedPosts","updateTags","tags"],[[30,2,["selectedPosts"]],[30,0,["updateTags"]],[30,0,["tags"]]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,0,["canSplitTopic"]],[[[41,[30,0,["newMessage"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,1],["topic.move_to_new_message.instructions"],[["count"],[[30,2,["selectedPostsCount"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,"form"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["topic.move_to_new_message.message_title"],null]],[13],[1,"\\n "],[8,[32,4],[[24,1,"split-topic-name"]],[["@value","@placeholderKey"],[[30,0,["topicName"]],"composer.title_placeholder"]],null],[1,"\\n\\n"],[41,[30,0,["canTagMessages"]],[[[1," "],[10,"label"],[12],[1,[28,[32,1],["tagging.tags"],null]],[13],[1,"\\n "],[8,[32,5],null,[["@tags"],[[30,0,["tags"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null]],[]],null]],[]]],[1," "]],[]],[[[1,"\\n "],[8,[32,14],[[24,0,"btn-primary"]],[["@disabled","@action","@icon","@label"],[[30,0,["buttonDisabled"]],[30,0,["performMove"]],"right-from-bracket",[30,0,["buttonTitle"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,["if","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/move-to-topic.js",scope:()=>[m.default,T.i18n,f.default,u.htmlSafe,_.default,A.default,c.default,a.fn,C.default,r.Input,g.default,p.default,y.default,S.default,h.default],isStrictMode:!0}),this))()}},14661:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(60882),n=i(2263),r=i(34057);let a={};function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=document.createElement("canvas");i.width=e.width,i.height=e.height,i.getContext("2d").drawImage(e,0,0,e.width,e.height),i.setAttribute("aria-hidden","true"),i.setAttribute("role","presentation"),t.manualPause&&e.classList.add("manually-paused"),e.parentNode.classList.add("paused-animated-image"),e.parentNode.insertBefore(i,e)}function l(e){e.previousSibling&&"CANVAS"===e.previousSibling.nodeName&&e.previousSibling.remove(),e.parentNode.classList.remove("paused-animated-image")}function u(){return document.querySelectorAll(".topic-post img.animated:not(.manually-paused)")}let d={initialize(){(0,n.withPluginApi)(e=>{function t(e){let t=e.target;t&&!t.previousSibling?o(t,{manualPause:!0}):l(t)}e.decorateCookedElement(function(e,i){i&&e.querySelectorAll("img.animated:not(.onebox-avatar)").forEach(e=>{if(e.parentNode.querySelectorAll("img").length>1)return;a[e.src]&&(a[e.src].removeEventListener("click",t),a[e.src].removeEventListener("load",t),delete a[e.src]),a[e.src]=e,e.addEventListener("click",t,!1),(0,r.prefersReducedMotion)()&&e.addEventListener("load",t,!1);let i=document.createElement("div"),n=document.createElement("div");e.parentNode.insertBefore(i,e),i.classList.add("pausable-animated-image"),i.appendChild(e),n.classList.add("animated-image-overlay"),n.setAttribute("aria-hidden","true"),n.setAttribute("role","presentation"),n.innerHTML=`${(0,s.iconHTML)("pause")}${(0,s.iconHTML)("play")}`,i.appendChild(n)})},{onlyStream:!0}),e.cleanupStream(function(){Object.values(a||{}).forEach(e=>{e.removeEventListener("click",t),e.removeEventListener("load",t)}),a={}}),(0,r.prefersReducedMotion)()||(window.addEventListener("blur",this.blurEvent),window.addEventListener("focus",this.focusEvent))})},blurEvent(){u().forEach(e=>{1!==e.parentNode.querySelectorAll("img").length||e.previousSibling||o(e)})},focusEvent(){u().forEach(e=>{1===e.parentNode.querySelectorAll("img").length&&e.previousSibling&&l(e)})},teardown(){window.removeEventListener("blur",this.blurEvent),window.removeEventListener("focus",this.focusEvent)}}},14711:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(13744),n=i(20559),r=i(6827),a=i(72989);class o extends a.default{static #e=(()=>dt7948.g(this.prototype,"messageBus",[s.service]))();#iO=(()=>void dt7948.i(this,"messageBus"))();constructor(){super(...arguments),this.messageBus.subscribe("/refresh-sidebar-sections",this._refresh)}willDestroy(){super.willDestroy(...arguments),this.messageBus.unsubscribe("/refresh-sidebar-sections")}async _refresh(){let e=await (0,n.ajax)("/sidebar_sections.json",{});this.currentUser.set("sidebar_sections",e.sidebar_sections)}static #i=(()=>dt7948.n(this.prototype,"_refresh",[r.bind]))()}},14734:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(20559),n=i(65677),r=i(57364);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`)}}},14765:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698),n=i(58452),r=i(66530),a=i(11811),o=i(79401),l=i(22106),u=i(99314),d=i(57364),c=i(29218),p=i(9348),h=i(55888);class m extends s.default{click(e){(0,u.wantsNewWindow)(e)||(e.preventDefault(),this.args.toggleUserMenu(),"button"===e.target.tagName.toLowerCase()?e.target.blur():e.target.closest("button").blur())}static #e=(()=>dt7948.n(this.prototype,"click",[r.action]))();static #i=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"+C1nv4bB",block:'[[[1,"\\n "],[10,"li"],[14,1,"current-user"],[15,0,[28,[32,0],[[52,[30,1],"active"],"header-dropdown-toggle current-user user-menu-panel"],null]],[12],[1,"\\n "],[8,[32,1],null,[["@name"],["user-dropdown-button__before"]],null],[1,"\\n "],[8,[32,2],[[24,1,"toggle-current-user"],[24,0,"icon btn-flat"],[24,"aria-haspopup","true"],[16,"aria-expanded",[30,1]],[16,"aria-label",[28,[32,3],["user.avatar.header_title"],null]],[16,"title",[28,[32,3],["user.avatar.header_title"],null]],[4,[32,4],["click",[30,0,["click"]]],null]],null,[["default"],[[[[1,"\\n "],[8,[32,5],null,[["@active"],[[30,1]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[32,1],null,[["@name"],["user-dropdown-button__after"]],null],[1,"\\n "],[13],[1,"\\n "]],["@active"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/user-dropdown.js",scope:()=>[l.default,o.default,a.default,d.i18n,n.on,c.default],isStrictMode:!0}),this))()}},14784:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(66530),n=i(1848),r=i(48249),a=i.n(r),o=i(87107),l=i(86558);let u=dt7948.c(class extends o.default{init(){super.init(...arguments),this.triggerSearch()}didUpdateAttrs(){super.didUpdateAttrs(...arguments),this.set("templatesLoaded",!1),this.triggerSearch()}get content(){return this.templates}static #e=(()=>dt7948.n(this.prototype,"content",[(0,s.computed)("templates")]))();search(e){return this.get("templatesLoaded")?super.search(e):this._fetchTemplates()}async _fetchTemplates(){if(this.get("loadingTemplates"))return;this.set("templatesLoaded",!1),this.set("loadingTemplates",!0);let e=await a().findAll(),t=this._sortTemplatesByName(e);return this.filteredIds&&(t=t.filter(e=>this.filteredIds.includes(e.id))),0===t.length&&this.set("selectKit.options.disabled",!0),this.setProperties({templates:t,loadingTemplates:!1,templatesLoaded:!0}),this.templates}_sortTemplatesByName(e){return e.sort((e,t)=>e.name.localeCompare(t.name))}},[(0,l.pluginApiIdentifiers)("form-template-chooser"),(0,l.selectKitOptions)({none:"form_template_chooser.select_template"}),(0,n.classNames)("form-template-chooser")])},14845:(e,t,i)=>{"use strict";i.r(t),i.d(t,{hidePopover:()=>r,showPopover:()=>n});var s=i(43952);function n(){(0,s.default)("`showPopover` is deprecated. Use tooltip service instead.",{id:"discourse.show-popover"})}function r(){(0,s.default)("`hidePopover` is deprecated. Use tooltip service instead.",{id:"discourse.hide-popover"})}},14874:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>T});var s=i(9348),n=i(4089),r=i(66530),a=i(58295),o=i(13744),l=i(96675),u=i(58670),d=i(11811),c=i(44761),p=i(16906),h=i(15294),m=i(27090),g=i(6827),f=i(9021),_=i(34057),y=i(57364),b=i(12129),w=i(75348),k=i(55888);class T extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[o.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"isStaff",[(0,a.readOnly)("currentUser.staff")]))();#rZ=(()=>void dt7948.i(this,"isStaff"))();static #n=(()=>dt7948.g(this.prototype,"isAdmin",[(0,a.readOnly)("currentUser.admin")]))();#r1=(()=>void dt7948.i(this,"isAdmin"))();static #a=(()=>dt7948.g(this.prototype,"topicId",[(0,a.alias)("inviteModel.id")]))();#r0=(()=>void dt7948.i(this,"topicId"))();static #l=(()=>dt7948.g(this.prototype,"isPM",[(0,a.equal)("inviteModel.archetype","private_message")]))();#r3=(()=>void dt7948.i(this,"isPM"))();static #d=(()=>dt7948.g(this.prototype,"showApprovalMessage",[(0,a.and)("isStaff","siteSettings.must_approve_users")]))();#r2=(()=>void dt7948.i(this,"showApprovalMessage"))();static #p=(()=>dt7948.g(this.prototype,"isPrivateTopic",[(0,a.and)("invitingToTopic","inviteModel.category.read_restricted")]))();#r8=(()=>void dt7948.i(this,"isPrivateTopic"))();static #m=(()=>dt7948.g(this.prototype,"allowExistingMembers",[(0,a.alias)("invitingToTopic")]))();#r4=(()=>void dt7948.i(this,"allowExistingMembers"))();static #f=(()=>dt7948.g(this.prototype,"customMessagePlaceholder",[(0,m.computedI18n)("invite.custom_message_placeholder")]))();#r7=(()=>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,u.isEmpty)(t)||!i&&!(0,_.emailValid)(t)||!e&&s&&(0,_.emailValid)(t)||s&&(0,u.isEmpty)(n)&&(0,_.emailValid)(t))}static #y=(()=>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,u.isEmpty)(t)||!(0,_.emailValid)(t)||!e&&s&&(0,_.emailValid)(t)||s&&(0,u.isEmpty)(n)&&(0,_.emailValid)(t))}static #v=(()=>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 #k=(()=>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 #A=(()=>dt7948.n(this.prototype,"canInviteViaEmail",[(0,g.default)("inviteModel","inviteModel.details.can_invite_via_email")]))();showCopyInviteButton(e,t){return t&&!e}static #M=(()=>dt7948.n(this.prototype,"showCopyInviteButton",[(0,g.default)("isPM","canInviteViaEmail")]))();isGroupOwnerOrAdmin(e,t){return e||t&&t.some(e=>e.owner)}static #E=(()=>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 #P=(()=>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 #I=(()=>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,u.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 #O=(()=>dt7948.n(this.prototype,"inviteInstructions",[(0,g.default)("isPM","invitingToTopic","invitee","isPrivateTopic","isAdmin","canInviteViaEmail")]))();showGroupsClass(e){return e?"required":"optional"}static #R=(()=>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 #B=(()=>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 #Y=(()=>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 #$=(()=>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 #V=(()=>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 #K=(()=>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 #J=(()=>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 #X=(()=>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 #ee=(()=>dt7948.n(this.prototype,"updateInvitee",[r.action]))();static #ei=(()=>(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:()=>[l.htmlSafe,p.default,b.default,n.hash,h.default,d.default,y.i18n,w.default,n.fn,c.default,s.Textarea],isStrictMode:!0}),this))()}},14880:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(9348),n=i(66530),r=i(41993),a=i(13744),o=i(58670),l=i(1848),u=i(90831),d=i(11811),c=i(46111),p=i(6827),h=i(52443),m=i(57364),g=i(55888);let f=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();fileInputId=null;fileInputClass=null;fileInputDisabled=!1;acceptedFormatsOverride=null;allowMultiple=!1;showButton=!1;didInsertElement(){if(super.didInsertElement(...arguments),this.onFilesPicked){let e=this.element.querySelector("input");this.set("fileInput",e),e.addEventListener("change",this.onChange,!1)}}willDestroyElement(){super.willDestroyElement(...arguments),this.onFilesPicked&&this.fileInput.removeEventListener("change",this.onChange)}onChange(){let e=this.fileInput.files;this._filesPicked(e)}static #i=(()=>dt7948.n(this.prototype,"onChange",[p.bind]))();acceptsAllFormats(){return this.capabilities.isIOS||(0,h.authorizesAllExtensions)(this.currentUser.staff,this.siteSettings)}static #n=(()=>dt7948.n(this.prototype,"acceptsAllFormats",[(0,p.default)()]))();acceptedFormats(){return(0,o.isBlank)(this.acceptedFormatsOverride)?(0,h.authorizedExtensions)(this.currentUser.staff,this.siteSettings).map(e=>`.${e}`).join():this.acceptedFormatsOverride}static #a=(()=>dt7948.n(this.prototype,"acceptedFormats",[(0,p.default)()]))();openSystemFilePicker(){this.fileInput.click()}static #l=(()=>dt7948.n(this.prototype,"openSystemFilePicker",[n.action]))();_filesPicked(e){if(e&&e.length){if(!this._haveAcceptedTypes(e)){let e=(0,m.i18n)("pick_files_button.unsupported_file_picked",{types:this.acceptedFileTypesString});this.dialog.alert(e);return}"function"==typeof this.onFilesPicked&&this.onFilesPicked(e)}}_haveAcceptedTypes(e){for(let t of e)if(!this._hasAcceptedExtensionOrType(t))return!1;return!0}_hasAcceptedExtensionOrType(e){let t=this._fileExtension(e.name);return this.acceptedFormats.includes(`.${t}`)||this.acceptedFormats.includes(e.type)}_fileExtension(e){return e.split(".").pop()}static #d=(()=>(0,s.setComponentTemplate)((0,g.createTemplateFactory)({id:"aZs7c0pI",block:'[[[1,"\\n"],[41,[30,0,["showButton"]],[[[1," "],[8,[32,0],null,[["@action","@label","@icon"],[[30,0,["openSystemFilePicker"]],[30,0,["label"]],[30,0,["icon"]]]],null],[1,"\\n"]],[]],null],[41,[30,0,["acceptsAllFormats"]],[[[1," "],[11,"input"],[16,1,[30,0,["fileInputId"]]],[16,0,[30,0,["fileInputClass"]]],[16,"multiple",[30,0,["allowMultiple"]]],[16,"disabled",[30,0,["fileInputDisabled"]]],[24,4,"file"],[4,[32,1],[[28,[32,2],[[30,1],[28,[32,3],null,null]],null]],null],[12],[13],[1,"\\n"]],[]],[[[1," "],[11,"input"],[16,1,[30,0,["fileInputId"]]],[16,0,[30,0,["fileInputClass"]]],[16,"accept",[30,0,["acceptedFormats"]]],[16,"multiple",[30,0,["allowMultiple"]]],[16,"disabled",[30,0,["fileInputDisabled"]]],[24,4,"file"],[4,[32,1],[[28,[32,2],[[30,1],[28,[32,3],null,null]],null]],null],[12],[13],[1,"\\n"]],[]]],[1," "]],["@registerFileInput"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/pick-files-button.js",scope:()=>[d.default,r.default,u.or,c.default],isStrictMode:!0}),this))()},[(0,l.classNames)("pick-files-button")])},14997:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("lo",{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:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})})},15017:(e,t,i)=>{"use strict";i.r(t),i.d(t,{shaRegExp:()=>r,versionExtendedRegExp:()=>n,versionRegExp:()=>s});let s=/\d+[.]\d+[.]\d+/,n=/\d+[.]\d+[.]\d+-[a-z]*([.]\d+)?/,r=/[a-z\d]{8}$/},15022:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(24698);i(40779);var n=i(4089),r=i(96675),a=i(61243),o=i(23286),l=i(90831),u=i(58219),d=i(60986),c=i(72172),p=i(28206),h=i(6827),m=i(99148),g=i(9348),f=i(55888);let _=(0,i(69853).A)(i(40779)).cached,y=["flash","popup"];class b extends s.default{#r9=!1;get data(){let e,t=this.args.asyncData,i=this.args.context;if(!this.isDestroying&&!this.isDestroyed){if(t instanceof a.n)return t;if(this.#r5(t)?e=t:"function"==typeof t&&(e=this.#r9?new Promise((e,s)=>{(0,p.default)(this,this.#t6,t,i,e,s,this.#r9)}):this.#t6(t,i)),!this.#r5(e))throw Error("`` expects @asyncData to be an async function or a promise");return new a.n(e)}}static #e=(()=>dt7948.n(this.prototype,"data",[_]))();get errorMode(){return this.args.errorMode??"flash"}verifyParameters(e){let{hasErrorBlock:t}=e;if(t&&this.args.errorMode)throw'@errorMode cannot be used when a block named "error" is provided';if(this.errorMode&&!y.includes(this.errorMode))throw`@errorMode must be one of \`${y.join("`, `")}\``}static #i=(()=>dt7948.n(this.prototype,"verifyParameters",[h.bind]))();#r5(e){return e instanceof Promise||e instanceof o.Promise}#t6(e,t,i,s){return this.#r9=!0===this.args.debounce?m.INPUT_DELAY:this.args.debounce,i?e(t).then(i).catch(s):e(t)}static #n=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"GjmcTbWQ",block:'[[[1,"\\n "],[1,[28,[30,0,["verifyParameters"]],[[28,[32,0],null,[["hasErrorBlock"],[[48,[30,1]]]]]],null]],[1,"\\n"],[41,[30,0,["data","isPending"]],[[[41,[48,[30,2]],[[[1," "],[18,2,null],[1,"\\n"]],[]],[[[1," "],[8,[32,1],null,[["@condition"],[[30,0,["data","isPending"]]]],null],[1,"\\n"]],[]]]],[]],[[[41,[30,0,["data","isResolved"]],[[[41,[30,0,["data","value"]],[[[1," "],[18,3,[[30,0,["data","value"]]]],[1,"\\n"]],[]],[[[41,[48,[30,4]],[[[1," "],[18,4,null],[1,"\\n"]],[]],[[[1," "],[18,3,[[30,0,["data","value"]]]],[1,"\\n "]],[]]]],[]]]],[]],[[[41,[30,0,["data","isRejected"]],[[[41,[48,[30,1]],[[[1," "],[18,1,[[30,0,["data","error"]],[50,[32,2],0,null,[["error"],[[30,0,["data","error"]]]]]]],[1,"\\n"]],[]],[[[41,[28,[32,3],[[30,0,["errorMode"]],"flash"],null],[[[1," "],[8,[32,2],null,[["@error"],[[30,0,["data","error"]]]],null],[1,"\\n"]],[]],[[[41,[28,[32,3],[[30,0,["errorMode"]],"popup"],null],[[[1," "],[1,[28,[32,4],[[30,0,["data","error"]]],null]],[1,"\\n "]],[]],null]],[]]]],[]]],[1," "]],[]],null]],[]]]],[]]],[1," "]],["&error","&loading","&content","&empty"],false,["has-block","if","yield","component"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/async-content.js",scope:()=>[n.hash,u.default,w,l.eq,c.popupAjaxError],isStrictMode:!0}),this))()}class w extends s.default{get errorMessage(){let e=(0,c.extractErrorInfo)(this.args.error);return e.html?(0,r.htmlSafe)(e.message):e.message}static #e=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"bC4/ToqI",block:'[[[1,"\\n "],[8,[32,0],[[24,"role","alert"]],[["@flash","@type"],[[30,0,["errorMessage"]],"error"]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/async-content.js",scope:()=>[d.default],isStrictMode:!0}),this))()}},15036:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.R,onerrorDefault:()=>a});var s=i(93579),n=i(45916),r=i(53855);function a(e){let t=function(e){if(e)return e.errorThrown?function(e){let t=e.errorThrown;return"string"==typeof t&&(t=Error(t)),Object.defineProperty(t,"__reason_with_error_thrown__",{value:e,enumerable:!1}),t}(e):"UnrecognizedURLError"===e.name?void 0:"TransitionAborted"!==e.name?e:void 0}(e);if(t){let e=(0,r.getDispatchOverride)();if(e)e(t);else throw t}}i(23260),(0,s.c)("async",(e,t)=>{n._backburner.schedule("actions",null,e,t)}),(0,s.c)("after",e=>{n._backburner.schedule(n._rsvpErrorQueue,null,e)}),(0,s.o)("error",a)},15067:(e,t,i)=>{"use strict";i.r(t),i.d(t,{getScrollParent:()=>function e(t){let i=t instanceof HTMLElement&&window.getComputedStyle(t).overflowY;return t&&t!==document.documentElement?"visible"!==i&&"hidden"!==i&&t.scrollHeight>=t.clientHeight?t:e(t.parentNode)||window:null}})},15085:(e,t,i)=>{"use strict";i.d(t,{A:()=>function e(t,i){void 0===i&&(i=[]);var l,u=function e(t){return["html","body","#document"].indexOf((0,r.A)(t))>=0?t.ownerDocument.body:(0,a.sb)(t)&&(0,n.A)(t)?t:e((0,s.A)(t))}(t),d=u===(null==(l=t.ownerDocument)?void 0:l.body),c=(0,o.A)(u),p=d?[c].concat(c.visualViewport||[],(0,n.A)(u)?u:[]):u,h=i.concat(p);return d?h:h.concat(e((0,s.A)(p)))}});var s=i(86988),n=i(28411),r=i(57027),a=i(24808),o=i(60524)},15122:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});var s=function(){function e(){this._vertices=new n}return e.prototype.add=function(e,t,i,s){if(!e)throw Error("argument `key` is required");var n=this._vertices,r=n.add(e);if(r.val=t,i)if("string"==typeof i)n.addEdge(r,n.add(i));else for(var a=0;a0){var s="cycle detected: "+t;throw this.each(this.path,function(e){s+=" <- "+e}),Error(s)}}},e.prototype.reset=function(){this.stack.length=0,this.path.length=0,this.result.length=0;for(var e=0,t=this.length;e=0){var a=this[r];if(a.flag)continue;if(a.flag=!0,s.push(r),t===a.key)break;i.push(~r),this.pushIncoming(a)}else s.pop(),n.push(~r)}},e.prototype.pushIncoming=function(e){for(var t=this.stack,i=e.length-1;i>=0;i--){var s=e[i];this[s].flag||t.push(s)}},e.prototype.each=function(e,t){for(var i=0,s=e.length;i{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(67954),n=i(1848);let r=dt7948.c(class extends s.TextArea{},[(0,n.attributeBindings)("aria-label")])},15188:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CUSTOM_USER_SEARCH_OPTIONS:()=>p,default:()=>h});var s=i(66530),n=i(58670),r=i(1848),a=i(88740),o=i(56671),l=i.n(o),u=i(87107),d=i(86558),c=i(3953);let p=[],h=dt7948.c(class extends u.default{valueProperty="username";modifyComponentForRow(){return c.default}get content(){return(0,a.makeArray)(this.value).map(e=>this.defaultItem(e,e))}static #e=(()=>dt7948.n(this.prototype,"content",[(0,s.computed)("value.[]")]))();get excludedUsers(){let e=this.selectKit.options,t=(0,a.makeArray)(this.value);return this.currentUser&&e.excludeCurrentUser&&(t=t.concat([this.currentUser.username])),t.concat(e.excludedUsernames||[])}static #i=(()=>dt7948.n(this.prototype,"excludedUsers",[(0,s.computed)("value","currentUser","selectKit.options.{excludeCurrentUser,excludedUsernames}")]))();search(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";e=(e=e||"").replace(/^@/,"");let t=this.selectKit.options;if(""===e&&t?.customSearchOptions?.defaultSearchResults)return Promise.resolve(t.customSearchOptions.defaultSearchResults);let i=(0,o.skipSearch)(e,t.allowEmails),s=(0,o.eagerCompleteSearch)(e,t.topicId||t.categoryId);if(i||""===e&&!s)return;let r={};return t.customSearchOptions&&(0,n.isPresent)(p)&&(r=p.reduce((e,i)=>({...e,[i]:t.customSearchOptions[i]}),{})),l()({term:e,topicId:t.topicId,categoryId:t.categoryId,exclude:this.excludedUsers,includeGroups:t.includeGroups,allowedUsers:t.allowedUsers,includeMentionableGroups:t.includeMentionableGroups,includeMessageableGroups:t.includeMessageableGroups,groupMembersOf:t.groupMembersOf,allowEmails:t.allowEmails,includeStagedUsers:this.includeStagedUsers,customUserSearchOptions:r}).then(e=>{if("string"!=typeof e)return e})}},[(0,d.pluginApiIdentifiers)("user-chooser"),(0,d.selectKitOptions)({topicId:void 0,categoryId:void 0,includeGroups:!1,allowedUsers:!1,includeMentionableGroups:!1,includeMessageableGroups:!1,allowEmails:!1,groupMembersOf:void 0,excludeCurrentUser:!1,customSearchOptions:void 0,excludedUsernames:void 0}),(0,r.classNames)("user-chooser")])},15224:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(24698),n=i(71773),r=i(57364),a=i(9348),o=i(55888);class l extends s.default{get computedLabel(){return this.args.label?(0,r.i18n)(this.args.label):this.args.translatedLabel}static #e=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"Ch8X/gs6",block:'[[[1,"\\n "],[10,0],[14,0,"d-toggle-switch"],[12],[1,"\\n "],[10,"label"],[14,0,"d-toggle-switch__label"],[12],[1,"\\n "],[11,"button"],[24,0,"d-toggle-switch__checkbox"],[24,4,"button"],[24,"role","switch"],[16,"aria-checked",[52,[30,1],"true","false"]],[17,2],[12],[13],[1,"\\n\\n "],[10,1],[14,0,"d-toggle-switch__checkbox-slider"],[12],[1,"\\n"],[41,[30,1],[[[1," "],[1,[28,[32,0],["check"],null]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["computedLabel"]],[[[1," "],[10,1],[14,0,"d-toggle-switch__checkbox-label"],[12],[1,"\\n "],[1,[30,0,["computedLabel"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@state","&attrs"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-toggle-switch.js",scope:()=>[n.default],isStrictMode:!0}),this))()}},15294:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(67954),n=i(66530),r=i(45916),a=i(1848),o=i(28206),l=i(57364);let u=dt7948.c(class extends s.TextField{_prevValue=null;_timer=null;didReceiveAttrs(){super.didReceiveAttrs(...arguments),this._prevValue=this.value}didUpdateAttrs(){super.didUpdateAttrs(...arguments),this._prevValue!==this.value&&(this.onChangeImmediate&&(0,r.next)(()=>this.onChangeImmediate(this.value)),this.onChange&&((0,r.cancel)(this._timer),this._timer=(0,o.default)(this,this._debouncedChange,500)))}_debouncedChange(){(0,r.next)(()=>this.onChange(this.value))}get dir(){if(this.siteSettings.support_mixed_text_direction)return"auto"}willDestroyElement(){super.willDestroyElement(...arguments),(0,r.cancel)(this._timer)}get placeholder(){return this._placeholder?this._placeholder:this.placeholderKey?(0,l.i18n)(this.placeholderKey):""}static #e=(()=>dt7948.n(this.prototype,"placeholder",[(0,n.computed)("placeholderKey","_placeholder")]))();set placeholder(e){this.set("_placeholder",e)}},[(0,a.attributeBindings)("autocorrect","autocapitalize","autofocus","enterkeyhint","maxLength","dir","aria-label","aria-controls")])},15333:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(13744),n=i(65677),r=i(57364);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();controllerName="user-notifications";templateName="user/notifications-index";titleToken(){return(0,r.i18n)("user.filters.all")}afterModel(e){e||this.router.transitionTo("userNotifications.responses")}}},15471:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(9348),n=i(58452),r=i(66530),a=i(58295),o=i(45916),l=i(86726),u=i(1848),d=i(27090),c=i(6827),p=i(18965),h=i(86232),m=i(57364),g=i(55888);let f=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"newCategory",[(0,a.empty)("params.slug")]))();#r6=(()=>void dt7948.i(this,"newCategory"))();static #i=(()=>dt7948.g(this.prototype,"active",[(0,d.propertyEqual)("selectedTab","tab")]))();#ae=(()=>void dt7948.i(this,"active"))();tabClassName(e){return"edit-category-"+e}static #n=(()=>dt7948.n(this.prototype,"tabClassName",[(0,c.default)("tab")]))();title(e){return(0,m.i18n)(`category.${(0,l.underscore)(e)}`)}static #a=(()=>dt7948.n(this.prototype,"title",[(0,c.default)("tab")]))();didInsertElement(){super.didInsertElement(...arguments),(0,o.scheduleOnce)("afterRender",this,this._addToCollection)}willDestroyElement(){super.willDestroyElement(...arguments),this.setProperties({selectedTab:"general",params:{}})}_addToCollection(){this.panels.addObject(this.tabClassName)}fullSlug(e,t){let i=t&&e?`${t}/${e}`:e;return(0,p.default)(`/c/${i}/edit/${this.tab}`)}static #l=(()=>dt7948.n(this.prototype,"fullSlug",[(0,c.default)("params.slug","params.parentSlug")]))();select(e){e?.preventDefault(),this.set("selectedTab",this.tab),this.newCategory||h.default.routeTo(this.fullSlug)}static #d=(()=>dt7948.n(this.prototype,"select",[r.action]))();static #p=(()=>(0,s.setComponentTemplate)((0,g.createTemplateFactory)({id:"CxJujsbM",block:'[[[1,"\\n "],[11,3],[24,6,""],[16,0,[52,[30,0,["active"]],"active"]],[4,[32,0],["click",[30,0,["select"]]],null],[12],[1,[30,0,["title"]]],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/edit-category-tab.js",scope:()=>[n.on],isStrictMode:!0}),this))()},[(0,u.classNameBindings)("active","tabClassName"),(0,u.tagName)("li")])},15512:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(36768),n=i(45916);class r{constructor(e,t){this.widget=e,this.opts=t}init(){let e=document.createElement("div");e.classList.add("widget-connector");let{opts:t,widget:i}=this;return(0,n.next)(()=>{let n=i._findView();if(t.component){let r=(0,s.getOwner)(n).factoryFor("component:connector-container").create({layoutName:`components/${t.component}`,model:i.findAncestorModel()});n._connected.push(r),r.renderer.appendTo(r,e)}}),e}update(){}}r.prototype.type="Widget"},15601:(e,t,i)=>{"use strict";i.r(t),i.d(t,{_loaded:()=>o._loaded,default:()=>C,getOwner:()=>T,onLoad:()=>o.onLoad,runLoadHooks:()=>o.runLoadHooks,setOwner:()=>S});var s=i(36768);i(27322);var n=i(9247);i(8166);var r=i(87042);i(23260);var a=i(45916);i(49233),i(17633),i(4837),i(184),i(39665);var o=i(81722);i(98710),i(81904),i(50434),i(36819),i(90743),i(85333),i(99628),i(15036);var l=i(57078),u=i(40313);i(50557),i(18123),i(7145),i(8305),i(74479),i(21229),i(74910),i(63343);var d=i(6964),c=i(40084),p=i(19353),h=i(79765),m=i(52627);i(46224),i(82413);var g=i(93579);i(25192),i(16509),i(81845);var f=i(14387),_=i(56142),y=i(96595),b=i(54048);i(12023),i(56625);var w=i(20059);i(96131),i(16226);var k=i(65414);let T=s.getOwner,S=l.setOwner;class C extends y.default{static buildRegistry(e){let t=super.buildRegistry(e);return function(e){e.register("router:main",c.default),e.register("-view-registry:main",{create:()=>(0,n.m)(null)}),e.register("route:basic",d.default),e.register("event_dispatcher:main",u.default),e.register("location:hash",p.default),e.register("location:history",h.default),e.register("location:none",m.default),e.register((0,b.p)`-bucket-cache:main`,{create:()=>new f.default}),e.register("service:router",k.default)}(t),(0,w.a)(t),t}static initializer=(()=>(0,y.buildInitializerMethod)("initializers","initializer"))();static instanceInitializer=(()=>(0,y.buildInitializerMethod)("instanceInitializers","instance initializer"))();init(e){super.init(e),this.rootElement??="body",this._document??=null,this.eventDispatcher??=null,this.customEvents??=null,this.autoboot??=!0,this._document??=r.h?window.document:null,this._globalsMode??=!0,this._readinessDeferrals=1,this._booted=!1,this._applicationInstances=new Set,this.autoboot=this._globalsMode=!!this.autoboot,this._globalsMode&&this._prepareForGlobalsMode(),this.autoboot&&this.waitForDOMReady()}buildInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _.default.create({...e,base:this,application:this})}_watchInstance(e){this._applicationInstances.add(e)}_unwatchInstance(e){return this._applicationInstances.delete(e)}Router;_prepareForGlobalsMode(){this.Router=(this.Router||c.default).extend(),this._buildDeprecatedInstance()}__deprecatedInstance__;__container__;_buildDeprecatedInstance(){let e=this.buildInstance();this.__deprecatedInstance__=e,this.__container__=e.__container__}waitForDOMReady(){let e=this._document;if(null===e||"loading"!==e.readyState)(0,a.schedule)("actions",this,this.domReady);else{let t=()=>{e.removeEventListener("DOMContentLoaded",t),(0,a.run)(this,this.domReady)};e.addEventListener("DOMContentLoaded",t)}}domReady(){this.isDestroying||this.isDestroyed||this._bootSync()}deferReadiness(){this._readinessDeferrals++}advanceReadiness(){this._readinessDeferrals--,0===this._readinessDeferrals&&(0,a.once)(this,this.didBecomeReady)}_bootPromise=null;boot(){if(this._bootPromise)return this._bootPromise;try{this._bootSync()}catch(e){}return this._bootPromise}_bootResolver=null;_bootSync(){if(this._booted||this.isDestroying||this.isDestroyed)return;let e=this._bootResolver=g.R.defer();this._bootPromise=e.promise;try{this.runInitializers(),(0,o.runLoadHooks)("application",this),this.advanceReadiness()}catch(t){throw e.reject(t),t}}reset(){let e=this.__deprecatedInstance__;this._readinessDeferrals=1,this._bootPromise=null,this._bootResolver=null,this._booted=!1,(0,a.join)(this,function(){(0,a.run)(e,"destroy"),this._buildDeprecatedInstance(),(0,a.schedule)("actions",this,"_bootSync")})}didBecomeReady(){if(!this.isDestroying&&!this.isDestroyed)try{if(this.autoboot){let e;(e=this._globalsMode?this.__deprecatedInstance__:this.buildInstance())._bootSync(),this.ready(),e.startRouting()}this._bootResolver.resolve(this),this._booted=!0}catch(e){throw this._bootResolver.reject(e),e}}ready(){return this}willDestroy(){super.willDestroy(),o._loaded.application===this&&(o._loaded.application=void 0),this._applicationInstances.size&&(this._applicationInstances.forEach(e=>e.destroy()),this._applicationInstances.clear())}visit(e,t){return this.boot().then(()=>{let i=this.buildInstance();return i.boot(t).then(()=>i.visit(e)).catch(e=>{throw(0,a.run)(i,"destroy"),e})})}}},15749:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>eR});var s=i(24698),n=i(40779),r=i(66530),a=i(13177),o=i(45916),l=i(13744),u={isNothing:function(e){return null==e},isObject:function(e){return"object"==typeof e&&null!==e},repeat:function(e,t){var i,s="";for(i=0;io&&(t=s-o+(r=" ... ").length),i-s>o&&(i=s+o-(a=" ...").length),{str:r+e.slice(t,i).replace(/\t/g,"→")+a,pos:s-t+r.length}}function h(e,t){return u.repeat(" ",t-e.length)+e}var m=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var i=/\r?\n|\r|\0/g,s=[0],n=[],r=-1;a=i.exec(e.buffer);)n.push(a.index),s.push(a.index+a[0].length),e.position<=a.index&&r<0&&(r=s.length-2);r<0&&(r=s.length-1);var a,o,l,d="",c=Math.min(e.line+t.linesAfter,n.length).toString().length,m=t.maxLength-(t.indent+c+3);for(o=1;o<=t.linesBefore&&!(r-o<0);o++)l=p(e.buffer,s[r-o],n[r-o],e.position-(s[r]-s[r-o]),m),d=u.repeat(" ",t.indent)+h((e.line-o+1).toString(),c)+" | "+l.str+` `+d;for(l=p(e.buffer,s[r],n[r],e.position,m),d+=u.repeat(" ",t.indent)+h((e.line+1).toString(),c)+" | "+l.str+` `+u.repeat("-",t.indent+c+3+l.pos)+`^ `,o=1;o<=t.linesAfter&&!(r+o>=n.length);o++)l=p(e.buffer,s[r+o],n[r+o],e.position-(s[r]-s[r+o]),m),d+=u.repeat(" ",t.indent)+h((e.line+o+1).toString(),c)+" | "+l.str+` `;return d.replace(/\n$/,"")},g=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],f=["scalar","sequence","mapping"],_=function(e,t){if(Object.keys(t=t||{}).forEach(function(t){if(-1===g.indexOf(t))throw new c('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach(function(i){e[i].forEach(function(e){t[String(e)]=i})}),t}(t.styleAliases||null),-1===f.indexOf(this.kind))throw new c('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function y(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 b(e){return this.extend(e)}b.prototype.extend=function(e){var t=[],i=[];if(e instanceof _)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 c("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(e){if(!(e instanceof _))throw new c("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new c("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 c("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 _))throw new c("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var s=Object.create(b.prototype);return s.implicit=(this.implicit||[]).concat(t),s.explicit=(this.explicit||[]).concat(i),s.compiledImplicit=y(s,"implicit"),s.compiledExplicit=y(s,"explicit"),s.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=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),C=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),A=/^[-+]?[0-9]+e/,D=new _("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!!C.test(e)&&"_"!==e[e.length-1]},construct:function(e){var t,i;return(i="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t)?1===i?1/0:-1/0:".nan"===t?NaN:i*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||u.isNegativeZero(e))},represent:function(e,t){var i;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(u.isNegativeZero(e))return"-0.0";return i=e.toString(10),A.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"}),M=w.extend({implicit:[k,T,S,D]}),x=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),E=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]))?))?$"),L=new _("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==x.exec(e)||null!==E.exec(e))},construct:function(e){var t,i,s,n,r,a,o,l,u=0,d=null;if(null===(t=x.exec(e))&&(t=E.exec(e)),null===t)throw Error("Date resolve error");if(i=+t[1],s=t[2]-1,n=+t[3],!t[4])return new Date(Date.UTC(i,s,n));if(r=+t[4],a=+t[5],o=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+="0";u*=1}return t[9]&&(d=(60*t[10]+ +(t[11]||0))*6e4,"-"===t[9]&&(d=-d)),l=new Date(Date.UTC(i,s,n,r,a,o,u)),d&&l.setTime(l.getTime()-d),l},instanceOf:Date,represent:function(e){return e.toISOString()}}),P=new _("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),F=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= \r`,I=new _("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,i,s=0,n=e.length;for(i=0;i64)){if(t<0)return!1;s+=6}return s%8==0},construct:function(e){var t,i,s=e.replace(/[\r\n=]/g,""),n=s.length,r=0,a=[];for(t=0;t>16&255),a.push(r>>8&255),a.push(255&r)),r=r<<6|F.indexOf(s.charAt(t));return 0==(i=n%4*6)?(a.push(r>>16&255),a.push(r>>8&255),a.push(255&r)):18===i?(a.push(r>>10&255),a.push(r>>2&255)):12===i&&a.push(r>>4&255),new Uint8Array(a)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,i,s="",n=0,r=e.length;for(t=0;t>18&63],s+=F[n>>12&63],s+=F[n>>6&63],s+=F[63&n]),n=(n<<8)+e[t];return 0==(i=r%3)?(s+=F[n>>18&63],s+=F[n>>12&63],s+=F[n>>6&63],s+=F[63&n]):2===i?(s+=F[n>>10&63],s+=F[n>>4&63],s+=F[n<<2&63],s+=F[64]):1===i&&(s+=F[n>>2&63],s+=F[n<<4&63],s+=F[64],s+=F[64]),s}}),N=Object.prototype.hasOwnProperty,O=Object.prototype.toString,j=new _("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,i,s,n,r,a=[];for(t=0,i=e.length;t1&&(e.result+=u.repeat(` `,t-1))}function ef(e,t){var i,s,n=e.tag,r=e.anchor,a=[],o=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),s=e.input.charCodeAt(e.position);0!==s&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,ea(e,"tab characters must not be used in indentation")),45===s&&X(e.input.charCodeAt(e.position+1)));){if(o=!0,e.position++,eh(e,!0,-1)&&e.lineIndent<=t){a.push(null),s=e.input.charCodeAt(e.position);continue}if(i=e.line,e_(e,t,3,!1,!0),a.push(e.result),eh(e,!0,-1),s=e.input.charCodeAt(e.position),(e.line===i||e.lineIndent>t)&&0!==s)ea(e,"bad indentation of a sequence entry");else if(e.lineIndentt?g=1:e.lineIndent===t?g=0:e.lineIndentt?g=1:e.lineIndent===t?g=0:e.lineIndentt)&&(_&&(a=e.line,o=e.lineStart,l=e.position),e_(e,t,4,!0,n)&&(_?g=e.result:f=e.result),_||(ec(e,p,h,m,g,f,a,o,l),m=g=f=null),eh(e,!0,-1),u=e.input.charCodeAt(e.position)),(e.line===r||e.lineIndent>t)&&0!==u)ea(e,"bad indentation of a mapping entry");else if(e.lineIndent=0)0===n?ea(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?ea(e,"repeat of an indentation width identifier"):(d=t+n-1,l=!0);else break;if(Q(r)){do r=e.input.charCodeAt(++e.position);while(Q(r))if(35===r)do r=e.input.charCodeAt(++e.position);while(!J(r)&&0!==r)}for(;0!==r;){for(ep(e),e.lineIndent=0,r=e.input.charCodeAt(e.position);(!l||e.lineIndentd&&(d=e.lineIndent),J(r)){c++;continue}if(e.lineIndent0){for(n=a,r=0;n>0;n--)(a=function(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}(o=e.input.charCodeAt(++e.position)))>=0?r=(r<<4)+a:ea(e,"expected hexadecimal character");e.result+=function(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}(r),e.position++}else ea(e,"unknown escape sequence");i=s=e.position}else J(o)?(eu(e,i,s,!0),eg(e,eh(e,!1,t)),i=s=e.position):e.position===e.lineStart&&em(e)?ea(e,"unexpected end of the document within a double quoted scalar"):(e.position++,s=e.position);ea(e,"unexpected end of the stream within a double quoted scalar")}(e,h)?_=!0:!function(e){var t,i,s;if(42!==(s=e.input.charCodeAt(e.position)))return!1;for(s=e.input.charCodeAt(++e.position),t=e.position;0!==s&&!X(s)&&!Z(s);)s=e.input.charCodeAt(++e.position);return e.position===t&&ea(e,"name of an alias node must contain at least one character"),i=e.input.slice(t,e.position),q.call(e.anchorMap,i)||ea(e,'unidentified alias "'+i+'"'),e.result=e.anchorMap[i],eh(e,!0,-1),!0}(e)?function(e,t,i){var s,n,r,a,o,l,u,d,c=e.kind,p=e.result;if(X(d=e.input.charCodeAt(e.position))||Z(d)||35===d||38===d||42===d||33===d||124===d||62===d||39===d||34===d||37===d||64===d||96===d||(63===d||45===d)&&(X(s=e.input.charCodeAt(e.position+1))||i&&Z(s)))return!1;for(e.kind="scalar",e.result="",n=r=e.position,a=!1;0!==d;){if(58===d){if(X(s=e.input.charCodeAt(e.position+1))||i&&Z(s))break}else if(35===d){if(X(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&em(e)||i&&Z(d))break;else if(J(d)){if(o=e.line,l=e.lineStart,u=e.lineIndent,eh(e,!1,-1),e.lineIndent>=t){a=!0,d=e.input.charCodeAt(e.position);continue}e.position=r,e.line=o,e.lineStart=l,e.lineIndent=u;break}a&&(eu(e,n,r,!1),eg(e,e.line-o),n=r=e.position,a=!1),Q(d)||(r=e.position+1),d=e.input.charCodeAt(++e.position)}return eu(e,n,r,!1),!!e.result||(e.kind=c,e.result=p,!1)}(e,h,1===i)&&(_=!0,null===e.tag&&(e.tag="?")):(_=!0,(null!==e.tag||null!==e.anchor)&&ea(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===g&&(_=o&&ef(e,m))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&ea(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),l=0,d=e.implicitTypes.length;l"),null!==e.result&&p.kind!==e.kind&&ea(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):ea(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||_}function ey(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+=` `),65279===e.charCodeAt(0)&&(e=e.slice(1)));var i=new en(e,t),s=e.indexOf("\0");for(-1!==s&&(i.position=s,ea(i,"null byte is not allowed in input")),i.input+="\0";32===i.input.charCodeAt(i.position);)i.lineIndent+=1,i.position+=1;for(;i.position0)&&37===n);){for(a=!0,n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!X(n);)n=e.input.charCodeAt(++e.position);for(i=e.input.slice(t,e.position),s=[],i.length<1&&ea(e,"directive name must not be less than one character in length");0!==n;){for(;Q(n);)n=e.input.charCodeAt(++e.position);if(35===n){do n=e.input.charCodeAt(++e.position);while(0!==n&&!J(n))break}if(J(n))break;for(t=e.position;0!==n&&!X(n);)n=e.input.charCodeAt(++e.position);s.push(e.input.slice(t,e.position))}0!==n&&ep(e),q.call(el,i)?el[i](e,i,s):eo(e,'unknown document directive "'+i+'"')}if(eh(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,eh(e,!0,-1)):a&&ea(e,"directives end mark is expected"),e_(e,e.lineIndent-1,4,!1,!0),eh(e,!0,-1),e.checkLineBreaks&&z.test(e.input.slice(r,e.position))&&eo(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&em(e)){46===e.input.charCodeAt(e.position)&&(e.position+=3,eh(e,!0,-1));return}e.positiondt7948.g(this.prototype,"composer",[l.service]))();#t4=(()=>void dt7948.i(this,"composer"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[l.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"error",[n.tracked],function(){return null}))();#at=(()=>void dt7948.i(this,"error"))();static #a=(()=>dt7948.g(this.prototype,"parsedTemplate",[n.tracked],function(){return null}))();#ai=(()=>void dt7948.i(this,"parsedTemplate"))();initialValues=(()=>this.args.initialValues??{})();fieldTypes=(()=>({checkbox:eD.default,input:ex.default,dropdown:eM.default,"multi-select":eE.default,textarea:eP.default,"tag-chooser":eL.default,upload:eF.default}))();constructor(){super(...arguments),this.args.content?this._loadTemplate(this.args.content):this.args.id&&this._fetchTemplate(this.args.id),(0,o.next)(this,()=>{this.composer.set("allowPreview",this.siteSettings.show_preview_for_form_templates)})}_loadTemplate(e){try{this.parsedTemplate=eC.load(e),this.args.onSelectFormTemplate?.(this.parsedTemplate)}catch(e){this.error=e}}refreshTemplate(){if(!Array.isArray(this.args?.id)||this.args?.id.length!==0)return this._fetchTemplate(this.args.id)}static #l=(()=>dt7948.n(this.prototype,"refreshTemplate",[r.action]))();async _fetchTemplate(e){let t=await eA.default.findById(e),i=await t.form_template.template;return this._loadTemplate(i)}static #d=(()=>(0,eI.setComponentTemplate)((0,eN.createTemplateFactory)({id:"ol3/Wqlf",block:'[[[1,"\\n"],[41,[30,0,["parsedTemplate"]],[[[1," "],[11,0],[24,0,"form-template-form__wrapper"],[4,[32,0],[[30,0,["refreshTemplate"]],[30,1]],null],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["parsedTemplate"]]],null]],null],null,[[[1," "],[8,[32,1],null,[["@component","@content","@initialValue","@onChange"],[[28,[32,2],[[30,0,["fieldTypes"]],[30,2,["type"]]],null],[30,2],[28,[32,2],[[30,0,["initialValues"]],[30,2,["id"]]],null],[30,3]]],null],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n"]],[]],[[[41,[30,0,["error"]],[[[1," "],[10,0],[14,0,"alert alert-error"],[12],[1,"\\n "],[1,[30,0,["error"]]],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]],[1," "]],["@id","content","@onChange"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/form-template-field/wrapper.js",scope:()=>[a.default,ej,r.get],isStrictMode:!0}),this))()}},15769:(e,t,i)=>{"use strict";var s=i(27734);function n(e){if(!(this instanceof n))return new n(e);this.value=e}e.exports=n,n.prototype.hook=function(e,t){s(e)[t.substr(3)]=this.value},n.prototype.unhook=function(e,t){s(e)[t.substr(3)]=void 0}},15784:(e,t,i)=>{var s=i(12614),n=i(52048);e.exports=function(e){return"symbol"==typeof e||n(e)&&"[object Symbol]"==s(e)}},15796:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_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:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})})},15831:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(4089),n=i(36768),r=i(96675),a=i(90098),o=i(90831),l=i(88961),u=i(11811),d=i(15471),c=i(47210),p=i(9348),h=i(55888),m=i(74975);function g(e,t){return(0,n.getOwner)(e).resolveRegistration(`component:${t}`)}let f=(0,a.default)((0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"hse7ijY9",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","content_localization_enabled"]],[[[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:()=>[l.default,o.and,u.default,d.default,c.default,g,r.htmlSafe,o.not,s.fn],isStrictMode:!0}),(0,m.default)(void 0,void 0)))},15893:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(34260);let n=class extends(0,s.buildTagRoute)(){controllerName="tags-intersection"}},15894:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(71773),n=i(95511),r=i(9348),a=i(55888),o=i(74975);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"bDYCPaMz",block:'[[[1,"\\n"],[41,[30,1],[[[41,[30,2],[[[1," "],[8,[32,0],null,[["@key","@url","@title","@darkUrl"],["logo-small",[30,2],[30,3],[30,4]]],null],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,1],["house"],null]],[1,"\\n"]],[]]]],[]],[[[41,[30,5],[[[1," "],[8,[32,0],null,[["@key","@url","@title","@darkUrl"],["logo-mobile",[30,6],[30,3],[30,7]]],null],[1,"\\n"]],[]],[[[41,[30,8],[[[1," "],[8,[32,0],null,[["@key","@url","@title","@darkUrl"],["logo-big",[30,8],[30,3],[30,9]]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,1,"site-text-logo"],[14,0,"text-logo"],[12],[1,"\\n "],[1,[30,3]],[1,"\\n "],[13],[1,"\\n "]],[]]]],[]]]],[]]]],["@minimized","@logoSmallUrl","@title","@logoSmallUrlDark","@showMobileLogo","@mobileLogoUrl","@mobileLogoUrlDark","@logoUrl","@logoUrlDark"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/home-logo-contents.js",scope:()=>[n.default,s.default],isStrictMode:!0}),(0,o.default)(void 0,"home-logo-contents:HomeLogoContents"))},15924:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(49938),n=i(44769),r=i(6827);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]))()}}},15930:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>L});var s=i(11026),n=i(54447),r=i(29684),a=i(24079);function o(e,t){if(!({}).hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var l=0;function u(e){return"__private_"+l+++"_"+e}var d=u("aliveTimer"),c=u("isDone"),p=u("onTimedOut"),h=u("timeout");class m{constructor(e,t){Object.defineProperty(this,d,{writable:!0,value:void 0}),Object.defineProperty(this,c,{writable:!0,value:!1}),Object.defineProperty(this,p,{writable:!0,value:void 0}),Object.defineProperty(this,h,{writable:!0,value:void 0}),o(this,h)[h]=e,o(this,p)[p]=()=>t(e)}progress(){!o(this,c)[c]&&o(this,h)[h]>0&&(clearTimeout(o(this,d)[d]),o(this,d)[d]=setTimeout(o(this,p)[p],o(this,h)[h]))}done(){o(this,c)[c]||(clearTimeout(o(this,d)[d]),o(this,d)[d]=void 0,o(this,c)[c]=!0)}}let g=()=>{};var f=i(25530),_=i(25919);let y={strings:{uploadStalled:"Upload has not made any progress for %{seconds} seconds. You may want to retry it."}};function b(e,t){if(!({}).hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var w=0;function k(e){return"__private_"+w+++"_"+e}function T(e){return e.data.slice(0,e.data.size,e.meta.type)}let S={formData:!0,fieldName:"file",method:"post",allowedMetaFields:!0,bundle:!1,headers:{},timeout:3e4,limit:5,withCredentials:!1,responseType:""};var C=k("getFetcher"),A=k("uploadLocalFile"),D=k("uploadBundle"),M=k("getCompanionClientArgs"),x=k("uploadFiles"),E=k("handleUpload");class L extends s.A{constructor(e,t){if(super(e,{...S,fieldName:t.bundle?"files[]":"file",...t}),Object.defineProperty(this,x,{value:N}),Object.defineProperty(this,M,{value:I}),Object.defineProperty(this,D,{value:F}),Object.defineProperty(this,A,{value:P}),Object.defineProperty(this,C,{writable:!0,value:void 0}),Object.defineProperty(this,E,{writable:!0,value:async e=>{if(0===e.length)return void this.uppy.log("[XHRUpload] No files to upload!");0!==this.opts.limit||this.opts[r.$]||this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),this.uppy.log("[XHRUpload] Uploading...");let t=this.uppy.getFilesByIds(e),i=(0,f.Y)(t),s=(0,f.S)(i);if(this.uppy.emit("upload-start",s),this.opts.bundle){if(i.some(e=>e.isRemote))throw Error("Can’t upload remote files when the `bundle: true` option is set");if("function"==typeof this.opts.headers)throw TypeError("`headers` may not be a function when the `bundle: true` option is set");await b(this,D)[D](i)}else await b(this,x)[x](i)}}),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.defaultLocale=y,this.i18nInit(),r.$ in this.opts?this.requests=this.opts[r.$]:this.requests=new r.i(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw Error("`opts.formData` must be true when `opts.bundle` is enabled.");if(this.opts.bundle&&"function"==typeof this.opts.headers)throw Error("`opts.headers` can not be a function when the `bundle: true` option is set.");if((null==t?void 0:t.allowedMetaFields)===void 0&&"metaFields"in this.opts)throw Error("The `metaFields` option has been renamed to `allowedMetaFields`.");this.uploaderEvents=Object.create(null),b(this,C)[C]=e=>async(t,i)=>{try{var s,n,r;let o=await function(e,t){void 0===t&&(t={});let{body:i=null,headers:s={},method:n="GET",onBeforeRequest:r=g,onUploadProgress:o=g,shouldRetry:l=()=>!0,onAfterResponse:u=g,onTimeout:d=g,responseType:c,retries:p=3,signal:h=null,timeout:f=3e4,withCredentials:_=!1}=t,y=e=>.3*2**(e-1)*1e3,b=new m(f,d);return function t(d){return void 0===d&&(d=0),new Promise(async(m,g)=>{let f=new XMLHttpRequest;f.open(n,e,!0),f.withCredentials=_,c&&(f.responseType=c),null==h||h.addEventListener("abort",()=>{f.abort(),g(new DOMException("Aborted","AbortError"))}),f.onload=async()=>{await u(f,d),f.status>=200&&f.status<300?(b.done(),m(f)):l(f)&&d{t(d+1).then(m,g)},y(d)):(b.done(),g(new a.A(f.statusText,f)))},f.onerror=()=>{l(f)&&d{t(d+1).then(m,g)},y(d)):(b.done(),g(new a.A(f.statusText,f)))},f.upload.onprogress=e=>{b.progress(),o(e)},s&&Object.keys(s).forEach(e=>{f.setRequestHeader(e,s[e])}),await r(f,d),f.send(i)})}()}(t,{...i,onBeforeRequest:(t,i)=>{var s,n;return null==(s=(n=this.opts).onBeforeRequest)?void 0:s.call(n,t,i,e)},shouldRetry:this.opts.shouldRetry,onAfterResponse:this.opts.onAfterResponse,onTimeout:t=>{let i=Math.ceil(t/1e3),s=Error(this.i18n("uploadStalled",{seconds:i}));this.uppy.emit("upload-stalled",s,e)},onUploadProgress:t=>{if(t.lengthComputable)for(let s of e){var i;this.uppy.emit("upload-progress",s,{uploadStarted:null!=(i=s.progress.uploadStarted)?i:0,bytesUploaded:t.loaded/t.total*s.size,bytesTotal:s.size})}}}),l=await (null==(s=(n=this.opts).getResponseData)?void 0:s.call(n,o));try{null!=l||(l=JSON.parse(o.responseText))}catch(e){throw Error("@uppy/xhr-upload expects a JSON response (with a `url` property). To parse non-JSON responses, use `getResponseData` to turn your response into JSON.",{cause:e})}let u="string"==typeof(null==(r=l)?void 0:r.url)?l.url:void 0;for(let t of e)this.uppy.emit("upload-success",t,{status:o.status,body:l,uploadURL:u});return o}catch(t){if("AbortError"===t.name)return;if(t instanceof a.A){let i=t.request;for(let s of e)this.uppy.emit("upload-error",s,function(e,t){let i=t;return(i||(i=Error("Upload error")),"string"==typeof i&&(i=Error(i)),i instanceof Error||(i=Object.assign(Error("Upload error"),{data:i})),function(e){return!!e&&(0!==e.readyState&&4!==e.readyState||0===e.status)}(e))?i=new a.A(i,e):(i.request=e,i)}(i,t),i)}throw t}}}getOptions(e){let t=this.uppy.getState().xhrUpload,{headers:i}=this.opts,s={...this.opts,...t||{},...e.xhrUpload||{},headers:{}};return"function"==typeof i?s.headers=i(e):Object.assign(s.headers,this.opts.headers),t&&Object.assign(s.headers,t.headers),e.xhrUpload&&Object.assign(s.headers,e.xhrUpload.headers),s}addMetadata(e,t,i){(0,_.A)(i.allowedMetaFields,t).forEach(i=>{let s=t[i];Array.isArray(s)?s.forEach(t=>e.append(i,t)):e.append(i,s)})}createFormDataUpload(e,t){let i=new FormData;this.addMetadata(i,e.meta,t);let s=T(e);return e.name?i.append(t.fieldName,s,e.meta.name):i.append(t.fieldName,s),i}createBundledUpload(e,t){let i=new FormData,{meta:s}=this.uppy.getState();return this.addMetadata(i,s,t),e.forEach(e=>{let t=this.getOptions(e),s=T(e);e.name?i.append(t.fieldName,s,e.name):i.append(t.fieldName,s)}),i}install(){if(this.opts.bundle){let{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!1}})}this.uppy.addUploader(b(this,E)[E])}uninstall(){if(this.opts.bundle){let{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!0}})}this.uppy.removeUploader(b(this,E)[E])}}async function P(e){let t=new n.A(this.uppy),i=new AbortController,s=this.requests.wrapPromiseFunction(async()=>{let t=this.getOptions(e),s=b(this,C)[C]([e]),n=t.formData?this.createFormDataUpload(e,t):e.data;return s(t.endpoint,{...t,body:n,signal:i.signal})});t.onFileRemove(e.id,()=>i.abort()),t.onCancelAll(e.id,()=>{i.abort()});try{await s().abortOn(i.signal)}catch(e){if("Cancelled"!==e.message)throw e}finally{t.remove()}}async function F(e){let t=new AbortController,i=this.requests.wrapPromiseFunction(async()=>{var i;let s=null!=(i=this.uppy.getState().xhrUpload)?i:{},n=b(this,C)[C](e),r=this.createBundledUpload(e,{...this.opts,...s});return n(this.opts.endpoint,{...this.opts,body:r,signal:t.signal})});function s(){t.abort()}this.uppy.once("cancel-all",s);try{await i().abortOn(t.signal)}catch(e){if("Cancelled"!==e.message)throw e}finally{this.uppy.off("cancel-all",s)}}function I(e){var t;let i=this.getOptions(e),s=(0,_.A)(i.allowedMetaFields,e.meta);return{...null==(t=e.remote)?void 0:t.body,protocol:"multipart",endpoint:i.endpoint,size:e.data.size,fieldname:i.fieldName,metadata:Object.fromEntries(s.map(t=>[t,e.meta[t]])),httpMethod:i.method,useFormData:i.formData,headers:i.headers}}async function N(e){await Promise.allSettled(e.map(e=>{if(e.isRemote){let t=()=>this.requests,i=new AbortController,s=t=>{t.id===e.id&&i.abort()};this.uppy.on("file-removed",s);let n=this.uppy.getRequestClientForFile(e).uploadRemoteFile(e,b(this,M)[M](e),{signal:i.signal,getQueue:t});return this.requests.wrapSyncFunction(()=>{this.uppy.off("file-removed",s)},{priority:-1})(),n}return b(this,A)[A](e)}))}L.VERSION="4.2.1"},16017:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(85860),n=i(57364);class r extends s.default{get renameToGuidelines(){return this.siteSettings.experimental_rename_faq_to_guidelines&&!this.href}get name(){return this.renameToGuidelines?"guidelines":"faq"}get route(){return this.renameToGuidelines?"guidelines":"faq"}get href(){return this.siteSettings.faq_url}get title(){return this.renameToGuidelines?(0,n.i18n)("sidebar.sections.community.links.guidelines.title"):(0,n.i18n)("sidebar.sections.community.links.faq.title")}get text(){let e=this.renameToGuidelines?"Guidelines":this.overriddenName;return(0,n.i18n)(`sidebar.sections.community.links.${e.toLowerCase()}.content`,{defaultValue:e})}get defaultPrefixValue(){return"circle-question"}}},16062:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(84189),n=i(20559),r=i(93103),a=i(76118),o=i(42358),l=i(77525),u=i(57364);class d extends s.default{get dismissTypes(){return["bookmark_reminder"]}get showAllHref(){return`${this.currentUser.path}/activity/bookmarks`}get showAllTitle(){return(0,u.i18n)("user_menu.view_all_bookmarks")}get showDismiss(){return this.#as>0}get dismissTitle(){return(0,u.i18n)("user.dismiss_bookmarks_tooltip")}get itemsCacheKey(){return"user-menu-bookmarks-tab"}get emptyStateComponent(){return"user-menu/bookmarks-list-empty-state"}get #as(){let e=`grouped_unread_notifications.${this.site.notification_types.bookmark_reminder}`;return this.currentUser.get(e)||0}get dismissConfirmationText(){return(0,u.i18n)("notifications.dismiss_confirmation.body.bookmarks",{count:this.#as})}async fetchItems(){let e=await (0,n.ajax)(`/u/${this.currentUser.username}/user-menu-bookmarks`),t=[],i=e.notifications.map(e=>l.default.create(e));await l.default.applyTransformations(i),i.forEach(e=>{t.push(new a.default({notification:e,currentUser:this.currentUser,siteSettings:this.siteSettings,site:this.site}))});let s=e.bookmarks.map(e=>o.default.create(e));return await o.default.applyTransformations(s),t.push(...s.map(e=>new r.default({bookmark:e,siteSettings:this.siteSettings,site:this.site}))),t}}},16086:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(23463);class n extends s.default{}},16164:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){"use strict";function t(e,t,i){return"m"===i?t?"хвилина":"хвилину":"h"===i?t?"година":"годину":e+" "+function(e,t){var i=e.split("_");return t%10==1&&t%100!=11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}({ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[i],+e)}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}return e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var i={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?i.nominative.slice(1,7).concat(i.nominative.slice(0,1)):e?i[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:i.nominative},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:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,i){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})})},16190:(e,t,i)=>{var s=i(97833),n=/[\/\+\.]/;e.exports=function(e,t){function i(t){var i=s(t,e,n);return i&&i.length>=2}return t?i(t.split(";")[0]):i}},16191:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>M});var s=i(9348),n=i(4089),r=i(58452),a=i(66530),o=i(58295),l=i(13744),u=i(96675),d=i(58670),c=i(1848),p=i(11811),h=i(79401),m=i(15294),g=i(68628),f=i(62112),_=i(71773),y=i(87835),b=i(46386),w=i(38858),k=i(20559),T=i(72172),S=i(6827),C=i(57364),A=i(99539),D=i(55888);let M=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[l.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #i=(()=>dt7948.g(this.prototype,"router",[l.service]))();#tH=(()=>void dt7948.i(this,"router"))();loading=!1;tagInfo=null;newSynonyms=null;showEditControls=!1;editing=!1;newTagName=null;newTagDescription=null;static #n=(()=>dt7948.g(this.prototype,"canEditTags",[(0,o.reads)("currentUser.canEditTags")]))();#rj=(()=>void dt7948.i(this,"canEditTags"))();static #a=(()=>dt7948.g(this.prototype,"canAdminTag",[(0,o.reads)("currentUser.staff")]))();#an=(()=>void dt7948.i(this,"canAdminTag"))();static #l=(()=>dt7948.g(this.prototype,"editSynonymsMode",[(0,o.and)("canEditTags","showEditControls")]))();#ar=(()=>void dt7948.i(this,"editSynonymsMode"))();tagGroupsInfo(e){return(0,C.i18n)("tagging.tag_groups_info",{count:e.length,tag_groups:e.join(", ")})}static #d=(()=>dt7948.n(this.prototype,"tagGroupsInfo",[(0,S.default)("tagInfo.tag_group_names")]))();categoriesInfo(e){return(0,C.i18n)("tagging.category_restrictions",{count:e.length})}static #p=(()=>dt7948.n(this.prototype,"categoriesInfo",[(0,S.default)("tagInfo.categories")]))();nothingToShow(e,t,i){return(0,d.isEmpty)(e)&&(0,d.isEmpty)(t)&&(0,d.isEmpty)(i)}static #m=(()=>dt7948.n(this.prototype,"nothingToShow",[(0,S.default)("tagInfo.tag_group_names","tagInfo.categories","tagInfo.synonyms")]))();updateDisabled(e){let t=RegExp(this.site.tags_filter_regexp,"g");return 0===(e=e?e.replace(t,"").trim():"").length}static #f=(()=>dt7948.n(this.prototype,"updateDisabled",[(0,S.default)("newTagName")]))();didInsertElement(){super.didInsertElement(...arguments),this.loadTagInfo()}didUpdateAttrs(){super.didUpdateAttrs(...arguments),this.set("tagInfo",null),this.loadTagInfo()}loadTagInfo(){if(!this.loading)return this.set("loading",!0),this.store.find("tag-info",this.tag.id).then(e=>{this.set("tagInfo",e),this.set("tagInfo.synonyms",e.synonyms.map(e=>this.store.createRecord("tag",e)))}).finally(()=>this.set("loading",!1)).catch(T.popupAjaxError)}edit(e){e?.preventDefault(),this.tagInfo.set("descriptionWithNewLines",this.tagInfo.description?.replaceAll("
    ",` `)),this.setProperties({editing:!0,newTagName:this.tag.id,newTagDescription:this.tagInfo.description})}static #y=(()=>dt7948.n(this.prototype,"edit",[a.action]))();unlinkSynonym(e,t){t?.preventDefault(),(0,k.ajax)(`/tag/${this.tagInfo.name}/synonyms/${e.id}`,{type:"DELETE"}).then(()=>this.tagInfo.synonyms.removeObject(e)).catch(T.popupAjaxError)}static #v=(()=>dt7948.n(this.prototype,"unlinkSynonym",[a.action]))();deleteSynonym(e,t){t?.preventDefault(),this.dialog.yesNoConfirm({message:(0,C.i18n)("tagging.delete_synonym_confirm",{tag_name:e.text}),didConfirm:()=>e.destroyRecord().then(()=>this.tagInfo.synonyms.removeObject(e)).catch(T.popupAjaxError)})}static #k=(()=>dt7948.n(this.prototype,"deleteSynonym",[a.action]))();toggleEditControls(){this.toggleProperty("showEditControls")}static #S=(()=>dt7948.n(this.prototype,"toggleEditControls",[a.action]))();cancelEditing(){this.set("editing",!1)}static #A=(()=>dt7948.n(this.prototype,"cancelEditing",[a.action]))();finishedEditing(){let e=this.tag.id;this.newTagDescription=this.newTagDescription?.replaceAll(` `,"
    "),this.tag.update({id:this.newTagName,description:this.newTagDescription}).then(t=>{this.set("editing",!1),this.tagInfo.set("description",this.newTagDescription),t.responseJson.tag&&e!==t.responseJson.tag.id&&this.router.transitionTo("tag.show",t.responseJson.tag.id)}).catch(T.popupAjaxError)}static #M=(()=>dt7948.n(this.prototype,"finishedEditing",[a.action]))();deleteTag(){let e=this.get("list.topic_list.tags.firstObject.topic_count")||0,t=0===e?(0,C.i18n)("tagging.delete_confirm_no_topics"):(0,C.i18n)("tagging.delete_confirm",{count:e});this.tagInfo.synonyms.length>0&&(t+=" "+(0,C.i18n)("tagging.delete_confirm_synonyms",{count:this.tagInfo.synonyms.length})),this.dialog.deleteConfirm({message:t,didConfirm:async()=>{try{await this.tag.destroyRecord(),this.router.transitionTo("tags.index")}catch{this.dialog.alert((0,C.i18n)("generic_error"))}}})}static #E=(()=>dt7948.n(this.prototype,"deleteTag",[a.action]))();addSynonyms(){this.dialog.confirm({message:(0,u.htmlSafe)((0,C.i18n)("tagging.add_synonyms_explanation",{count:this.newSynonyms.length,tag_name:this.tagInfo.name})),didConfirm:()=>(0,k.ajax)(`/tag/${this.tagInfo.name}/synonyms`,{type:"POST",data:{synonyms:this.newSynonyms}}).then(e=>{e.success?(this.set("newSynonyms",null),this.loadTagInfo()):e.failed_tags?this.dialog.alert((0,C.i18n)("tagging.add_synonyms_failed",{tag_names:Object.keys(e.failed_tags).join(", ")})):this.dialog.alert((0,C.i18n)("generic_error"))}).catch(T.popupAjaxError)})}static #P=(()=>dt7948.n(this.prototype,"addSynonyms",[a.action]))();static #I=(()=>(0,s.setComponentTemplate)((0,D.createTemplateFactory)({id:"U/LfqYUF",block:'[[[1,"\\n "],[10,"section"],[14,0,"tag-info"],[12],[1,"\\n"],[41,[30,0,["tagInfo"]],[[[1," "],[10,0],[14,0,"tag-name"],[12],[1,"\\n"],[41,[30,0,["editing"]],[[[1," "],[10,0],[14,0,"edit-tag-wrapper"],[12],[1,"\\n "],[8,[32,0],null,[["@id","@value","@maxlength","@input","@autofocus"],["edit-name",[28,[31,1],[[30,0,["tagInfo","name"]]],null],[30,0,["siteSettings","max_tag_length"]],[28,[32,1],[[28,[32,2],[[28,[31,2],[[30,0,["newTagName"]]],null]],null]],null],"true"]],null],[1,"\\n\\n "],[8,[32,3],[[24,1,"edit-description"],[16,"placeholder",[28,[32,4],["tagging.description"],null]],[16,"maxlength",1000],[24,"autofocus","true"],[4,[32,5],["input",[28,[32,1],[[28,[32,2],[[28,[31,2],[[30,0,["newTagDescription"]]],null]],null]],null]],null]],[["@value"],[[28,[31,1],[[30,0,["tagInfo","descriptionWithNewLines"]]],null]]],null],[1,"\\n "],[10,0],[14,0,"edit-controls"],[12],[1,"\\n"],[41,[51,[30,0,["updateDisabled"]]],[[[1," "],[8,[32,6],[[24,0,"btn-primary submit-edit"]],[["@action","@icon","@ariaLabel"],[[30,0,["finishedEditing"]],"check","tagging.save"]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,6],[[24,0,"btn-default cancel-edit"]],[["@action","@icon","@ariaLabel"],[[30,0,["cancelEditing"]],"xmark","cancel"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"tag-name-wrapper"],[12],[1,"\\n "],[1,[28,[32,7],[[30,0,["tagInfo","name"]]],[["tagName"],["div"]]]],[1,"\\n"],[41,[30,0,["canEditTags"]],[[[1," "],[11,3],[24,6,""],[24,0,"edit-tag"],[16,"title",[28,[32,4],["tagging.edit_tag"],null]],[4,[32,5],["click",[30,0,["edit"]]],null],[12],[1,[28,[32,8],["pencil"],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"],[41,[30,0,["tagInfo","description"]],[[[1," "],[10,0],[14,0,"tag-description-wrapper"],[12],[1,"\\n "],[10,1],[12],[1,[28,[32,9],[[30,0,["tagInfo","description"]]],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]]],[1," "],[13],[1,"\\n "],[10,0],[14,0,"tag-associations"],[12],[41,[30,0,["tagInfo","tag_group_names"]],[[[1," "],[1,[30,0,["tagGroupsInfo"]]],[1,"\\n"]],[]],null],[41,[30,0,["tagInfo","categories"]],[[[1," "],[1,[30,0,["categoriesInfo"]]],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n"],[42,[28,[31,5],[[28,[31,5],[[30,0,["tagInfo","categories"]]],null]],null],null,[[[1," "],[1,[28,[32,10],[[30,1]],null]],[1,"\\n"]],[1]],null]],[]],null],[41,[30,0,["nothingToShow"]],[[[41,[30,0,["tagInfo","category_restricted"]],[[[1," "],[1,[28,[32,4],["tagging.category_restricted"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,9],[[28,[32,4],["tagging.default_info"],null]],null]],[1,"\\n"],[41,[30,0,["canAdminTag"]],[[[1," "],[1,[28,[32,9],[[28,[32,4],["tagging.staff_info"],[["basePath"],[[28,[32,11],null,null]]]]],null]],[1,"\\n"]],[]],null]],[]]]],[]],null],[13],[1,"\\n"],[41,[30,0,["tagInfo","synonyms"]],[[[1," "],[10,0],[14,0,"synonyms-list"],[12],[1,"\\n "],[10,"h3"],[12],[1,[28,[32,4],["tagging.synonyms"],null]],[13],[1,"\\n "],[10,0],[12],[1,[28,[32,9],[[28,[32,4],["tagging.synonyms_description"],[["base_tag_name"],[[30,0,["tagInfo","name"]]]]]],null]],[13],[1,"\\n "],[10,0],[14,0,"tag-list"],[12],[1,"\\n"],[42,[28,[31,5],[[28,[31,5],[[30,0,["tagInfo","synonyms"]]],null]],null],null,[[[1," "],[10,0],[14,0,"tag-box"],[12],[1,"\\n "],[1,[28,[32,7],[[30,2,["id"]]],[["pmOnly","tagName"],[[30,2,["pmOnly"]],"div"]]]],[1,"\\n"],[41,[30,0,["editSynonymsMode"]],[[[1," "],[11,3],[24,6,""],[24,0,"unlink-synonym"],[4,[32,5],["click",[28,[32,2],[[30,0,["unlinkSynonym"]],[30,2]],null]],null],[12],[1,"\\n "],[1,[28,[32,8],["link-slash"],[["title"],["tagging.remove_synonym"]]]],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["canAdminTag"]],[[[1," "],[11,3],[24,6,""],[24,0,"delete-synonym"],[4,[32,5],["click",[28,[32,2],[[30,0,["deleteSynonym"]],[30,2]],null]],null],[12],[1,"\\n "],[1,[28,[32,8],["trash-can"],[["title"],["tagging.delete_tag"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1," "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["editSynonymsMode"]],[[[1," "],[10,"section"],[14,0,"add-synonyms field"],[12],[1,"\\n "],[10,"label"],[14,"for","add-synonyms"],[12],[1,[28,[32,4],["tagging.add_synonyms_label"],null]],[13],[1,"\\n "],[10,0],[14,0,"add-synonyms__controls"],[12],[1,"\\n "],[8,[32,12],null,[["@id","@tags","@blockedTags","@everyTag","@excludeSynonyms","@excludeHasSynonyms","@unlimitedTagCount","@allowCreate"],["add-synonyms",[30,0,["newSynonyms"]],[28,[32,13],[[30,0,["tagInfo","name"]]],null],true,true,true,true,true]],null],[1,"\\n"],[41,[30,0,["newSynonyms"]],[[[1," "],[8,[32,6],[[24,0,"ok"]],[["@action","@disabled","@icon"],[[30,0,["addSynonyms"]],[30,0,["addSynonymsDisabled"]],"check"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["canEditTags"]],[[[1," "],[8,[32,14],null,[["@name","@outletArgs","@connectorTagName"],["tag-custom-settings",[28,[32,15],null,[["tag"],[[30,0,["tagInfo"]]]]],"section"]],null],[1,"\\n\\n "],[10,0],[14,0,"tag-actions"],[12],[1,"\\n "],[8,[32,6],[[24,1,"edit-synonyms"],[24,0,"btn-default"]],[["@action","@icon","@label"],[[30,0,["toggleEditControls"]],"gear","tagging.edit_synonyms"]],null],[1,"\\n"],[41,[30,0,["canAdminTag"]],[[[1," "],[8,[32,6],[[24,1,"delete-tag"],[24,0,"btn-danger delete-tag"]],[["@action","@icon","@label"],[[30,0,["deleteTag"]],"trash-can","tagging.delete_tag"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null]],[]],null],[41,[30,0,["loading"]],[[[1," "],[10,0],[12],[1,[28,[32,4],["loading"],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["category","tag"],false,["if","readonly","mut","unless","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/tag-info.js",scope:()=>[m.default,w.default,n.fn,s.Textarea,C.i18n,r.on,p.default,y.default,_.default,u.htmlSafe,f.default,g.default,A.default,n.array,h.default,b.default],isStrictMode:!0}),this))()},[(0,c.tagName)("")])},16209:function(e,t,i){!function(e,t){t(i(4387))}(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}})})},16222:(e,t,i)=>{var s=i(18247),n=i(53637);for(var r in(t=e.exports=function(e,t){return new n(t).process(e)}).FilterCSS=n,s)t[r]=s[r];"undefined"!=typeof window&&(window.filterCSS=e.exports)},16226:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{FALSE_REFERENCE:()=>h,NULL_REFERENCE:()=>c,REFERENCE:()=>o,TRUE_REFERENCE:()=>p,UNDEFINED_REFERENCE:()=>d,childRefFor:()=>C,childRefFromParts:()=>A,createComputeRef:()=>f,createConstRef:()=>m,createDebugAliasRef:()=>s,createInvokableRef:()=>b,createIteratorItemRef:()=>N,createIteratorRef:()=>I,createPrimitiveRef:()=>u,createReadOnlyRef:()=>_,createUnboundRef:()=>g,isConstRef:()=>w,isInvokableRef:()=>y,isUpdatableRef:()=>k,updateRef:()=>S,valueForRef:()=>T});var n=i(99652),r=i(77597),a=i(4837);let o=Symbol("REFERENCE");class l{[o];tag=null;lastRevision=(()=>a.INITIAL)();lastValue;children=null;compute=null;update=null;debugLabel;constructor(e){this[o]=e}}function u(e){let t=new l(2);return t.tag=a.CONSTANT_TAG,t.lastValue=e,t}let d=u(void 0),c=u(null),p=u(!0),h=u(!1);function m(e,t){let i=new l(0);return i.lastValue=e,i.tag=a.CONSTANT_TAG,i}function g(e,t){let i=new l(2);return i.lastValue=e,i.tag=a.CONSTANT_TAG,i}function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;arguments.length>2&&void 0!==arguments[2]&&arguments[2];let i=new l(1);return i.compute=e,i.update=t,i}function _(e){return k(e)?f(()=>T(e),null,e.debugLabel):e}function y(e){return 3===e[o]}function b(e){let t=f(()=>T(e),t=>S(e,t));return t.debugLabel=e.debugLabel,t[o]=3,t}function w(e){return e.tag===a.CONSTANT_TAG}function k(e){return null!==e.update}function T(e){let t,{tag:i}=e;if(i===a.CONSTANT_TAG)return e.lastValue;let{lastRevision:s}=e;if(null!==i&&(0,a.validateTag)(i,s))t=e.lastValue;else{let{compute:s}=e,n=(0,a.track)(()=>{t=e.lastValue=s()},!1);i=e.tag=n,e.lastRevision=(0,a.valueForTag)(n)}return(0,a.consumeTag)(i),t}function S(e,t){(0,r.expect)(e.update,"called update on a non-updatable reference")(t)}function C(e,t){let i=e[o],s,a=e.children;if(null===a)a=e.children=new Map;else if(void 0!==(s=a.get(t)))return s;if(2===i){let i=T(e);s=(0,r.isDict)(i)?g(i[t],!1):d}else s=f(()=>{let i=T(e);if((0,r.isDict)(i))return(0,n.getProp)(i,t)},i=>{let s=T(e);if((0,r.isDict)(s))return(0,n.setProp)(s,t,i)});return a.set(t,s),s}function A(e,t){let i=e;for(let e of t)i=C(i,e);return i}let D={},M=(e,t)=>t,x=(e,t)=>String(t),E=e=>null===e?D:e;class L{_weakMap;_primitiveMap;get weakMap(){return void 0===this._weakMap&&(this._weakMap=new WeakMap),this._weakMap}get primitiveMap(){return void 0===this._primitiveMap&&(this._primitiveMap=new Map),this._primitiveMap}set(e,t){(0,r.isObject)(e)?this.weakMap.set(e,t):this.primitiveMap.set(e,t)}get(e){return(0,r.isObject)(e)?this.weakMap.get(e):this.primitiveMap.get(e)}}let P=new L;function F(e){let t=new L;return(i,s)=>{let n=e(i,s),r=t.get(n)||0;return t.set(n,r+1),0===r?n:function(e,t){let i=P.get(e);void 0===i&&(i=[],P.set(e,i));let s=i[t];return void 0===s&&(s={value:e,count:t},i[t]=s),s}(n,r)}}function I(e,t){return f(()=>{let i=T(e),s=function(e){switch(e){case"@key":return F(M);case"@index":return F(x);case"@identity":return F(E);default:return function(e){return F(t=>(0,n.getPath)(t,e))}(e)}}(t);if(Array.isArray(i))return new j(i,s);let a=(0,n.toIterator)(i);return null===a?new j(r.EMPTY_ARRAY,()=>null):new O(a,s)})}function N(e){let t=e,i=(0,a.createTag)();return f(()=>((0,a.consumeTag)(i),t),e=>{t!==e&&(t=e,(0,a.dirtyTag)(i))})}class O{constructor(e,t){this.inner=e,this.keyFor=t}isEmpty(){return this.inner.isEmpty()}next(){let e=this.inner.next();return null!==e&&(e.key=this.keyFor(e.value,e.memo)),e}}class j{current;pos=0;constructor(e,t){this.iterator=e,this.keyFor=t,0===e.length?this.current={kind:"empty"}:this.current={kind:"first",value:e[this.pos]}}isEmpty(){return"empty"===this.current.kind}next(){let e,t=this.current;if("first"===t.kind)this.current={kind:"progress"},e=t.value;else{if(this.pos>=this.iterator.length-1)return null;e=this.iterator[++this.pos]}let{keyFor:i}=this;return{key:i(e,this.pos),value:e,memo:this.pos}}}},16252:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(6827),n=i(51852);class r{#aa;#ao;#G;#al;#au;#ad;#ac;#ap;constructor(e){let{key:t,Component:i,apiAdded:s,hidden:n,owner:r,position:a,replacementMap:o,showLabel:l}=e;this.#aa=i,this.#ao=s,this.#G=n,this.#al=t,this.#au=r,this.#ad=a,this.#ac=o,this.#ap=l}get Component(){return this.#aa}get apiAdded(){return this.#ao}hidden(e){return this.#G??this.#ah({property:"hidden",args:e,defaultValue:null})}static #e=(()=>dt7948.n(this.prototype,"hidden",[s.bind]))();delegateShouldRenderToTemplate(e){return this.#ah({property:"delegateShouldRenderToTemplate",args:e,defaultValue:!1})}static #i=(()=>dt7948.n(this.prototype,"delegateShouldRenderToTemplate",[s.bind]))();extraControls(e){return this.#ah({property:"extraControls",args:e,defaultValue:!1})}static #n=(()=>dt7948.n(this.prototype,"extraControls",[s.bind]))();get key(){return this.#al}get position(){return this.#ad}setShowLabel(e){this.#ap=e}static #a=(()=>dt7948.n(this.prototype,"setShowLabel",[s.bind]))();shouldRender(e){return this.#ah({property:"shouldRender",args:e,defaultValue:!0})}static #l=(()=>dt7948.n(this.prototype,"shouldRender",[s.bind]))();showLabel(e){return this.#ap??this.#ah({property:"showLabel",args:e,defaultValue:null})}static #d=(()=>dt7948.n(this.prototype,"showLabel",[s.bind]))();#ah(e){let{klass:t=this.#aa,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.#ah({klass:this.#ac.get(t)||null,property:i,args:s,defaultValue:r},a.add(t)):"function"==typeof t[i]?t[i](s,(0,n.helperContext)(),this.#au):t[i]}}},16265:(e,t,i)=>{"use strict";i.r(t),i.d(t,{wavingHandURL:()=>a});var s=i(18965),n=i(51852),r=i(52716);function a(){let e=(0,n.helperContext)().siteSettings.emoji_set,t=Math.floor(5*Math.random()+2);return(0,s.default)(`${(0,r.emojiBasePath)()}/${e}/wave/${t}.png`)}},16300:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(9348),n=i(58295),r=i(1848),a=i(71773),o=i(27090),l=i(55888);let u=dt7948.c(class extends s.default{role="button";tabIndex=0;static #e=(()=>dt7948.g(this.prototype,"ariaPressed",[(0,n.reads)("active")]))();#am=(()=>void dt7948.i(this,"ariaPressed"))();static #i=(()=>dt7948.g(this.prototype,"active",[(0,o.propertyEqual)("activeTile","tileId")]))();#ae=(()=>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 #n=(()=>(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")])},16340:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n}),i(66530),i(49233),i(27322),i(23260),i(17633),i(4837),i(184);var s=i(39665);function n(e){let t=e.__container__.lookup("service:-routing");return(0,s.g)(t,"currentPath")}i(8166),i(46224),i(82413),i(93579),i(25192),i(16509),i(81845)},16408:(e,t,i)=>{"use strict";i.r(t),i.d(t,{I:()=>d,R:()=>T,T:()=>y,a:()=>b});var s=i(82413),n=i(93579),r=i(25192);let a=new WeakMap;function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{includeAttributes:!1,localizeMapUpdates:!1},s=new WeakMap;return e.map((n,r)=>{let{name:o,params:d,paramNames:c,context:p,route:h}=n;if(a.has(n)&&i.includeAttributes){let e=a.get(n),t=l(e=function(e,t){let i={get metadata(){return u(e)}};return!Object.isExtensible(t)||t.hasOwnProperty("metadata")?Object.freeze(Object.assign({},t,i)):Object.assign(t,i)}(h,e),p);return s.set(n,e),i.localizeMapUpdates||a.set(n,t),t}let m=i.localizeMapUpdates?s:a,g={find(t,i){let s,n=[];3===t.length&&(n=e.map(e=>m.get(e)));for(let r=0;e.length>r;r++)if(s=m.get(e[r]),t.call(i,s,r,n))return s},get name(){return o},get paramNames(){return c},get metadata(){return u(n.route)},get parent(){let t=e[r-1];if(void 0===t)return null;return m.get(t)},get child(){let t=e[r+1];if(void 0===t)return null;return m.get(t)},get localName(){let e=this.name.split(".");return e[e.length-1]},get params(){return d},get queryParams(){return t}};return i.includeAttributes&&(g=l(g,p)),s.set(n,g),i.localizeMapUpdates||a.set(n,g),g})}function l(e,t){let i={get attributes(){return t}};return!Object.isExtensible(e)||e.hasOwnProperty("attributes")?Object.freeze(Object.assign({},e,i)):Object.assign(e,i)}function u(e){return null!=e&&void 0!==e.buildRouteInfoMetadata?e.buildRouteInfoMetadata():null}class d{constructor(e,t,i,s){this._routePromise=void 0,this._route=null,this.params={},this.isResolved=!1,this.name=t,this.paramNames=i,this.router=e,s&&this._processRoute(s)}getModel(e){return n.P.resolve(this.context)}serialize(e){return this.params||{}}resolve(e){return n.P.resolve(this.routePromise).then(t=>((0,r.t)(e),t)).then(()=>this.runBeforeModelHook(e)).then(()=>(0,r.t)(e)).then(()=>this.getModel(e)).then(t=>((0,r.t)(e),t)).then(t=>this.runAfterModelHook(e,t)).then(t=>this.becomeResolved(e,t))}becomeResolved(e,t){let i,s=this.serialize(t);e&&(this.stashResolvedModel(e,t),e[r.P]=e[r.P]||{},e[r.P][this.name]=s);let n=t===this.context;("context"in this||!n)&&(i=t);let o=a.get(this),l=new c(this.router,this.name,this.paramNames,s,this.route,i);return void 0!==o&&a.set(l,o),l}shouldSupersede(e){if(!e)return!0;let t=e.context===this.context;return e.name!==this.name||"context"in this&&!t||this.hasOwnProperty("params")&&!function(e,t){if(e===t)return!0;if(!e||!t)return!1;for(let i in e)if(e.hasOwnProperty(i)&&e[i]!==t[i])return!1;return!0}(this.params,e.params)}get route(){return null!==this._route?this._route:this.fetchRoute()}set route(e){this._route=e}get routePromise(){return this._routePromise||this.fetchRoute(),this._routePromise}set routePromise(e){this._routePromise=e}log(e,t){e.log&&e.log(this.name+": "+t)}updateRoute(e){return e._internalName=this.name,this.route=e}runBeforeModelHook(e){let t;return e.trigger&&e.trigger(!0,"willResolveModel",e,this.route),this.route&&void 0!==this.route.beforeModel&&(t=this.route.beforeModel(e)),(0,r.i)(t)&&(t=null),n.P.resolve(t)}runAfterModelHook(e,t){let i,s=this.name;return this.stashResolvedModel(e,t),void 0!==this.route&&void 0!==this.route.afterModel&&(i=this.route.afterModel(t,e)),i=(0,r.p)(i),n.P.resolve(i).then(()=>e.resolvedModels[s])}stashResolvedModel(e,t){e.resolvedModels=e.resolvedModels||{},e.resolvedModels[this.name]=t}fetchRoute(){let e=this.router.getRoute(this.name);return this._processRoute(e)}_processRoute(e){return(this.routePromise=n.P.resolve(e),(0,r.a)(e))?(this.routePromise=this.routePromise.then(e=>this.updateRoute(e)),this.route=void 0):e?this.updateRoute(e):void 0}}class c extends d{constructor(e,t,i,s,n,r){super(e,t,i,n),this.params=s,this.isResolved=!0,this.context=r}resolve(e){return e&&e.resolvedModels&&(e.resolvedModels[this.name]=this.context),n.P.resolve(this)}}class p extends d{constructor(e,t,i,s,n){super(e,t,i,n),this.params={},s&&(this.params=s)}getModel(e){let t,i=this.params;e&&e[r.Q]&&(i={},(0,r.m)(i,this.params),i.queryParams=e[r.Q]);let s=this.route;return s.deserialize?t=s.deserialize(i,e):s.model&&(t=s.model(i,e)),t&&(0,r.i)(t)&&(t=void 0),n.P.resolve(t)}}class h extends d{constructor(e,t,i,s){super(e,t,i),this.context=s,this.serializer=this.router.getSerializer(t)}getModel(e){return void 0!==this.router.log&&this.router.log(this.name+": resolving provided model"),super.getModel(e)}serialize(e){let{paramNames:t,context:i}=this;e||(e=i);let s={};if((0,r.b)(e))return s[t[0]]=e,s;if(this.serializer)return this.serializer.call(null,e,t);if(void 0!==this.route&&this.route.serialize)return this.route.serialize(e,t);if(1!==t.length)return;let n=t[0];return/_id$/.test(n)?s[n]=e.id:s[n]=e,s}}class m{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.router=e,this.data=t}}function g(e,t,i){let s=e.routeInfos,n=t.resolveIndex>=s.length?s.length-1:t.resolveIndex,r=t.isAborted;throw new b(i,e.routeInfos[n].route,r,e)}function f(e,t){if(t.resolveIndex===e.routeInfos.length)return;let i=e.routeInfos[t.resolveIndex],s=_.bind(null,e,t);return i.resolve(t).then(s,null,e.promiseLabel("Proceed"))}function _(e,t,i){let s=e.routeInfos[t.resolveIndex].isResolved;if(e.routeInfos[t.resolveIndex++]=i,!s){let{route:e}=i;void 0!==e&&e.redirect&&e.redirect(i.context,t)}return(0,r.t)(t),f(e,t)}class y{constructor(){this.routeInfos=[],this.queryParams={},this.params={}}promiseLabel(e){let t="";return(0,r.f)(this.routeInfos,function(e){return""!==t&&(t+="."),t+=e.name,!0}),(0,r.c)("'"+t+"': "+e)}resolve(e){let t=this.params;(0,r.f)(this.routeInfos,e=>(t[e.name]=e.params||{},!0)),e.resolveIndex=0;let i=f.bind(null,this,e),s=g.bind(null,this,e);return n.P.resolve(null,this.promiseLabel("Start transition")).then(i,null,this.promiseLabel("Resolve route")).catch(s,this.promiseLabel("Handle error")).then(()=>this)}}class b{constructor(e,t,i,s){this.error=e,this.route=t,this.wasAborted=i,this.state=s}}class w extends m{constructor(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=arguments.length>5?arguments[5]:void 0;super(e,r),this.preTransitionState=void 0,this.name=t,this.pivotHandler=i,this.contexts=s,this.queryParams=n}applyToState(e,t){let i=this.router.recognizer.handlersFor(this.name),s=i[i.length-1].handler;return this.applyToHandlers(e,i,s,t,!1)}applyToHandlers(e,t,i,s,n){let a,o,l=new y,u=this.contexts.slice(0),d=t.length;if(this.pivotHandler){for(a=0,o=t.length;a=0;--a){let r=t[a],o=r.handler,c=e.routeInfos[a],p=null;if(p=r.names.length>0?a>=d?this.createParamHandlerInfo(o,r.names,u,c):this.getHandlerInfoForDynamicSegment(o,r.names,u,c,i,a):this.createParamHandlerInfo(o,r.names,u,c),n){p=p.becomeResolved(null,p.context);let e=c&&c.context;r.names.length>0&&void 0!==c.context&&p.context===e&&(p.params=c&&c.params),p.context=e}let h=c;(a>=d||p.shouldSupersede(c))&&(d=Math.min(a,d),h=p),s&&!n&&(h=h.becomeResolved(null,h.context)),l.routeInfos.unshift(h)}if(u.length>0)throw Error("More context objects were passed than there are dynamic segments for the route: "+i);return s||this.invalidateChildren(l.routeInfos,d),(0,r.m)(l.queryParams,this.queryParams||{}),s&&e.queryParams&&(0,r.m)(l.queryParams,e.queryParams),l}invalidateChildren(e,t){for(let i=t,s=e.length;i0){if(o=i[i.length-1],(0,r.b)(o))return this.createParamHandlerInfo(e,t,i,s);i.pop()}else{if(s&&s.name===e||!this.preTransitionState)return s;let t=this.preTransitionState.routeInfos[a];o=null==t?void 0:t.context}return new h(this.router,e,t,o)}createParamHandlerInfo(e,t,i,s){let n={},a=t.length,o=[];for(;a--;){let l=s&&e===s.name&&s.params||{},u=i[i.length-1],d=t[a];(0,r.b)(u)?n[d]=""+i.pop():l.hasOwnProperty(d)?n[d]=l[d]:o.push(d)}if(o.length>0)throw Error(`You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route ${e}. Missing params: ${o}`);return new p(this.router,e,t,n)}}class k extends m{constructor(e,t,i){super(e,i),this.url=t,this.preTransitionState=void 0}applyToState(e){let t=new y,i=this.router.recognizer.recognize(this.url),s,n;if(!i)throw new r.U(this.url);let a=!1,o=this.url;function l(e){if(e&&e.inaccessibleByURL)throw new r.U(o);return e}for(s=0,n=i.length;s=0&&s;--i){let n=t[i],r=n.handler;e.add(t,{as:r}),s="/"===n.path||""===n.path||".index"===r.slice(-6)}})}hasRoute(e){return this.recognizer.hasRoute(e)}queryParamsTransition(e,t,i,s){if(this.fireQueryParamDidChange(s,e),!t&&this.activeTransition)return this.activeTransition;{let e=new r.T(this,void 0,void 0);return e.queryParamsOnly=!0,i.queryParams=this.finalizeQueryParamChange(s.routeInfos,s.queryParams,e),e[r.Q]=s.queryParams,this.toReadOnlyInfos(e,s),this.routeWillChange(e),e.promise=e.promise.then(t=>(e.isAborted||(this._updateURL(e,i),this.didTransition(this.currentRouteInfos),this.toInfos(e,s.routeInfos,!0),this.routeDidChange(e)),t),null,(0,r.c)("Transition complete")),e}}transitionByIntent(e,t){try{return this.getTransitionByIntent(e,t)}catch(t){return new r.T(this,e,void 0,t,void 0)}}recognize(e){let t=new k(this,e),i=this.generateNewState(t);if(null===i)return i;let s=o(i.routeInfos,i.queryParams,{includeAttributes:!1,localizeMapUpdates:!0});return s[s.length-1]}recognizeAndLoad(e){let t=new k(this,e),i=this.generateNewState(t);if(null===i)return n.P.reject(`URL ${e} was not recognized`);let s=new r.T(this,t,i,void 0);return s.then(()=>{let e=o(i.routeInfos,s[r.Q],{includeAttributes:!0,localizeMapUpdates:!1});return e[e.length-1]})}generateNewState(e){try{return e.applyToState(this.state,!1)}catch(e){return null}}getTransitionByIntent(e,t){let i,s=!!this.activeTransition,n=s?this.activeTransition[r.S]:this.state,a=e.applyToState(n,t),o=(0,r.g)(n.queryParams,a.queryParams);if(S(a.routeInfos,n.routeInfos)){if(o){let e=this.queryParamsTransition(o,s,n,a);return e.queryParamsOnly=!0,e}return this.activeTransition||new r.T(this,void 0,void 0)}if(t){let e=new r.T(this,void 0,a);return e.isIntermediate=!0,this.toReadOnlyInfos(e,a),this.setupContexts(a,e),this.routeWillChange(e),this.activeTransition}return i=new r.T(this,e,a,void 0,this.activeTransition),function(e,t){if(e.length!==t.length)return!1;for(let i=0,s=e.length;ithis.finalizeTransition(i,e),null,(0,r.c)("Settle transition promise when transition is finalized")),s||this.notifyExistingHandlers(a,i),this.fireQueryParamDidChange(a,o),i}doTransition(e){let t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=i[i.length-1],a={};if(n&&Object.prototype.hasOwnProperty.call(n,"queryParams")&&(a=i.pop().queryParams),void 0===e){(0,r.d)(this,"Updating query params");let{routeInfos:e}=this.state;t=new w(this,e[e.length-1].name,void 0,[],a)}else"/"===e.charAt(0)?((0,r.d)(this,"Attempting URL transition to "+e),t=new k(this,e)):((0,r.d)(this,"Attempting transition to "+e),t=new w(this,e,void 0,i,a));return this.transitionByIntent(t,s)}finalizeTransition(e,t){try{(0,r.d)(e.router,e.sequence,"Resolved all models on destination route; finalizing transition.");let i=t.routeInfos;if(this.setupContexts(t,e),e.isAborted)return this.state.routeInfos=this.currentRouteInfos,n.P.reject((0,r.l)(e));return this._updateURL(e,t),e.isActive=!1,this.activeTransition=void 0,this.triggerEvent(this.currentRouteInfos,!0,"didTransition",[]),this.didTransition(this.currentRouteInfos),this.toInfos(e,t.routeInfos,!0),this.routeDidChange(e),(0,r.d)(this,e.sequence,"TRANSITION COMPLETE."),i[i.length-1].route}catch(t){if(!(0,r.e)(t)){let i=e[r.S].routeInfos;e.trigger(!0,"error",t,e,i[i.length-1].route),e.abort()}throw t}}setupContexts(e,t){let i,s,n,r=this.partitionRoutes(this.state,e);for(i=0,s=r.exited.length;i=0;--e){let t=s[e];(0,r.m)(a,t.params),t.route.inaccessibleByURL&&(i=null)}if(i){a.queryParams=e._visibleQueryParams||t.queryParams;let s=this.recognizer.generate(n,a),r=e.isCausedByInitialTransition,o="replace"===i&&!e.isCausedByAbortingTransition,l=e.queryParamsOnly&&"replace"===i,u="replace"===i&&e.isCausedByAbortingReplaceTransition;r||o||l||u?this.replaceURL(s):this.updateURL(s)}}finalizeQueryParamChange(e,t,i){for(let e in t)t.hasOwnProperty(e)&&null===t[e]&&delete t[e];let s=[];this.triggerEvent(e,!0,"finalizeQueryParamChange",[t,s,i]),i&&(i._visibleQueryParams={});let n={};for(let e=0,t=s.length;e0){let i=o(t,Object.assign({},this._lastQueryParams),{includeAttributes:!0,localizeMapUpdates:!1});e.from=i[i.length-1]||null}}toInfos(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0!==e&&t.length>0){let s=o(t,Object.assign({},e[r.Q]),{includeAttributes:i,localizeMapUpdates:!1});e.to=s[s.length-1]||null}}notifyExistingHandlers(e,t){let i=this.state.routeInfos,s,n,r,a;for(s=0,n=i.length;s1?t-1:0),s=1;s1?t-1:0),s=1;s1?t-1:0),s=1;s1?t-1:0),s=1;s1?t-1:0),s=1;s{"use strict";i.r(t),i.d(t,{default:()=>C});var s=i(24698),n=i(4089),r=i(66530),a=i(13744),o=i(96675),l=i(48422),u=i(74018),d=i(93797),c=i(9457),p=i(57660),h=i(79401),m=i(82286),g=i(89361),f=i(22106),_=i(46386),y=i(50819),b=i(2863),w=i(86232),k=i(98174),T=i(9348),S=i(55888);class C extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[a.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #n=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#tq=(()=>void dt7948.i(this,"modal"))();get filterMode(){return(0,y.calculateFilterMode)({category:this.args.category,filterType:this.args.filterType,noSubcategories:this.args.noSubcategories})}get skipCategoriesNavItem(){return this.router.currentRoute.queryParams.f===b.TRACKED_QUERY_PARAM_VALUE}get canCreateTopic(){return this.currentUser?.can_create_topic}get bodyClass(){return this.args.tag?["tags-page",this.args.additionalTags?"tags-intersection":null].filter(Boolean).join(" "):"categories"===this.filterMode?"navigation-categories":this.args.category?"navigation-category":"navigation-topics"}editCategory(){w.default.routeTo(`/c/${k.default.slugFor(this.args.category)}/edit`)}static #a=(()=>dt7948.n(this.prototype,"editCategory",[r.action]))();createCategory(){this.router.transitionTo("newCategory")}static #l=(()=>dt7948.n(this.prototype,"createCategory",[r.action]))();reorderCategories(){this.modal.show(p.default)}static #d=(()=>dt7948.n(this.prototype,"reorderCategories",[r.action]))();get headingClasses(){return(0,f.default)("category-heading",this.args.category?.uploaded_logo?.url?"--has-logo":null)}static #p=(()=>(0,T.setComponentTemplate)((0,S.createTemplateFactory)({id:"v3dBRVQD",block:'[[[1,"\\n "],[8,[32,0],null,[["@category","@tags"],[[30,1],[52,[30,2],[28,[32,1],[[30,2,["id"]]],null]]]],null],[1,"\\n\\n "],[8,[32,2],null,[["@category","@tag","@additionalTags","@filter"],[[30,1],[30,2],[30,3],[30,0,["filterMode"]]]],null],[1,"\\n\\n"],[41,[30,1],[[[1," "],[8,[32,3],null,[["@name","@outletArgs"],["above-category-heading",[28,[32,4],null,[["category","tag"],[[30,1],[30,2]]]]]],null],[1,"\\n\\n "],[10,"section"],[15,0,[30,0,["headingClasses"]]],[12],[1,"\\n"],[41,[30,1,["uploaded_logo","url"]],[[[1," "],[8,[32,5],[[24,0,"category-heading__logo"]],[["@category"],[[30,1]]],null],[1,"\\n"],[41,[30,1,["description"]],[[[1," "],[10,0],[14,0,"category-heading__content"],[12],[1,"\\n "],[1,[28,[32,6],[[30,1]],[["class"],["category-heading__badge"]]]],[1,"\\n "],[10,2],[14,0,"category-heading__description"],[12],[1,"\\n "],[1,[28,[32,7],[[30,1,["description"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n "],[8,[32,3],null,[["@name","@connectorTagName","@outletArgs"],["category-heading","div",[28,[32,4],null,[["category","tag"],[[30,1],[30,2]]]]]],null],[1,"\\n\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[1,[28,[32,8],[[30,0,["bodyClass"]]],null]],[1,"\\n\\n "],[10,"section"],[15,0,[28,[32,9],["navigation-container",[52,[30,1],"category-navigation"]],null]],[12],[1,"\\n "],[8,[32,10],null,[["@category","@tag","@additionalTags","@filterMode","@noSubcategories","@canCreateTopic","@canCreateTopicOnTag","@createTopic","@createTopicDisabled","@draftCount","@editCategory","@showCategoryAdmin","@createCategory","@reorderCategories","@canBulkSelect","@bulkSelectHelper","@skipCategoriesNavItem","@toggleInfo","@tagNotification","@model","@showDismissRead","@showResetNew","@dismissRead","@resetNew"],[[30,1],[30,2],[30,3],[30,0,["filterMode"]],[30,4],[30,0,["canCreateTopic"]],[30,5],[30,6],[30,7],[30,0,["currentUser","draft_count"]],[30,0,["editCategory"]],[30,8],[30,0,["createCategory"]],[30,0,["reorderCategories"]],[30,9],[30,10],[30,0,["skipCategoriesNavItem"]],[30,11],[30,12],[30,13],[30,14],[30,15],[30,16],[30,17]]],null],[1,"\\n\\n"],[41,[30,1],[[[1," "],[8,[32,3],null,[["@name","@connectorTagName","@outletArgs"],["category-navigation","div",[28,[32,4],null,[["category","tag"],[[30,1],[30,2]]]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2],[[[1," "],[8,[32,3],null,[["@name","@connectorTagName","@outletArgs"],["tag-navigation","div",[28,[32,4],null,[["category","tag"],[[30,1],[30,2]]]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@category","@tag","@additionalTags","@noSubcategories","@canCreateTopicOnTag","@createTopic","@createTopicDisabled","@showCategoryAdmin","@canBulkSelect","@bulkSelectHelper","@toggleTagInfo","@tagNotification","@model","@showDismissRead","@showResetNew","@dismissRead","@resetNew"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/discovery/navigation.js",scope:()=>[l.default,n.array,c.default,h.default,_.default,u.default,g.default,o.htmlSafe,m.default,f.default,d.default],isStrictMode:!0}),this))()}},16484:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(33406);class n extends s.default{jsonMode=!0;pathFor(e,t,i){return`/posts/${i.username}/pending.json`}}},16495:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(24698),n=i(13744),r=i(11811),a=i(22106),o=i(57364),l=i(9348),u=i(55888);class d extends s.default{static shouldRender(e){return e.state.canCreatePost}static #e=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();get showLabel(){return this.args.showLabel??(this.site.desktopView&&!this.args.state.isWikiMode)}static #i=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"NcBGNBin",block:'[[[1,"\\n "],[8,[32,0],[[16,0,[28,[32,1],["post-action-menu__reply","reply",[52,[30,0,["showLabel"]],"create fade-out"]],null]],[17,1]],[["@action","@icon","@label","@title","@translatedAriaLabel"],[[30,2,["replyToPost"]],"reply",[52,[30,0,["showLabel"]],"topic.reply.title"],"post.controls.reply",[28,[32,2],["post.sr_reply_to"],[["post_number","username"],[[30,3,["post_number"]],[30,3,["username"]]]]]]],null],[1,"\\n "]],["&attrs","@buttonActions","@post"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/menu/buttons/reply.js",scope:()=>[r.default,a.default,o.i18n],isStrictMode:!0}),this))()}},16509:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(57078);i(23260),i(49233),i(27322),i(17633),i(4837),i(184),i(39665),i(8166);var n=i(83537);i(66530),i(58375),i(98710),i(81904),i(50434),i(36819),i(90743),i(85333),i(99628),i(15036),i(60070);var r=i(13744);i(40084);var a=i(65414);class o extends r.default{[a.ROUTER];get router(){let e=this[a.ROUTER];if(void 0!==e)return e;let t=(0,s.getOwner)(this).lookup("router:main");return t.setupRouter(),this[a.ROUTER]=t}hasRoute(e){return this.router.hasRoute(e)}transitionTo(e,t,i,s){let n=this.router._doTransition(e,t,i);return s&&n.method("replace"),n}normalizeQueryParams(e,t,i){this.router._prepareQueryParams(e,t,i)}_generateURL(e,t,i){let s={};return i&&(Object.assign(s,i),this.normalizeQueryParams(e,t,s)),this.router.generate(e,...t,{queryParams:s})}generateURL(e,t,i){if(this.router._initialTransitionStarted)return this._generateURL(e,t,i);try{return this._generateURL(e,t,i)}catch(e){return}}isActiveForRoute(e,t,i,s){let n=this.router._routerMicrolib.recognizer.handlersFor(i),r=n[n.length-1].handler,a=function(e,t){let i=0;for(let s=0;sa&&(i=r),s.isActiveIntent(i,e,t)}}o.reopen({targetState:(0,n.readOnly)("router.targetState"),currentState:(0,n.readOnly)("router.currentState"),currentRouteName:(0,n.readOnly)("router.currentRouteName"),currentPath:(0,n.readOnly)("router.currentPath")})},16667:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(66530),n=i(13744),r=i(30587),a=i.n(r),o=i(23286),l=i(20559),u=i(42358),d=i(95357),c=i(65677),p=i(57364);class h extends c.default{static #e=(()=>dt7948.g(this.prototype,"historyStore",[n.service]))();#nM=(()=>void dt7948.i(this,"historyStore"))();templateName="user/bookmarks";queryParams={acting_username:{refreshModel:!0},q:{refreshModel:!0}};model(e){let t=this.controllerFor("user-activity-bookmarks");return this.historyStore.isPoppedState&&this.session.bookmarksModel&&this.session.bookmarksModel.searchTerm===e.q?o.Promise.resolve(this.session.bookmarksModel):(this.session.setProperties({bookmarksModel:null}),t.set("loading",!0),this._loadBookmarks(e).then(async e=>{if(!e.user_bookmark_list)return{bookmarks:[]};e.user_bookmark_list.categories?.forEach(e=>d.default.current().updateCategory(e));let i=e.user_bookmark_list.bookmarks.map(t.transform);await u.default.applyTransformations(i);let s={bookmarks:i,loadMoreUrl:e.user_bookmark_list.more_bookmarks_url};return this.session.set("bookmarksModel",s),s}).catch(()=>t.set("permissionDenied",!0)).finally(()=>t.set("loading",!1)))}titleToken(){return(0,p.i18n)("user_action_groups.3")}triggerRefresh(){this.refresh()}static #i=(()=>dt7948.n(this.prototype,"triggerRefresh",[s.action]))();_loadBookmarks(e){let t=`/u/${this.modelFor("user").username}/bookmarks.json`;return e&&(t+="?"+a().param(e)),(0,l.ajax)(t)}}},16741:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(24698),n=i(4089),r=i(66530),a=i(45549),o=i(9348),l=i(55888);class u extends s.default{static controlType="icon";handleInput(e){this.args.field.set(e)}static #e=(()=>dt7948.n(this.prototype,"handleInput",[r.action]))();static #i=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"zkQKCYt8",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"form-kit__control-icon"]],[["@value","@onlyAvailable","@options","@onChange"],[[28,[31,0],[[30,1,["value"]]],null],true,[28,[32,1],null,[["maximum","disabled","caretDownIcon","caretUpIcon","icons"],[1,[30,1,["disabled"]],"angle-down","angle-up",[30,1,["value"]]]]],[30,0,["handleInput"]]]],null],[1,"\\n "]],["@field"],false,["readonly"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/icon.js",scope:()=>[a.default,n.hash],isStrictMode:!0}),this))()}},16743:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(81845),n=i(66530),r=i(13744),a=i(72172),o=i(6827),l=i(99567);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#tH=(()=>void dt7948.i(this,"router"))();accountCreated;newEmail;submitDisabled(e,t){return e===t}static #i=(()=>dt7948.n(this.prototype,"submitDisabled",[(0,o.default)("newEmail","accountCreated.email")]))();updateNewEmail(e){this.set("newEmail",e)}static #n=(()=>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 #a=(()=>dt7948.n(this.prototype,"changeEmail",[n.action]))();cancel(){this.router.transitionTo("account-created.index")}static #l=(()=>dt7948.n(this.prototype,"cancel",[n.action]))()}},16771:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h,historyHeat:()=>g});var s=i(24698),n=i(66530),r=i(13744),a=i(11811),o=i(22106),l=i(62931),u=i(46566),d=i(57364),c=i(9348),p=i(55888);class h extends s.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();get icon(){return this.args.post.wiki?"far-pen-to-square":"pencil"}get label(){return(0,u.applyValueTransformer)("post-meta-data-edits-indicator-label",this.args.post.version>1?this.args.post.version-1:null,{post:this.args.post})}get title(){let e=(0,l.longDate)(this.updatedAt);return this.args.post.wiki?this.args.post.version>1?(0,d.i18n)("post.wiki_last_edited_on",{dateTime:e}):(0,d.i18n)("post.wiki.about"):(0,d.i18n)("post.last_edited_on",{dateTime:e})}get updatedAt(){return new Date(this.args.post.updated_at)}onPostEditsIndicatorClick(){this.args.post.wiki&&1===this.args.post.version?this.args.editPost():this.args.post.can_view_edit_history&&this.args.showHistory()}static #i=(()=>dt7948.n(this.prototype,"onPostEditsIndicatorClick",[n.action]))();static #n=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"zUbLyxUg",block:'[[[1,"\\n "],[10,0],[14,0,"post-info edits"],[12],[1,"\\n "],[8,[32,0],[[16,0,[28,[32,1],["btn-flat",[28,[32,2],[[30,0,["siteSettings"]],[30,0,["updatedAt"]]],null],[52,[30,1,["wiki"]],"wiki"]],null]]],[["@icon","@translatedLabel","@translatedTitle","@translatedAriaLabel","@action"],[[30,0,["icon"]],[30,0,["label"]],[30,0,["title"]],[28,[32,3],["post.edit_history"],null],[30,0,["onPostEditsIndicatorClick"]]]],null],[1,"\\n "],[13],[1,"\\n "]],["@post"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/meta-data/edits-indicator.js",scope:()=>[a.default,o.default,g,d.i18n],isStrictMode:!0}),this))()}function m(e){return 3e6*e}function g(e,t){if(!t)return;let i=Date.now(),s=t.getTime();return s>i-m(e.history_hours_low)?"heatmap-high":s>i-m(e.history_hours_medium)?"heatmap-med":s>i-m(e.history_hours_high)?"heatmap-low":void 0}},16782:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(4089),n=i(78941),r=i(57364),a=i(9348),o=i(55888),l=i(74975);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"dWNaiuNL",block:'[[[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,0],null,[["@route","@query"],[[28,[32,1],["group.activity.",[30,1]],null],[28,[32,2],null,[["category_id"],[[30,2]]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[28,[32,1],["groups.",[30,1]],null]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],["@filter","@categoryId"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-activity-filter.js",scope:()=>[n.LinkTo,s.concat,s.hash,r.i18n],isStrictMode:!0}),(0,l.default)(void 0,"group-activity-filter:GroupActivityFilter"))},16906:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(57364),n=i(9348),r=i(55888),a=i(74975);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"ebu5JPrm",block:'[[[1,"\\n "],[10,0],[12],[1,"\\n "],[10,2],[12],[1,[28,[32,0],["user.invited.link_generated"],null]],[13],[1,"\\n "],[10,2],[12],[1,"\\n "],[10,"input"],[15,2,[30,1]],[14,0,"invite-link-input"],[14,"autofocus","autofocus"],[14,4,"text"],[12],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,2],[[[1," "],[10,2],[12],[1,[28,[32,0],["user.invited.valid_for"],[["email"],[[30,2]]]]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],["@link","@email"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/generated-invite-link.js",scope:()=>[s.i18n],isStrictMode:!0}),(0,a.default)(void 0,"generated-invite-link:GeneratedInviteLink"))},16924:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(1094),n=i(57364),r=i(9348),a=i(55888),o=i(74975);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"K0reyWoS",block:'[[[1,"\\n "],[10,0],[14,0,"bulk-select-topics-dropdown"],[12],[1,"\\n "],[10,1],[14,0,"bulk-select-topic-dropdown__count"],[12],[1,"\\n "],[1,[28,[32,0],["topics.bulk.selected_count"],[["count"],[[30,1,["selected","length"]]]]]],[1,"\\n "],[13],[1,"\\n "],[8,[32,1],null,[["@bulkSelectHelper","@afterBulkActionComplete"],[[30,1],[30,2]]],null],[1,"\\n "],[13],[1,"\\n"]],["@bulkSelectHelper","@afterBulkActionComplete"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/topic-bulk-select-dropdown.js",scope:()=>[n.i18n,s.default],isStrictMode:!0}),(0,o.default)(void 0,"topic-bulk-select-dropdown:TopicBulkSelectDropdown"))},16970:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(40779),n=i(13744);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"callbacks",[s.tracked],function(){return[]}))();#ag=(()=>void dt7948.i(this,"callbacks"))();addButton(e){this.callbacks.push(e)}}},16987:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(9348),n=i(4089),r=i(66530),a=i(1848),o=i(11811),l=i(55888);let u=dt7948.c(class extends s.default{items=null;removeIgnoredUser(e){this.onRemoveIgnoredUser(e)}static #e=(()=>dt7948.n(this.prototype,"removeIgnoredUser",[r.action]))();static #i=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"LTNXISQx",block:'[[[1,"\\n "],[10,0],[14,0,"ignored-user-list-item"],[12],[1,"\\n "],[10,1],[14,0,"ignored-user-name"],[12],[1,[30,0,["item"]]],[13],[1,"\\n "],[8,[32,0],[[24,0,"remove-ignored-user no-text btn-icon"]],[["@action","@icon"],[[28,[32,1],[[30,0,["removeIgnoredUser"]],[30,0,["item"]]],null],"xmark"]],null],[1,"\\n "],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/ignored-user-list-item.js",scope:()=>[o.default,n.fn],isStrictMode:!0}),this))()},[(0,a.tagName)("div")])},16998:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(24698),n=i(96675),r=i(71773),a=i(68718),o=i(95506),l=i(57364),u=i(9348),d=i(55888);class c extends s.default{get type(){return this.args.type??"number"}get isNumber(){return"number"===this.type}get isDuration(){return"duration"===this.type}static #e=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"Emlxa88I",block:'[[[1,"\\n "],[10,0],[14,0,"user-stat"],[12],[1,"\\n "],[10,1],[14,0,"value"],[15,"title",[30,1]],[12],[1,"\\n"],[41,[30,0,["isNumber"]],[[[1," "],[1,[28,[32,0],[[30,2]],null]],[1,"\\n"]],[]],[[[41,[30,0,["isDuration"]],[[[1," "],[1,[28,[32,1],[[30,2]],null]],[1,"\\n"]],[]],[[[1," "],[1,[30,2]],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n "],[10,1],[14,0,"label"],[12],[1,"\\n "],[41,[30,3],[[[1,[28,[32,2],[[30,3]],null]]],[]],null],[1,"\\n "],[1,[28,[32,3],[[28,[32,4],[[30,4]],[["count"],[[30,2]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@rawTitle","@value","@icon","@label"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-stat.js",scope:()=>[o.default,a.default,r.default,n.htmlSafe,l.i18n],isStrictMode:!0}),this))()}},17048:(e,t,i)=>{"use strict";i.r(t),i.d(t,{cacheFor:()=>s.g,guidFor:()=>n.g}),i(73779);var s=i(33267),n=i(27322)},17066:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(9348),n=i(4089),r=i(66530),a=i(58295),o=i(1848),l=i(81727),u=i.n(l),d=i(62251),c=i.n(d),p=i(55888);let h=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"selectedTags",[(0,a.reads)("collection.content.selectedTags.[]")]))();#af=(()=>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 #i=(()=>dt7948.n(this.prototype,"tags",[(0,r.computed)("selectedTags.[]","selectKit.filter")]))();static #n=(()=>(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,c()],isStrictMode:!0}),this))()},[(0,o.tagName)("")])},17070:function(e,t,i){!function(e,t){t(i(4387))}(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}})})},17076:(e,t,i)=>{"use strict";i.r(t),i.d(t,{clearPendingRequests:()=>r,decrementPendingRequests:()=>o,incrementPendingRequests:()=>a,pendingRequests:()=>n});let s=[];function n(){return s.length}function r(){s.length=0}function a(e,t){s.push(t)}function o(e,t){setTimeout(function(){for(let e=0;e{"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}},17251:function(e,t,i){!function(e,t){t(i(4387))}(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}})})},17282:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(45240),n=i(97512),r=i(57364);class a extends n.default{userActionType=(()=>s.default.TYPES.mentions)();titleToken(){return(0,r.i18n)("user_action_groups.7")}}},17315:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(66530),n=i(23286),r=i(20559),a=i(72172),o=i(6827),l=i(64299),u=i(12079),d=i(48297);class c extends s.default{static createFromJson(e){void 0===e.users&&(e.users=[]);let t={};e.users.forEach(function(e){t[e.id]=d.default.create(e)}),e.granted_bies=e.granted_bies??[],e.granted_bies.forEach(function(e){t[e.id]=d.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=c.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 c.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 c.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 c.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)})}}},17354:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(65677);class n extends s.default{model(){return this.store.find("reviewable-settings")}setupController(e,t){e.set("settings",t)}}},17404:function(e,t,i){!function(e,t){t(i(4387))}(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}})})},17428:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(40779),n=i(81845),r=i(66530);let a=class extends n.default{static #e=(()=>dt7948.g(this.prototype,"tagsForUser",[s.tracked],function(){return null}))();#a_=(()=>void dt7948.i(this,"tagsForUser"))();static #i=(()=>dt7948.g(this.prototype,"sortedByCount",[s.tracked],function(){return!0}))();#ay=(()=>void dt7948.i(this,"sortedByCount"))();static #n=(()=>dt7948.g(this.prototype,"sortedByName",[s.tracked],function(){return!1}))();#ab=(()=>void dt7948.i(this,"sortedByName"))();static #a=(()=>dt7948.g(this.prototype,"sortProperties",[s.tracked],function(){return["count:desc","id"]}))();#av=(()=>void dt7948.i(this,"sortProperties"))();sortByCount(e){e?.preventDefault(),this.sortProperties=["count:desc","id"],this.sortedByCount=!0,this.sortedByName=!1}static #l=(()=>dt7948.n(this.prototype,"sortByCount",[r.action]))();sortById(e){e?.preventDefault(),this.sortProperties=["id"],this.sortedByCount=!1,this.sortedByName=!0}static #d=(()=>dt7948.n(this.prototype,"sortById",[r.action]))()}},17456:e=>{e.exports=function(){var e={},t=e._fns={};return e.emit=function(e,i,s,n,r,a,o){var l=function(e){for(var i=t[e]?t[e]:[],s=e.indexOf(":"),n=-1===s?[e]:[e.substring(0,s),e.substring(s+1)],r=Object.keys(t),a=0,o=r.length;a=2&&e<=4?t[1]:t[2]},translate:function(e,i,s){var n=t.words[s];return 1===s.length?i?n[0]:n[1]:e+" "+t.correctGrammaticalCase(e,n)}};return e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._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:"[sjutra 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če u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},17481:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(96675),n=i(1848),r=i(24097),a=i(9348),o=i(55888);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")])},17524:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(58295),n=i(1848),r=i(70239),a=i.n(r),o=i(3521),l=i.n(o),u=i(1096),d=i(86558),c=i(9348),p=i(55888);let h=dt7948.c(class extends u.default{static #e=(()=>dt7948.g(this.prototype,"shouldDisplayIcon",[(0,s.reads)("selectKit.options.shouldDisplayIcon")]))();#iI=(()=>void dt7948.i(this,"shouldDisplayIcon"))();categoryBackgroundColor(e){return e||"#e9e9e9"}static #i=(()=>dt7948.n(this.prototype,"categoryBackgroundColor",[l()("selectedContent.color")]))();categoryTextColor(e){return e||"#333"}static #n=(()=>dt7948.n(this.prototype,"categoryTextColor",[l()("selectedContent.text_color")]))();static #a=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"ZaMmPrfI",block:'[[[1,"\\n "],[10,0],[14,0,"select-kit-header-wrapper"],[12],[1,"\\n"],[44,[[28,[32,0],[[30,0],[30,0,["selectKit","options","selectedNameComponent"]]],null]],[[[1," "],[8,[30,1],null,[["@tabindex","@item","@selectKit","@shouldDisplayIcon","@shouldDisplayClearableButton"],[[30,0,["tabindex"]],[30,0,["selectedContent"]],[30,0,["selectKit"]],[30,0,["shouldDisplayIcon"]],[30,0,["shouldDisplayClearableButton"]]]],null],[1,"\\n"]],[1]]],[1,"\\n "],[1,[28,[32,1],[[30,0,["caretIcon"]]],[["class"],["caret-icon"]]]],[1,"\\n "],[13],[1,"\\n "]],["SelectedNameComponent"],false,["let"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/category-drop/category-drop-header.js",scope:()=>[d.resolveComponent,a()],isStrictMode:!0}),this))()},[(0,n.classNames)("category-drop-header")])},17605:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(36768),n=i(13744),r=i(30587),a=i.n(r),o=i(66125),l=i(6827),u=i(22710),d=i(18965),c=i(40577),p=i(79422),h=i(57364);let m=new Set,g=dt7948.c(class extends n.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();constructor(){super(...arguments),(0,o.getAndClearUnhandledThemeErrors)().forEach(e=>this.reportThemeError(e)),document.addEventListener("discourse-error",this.handleDiscourseError)}willDestroy(){document.removeEventListener("discourse-error",this.handleDiscourseError),this.rootElement.querySelectorAll(".broken-theme-alert-banner").forEach(e=>e.remove())}get rootElement(){return document.querySelector((0,s.getOwner)(this).rootElement)}handleDiscourseError(e){e.detail?.themeId?this.reportThemeError(e):this.reportGenericError(e),e.preventDefault()}static #i=(()=>dt7948.n(this.prototype,"handleDiscourseError",[l.bind]))();reportThemeError(e){let{themeId:t,error:i}=e.detail,s={type:"theme",...(0,p.getThemeInfo)(t)};f(i,s),function(e,t){let i={message:`${e} theme/component is throwing errors: ${t.name}: ${t.message}`,stacktrace:t.stack};a().ajax((0,d.default)("/logs/report_js_error"),{data:i,type:"POST"})}(s.name,i);let n=(0,h.i18n)("themes.broken_theme_alert");this.displayErrorNotice(n,s)}reportGenericError(e){let{messageKey:t,error:i}=e.detail,s=(0,h.i18n)(t),n=(0,p.default)(i);f(i,n),t&&!m.has(t)&&(m.add(t),this.displayErrorNotice(s,n))}displayErrorNotice(e,t){if(!this.currentUser?.admin)return;let i=`⚠️ ${(0,u.default)(e)}`;t?.type==="theme"?i+=`
    ${(0,h.i18n)("themes.error_caused_by",{name:(0,u.default)(t.name),path:t.path})}`:t?.type==="plugin"&&(i+=`
    ${(0,h.i18n)("broken_plugin_alert",{name:(0,u.default)(t.name)})}`),i+=`
    ${(0,h.i18n)("themes.only_admins")}`;let s=document.createElement("div");s.classList.add("broken-theme-alert-banner"),s.innerHTML=i,this.rootElement.prepend(s)}},[c.disableImplicitInjections]);function f(e,t){let i=(0,p.consolePrefix)(e,t);i?console.error(i,e):console.error(e)}},17633:(e,t,i)=>{"use strict";i.r(t),i.d(t,{_hasDestroyableChildren:()=>_,assertDestroyablesDestroyed:()=>a,associateDestroyableChild:()=>p,destroy:()=>g,destroyChildren:()=>f,enableDestroyableTracking:()=>r,isDestroyed:()=>b,isDestroying:()=>y,registerDestructor:()=>h,unregisterDestructor:()=>m});var s=i(99652);i(77597);var n=function(e){return e[e.Live=0]="Live",e[e.Destroying=1]="Destroying",e[e.Destroyed=2]="Destroyed",e}(n||{});let r,a,o=new WeakMap;function l(e,t){return null===e?t:Array.isArray(e)?(e.push(t),e):[e,t]}function u(e,t){Array.isArray(e)?e.forEach(t):null!==e&&t(e)}function d(e,t,i){if(Array.isArray(e)&&e.length>1){let i=e.indexOf(t);return e.splice(i,1),e}return null}function c(e){let t=o.get(e);return void 0===t&&(t={parents:null,children:null,eagerDestructors:null,destructors:null,state:n.Live},o.set(e,t)),t}function p(e,t){let i=c(e),s=c(t);return i.children=l(i.children,t),s.parents=l(s.parents,e),t}function h(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=c(e),n=!0===i?"eagerDestructors":"destructors";return s[n]=l(s[n],t),t}function m(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=c(e),n=!0===i?"eagerDestructors":"destructors";s[n]=d(s[n],t,!1)}function g(e){let t=c(e);if(t.state>=n.Destroying)return;let{parents:i,children:r,eagerDestructors:a,destructors:o}=t;t.state=n.Destroying,u(r,g),u(a,t=>t(e)),u(o,t=>(0,s.scheduleDestroy)(e,t)),(0,s.scheduleDestroyed)(()=>{u(i,t=>(function(e,t){let i=c(t);i.state===n.Live&&(i.children=d(i.children,e,!1))})(e,t)),t.state=n.Destroyed})}function f(e){let{children:t}=c(e);u(t,g)}function _(e){let t=o.get(e);return void 0!==t&&null!==t.children}function y(e){let t=o.get(e);return void 0!==t&&t.state>=n.Destroying}function b(e){let t=o.get(e);return void 0!==t&&t.state>=n.Destroyed}},17643:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(66530),n=i(13744),r=i(23286),a=i(20559),o=i(39960),l=i(31552),u=i(34057),d=i(98174),c=i(99511),p=i(29708),h=i(65677),m=i(57364);class g extends h.default{static #e=(()=>dt7948.g(this.prototype,"modal",[n.service]))();#tq=(()=>void dt7948.i(this,"modal"))();static #i=(()=>dt7948.g(this.prototype,"router",[n.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #n=(()=>dt7948.g(this.prototype,"session",[n.service]))();#iR=(()=>void dt7948.i(this,"session"))();templateName="discovery/categories";controllerName="discovery/categories";async findCategories(e){let t,i=this.site.desktopView&&this.siteSettings.desktop_category_page_style;return this.site.categories.length>o.MAX_UNOPTIMIZED_CATEGORIES&&(i="categories_only"),"categories_and_latest_topics"===i||"categories_and_latest_topics_created_date"===i?t=await this._findCategoriesAndTopics("latest",e):"categories_and_top_topics"===i?t=await this._findCategoriesAndTopics("top",e):(l.default.remove("topic_list"),t=await c.default.list(this.store,e)),t}async model(e){let t;return e.category_slug_path_with_id&&(t=this.site.lazy_load_categories?await d.default.asyncFindBySlugPathWithID(e.category_slug_path_with_id):d.default.findBySlugPathWithID(e.category_slug_path_with_id)),this.findCategories(t).then(e=>{let t=this.topicTrackingState;return t&&(t.sync(e,"categories"),t.trackIncoming("categories")),e})}_loadBefore(e){let t=this.session;return function(i,s){this.topics.removeObjects(this.topics.filter(e=>i.includes(e.id)));let n=`/latest.json?topic_ids=${i.join(",")}`;return(0,a.ajax)({url:n,data:this.params}).then(i=>{let n=new Set;this.topics.forEach(e=>n.add(e.id));let r=0;p.default.topicsFrom(e,i).forEach(e=>{!n.has(e.id)&&(e.set("highlight",!0),this.topics.insertAt(r,e),r++)}),s&&t.set("topicList",this)})}}async _findCategoriesAndTopics(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.hash)({categoriesList:l.default.getAndRemove("categories_list"),topicsList:l.default.getAndRemove("topic_list")}).then(i=>{if(i.categoriesList?.category_list&&i.topicsList?.topic_list)return{...i.categoriesList,...i.topicsList};{let i={};return t&&(i.parent_category_id=t.id),(0,a.ajax)(`/categories_and_${e}`,{data:i})}}).then(e=>(e.topic_list?.top_tags&&this.site.set("top_tags",e.topic_list.top_tags),c.default.create({store:this.store,categories:c.default.categoriesFrom(this.store,e,t),parentCategory:t,topics:p.default.topicsFrom(this.store,e),can_create_category:e.category_list.can_create_category,can_create_topic:e.category_list.can_create_topic,loadBefore:this._loadBefore(this.store)})))}titleToken(){if("categories"!==(0,u.defaultHomepage)())return(0,m.i18n)("filters.categories.title")}setupController(e){e.setProperties({discovery:this.controllerFor("discovery")}),super.setupController(...arguments)}triggerRefresh(){this.refresh()}static #a=(()=>dt7948.n(this.prototype,"triggerRefresh",[s.action]))()}},17645:(e,t,i)=>{"use strict";i.r(t),i.d(t,{MAX_ANIMATION_TIME:()=>d,MINIMUM_SWIPE_DISTANCE:()=>u,SWIPE_DISTANCE_THRESHOLD:()=>o,SWIPE_VELOCITY_THRESHOLD:()=>l,default:()=>c,getMaxAnimationTimeMs:()=>r,shouldCloseMenu:()=>a});var s=i(6827),n=i(99148);function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d;return(0,n.isTesting)()||window.matchMedia("(prefers-reduced-motion: reduce)").matches?0:Math.min(e,d)}function a(e,t){return"right"===t?e.deltaX>o&&e.velocityX>-l||e.velocityX>0:"left"===t?e.deltaX<-o&&e.velocityXo&&e.velocityY>-l||e.velocityY>0:"top"===t&&(e.deltaY<-o&&e.velocityY1){if(this.cancelled)return;this.cancelled=!0;let t=new CustomEvent("swipecancel",{detail:{originalEvent:e}});this.element.dispatchEvent(t);return}this.swipeState=this.#aw(e.touches[0])}static #e=(()=>dt7948.n(this.prototype,"touchStart",[s.bind]))();touchMove(e){let t=e.touches[0];t.type="pointermove",this.#ak(t,e)}static #i=(()=>dt7948.n(this.prototype,"touchMove",[s.bind]))();touchEnd(e){this.#ak({type:"pointerup"},e),0===e.touches.length&&(this.cancelled=!1)}static #n=(()=>dt7948.n(this.prototype,"touchEnd",[s.bind]))();touchCancel(e){this.#ak({type:"pointercancel"},e),0===e.touches.length&&(this.cancelled=!1)}static #a=(()=>dt7948.n(this.prototype,"touchCancel",[s.bind]))();addTouchListeners(){let e={passive:!1};this.element.addEventListener("touchstart",this.touchStart,e),this.element.addEventListener("touchmove",this.touchMove,e),this.element.addEventListener("touchend",this.touchEnd,e),this.element.addEventListener("touchcancel",this.touchCancel,e)}removeTouchListeners(){this.element.removeEventListener("touchstart",this.touchStart),this.element.removeEventListener("touchmove",this.touchMove),this.element.removeEventListener("touchend",this.touchEnd),this.element.removeEventListener("touchcancel",this.touchCancel)}#aT(e,t,i){if(e.start||!e.direction)if(Math.abs(t)>Math.abs(i))return t>0?"right":"left";else return i>0?"down":"up";return e.direction}#aS(e,t){if("pointerup"===t.type||"pointercancel"===t.type)return e;let i=Date.now(),s=i-e.timestamp;if(0===s)return e;let n=t.clientX-e.startLocation.x,r=t.clientY-e.startLocation.y,a=t.clientX-e.center.x,o=t.clientY-e.center.y,l=this.#aT(e,n,r);return{startLocation:e.startLocation,center:{x:t.clientX,y:t.clientY},velocityX:a/s,velocityY:o/s,deltaX:n,deltaY:r,start:!1,timestamp:i,direction:l,element:this.element,goingUp:()=>"up"===l,goingDown:()=>"down"===l}}#aw(e){return{center:{x:e.clientX,y:e.clientY},startLocation:{x:e.clientX,y:e.clientY},velocityX:0,velocityY:0,deltaX:0,deltaY:0,start:!0,timestamp:Date.now(),direction:null,element:this.element,goingUp:()=>!1,goingDown:()=>!1}}#ak(e,t){if(this.cancelled)return;if(!this.swipeState){this.swipeState=this.#aw(e);return}t.stopPropagation();let i=this.swipeState,s=this.#aS(i,e);if(!(i.start&&Math.abs(s.deltaX){if(!this.animationPending||!this.swiping||this.cancelled){this.animationPending=!1;return}let e=new CustomEvent("swipe",{detail:s});this.element.dispatchEvent(e),this.animationPending=!1})}}}}},17659:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(96675),n=i(62931);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,s.htmlSafe)((0,n.autoUpdatingRelativeAge)(new Date(e),{...t,title:t.title??!0}))}},17729:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(9348),n=i(58295),r=i(66296),a=i(87018),o=i(87609),l=i(44925),u=i(57364),d=i(55888);class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"filteredHistories",[(0,n.filterBy)("histories","created",!1)]))();#aC=(()=>void dt7948.i(this,"filteredHistories"))();static #i=(()=>(0,s.setComponentTemplate)((0,d.createTemplateFactory)({id:"loxH49hl",block:'[[[1,"\\n"],[41,[30,0,["filteredHistories"]],[[[1," "],[10,"table"],[14,0,"reviewable-histories"],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"tr"],[12],[1,"\\n "],[10,"th"],[14,"colspan","3"],[12],[1,[28,[32,0],["review.history.title"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["filteredHistories"]]],null]],null],null,[[[41,[51,[30,1,["created"]]],[[[1," "],[10,"tr"],[12],[1,"\\n "],[10,"td"],[12],[1,"\\n "],[1,[28,[32,1],[[30,1]],null]],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[12],[1,"\\n "],[8,[32,2],null,[["@user"],[[30,0,["rs","user"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[30,1,["created_by"]]],[["imageSize"],["tiny"]]]],[1,"\\n "],[1,[30,1,["created_by","username"]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[12],[1,[28,[32,4],[[30,1,["created_at"]]],[["format"],["medium"]]]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[1]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["rh"],false,["if","each","-track-array","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-histories.js",scope:()=>[u.i18n,l.default,r.default,a.default,o.default],isStrictMode:!0}),this))()}},17757:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(9348),n=i(9895),r=i(55888);class a extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,r.createTemplateFactory)({id:"xKHjlmVX",block:'[[[1,"\\n "],[8,[32,0],null,[["@categories","@showTopics"],[[30,0,["categories"]],"true"]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/categories-with-featured-topics.js",scope:()=>[n.default],isStrictMode:!0}),this))()}},17771:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(13744),n=i(65677),r=i(57364);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();titleToken(){return(0,r.i18n)("groups.manage.title")}model(){return this.modelFor("group")}afterModel(e){this.currentUser&&(this.modelFor("group").can_admin_group&&e.get("automatic")||this.currentUser.canManageGroup(e))||this.router.transitionTo("group.members",e)}setupController(e,t){this.controllerFor("group-manage").setProperties({model:t}),this.controllerFor("group").set("showing","manage")}}},17785:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("fr-ca",{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("_"),monthsParseExact:!0,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:"YYYY-MM-DD",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",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})})},17794:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(1848),n=i(72716),r=i(86558);let a=dt7948.c(class extends n.default{},[(0,r.pluginApiIdentifiers)("group-notifications-button"),(0,r.selectKitOptions)({i18nPrefix:"groups.notifications"}),(0,s.classNames)("group-notifications-button")])},17850:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(1848),n=i(44093),r=i(56517),a=i(86558),o=i(98694);let l=dt7948.c(class extends n.default{modifyComponentForRow(){return r.default}},[(0,a.selectKitOptions)({selectedNameComponent:o.default}),(0,a.pluginApiIdentifiers)(["font-selector"]),(0,s.classNames)("font-selector")])},17860:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(63969),n=i(9348),r=i(55888),a=i(74975);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"))},17900:(e,t,i)=>{var s=i(60958);e.exports=function(e){return e&&"VirtualText"===e.type&&e.version===s}},17970:(e,t,i)=>{"use strict";i.r(t),i.d(t,{appVersion:()=>a,default:()=>o});var s=i(49938),n=i(71617),r=i(15017);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.default.APP.version,s=t.versionOnly||t.hideSha,a=t.shaOnly||t.hideVersion,o=null;return s&&(t.showExtended&&(o=i.match(r.versionExtendedRegExp)),o||(o=i.match(r.versionRegExp))),a&&(o=i.match(r.shaRegExp)),o?o[0]:i}let o=(0,s.helper)(a)},18006:(e,t,i)=>{"use strict";function s(e){return"automatic"===e.column.type}i.r(t),i.d(t,{default:()=>s})},18026:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});let{define:s,require:n}=globalThis;function r(e,t){n.has(e)||s(e,t)}},18060:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(81845),n=i(66530),r=i(58295),a=i(13744),o=i(6827);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[a.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"composer",[a.service]))();#t4=(()=>void dt7948.i(this,"composer"))();static #n=(()=>dt7948.g(this.prototype,"canEdit",[(0,r.reads)("currentUser.staff")]))();#ts=(()=>void dt7948.i(this,"canEdit"))();isCategoriesRoute(){return"discovery.categories"===this.router.currentRouteName}static #a=(()=>dt7948.n(this.prototype,"isCategoriesRoute",[o.default]))();showInserted(e){e?.preventDefault();let t=this.topicTrackingState;this.model.loadBefore(t.get("newIncoming"),!0),t.resetTracking()}static #l=(()=>dt7948.n(this.prototype,"showInserted",[n.action]))();createTopic(){this.composer.openNewTopic()}static #d=(()=>dt7948.n(this.prototype,"createTopic",[n.action]))();refresh(){this.send("triggerRefresh")}static #p=(()=>dt7948.n(this.prototype,"refresh",[n.action]))()}},18123:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u}),i(49233),i(27322),i(23260),i(17633),i(4837),i(184);var s=i(39665);i(8166),i(98710),i(81904),i(50434);var n=i(36819);i(90743),i(85333),i(99628),i(15036);var r=i(84807),a=i(73779),o=i(68762),l=i(67820);class u extends a.FrameworkObject.extend(r.default,n.default){isView=!0;_superTrigger;_superHas;init(e){super.init(e),this._superTrigger=this.trigger,this.trigger=this._trigger,this._superHas=this.has,this.has=this._has,this.parentView??=null,this._state="preRender",this._currentState=this._states.preRender}static #e=(()=>(0,l.d)(this.prototype,"renderer",[(0,s.p)("renderer","-dom")]))();#aA=(()=>void(0,l.i)(this,"renderer"))();instrumentDetails(e){return e.object=this.toString(),e.containerKey=this._debugContainerKey,e.view=this,e}_trigger(e){for(var t=arguments.length,i=Array(t>1?t-1:0),s=1;s{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(24698),n=i(58452),r=i(66530),a=i(45916),o=i(71773),l=i(57364),u=i(9348),d=i(55888);class c extends s.default{get id(){return`table-header-toggle-${this.args.field.replace(/\s/g,"")}`}get labelKey(){return this.args.automatic||this.args.translated?this.args.labelKey:this.args.field}get ariaSort(){return this.args.order===this.args.field?this.args.asc?"ascending":"descending":"none"}get chevronIcon(){if(this.args.order===this.args.field)return this.args.asc?"chevron-up":"chevron-down"}get pressedState(){return this.args.order===this.args.field?this.args.asc?"mixed":"true":"false"}get ariaLabel(){let e="";if("heart"===this.args.icon&&(e+=`${(0,l.i18n)("likes_lowercase",{count:2})} `),this.args.translated)e+=this.args.field;else{let t=this.labelKey||`directory.${this.args.field}`;e+=(0,l.i18n)(`${t}_long`,{defaultValue:(0,l.i18n)(t)})}return(0,l.i18n)("directory.sort.label",{criteria:e})}get iconName(){return this.args.icon||null}get label(){let e=this.labelKey||`directory.${this.args.field}`;return this.args.translated?this.args.field:(0,l.i18n)(e+"_long",{defaultValue:(0,l.i18n)(e)})}toggleProperties(){let e=this.args.order===this.args.field&&!this.args.asc||null;this.args.onToggle?.(this.args.field,e),(0,a.schedule)("afterRender",()=>{document.getElementById(this.id)?.focus()})}static #e=(()=>dt7948.n(this.prototype,"toggleProperties",[r.action]))();click(){this.toggleProperties()}static #i=(()=>dt7948.n(this.prototype,"click",[r.action]))();keyPress(e){"Enter"===e.key&&this.toggleProperties()}static #n=(()=>dt7948.n(this.prototype,"keyPress",[r.action]))();static #a=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"xV7JbxEN",block:'[[[1,"\\n "],[11,0],[17,1],[24,0,"directory-table__column-header sortable"],[16,"aria-sort",[30,0,["ariaSort"]]],[24,"role","columnheader"],[4,[32,0],["click",[30,0,["click"]]],null],[4,[32,0],["keypress",[30,0,["keyPress"]]],null],[12],[1,"\\n "],[10,0],[14,0,"header-contents"],[15,1,[30,0,["id"]]],[14,"role","button"],[14,"tabindex","0"],[15,"aria-label",[30,0,["ariaLabel"]]],[15,"aria-pressed",[30,0,["pressedState"]]],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,"\\n"],[41,[30,0,["iconName"]],[[[1," "],[1,[28,[32,1],[[30,0,["iconName"]]],null]],[1,"\\n"]],[]],null],[1," "],[1,[30,0,["label"]]],[1,"\\n"],[41,[30,0,["chevronIcon"]],[[[1," "],[1,[28,[32,1],[[30,0,["chevronIcon"]]],null]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["&attrs","&default"],false,["yield","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/table-header-toggle.js",scope:()=>[n.on,o.default],isStrictMode:!0}),this))()}},18191:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>S});var s=i(24698),n=i(58452),r=i(66530),a=i(13744),o=i(79401),l=i(89936),u=i(47573),d=i(7446),c=i(30459),p=i(66226),h=i(6897),m=i(95256),g=i(62112),f=i(46734),_=i(46386),y=i(95388),b=i(86232),w=i(57364),k=i(9348),T=i(55888);class S extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();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",[r.action]))();onTitleBlur(e){e.target.closest(".topic-list-item").classList.remove("selected")}static #n=(()=>dt7948.n(this.prototype,"onTitleBlur",[r.action]))();static #a=(()=>(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:()=>[o.default,_.default,m.default,c.default,n.on,y.default,p.default,h.default,g.default,f.default,u.default,l.default,d.default],isStrictMode:!0}),this))()}},18247:(e,t)=>{function i(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}var s=/javascript\s*\:/img;t.whiteList=i(),t.getDefaultWhiteList=i,t.onAttr=function(e,t,i){},t.onIgnoreAttr=function(e,t,i){},t.safeAttrValue=function(e,t){return s.test(t)?"":t}},18310:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var s=i(93229),n=i(20853),r=i(27617);function a(e){return(0,s.A)((0,n.A)(e)).left+(0,r.A)(e).scrollLeft}},18399:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(24698),n=i(4089),r=i(77374),a=i(62267),o=i(9348),l=i(55888);class u extends s.default{static controlType="radio-group";static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"Fhjsu3U8",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"form-kit__control-radio-group"],[17,1]],[["@title","@subtitle"],[[30,2],[30,3]]],[["default"],[[[[1,"\\n "],[18,6,[[28,[32,1],null,[["Radio"],[[50,[32,2],0,null,[["value","field"],[[30,4],[30,5]]]]]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","@title","@subtitle","@value","@field","&default"],false,["yield","component"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/radio-group.js",scope:()=>[r.default,n.hash,a.default],isStrictMode:!0}),this))()}},18442:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(24698),n=i(58452),r=i(78941),a=i(13744),o=i(96675),l=i(90831),u=i(79401),d=i(17659),c=i(38180),p=i(22106),h=i(71773),m=i(46386),g=i(57364),f=i(9348),_=i(55888);class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>(0,f.setComponentTemplate)((0,_.createTemplateFactory)({id:"/u09Ngp+",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\\n "],[10,1],[14,0,"date"],[12],[1,"\\n "],[1,[28,[32,5],[[30,1,["created_at"]]],[["format"],["medium"]]]],[1,"\\n "],[13],[1,"\\n\\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:()=>[h.default,r.LinkTo,c.default,u.default,m.default,d.default,l.eq,l.and,l.not,o.htmlSafe,p.default,g.i18n,n.on],isStrictMode:!0}),this))()}},18482:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(6827),n=i(37288),r=i(57364);class a extends n.default{actionTitle(e){return(0,r.i18n)(`group_histories.actions.${e}`)}static #e=(()=>dt7948.n(this.prototype,"actionTitle",[(0,s.default)("action")]))()}},18488:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(36768),n=i(13744),r=i(65677);class a extends r.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();static #n=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #a=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();get viewingOtherUserDefaultRoute(){let e=this.siteSettings.view_user_route;return(e="activity"===e?"userActivity":`user.${e}`,(0,s.getOwner)(this).lookup(`route:${e}`))?e:(console.error(`Invalid value for view_user_route '${e}'. Falling back to 'summary'.`),"user.summary")}beforeModel(){let e;e=this.currentUser?.username===this.modelFor("user").username?"userActivity":this.viewingOtherUserDefaultRoute,this.router.transitionTo(e)}}},18495:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>N});var s=i(24698),n=i(40779),r=i(4089),a=i(58452),o=i(66530),l=i(13744),u=i(96675),d=i(90831),c=i(58219),p=i(57306),h=i(44761),m=i(57922),g=i(5716),f=i(58097),_=i(52752),y=i(6816),b=i(79401),w=i(57879),k=i(41540),T=i(90557),S=i(68628),C=i(98242),A=i(46386),D=i(62807),M=i(72172),x=i(50819),E=i(46566),L=i(57364),P=i(79450),F=i(9348),I=i(55888);class N extends s.default{static #e=(()=>dt7948.g(this.prototype,"composer",[l.service]))();#t4=(()=>void dt7948.i(this,"composer"))();static #i=(()=>dt7948.g(this.prototype,"documentTitle",[l.service]))();#sg=(()=>void dt7948.i(this,"documentTitle"))();static #n=(()=>dt7948.g(this.prototype,"currentUser",[l.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #a=(()=>dt7948.g(this.prototype,"topicTrackingState",[l.service]))();#nc=(()=>void dt7948.i(this,"topicTrackingState"))();static #l=(()=>dt7948.g(this.prototype,"site",[l.service]))();#s=(()=>void dt7948.i(this,"site"))();static #d=(()=>dt7948.g(this.prototype,"loadingNew",[n.tracked]))();#aD=(()=>void dt7948.i(this,"loadingNew"))();get redirectedReason(){return this.currentUser?.user_option.redirected_to_top?.reason}get order(){return this.args.model.get("params.order")}get ascending(){return"true"===this.args.model.get("params.ascending")}get hasTopics(){return this.args.model.get("topics.length")>0}get allLoaded(){return!this.args.model.get("more_topics_url")}get latest(){return"latest"===(0,x.filterTypeForMode)(this.args.model.filter)}get top(){return"top"===(0,x.filterTypeForMode)(this.args.model.filter)}get hot(){return"hot"===(0,x.filterTypeForMode)(this.args.model.filter)}get new(){return"new"===(0,x.filterTypeForMode)(this.args.model.filter)}get unread(){return"unread"===(0,x.filterTypeForMode)(this.args.model.filter)}async showInserted(e){if(e?.preventDefault(),this.args.model.loadingBefore)return;let{topicTrackingState:t}=this;try{let e=[...t.newIncoming];await this.args.model.loadBefore(e,!0),t.clearIncoming(e)}catch(e){(0,M.popupAjaxError)(e)}}static #p=(()=>dt7948.n(this.prototype,"showInserted",[o.action]))();get showTopicsAndRepliesToggle(){return this.new&&this.currentUser?.new_new_view_enabled}get newRepliesCount(){return(this.topicTrackingState.get("messageCount"),this.currentUser?.new_new_view_enabled)?this.topicTrackingState.countUnread({categoryId:this.args.category?.id,noSubcategories:this.args.noSubcategories,tagId:this.args.tag?.id}):0}get newTopicsCount(){return(this.topicTrackingState.get("messageCount"),this.currentUser?.new_new_view_enabled)?this.topicTrackingState.countNew({categoryId:this.args.category?.id,noSubcategories:this.args.noSubcategories,tagId:this.args.tag?.id}):0}get showTopicPostBadges(){return!this.new||this.currentUser?.new_new_view_enabled}get footerMessage(){let e=this.args.model.get("topics.length");if(!this.allLoaded)return;let{category:t,tag:i}=this.args;if(t)return(0,L.i18n)("topics.bottom.category",{category:t.get("name")});{if(i)return(0,L.i18n)("topics.bottom.tag",{tag:i.id});let t=(this.args.model.get("filter")||"").split("/");if(0!==e)return(0,L.i18n)("topics.bottom."+t[0],{category:t[1]});if("new"===t[0]||"unread"===t[0])return;return(0,L.i18n)("topics.none."+t[0],{category:t[1]})}}get showEmptyFilterEducationInFooter(){let e=this.args.model.get("topics.length");if(!this.allLoaded||e>0||!this.currentUser)return!1;let t=(this.args.model.get("filter")||"").split("/"),i=t[t.length-1];return"new"===i||"unread"===i}get renderNewListHeaderControls(){return this.site.mobileView&&this.showTopicsAndRepliesToggle&&!this.args.bulkSelectEnabled}get expandGloballyPinned(){return!this.expandAllPinned}get expandAllPinned(){return this.args.tag||this.args.category}loadMore(){var e=this;(0,E.applyBehaviorTransformer)("discovery-topic-list-load-more",()=>(this.documentTitle.updateContextCount(0),this.args.model.loadMore().then(function(){let{moreTopicsUrl:t,newTopics:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i&&i.length&&e.bulkSelectHelper?.bulkSelectEnabled&&e.bulkSelectHelper.addTopics(i),t&&window.innerHeight>=document.documentElement.scrollHeight&&e.loadMore()})),{model:this.args.model})}static #m=(()=>dt7948.n(this.prototype,"loadMore",[o.action]))();static #f=(()=>(0,F.setComponentTemplate)((0,I.createTemplateFactory)({id:"lKo9ktyE",block:'[[[1,"\\n"],[41,[30,1,["canLoadMore"]],[[[1," "],[1,[32,0]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["redirectedReason"]],[[[1," "],[10,0],[14,0,"alert alert-info"],[12],[1,[30,0,["redirectedReason"]]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["sharedDrafts"]],[[[1," "],[8,[32,1],[[24,0,"shared-drafts"]],[["@listTitle","@top","@hideCategory","@category","@topics","@discoveryList"],["shared_drafts.title",[30,0,["top"]],"true",[30,2],[30,1,["sharedDrafts"]],true]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,2],null,[["@model","@incomingCount","@bulkSelectHelper"],[[30,1],[30,0,["topicTrackingState","incomingCount"]],[30,3]]],[["default"],[[[[1,"\\n"],[41,[30,0,["top"]],[[[1," "],[10,0],[14,0,"top-lists"],[12],[1,"\\n "],[8,[32,3],null,[["@period","@action","@fullDay"],[[30,4],[30,5],false]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[28,[32,4],[[30,0,["topicTrackingState","hasIncoming"]],[30,1,["loadingBefore"]]],null],[[[1," "],[10,0],[15,0,[29,["show-more ",[52,[30,0,["hasTopics"]],"has-topics"]]]],[12],[1,"\\n "],[11,3],[24,"tabindex","0"],[24,6,""],[16,0,[29,["alert alert-info clickable\\n ",[52,[30,1,["loadingBefore"]],"loading"]]]],[4,[32,5],["click",[30,0,["showInserted"]]],null],[12],[1,"\\n "],[8,[32,6],null,[["@key","@suffix","@count"],["topic_count_",[30,0,["topicTrackingState","filter"]],[28,[32,4],[[30,1,["loadingBefore"]],[30,0,["topicTrackingState","incomingCount"]]],null]]],null],[1,"\\n"],[41,[30,1,["loadingBefore"]],[[[1," "],[1,[28,[32,7],null,[["size"],["small"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]]],[1,"\\n"],[41,[30,0,["renderNewListHeaderControls"]],[[[1," "],[8,[32,8],null,[["@current","@newRepliesCount","@newTopicsCount","@changeNewListSubset"],[[30,1,["params","subset"]],[30,0,["newRepliesCount"]],[30,0,["newTopicsCount"]],[30,6]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["before-topic-list","div",[28,[32,10],null,[["category","tag"],[[30,2],[30,7]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["hasTopics"]],[[[1," "],[8,[32,1],null,[["@highlightLastVisited","@top","@hot","@showTopicPostBadges","@showPosters","@canBulkSelect","@bulkSelectHelper","@changeSort","@hideCategory","@order","@ascending","@expandGloballyPinned","@expandAllPinned","@category","@topics","@discoveryList","@focusLastVisitedTopic","@showTopicsAndRepliesToggle","@newListSubset","@changeNewListSubset","@newRepliesCount","@newTopicsCount"],[true,[30,0,["top"]],[30,0,["hot"]],[30,0,["showTopicPostBadges"]],true,[30,8],[30,3],[30,9],[30,1,["hideCategory"]],[30,0,["order"]],[30,0,["ascending"]],[30,0,["expandGloballyPinned"]],[30,0,["expandAllPinned"]],[30,2],[30,1,["topics"]],true,true,[30,0,["showTopicsAndRepliesToggle"]],[30,1,["params","subset"]],[30,6],[30,0,["newRepliesCount"]],[30,0,["newTopicsCount"]]]],null],[1,"\\n "],[8,[32,11],null,[["@action"],[[30,0,["loadMore"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[14,0,"after-topic-list-plugin-outlet-wrapper"],[12],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["after-topic-list","div",[28,[32,10],null,[["category","tag","loadingMore","canLoadMore"],[[30,2],[30,7],[30,1,["loadingMore"]],[30,1,["canLoadMore"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,"footer"],[14,0,"topic-list-bottom"],[12],[1,"\\n "],[8,[32,12],null,[["@condition"],[[30,1,["loadingMore"]]]],null],[1,"\\n"],[41,[30,0,["allLoaded"]],[[[1," "],[8,[32,9],null,[["@name","@outletArgs"],["topic-list-bottom",[28,[32,10],null,[["category","tag","allLoaded","model"],[[30,2],[30,7],[30,0,["allLoaded"]],[30,1]]]]]],[["default"],[[[[1,"\\n "],[8,[32,13],null,[["@position","@selectedTopics","@model","@showResetNew","@showDismissRead","@resetNew","@dismissRead"],["bottom",[30,3,["selected"]],[30,1],[30,10],[30,11],[30,12],[30,13]]],null],[1,"\\n\\n "],[8,[32,14],null,[["@message"],[[30,0,["footerMessage"]]]],[["messageDetails","afterMessage"],[[[[1,"\\n"],[41,[30,7],[[[1," "],[1,[28,[32,15],[[28,[32,16],["topic.browse_all_tags_or_latest"],[["basePath"],[[28,[32,17],null,null]]]]],null]],[1,"\\n"]],[]],[[[41,[30,0,["latest"]],[[[41,[30,2,["canCreateTopic"]],[[[1," "],[8,[32,18],null,[["@action","@text"],[[28,[32,19],[[30,0,["composer","openNewTopic"]],[28,[32,20],null,[["category"],[[30,2]]]]],null],"topic.suggest_create_topic"]],null],[1,"\\n"]],[]],null]],[]],[[[41,[30,0,["top"]],[[[1," "],[1,[28,[32,15],[[28,[32,16],["topic.browse_all_categories_latest_or_top"],[["basePath"],[[28,[32,17],null,null]]]]],null]],[1,"\\n "],[8,[32,21],null,[["@period","@action"],[[30,4],[30,5]]],null],[1,"\\n"]],[]],[[[41,[28,[32,22],[[28,[32,4],[[30,0,["new"]],[30,0,["unread"]]],null]],null],[[[1," "],[1,[28,[32,15],[[28,[32,16],["topic.browse_all_categories_latest"],[["basePath"],[[28,[32,17],null,null]]]]],null]],[1,"\\n "]],[]],null]],[]]]],[]]]],[]]],[1," "]],[]],[[[1,"\\n"],[41,[30,0,["showEmptyFilterEducationInFooter"]],[[[1," "],[8,[32,23],null,[["@newFilter","@unreadFilter"],[[30,0,["new"]],[30,0,["unread"]]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@model","@category","@bulkSelectHelper","@period","@changePeriod","@changeNewListSubset","@tag","@canBulkSelect","@changeSort","@showResetNew","@showDismissRead","@resetNew","@dismissRead"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/discovery/topics.js",scope:()=>[C.default,T.default,m.default,P.default,d.or,a.on,p.default,D.default,y.default,b.default,A.default,_.default,c.default,k.default,f.default,u.htmlSafe,L.i18n,S.default,h.default,r.fn,r.hash,w.default,d.not,g.default],isStrictMode:!0}),this))()}},18528:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(24698),n=i(4089),r=i(90831),a=i(11811),o=i(79401),l=i(95256),u=i(87018),d=i(62112),c=i(71773),p=i(87609),h=i(46386),m=i(18965),g=i(52716),f=i(57364),_=i(9348),y=i(55888);class b extends s.default{get url(){return this.args.urlPath?this.args.post[this.args.urlPath]:this.args.post.url}get showUserInfo(){return void 0!==this.args.showUserInfo?this.args.showUserInfo&&this.args.user:this.args.user}get topicTitle(){return this.args.titlePath?this.args.post[this.args.titlePath]:this.args.post.title}get draftTitle(){return this.args.post.title??this.args.post.data.title}get titleAriaLabel(){return this.args.titleAriaLabel?this.args.titleAriaLabel:this.args.post.post_number&&this.topicTitle?(0,f.i18n)("post_list.aria_post_number",{title:this.topicTitle,postNumber:this.args.post.post_number}):void 0}get posterName(){return(0,g.prioritizeNameInUx)(this.args.user.name)?this.args.user.name:this.args.user.username}static #e=(()=>(0,_.setComponentTemplate)((0,y.createTemplateFactory)({id:"Stld/3sD",block:'[[[1,"\\n "],[10,0],[14,0,"post-list-item__details"],[12],[1,"\\n "],[10,0],[14,0,"stream-topic-title"],[12],[1,"\\n "],[8,[32,0],null,[["@topic","@disableActions"],[[30,1],true]],null],[1,"\\n "],[10,1],[14,0,"title"],[12],[1,"\\n"],[41,[30,0,["url"]],[[[1," "],[10,3],[15,6,[28,[32,1],[[30,0,["url"]]],null]],[15,"aria-label",[30,0,["titleAriaLabel"]]],[12],[1,[30,0,["topicTitle"]]],[13],[1,"\\n"]],[]],[[[41,[30,2],[[[1," "],[8,[32,2],[[24,0,"btn-transparent draft-title"]],[["@action"],[[28,[32,3],[[30,3],[30,1]],null]]],[["default"],[[[[1,"\\n "],[1,[28,[32,4],[[30,0,["draftTitle"]],[28,[32,5],["drafts.dropdown.untitled"],null]],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[1,[30,0,["topicTitle"]]],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"post-list-item__metadata"],[12],[1,"\\n"],[41,[30,1,["category"]],[[[1," "],[10,1],[14,0,"category stream-post-category"],[12],[1,"\\n "],[1,[28,[32,6],[[30,1,["category"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[14,0,"time"],[12],[1,"\\n "],[1,[28,[32,7],[[30,1,["created_at"]]],[["leaveAgo"],["true"]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["deleted_by"]],[[[1," "],[10,1],[14,0,"delete-info"],[12],[1,"\\n "],[1,[28,[32,8],["trash-can"],null]],[1,"\\n "],[1,[28,[32,9],[[30,1,["deleted_by"]]],[["imageSize","extraClasses","ignoreTitle"],["tiny","actor","true"]]]],[1,"\\n "],[1,[28,[32,7],[[30,4,["deleted_at"]]],[["leaveAgo"],["true"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["showUserInfo"]],[[[1," "],[10,0],[14,0,"post-member-info names"],[12],[1,"\\n "],[10,1],[14,0,"name"],[12],[1,[30,0,["posterName"]]],[13],[1,"\\n\\n"],[41,[30,5,["title"]],[[[1," "],[10,1],[14,0,"user-title"],[12],[1,[30,5,["user_title"]]],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,10],null,[["@name","@outletArgs"],["post-list-additional-member-info",[28,[32,11],null,[["user","post"],[[30,5],[30,1]]]]]],null],[1,"\\n\\n"],[1," "],[8,[32,10],null,[["@name","@outletArgs"],["group-post-additional-member-info",[28,[32,11],null,[["user"],[[30,5]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@post","@isDraft","@resumeDraft","@item","@user"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post-list/item/details.js",scope:()=>[l.default,m.default,a.default,n.fn,r.or,f.i18n,d.default,p.default,c.default,u.default,o.default,h.default],isStrictMode:!0}),this))()}},18538:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(21195),n=i(62931),r=i(57364);function a(e,t){let{post:i}=t,a=i.link_counts;if(!a?.length)return;let o=new Map;e.querySelectorAll("aside.onebox").forEach(e=>{for(let t=1;t<=6;++t){let i=e.querySelectorAll(`h${t} a[href]`);if(i.length>0)return void o.set(e,i[0])}let t=e.querySelectorAll("header a[href]");t.length>0&&o.set(e,t[0])}),a.forEach(t=>{t.clicks&&!(t.clicks<1)&&e.querySelectorAll("a[href]").forEach(e=>{let i=e.getAttribute("href"),a=i===t.url;if(t.internal&&/^\/uploads\//.test(t.url)&&(a=i.includes(t.url)),t.internal&&/\?/.test(i)&&(a=i.split("?")[0]===t.url),a&&(0,s.isValidLink)(e)){let i=e.closest(".onebox");if(!i||!o.has(i)||o.get(i)===e){e.setAttribute("data-clicks",(0,n.number)(t.clicks));let i=(0,r.i18n)("post.link_clicked",{count:t.clicks}),s=`${e.textContent.trim()} ${i}`;e.setAttribute("aria-label",s)}}})})}},18575:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(9348),n=i(58452),r=i(96675),a=i(71773),o=i(55888),l=i(74975);let u=(0,s.setComponentTemplate)((0,o.createTemplateFactory)({id:"aTiNzI/H",block:'[[[1,"\\n "],[10,0],[14,0,"control-group form-template-field"],[14,"data-field-type","input"],[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__input"],[16,"placeholder",[30,1,["placeholder"]]],[16,"required",[52,[30,2,["required"]],"required",""]],[16,"pattern",[30,2,["pattern"]]],[16,"minlength",[30,2,["minimum"]]],[16,"maxlength",[30,2,["maximum"]]],[16,"disabled",[30,1,["disabled"]]],[4,[32,3],["input",[30,5]],null]],[["@value","@type"],[[30,4],[52,[30,2,["type"]],[30,2,["type"]],"text"]]],null],[1,"\\n "],[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/input.js",scope:()=>[a.default,r.htmlSafe,s.Input,n.on],isStrictMode:!0}),(0,l.default)(void 0,"input:FormTemplateFieldInput"))},18583:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(58295),n=i(27090),r=i(37288);class a extends r.default{static #e=(()=>dt7948.g(this.prototype,"hasOptions",[(0,s.gt)("options.length",0)]))();#aM=(()=>void dt7948.i(this,"hasOptions"))();static #i=(()=>dt7948.g(this.prototype,"isDefault",[(0,n.propertyEqual)("id","site.default_archetype")]))();#ax=(()=>void dt7948.i(this,"isDefault"))();static #n=(()=>dt7948.g(this.prototype,"notDefault",[(0,s.not)("isDefault")]))();#aE=(()=>void dt7948.i(this,"notDefault"))()}},18593:(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})},18761:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(96675);function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.get("fancyTitle"),n=e.linked_post_number?e.urlForPostNumber(e.linked_post_number):e.get("lastUnreadUrl"),r=["title"];return t.class&&t.class.split(" ").forEach(e=>r.push(e)),(0,s.htmlSafe)(`${i}`)}},18870:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};return e.defineLocale("kk",{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+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})})},18888:(e,t,i)=>{"use strict";var s=i(35302),n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=new s("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,i,s,a,o,l=[];for(t=0,i=e.length;t{"use strict";let s,n,r,a,o,l,u;function d(e){return(void 0===r&&g(document.querySelector('meta[name="discourse-base-uri"]')?.getAttribute("content")||""),e)?"/"!==e&&!/^\/[^\/]/.test(e)||a.test(e)?e:("/"!==e[0]&&(e="/"+e),r+e):"/"===r?"":r}function c(e){return e=d(e),s&&/^\/[^\/]/.test(e)?e=s+e:l&&e.startsWith(o)&&(e=e.replace(o,l)),e}function p(e){return n+m(e)}function h(e){return e.startsWith(n)}function m(e){return r?e.replace(a,"$1"):e}function g(e){r=e,a=RegExp(`^${r}(/|$)`)}function f(e,t,i,o){o=o||{},s=e,n=t,g(i),o?.snapshot&&(u={cdn:s,baseUri:r,baseUrl:n,configBaseUrl:t,baseUriMatcher:a})}function _(){u&&(s=u.cdn,r=u.baseUri,n=u.baseUrl,a=u.baseUriMatcher,o=u.S3BaseUrl,l=u.S3CDN)}function y(e,t,i){o=e,l=t,i?.snapshot&&((u=u||{}).S3BaseUrl=o,u.S3CDN=l)}function b(e){void 0===r&&g(document.querySelector('meta[name="discourse-base-uri"]')?.getAttribute("content")||"");let t=window.location.origin,i="/"===e[0]?r||"/":t+r||t;return e.startsWith(i)}i.r(t),i.d(t,{default:()=>d,getAbsoluteURL:()=>p,getURLWithCDN:()=>c,isAbsoluteURL:()=>h,restoreBaseUri:()=>_,samePrefix:()=>b,setPrefix:()=>g,setupS3CDN:()=>y,setupURL:()=>f,withoutPrefix:()=>m})},18990:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(66530),n=i(13744),r=i(71358),a=i(65677);class o extends a.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"router",[n.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #n=(()=>dt7948.g(this.prototype,"session",[n.service]))();#iR=(()=>void dt7948.i(this,"session"))();static #a=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();queryParams={filter:{refreshModel:!0}};beforeModel(e){let t,i=e.intent.url;if(("/"===i||"/latest"===i||"/categories"===i)&&!e.targetName.includes("discovery.top")&&this.currentUser?.get("user_option.should_be_redirected_to_top")){this.currentUser?.get("user_option.should_be_redirected_to_top",!1);let e=this.currentUser?.get("user_option.redirected_to_top.period")||"all";this.router.replaceWith("discovery.top",{queryParams:{period:e}})}else i&&(t=i.match(/top\/(.*)$/))&&this.site.periods.includes(t[1])&&this.router.replaceWith("discovery.top",{queryParams:{period:t[1]}})}clearPin(e){e.clearPin()}static #l=(()=>dt7948.n(this.prototype,"clearPin",[s.action]))();refresh(){(0,r.resetCachedTopicList)(this.session),super.refresh()}triggerRefresh(){this.refresh()}static #d=(()=>dt7948.n(this.prototype,"triggerRefresh",[s.action]))()}},18994:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(96675),n=i(18965),r=i(60882),a=i(97512),o=i(57364);class l extends a.default{userActionType=null;emptyState(){let e=this.modelFor("user"),t=(0,o.i18n)("user_activity.no_activity_title"),i="";return this.isCurrentUser(e)&&(i=(0,s.htmlSafe)((0,o.i18n)("user_activity.no_activity_body",{topUrl:(0,n.default)("/top"),categoriesUrl:(0,n.default)("/categories"),preferencesUrl:(0,n.default)("/my/preferences"),heartIcon:(0,r.iconHTML)("heart")}))),{title:t,body:i}}titleToken(){return(0,o.i18n)("user.filters.all")}}},19052:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(24698),n=i(13744),r=i(9321),a=i(9348),o=i(55888);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"toasts",[n.service]))();#t3=(()=>void dt7948.i(this,"toasts"))();static #i=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"7Pk7P/6k",block:'[[[1,"\\n "],[10,"section"],[14,0,"fk-d-toasts"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["toasts","activeToasts"]]],null]],null],null,[[[1," "],[8,[32,0],null,[["@toast"],[[30,1]]],null],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n "]],["toast"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-toasts.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},19138:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698),n=i(58452),r=i(66530),a=i(13744),o=i(22106),l=i(71773),u=i(57364),d=i(9348),c=i(55888);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#t=(()=>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 #i=(()=>dt7948.n(this.prototype,"onShowRawEmail",[r.action]))();static #n=(()=>(0,d.setComponentTemplate)((0,c.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))()}},19140:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(24698),n=i(13744),r=i(74278),a=i(89581),o=i(82286),l=i(6827),u=i(75009),d=i(46566),c=i(9348),p=i(55888);class h extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"filterQueryString",[u.resettableTracked],function(){return this.args.queryString}))();#aL=(()=>void dt7948.i(this,"filterQueryString"))();updateQueryString(e,t){this.filterQueryString=e,t&&this.args.updateTopicsListQueryParams(e)}static #n=(()=>dt7948.n(this.prototype,"updateQueryString",[l.bind]))();get showBulkSelectInNavControls(){let e=(0,d.applyValueTransformer)("bulk-select-in-nav-controls",!1,{site:this.site});return this.site.mobileView||e&&this.args.canBulkSelect}static #a=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"NJGzkHfk",block:'[[[1,"\\n "],[1,[28,[32,0],["navigation-filter"],null]],[1,"\\n\\n "],[10,"section"],[14,0,"navigation-container"],[12],[1,"\\n "],[10,0],[14,0,"topic-query-filter"],[12],[1,"\\n"],[41,[30,0,["showBulkSelectInNavControls"]],[[[1," "],[10,0],[14,0,"topic-query-filter__bulk-action-btn"],[12],[1,"\\n "],[8,[32,1],null,[["@bulkSelectHelper"],[[30,1]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,2],null,[["@onChange","@initialInputValue","@tips"],[[30,0,["updateQueryString"]],[30,0,["filterQueryString"]],[30,2]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@bulkSelectHelper","@tips"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/discovery/filter-navigation.js",scope:()=>[o.default,r.default,a.default],isStrictMode:!0}),this))()}},19165:(e,t,i)=>{"use strict";function s(){return"undefined"!=typeof window}function n(e){return o(e)?(e.nodeName||"").toLowerCase():"#document"}function r(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(o(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function o(e){return!!s()&&(e instanceof Node||e instanceof r(e).Node)}function l(e){return!!s()&&(e instanceof Element||e instanceof r(e).Element)}function u(e){return!!s()&&(e instanceof HTMLElement||e instanceof r(e).HTMLElement)}function d(e){return!!s()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof r(e).ShadowRoot)}i.d(t,{$4:()=>M,CP:()=>D,L9:()=>A,Lv:()=>m,Tc:()=>T,Tf:()=>f,ZU:()=>p,_m:()=>x,ep:()=>a,eu:()=>C,gJ:()=>k,mq:()=>n,sQ:()=>w,sb:()=>u,v9:()=>function e(t,i,s){var n;void 0===i&&(i=[]),void 0===s&&(s=!0);let a=function e(t){let i=M(t);return C(i)?t.ownerDocument?t.ownerDocument.body:t.body:u(i)&&p(i)?i:e(i)}(t),o=a===(null==(n=t.ownerDocument)?void 0:n.body),l=r(a);if(o){let t=x(l);return i.concat(l,l.visualViewport||[],p(a)?a:[],t&&s?e(t):[])}return i.concat(a,e(a,[],s))},vq:()=>l,zk:()=>r});let c=new Set(["inline","contents"]);function p(e){let{overflow:t,overflowX:i,overflowY:s,display:n}=A(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+i)&&!c.has(n)}let h=new Set(["table","td","th"]);function m(e){return h.has(n(e))}let g=[":popover-open",":modal"];function f(e){return g.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let _=["transform","translate","scale","rotate","perspective"],y=["transform","translate","scale","rotate","perspective","filter"],b=["paint","layout","strict","content"];function w(e){let t=T(),i=l(e)?A(e):e;return _.some(e=>!!i[e]&&"none"!==i[e])||!!i.containerType&&"normal"!==i.containerType||!t&&!!i.backdropFilter&&"none"!==i.backdropFilter||!t&&!!i.filter&&"none"!==i.filter||y.some(e=>(i.willChange||"").includes(e))||b.some(e=>(i.contain||"").includes(e))}function k(e){let t=M(e);for(;u(t)&&!C(t);){if(w(t))return t;if(f(t))break;t=M(t)}return null}function T(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let S=new Set(["html","body","#document"]);function C(e){return S.has(n(e))}function A(e){return r(e).getComputedStyle(e)}function D(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function M(e){if("html"===n(e))return e;let t=e.assignedSlot||e.parentNode||d(e)&&e.host||a(e);return d(t)?t.host:t}function x(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},19206:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(13744),n=i(58670),r=i(20559),a=i(72172),o=i(39960),l=i(57364);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[s.service]))();#tO=(()=>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)}}}},19260:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){"use strict";function t(e,t,i,s){var n={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",""+e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",""+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",""+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",""+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",""+e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",""+e+" ars"]};return s||t?n[i][0]:n[i][1]}return e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,i){return e>11?i?"d'o":"D'O":i?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%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:4}})})},19290:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(24698),n=i(40779),r=i(66530),a=i(75515),o=i(9348),l=i(55888);let u=class extends s.default{static #e=(()=>dt7948.g(this.prototype,"categoryId",[n.tracked],function(){return this.args.value}))();#rW=(()=>void dt7948.i(this,"categoryId"))();onChange(e){this.categoryId=e,this.args.categoryChanged?.(e)}static #i=(()=>dt7948.n(this.prototype,"onChange",[r.action]))();static #n=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"6L776xeg",block:'[[[1,"\\n "],[8,[32,0],null,[["@value","@onChange"],[[30,0,["categoryId"]],[30,0,["onChange"]]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-field-category.js",scope:()=>[a.default],isStrictMode:!0}),this))()}},19353:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(66530),n=i(45916),r=i(4830);class a extends s.default{_hashchangeHandler;_location;init(){this.location=this._location??window.location,this._hashchangeHandler=void 0}getHash(){return(0,r.getHash)(this.location)}getURL(){let e=this.getHash().substring(1),t=e;return"/"!==t[0]&&(t="/",e&&(t+=`#${e}`)),t}setURL(e){this.location.hash=e,this.lastSetURL=e}replaceURL(e){this.location.replace(`#${e}`),this.lastSetURL=e}lastSetURL=null;onUpdateURL(e){this._removeEventListener(),this._hashchangeHandler=(0,n.bind)(this,function(t){let i=this.getURL();this.lastSetURL!==i&&(this.lastSetURL=null,e(i))}),window.addEventListener("hashchange",this._hashchangeHandler)}formatURL(e){return`#${e}`}willDestroy(){this._removeEventListener()}_removeEventListener(){this._hashchangeHandler&&window.removeEventListener("hashchange",this._hashchangeHandler)}}},19371:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(24698),n=i(40779),r=i(4089),a=i(66530),o=i(30889),l=i(68269),u=i(55915),d=i(40053),c=i(32613),p=i(71773),h=i(9348),m=i(55888);class g extends s.default{static controlType="menu";static #e=(()=>dt7948.g(this.prototype,"menuApi",[n.tracked]))();#aP=(()=>void dt7948.i(this,"menuApi"))();registerMenuApi(e){this.menuApi=e}static #i=(()=>dt7948.n(this.prototype,"registerMenuApi",[a.action]))();static #n=(()=>(0,h.setComponentTemplate)((0,m.createTemplateFactory)({id:"MxdDx327",block:'[[[1,"\\n "],[8,[32,0],[[16,1,[30,1,["id"]]],[16,"data-value",[30,1,["value"]]]],[["@onRegisterApi","@triggerClass","@contentClass","@disabled","@placement","@offset","@modalForMobile"],[[30,0,["registerMenuApi"]],"form-kit__control-menu-trigger","form-kit__control-menu-content",[30,1,["disabled"]],"bottom-start",5,true]],[["trigger","content"],[[[[1,"\\n "],[10,1],[14,0,"d-button-label"],[12],[1,"\\n "],[1,[30,2]],[1,"\\n "],[13],[1,"\\n "],[1,[28,[32,1],["angle-down"],null]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,2],null,null,[["default"],[[[[1,"\\n "],[18,4,[[28,[32,3],null,[["Item","Divider","Container"],[[50,[32,4],0,null,[["item","field","menuApi"],[[30,3,["item"]],[30,1],[30,0,["menuApi"]]]]],[50,[32,5],0,null,[["divider"],[[30,3,["divider"]]]]],[32,6]]]]]],[1,"\\n "]],[3]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["@field","@selection","menu","&default"],false,["yield","component"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/menu.js",scope:()=>[o.default,p.default,l.default,r.hash,c.default,d.default,u.default],isStrictMode:!0}),this))()}},19373:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(54174);function n(e){return new s.A(e)}},19382:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(40779),n=i(81845),r=i(66530),a=i(77987);let o=class extends n.default{static #e=(()=>dt7948.g(this.prototype,"q",[s.tracked],function(){return""}))();#aF=(()=>void dt7948.i(this,"q"))();queryParams=["q"];bulkSelectHelper=(()=>new a.default(this))();get canBulkSelect(){return this.currentUser?.canManageTopic}updateTopicsListQueryParams(e){this.q=e}static #i=(()=>dt7948.n(this.prototype,"updateTopicsListQueryParams",[r.action]))()}},19441:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(9348),n=i(58452),r=i(66530),a=i(96675),o=i(6827),l=i(48297),u=i(57364),d=i(55888);class c extends s.default{secondFactorTitle(e){switch(e){case l.SECOND_FACTOR_METHODS.TOTP:case l.SECOND_FACTOR_METHODS.SECURITY_KEY:return(0,u.i18n)("login.second_factor_title");case l.SECOND_FACTOR_METHODS.BACKUP_CODE:return(0,u.i18n)("login.second_factor_backup_title")}}static #e=(()=>dt7948.n(this.prototype,"secondFactorTitle",[(0,o.default)("secondFactorMethod")]))();secondFactorDescription(e){switch(e){case l.SECOND_FACTOR_METHODS.TOTP:return(0,u.i18n)("login.second_factor_description");case l.SECOND_FACTOR_METHODS.SECURITY_KEY:return(0,u.i18n)("login.security_key_description");case l.SECOND_FACTOR_METHODS.BACKUP_CODE:return(0,u.i18n)("login.second_factor_backup_description")}}static #i=(()=>dt7948.n(this.prototype,"secondFactorDescription",[(0,o.default)("secondFactorMethod")]))();linkText(e,t){return t?e===l.SECOND_FACTOR_METHODS.TOTP?"login.second_factor_backup":"login.second_factor":e===l.SECOND_FACTOR_METHODS.TOTP?"user.second_factor_backup.use":"user.second_factor.use"}static #n=(()=>dt7948.n(this.prototype,"linkText",[(0,o.default)("secondFactorMethod","isLogin")]))();showToggleMethodLink(e,t,i){return e&&t&&i!==l.SECOND_FACTOR_METHODS.SECURITY_KEY}static #a=(()=>dt7948.n(this.prototype,"showToggleMethodLink",[(0,o.default)("backupEnabled","totpEnabled","secondFactorMethod")]))();toggleSecondFactorMethod(e){e?.preventDefault();let t=this.secondFactorMethod;this.set("secondFactorToken",""),t===l.SECOND_FACTOR_METHODS.TOTP?this.set("secondFactorMethod",l.SECOND_FACTOR_METHODS.BACKUP_CODE):this.set("secondFactorMethod",l.SECOND_FACTOR_METHODS.TOTP)}static #l=(()=>dt7948.n(this.prototype,"toggleSecondFactorMethod",[r.action]))();static #d=(()=>(0,s.setComponentTemplate)((0,d.createTemplateFactory)({id:"u54FRV8D",block:'[[[1,"\\n "],[10,0],[14,1,"second-factor"],[12],[1,"\\n "],[10,"h3"],[12],[1,[30,0,["secondFactorTitle"]]],[13],[1,"\\n\\n"],[41,[30,0,["optionalText"]],[[[1," "],[10,2],[12],[1,[28,[32,0],[[30,0,["optionalText"]]],null]],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,2],[14,0,"second-factor__description"],[12],[1,[30,0,["secondFactorDescription"]]],[13],[1,"\\n\\n "],[18,1,null],[1,"\\n\\n"],[41,[30,0,["showToggleMethodLink"]],[[[1," "],[10,2],[12],[1,"\\n "],[11,3],[24,6,""],[24,0,"toggle-second-factor-method"],[4,[32,1],["click",[30,0,["toggleSecondFactorMethod"]]],null],[12],[1,[28,[32,2],[[30,0,["linkText"]]],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/second-factor-form.js",scope:()=>[a.htmlSafe,n.on,u.i18n],isStrictMode:!0}),this))()}},19543:(e,t,i)=>{var s=i(74376),n=i(8528),r=i(26435),a=i(17900),o=i(27189),l=i(7505),u=i(97363),d=i(29720);function c(e,t){var i={a:e};return function e(t,i,s,u){if(t!==i){var c=s[u],_=!1;if(l(t)||l(i))h(t,i,s,u);else if(null==i)o(t)||(p(t,s,u),c=s[u]),c=f(c,new n(n.REMOVE,t,i));else if(r(i))if(r(t))if(t.tagName===i.tagName&&t.namespace===i.namespace&&t.key===i.key){var y=d(t.properties,i.properties);y&&(c=f(c,new n(n.PROPS,t,y))),c=function(t,i,s,a,o){for(var l=t.children,u=function(e,t){var i,s=g(t),n=s.keys,r=s.free;if(r.length===t.length)return{children:t,moves:null};var a=g(e),o=a.keys;if(a.free.length===e.length)return{children:t,moves:null};for(var l=[],u=0,d=r.length,c=0,p=0;p=r.length?t.length:r[u],y=0;y=_&&l.push(b)}var w=l.slice(),k=0,T=[],S=[],C=t.length-e.length;if(C>0&&w.length===t.length){for(var A=!0,p=0;A&&pp?c:p,_=0;_{"use strict";i.r(t),i.d(t,{on:()=>s});let s=i(96131).on},19630:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(9348),n=i(74975),r=i(55888);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"))},19651:(e,t,i)=>{"use strict";i.r(t),i.d(t,{extendColorSchemeCookies:()=>h,listColorSchemes:()=>l,loadColorSchemeStylesheet:()=>u,updateColorSchemeCookie:()=>p});var s=i(20559),n=i(64119),r=i(99307),a=i(42856),o=i(57364);function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.get("user_color_schemes");if(!i||!Array.isArray(i))return null;let s=[];t.darkOnly||(i=i.sort((e,t)=>Number(e.is_dark)-Number(t.is_dark))),i.forEach(e=>{(t.darkOnly&&e.is_dark||!t.darkOnly)&&s.push({name:e.name,id:e.id,theme_id:e.theme_id,colors:e.colors,is_dark:e.is_dark})});let n=e.get("default_light_color_scheme"),r=e.get("default_dark_color_scheme");return s.unshift({id:-1,name:`${(0,o.i18n)("user.color_schemes.default_description")}`,colors:t.darkOnly?r?.colors||[]:n?.colors||[]}),0===s.length?null:s}function u(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t?`/${t}`:"";return(0,s.ajax)(`/color-scheme-stylesheet/${e}${n}.json`).then(e=>{if(e&&e.new_href){let t=i?"cs-preview-dark":"cs-preview-light",s=document.querySelector(`link#${t}`);if(s)s.href=e.new_href;else{let s=document.createElement("link");s.href=e.new_href,s.media=i?"(prefers-color-scheme: dark)":"(prefers-color-scheme: light)",s.rel="stylesheet",s.id=t,document.body.appendChild(s)}i||(0,r.default)(()=>{let e=getComputedStyle(document.body).getPropertyValue("--scheme-type");a.default.currentProp("defaultColorSchemeIsDark","dark"===e.trim())},500)}})}let d="color_scheme_id",c="dark_scheme_id";function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.dark?c:d;e?(0,n.default)(i,e,{path:"/",expires:365}):(0,n.removeCookie)(i,{path:"/"})}function h(){for(let e of[d,c]){let t=(0,n.default)(e);t&&(0,n.default)(e,t,{path:"/",expires:365})}}},19690:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n}),i(66530),i(23260),i(40084);var s=i(39665);function n(e){let t=e.__container__.lookup("router:main");return(0,s.g)(t,"location").getURL()}i(49233),i(27322),i(17633),i(4837),i(184),i(8166)},19766:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>T});var s=i(4089),n=i(58452),r=i(90098),a=i(11811),o=i(97858),l=i(51492),u=i(19441),d=i(87331),c=i(72399),p=i(52445),h=i(82286),m=i(71773),g=i(5852),f=i(91765),_=i(38858),y=i(57364),b=i(9348),w=i(55888),k=i(74975);let T=(0,r.default)((0,b.setComponentTemplate)((0,w.createTemplateFactory)({id:"XqdVI+V9",block:'[[[1,"\\n "],[1,[28,[32,0],["password-reset-page"],null]],[1,"\\n "],[1,[32,1]],[1,"\\n "],[1,[28,[32,2],["search","login","signup","menu"],null]],[1,"\\n "],[10,0],[14,0,"container password-reset clearfix"],[12],[1,"\\n "],[10,"form"],[14,0,"change-password-form login-left-side"],[12],[1,"\\n"],[41,[30,1,["successMessage"]],[[[1," "],[10,2],[12],[1,[30,1,["successMessage"]]],[13],[1,"\\n\\n"],[41,[30,1,["requiresApproval"]],[[[1," "],[10,2],[12],[1,[28,[32,3],["login.not_approved"],null]],[13],[1,"\\n"]],[]],[[[41,[51,[30,1,["redirected"]]],[[[1," "],[11,3],[24,0,"btn"],[16,6,[30,1,["redirectHref"]]],[4,[32,4],["click",[30,1,["done"]]],null],[12],[1,[30,1,["continueButtonText"]]],[13],[1,"\\n"]],[]],null]],[]]]],[]],[[[41,[30,1,["securityKeyOrSecondFactorRequired"]],[[[1," "],[10,"h2"],[12],[1,[28,[32,3],["user.change_password.title"],null]],[13],[1,"\\n "],[10,2],[12],[1,"\\n "],[1,[28,[32,3],["user.change_password.verify_identity"],null]],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["errorMessage"]],[[[1," "],[10,0],[14,0,"alert alert-error"],[12],[1,[30,1,["errorMessage"]]],[13],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["displaySecurityKeyForm"]],[[[1," "],[8,[32,5],null,[["@setSecondFactorMethod","@backupEnabled","@totpEnabled","@otherMethodAllowed","@action"],[[28,[32,6],[[28,[31,2],[[30,1,["selectedSecondFactorMethod"]]],null]],null],[30,1,["backupEnabled"]],[30,1,["secondFactorRequired"]],[30,1,["otherMethodAllowed"]],[30,1,["authenticateSecurityKey"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,7],null,[["@secondFactorMethod","@secondFactorToken","@backupEnabled","@totpEnabled","@isLogin"],[[30,1,["selectedSecondFactorMethod"]],[30,1,["secondFactorToken"]],[30,1,["backupEnabled"]],[30,1,["secondFactorRequired"]],false]],[["default"],[[[[1,"\\n "],[8,[32,8],[[16,2,[30,1,["secondFactorToken"]]],[24,1,"second-factor"],[4,[32,4],["input",[28,[32,9],[[28,[32,6],[[28,[31,2],[[30,1,["secondFactorToken"]]],null]],null]],null]],null]],[["@secondFactorMethod"],[[30,1,["selectedSecondFactorMethod"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1,"\\n"],[41,[51,[30,1,["displaySecurityKeyForm"]]],[[[1," "],[8,[32,10],[[24,0,"btn-primary"],[24,4,"submit"]],[["@isLoading","@action","@label"],[[30,1,["isLoading"]],[30,1,["submit"]],"submit"]],null],[1,"\\n"]],[]],null]],[]],[[[1," "],[10,"h2"],[12],[1,[28,[32,3],["user.change_password.choose_new"],null]],[13],[1,"\\n"],[41,[30,1,["errorMessage"]],[[[1," "],[10,0],[14,0,"alert alert-error"],[12],[1,[30,1,["errorMessage"]]],[13],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"input"],[12],[1,"\\n "],[8,[32,11],[[24,"autofocus","autofocus"],[24,"autocomplete","new-password"],[24,1,"new-account-password"],[16,4,[52,[30,1,["maskPassword"]],"password","text"]]],[["@value","@capsLockOn"],[[30,1,["accountPassword"]],[30,1,["capsLockOn"]]]],null],[1,"\\n "],[10,0],[14,0,"change-password__password-info"],[12],[1,"\\n "],[10,0],[14,0,"change-password_tip-validation"],[12],[1,"\\n"],[41,[30,1,["showPasswordValidation"]],[[[1," "],[8,[32,12],null,[["@validation"],[[30,1,["passwordValidation"]]]],null],[1,"\\n"]],[]],null],[1," "],[10,0],[15,0,[29,["caps-lock-warning\\n ",[52,[51,[30,1,["capsLockOn"]]],"hidden"]]]],[12],[1,"\\n "],[1,[28,[32,13],["triangle-exclamation"],null]],[1,"\\n "],[1,[28,[32,3],["login.caps_lock_warning"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,14],null,[["@maskPassword","@togglePasswordMask"],[[30,1,["maskPassword"]],[30,1,["togglePasswordMask"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,10],[[24,0,"btn-primary"],[24,4,"submit"]],[["@isLoading","@action","@label"],[[30,1,["isLoading"]],[30,1,["submit"]],"user.change_password.set_password"]],null],[1,"\\n"]],[]]]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,["if","unless","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/password-reset.js",scope:()=>[h.default,f.default,g.default,y.i18n,n.on,c.default,s.fn,u.default,d.default,_.default,a.default,l.default,o.default,m.default,p.default],isStrictMode:!0}),(0,k.default)(void 0,void 0)))},19788:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(40779),n=i(81845),r=i(66530),a=i(72172),o=i(57364);let l=class extends n.default{static #e=(()=>dt7948.g(this.prototype,"saved",[s.tracked],function(){return!1}))();#aI=(()=>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 #i=(()=>dt7948.n(this.prototype,"save",[r.action]))()}},19801:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(4089),n=i(96675),r=i(90098),a=i(79401),o=i(21086),l=i(82286),u=i(9348),d=i(55888),c=i(74975);let p=(0,r.default)((0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"lV/Kh6d4",block:'[[[1,"\\n "],[1,[28,[32,0],[[28,[32,1],["static-",[30,1,["model","path"]]],null]],null]],[1,"\\n\\n "],[10,"section"],[14,0,"container"],[12],[1,"\\n "],[8,[32,2],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"contents clearfix body-page"],[12],[1,"\\n "],[8,[32,3],null,[["@name"],["above-static"]],null],[1,"\\n "],[1,[28,[32,4],[[30,1,["model","html"]]],null]],[1,"\\n "],[8,[32,3],null,[["@name"],["below-static"]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/faq.js",scope:()=>[l.default,s.concat,o.default,a.default,n.htmlSafe],isStrictMode:!0}),(0,c.default)(void 0,void 0)))},19856:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698),n=i(40779),r=i(66530),a=i(58219),o=i(52752),l=i(74354),u=i(98242),d=i(72172),c=i(57364),p=i(9348),h=i(55888);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"loading",[n.tracked],function(){return!1}))();#ik=(()=>void dt7948.i(this,"loading"))();static #i=(()=>dt7948.g(this.prototype,"canLoadMore",[n.tracked],function(){return!0}))();#aN=(()=>void dt7948.i(this,"canLoadMore"))();static #n=(()=>dt7948.g(this.prototype,"emptyText",[n.tracked],function(){return this.args.emptyText||(0,c.i18n)("post_list.empty")}))();#aO=(()=>void dt7948.i(this,"emptyText"))();async loadMore(){if(this.canLoadMore&&!this.loading&&void 0!==this.args.fetchMorePosts){this.loading=!0;try{let e=await this.args.fetchMorePosts();this.args.posts?.addObjects(e),0===e.length&&(this.canLoadMore=!1)}catch(e){(0,d.popupAjaxError)(e)}finally{this.loading=!1}}}static #a=(()=>dt7948.n(this.prototype,"loadMore",[r.action]))();static #l=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"3Tl1AUMV",block:'[[[1,"\\n"],[41,[30,0,["canLoadMore"]],[[[1," "],[1,[32,0]],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,1],null,[["@action"],[[30,0,["loadMore"]]]],[["default"],[[[[1,"\\n "],[11,0],[24,0,"post-list"],[17,1],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,2]],null]],null],null,[[[1," "],[8,[32,2],null,[["@post","@idPath","@urlPath","@titlePath","@usernamePath","@additionalItemClasses","@titleAriaLabel","@showUserInfo","@resumeDraft","@removeDraft"],[[30,3],[30,4],[30,5],[30,6],[30,7],[30,8],[30,9],[30,10],[30,11],[30,12]]],[["abovePostItemHeader","belowPostItemMetaData","abovePostItemExcerpt","belowPostItem"],[[[[1,"\\n "],[18,13,[[30,3]]],[1,"\\n "]],[]],[[[1,"\\n "],[18,14,[[30,3]]],[1,"\\n "]],[]],[[[1,"\\n "],[18,15,[[30,3]]],[1,"\\n "]],[]],[[[1,"\\n "],[18,16,[[30,3]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[3]],[[[1," "],[10,0],[14,0,"post-list__empty-text"],[12],[1,[30,0,["emptyText"]]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[8,[32,3],null,[["@condition"],[[30,0,["loading"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","@posts","post","@idPath","@urlPath","@titlePath","@usernamePath","@additionalItemClasses","@titleAriaLabel","@showUserInfo","@resumeDraft","@removeDraft","&abovePostItemHeader","&belowPostItemMetaData","&abovePostItemExcerpt","&belowPostItem"],false,["if","each","-track-array","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post-list/index.js",scope:()=>[u.default,o.default,l.default,a.default],isStrictMode:!0}),this))()}},19896:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(65677);class n extends s.default{}},19932:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(66530),n=i(23286),r=i(20559),a=i(27090),o=i(45240);class l extends s.default{loaded=!1;itemsLoaded=0;canLoadMore=!0;content=[];static #e=(()=>dt7948.g(this.prototype,"url",[(0,a.url)("user.username_lower","filter","itemsLoaded","/posts/%@/%@?offset=%@")]))();#aj=(()=>void dt7948.i(this,"url"))();filterBy(e){return this.loaded&&this.filter===e.filter?n.Promise.resolve():(this.setProperties(Object.assign({itemsLoaded:0,content:[],lastLoadedUrl:null},e)),this.findItems())}findItems(){return this.loading||!this.canLoadMore?n.Promise.reject():(this.set("loading",!0),(0,r.ajax)(this.url).then(e=>{if(e){let t=e.map(e=>o.default.create(e));this.content.pushObjects(t),this.setProperties({loaded:!0,itemsLoaded:this.itemsLoaded+t.length,canLoadMore:t.length>0})}}).finally(()=>this.set("loading",!1)))}}},19988:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(4089),n=i(58452),r=i(90831),a=i(91694),o=i(44792),l=i(9348),u=i(55888),d=i(74975);let c=(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"KjqHsv7p",block:'[[[1,"\\n"],[44,[[28,[32,0],null,null]],[[[1," "],[8,[32,1],[[24,0,"form-kit__control-radio-label"]],[["@fieldId"],[[30,1]]],[["default"],[[[[1,"\\n "],[11,"input"],[16,1,[30,1]],[16,2,[30,2]],[16,"checked",[28,[32,2],[[30,2],[30,3]],null]],[24,0,"form-kit__control-radio"],[24,4,"radio"],[4,[32,3],["change",[28,[32,4],[[30,4],[30,2]],null]],null],[12],[13],[1,"\\n\\n "],[10,1],[12],[18,5,null],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[1]]]],["uuid","@name","@activeName","@setCondition","&default"],false,["let","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/conditional-content/condition.js",scope:()=>[o.default,a.default,r.eq,n.on,s.fn],isStrictMode:!0}),(0,d.default)(void 0,"condition:FKControlConditionalContentOption"))},19995:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(24698),n=i(40779),r=i(66530),a=i(11811),o=i(22106),l=i(20559),u=i(9348),d=i(55888);class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"expanded",[n.tracked],function(){return!1}))();#nV=(()=>void dt7948.i(this,"expanded"))();loading=!1;async toggleItem(){if(!this.loading){if(this.expanded){this.expanded=!1,this.args.item.set("expandedExcerpt",null);return}this.loading=!0;try{let e=await (0,l.ajax)(`/posts/by_number/${this.args.item.topic_id}/${this.args.item.post_number}.json`);this.expanded=!0,this.args.item.set("expandedExcerpt",e.cooked)}finally{this.loading=!1}}}static #i=(()=>dt7948.n(this.prototype,"toggleItem",[r.action]))();static #n=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"m1wRDXPI",block:'[[[1,"\\n"],[41,[30,1,["truncated"]],[[[1," "],[8,[32,0],[[16,0,[28,[32,1],["btn-transparent",[52,[30,0,["expanded"]],"collapse-item","expand-item"]],null]]],[["@action","@icon","@title"],[[30,0,["toggleItem"]],[52,[30,0,["expanded"]],"chevron-up","chevron-down"],"post.expand_collapse"]],null],[1,"\\n"]],[]],null],[1," "]],["@item"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/expand-post.js",scope:()=>[a.default,o.default],isStrictMode:!0}),this))()}},20059:(e,t,i)=>{"use strict";i.r(t),i.d(t,{a:()=>l,s:()=>u});var s=i(54048),n=i(57078);i(23260);var r=i(56625),a=i(96131),o=i(67129);function l(e){e.register("service:-dom-builder",{create(e){switch((0,n.getOwner)(e).lookup("-environment:main")._renderMode){case"serialize":return o.serializeBuilder.bind(null);case"rehydrate":return a.rehydrationBuilder.bind(null);default:return a.clientBuilder.bind(null)}}}),e.register((0,s.p)`template:-root`,r.R),e.register("renderer:-dom",r.b)}function u(e){e.optionsForType("template",{instantiate:!1}),e.register("view:-outlet",r.O),e.register("template:-outlet",r.c),e.optionsForType("helper",{instantiate:!1}),e.register("component:input",r.I),e.register("component:link-to",r.L),e.register("component:textarea",r.T)}},20184:(e,t,i)=>{"use strict";i.r(t),i.d(t,{failedCache:()=>n,localCache:()=>s,lookupCache:()=>d,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 d(e){return s[u(e)]?.outerHTML}},20228:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(90098),n=i(35352),r=i(13381),a=i(9348),o=i(55888),l=i(74975);let u=(0,s.default)((0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"DlZwJIqF",block:'[[[1,"\\n "],[10,"form"],[14,0,"groups-form form-vertical"],[12],[1,"\\n "],[8,[32,0],null,[["@model","@disableSave"],[[30,1,["model"]],[30,1,["saving"]]]],null],[1,"\\n "],[8,[32,1],null,[["@model","@saving"],[[30,1,["model"]],[30,1,["saving"]]]],null],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group/manage/profile.js",scope:()=>[r.default,n.default],isStrictMode:!0}),(0,l.default)(void 0,void 0)))},20236:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c,defaultRenderTag:()=>d,replaceTagRenderer:()=>u});var s=i(22710),n=i(18965),r=i(51852),a=i(34057),o=i(48297);let l=d;function u(e){l=e}function d(e,t){let i,l=(0,r.helperContext)().siteSettings;t=t||{};let u=(0,a.escapeExpression)(e);e=u.toLowerCase();let d=["discourse-tag"],c=t.tagName||"a";if("a"===c&&!t.noHref)if((t.isPrivateMessage||t.pmOnly)&&o.default.current()){let s=t.tagsForUser?t.tagsForUser:o.default.current().username;i=`/u/${s}/messages/tags/${e}`}else i=`/tag/${e}`;let p=i?` href='${(0,n.default)(i)}' `:"";(l.tag_style||t.style)&&d.push(t.style||l.tag_style),t.extraClass&&d.push(t.extraClass),t.size&&d.push(t.size);let h=t.description&&t.description.replace(/<.+?>/g,""),m="<"+c+p+" data-tag-name="+e+(t.description?' title="'+(0,s.default)(h)+'" ':"")+" class='"+d.join(" ")+"'>"+(t.displayName?(0,s.default)(t.displayName):u)+"";return t.count&&(m+=" x"+t.count+""),m}function c(e,t){return l(e,t)}},20336:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(24698),n=i(13744),r=i(48353),a=i(62931),o=i(46337),l=i(9348),u=i(55888);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();get until(){if(!this.args.status.ends_at)return;let e=this.currentUser?this.currentUser.user_option?.timezone:moment.tz.guess();return(0,a.until)(this.args.status.ends_at,e,this.currentUser?.locale)}static #i=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"r8exp+7r",block:'[[[1,"\\n"],[41,[30,1],[[[1," "],[8,[32,0],[[24,0,"user-status-message"],[17,2]],[["@identifier"],["user-status-message-tooltip"]],[["trigger","content"],[[[[1,"\\n "],[1,[28,[32,1],[[30,1,["emoji"]]],[["skipTitle"],[true]]]],[1,"\\n"],[41,[30,3],[[[1," "],[10,1],[14,0,"user-status-message-description"],[12],[1,"\\n "],[1,[30,1,["description"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]],[[[1,"\\n "],[1,[28,[32,1],[[30,1,["emoji"]]],[["skipTitle"],[true]]]],[1,"\\n "],[10,0],[14,0,"user-status-tooltip-wrapper"],[12],[1,"\\n "],[10,1],[14,0,"user-status-tooltip-description"],[12],[1,"\\n "],[1,[30,1,["description"]]],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["until"]],[[[1," "],[10,1],[14,0,"user-status-tooltip-until"],[12],[1,"\\n "],[1,[30,0,["until"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],["@status","&attrs","@showDescription"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-status-message.js",scope:()=>[o.default,r.default],isStrictMode:!0}),this))()}},20373:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>P});var s=i(9348),n=i(4089),r=i(66530),a=i(58295),o=i(36768),l=i(1848),u=i(90831),d=i(99922),c=i(11811),p=i(68269),h=i(76587),m=i(79401),g=i(73727),f=i(56871),_=i(22106),y=i(71773),b=i(46386),w=i(6827),k=i(45824),T=i(53749),S=i(80872),C=i(99577),A=i(57364),D=i(75443),M=i(82798),x=i(51719),E=i(55888);function L(e,t){return e.bind(t)}let P=dt7948.c(class extends s.default{elementId="topic-footer-buttons";role="region";static #e=(()=>dt7948.g(this.prototype,"inlineButtons",[(0,T.getTopicFooterButtons)()]))();#aR=(()=>void dt7948.i(this,"inlineButtons"))();static #i=(()=>dt7948.g(this.prototype,"inlineDropdowns",[(0,S.getTopicFooterDropdowns)()]))();#aU=(()=>void dt7948.i(this,"inlineDropdowns"))();static #n=(()=>dt7948.g(this.prototype,"canSendPms",[(0,a.alias)("currentUser.can_send_private_messages")]))();#aB=(()=>void dt7948.i(this,"canSendPms"))();static #a=(()=>dt7948.g(this.prototype,"canInviteTo",[(0,a.alias)("topic.details.can_invite_to")]))();#aH=(()=>void dt7948.i(this,"canInviteTo"))();static #l=(()=>dt7948.g(this.prototype,"canDefer",[(0,a.alias)("currentUser.user_option.enable_defer")]))();#aY=(()=>void dt7948.i(this,"canDefer"))();static #d=(()=>dt7948.g(this.prototype,"inviteDisabled",[(0,a.or)("topic.archived","topic.closed","topic.deleted")]))();#aq=(()=>void dt7948.i(this,"inviteDisabled"))();canArchive(e,t){return e&&t}static #p=(()=>dt7948.n(this.prototype,"canArchive",[(0,w.default)("canSendPms","topic.isPrivateMessage")]))();get inlineActionables(){return this.inlineButtons.filterBy("dropdown",!1).filterBy("anonymousOnly",!1).concat(this.inlineDropdowns).sortBy("priority").reverse()}static #m=(()=>dt7948.n(this.prototype,"inlineActionables",[(0,r.computed)("inlineButtons.[]","inlineDropdowns.[]")]))();get topicBookmarkManager(){return new C.default((0,o.getOwner)(this),this.topic)}static #f=(()=>dt7948.n(this.prototype,"topicBookmarkManager",[(0,r.computed)("topic")]))();dropdownButtons(e){return e.filter(e=>e.dropdown)}static #y=(()=>dt7948.n(this.prototype,"dropdownButtons",[(0,w.default)("inlineButtons.[]","topic.assigned_to_user")]))();loneDropdownButton(e){return 1===e.length?e[0]:null}static #v=(()=>dt7948.n(this.prototype,"loneDropdownButton",[(0,w.default)("dropdownButtons.[]")]))();showNotificationsButton(e){return!e||this.canSendPms}static #k=(()=>dt7948.n(this.prototype,"showNotificationsButton",[(0,w.default)("topic.isPrivateMessage")]))();showNotificationUserTip(e){return e>=k.NotificationLevels.TRACKING}static #S=(()=>dt7948.n(this.prototype,"showNotificationUserTip",[(0,w.default)("topic.details.notification_level")]))();archiveIcon(e){return e?"envelope":"folder"}static #A=(()=>dt7948.n(this.prototype,"archiveIcon",[(0,w.default)("topic.message_archived")]))();archiveTitle(e){return e?"topic.move_to_inbox.help":"topic.archive_message.help"}static #M=(()=>dt7948.n(this.prototype,"archiveTitle",[(0,w.default)("topic.message_archived")]))();archiveLabel(e){return e?"topic.move_to_inbox.title":"topic.archive_message.title"}static #E=(()=>dt7948.n(this.prototype,"archiveLabel",[(0,w.default)("topic.message_archived")]))();showBookmarkLabel(e){return!e}static #P=(()=>dt7948.n(this.prototype,"showBookmarkLabel",[(0,w.default)("topic.isPrivateMessage")]))();static #I=(()=>(0,s.setComponentTemplate)((0,E.createTemplateFactory)({id:"8w6hxbQ3",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,16],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,16],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,17],null,[["@id","@triggerSelector","@titleText","@contentText","@priority"],["topic_notification_levels",".notifications-button-footer details",[28,[32,18],["user_tips.topic_notification_levels.title"],null],[28,[32,18],["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,16],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:()=>[g.default,u.eq,d.default,c.default,n.concat,_.default,D.default,L,n.hash,u.gt,x.default,y.default,p.default,h.default,M.default,m.default,b.default,f.default,A.i18n],isStrictMode:!0}),this))()},[(0,l.attributeBindings)("role")])},20413:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(66530),n=i(57364);class r{constructor(e,t){this.id=e,this._key=t}get name(){return(0,n.i18n)(`trust_levels.names.${this._key}`)}static #e=(()=>dt7948.n(this.prototype,"name",[s.computed]))();get detailedName(){return(0,n.i18n)("trust_levels.detailed_name",{level:this.id,name:this.name})}static #i=(()=>dt7948.n(this.prototype,"detailedName",[s.computed]))()}},20559:(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(45916),a=i(30587),o=i.n(a),l=i(23286),u=i(99148),d=i(18965),c=i(78390),p=i(42856),h=i(95357),m=i(48297);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,d.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,c.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,d.default)("/clicks/track")&&!p.default.currentProp("csrfToken")?(e,t)=>{i=C().then(()=>{a(e,t)})}:a)).abort=()=>{i&&i.abort()},s}},20640:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(81845),n=i(66530),r=i(13744);class a extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#tH=(()=>void dt7948.i(this,"router"))();newTagGroup(){this.router.transitionTo("tagGroups.new")}static #i=(()=>dt7948.n(this.prototype,"newTagGroup",[n.action]))()}},20652:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(1848),n=i(70239),r=i.n(n),a=i(24097),o=i(9348),l=i(55888);let u=dt7948.c(class extends a.default{static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"VvAOei5t",block:'[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["icons"]]],null]],null],null,[[[1," "],[1,[28,[32,0],[[30,1]],[["translatedTitle"],[[30,0,["dasherizedTitle"]]]]]],[1,"\\n"]],[1]],null],[1,"\\n "],[10,1],[14,0,"name"],[12],[1,"\\n "],[1,[30,0,["label"]]],[1,"\\n "],[13],[1,"\\n "]],["i"],false,["each","-track-array"]]',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-create-row.js",scope:()=>[r()],isStrictMode:!0}),this))()},[(0,s.classNames)("create")])},20677:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d,registerWidgetShim:()=>c});var s=i(184),n=i(40779),r=i(9348),a=i(74975);i(23260);var o=i(55751),l=i(23419);let u=Symbol("RENDER_GLIMMER_INITIAL_CLASSES");class d{constructor(e,t,i,s){this.renderInto=t,e&&(this.widget=e),this.template=i,this.data=s}init(){if(this.renderInto instanceof Element)this.element=this.renderInto;else{let[e,...t]=this.renderInto.split(".");this.element=document.createElement(e),this.element.classList.add(...t),this.element[u]=t}return this.connectComponent(),this.element}destroy(){this._componentInfo&&this.parentMountWidgetComponent.unmountChildComponent(this._componentInfo)}update(e){return e.template.__id!==this.template.__id||e.renderInto!==this.renderInto?(e.destroy(),this.init()):(this._componentInfo=e._componentInfo,e.data!==this.data&&(this._componentInfo.data=this.data),null)}connectComponent(){let e,{element:t,template:i}=this;(0,s.hasInternalComponentManager)(i)?e=i:((e=(0,a.default)(void 0,void 0)).name="Widgets/RenderGlimmer",(0,r.setComponentTemplate)(i,e)),this._componentInfo=new p({element:t,component:e,data:this.data,setWrapperElementAttrs:e=>this.updateElementAttrs(t,e)}),this.parentMountWidgetComponent.mountChildComponent(this._componentInfo)}updateElementAttrs(e,t){for(let[i,s]of Object.entries(t))"class"===i&&(s=[e[u],s].filter(Boolean).join(" ")),[null,void 0].includes(s)?e.removeAttribute(i):e.setAttribute(i,s)}get parentMountWidgetComponent(){if(this._emberView)return this._emberView;let e=this.widget;for(;e;){let t=e._emberView;if(t)return t;e=e.parentWidget||e.attrs._postCookedWidget}}}function c(e,t,i){if((0,o.getOwnerWithFallback)(this)?.lookup("service:site-settings")?.deactivate_widgets_rendering)return void(0,l.warnWidgetsDeprecation)(`Widgets are deactivated and shims can't be registered. Your site may not work properly. Affected widget: ${e}.`);(0,l.warnWidgetsDeprecation)(`Using \`registerWidgetShim\` is deprecated and will soon stop working. Affected widgetShim: ${e}.`);let s=class extends d{constructor(e){return super(null,t,i,e),this}get widget(){return this.parentWidget}didRenderWidget(){}willRerenderWidget(){}};(0,l.createWidgetFrom)(s,e,{})}d.prototype.type="Widget";class p{static #e=(()=>dt7948.g(this.prototype,"data",[n.tracked]))();#a$=(()=>void dt7948.i(this,"data"))();element;component;setWrapperElementAttrs;constructor(e){Object.assign(this,e)}}},20710:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>A});var s=i(9348),n=i(4089),r=i(66530),a=i(96675),o=i(1848),l=i(90831),u=i(11811),d=i(19995),c=i(79401),p=i(95256),h=i(87018),m=i(62112),g=i(71773),f=i(87609),_=i(46386),y=i(98320),b=i(27090),w=i(6827),k=i(43952),T=i(86232),S=i(58658),C=i(55888);let A=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"moderatorAction",[(0,b.propertyEqual)("item.post_type","site.post_types.moderator_action")]))();#az=(()=>void dt7948.i(this,"moderatorAction"))();static #i=(()=>dt7948.g(this.prototype,"actionDescription",[(0,S.actionDescription)("item.action_code","item.created_at","item.action_code_who","item.action_code_path")]))();#aV=(()=>void dt7948.i(this,"actionDescription"))();constructor(){super(...arguments),(0,k.default)(" component is deprecated. Use or component to render a post list instead.",{since:"3.4.0.beta4",dropFrom:"3.5.0.beta1",id:"discourse.user-stream-item"})}get hidden(){return this.get("item.hidden")&&!(this.currentUser&&this.currentUser.staff)}static #n=(()=>dt7948.n(this.prototype,"hidden",[(0,r.computed)("item.hidden")]))();userUrl(e,t){return(0,T.userPath)((e||t).toLowerCase())}static #a=(()=>dt7948.n(this.prototype,"userUrl",[(0,w.default)("item.draft_username","item.username")]))();static #l=(()=>(0,s.setComponentTemplate)((0,C.createTemplateFactory)({id:"KVrRBtr6",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["user-stream-item-above",[28,[32,1],null,[["item"],[[30,1]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"user-stream-item__header info"],[12],[1,"\\n "],[10,3],[15,6,[30,0,["userUrl"]]],[15,"data-user-card",[28,[32,2],[[30,1,["draft_username"]],[30,1,["username"]]],null]],[14,0,"avatar-link"],[12],[1,"\\n "],[10,0],[14,0,"avatar-wrapper"],[12],[1,"\\n "],[1,[28,[32,3],[[30,1]],[["imageSize","extraClasses","ignoreTitle"],["large","actor","true"]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"user-stream-item__details"],[12],[1,"\\n "],[10,0],[14,0,"stream-topic-title"],[12],[1,"\\n "],[8,[32,4],null,[["@topic","@disableActions"],[[30,1],true]],null],[1,"\\n "],[10,1],[14,0,"title"],[12],[1,"\\n"],[41,[30,1,["postUrl"]],[[[1," "],[10,3],[15,6,[30,1,["postUrl"]]],[12],[1,[28,[32,5],[[30,1,["title"]]],null]],[13],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,5],[[30,1,["title"]]],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"category"],[12],[1,[28,[32,6],[[30,1,["category"]]],null]],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["draftType"]],[[[1," "],[10,1],[14,0,"draft-type"],[12],[1,[28,[32,7],[[30,1,["draftType"]]],null]],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,8],null,[["@item"],[[30,1]]],null],[1,"\\n"]],[]]],[1,"\\n "],[10,0],[14,0,"user-stream-item__metadata"],[12],[1,"\\n "],[10,1],[14,0,"time"],[12],[1,[28,[32,9],[[30,1,["created_at"]]],null]],[13],[1,"\\n\\n"],[41,[30,1,["deleted_by"]],[[[1," "],[10,1],[14,0,"delete-info"],[12],[1,"\\n "],[1,[28,[32,10],["trash-can"],null]],[1,"\\n "],[1,[28,[32,3],[[30,1,["deleted_by"]]],[["imageSize","extraClasses","ignoreTitle"],["tiny","actor","true"]]]],[1,"\\n "],[1,[28,[32,9],[[30,1,["deleted_at"]]],[["leaveAgo"],["true"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-stream-item-header","div",[28,[32,1],null,[["item"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["actionDescription"]],[[[1," "],[10,2],[14,0,"excerpt"],[12],[1,[30,0,["actionDescription"]]],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,2],[15,"data-topic-id",[30,1,["topic_id"]]],[15,"data-post-id",[30,1,["post_id"]]],[15,"data-user-id",[30,1,["user_id"]]],[14,0,"excerpt"],[12],[41,[30,1,["expandedExcerpt"]],[[[1,[28,[32,7],[[30,1,["expandedExcerpt"]]],null]]],[]],[[[1,[28,[32,7],[[30,1,["excerpt"]]],null]]],[]]],[13],[1,"\\n\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["children"]]],null]],null],null,[[[1," "],[10,0],[14,0,"user-stream-item-actions child-actions"],[12],[1,"\\n "],[1,[28,[32,10],[[30,2,["icon"]]],[["class"],["icon"]]]],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,2,["items"]]],null]],null],null,[[[1," "],[10,3],[15,6,[30,3,["userUrl"]]],[15,"data-user-card",[30,3,["username"]]],[14,0,"avatar-link"],[12],[1,"\\n "],[10,0],[14,0,"avatar-wrapper"],[12],[1,"\\n "],[1,[28,[32,3],[[30,3]],[["imageSize","extraClasses","ignoreTitle","avatarTemplatePath"],["tiny","actor","true","acting_avatar_template"]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,3,["edit_reason"]],[[[1," —\\n "],[10,1],[14,0,"edit-reason"],[12],[1,[30,3,["edit_reason"]]],[13]],[]],null],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n"]],[2]],null],[1,"\\n"],[41,[30,1,["editableDraft"]],[[[1," "],[10,0],[14,0,"user-stream-item-draft-actions"],[12],[1,"\\n "],[8,[32,11],[[24,0,"btn-default resume-draft"]],[["@action","@icon","@label"],[[28,[32,12],[[30,4],[30,1]],null],"pencil","drafts.resume"]],null],[1,"\\n "],[8,[32,11],[[24,0,"btn-danger remove-draft"]],[["@action","@icon","@title"],[[28,[32,12],[[30,5],[30,1]],null],"trash-can","drafts.remove"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[18,6,null],[1,"\\n "]],["@item","child","grandChild","@resumeDraft","@removeDraft","&bottom"],false,["if","each","-track-array","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-stream-item.js",scope:()=>[c.default,_.default,l.or,h.default,p.default,y.default,m.default,a.htmlSafe,d.default,f.default,g.default,u.default,n.fn],isStrictMode:!0}),this))()},[(0,o.classNameBindings)(":user-stream-item",":item","hidden","item.deleted:deleted","moderatorAction"),(0,o.tagName)("li")])},20783:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(13744),n=i(98320),r=i(6827),a=i(86232),o=i(34057),l=i(78188),u=i(37288),d=i(57364);class c extends u.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[s.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();get titleHtml(){return(0,n.default)(this.get("title"))}editableDraft(e){return e===this.currentUser?.get("username")}static #i=(()=>dt7948.n(this.prototype,"editableDraft",[(0,r.default)("draft_username")]))();userUrl(e){return(0,a.userPath)(e)}static #n=(()=>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 #a=(()=>dt7948.n(this.prototype,"postUrl",[(0,r.default)("topic_id")]))();draftType(e){return e.startsWith(l.NEW_TOPIC_KEY)?(0,d.i18n)("drafts.new_topic"):e.startsWith(l.NEW_PRIVATE_MESSAGE_KEY)?(0,d.i18n)("drafts.new_private_message"):!!e.startsWith(l.EDIT_TOPIC_KEY)&&(0,d.i18n)("drafts.edit_topic")}static #l=(()=>dt7948.n(this.prototype,"draftType",[(0,r.default)("draft_key")]))()}},20827:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(54186),n=i(57364),r=i(9348),a=i(55888),o=i(74975);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"S+mvTCGS",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"category-notifications-tracking"]],[["@onChange","@levelId","@showCaret","@showFullTitle","@prefix","@title"],[[30,1],[30,2],[30,3],[30,4],"category.notifications",[28,[32,1],["category.notifications.title"],null]]],null],[1,"\\n"]],["@onChange","@levelId","@showCaret","@showFullTitle"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/category-notifications-tracking.js",scope:()=>[s.default,n.i18n],isStrictMode:!0}),(0,o.default)(void 0,"category-notifications-tracking:CategoryNotificationsTracking"))},20853:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(24808);function n(e){return(((0,s.vq)(e)?e.ownerDocument:e.document)||window.document).documentElement}},20886:(e,t,i)=>{"use strict";i.r(t),i.d(t,{aliases:()=>r,emojis:()=>s,replacements:()=>o,tonableEmojis:()=>n,translations:()=>a});let s=new Set(["grinning_face","smiley","grinning_face_with_smiling_eyes","grin","laughing","sweat_smile","rofl","joy","slightly_smiling_face","upside_down_face","melting_face","wink","blush","innocent","smiling_face_with_three_hearts","heart_eyes","star_struck","face_blowing_a_kiss","kissing_face","smiling_face","kissing_face_with_closed_eyes","kissing_face_with_smiling_eyes","smiling_face_with_tear","face_savoring_food","face_with_tongue","winking_face_with_tongue","zany_face","squinting_face_with_tongue","money_mouth_face","hugs","face_with_hand_over_mouth","face_with_open_eyes_and_hand_over_mouth","face_with_peeking_eye","shushing_face","thinking","saluting_face","zipper_mouth_face","face_with_raised_eyebrow","neutral_face","expressionless_face","face_without_mouth","dotted_line_face","face_in_clouds","smirking_face","unamused_face","roll_eyes","grimacing","face_exhaling","lying_face","shaking_face","head_shaking_horizontally","head_shaking_vertically","relieved_face","pensive_face","sleepy_face","drooling_face","sleeping_face","face_with_bags_under_eyes","face_with_medical_mask","face_with_thermometer","face_with_head_bandage","nauseated_face","face_vomiting","sneezing_face","hot_face","cold_face","woozy_face","face_with_crossed_out_eyes","face_with_spiral_eyes","exploding_head","cowboy_hat_face","partying_face","disguised_face","smiling_face_with_sunglasses","nerd_face","face_with_monocle","confused","face_with_diagonal_mouth","worried","slightly_frowning_face","frowning","open_mouth","hushed_face","astonished_face","flushed_face","pleading_face","face_holding_back_tears","frowning_face_with_open_mouth","anguished_face","fearful","anxious_face_with_sweat","sad_but_relieved_face","cry","sob","scream","confounded_face","persevering_face","disappointed_face","downcast_face_with_sweat","weary_face","tired_face","yawning_face","face_with_steam_from_nose","enraged_face","angry","face_with_symbols_on_mouth","smiling_face_with_horns","angry_face_with_horns","skull","skull_and_crossbones","poop","clown_face","ogre","goblin","ghost","alien","alien_monster","robot","grinning_cat","grinning_cat_with_smiling_eyes","joy_cat","smiling_cat_with_heart_eyes","cat_with_wry_smile","kissing_cat","weary_cat","crying_cat","pouting_cat","see_no_evil_monkey","hear_no_evil_monkey","speak_no_evil_monkey","love_letter","heart_with_arrow","heart_with_ribbon","sparkling_heart","growing_heart","beating_heart","revolving_hearts","two_hearts","heart_decoration","heart_exclamation","broken_heart","heart_on_fire","mending_heart","heart","pink_heart","orange_heart","yellow_heart","green_heart","blue_heart","light_blue_heart","purple_heart","brown_heart","black_heart","grey_heart","white_heart","kiss_mark","100","anger_symbol","collision","dizzy","sweat_droplets","dashing_away","hole","speech_balloon","eye_in_speech_bubble","left_speech_bubble","right_anger_bubble","thought_balloon","zzz","waving_hand","raised_back_of_hand","hand_with_fingers_splayed","raised_hand","vulcan_salute","rightwards_hand","leftwards_hand","palm_down_hand","palm_up_hand","leftwards_pushing_hand","rightwards_pushing_hand","ok_hand","pinched_fingers","pinching_hand","victory_hand","crossed_fingers","hand_with_index_finger_and_thumb_crossed","love_you_gesture","sign_of_the_horns","call_me_hand","backhand_index_pointing_left","backhand_index_pointing_right","backhand_index_pointing_up","fu","backhand_index_pointing_down","index_pointing_up","index_pointing_at_the_viewer","+1","-1","raised_fist","oncoming_fist","left_facing_fist","right_facing_fist","clap","raising_hands","heart_hands","open_hands","palms_up_together","handshake","folded_hands","writing_hand","nail_polish","selfie","flexed_biceps","mechanical_arm","mechanical_leg","leg","foot","ear","ear_with_hearing_aid","nose","brain","anatomical_heart","lungs","tooth","bone","eyes","eye","tongue","mouth","biting_lip","baby","child","boy","girl","person","person_blond_hair","man","person_beard","man_beard","woman_beard","man_red_hair","man_curly_hair","man_white_hair","man_bald","woman","woman_red_hair","person_red_hair","woman_curly_hair","person_curly_hair","woman_white_hair","person_white_hair","woman_bald","person_bald","blonde_woman","blonde_man","older_person","old_man","old_woman","person_frowning","man_frowning","woman_frowning","person_pouting","man_pouting","woman_pouting","person_gesturing_no","man_gesturing_no","woman_gesturing_no","person_gesturing_ok","man_gesturing_ok","woman_gesturing_ok","person_tipping_hand","man_tipping_hand","woman_tipping_hand","person_raising_hand","man_raising_hand","woman_raising_hand","deaf_person","deaf_man","deaf_woman","person_bowing","man_bowing","woman_bowing","person_facepalming","man_facepalming","woman_facepalming","person_shrugging","man_shrugging","woman_shrugging","health_worker","man_health_worker","woman_health_worker","student","man_student","woman_student","teacher","man_teacher","woman_teacher","judge","man_judge","woman_judge","farmer","man_farmer","woman_farmer","cook","man_cook","woman_cook","mechanic","man_mechanic","woman_mechanic","factory_worker","man_factory_worker","woman_factory_worker","office_worker","man_office_worker","woman_office_worker","scientist","man_scientist","woman_scientist","technologist","man_technologist","woman_technologist","singer","man_singer","woman_singer","artist","man_artist","woman_artist","pilot","man_pilot","woman_pilot","astronaut","man_astronaut","woman_astronaut","firefighter","man_firefighter","woman_firefighter","police_officer","man_police_officer","woman_police_officer","detective","man_detective","woman_detective","guard","man_guard","woman_guard","ninja","construction_worker","construction_worker_man","construction_worker_woman","person_with_crown","prince","princess","person_wearing_turban","man_wearing_turban","woman_wearing_turban","person_with_skullcap","woman_with_headscarf","person_in_tuxedo","man_in_tuxedo","woman_in_tuxedo","person_with_veil","man_with_veil","woman_with_veil","pregnant_woman","pregnant_man","pregnant_person","breast_feeding","woman_feeding_baby","man_feeding_baby","person_feeding_baby","baby_angel","santa_claus","mrs_claus","mx_claus","superhero","man_superhero","woman_superhero","supervillain","man_supervillain","woman_supervillain","mage","man_mage","woman_mage","fairy","man_fairy","woman_fairy","vampire","man_vampire","woman_vampire","merperson","merman","mermaid","elf","man_elf","woman_elf","genie","man_genie","woman_genie","zombie","man_zombie","woman_zombie","troll","person_getting_massage","man_getting_massage","woman_getting_massage","person_getting_haircut","man_getting_haircut","woman_getting_haircut","person_walking","man_walking","woman_walking","person_standing","man_standing","woman_standing","person_kneeling","man_kneeling","woman_kneeling","person_with_white_cane","man_with_white_cane","woman_with_white_cane","person_in_motorized_wheelchair","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","person_in_manual_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","person_running","man_running","woman_running","woman_dancing","man_dancing","person_in_suit_levitating","people_with_bunny_ears","men_with_bunny_ears","women_with_bunny_ears","person_in_steamy_room","man_in_steamy_room","woman_in_steamy_room","person_climbing","man_climbing","woman_climbing","person_fencing","horse_racing","skier","snowboarder","person_golfing","man_golfing","woman_golfing","person_surfing","man_surfing","woman_surfing","person_rowing_boat","man_rowing_boat","woman_rowing_boat","person_swimming","man_swimming","woman_swimming","person_bouncing_ball","man_bouncing_ball","woman_bouncing_ball","person_lifting_weights","man_lifting_weights","woman_lifting_weights","person_biking","man_biking","woman_biking","person_mountain_biking","man_mountain_biking","woman_mountain_biking","person_cartwheeling","man_cartwheeling","woman_cartwheeling","people_wrestling","men_wrestling","women_wrestling","person_playing_water_polo","man_playing_water_polo","woman_playing_water_polo","person_playing_handball","man_playing_handball","woman_playing_handball","person_juggling","man_juggling","woman_juggling","person_in_lotus_position","man_in_lotus_position","woman_in_lotus_position","person_taking_bath","person_in_bed","people_holding_hands","women_holding_hands","woman_and_man_holding_hands","men_holding_hands","kiss","kiss_woman_man","kiss_man_man","kiss_woman_woman","couple_with_heart","couple_with_heart","couple_with_heart_man_man","couple_with_heart_woman_woman","family_man_woman_boy","family_man_woman_girl","family_man_woman_girl_boy","family_man_woman_boy_boy","family_man_woman_girl_girl","family_man_man_boy","family_man_man_girl","family_man_man_girl_boy","family_man_man_boy_boy","family_man_man_girl_girl","family_woman_woman_boy","family_woman_woman_girl","family_woman_woman_girl_boy","family_woman_woman_boy_boy","family_woman_woman_girl_girl","family_man_boy","family_man_boy_boy","family_man_girl","family_man_girl_boy","family_man_girl_girl","family_woman_boy","family_woman_boy_boy","family_woman_girl","family_woman_girl_boy","family_woman_girl_girl","speaking_head","bust_in_silhouette","busts_in_silhouette","people_hugging","family","family_adult_adult_child","family_adult_adult_child_child","family_adult_child","family_adult_child_child","footprints","fingerprint","monkey_face","monkey","gorilla","orangutan","dog_face","dog","guide_dog","service_dog","poodle","wolf","fox","raccoon","cat_face","cat","black_cat","lion","tiger_face","tiger","leopard","horse_face","moose","donkey","horse","unicorn","zebra","deer","bison","cow_face","ox","water_buffalo","cow","pig_face","pig","boar","pig_nose","ram","ewe","goat","camel","two_hump_camel","llama","giraffe","elephant","mammoth","rhinoceros","hippopotamus","mouse_face","mouse","rat","hamster","rabbit_face","rabbit","chipmunk","beaver","hedgehog","bat","bear","polar_bear","koala","panda","sloth","otter","skunk","kangaroo","badger","paw_prints","turkey","chicken","rooster","hatching_chick","baby_chick","front_facing_baby_chick","bird","penguin","dove","eagle","duck","swan","owl","dodo","feather","flamingo","peacock","parrot","wing","black_bird","goose","phoenix","frog","crocodile","turtle","lizard","snake","dragon_face","dragon","sauropod","t_rex","spouting_whale","whale","dolphin","seal","fish","tropical_fish","blowfish","shark","octopus","spiral_shell","coral","jellyfish","crab","lobster","shrimp","squid","oyster","snail","butterfly","bug","ant","honeybee","beetle","lady_beetle","cricket","cockroach","spider","spider_web","scorpion","mosquito","fly","worm","microbe","bouquet","cherry_blossom","white_flower","lotus","rosette","rose","wilted_flower","hibiscus","sunflower","blossom","tulip","hyacinth","seedling","potted_plant","evergreen_tree","deciduous_tree","palm_tree","cactus","sheaf_of_rice","herb","shamrock","four_leaf_clover","maple_leaf","fallen_leaf","leaf_fluttering_in_wind","empty_nest","nest_with_eggs","mushroom","leafless_tree","grapes","melon","watermelon","tangerine","lemon","lime","banana","pineapple","mango","red_apple","green_apple","pear","peach","cherries","strawberry","blueberries","kiwi_fruit","tomato","olive","coconut","avocado","eggplant","potato","carrot","ear_of_corn","hot_pepper","bell_pepper","cucumber","leafy_green","broccoli","garlic","onion","peanuts","beans","chestnut","ginger_root","pea_pod","brown_mushroom","root_vegetable","bread","croissant","baguette_bread","flatbread","pretzel","bagel","pancakes","waffle","cheese_wedge","meat_on_bone","poultry_leg","cut_of_meat","bacon","hamburger","french_fries","pizza","hot_dog","sandwich","taco","burrito","tamale","stuffed_flatbread","falafel","egg","cooking","shallow_pan_of_food","pot_of_food","fondue","bowl_with_spoon","green_salad","popcorn","butter","salt","canned_food","bento_box","rice_cracker","rice_ball","cooked_rice","curry_rice","steaming_bowl","spaghetti","roasted_sweet_potato","oden","sushi","fried_shrimp","fish_cake_with_swirl","moon_cake","dango","dumpling","fortune_cookie","takeout_box","soft_ice_cream","shaved_ice","ice_cream","doughnut","cookie","birthday_cake","shortcake","cupcake","pie","chocolate_bar","candy","lollipop","custard","honey_pot","baby_bottle","glass_of_milk","hot_beverage","teapot","teacup_without_handle","sake","bottle_with_popping_cork","wine_glass","cocktail_glass","tropical_drink","beer_mug","clinking_beer_mugs","clinking_glasses","tumbler_glass","pouring_liquid","cup_with_straw","bubble_tea","beverage_box","mate","ice","chopsticks","fork_and_knife_with_plate","fork_and_knife","spoon","kitchen_knife","jar","amphora","globe_showing_europe_africa","globe_showing_americas","globe_showing_asia_australia","globe_with_meridians","world_map","map_of_japan","compass","snow_capped_mountain","mountain","volcano","mount_fuji","camping","beach_with_umbrella","desert","desert_island","national_park","stadium","classical_building","building_construction","brick","rock","wood","hut","houses","derelict_house","house","house_with_garden","office_building","japanese_post_office","post_office","hospital","bank","hotel","love_hotel","convenience_store","school","department_store","factory","japanese_castle","castle","wedding","tokyo_tower","statue_of_liberty","church","mosque","hindu_temple","synagogue","shinto_shrine","kaaba","fountain","tent","foggy","night_with_stars","cityscape","sunrise_over_mountains","sunrise","cityscape_at_dusk","sunset","bridge_at_night","hot_springs","carousel_horse","playground_slide","ferris_wheel","roller_coaster","barber_pole","circus_tent","locomotive","railway_car","high_speed_train","bullet_train","train","metro","light_rail","station","tram","monorail","mountain_railway","tram_car","bus","oncoming_bus","trolleybus","minibus","ambulance","fire_engine","police_car","oncoming_police_car","taxi","oncoming_taxi","automobile","oncoming_automobile","sport_utility_vehicle","pickup_truck","delivery_truck","articulated_lorry","tractor","racing_car","motorcycle","motor_scooter","manual_wheelchair","motorized_wheelchair","auto_rickshaw","bicycle","kick_scooter","skateboard","roller_skate","bus_stop","motorway","railway_track","oil_drum","fuel_pump","wheel","police_car_light","horizontal_traffic_light","vertical_traffic_light","stop_sign","construction","anchor","ring_buoy","sailboat","canoe","speedboat","passenger_ship","ferry","motor_boat","ship","airplane","small_airplane","airplane_departure","airplane_arrival","parachute","seat","helicopter","suspension_railway","mountain_cableway","aerial_tramway","satellite","rocket","flying_saucer","bellhop_bell","luggage","hourglass_done","hourglass_not_done","watch","alarm_clock","stopwatch","timer_clock","mantelpiece_clock","twelve_o_clock","twelve_thirty","one_o_clock","one_thirty","two_o_clock","two_thirty","three_o_clock","three_thirty","four_o_clock","four_thirty","five_o_clock","five_thirty","six_o_clock","six_thirty","seven_o_clock","seven_thirty","eight_o_clock","eight_thirty","nine_o_clock","nine_thirty","ten_o_clock","ten_thirty","eleven_o_clock","eleven_thirty","new_moon","waxing_crescent_moon","first_quarter_moon","waxing_gibbous_moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","crescent_moon","new_moon_face","first_quarter_moon_face","last_quarter_moon_face","thermometer","sun","full_moon_face","sun_with_face","ringed_planet","star","glowing_star","shooting_star","milky_way","cloud","sun_behind_cloud","cloud_with_lightning_and_rain","sun_behind_small_cloud","sun_behind_large_cloud","sun_behind_rain_cloud","cloud_with_rain","cloud_with_snow","cloud_with_lightning","tornado","fog","wind_face","cyclone","rainbow","closed_umbrella","umbrella","umbrella_with_rain_drops","umbrella_on_ground","high_voltage","snowflake","snowman","snowman_without_snow","comet","fire","droplet","ocean","jack_o_lantern","christmas_tree","fireworks","sparkler","firecracker","sparkles","balloon","tada","confetti_ball","tanabata_tree","pine_decoration","japanese_dolls","carp_streamer","wind_chime","moon_viewing_ceremony","red_envelope","ribbon","wrapped_gift","reminder_ribbon","admission_tickets","ticket","military_medal","trophy","sports_medal","1st_place_medal","2nd_place_medal","3rd_place_medal","soccer_ball","baseball","softball","basketball","volleyball","american_football","rugby_football","tennis","flying_disc","bowling","cricket_game","field_hockey","ice_hockey","lacrosse","ping_pong","badminton","boxing_glove","martial_arts_uniform","goal_net","in_hole","ice_skate","fishing_pole","diving_mask","running_shirt","skis","sled","curling_stone","bullseye","yoyo","kite","water_pistol","pool_8_ball","crystal_ball","magic_wand","video_game","joystick","slot_machine","game_die","puzzle_piece","teddy_bear","piñata","mirror_ball","nesting_dolls","spade_suit","heart_suit","diamond_suit","club_suit","chess_pawn","joker","mahjong_red_dragon","flower_playing_cards","performing_arts","framed_picture","artist_palette","thread","sewing_needle","yarn","knot","glasses","sunglasses","goggles","lab_coat","safety_vest","necktie","t_shirt","jeans","scarf","gloves","coat","socks","dress","kimono","sari","one_piece_swimsuit","briefs","shorts","bikini","woman_s_clothes","folding_hand_fan","purse","handbag","clutch_bag","shopping_bags","backpack","thong_sandal","man_s_shoe","running_shoe","hiking_boot","flat_shoe","high_heeled_shoe","woman_s_sandal","ballet_shoes","woman_s_boot","hair_pick","crown","woman_s_hat","top_hat","graduation_cap","billed_cap","military_helmet","rescue_worker_s_helmet","prayer_beads","lipstick","ring","gem_stone","muted_speaker","speaker_low_volume","speaker_medium_volume","speaker_high_volume","loudspeaker","megaphone","postal_horn","bell","bell_with_slash","musical_score","musical_note","musical_notes","studio_microphone","level_slider","control_knobs","microphone","headphone","radio","saxophone","accordion","guitar","musical_keyboard","trumpet","violin","banjo","drum","long_drum","maracas","flute","harp","mobile_phone","mobile_phone_with_arrow","telephone","telephone_receiver","pager","fax_machine","battery","low_battery","electric_plug","laptop","desktop_computer","printer","keyboard","computer_mouse","trackball","computer_disk","floppy_disk","optical_disk","dvd","abacus","movie_camera","film_frames","film_projector","clapper_board","television","camera","camera_with_flash","video_camera","videocassette","magnifying_glass_tilted_left","magnifying_glass_tilted_right","candle","light_bulb","flashlight","red_paper_lantern","diya_lamp","notebook_with_decorative_cover","closed_book","open_book","green_book","blue_book","orange_book","books","notebook","ledger","page_with_curl","scroll","page_facing_up","newspaper","rolled_up_newspaper","bookmark_tabs","bookmark","label","money_bag","coin","yen_banknote","dollar_banknote","euro_banknote","pound_banknote","money_with_wings","credit_card","receipt","chart_increasing_with_yen","envelope","e_mail","incoming_envelope","envelope_with_arrow","outbox_tray","inbox_tray","package","closed_mailbox_with_raised_flag","closed_mailbox_with_lowered_flag","open_mailbox_with_raised_flag","open_mailbox_with_lowered_flag","postbox","ballot_box_with_ballot","pencil","black_nib","fountain_pen","pen","paintbrush","crayon","memo","briefcase","file_folder","open_file_folder","card_index_dividers","date","tear_off_calendar","spiral_notepad","spiral_calendar","card_index","chart_increasing","chart_decreasing","bar_chart","clipboard","pushpin","round_pushpin","paperclip","linked_paperclips","straight_ruler","triangular_ruler","scissors","card_file_box","file_cabinet","wastebasket","locked","unlocked","locked_with_pen","locked_with_key","key","old_key","hammer","axe","pick","hammer_and_pick","hammer_and_wrench","dagger","crossed_swords","bomb","boomerang","bow_and_arrow","shield","carpentry_saw","wrench","screwdriver","nut_and_bolt","gear","clamp","balance_scale","white_cane","link","broken_chain","chains","hook","toolbox","magnet","ladder","shovel","alembic","test_tube","petri_dish","dna","microscope","telescope","satellite_antenna","syringe","drop_of_blood","pill","adhesive_bandage","crutch","stethoscope","x_ray","door","elevator","mirror","window","bed","couch_and_lamp","chair","toilet","plunger","shower","bathtub","mouse_trap","razor","lotion_bottle","safety_pin","broom","basket","roll_of_paper","bucket","soap","bubbles","toothbrush","sponge","fire_extinguisher","shopping_cart","cigarette","coffin","headstone","funeral_urn","nazar_amulet","hamsa","moai","placard","identification_card","atm_sign","litter_in_bin_sign","potable_water","wheelchair_symbol","men_s_room","women_s_room","restroom","baby_symbol","water_closet","passport_control","customs","baggage_claim","left_luggage","warning","children_crossing","no_entry","prohibited","no_bicycles","no_smoking","no_littering","non_potable_water","no_pedestrians","no_mobile_phones","no_one_under_eighteen","radioactive","biohazard","up_arrow","up_right_arrow","right_arrow","down_right_arrow","down_arrow","down_left_arrow","left_arrow","up_left_arrow","up_down_arrow","left_right_arrow","right_arrow_curving_left","left_arrow_curving_right","right_arrow_curving_up","right_arrow_curving_down","clockwise_vertical_arrows","counterclockwise_arrows_button","back_arrow","end_arrow","on_arrow","soon_arrow","top_arrow","place_of_worship","atom_symbol","om","star_of_david","wheel_of_dharma","yin_yang","latin_cross","orthodox_cross","star_and_crescent","peace_symbol","menorah","dotted_six_pointed_star","khanda","aries","taurus","gemini","cancer","leo","virgo","libra","scorpio","sagittarius","capricorn","aquarius","pisces","ophiuchus","shuffle_tracks_button","repeat_button","repeat_single_button","play_button","fast_forward_button","next_track_button","play_or_pause_button","reverse_button","fast_reverse_button","last_track_button","upwards_button","fast_up_button","downwards_button","fast_down_button","pause_button","stop_button","record_button","eject_button","cinema","dim_button","bright_button","antenna_bars","wireless","vibration_mode","mobile_phone_off","female_sign","male_sign","transgender_symbol","multiply","plus","minus","divide","heavy_equals_sign","infinity","double_exclamation_mark","exclamation_question_mark","red_question_mark","white_question_mark","white_exclamation_mark","red_exclamation_mark","wavy_dash","currency_exchange","heavy_dollar_sign","medical_symbol","recycling_symbol","fleur_de_lis","trident_emblem","name_badge","japanese_symbol_for_beginner","hollow_red_circle","white_check_mark","check_box_with_check","check_mark","cross_mark","cross_mark_button","curly_loop","double_curly_loop","part_alternation_mark","eight_spoked_asterisk","eight_pointed_star","sparkle","copyright","registered","trade_mark","splatter","hash","asterisk","zero","one","two","three","four","five","six","seven","eight","nine","ten","input_latin_uppercase","input_latin_lowercase","1234","input_symbols","input_latin_letters","a_button_blood_type","ab_button_blood_type","b_button_blood_type","cl_button","cool_button","free_button","information_source","id_button","circled_m","new_button","ng_button","o_button_blood_type","ok_button","p_button","sos_button","up_button","vs_button","japanese_here_button","japanese_service_charge_button","japanese_monthly_amount_button","japanese_not_free_of_charge_button","japanese_reserved_button","japanese_bargain_button","japanese_discount_button","japanese_free_of_charge_button","japanese_prohibited_button","japanese_acceptable_button","japanese_application_button","japanese_passing_grade_button","japanese_vacancy_button","japanese_congratulations_button","japanese_secret_button","japanese_open_for_business_button","japanese_no_vacancy_button","red_circle","orange_circle","yellow_circle","green_circle","blue_circle","purple_circle","brown_circle","black_circle","white_circle","red_square","orange_square","yellow_square","green_square","blue_square","purple_square","brown_square","black_large_square","white_large_square","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_small_square","white_small_square","large_orange_diamond","large_blue_diamond","small_orange_diamond","small_blue_diamond","red_triangle_pointed_up","red_triangle_pointed_down","diamond_with_a_dot","radio_button","white_square_button","black_square_button","chequered_flag","triangular_flag","crossed_flags","black_flag","white_flag","rainbow_flag","transgender_flag","pirate_flag","ascension_island","andorra","united_arab_emirates","afghanistan","antigua_barbuda","anguilla","albania","armenia","angola","antarctica","argentina","american_samoa","austria","australia","aruba","åland_islands","azerbaijan","bosnia_herzegovina","barbados","bangladesh","belgium","burkina_faso","bulgaria","bahrain","burundi","benin","st_barthelemy","bermuda","brunei","bolivia","caribbean_netherlands","brazil","bahamas","bhutan","bouvet_island","botswana","belarus","belize","canada","cocos_keeling_islands","congo_kinshasa","central_african_republic","congo_brazzaville","switzerland","côte_d_ivoire","cook_islands","chile","cameroon","china","colombia","clipperton_island","costa_rica","cuba","cape_verde","curaçao","christmas_island","cyprus","czechia","germany","diego_garcia","djibouti","denmark","dominica","dominican_republic","algeria","ceuta_melilla","ecuador","estonia","egypt","western_sahara","eritrea","spain","ethiopia","european_union","finland","fiji","falkland_islands","micronesia","faroe_islands","france","gabon","united_kingdom","grenada","georgia","french_guiana","guernsey","ghana","gibraltar","greenland","gambia","guinea","guadeloupe","equatorial_guinea","greece","south_georgia_south_sandwich_islands","guatemala","guam","guinea_bissau","guyana","hong_kong_sar_china","heard_mcdonald_islands","honduras","croatia","haiti","hungary","canary_islands","indonesia","ireland","israel","isle_of_man","india","british_indian_ocean_territory","iraq","iran","iceland","italy","jersey","jamaica","jordan","japan","kenya","kyrgyzstan","cambodia","kiribati","comoros","st_kitts_nevis","north_korea","south_korea","kuwait","cayman_islands","kazakhstan","laos","lebanon","st_lucia","liechtenstein","sri_lanka","liberia","lesotho","lithuania","luxembourg","latvia","libya","morocco","monaco","moldova","montenegro","st_martin","madagascar","marshall_islands","north_macedonia","mali","myanmar_burma","mongolia","macao_sar_china","northern_mariana_islands","martinique","mauritania","montserrat","malta","mauritius","maldives","malawi","mexico","malaysia","mozambique","namibia","new_caledonia","niger","norfolk_island","nigeria","nicaragua","netherlands","norway","nepal","nauru","niue","new_zealand","oman","panama","peru","french_polynesia","papua_new_guinea","philippines","pakistan","poland","st_pierre_miquelon","pitcairn_islands","puerto_rico","palestinian_territories","portugal","palau","paraguay","qatar","reunion","romania","serbia","russia","rwanda","saudi_arabia","solomon_islands","seychelles","sudan","sweden","singapore","st_helena","slovenia","svalbard_jan_mayen","slovakia","sierra_leone","san_marino","senegal","somalia","suriname","south_sudan","sao_tome_principe","el_salvador","sint_maarten","syria","eswatini","tristan_da_cunha","turks_caicos_islands","chad","french_southern_territories","togo","thailand","tajikistan","tokelau","timor_leste","turkmenistan","tunisia","tonga","türkiye","trinidad_tobago","tuvalu","taiwan","tanzania","ukraine","uganda","us_outlying_islands","united_nations","united_states","uruguay","uzbekistan","vatican_city","st_vincent_grenadines","venezuela","british_virgin_islands","us_virgin_islands","vietnam","vanuatu","wallis_futuna","samoa","kosovo","yemen","mayotte","south_africa","zambia","zimbabwe","england","scotland","wales"]),n=["waving_hand","raised_back_of_hand","hand_with_fingers_splayed","raised_hand","vulcan_salute","rightwards_hand","leftwards_hand","palm_down_hand","palm_up_hand","leftwards_pushing_hand","rightwards_pushing_hand","ok_hand","pinched_fingers","pinching_hand","victory_hand","crossed_fingers","hand_with_index_finger_and_thumb_crossed","love_you_gesture","sign_of_the_horns","call_me_hand","backhand_index_pointing_left","backhand_index_pointing_right","backhand_index_pointing_up","fu","backhand_index_pointing_down","index_pointing_up","index_pointing_at_the_viewer","+1","-1","raised_fist","oncoming_fist","left_facing_fist","right_facing_fist","clap","raising_hands","heart_hands","open_hands","palms_up_together","handshake","folded_hands","writing_hand","nail_polish","selfie","flexed_biceps","leg","foot","ear","ear_with_hearing_aid","nose","baby","child","boy","girl","person","person_blond_hair","man","person_beard","man_beard","woman_beard","man_red_hair","man_curly_hair","man_white_hair","man_bald","woman","woman_red_hair","person_red_hair","woman_curly_hair","person_curly_hair","woman_white_hair","person_white_hair","woman_bald","person_bald","blonde_woman","blonde_man","older_person","old_man","old_woman","person_frowning","man_frowning","woman_frowning","person_pouting","man_pouting","woman_pouting","person_gesturing_no","man_gesturing_no","woman_gesturing_no","person_gesturing_ok","man_gesturing_ok","woman_gesturing_ok","person_tipping_hand","man_tipping_hand","woman_tipping_hand","person_raising_hand","man_raising_hand","woman_raising_hand","deaf_person","deaf_man","deaf_woman","person_bowing","man_bowing","woman_bowing","person_facepalming","man_facepalming","woman_facepalming","person_shrugging","man_shrugging","woman_shrugging","health_worker","man_health_worker","woman_health_worker","student","man_student","woman_student","teacher","man_teacher","woman_teacher","judge","man_judge","woman_judge","farmer","man_farmer","woman_farmer","cook","man_cook","woman_cook","mechanic","man_mechanic","woman_mechanic","factory_worker","man_factory_worker","woman_factory_worker","office_worker","man_office_worker","woman_office_worker","scientist","man_scientist","woman_scientist","technologist","man_technologist","woman_technologist","singer","man_singer","woman_singer","artist","man_artist","woman_artist","pilot","man_pilot","woman_pilot","astronaut","man_astronaut","woman_astronaut","firefighter","man_firefighter","woman_firefighter","police_officer","man_police_officer","woman_police_officer","detective","man_detective","woman_detective","guard","man_guard","woman_guard","ninja","construction_worker","construction_worker_man","construction_worker_woman","person_with_crown","prince","princess","person_wearing_turban","man_wearing_turban","woman_wearing_turban","person_with_skullcap","woman_with_headscarf","person_in_tuxedo","man_in_tuxedo","woman_in_tuxedo","person_with_veil","man_with_veil","woman_with_veil","pregnant_woman","pregnant_man","pregnant_person","breast_feeding","woman_feeding_baby","man_feeding_baby","person_feeding_baby","baby_angel","santa_claus","mrs_claus","mx_claus","superhero","man_superhero","woman_superhero","supervillain","man_supervillain","woman_supervillain","mage","man_mage","woman_mage","fairy","man_fairy","woman_fairy","vampire","man_vampire","woman_vampire","merperson","merman","mermaid","elf","man_elf","woman_elf","person_getting_massage","man_getting_massage","woman_getting_massage","person_getting_haircut","man_getting_haircut","woman_getting_haircut","person_walking","man_walking","woman_walking","person_standing","man_standing","woman_standing","person_kneeling","man_kneeling","woman_kneeling","person_with_white_cane","man_with_white_cane","woman_with_white_cane","person_in_motorized_wheelchair","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","person_in_manual_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","person_running","man_running","woman_running","woman_dancing","man_dancing","person_in_suit_levitating","person_in_steamy_room","man_in_steamy_room","woman_in_steamy_room","person_climbing","man_climbing","woman_climbing","horse_racing","snowboarder","person_golfing","man_golfing","woman_golfing","person_surfing","man_surfing","woman_surfing","person_rowing_boat","man_rowing_boat","woman_rowing_boat","person_swimming","man_swimming","woman_swimming","person_bouncing_ball","man_bouncing_ball","woman_bouncing_ball","person_lifting_weights","man_lifting_weights","woman_lifting_weights","person_biking","man_biking","woman_biking","person_mountain_biking","man_mountain_biking","woman_mountain_biking","person_cartwheeling","man_cartwheeling","woman_cartwheeling","person_playing_water_polo","man_playing_water_polo","woman_playing_water_polo","person_playing_handball","man_playing_handball","woman_playing_handball","person_juggling","man_juggling","woman_juggling","person_in_lotus_position","man_in_lotus_position","woman_in_lotus_position","person_taking_bath","person_in_bed","women_holding_hands","woman_and_man_holding_hands","men_holding_hands","kiss","kiss_woman_man","kiss_man_man","kiss_woman_woman","couple_with_heart","couple_with_heart_man_man","couple_with_heart_woman_woman"],r={x_ray:["xray"],right_anger_bubble:["anger_right"],ballot_box:["ballot_box_with_ballot"],man_bouncing_ball:["basketball_man"],person_bouncing_ball:["person_with_ball","basketball_player"],bellhop_bell:["bellhop"],biohazard:["biohazard_sign"],bow_and_arrow:["archery"],spiral_calendar:["calendar_spiral","spiral_calendar_pad"],card_file_box:["card_box"],champagne:["bottle_with_popping_cork"],cheese:["cheese_wedge"],cityscape_at_dusk:["city_sunset","city_dusk"],couch_and_lamp:["couch"],crayon:["lower_left_crayon"],cricket_game:["cricket_bat_and_ball","cricket_bat_ball"],latin_cross:["cross"],dagger:["dagger_knife"],desktop_computer:["desktop"],card_index_dividers:["dividers"],dove:["dove_of_peace"],footprints:["feet"],fire:["flame"],black_flag:["flag_black","waving_black_flag"],white_flag:["flag_white","waving_white_flag"],framed_picture:["frame_photo","frame_with_picture"],hammer_and_pick:["hammer_pick"],houses:["homes","house_buildings"],hotdog:["hot_dog"],derelict_house:["house_abandoned","derelict_house_building"],desert_island:["island"],old_key:["key2"],person_lifting_weights:["lifter","weight_lifter"],military_medal:["medal_military"],sports_medal:["medal_sports","medal"],sign_of_the_horns:["metal"],fu:["middle_finger","reversed_hand_with_middle_finger_extended"],motorcycle:["racing_motorcycle"],mountain_snow:["snow_capped_mountain"],spiral_notepad:["notepad_spiral","spiral_note_pad"],oil_drum:["oil"],old_woman:["grandma","older_woman"],old_man:["older_man","grandpa"],paintbrush:["lower_left_paintbrush"],paperclips:["linked_paperclips"],pause_button:["double_vertical_bar"],peace_symbol:["peace"],fountain_pen:["pen_fountain","lower_left_fountain_pen"],ping_pong:["table_tennis"],place_of_worship:["worship_symbol"],poop:["poo","shit","pile_of_poo","hankey"],radioactive:["radioactive_sign"],railway_track:["railroad_track"],robot:["robot_face"],skull:["skeleton"],skull_and_crossbones:["skull_crossbones"],speaking_head:["speaking_head_in_silhouette"],man_detective:["spy","sleuth_or_spy","male_detective"],thinking:["thinking_face"],cloud_with_lightning_and_rain:["thunder_cloud_rain","thunder_cloud_and_rain"],tickets:["admission_tickets"],next_track_button:["track_next","next_track"],unicorn:["unicorn_face"],funeral_urn:["urn"],sun_behind_large_cloud:["white_sun_cloud","white_sun_behind_cloud"],sun_behind_rain_cloud:["white_sun_rain_cloud","white_sun_behind_cloud_with_rain"],sun_behind_cloud:["partly_sunny"],sun_behind_small_cloud:["white_sun_small_cloud","white_sun_with_small_cloud"],umbrella:["umbrella2","open_umbrella"],hammer_and_wrench:["tools"],face_with_thermometer:["thermometer_face"],timer_clock:["timer"],slightly_smiling_face:["slightly_smiling","slight_smile"],upside_down_face:["upside_down"],money_mouth_face:["money_mouth"],nerd_face:["nerd"],hugs:["hugging","hugging_face","smiling_face_with_open_hands"],roll_eyes:["face_with_rolling_eyes","rolling_eyes"],slightly_frowning_face:["slight_frown"],frowning:["frowning_face","frowning2","white_frowning_face"],zipper_mouth_face:["zipper_mouth"],face_with_head_bandage:["head_bandage"],hand_with_fingers_splayed:["raised_hand_with_fingers_splayed","hand_splayed"],raised_hand:["hand"],vulcan_salute:["vulcan","raised_hand_with_part_between_middle_and_ring_fingers"],police_officer:["policeman","cop"],man_walking:["walking_man"],person_walking:["walking"],man_bowing:["bow","bowing_man"],passenger_ship:["cruise_ship"],motor_boat:["motorboat","boat"],flight_arrival:["airplane_arriving"],flight_departure:["airplane_departure"],small_airplane:["airplane_small"],racing_car:["race_car"],family_man_woman_boy_boy:["family_man_woman_boys"],family_man_woman_girl_girl:["family_man_woman_girls"],family_woman_woman_boy:["family_women_boy"],family_woman_woman_girl:["family_women_girl"],family_woman_woman_girl_boy:["family_women_girl_boy"],family_woman_woman_boy_boy:["family_women_boys"],family_woman_woman_girl_girl:["family_women_girls"],family_man_man_boy:["family_men_boy"],family_man_man_girl:["family_men_girl"],family_man_man_girl_boy:["family_men_girl_boy"],family_man_man_boy_boy:["family_men_boys"],family_man_man_girl_girl:["family_men_girls"],cloud_with_lightning:["cloud_lightning"],tornado:["cloud_tornado","cloud_with_tornado"],cloud_with_rain:["cloud_rain"],cloud_with_snow:["cloud_snow"],studio_microphone:["microphone2"],honeybee:["bee"],lion:["lion_face"],satellite:["artificial_satellite","satellite_orbital"],computer_mouse:["mouse_three_button","three_button_mouse"],wind_face:["wind_blowing_face"],man_golfing:["golfer","golfing_man"],building_construction:["construction_site"],ice_hockey:["hockey"],play_or_pause_button:["play_pause"],film_projector:["projector"],shopping:["shopping_bags"],open_book:["book"],national_park:["park"],world_map:["map"],pen:["pen_ballpoint","lower_left_ballpoint_pen"],e_mail:["e-mail","email"],atom_symbol:["atom"],mantelpiece_clock:["clock"],camera_flash:["camera_with_flash"],film_strip:["film_frames"],balance_scale:["scales"],person_surfing:["surfer"],man_surfing:["surfing_man"],kiss_woman_man:["couplekiss","couplekiss_man_woman"],kiss_woman_woman:["couplekiss_woman_woman","female_couplekiss"],kiss_man_man:["couplekiss_man_man","male_couplekiss"],couple_with_heart_man_man:["male_couple_with_heart"],couple_with_heart:["couple_with_heart_woman_man"],couple_with_heart_woman_woman:["female_couple_with_heart"],clamp:["compression"],person_in_bed:["sleeping_accommodation","sleeping_bed"],om:["om_symbol"],man_rowing_boat:["rowing_boat","rowboat","rowing_man"],new_moon:["moon"],fleur_de_lis:["fleur-de-lis"],face_vomiting:["puke"],smile:["grinning_face_with_smiling_eyes"],frowning_with_open_mouth:["frowning_face_with_open_mouth"],grinning_face:["grinning"],smiley:["grinning_face_with_big_eyes"],grinning_face_with_smiling_eyes:["smile"],grin:["beaming_face_with_smiling_eyes"],laughing:["grinning_squinting_face","satisfied"],sweat_smile:["grinning_face_with_sweat"],rofl:["rolling_on_the_floor_laughing"],joy:["face_with_tears_of_joy"],wink:["winking_face"],blush:["smiling_face_with_smiling_eyes"],innocent:["smiling_face_with_halo"],smiling_face_with_three_hearts:["smiling_face_with_hearts"],heart_eyes:["smiling_face_with_heart_eyes"],face_blowing_a_kiss:["kissing_heart"],kissing_face:["kissing"],kissing_face_with_closed_eyes:["kissing_closed_eyes"],kissing_face_with_smiling_eyes:["kissing_smiling_eyes"],face_savoring_food:["yum"],face_with_tongue:["stuck_out_tongue"],winking_face_with_tongue:["stuck_out_tongue_winking_eye"],zany_face:["crazy_face"],squinting_face_with_tongue:["stuck_out_tongue_closed_eyes"],expressionless_face:["expressionless"],face_without_mouth:["no_mouth"],smirking_face:["smirk"],unamused_face:["unamused"],grimacing:["grimacing_face"],relieved_face:["relieved","relaxed"],pensive_face:["pensive"],sleepy_face:["sleepy"],sleeping_face:["sleeping"],face_with_medical_mask:["mask"],face_with_crossed_out_eyes:["dizzy_face"],confused:["confused_face"],worried:["worried_face"],open_mouth:["face_with_open_mouth"],hushed_face:["hushed"],astonished_face:["astonished"],flushed_face:["flushed"],frowning_face_with_open_mouth:["frowning_with_open_mouth"],anguished_face:["anguished"],fearful:["fearful_face"],anxious_face_with_sweat:["cold_sweat"],sad_but_relieved_face:["disappointed_relieved"],cry:["crying_face"],sob:["loudly_crying_face"],scream:["face_screaming_in_fear"],confounded_face:["confounded"],persevering_face:["persevere"],disappointed_face:["disappointed"],downcast_face_with_sweat:["sweat"],weary_face:["weary"],face_with_steam_from_nose:["triumph"],enraged_face:["rage"],angry:["angry_face"],face_with_symbols_on_mouth:["face_with_symbols_over_mouth"],smiling_face_with_horns:["smiling_imp"],angry_face_with_horns:["imp"],ogre:["japanese_ogre"],goblin:["japanese_goblin"],alien_monster:["space_invader"],grinning_cat:["smiley_cat"],grinning_cat_with_smiling_eyes:["smile_cat"],joy_cat:["cat_with_tears_of_joy"],smiling_cat_with_heart_eyes:["heart_eyes_cat"],cat_with_wry_smile:["smirk_cat"],weary_cat:["scream_cat"],crying_cat:["crying_cat_face"],see_no_evil_monkey:["see_no_evil"],hear_no_evil_monkey:["hear_no_evil"],speak_no_evil_monkey:["speak_no_evil"],heart_with_arrow:["cupid"],heart_with_ribbon:["gift_heart"],growing_heart:["heartpulse"],beating_heart:["heartbeat"],heart_exclamation:["heavy_heart_exclamation","heavy_heart_exclamation_mark_ornament"],heart:["red_heart"],100:["hundred_points"],anger_symbol:["anger"],collision:["boom"],sweat_droplets:["sweat_drops"],dashing_away:["dash"],waving_hand:["wave"],victory_hand:["v"],backhand_index_pointing_left:["point_left"],backhand_index_pointing_right:["point_right"],backhand_index_pointing_up:["point_up_2"],backhand_index_pointing_down:["point_down"],index_pointing_up:["point_up"],"+1":["thumbs_up","thumbsup"],"-1":["thumbs_down","thumbsdown"],raised_fist:["fist"],oncoming_fist:["facepunch","punch"],left_facing_fist:["fist_left"],right_facing_fist:["fist_right"],clap:["clapping_hands"],raising_hands:["raised_hands"],folded_hands:["pray","high_five"],nail_polish:["nail_care"],flexed_biceps:["muscle"],ear_with_hearing_aid:["hear_with_hearing_aid"],mouth:["lips"],person:["adult"],person_blond_hair:["person_with_blond_hair"],person_beard:["bearded_person"],man_red_hair:["man_red_haired"],man_curly_hair:["man_curly_haired"],man_white_hair:["man_white_haired"],woman_red_hair:["woman_red_haired"],woman_curly_hair:["woman_curly_haired"],woman_white_hair:["woman_white_haired"],blonde_woman:["woman_blond_hair"],blonde_man:["man_blond_hair"],older_person:["old_person","older_adult"],man_frowning:["frowning_man"],woman_frowning:["frowning_woman"],man_pouting:["pouting_man"],woman_pouting:["pouting_woman"],person_pouting:["person_with_pouting_face"],man_gesturing_no:["no_good_man"],woman_gesturing_no:["no_good_woman"],person_gesturing_no:["no_good"],man_gesturing_ok:["ok_man"],woman_gesturing_ok:["ok_woman"],man_tipping_hand:["tipping_hand_man"],woman_tipping_hand:["tipping_hand_woman"],person_tipping_hand:["information_desk_person"],man_raising_hand:["raising_hand_man"],woman_raising_hand:["raising_hand_woman"],person_raising_hand:["raising_hand"],woman_bowing:["bowing_woman"],woman_police_officer:["policewoman"],woman_detective:["female_detective"],guard:["guardsman"],woman_guard:["guardswoman"],person_with_skullcap:["man_with_gua_pi_mao"],construction_worker_man:["man_construction_worker"],construction_worker_woman:["woman_construction_worker"],woman_wearing_turban:["woman_with_turban"],man_wearing_turban:["man_with_turban"],person_with_veil:["bride_with_veil"],baby_angel:["angel"],santa_claus:["santa"],man_getting_massage:["massage_man"],woman_getting_massage:["massage_woman","massage"],person_getting_haircut:["haircut"],man_getting_haircut:["haircut_man"],woman_getting_haircut:["haircut_woman"],woman_walking:["walking_woman"],man_with_white_cane:["man_with_probing_cane"],woman_with_white_cane:["woman_with_probing_cane"],woman_running:["running_woman"],man_running:["running_man","runner"],woman_dancing:["dancer"],people_with_bunny_ears:["dancing_women","dancers"],person_in_suit_levitating:["business_suit_levitating","man_in_business_suit_levitating","levitate"],men_with_bunny_ears:["dancing_men"],woman_golfing:["golfing_woman"],woman_surfing:["surfing_woman"],woman_rowing_boat:["rowing_woman"],woman_swimming:["swimming_woman"],man_swimming:["swimming_man","swimmer"],woman_bouncing_ball:["basketball_woman"],woman_lifting_weights:["weight_lifting_woman"],man_lifting_weights:["weight_lifting_man"],man_biking:["biking_man","bicyclist"],woman_biking:["biking_woman"],woman_mountain_biking:["mountain_biking_woman"],man_mountain_biking:["mountain_biking_man","mountain_bicyclist"],person_taking_bath:["bath"],women_holding_hands:["two_women_holding_hands"],woman_and_man_holding_hands:["couple"],men_holding_hands:["two_men_holding_hands"],dog:["dog2"],cat:["cat2"],tiger:["tiger2"],horse:["racehorse"],cow:["cow2"],pig:["pig2"],fox:["fox_face"],ewe:["sheep"],camel:["dromedary_camel"],mouse:["mouse2"],rabbit:["rabbit2"],panda:["panda_face"],front_facing_baby_chick:["hatched_chick"],spouting_whale:["whale2"],spiral_shell:["shell"],sheaf_of_rice:["ear_of_rice"],leaf_fluttering_in_wind:["leaves"],red_apple:["apple"],ear_of_corn:["corn"],cheese_wedge:["cheese"],french_fries:["fries"],hot_dog:["hotdog"],cooking:["fried_egg"],pot_of_food:["stew"],bento_box:["bento"],cooked_rice:["rice"],curry_rice:["curry"],steaming_bowl:["ramen"],roasted_sweet_potato:["sweet_potato"],fish_cake_with_swirl:["fish_cake"],soft_ice_cream:["icecream"],birthday_cake:["birthday"],shortcake:["cake"],glass_of_milk:["milk_glass"],hot_beverage:["coffee"],teacup_without_handle:["tea"],bottle_with_popping_cork:["champagne"],cocktail_glass:["cocktail"],beer_mug:["beer"],clinking_beer_mugs:["beers"],mate:["maté"],ice:["ice_cube"],shushing_face:["sushing_face"],fork_and_knife_with_plate:["fork_knife_plate","plate_with_cutlery"],kitchen_knife:["hocho","knife"],globe_showing_europe_africa:["earth_africa"],globe_showing_americas:["earth_americas"],globe_showing_asia_australia:["earth_asia"],snow_capped_mountain:["mountain_snow"],beach_with_umbrella:["beach_umbrella","parasol_on_ground","beach"],office_building:["office"],post_office:["european_post_office"],castle:["european_castle"],sunset:["city_sunrise"],hot_springs:["hotsprings"],barber_pole:["barber"],locomotive:["steam_locomotive"],high_speed_train:["bullettrain_side"],bullet_train:["bullettrain_front"],train:["train2"],automobile:["red_car","car"],sport_utility_vehicle:["blue_car"],delivery_truck:["truck"],bicycle:["bike"],bus_stop:["busstop"],fuel_pump:["fuelpump"],police_car_light:["rotating_light"],horizontal_traffic_light:["traffic_light"],airplane_departure:["flight_departure"],airplane_arrival:["flight_arrival","airplane_arriving"],hourglass_done:["hourglass"],hourglass_not_done:["hourglass_flowing_sand"],twelve_o_clock:["clock12"],twelve_thirty:["clock1230"],one_o_clock:["clock1"],one_thirty:["clock130"],two_o_clock:["clock2"],two_thirty:["clock230"],three_o_clock:["clock3"],three_thirty:["clock330"],four_o_clock:["clock4"],four_thirty:["clock430"],five_o_clock:["clock5"],five_thirty:["clock530"],six_o_clock:["clock6"],six_thirty:["clock630"],seven_o_clock:["clock7"],seven_thirty:["clock730"],eight_o_clock:["clock8"],eight_thirty:["clock830"],nine_o_clock:["clock9"],nine_thirty:["clock930"],ten_o_clock:["clock10"],ten_thirty:["clock1030"],eleven_o_clock:["clock11"],eleven_thirty:["clock1130"],new_moon_face:["new_moon_with_face"],first_quarter_moon_face:["first_quarter_moon_with_face"],last_quarter_moon_face:["last_quarter_moon_with_face"],sun:["sunny"],full_moon_face:["full_moon_with_face"],ringed_planet:["ringer_planet"],glowing_star:["star2"],shooting_star:["stars"],high_voltage:["zap"],snowman:["snowman_with_snow"],snowman_without_snow:["snowman2"],ocean:["water_wave"],tada:["party_popper"],pine_decoration:["bamboo"],japanese_dolls:["dolls"],carp_streamer:["flags"],moon_viewing_ceremony:["rice_scene"],red_envelope:["red_gift_envelope"],wrapped_gift:["gift"],admission_tickets:["tickets"],soccer_ball:["soccer"],american_football:["football"],in_hole:["golf"],fishing_pole:["fishing_pole_and_fish"],running_shirt:["running_shirt_with_sash"],skis:["ski"],bullseye:["dart"],yoyo:["yo_yo","yo-yo"],water_pistol:["gun"],pool_8_ball:["8ball"],puzzle_piece:["jigsaw"],spade_suit:["spades"],heart_suit:["hearts"],diamond_suit:["diamonds"],club_suit:["clubs"],joker:["black_joker"],mahjong_red_dragon:["mahjong"],artist_palette:["art"],glasses:["eyeglasses"],sunglasses:["dark_sunglasses"],t_shirt:["tshirt","shirt"],woman_s_clothes:["womans_clothes"],clutch_bag:["pouch"],shopping_bags:["shopping"],backpack:["school_satchel"],man_s_shoe:["mans_shoe"],running_shoe:["athletic_shoe"],high_heeled_shoe:["high_heel"],woman_s_sandal:["sandal"],woman_s_boot:["boot"],woman_s_hat:["womans_hat"],top_hat:["tophat"],graduation_cap:["mortar_board"],rescue_worker_s_helmet:["rescue_worker_helmet","helmet_with_cross","helmet_with_white_cross"],gem_stone:["gem"],muted_speaker:["mute"],speaker_low_volume:["speaker"],speaker_medium_volume:["sound"],speaker_high_volume:["loud_sound"],megaphone:["mega"],bell_with_slash:["no_bell"],musical_notes:["notes"],headphone:["headphones"],mobile_phone:["iphone"],mobile_phone_with_arrow:["calling"],telephone:["phone"],fax_machine:["fax"],laptop:["computer"],computer_disk:["minidisc"],optical_disk:["cd"],film_frames:["film_strip"],clapper_board:["clapper"],television:["tv"],camera_with_flash:["camera_flash"],videocassette:["vhs"],magnifying_glass_tilted_left:["mag"],magnifying_glass_tilted_right:["mag_right"],light_bulb:["bulb"],red_paper_lantern:["izakaya_lantern"],rolled_up_newspaper:["newspaper_roll","newspaper2"],money_bag:["moneybag"],yen_banknote:["yen"],dollar_banknote:["dollar"],euro_banknote:["euro"],pound_banknote:["pound"],chart_increasing_with_yen:["chart"],closed_mailbox_with_raised_flag:["mailbox"],closed_mailbox_with_lowered_flag:["mailbox_closed"],open_mailbox_with_raised_flag:["mailbox_with_mail"],open_mailbox_with_lowered_flag:["mailbox_with_no_mail"],ballot_box_with_ballot:["ballot_box"],pencil:["pencil2"],date:["calendar"],chart_increasing:["chart_with_upwards_trend"],chart_decreasing:["chart_with_downwards_trend"],linked_paperclips:["paperclips"],locked:["lock"],unlocked:["unlock"],locked_with_pen:["lock_with_ink_pen"],locked_with_key:["closed_lock_with_key"],white_cane:["probing_cane"],roll_of_paper:["roll_of_toilet_paper"],cigarette:["smoking"],moai:["moyai"],atm_sign:["atm"],litter_in_bin_sign:["put_litter_in_its_place"],wheelchair_symbol:["wheelchair"],men_s_room:["mens"],women_s_room:["womens"],water_closet:["wc"],prohibited:["no_entry_sign"],no_littering:["do_not_litter"],non_potable_water:["non-potable_water"],no_one_under_eighteen:["underage"],up_arrow:["arrow_up"],up_right_arrow:["arrow_upper_right"],right_arrow:["arrow_right"],down_right_arrow:["arrow_lower_right"],down_arrow:["arrow_down"],down_left_arrow:["arrow_lower_left"],left_arrow:["arrow_left"],up_left_arrow:["arrow_upper_left"],up_down_arrow:["arrow_up_down"],right_arrow_curving_left:["leftwards_arrow_with_hook"],left_arrow_curving_right:["arrow_right_hook"],right_arrow_curving_up:["arrow_heading_up"],right_arrow_curving_down:["arrow_heading_down"],clockwise_vertical_arrows:["arrows_clockwise"],counterclockwise_arrows_button:["arrows_counterclockwise"],back_arrow:["back"],end_arrow:["end"],on_arrow:["on"],soon_arrow:["soon"],top_arrow:["top"],dotted_six_pointed_star:["six_pointed_star"],scorpio:["scorpius"],shuffle_tracks_button:["twisted_rightwards_arrows"],repeat_button:["repeat"],repeat_single_button:["repeat_one"],play_button:["arrow_forward"],fast_forward_button:["fast_forward"],reverse_button:["arrow_backward"],fast_reverse_button:["rewind"],last_track_button:["previous_track_button","track_previous","previous_track"],upwards_button:["arrow_up_small"],fast_up_button:["arrow_double_up"],downwards_button:["arrow_down_small"],fast_down_button:["arrow_double_down"],dim_button:["low_brightness"],bright_button:["high_brightness"],antenna_bars:["signal_strength"],multiply:["heavy_multiplication_x"],plus:["heavy_plus_sign"],minus:["heavy_minus_sign"],divide:["heavy_division_sign"],double_exclamation_mark:["bangbang"],exclamation_question_mark:["interrobang"],red_question_mark:["question"],white_question_mark:["grey_question"],white_exclamation_mark:["grey_exclamation"],red_exclamation_mark:["exclamation"],recycling_symbol:["recycle"],trident_emblem:["trident"],japanese_symbol_for_beginner:["beginner"],hollow_red_circle:["o"],white_check_mark:["check_mark_button"],check_box_with_check:["ballot_box_with_check"],check_mark:["heavy_check_mark"],cross_mark:["x"],cross_mark_button:["negative_squared_cross_mark"],double_curly_loop:["loop"],eight_pointed_star:["eight_pointed_black_star"],trade_mark:["tm"],hash:["keycap_hash","keycap_#"],asterisk:["keycap_asterisk","keycap_*","keycap_star"],zero:["keycap_0"],one:["keycap_1"],two:["keycap_2"],three:["keycap_3"],four:["keycap_4"],five:["keycap_5"],six:["keycap_6"],seven:["keycap_7"],eight:["keycap_8"],nine:["keycap_9"],ten:["keycap_10","keycap_ten"],input_latin_uppercase:["capital_abcd"],input_latin_lowercase:["abcd"],1234:["input_numbers"],input_symbols:["symbols"],input_latin_letters:["abc"],a_button_blood_type:["a"],ab_button_blood_type:["ab"],b_button_blood_type:["b"],cl_button:["cl"],cool_button:["cool"],free_button:["free"],information_source:["information"],id_button:["id"],circled_m:["m"],new_button:["new"],ng_button:["ng"],o_button_blood_type:["o2"],ok_button:["ok"],p_button:["parking"],sos_button:["sos"],up_button:["up"],vs_button:["vs"],japanese_vacancy_button:["u7a7a"],japanese_discount_button:["u5272"],japanese_here_button:["koko"],japanese_not_free_of_charge_button:["sa","u6709"],japanese_application_button:["u7533"],japanese_bargain_button:["ideograph_advantage"],japanese_prohibited_button:["u7981"],japanese_acceptable_button:["accept"],japanese_congratulations_button:["congratulations"],japanese_secret_button:["secret"],japanese_open_for_business_button:["u55b6"],japanese_monthly_amount_button:["u6708"],japanese_passing_grade_button:["u5408"],japanese_no_vacancy_button:["u6e80"],japanese_free_of_charge_button:["u7121"],japanese_reserved_button:["u6307"],blue_circle:["large_blue_circle"],red_triangle_pointed_up:["small_red_triangle"],red_triangle_pointed_down:["small_red_triangle_down"],diamond_with_a_dot:["diamond_shape_with_a_dot_inside"],chequered_flag:["checkered_flag"],triangular_flag:["triangular_flag_on_post"],åland_islands:["aland_islands"],piñata:["pinata"],cocos_keeling_islands:["cocos_islands"],côte_d_ivoire:["cote_divoire","cote_d_ivoire"],china:["cn","flag_cn"],curaçao:["curacao"],czechia:["czech_republic"],türkiye:["turkiye","tr","flag_tr"],germany:["de","flag_de"],ceuta_melilla:["ceuta_and_melilla"],spain:["es","flag_es"],european_union:["eu"],france:["fr","flag_fr"],hong_kong_sar_china:["hong_kong"],heard_mcdonald_islands:["heard_and_mc_donald_islands"],italy:["it","flag_it"],japan:["jp","flag_jp"],south_korea:["kr","flag_kr"],north_macedonia:["macedonia"],myanmar_burma:["myanmar"],macao_sar_china:["macau"],russia:["ru","flag_ru"],svalbard_jan_mayen:["svalbard_and_jan_mayen"],eswatini:["swaziland"],united_states:["us","flag_us"],united_kingdom:["uk","gb","flag_gb"]},a={":)":"slight_smile",":-)":"slight_smile","^_^":"slight_smile","^__^":"slight_smile",":(":"frowning",":-(":"frowning",";)":"wink",";-)":"wink",":'(":"cry",":'-(":"cry",":-'(":"cry",":p":"stuck_out_tongue",":P":"stuck_out_tongue",":-P":"stuck_out_tongue",":O":"open_mouth",":-O":"open_mouth",":D":"smiley",":-D":"smiley",":|":"expressionless",":-|":"expressionless",":/":"confused","8-)":"sunglasses",";P":"stuck_out_tongue_winking_eye",";-P":"stuck_out_tongue_winking_eye",":$":"blush",":-$":"blush"},o={"😀":"grinning_face","😃":"smiley","😄":"grinning_face_with_smiling_eyes","😁":"grin","😆":"laughing","😅":"sweat_smile","🤣":"rofl","😂":"joy","🙂":"slightly_smiling_face","🙃":"upside_down_face","🫠":"melting_face","😉":"wink","😊":"blush","😇":"innocent","🥰":"smiling_face_with_three_hearts","😍":"heart_eyes","🤩":"star_struck","😘":"face_blowing_a_kiss","😗":"kissing_face","☺":"smiling_face","😚":"kissing_face_with_closed_eyes","😙":"kissing_face_with_smiling_eyes","🥲":"smiling_face_with_tear","😋":"face_savoring_food","😛":"face_with_tongue","😜":"winking_face_with_tongue","🤪":"zany_face","😝":"squinting_face_with_tongue","🤑":"money_mouth_face","🤗":"hugs","🤭":"face_with_hand_over_mouth","🫢":"face_with_open_eyes_and_hand_over_mouth","🫣":"face_with_peeking_eye","🤫":"shushing_face","🤔":"thinking","🫡":"saluting_face","🤐":"zipper_mouth_face","🤨":"face_with_raised_eyebrow","😐":"neutral_face","😑":"expressionless_face","😶":"face_without_mouth","🫥":"dotted_line_face","😶‍🌫️":"face_in_clouds","😏":"smirking_face","😒":"unamused_face","🙄":"roll_eyes","😬":"grimacing","😮‍💨":"face_exhaling","🤥":"lying_face","🫨":"shaking_face","🙂‍↔️":"head_shaking_horizontally","🙂‍↕️":"head_shaking_vertically","😌":"relieved_face","😔":"pensive_face","😪":"sleepy_face","🤤":"drooling_face","😴":"sleeping_face","🫩":"face_with_bags_under_eyes","😷":"face_with_medical_mask","🤒":"face_with_thermometer","🤕":"face_with_head_bandage","🤢":"nauseated_face","🤮":"face_vomiting","🤧":"sneezing_face","🥵":"hot_face","🥶":"cold_face","🥴":"woozy_face","😵":"face_with_crossed_out_eyes","😵‍💫":"face_with_spiral_eyes","🤯":"exploding_head","🤠":"cowboy_hat_face","🥳":"partying_face","🥸":"disguised_face","😎":"smiling_face_with_sunglasses","🤓":"nerd_face","🧐":"face_with_monocle","😕":"confused","🫤":"face_with_diagonal_mouth","😟":"worried","🙁":"slightly_frowning_face","☹":"frowning","😮":"open_mouth","😯":"hushed_face","😲":"astonished_face","😳":"flushed_face","🥺":"pleading_face","🥹":"face_holding_back_tears","😦":"frowning_face_with_open_mouth","😧":"anguished_face","😨":"fearful","😰":"anxious_face_with_sweat","😥":"sad_but_relieved_face","😢":"cry","😭":"sob","😱":"scream","😖":"confounded_face","😣":"persevering_face","😞":"disappointed_face","😓":"downcast_face_with_sweat","😩":"weary_face","😫":"tired_face","🥱":"yawning_face","😤":"face_with_steam_from_nose","😡":"enraged_face","😠":"angry","🤬":"face_with_symbols_on_mouth","😈":"smiling_face_with_horns","👿":"angry_face_with_horns","💀":"skull","☠":"skull_and_crossbones","💩":"poop","🤡":"clown_face","👹":"ogre","👺":"goblin","👻":"ghost","👽":"alien","👾":"alien_monster","🤖":"robot","😺":"grinning_cat","😸":"grinning_cat_with_smiling_eyes","😹":"joy_cat","😻":"smiling_cat_with_heart_eyes","😼":"cat_with_wry_smile","😽":"kissing_cat","🙀":"weary_cat","😿":"crying_cat","😾":"pouting_cat","🙈":"see_no_evil_monkey","🙉":"hear_no_evil_monkey","🙊":"speak_no_evil_monkey","💌":"love_letter","💘":"heart_with_arrow","💝":"heart_with_ribbon","💖":"sparkling_heart","💗":"growing_heart","💓":"beating_heart","💞":"revolving_hearts","💕":"two_hearts","💟":"heart_decoration","❣":"heart_exclamation","💔":"broken_heart","❤️‍🔥":"heart_on_fire","❤️‍🩹":"mending_heart","❤":"heart","🩷":"pink_heart","🧡":"orange_heart","💛":"yellow_heart","💚":"green_heart","💙":"blue_heart","🩵":"light_blue_heart","💜":"purple_heart","🤎":"brown_heart","🖤":"black_heart","🩶":"grey_heart","🤍":"white_heart","💋":"kiss_mark","💯":"100","💢":"anger_symbol","💥":"collision","💫":"dizzy","💦":"sweat_droplets","💨":"dashing_away","🕳":"hole","💬":"speech_balloon","👁️‍🗨️":"eye_in_speech_bubble","🗨":"left_speech_bubble","🗯":"right_anger_bubble","💭":"thought_balloon","💤":"zzz","👋":"waving_hand","👋🏻":"waving_hand:t2","👋🏼":"waving_hand:t3","👋🏽":"waving_hand:t4","👋🏾":"waving_hand:t5","👋🏿":"waving_hand:t6","🤚":"raised_back_of_hand","🤚🏻":"raised_back_of_hand:t2","🤚🏼":"raised_back_of_hand:t3","🤚🏽":"raised_back_of_hand:t4","🤚🏾":"raised_back_of_hand:t5","🤚🏿":"raised_back_of_hand:t6","🖐":"hand_with_fingers_splayed","🖐🏻":"hand_with_fingers_splayed:t2","🖐🏼":"hand_with_fingers_splayed:t3","🖐🏽":"hand_with_fingers_splayed:t4","🖐🏾":"hand_with_fingers_splayed:t5","🖐🏿":"hand_with_fingers_splayed:t6","✋":"raised_hand","✋🏻":"raised_hand:t2","✋🏼":"raised_hand:t3","✋🏽":"raised_hand:t4","✋🏾":"raised_hand:t5","✋🏿":"raised_hand:t6","🖖":"vulcan_salute","🖖🏻":"vulcan_salute:t2","🖖🏼":"vulcan_salute:t3","🖖🏽":"vulcan_salute:t4","🖖🏾":"vulcan_salute:t5","🖖🏿":"vulcan_salute:t6","🫱":"rightwards_hand","🫱🏻":"rightwards_hand:t2","🫱🏼":"rightwards_hand:t3","🫱🏽":"rightwards_hand:t4","🫱🏾":"rightwards_hand:t5","🫱🏿":"rightwards_hand:t6","🫲":"leftwards_hand","🫲🏻":"leftwards_hand:t2","🫲🏼":"leftwards_hand:t3","🫲🏽":"leftwards_hand:t4","🫲🏾":"leftwards_hand:t5","🫲🏿":"leftwards_hand:t6","🫳":"palm_down_hand","🫳🏻":"palm_down_hand:t2","🫳🏼":"palm_down_hand:t3","🫳🏽":"palm_down_hand:t4","🫳🏾":"palm_down_hand:t5","🫳🏿":"palm_down_hand:t6","🫴":"palm_up_hand","🫴🏻":"palm_up_hand:t2","🫴🏼":"palm_up_hand:t3","🫴🏽":"palm_up_hand:t4","🫴🏾":"palm_up_hand:t5","🫴🏿":"palm_up_hand:t6","🫷":"leftwards_pushing_hand","🫷🏻":"leftwards_pushing_hand:t2","🫷🏼":"leftwards_pushing_hand:t3","🫷🏽":"leftwards_pushing_hand:t4","🫷🏾":"leftwards_pushing_hand:t5","🫷🏿":"leftwards_pushing_hand:t6","🫸":"rightwards_pushing_hand","🫸🏻":"rightwards_pushing_hand:t2","🫸🏼":"rightwards_pushing_hand:t3","🫸🏽":"rightwards_pushing_hand:t4","🫸🏾":"rightwards_pushing_hand:t5","🫸🏿":"rightwards_pushing_hand:t6","👌":"ok_hand","👌🏻":"ok_hand:t2","👌🏼":"ok_hand:t3","👌🏽":"ok_hand:t4","👌🏾":"ok_hand:t5","👌🏿":"ok_hand:t6","🤌":"pinched_fingers","🤌🏻":"pinched_fingers:t2","🤌🏼":"pinched_fingers:t3","🤌🏽":"pinched_fingers:t4","🤌🏾":"pinched_fingers:t5","🤌🏿":"pinched_fingers:t6","🤏":"pinching_hand","🤏🏻":"pinching_hand:t2","🤏🏼":"pinching_hand:t3","🤏🏽":"pinching_hand:t4","🤏🏾":"pinching_hand:t5","🤏🏿":"pinching_hand:t6","✌":"victory_hand","✌🏻":"victory_hand:t2","✌🏼":"victory_hand:t3","✌🏽":"victory_hand:t4","✌🏾":"victory_hand:t5","✌🏿":"victory_hand:t6","🤞":"crossed_fingers","🤞🏻":"crossed_fingers:t2","🤞🏼":"crossed_fingers:t3","🤞🏽":"crossed_fingers:t4","🤞🏾":"crossed_fingers:t5","🤞🏿":"crossed_fingers:t6","🫰":"hand_with_index_finger_and_thumb_crossed","🫰🏻":"hand_with_index_finger_and_thumb_crossed:t2","🫰🏼":"hand_with_index_finger_and_thumb_crossed:t3","🫰🏽":"hand_with_index_finger_and_thumb_crossed:t4","🫰🏾":"hand_with_index_finger_and_thumb_crossed:t5","🫰🏿":"hand_with_index_finger_and_thumb_crossed:t6","🤟":"love_you_gesture","🤟🏻":"love_you_gesture:t2","🤟🏼":"love_you_gesture:t3","🤟🏽":"love_you_gesture:t4","🤟🏾":"love_you_gesture:t5","🤟🏿":"love_you_gesture:t6","🤘":"sign_of_the_horns","🤘🏻":"sign_of_the_horns:t2","🤘🏼":"sign_of_the_horns:t3","🤘🏽":"sign_of_the_horns:t4","🤘🏾":"sign_of_the_horns:t5","🤘🏿":"sign_of_the_horns:t6","🤙":"call_me_hand","🤙🏻":"call_me_hand:t2","🤙🏼":"call_me_hand:t3","🤙🏽":"call_me_hand:t4","🤙🏾":"call_me_hand:t5","🤙🏿":"call_me_hand:t6","👈":"backhand_index_pointing_left","👈🏻":"backhand_index_pointing_left:t2","👈🏼":"backhand_index_pointing_left:t3","👈🏽":"backhand_index_pointing_left:t4","👈🏾":"backhand_index_pointing_left:t5","👈🏿":"backhand_index_pointing_left:t6","👉":"backhand_index_pointing_right","👉🏻":"backhand_index_pointing_right:t2","👉🏼":"backhand_index_pointing_right:t3","👉🏽":"backhand_index_pointing_right:t4","👉🏾":"backhand_index_pointing_right:t5","👉🏿":"backhand_index_pointing_right:t6","👆":"backhand_index_pointing_up","👆🏻":"backhand_index_pointing_up:t2","👆🏼":"backhand_index_pointing_up:t3","👆🏽":"backhand_index_pointing_up:t4","👆🏾":"backhand_index_pointing_up:t5","👆🏿":"backhand_index_pointing_up:t6","🖕":"fu","🖕🏻":"fu:t2","🖕🏼":"fu:t3","🖕🏽":"fu:t4","🖕🏾":"fu:t5","🖕🏿":"fu:t6","👇":"backhand_index_pointing_down","👇🏻":"backhand_index_pointing_down:t2","👇🏼":"backhand_index_pointing_down:t3","👇🏽":"backhand_index_pointing_down:t4","👇🏾":"backhand_index_pointing_down:t5","👇🏿":"backhand_index_pointing_down:t6","☝":"index_pointing_up","☝🏻":"index_pointing_up:t2","☝🏼":"index_pointing_up:t3","☝🏽":"index_pointing_up:t4","☝🏾":"index_pointing_up:t5","☝🏿":"index_pointing_up:t6","🫵":"index_pointing_at_the_viewer","🫵🏻":"index_pointing_at_the_viewer:t2","🫵🏼":"index_pointing_at_the_viewer:t3","🫵🏽":"index_pointing_at_the_viewer:t4","🫵🏾":"index_pointing_at_the_viewer:t5","🫵🏿":"index_pointing_at_the_viewer:t6","👍":"+1","👍🏻":"+1:t2","👍🏼":"+1:t3","👍🏽":"+1:t4","👍🏾":"+1:t5","👍🏿":"+1:t6","👎":"-1","👎🏻":"-1:t2","👎🏼":"-1:t3","👎🏽":"-1:t4","👎🏾":"-1:t5","👎🏿":"-1:t6","✊":"raised_fist","✊🏻":"raised_fist:t2","✊🏼":"raised_fist:t3","✊🏽":"raised_fist:t4","✊🏾":"raised_fist:t5","✊🏿":"raised_fist:t6","👊":"oncoming_fist","👊🏻":"oncoming_fist:t2","👊🏼":"oncoming_fist:t3","👊🏽":"oncoming_fist:t4","👊🏾":"oncoming_fist:t5","👊🏿":"oncoming_fist:t6","🤛":"left_facing_fist","🤛🏻":"left_facing_fist:t2","🤛🏼":"left_facing_fist:t3","🤛🏽":"left_facing_fist:t4","🤛🏾":"left_facing_fist:t5","🤛🏿":"left_facing_fist:t6","🤜":"right_facing_fist","🤜🏻":"right_facing_fist:t2","🤜🏼":"right_facing_fist:t3","🤜🏽":"right_facing_fist:t4","🤜🏾":"right_facing_fist:t5","🤜🏿":"right_facing_fist:t6","👏":"clap","👏🏻":"clap:t2","👏🏼":"clap:t3","👏🏽":"clap:t4","👏🏾":"clap:t5","👏🏿":"clap:t6","🙌":"raising_hands","🙌🏻":"raising_hands:t2","🙌🏼":"raising_hands:t3","🙌🏽":"raising_hands:t4","🙌🏾":"raising_hands:t5","🙌🏿":"raising_hands:t6","🫶":"heart_hands","🫶🏻":"heart_hands:t2","🫶🏼":"heart_hands:t3","🫶🏽":"heart_hands:t4","🫶🏾":"heart_hands:t5","🫶🏿":"heart_hands:t6","👐":"open_hands","👐🏻":"open_hands:t2","👐🏼":"open_hands:t3","👐🏽":"open_hands:t4","👐🏾":"open_hands:t5","👐🏿":"open_hands:t6","🤲":"palms_up_together","🤲🏻":"palms_up_together:t2","🤲🏼":"palms_up_together:t3","🤲🏽":"palms_up_together:t4","🤲🏾":"palms_up_together:t5","🤲🏿":"palms_up_together:t6","🤝":"handshake","🤝🏻":"handshake:t2","🤝🏼":"handshake:t3","🤝🏽":"handshake:t4","🤝🏾":"handshake:t5","🤝🏿":"handshake:t6","🙏":"folded_hands","🙏🏻":"folded_hands:t2","🙏🏼":"folded_hands:t3","🙏🏽":"folded_hands:t4","🙏🏾":"folded_hands:t5","🙏🏿":"folded_hands:t6","✍":"writing_hand","✍🏻":"writing_hand:t2","✍🏼":"writing_hand:t3","✍🏽":"writing_hand:t4","✍🏾":"writing_hand:t5","✍🏿":"writing_hand:t6","💅":"nail_polish","💅🏻":"nail_polish:t2","💅🏼":"nail_polish:t3","💅🏽":"nail_polish:t4","💅🏾":"nail_polish:t5","💅🏿":"nail_polish:t6","🤳":"selfie","🤳🏻":"selfie:t2","🤳🏼":"selfie:t3","🤳🏽":"selfie:t4","🤳🏾":"selfie:t5","🤳🏿":"selfie:t6","💪":"flexed_biceps","💪🏻":"flexed_biceps:t2","💪🏼":"flexed_biceps:t3","💪🏽":"flexed_biceps:t4","💪🏾":"flexed_biceps:t5","💪🏿":"flexed_biceps:t6","🦾":"mechanical_arm","🦿":"mechanical_leg","🦵":"leg","🦵🏻":"leg:t2","🦵🏼":"leg:t3","🦵🏽":"leg:t4","🦵🏾":"leg:t5","🦵🏿":"leg:t6","🦶":"foot","🦶🏻":"foot:t2","🦶🏼":"foot:t3","🦶🏽":"foot:t4","🦶🏾":"foot:t5","🦶🏿":"foot:t6","👂":"ear","👂🏻":"ear:t2","👂🏼":"ear:t3","👂🏽":"ear:t4","👂🏾":"ear:t5","👂🏿":"ear:t6","🦻":"ear_with_hearing_aid","🦻🏻":"ear_with_hearing_aid:t2","🦻🏼":"ear_with_hearing_aid:t3","🦻🏽":"ear_with_hearing_aid:t4","🦻🏾":"ear_with_hearing_aid:t5","🦻🏿":"ear_with_hearing_aid:t6","👃":"nose","👃🏻":"nose:t2","👃🏼":"nose:t3","👃🏽":"nose:t4","👃🏾":"nose:t5","👃🏿":"nose:t6","🧠":"brain","🫀":"anatomical_heart","🫁":"lungs","🦷":"tooth","🦴":"bone","👀":"eyes","👁":"eye","👅":"tongue","👄":"mouth","🫦":"biting_lip","👶":"baby","👶🏻":"baby:t2","👶🏼":"baby:t3","👶🏽":"baby:t4","👶🏾":"baby:t5","👶🏿":"baby:t6","🧒":"child","🧒🏻":"child:t2","🧒🏼":"child:t3","🧒🏽":"child:t4","🧒🏾":"child:t5","🧒🏿":"child:t6","👦":"boy","👦🏻":"boy:t2","👦🏼":"boy:t3","👦🏽":"boy:t4","👦🏾":"boy:t5","👦🏿":"boy:t6","👧":"girl","👧🏻":"girl:t2","👧🏼":"girl:t3","👧🏽":"girl:t4","👧🏾":"girl:t5","👧🏿":"girl:t6","🧑":"person","🧑🏻":"person:t2","🧑🏼":"person:t3","🧑🏽":"person:t4","🧑🏾":"person:t5","🧑🏿":"person:t6","👱":"person_blond_hair","👱🏻":"person_blond_hair:t2","👱🏼":"person_blond_hair:t3","👱🏽":"person_blond_hair:t4","👱🏾":"person_blond_hair:t5","👱🏿":"person_blond_hair:t6","👨":"man","👨🏻":"man:t2","👨🏼":"man:t3","👨🏽":"man:t4","👨🏾":"man:t5","👨🏿":"man:t6","🧔":"person_beard","🧔🏻":"person_beard:t2","🧔🏼":"person_beard:t3","🧔🏽":"person_beard:t4","🧔🏾":"person_beard:t5","🧔🏿":"person_beard:t6","🧔‍♂️":"man_beard","🧔🏻‍♂️":"man_beard:t2","🧔🏼‍♂️":"man_beard:t3","🧔🏽‍♂️":"man_beard:t4","🧔🏾‍♂️":"man_beard:t5","🧔🏿‍♂️":"man_beard:t6","🧔‍♀️":"woman_beard","🧔🏻‍♀️":"woman_beard:t2","🧔🏼‍♀️":"woman_beard:t3","🧔🏽‍♀️":"woman_beard:t4","🧔🏾‍♀️":"woman_beard:t5","🧔🏿‍♀️":"woman_beard:t6","👨‍🦰":"man_red_hair","👨🏻‍🦰":"man_red_hair:t2","👨🏼‍🦰":"man_red_hair:t3","👨🏽‍🦰":"man_red_hair:t4","👨🏾‍🦰":"man_red_hair:t5","👨🏿‍🦰":"man_red_hair:t6","👨‍🦱":"man_curly_hair","👨🏻‍🦱":"man_curly_hair:t2","👨🏼‍🦱":"man_curly_hair:t3","👨🏽‍🦱":"man_curly_hair:t4","👨🏾‍🦱":"man_curly_hair:t5","👨🏿‍🦱":"man_curly_hair:t6","👨‍🦳":"man_white_hair","👨🏻‍🦳":"man_white_hair:t2","👨🏼‍🦳":"man_white_hair:t3","👨🏽‍🦳":"man_white_hair:t4","👨🏾‍🦳":"man_white_hair:t5","👨🏿‍🦳":"man_white_hair:t6","👨‍🦲":"man_bald","👨🏻‍🦲":"man_bald:t2","👨🏼‍🦲":"man_bald:t3","👨🏽‍🦲":"man_bald:t4","👨🏾‍🦲":"man_bald:t5","👨🏿‍🦲":"man_bald:t6","👩":"woman","👩🏻":"woman:t2","👩🏼":"woman:t3","👩🏽":"woman:t4","👩🏾":"woman:t5","👩🏿":"woman:t6","👩‍🦰":"woman_red_hair","👩🏻‍🦰":"woman_red_hair:t2","👩🏼‍🦰":"woman_red_hair:t3","👩🏽‍🦰":"woman_red_hair:t4","👩🏾‍🦰":"woman_red_hair:t5","👩🏿‍🦰":"woman_red_hair:t6","🧑‍🦰":"person_red_hair","🧑🏻‍🦰":"person_red_hair:t2","🧑🏼‍🦰":"person_red_hair:t3","🧑🏽‍🦰":"person_red_hair:t4","🧑🏾‍🦰":"person_red_hair:t5","🧑🏿‍🦰":"person_red_hair:t6","👩‍🦱":"woman_curly_hair","👩🏻‍🦱":"woman_curly_hair:t2","👩🏼‍🦱":"woman_curly_hair:t3","👩🏽‍🦱":"woman_curly_hair:t4","👩🏾‍🦱":"woman_curly_hair:t5","👩🏿‍🦱":"woman_curly_hair:t6","🧑‍🦱":"person_curly_hair","🧑🏻‍🦱":"person_curly_hair:t2","🧑🏼‍🦱":"person_curly_hair:t3","🧑🏽‍🦱":"person_curly_hair:t4","🧑🏾‍🦱":"person_curly_hair:t5","🧑🏿‍🦱":"person_curly_hair:t6","👩‍🦳":"woman_white_hair","👩🏻‍🦳":"woman_white_hair:t2","👩🏼‍🦳":"woman_white_hair:t3","👩🏽‍🦳":"woman_white_hair:t4","👩🏾‍🦳":"woman_white_hair:t5","👩🏿‍🦳":"woman_white_hair:t6","🧑‍🦳":"person_white_hair","🧑🏻‍🦳":"person_white_hair:t2","🧑🏼‍🦳":"person_white_hair:t3","🧑🏽‍🦳":"person_white_hair:t4","🧑🏾‍🦳":"person_white_hair:t5","🧑🏿‍🦳":"person_white_hair:t6","👩‍🦲":"woman_bald","👩🏻‍🦲":"woman_bald:t2","👩🏼‍🦲":"woman_bald:t3","👩🏽‍🦲":"woman_bald:t4","👩🏾‍🦲":"woman_bald:t5","👩🏿‍🦲":"woman_bald:t6","🧑‍🦲":"person_bald","🧑🏻‍🦲":"person_bald:t2","🧑🏼‍🦲":"person_bald:t3","🧑🏽‍🦲":"person_bald:t4","🧑🏾‍🦲":"person_bald:t5","🧑🏿‍🦲":"person_bald:t6","👱‍♀️":"blonde_woman","👱🏻‍♀️":"blonde_woman:t2","👱🏼‍♀️":"blonde_woman:t3","👱🏽‍♀️":"blonde_woman:t4","👱🏾‍♀️":"blonde_woman:t5","👱🏿‍♀️":"blonde_woman:t6","👱‍♂️":"blonde_man","👱🏻‍♂️":"blonde_man:t2","👱🏼‍♂️":"blonde_man:t3","👱🏽‍♂️":"blonde_man:t4","👱🏾‍♂️":"blonde_man:t5","👱🏿‍♂️":"blonde_man:t6","🧓":"older_person","🧓🏻":"older_person:t2","🧓🏼":"older_person:t3","🧓🏽":"older_person:t4","🧓🏾":"older_person:t5","🧓🏿":"older_person:t6","👴":"old_man","👴🏻":"old_man:t2","👴🏼":"old_man:t3","👴🏽":"old_man:t4","👴🏾":"old_man:t5","👴🏿":"old_man:t6","👵":"old_woman","👵🏻":"old_woman:t2","👵🏼":"old_woman:t3","👵🏽":"old_woman:t4","👵🏾":"old_woman:t5","👵🏿":"old_woman:t6","🙍":"person_frowning","🙍🏻":"person_frowning:t2","🙍🏼":"person_frowning:t3","🙍🏽":"person_frowning:t4","🙍🏾":"person_frowning:t5","🙍🏿":"person_frowning:t6","🙍‍♂️":"man_frowning","🙍🏻‍♂️":"man_frowning:t2","🙍🏼‍♂️":"man_frowning:t3","🙍🏽‍♂️":"man_frowning:t4","🙍🏾‍♂️":"man_frowning:t5","🙍🏿‍♂️":"man_frowning:t6","🙍‍♀️":"woman_frowning","🙍🏻‍♀️":"woman_frowning:t2","🙍🏼‍♀️":"woman_frowning:t3","🙍🏽‍♀️":"woman_frowning:t4","🙍🏾‍♀️":"woman_frowning:t5","🙍🏿‍♀️":"woman_frowning:t6","🙎":"person_pouting","🙎🏻":"person_pouting:t2","🙎🏼":"person_pouting:t3","🙎🏽":"person_pouting:t4","🙎🏾":"person_pouting:t5","🙎🏿":"person_pouting:t6","🙎‍♂️":"man_pouting","🙎🏻‍♂️":"man_pouting:t2","🙎🏼‍♂️":"man_pouting:t3","🙎🏽‍♂️":"man_pouting:t4","🙎🏾‍♂️":"man_pouting:t5","🙎🏿‍♂️":"man_pouting:t6","🙎‍♀️":"woman_pouting","🙎🏻‍♀️":"woman_pouting:t2","🙎🏼‍♀️":"woman_pouting:t3","🙎🏽‍♀️":"woman_pouting:t4","🙎🏾‍♀️":"woman_pouting:t5","🙎🏿‍♀️":"woman_pouting:t6","🙅":"person_gesturing_no","🙅🏻":"person_gesturing_no:t2","🙅🏼":"person_gesturing_no:t3","🙅🏽":"person_gesturing_no:t4","🙅🏾":"person_gesturing_no:t5","🙅🏿":"person_gesturing_no:t6","🙅‍♂️":"man_gesturing_no","🙅🏻‍♂️":"man_gesturing_no:t2","🙅🏼‍♂️":"man_gesturing_no:t3","🙅🏽‍♂️":"man_gesturing_no:t4","🙅🏾‍♂️":"man_gesturing_no:t5","🙅🏿‍♂️":"man_gesturing_no:t6","🙅‍♀️":"woman_gesturing_no","🙅🏻‍♀️":"woman_gesturing_no:t2","🙅🏼‍♀️":"woman_gesturing_no:t3","🙅🏽‍♀️":"woman_gesturing_no:t4","🙅🏾‍♀️":"woman_gesturing_no:t5","🙅🏿‍♀️":"woman_gesturing_no:t6","🙆":"person_gesturing_ok","🙆🏻":"person_gesturing_ok:t2","🙆🏼":"person_gesturing_ok:t3","🙆🏽":"person_gesturing_ok:t4","🙆🏾":"person_gesturing_ok:t5","🙆🏿":"person_gesturing_ok:t6","🙆‍♂️":"man_gesturing_ok","🙆🏻‍♂️":"man_gesturing_ok:t2","🙆🏼‍♂️":"man_gesturing_ok:t3","🙆🏽‍♂️":"man_gesturing_ok:t4","🙆🏾‍♂️":"man_gesturing_ok:t5","🙆🏿‍♂️":"man_gesturing_ok:t6","🙆‍♀️":"woman_gesturing_ok","🙆🏻‍♀️":"woman_gesturing_ok:t2","🙆🏼‍♀️":"woman_gesturing_ok:t3","🙆🏽‍♀️":"woman_gesturing_ok:t4","🙆🏾‍♀️":"woman_gesturing_ok:t5","🙆🏿‍♀️":"woman_gesturing_ok:t6","💁":"person_tipping_hand","💁🏻":"person_tipping_hand:t2","💁🏼":"person_tipping_hand:t3","💁🏽":"person_tipping_hand:t4","💁🏾":"person_tipping_hand:t5","💁🏿":"person_tipping_hand:t6","💁‍♂️":"man_tipping_hand","💁🏻‍♂️":"man_tipping_hand:t2","💁🏼‍♂️":"man_tipping_hand:t3","💁🏽‍♂️":"man_tipping_hand:t4","💁🏾‍♂️":"man_tipping_hand:t5","💁🏿‍♂️":"man_tipping_hand:t6","💁‍♀️":"woman_tipping_hand","💁🏻‍♀️":"woman_tipping_hand:t2","💁🏼‍♀️":"woman_tipping_hand:t3","💁🏽‍♀️":"woman_tipping_hand:t4","💁🏾‍♀️":"woman_tipping_hand:t5","💁🏿‍♀️":"woman_tipping_hand:t6","🙋":"person_raising_hand","🙋🏻":"person_raising_hand:t2","🙋🏼":"person_raising_hand:t3","🙋🏽":"person_raising_hand:t4","🙋🏾":"person_raising_hand:t5","🙋🏿":"person_raising_hand:t6","🙋‍♂️":"man_raising_hand","🙋🏻‍♂️":"man_raising_hand:t2","🙋🏼‍♂️":"man_raising_hand:t3","🙋🏽‍♂️":"man_raising_hand:t4","🙋🏾‍♂️":"man_raising_hand:t5","🙋🏿‍♂️":"man_raising_hand:t6","🙋‍♀️":"woman_raising_hand","🙋🏻‍♀️":"woman_raising_hand:t2","🙋🏼‍♀️":"woman_raising_hand:t3","🙋🏽‍♀️":"woman_raising_hand:t4","🙋🏾‍♀️":"woman_raising_hand:t5","🙋🏿‍♀️":"woman_raising_hand:t6","🧏":"deaf_person","🧏🏻":"deaf_person:t2","🧏🏼":"deaf_person:t3","🧏🏽":"deaf_person:t4","🧏🏾":"deaf_person:t5","🧏🏿":"deaf_person:t6","🧏‍♂️":"deaf_man","🧏🏻‍♂️":"deaf_man:t2","🧏🏼‍♂️":"deaf_man:t3","🧏🏽‍♂️":"deaf_man:t4","🧏🏾‍♂️":"deaf_man:t5","🧏🏿‍♂️":"deaf_man:t6","🧏‍♀️":"deaf_woman","🧏🏻‍♀️":"deaf_woman:t2","🧏🏼‍♀️":"deaf_woman:t3","🧏🏽‍♀️":"deaf_woman:t4","🧏🏾‍♀️":"deaf_woman:t5","🧏🏿‍♀️":"deaf_woman:t6","🙇":"person_bowing","🙇🏻":"person_bowing:t2","🙇🏼":"person_bowing:t3","🙇🏽":"person_bowing:t4","🙇🏾":"person_bowing:t5","🙇🏿":"person_bowing:t6","🙇‍♂️":"man_bowing","🙇🏻‍♂️":"man_bowing:t2","🙇🏼‍♂️":"man_bowing:t3","🙇🏽‍♂️":"man_bowing:t4","🙇🏾‍♂️":"man_bowing:t5","🙇🏿‍♂️":"man_bowing:t6","🙇‍♀️":"woman_bowing","🙇🏻‍♀️":"woman_bowing:t2","🙇🏼‍♀️":"woman_bowing:t3","🙇🏽‍♀️":"woman_bowing:t4","🙇🏾‍♀️":"woman_bowing:t5","🙇🏿‍♀️":"woman_bowing:t6","🤦":"person_facepalming","🤦🏻":"person_facepalming:t2","🤦🏼":"person_facepalming:t3","🤦🏽":"person_facepalming:t4","🤦🏾":"person_facepalming:t5","🤦🏿":"person_facepalming:t6","🤦‍♂️":"man_facepalming","🤦🏻‍♂️":"man_facepalming:t2","🤦🏼‍♂️":"man_facepalming:t3","🤦🏽‍♂️":"man_facepalming:t4","🤦🏾‍♂️":"man_facepalming:t5","🤦🏿‍♂️":"man_facepalming:t6","🤦‍♀️":"woman_facepalming","🤦🏻‍♀️":"woman_facepalming:t2","🤦🏼‍♀️":"woman_facepalming:t3","🤦🏽‍♀️":"woman_facepalming:t4","🤦🏾‍♀️":"woman_facepalming:t5","🤦🏿‍♀️":"woman_facepalming:t6","🤷":"person_shrugging","🤷🏻":"person_shrugging:t2","🤷🏼":"person_shrugging:t3","🤷🏽":"person_shrugging:t4","🤷🏾":"person_shrugging:t5","🤷🏿":"person_shrugging:t6","🤷‍♂️":"man_shrugging","🤷🏻‍♂️":"man_shrugging:t2","🤷🏼‍♂️":"man_shrugging:t3","🤷🏽‍♂️":"man_shrugging:t4","🤷🏾‍♂️":"man_shrugging:t5","🤷🏿‍♂️":"man_shrugging:t6","🤷‍♀️":"woman_shrugging","🤷🏻‍♀️":"woman_shrugging:t2","🤷🏼‍♀️":"woman_shrugging:t3","🤷🏽‍♀️":"woman_shrugging:t4","🤷🏾‍♀️":"woman_shrugging:t5","🤷🏿‍♀️":"woman_shrugging:t6","🧑‍⚕️":"health_worker","🧑🏻‍⚕️":"health_worker:t2","🧑🏼‍⚕️":"health_worker:t3","🧑🏽‍⚕️":"health_worker:t4","🧑🏾‍⚕️":"health_worker:t5","🧑🏿‍⚕️":"health_worker:t6","👨‍⚕️":"man_health_worker","👨🏻‍⚕️":"man_health_worker:t2","👨🏼‍⚕️":"man_health_worker:t3","👨🏽‍⚕️":"man_health_worker:t4","👨🏾‍⚕️":"man_health_worker:t5","👨🏿‍⚕️":"man_health_worker:t6","👩‍⚕️":"woman_health_worker","👩🏻‍⚕️":"woman_health_worker:t2","👩🏼‍⚕️":"woman_health_worker:t3","👩🏽‍⚕️":"woman_health_worker:t4","👩🏾‍⚕️":"woman_health_worker:t5","👩🏿‍⚕️":"woman_health_worker:t6","🧑‍🎓":"student","🧑🏻‍🎓":"student:t2","🧑🏼‍🎓":"student:t3","🧑🏽‍🎓":"student:t4","🧑🏾‍🎓":"student:t5","🧑🏿‍🎓":"student:t6","👨‍🎓":"man_student","👨🏻‍🎓":"man_student:t2","👨🏼‍🎓":"man_student:t3","👨🏽‍🎓":"man_student:t4","👨🏾‍🎓":"man_student:t5","👨🏿‍🎓":"man_student:t6","👩‍🎓":"woman_student","👩🏻‍🎓":"woman_student:t2","👩🏼‍🎓":"woman_student:t3","👩🏽‍🎓":"woman_student:t4","👩🏾‍🎓":"woman_student:t5","👩🏿‍🎓":"woman_student:t6","🧑‍🏫":"teacher","🧑🏻‍🏫":"teacher:t2","🧑🏼‍🏫":"teacher:t3","🧑🏽‍🏫":"teacher:t4","🧑🏾‍🏫":"teacher:t5","🧑🏿‍🏫":"teacher:t6","👨‍🏫":"man_teacher","👨🏻‍🏫":"man_teacher:t2","👨🏼‍🏫":"man_teacher:t3","👨🏽‍🏫":"man_teacher:t4","👨🏾‍🏫":"man_teacher:t5","👨🏿‍🏫":"man_teacher:t6","👩‍🏫":"woman_teacher","👩🏻‍🏫":"woman_teacher:t2","👩🏼‍🏫":"woman_teacher:t3","👩🏽‍🏫":"woman_teacher:t4","👩🏾‍🏫":"woman_teacher:t5","👩🏿‍🏫":"woman_teacher:t6","🧑‍⚖️":"judge","🧑🏻‍⚖️":"judge:t2","🧑🏼‍⚖️":"judge:t3","🧑🏽‍⚖️":"judge:t4","🧑🏾‍⚖️":"judge:t5","🧑🏿‍⚖️":"judge:t6","👨‍⚖️":"man_judge","👨🏻‍⚖️":"man_judge:t2","👨🏼‍⚖️":"man_judge:t3","👨🏽‍⚖️":"man_judge:t4","👨🏾‍⚖️":"man_judge:t5","👨🏿‍⚖️":"man_judge:t6","👩‍⚖️":"woman_judge","👩🏻‍⚖️":"woman_judge:t2","👩🏼‍⚖️":"woman_judge:t3","👩🏽‍⚖️":"woman_judge:t4","👩🏾‍⚖️":"woman_judge:t5","👩🏿‍⚖️":"woman_judge:t6","🧑‍🌾":"farmer","🧑🏻‍🌾":"farmer:t2","🧑🏼‍🌾":"farmer:t3","🧑🏽‍🌾":"farmer:t4","🧑🏾‍🌾":"farmer:t5","🧑🏿‍🌾":"farmer:t6","👨‍🌾":"man_farmer","👨🏻‍🌾":"man_farmer:t2","👨🏼‍🌾":"man_farmer:t3","👨🏽‍🌾":"man_farmer:t4","👨🏾‍🌾":"man_farmer:t5","👨🏿‍🌾":"man_farmer:t6","👩‍🌾":"woman_farmer","👩🏻‍🌾":"woman_farmer:t2","👩🏼‍🌾":"woman_farmer:t3","👩🏽‍🌾":"woman_farmer:t4","👩🏾‍🌾":"woman_farmer:t5","👩🏿‍🌾":"woman_farmer:t6","🧑‍🍳":"cook","🧑🏻‍🍳":"cook:t2","🧑🏼‍🍳":"cook:t3","🧑🏽‍🍳":"cook:t4","🧑🏾‍🍳":"cook:t5","🧑🏿‍🍳":"cook:t6","👨‍🍳":"man_cook","👨🏻‍🍳":"man_cook:t2","👨🏼‍🍳":"man_cook:t3","👨🏽‍🍳":"man_cook:t4","👨🏾‍🍳":"man_cook:t5","👨🏿‍🍳":"man_cook:t6","👩‍🍳":"woman_cook","👩🏻‍🍳":"woman_cook:t2","👩🏼‍🍳":"woman_cook:t3","👩🏽‍🍳":"woman_cook:t4","👩🏾‍🍳":"woman_cook:t5","👩🏿‍🍳":"woman_cook:t6","🧑‍🔧":"mechanic","🧑🏻‍🔧":"mechanic:t2","🧑🏼‍🔧":"mechanic:t3","🧑🏽‍🔧":"mechanic:t4","🧑🏾‍🔧":"mechanic:t5","🧑🏿‍🔧":"mechanic:t6","👨‍🔧":"man_mechanic","👨🏻‍🔧":"man_mechanic:t2","👨🏼‍🔧":"man_mechanic:t3","👨🏽‍🔧":"man_mechanic:t4","👨🏾‍🔧":"man_mechanic:t5","👨🏿‍🔧":"man_mechanic:t6","👩‍🔧":"woman_mechanic","👩🏻‍🔧":"woman_mechanic:t2","👩🏼‍🔧":"woman_mechanic:t3","👩🏽‍🔧":"woman_mechanic:t4","👩🏾‍🔧":"woman_mechanic:t5","👩🏿‍🔧":"woman_mechanic:t6","🧑‍🏭":"factory_worker","🧑🏻‍🏭":"factory_worker:t2","🧑🏼‍🏭":"factory_worker:t3","🧑🏽‍🏭":"factory_worker:t4","🧑🏾‍🏭":"factory_worker:t5","🧑🏿‍🏭":"factory_worker:t6","👨‍🏭":"man_factory_worker","👨🏻‍🏭":"man_factory_worker:t2","👨🏼‍🏭":"man_factory_worker:t3","👨🏽‍🏭":"man_factory_worker:t4","👨🏾‍🏭":"man_factory_worker:t5","👨🏿‍🏭":"man_factory_worker:t6","👩‍🏭":"woman_factory_worker","👩🏻‍🏭":"woman_factory_worker:t2","👩🏼‍🏭":"woman_factory_worker:t3","👩🏽‍🏭":"woman_factory_worker:t4","👩🏾‍🏭":"woman_factory_worker:t5","👩🏿‍🏭":"woman_factory_worker:t6","🧑‍💼":"office_worker","🧑🏻‍💼":"office_worker:t2","🧑🏼‍💼":"office_worker:t3","🧑🏽‍💼":"office_worker:t4","🧑🏾‍💼":"office_worker:t5","🧑🏿‍💼":"office_worker:t6","👨‍💼":"man_office_worker","👨🏻‍💼":"man_office_worker:t2","👨🏼‍💼":"man_office_worker:t3","👨🏽‍💼":"man_office_worker:t4","👨🏾‍💼":"man_office_worker:t5","👨🏿‍💼":"man_office_worker:t6","👩‍💼":"woman_office_worker","👩🏻‍💼":"woman_office_worker:t2","👩🏼‍💼":"woman_office_worker:t3","👩🏽‍💼":"woman_office_worker:t4","👩🏾‍💼":"woman_office_worker:t5","👩🏿‍💼":"woman_office_worker:t6","🧑‍🔬":"scientist","🧑🏻‍🔬":"scientist:t2","🧑🏼‍🔬":"scientist:t3","🧑🏽‍🔬":"scientist:t4","🧑🏾‍🔬":"scientist:t5","🧑🏿‍🔬":"scientist:t6","👨‍🔬":"man_scientist","👨🏻‍🔬":"man_scientist:t2","👨🏼‍🔬":"man_scientist:t3","👨🏽‍🔬":"man_scientist:t4","👨🏾‍🔬":"man_scientist:t5","👨🏿‍🔬":"man_scientist:t6","👩‍🔬":"woman_scientist","👩🏻‍🔬":"woman_scientist:t2","👩🏼‍🔬":"woman_scientist:t3","👩🏽‍🔬":"woman_scientist:t4","👩🏾‍🔬":"woman_scientist:t5","👩🏿‍🔬":"woman_scientist:t6","🧑‍💻":"technologist","🧑🏻‍💻":"technologist:t2","🧑🏼‍💻":"technologist:t3","🧑🏽‍💻":"technologist:t4","🧑🏾‍💻":"technologist:t5","🧑🏿‍💻":"technologist:t6","👨‍💻":"man_technologist","👨🏻‍💻":"man_technologist:t2","👨🏼‍💻":"man_technologist:t3","👨🏽‍💻":"man_technologist:t4","👨🏾‍💻":"man_technologist:t5","👨🏿‍💻":"man_technologist:t6","👩‍💻":"woman_technologist","👩🏻‍💻":"woman_technologist:t2","👩🏼‍💻":"woman_technologist:t3","👩🏽‍💻":"woman_technologist:t4","👩🏾‍💻":"woman_technologist:t5","👩🏿‍💻":"woman_technologist:t6","🧑‍🎤":"singer","🧑🏻‍🎤":"singer:t2","🧑🏼‍🎤":"singer:t3","🧑🏽‍🎤":"singer:t4","🧑🏾‍🎤":"singer:t5","🧑🏿‍🎤":"singer:t6","👨‍🎤":"man_singer","👨🏻‍🎤":"man_singer:t2","👨🏼‍🎤":"man_singer:t3","👨🏽‍🎤":"man_singer:t4","👨🏾‍🎤":"man_singer:t5","👨🏿‍🎤":"man_singer:t6","👩‍🎤":"woman_singer","👩🏻‍🎤":"woman_singer:t2","👩🏼‍🎤":"woman_singer:t3","👩🏽‍🎤":"woman_singer:t4","👩🏾‍🎤":"woman_singer:t5","👩🏿‍🎤":"woman_singer:t6","🧑‍🎨":"artist","🧑🏻‍🎨":"artist:t2","🧑🏼‍🎨":"artist:t3","🧑🏽‍🎨":"artist:t4","🧑🏾‍🎨":"artist:t5","🧑🏿‍🎨":"artist:t6","👨‍🎨":"man_artist","👨🏻‍🎨":"man_artist:t2","👨🏼‍🎨":"man_artist:t3","👨🏽‍🎨":"man_artist:t4","👨🏾‍🎨":"man_artist:t5","👨🏿‍🎨":"man_artist:t6","👩‍🎨":"woman_artist","👩🏻‍🎨":"woman_artist:t2","👩🏼‍🎨":"woman_artist:t3","👩🏽‍🎨":"woman_artist:t4","👩🏾‍🎨":"woman_artist:t5","👩🏿‍🎨":"woman_artist:t6","🧑‍✈️":"pilot","🧑🏻‍✈️":"pilot:t2","🧑🏼‍✈️":"pilot:t3","🧑🏽‍✈️":"pilot:t4","🧑🏾‍✈️":"pilot:t5","🧑🏿‍✈️":"pilot:t6","👨‍✈️":"man_pilot","👨🏻‍✈️":"man_pilot:t2","👨🏼‍✈️":"man_pilot:t3","👨🏽‍✈️":"man_pilot:t4","👨🏾‍✈️":"man_pilot:t5","👨🏿‍✈️":"man_pilot:t6","👩‍✈️":"woman_pilot","👩🏻‍✈️":"woman_pilot:t2","👩🏼‍✈️":"woman_pilot:t3","👩🏽‍✈️":"woman_pilot:t4","👩🏾‍✈️":"woman_pilot:t5","👩🏿‍✈️":"woman_pilot:t6","🧑‍🚀":"astronaut","🧑🏻‍🚀":"astronaut:t2","🧑🏼‍🚀":"astronaut:t3","🧑🏽‍🚀":"astronaut:t4","🧑🏾‍🚀":"astronaut:t5","🧑🏿‍🚀":"astronaut:t6","👨‍🚀":"man_astronaut","👨🏻‍🚀":"man_astronaut:t2","👨🏼‍🚀":"man_astronaut:t3","👨🏽‍🚀":"man_astronaut:t4","👨🏾‍🚀":"man_astronaut:t5","👨🏿‍🚀":"man_astronaut:t6","👩‍🚀":"woman_astronaut","👩🏻‍🚀":"woman_astronaut:t2","👩🏼‍🚀":"woman_astronaut:t3","👩🏽‍🚀":"woman_astronaut:t4","👩🏾‍🚀":"woman_astronaut:t5","👩🏿‍🚀":"woman_astronaut:t6","🧑‍🚒":"firefighter","🧑🏻‍🚒":"firefighter:t2","🧑🏼‍🚒":"firefighter:t3","🧑🏽‍🚒":"firefighter:t4","🧑🏾‍🚒":"firefighter:t5","🧑🏿‍🚒":"firefighter:t6","👨‍🚒":"man_firefighter","👨🏻‍🚒":"man_firefighter:t2","👨🏼‍🚒":"man_firefighter:t3","👨🏽‍🚒":"man_firefighter:t4","👨🏾‍🚒":"man_firefighter:t5","👨🏿‍🚒":"man_firefighter:t6","👩‍🚒":"woman_firefighter","👩🏻‍🚒":"woman_firefighter:t2","👩🏼‍🚒":"woman_firefighter:t3","👩🏽‍🚒":"woman_firefighter:t4","👩🏾‍🚒":"woman_firefighter:t5","👩🏿‍🚒":"woman_firefighter:t6","👮":"police_officer","👮🏻":"police_officer:t2","👮🏼":"police_officer:t3","👮🏽":"police_officer:t4","👮🏾":"police_officer:t5","👮🏿":"police_officer:t6","👮‍♂️":"man_police_officer","👮🏻‍♂️":"man_police_officer:t2","👮🏼‍♂️":"man_police_officer:t3","👮🏽‍♂️":"man_police_officer:t4","👮🏾‍♂️":"man_police_officer:t5","👮🏿‍♂️":"man_police_officer:t6","👮‍♀️":"woman_police_officer","👮🏻‍♀️":"woman_police_officer:t2","👮🏼‍♀️":"woman_police_officer:t3","👮🏽‍♀️":"woman_police_officer:t4","👮🏾‍♀️":"woman_police_officer:t5","👮🏿‍♀️":"woman_police_officer:t6","🕵":"detective","🕵🏻":"detective:t2","🕵🏼":"detective:t3","🕵🏽":"detective:t4","🕵🏾":"detective:t5","🕵🏿":"detective:t6","🕵️‍♂️":"man_detective","🕵🏻️‍♂️":"man_detective:t2","🕵🏼️‍♂️":"man_detective:t3","🕵🏽️‍♂️":"man_detective:t4","🕵🏾️‍♂️":"man_detective:t5","🕵🏿️‍♂️":"man_detective:t6","🕵️‍♀️":"woman_detective","🕵🏻️‍♀️":"woman_detective:t2","🕵🏼️‍♀️":"woman_detective:t3","🕵🏽️‍♀️":"woman_detective:t4","🕵🏾️‍♀️":"woman_detective:t5","🕵🏿️‍♀️":"woman_detective:t6","💂":"guard","💂🏻":"guard:t2","💂🏼":"guard:t3","💂🏽":"guard:t4","💂🏾":"guard:t5","💂🏿":"guard:t6","💂‍♂️":"man_guard","💂🏻‍♂️":"man_guard:t2","💂🏼‍♂️":"man_guard:t3","💂🏽‍♂️":"man_guard:t4","💂🏾‍♂️":"man_guard:t5","💂🏿‍♂️":"man_guard:t6","💂‍♀️":"woman_guard","💂🏻‍♀️":"woman_guard:t2","💂🏼‍♀️":"woman_guard:t3","💂🏽‍♀️":"woman_guard:t4","💂🏾‍♀️":"woman_guard:t5","💂🏿‍♀️":"woman_guard:t6","🥷":"ninja","🥷🏻":"ninja:t2","🥷🏼":"ninja:t3","🥷🏽":"ninja:t4","🥷🏾":"ninja:t5","🥷🏿":"ninja:t6","👷":"construction_worker","👷🏻":"construction_worker:t2","👷🏼":"construction_worker:t3","👷🏽":"construction_worker:t4","👷🏾":"construction_worker:t5","👷🏿":"construction_worker:t6","👷‍♂️":"construction_worker_man","👷🏻‍♂️":"construction_worker_man:t2","👷🏼‍♂️":"construction_worker_man:t3","👷🏽‍♂️":"construction_worker_man:t4","👷🏾‍♂️":"construction_worker_man:t5","👷🏿‍♂️":"construction_worker_man:t6","👷‍♀️":"construction_worker_woman","👷🏻‍♀️":"construction_worker_woman:t2","👷🏼‍♀️":"construction_worker_woman:t3","👷🏽‍♀️":"construction_worker_woman:t4","👷🏾‍♀️":"construction_worker_woman:t5","👷🏿‍♀️":"construction_worker_woman:t6","🫅":"person_with_crown","🫅🏻":"person_with_crown:t2","🫅🏼":"person_with_crown:t3","🫅🏽":"person_with_crown:t4","🫅🏾":"person_with_crown:t5","🫅🏿":"person_with_crown:t6","🤴":"prince","🤴🏻":"prince:t2","🤴🏼":"prince:t3","🤴🏽":"prince:t4","🤴🏾":"prince:t5","🤴🏿":"prince:t6","👸":"princess","👸🏻":"princess:t2","👸🏼":"princess:t3","👸🏽":"princess:t4","👸🏾":"princess:t5","👸🏿":"princess:t6","👳":"person_wearing_turban","👳🏻":"person_wearing_turban:t2","👳🏼":"person_wearing_turban:t3","👳🏽":"person_wearing_turban:t4","👳🏾":"person_wearing_turban:t5","👳🏿":"person_wearing_turban:t6","👳‍♂️":"man_wearing_turban","👳🏻‍♂️":"man_wearing_turban:t2","👳🏼‍♂️":"man_wearing_turban:t3","👳🏽‍♂️":"man_wearing_turban:t4","👳🏾‍♂️":"man_wearing_turban:t5","👳🏿‍♂️":"man_wearing_turban:t6","👳‍♀️":"woman_wearing_turban","👳🏻‍♀️":"woman_wearing_turban:t2","👳🏼‍♀️":"woman_wearing_turban:t3","👳🏽‍♀️":"woman_wearing_turban:t4","👳🏾‍♀️":"woman_wearing_turban:t5","👳🏿‍♀️":"woman_wearing_turban:t6","👲":"person_with_skullcap","👲🏻":"person_with_skullcap:t2","👲🏼":"person_with_skullcap:t3","👲🏽":"person_with_skullcap:t4","👲🏾":"person_with_skullcap:t5","👲🏿":"person_with_skullcap:t6","🧕":"woman_with_headscarf","🧕🏻":"woman_with_headscarf:t2","🧕🏼":"woman_with_headscarf:t3","🧕🏽":"woman_with_headscarf:t4","🧕🏾":"woman_with_headscarf:t5","🧕🏿":"woman_with_headscarf:t6","🤵":"person_in_tuxedo","🤵🏻":"person_in_tuxedo:t2","🤵🏼":"person_in_tuxedo:t3","🤵🏽":"person_in_tuxedo:t4","🤵🏾":"person_in_tuxedo:t5","🤵🏿":"person_in_tuxedo:t6","🤵‍♂️":"man_in_tuxedo","🤵🏻‍♂️":"man_in_tuxedo:t2","🤵🏼‍♂️":"man_in_tuxedo:t3","🤵🏽‍♂️":"man_in_tuxedo:t4","🤵🏾‍♂️":"man_in_tuxedo:t5","🤵🏿‍♂️":"man_in_tuxedo:t6","🤵‍♀️":"woman_in_tuxedo","🤵🏻‍♀️":"woman_in_tuxedo:t2","🤵🏼‍♀️":"woman_in_tuxedo:t3","🤵🏽‍♀️":"woman_in_tuxedo:t4","🤵🏾‍♀️":"woman_in_tuxedo:t5","🤵🏿‍♀️":"woman_in_tuxedo:t6","👰":"person_with_veil","👰🏻":"person_with_veil:t2","👰🏼":"person_with_veil:t3","👰🏽":"person_with_veil:t4","👰🏾":"person_with_veil:t5","👰🏿":"person_with_veil:t6","👰‍♂️":"man_with_veil","👰🏻‍♂️":"man_with_veil:t2","👰🏼‍♂️":"man_with_veil:t3","👰🏽‍♂️":"man_with_veil:t4","👰🏾‍♂️":"man_with_veil:t5","👰🏿‍♂️":"man_with_veil:t6","👰‍♀️":"woman_with_veil","👰🏻‍♀️":"woman_with_veil:t2","👰🏼‍♀️":"woman_with_veil:t3","👰🏽‍♀️":"woman_with_veil:t4","👰🏾‍♀️":"woman_with_veil:t5","👰🏿‍♀️":"woman_with_veil:t6","🤰":"pregnant_woman","🤰🏻":"pregnant_woman:t2","🤰🏼":"pregnant_woman:t3","🤰🏽":"pregnant_woman:t4","🤰🏾":"pregnant_woman:t5","🤰🏿":"pregnant_woman:t6","🫃":"pregnant_man","🫃🏻":"pregnant_man:t2","🫃🏼":"pregnant_man:t3","🫃🏽":"pregnant_man:t4","🫃🏾":"pregnant_man:t5","🫃🏿":"pregnant_man:t6","🫄":"pregnant_person","🫄🏻":"pregnant_person:t2","🫄🏼":"pregnant_person:t3","🫄🏽":"pregnant_person:t4","🫄🏾":"pregnant_person:t5","🫄🏿":"pregnant_person:t6","🤱":"breast_feeding","🤱🏻":"breast_feeding:t2","🤱🏼":"breast_feeding:t3","🤱🏽":"breast_feeding:t4","🤱🏾":"breast_feeding:t5","🤱🏿":"breast_feeding:t6","👩‍🍼":"woman_feeding_baby","👩🏻‍🍼":"woman_feeding_baby:t2","👩🏼‍🍼":"woman_feeding_baby:t3","👩🏽‍🍼":"woman_feeding_baby:t4","👩🏾‍🍼":"woman_feeding_baby:t5","👩🏿‍🍼":"woman_feeding_baby:t6","👨‍🍼":"man_feeding_baby","👨🏻‍🍼":"man_feeding_baby:t2","👨🏼‍🍼":"man_feeding_baby:t3","👨🏽‍🍼":"man_feeding_baby:t4","👨🏾‍🍼":"man_feeding_baby:t5","👨🏿‍🍼":"man_feeding_baby:t6","🧑‍🍼":"person_feeding_baby","🧑🏻‍🍼":"person_feeding_baby:t2","🧑🏼‍🍼":"person_feeding_baby:t3","🧑🏽‍🍼":"person_feeding_baby:t4","🧑🏾‍🍼":"person_feeding_baby:t5","🧑🏿‍🍼":"person_feeding_baby:t6","👼":"baby_angel","👼🏻":"baby_angel:t2","👼🏼":"baby_angel:t3","👼🏽":"baby_angel:t4","👼🏾":"baby_angel:t5","👼🏿":"baby_angel:t6","🎅":"santa_claus","🎅🏻":"santa_claus:t2","🎅🏼":"santa_claus:t3","🎅🏽":"santa_claus:t4","🎅🏾":"santa_claus:t5","🎅🏿":"santa_claus:t6","🤶":"mrs_claus","🤶🏻":"mrs_claus:t2","🤶🏼":"mrs_claus:t3","🤶🏽":"mrs_claus:t4","🤶🏾":"mrs_claus:t5","🤶🏿":"mrs_claus:t6","🧑‍🎄":"mx_claus","🧑🏻‍🎄":"mx_claus:t2","🧑🏼‍🎄":"mx_claus:t3","🧑🏽‍🎄":"mx_claus:t4","🧑🏾‍🎄":"mx_claus:t5","🧑🏿‍🎄":"mx_claus:t6","🦸":"superhero","🦸🏻":"superhero:t2","🦸🏼":"superhero:t3","🦸🏽":"superhero:t4","🦸🏾":"superhero:t5","🦸🏿":"superhero:t6","🦸‍♂️":"man_superhero","🦸🏻‍♂️":"man_superhero:t2","🦸🏼‍♂️":"man_superhero:t3","🦸🏽‍♂️":"man_superhero:t4","🦸🏾‍♂️":"man_superhero:t5","🦸🏿‍♂️":"man_superhero:t6","🦸‍♀️":"woman_superhero","🦸🏻‍♀️":"woman_superhero:t2","🦸🏼‍♀️":"woman_superhero:t3","🦸🏽‍♀️":"woman_superhero:t4","🦸🏾‍♀️":"woman_superhero:t5","🦸🏿‍♀️":"woman_superhero:t6","🦹":"supervillain","🦹🏻":"supervillain:t2","🦹🏼":"supervillain:t3","🦹🏽":"supervillain:t4","🦹🏾":"supervillain:t5","🦹🏿":"supervillain:t6","🦹‍♂️":"man_supervillain","🦹🏻‍♂️":"man_supervillain:t2","🦹🏼‍♂️":"man_supervillain:t3","🦹🏽‍♂️":"man_supervillain:t4","🦹🏾‍♂️":"man_supervillain:t5","🦹🏿‍♂️":"man_supervillain:t6","🦹‍♀️":"woman_supervillain","🦹🏻‍♀️":"woman_supervillain:t2","🦹🏼‍♀️":"woman_supervillain:t3","🦹🏽‍♀️":"woman_supervillain:t4","🦹🏾‍♀️":"woman_supervillain:t5","🦹🏿‍♀️":"woman_supervillain:t6","🧙":"mage","🧙🏻":"mage:t2","🧙🏼":"mage:t3","🧙🏽":"mage:t4","🧙🏾":"mage:t5","🧙🏿":"mage:t6","🧙‍♂️":"man_mage","🧙🏻‍♂️":"man_mage:t2","🧙🏼‍♂️":"man_mage:t3","🧙🏽‍♂️":"man_mage:t4","🧙🏾‍♂️":"man_mage:t5","🧙🏿‍♂️":"man_mage:t6","🧙‍♀️":"woman_mage","🧙🏻‍♀️":"woman_mage:t2","🧙🏼‍♀️":"woman_mage:t3","🧙🏽‍♀️":"woman_mage:t4","🧙🏾‍♀️":"woman_mage:t5","🧙🏿‍♀️":"woman_mage:t6","🧚":"fairy","🧚🏻":"fairy:t2","🧚🏼":"fairy:t3","🧚🏽":"fairy:t4","🧚🏾":"fairy:t5","🧚🏿":"fairy:t6","🧚‍♂️":"man_fairy","🧚🏻‍♂️":"man_fairy:t2","🧚🏼‍♂️":"man_fairy:t3","🧚🏽‍♂️":"man_fairy:t4","🧚🏾‍♂️":"man_fairy:t5","🧚🏿‍♂️":"man_fairy:t6","🧚‍♀️":"woman_fairy","🧚🏻‍♀️":"woman_fairy:t2","🧚🏼‍♀️":"woman_fairy:t3","🧚🏽‍♀️":"woman_fairy:t4","🧚🏾‍♀️":"woman_fairy:t5","🧚🏿‍♀️":"woman_fairy:t6","🧛":"vampire","🧛🏻":"vampire:t2","🧛🏼":"vampire:t3","🧛🏽":"vampire:t4","🧛🏾":"vampire:t5","🧛🏿":"vampire:t6","🧛‍♂️":"man_vampire","🧛🏻‍♂️":"man_vampire:t2","🧛🏼‍♂️":"man_vampire:t3","🧛🏽‍♂️":"man_vampire:t4","🧛🏾‍♂️":"man_vampire:t5","🧛🏿‍♂️":"man_vampire:t6","🧛‍♀️":"woman_vampire","🧛🏻‍♀️":"woman_vampire:t2","🧛🏼‍♀️":"woman_vampire:t3","🧛🏽‍♀️":"woman_vampire:t4","🧛🏾‍♀️":"woman_vampire:t5","🧛🏿‍♀️":"woman_vampire:t6","🧜":"merperson","🧜🏻":"merperson:t2","🧜🏼":"merperson:t3","🧜🏽":"merperson:t4","🧜🏾":"merperson:t5","🧜🏿":"merperson:t6","🧜‍♂️":"merman","🧜🏻‍♂️":"merman:t2","🧜🏼‍♂️":"merman:t3","🧜🏽‍♂️":"merman:t4","🧜🏾‍♂️":"merman:t5","🧜🏿‍♂️":"merman:t6","🧜‍♀️":"mermaid","🧜🏻‍♀️":"mermaid:t2","🧜🏼‍♀️":"mermaid:t3","🧜🏽‍♀️":"mermaid:t4","🧜🏾‍♀️":"mermaid:t5","🧜🏿‍♀️":"mermaid:t6","🧝":"elf","🧝🏻":"elf:t2","🧝🏼":"elf:t3","🧝🏽":"elf:t4","🧝🏾":"elf:t5","🧝🏿":"elf:t6","🧝‍♂️":"man_elf","🧝🏻‍♂️":"man_elf:t2","🧝🏼‍♂️":"man_elf:t3","🧝🏽‍♂️":"man_elf:t4","🧝🏾‍♂️":"man_elf:t5","🧝🏿‍♂️":"man_elf:t6","🧝‍♀️":"woman_elf","🧝🏻‍♀️":"woman_elf:t2","🧝🏼‍♀️":"woman_elf:t3","🧝🏽‍♀️":"woman_elf:t4","🧝🏾‍♀️":"woman_elf:t5","🧝🏿‍♀️":"woman_elf:t6","🧞":"genie","🧞‍♂️":"man_genie","🧞‍♀️":"woman_genie","🧟":"zombie","🧟‍♂️":"man_zombie","🧟‍♀️":"woman_zombie","🧌":"troll","💆":"person_getting_massage","💆🏻":"person_getting_massage:t2","💆🏼":"person_getting_massage:t3","💆🏽":"person_getting_massage:t4","💆🏾":"person_getting_massage:t5","💆🏿":"person_getting_massage:t6","💆‍♂️":"man_getting_massage","💆🏻‍♂️":"man_getting_massage:t2","💆🏼‍♂️":"man_getting_massage:t3","💆🏽‍♂️":"man_getting_massage:t4","💆🏾‍♂️":"man_getting_massage:t5","💆🏿‍♂️":"man_getting_massage:t6","💆‍♀️":"woman_getting_massage","💆🏻‍♀️":"woman_getting_massage:t2","💆🏼‍♀️":"woman_getting_massage:t3","💆🏽‍♀️":"woman_getting_massage:t4","💆🏾‍♀️":"woman_getting_massage:t5","💆🏿‍♀️":"woman_getting_massage:t6","💇":"person_getting_haircut","💇🏻":"person_getting_haircut:t2","💇🏼":"person_getting_haircut:t3","💇🏽":"person_getting_haircut:t4","💇🏾":"person_getting_haircut:t5","💇🏿":"person_getting_haircut:t6","💇‍♂️":"man_getting_haircut","💇🏻‍♂️":"man_getting_haircut:t2","💇🏼‍♂️":"man_getting_haircut:t3","💇🏽‍♂️":"man_getting_haircut:t4","💇🏾‍♂️":"man_getting_haircut:t5","💇🏿‍♂️":"man_getting_haircut:t6","💇‍♀️":"woman_getting_haircut","💇🏻‍♀️":"woman_getting_haircut:t2","💇🏼‍♀️":"woman_getting_haircut:t3","💇🏽‍♀️":"woman_getting_haircut:t4","💇🏾‍♀️":"woman_getting_haircut:t5","💇🏿‍♀️":"woman_getting_haircut:t6","🚶":"person_walking","🚶🏻":"person_walking:t2","🚶🏼":"person_walking:t3","🚶🏽":"person_walking:t4","🚶🏾":"person_walking:t5","🚶🏿":"person_walking:t6","🚶‍♂️":"man_walking","🚶🏻‍♂️":"man_walking:t2","🚶🏼‍♂️":"man_walking:t3","🚶🏽‍♂️":"man_walking:t4","🚶🏾‍♂️":"man_walking:t5","🚶🏿‍♂️":"man_walking:t6","🚶‍♀️":"woman_walking","🚶🏻‍♀️":"woman_walking:t2","🚶🏼‍♀️":"woman_walking:t3","🚶🏽‍♀️":"woman_walking:t4","🚶🏾‍♀️":"woman_walking:t5","🚶🏿‍♀️":"woman_walking:t6","🧍":"person_standing","🧍🏻":"person_standing:t2","🧍🏼":"person_standing:t3","🧍🏽":"person_standing:t4","🧍🏾":"person_standing:t5","🧍🏿":"person_standing:t6","🧍‍♂️":"man_standing","🧍🏻‍♂️":"man_standing:t2","🧍🏼‍♂️":"man_standing:t3","🧍🏽‍♂️":"man_standing:t4","🧍🏾‍♂️":"man_standing:t5","🧍🏿‍♂️":"man_standing:t6","🧍‍♀️":"woman_standing","🧍🏻‍♀️":"woman_standing:t2","🧍🏼‍♀️":"woman_standing:t3","🧍🏽‍♀️":"woman_standing:t4","🧍🏾‍♀️":"woman_standing:t5","🧍🏿‍♀️":"woman_standing:t6","🧎":"person_kneeling","🧎🏻":"person_kneeling:t2","🧎🏼":"person_kneeling:t3","🧎🏽":"person_kneeling:t4","🧎🏾":"person_kneeling:t5","🧎🏿":"person_kneeling:t6","🧎‍♂️":"man_kneeling","🧎🏻‍♂️":"man_kneeling:t2","🧎🏼‍♂️":"man_kneeling:t3","🧎🏽‍♂️":"man_kneeling:t4","🧎🏾‍♂️":"man_kneeling:t5","🧎🏿‍♂️":"man_kneeling:t6","🧎‍♀️":"woman_kneeling","🧎🏻‍♀️":"woman_kneeling:t2","🧎🏼‍♀️":"woman_kneeling:t3","🧎🏽‍♀️":"woman_kneeling:t4","🧎🏾‍♀️":"woman_kneeling:t5","🧎🏿‍♀️":"woman_kneeling:t6","🧑‍🦯":"person_with_white_cane","🧑🏻‍🦯":"person_with_white_cane:t2","🧑🏼‍🦯":"person_with_white_cane:t3","🧑🏽‍🦯":"person_with_white_cane:t4","🧑🏾‍🦯":"person_with_white_cane:t5","🧑🏿‍🦯":"person_with_white_cane:t6","👨‍🦯":"man_with_white_cane","👨🏻‍🦯":"man_with_white_cane:t2","👨🏼‍🦯":"man_with_white_cane:t3","👨🏽‍🦯":"man_with_white_cane:t4","👨🏾‍🦯":"man_with_white_cane:t5","👨🏿‍🦯":"man_with_white_cane:t6","👩‍🦯":"woman_with_white_cane","👩🏻‍🦯":"woman_with_white_cane:t2","👩🏼‍🦯":"woman_with_white_cane:t3","👩🏽‍🦯":"woman_with_white_cane:t4","👩🏾‍🦯":"woman_with_white_cane:t5","👩🏿‍🦯":"woman_with_white_cane:t6","🧑‍🦼":"person_in_motorized_wheelchair","🧑🏻‍🦼":"person_in_motorized_wheelchair:t2","🧑🏼‍🦼":"person_in_motorized_wheelchair:t3","🧑🏽‍🦼":"person_in_motorized_wheelchair:t4","🧑🏾‍🦼":"person_in_motorized_wheelchair:t5","🧑🏿‍🦼":"person_in_motorized_wheelchair:t6","👨‍🦼":"man_in_motorized_wheelchair","👨🏻‍🦼":"man_in_motorized_wheelchair:t2","👨🏼‍🦼":"man_in_motorized_wheelchair:t3","👨🏽‍🦼":"man_in_motorized_wheelchair:t4","👨🏾‍🦼":"man_in_motorized_wheelchair:t5","👨🏿‍🦼":"man_in_motorized_wheelchair:t6","👩‍🦼":"woman_in_motorized_wheelchair","👩🏻‍🦼":"woman_in_motorized_wheelchair:t2","👩🏼‍🦼":"woman_in_motorized_wheelchair:t3","👩🏽‍🦼":"woman_in_motorized_wheelchair:t4","👩🏾‍🦼":"woman_in_motorized_wheelchair:t5","👩🏿‍🦼":"woman_in_motorized_wheelchair:t6","🧑‍🦽":"person_in_manual_wheelchair","🧑🏻‍🦽":"person_in_manual_wheelchair:t2","🧑🏼‍🦽":"person_in_manual_wheelchair:t3","🧑🏽‍🦽":"person_in_manual_wheelchair:t4","🧑🏾‍🦽":"person_in_manual_wheelchair:t5","🧑🏿‍🦽":"person_in_manual_wheelchair:t6","👨‍🦽":"man_in_manual_wheelchair","👨🏻‍🦽":"man_in_manual_wheelchair:t2","👨🏼‍🦽":"man_in_manual_wheelchair:t3","👨🏽‍🦽":"man_in_manual_wheelchair:t4","👨🏾‍🦽":"man_in_manual_wheelchair:t5","👨🏿‍🦽":"man_in_manual_wheelchair:t6","👩‍🦽":"woman_in_manual_wheelchair","👩🏻‍🦽":"woman_in_manual_wheelchair:t2","👩🏼‍🦽":"woman_in_manual_wheelchair:t3","👩🏽‍🦽":"woman_in_manual_wheelchair:t4","👩🏾‍🦽":"woman_in_manual_wheelchair:t5","👩🏿‍🦽":"woman_in_manual_wheelchair:t6","🏃":"person_running","🏃🏻":"person_running:t2","🏃🏼":"person_running:t3","🏃🏽":"person_running:t4","🏃🏾":"person_running:t5","🏃🏿":"person_running:t6","🏃‍♂️":"man_running","🏃🏻‍♂️":"man_running:t2","🏃🏼‍♂️":"man_running:t3","🏃🏽‍♂️":"man_running:t4","🏃🏾‍♂️":"man_running:t5","🏃🏿‍♂️":"man_running:t6","🏃‍♀️":"woman_running","🏃🏻‍♀️":"woman_running:t2","🏃🏼‍♀️":"woman_running:t3","🏃🏽‍♀️":"woman_running:t4","🏃🏾‍♀️":"woman_running:t5","🏃🏿‍♀️":"woman_running:t6","💃":"woman_dancing","💃🏻":"woman_dancing:t2","💃🏼":"woman_dancing:t3","💃🏽":"woman_dancing:t4","💃🏾":"woman_dancing:t5","💃🏿":"woman_dancing:t6","🕺":"man_dancing","🕺🏻":"man_dancing:t2","🕺🏼":"man_dancing:t3","🕺🏽":"man_dancing:t4","🕺🏾":"man_dancing:t5","🕺🏿":"man_dancing:t6","🕴":"person_in_suit_levitating","🕴🏻":"person_in_suit_levitating:t2","🕴🏼":"person_in_suit_levitating:t3","🕴🏽":"person_in_suit_levitating:t4","🕴🏾":"person_in_suit_levitating:t5","🕴🏿":"person_in_suit_levitating:t6","👯":"people_with_bunny_ears","👯‍♂️":"men_with_bunny_ears","👯‍♀️":"women_with_bunny_ears","🧖":"person_in_steamy_room","🧖🏻":"person_in_steamy_room:t2","🧖🏼":"person_in_steamy_room:t3","🧖🏽":"person_in_steamy_room:t4","🧖🏾":"person_in_steamy_room:t5","🧖🏿":"person_in_steamy_room:t6","🧖‍♂️":"man_in_steamy_room","🧖🏻‍♂️":"man_in_steamy_room:t2","🧖🏼‍♂️":"man_in_steamy_room:t3","🧖🏽‍♂️":"man_in_steamy_room:t4","🧖🏾‍♂️":"man_in_steamy_room:t5","🧖🏿‍♂️":"man_in_steamy_room:t6","🧖‍♀️":"woman_in_steamy_room","🧖🏻‍♀️":"woman_in_steamy_room:t2","🧖🏼‍♀️":"woman_in_steamy_room:t3","🧖🏽‍♀️":"woman_in_steamy_room:t4","🧖🏾‍♀️":"woman_in_steamy_room:t5","🧖🏿‍♀️":"woman_in_steamy_room:t6","🧗":"person_climbing","🧗🏻":"person_climbing:t2","🧗🏼":"person_climbing:t3","🧗🏽":"person_climbing:t4","🧗🏾":"person_climbing:t5","🧗🏿":"person_climbing:t6","🧗‍♂️":"man_climbing","🧗🏻‍♂️":"man_climbing:t2","🧗🏼‍♂️":"man_climbing:t3","🧗🏽‍♂️":"man_climbing:t4","🧗🏾‍♂️":"man_climbing:t5","🧗🏿‍♂️":"man_climbing:t6","🧗‍♀️":"woman_climbing","🧗🏻‍♀️":"woman_climbing:t2","🧗🏼‍♀️":"woman_climbing:t3","🧗🏽‍♀️":"woman_climbing:t4","🧗🏾‍♀️":"woman_climbing:t5","🧗🏿‍♀️":"woman_climbing:t6","🤺":"person_fencing","🏇":"horse_racing","🏇🏻":"horse_racing:t2","🏇🏼":"horse_racing:t3","🏇🏽":"horse_racing:t4","🏇🏾":"horse_racing:t5","🏇🏿":"horse_racing:t6","⛷":"skier","🏂":"snowboarder","🏂🏻":"snowboarder:t2","🏂🏼":"snowboarder:t3","🏂🏽":"snowboarder:t4","🏂🏾":"snowboarder:t5","🏂🏿":"snowboarder:t6","🏌":"person_golfing","🏌🏻":"person_golfing:t2","🏌🏼":"person_golfing:t3","🏌🏽":"person_golfing:t4","🏌🏾":"person_golfing:t5","🏌🏿":"person_golfing:t6","🏌️‍♂️":"man_golfing","🏌🏻️‍♂️":"man_golfing:t2","🏌🏼️‍♂️":"man_golfing:t3","🏌🏽️‍♂️":"man_golfing:t4","🏌🏾️‍♂️":"man_golfing:t5","🏌🏿️‍♂️":"man_golfing:t6","🏌️‍♀️":"woman_golfing","🏌🏻️‍♀️":"woman_golfing:t2","🏌🏼️‍♀️":"woman_golfing:t3","🏌🏽️‍♀️":"woman_golfing:t4","🏌🏾️‍♀️":"woman_golfing:t5","🏌🏿️‍♀️":"woman_golfing:t6","🏄":"person_surfing","🏄🏻":"person_surfing:t2","🏄🏼":"person_surfing:t3","🏄🏽":"person_surfing:t4","🏄🏾":"person_surfing:t5","🏄🏿":"person_surfing:t6","🏄‍♂️":"man_surfing","🏄🏻‍♂️":"man_surfing:t2","🏄🏼‍♂️":"man_surfing:t3","🏄🏽‍♂️":"man_surfing:t4","🏄🏾‍♂️":"man_surfing:t5","🏄🏿‍♂️":"man_surfing:t6","🏄‍♀️":"woman_surfing","🏄🏻‍♀️":"woman_surfing:t2","🏄🏼‍♀️":"woman_surfing:t3","🏄🏽‍♀️":"woman_surfing:t4","🏄🏾‍♀️":"woman_surfing:t5","🏄🏿‍♀️":"woman_surfing:t6","🚣":"person_rowing_boat","🚣🏻":"person_rowing_boat:t2","🚣🏼":"person_rowing_boat:t3","🚣🏽":"person_rowing_boat:t4","🚣🏾":"person_rowing_boat:t5","🚣🏿":"person_rowing_boat:t6","🚣‍♂️":"man_rowing_boat","🚣🏻‍♂️":"man_rowing_boat:t2","🚣🏼‍♂️":"man_rowing_boat:t3","🚣🏽‍♂️":"man_rowing_boat:t4","🚣🏾‍♂️":"man_rowing_boat:t5","🚣🏿‍♂️":"man_rowing_boat:t6","🚣‍♀️":"woman_rowing_boat","🚣🏻‍♀️":"woman_rowing_boat:t2","🚣🏼‍♀️":"woman_rowing_boat:t3","🚣🏽‍♀️":"woman_rowing_boat:t4","🚣🏾‍♀️":"woman_rowing_boat:t5","🚣🏿‍♀️":"woman_rowing_boat:t6","🏊":"person_swimming","🏊🏻":"person_swimming:t2","🏊🏼":"person_swimming:t3","🏊🏽":"person_swimming:t4","🏊🏾":"person_swimming:t5","🏊🏿":"person_swimming:t6","🏊‍♂️":"man_swimming","🏊🏻‍♂️":"man_swimming:t2","🏊🏼‍♂️":"man_swimming:t3","🏊🏽‍♂️":"man_swimming:t4","🏊🏾‍♂️":"man_swimming:t5","🏊🏿‍♂️":"man_swimming:t6","🏊‍♀️":"woman_swimming","🏊🏻‍♀️":"woman_swimming:t2","🏊🏼‍♀️":"woman_swimming:t3","🏊🏽‍♀️":"woman_swimming:t4","🏊🏾‍♀️":"woman_swimming:t5","🏊🏿‍♀️":"woman_swimming:t6","⛹":"person_bouncing_ball","⛹🏻":"person_bouncing_ball:t2","⛹🏼":"person_bouncing_ball:t3","⛹🏽":"person_bouncing_ball:t4","⛹🏾":"person_bouncing_ball:t5","⛹🏿":"person_bouncing_ball:t6","⛹️‍♂️":"man_bouncing_ball","⛹🏻️‍♂️":"man_bouncing_ball:t2","⛹🏼️‍♂️":"man_bouncing_ball:t3","⛹🏽️‍♂️":"man_bouncing_ball:t4","⛹🏾️‍♂️":"man_bouncing_ball:t5","⛹🏿️‍♂️":"man_bouncing_ball:t6","⛹️‍♀️":"woman_bouncing_ball","⛹🏻️‍♀️":"woman_bouncing_ball:t2","⛹🏼️‍♀️":"woman_bouncing_ball:t3","⛹🏽️‍♀️":"woman_bouncing_ball:t4","⛹🏾️‍♀️":"woman_bouncing_ball:t5","⛹🏿️‍♀️":"woman_bouncing_ball:t6","🏋":"person_lifting_weights","🏋🏻":"person_lifting_weights:t2","🏋🏼":"person_lifting_weights:t3","🏋🏽":"person_lifting_weights:t4","🏋🏾":"person_lifting_weights:t5","🏋🏿":"person_lifting_weights:t6","🏋️‍♂️":"man_lifting_weights","🏋🏻️‍♂️":"man_lifting_weights:t2","🏋🏼️‍♂️":"man_lifting_weights:t3","🏋🏽️‍♂️":"man_lifting_weights:t4","🏋🏾️‍♂️":"man_lifting_weights:t5","🏋🏿️‍♂️":"man_lifting_weights:t6","🏋️‍♀️":"woman_lifting_weights","🏋🏻️‍♀️":"woman_lifting_weights:t2","🏋🏼️‍♀️":"woman_lifting_weights:t3","🏋🏽️‍♀️":"woman_lifting_weights:t4","🏋🏾️‍♀️":"woman_lifting_weights:t5","🏋🏿️‍♀️":"woman_lifting_weights:t6","🚴":"person_biking","🚴🏻":"person_biking:t2","🚴🏼":"person_biking:t3","🚴🏽":"person_biking:t4","🚴🏾":"person_biking:t5","🚴🏿":"person_biking:t6","🚴‍♂️":"man_biking","🚴🏻‍♂️":"man_biking:t2","🚴🏼‍♂️":"man_biking:t3","🚴🏽‍♂️":"man_biking:t4","🚴🏾‍♂️":"man_biking:t5","🚴🏿‍♂️":"man_biking:t6","🚴‍♀️":"woman_biking","🚴🏻‍♀️":"woman_biking:t2","🚴🏼‍♀️":"woman_biking:t3","🚴🏽‍♀️":"woman_biking:t4","🚴🏾‍♀️":"woman_biking:t5","🚴🏿‍♀️":"woman_biking:t6","🚵":"person_mountain_biking","🚵🏻":"person_mountain_biking:t2","🚵🏼":"person_mountain_biking:t3","🚵🏽":"person_mountain_biking:t4","🚵🏾":"person_mountain_biking:t5","🚵🏿":"person_mountain_biking:t6","🚵‍♂️":"man_mountain_biking","🚵🏻‍♂️":"man_mountain_biking:t2","🚵🏼‍♂️":"man_mountain_biking:t3","🚵🏽‍♂️":"man_mountain_biking:t4","🚵🏾‍♂️":"man_mountain_biking:t5","🚵🏿‍♂️":"man_mountain_biking:t6","🚵‍♀️":"woman_mountain_biking","🚵🏻‍♀️":"woman_mountain_biking:t2","🚵🏼‍♀️":"woman_mountain_biking:t3","🚵🏽‍♀️":"woman_mountain_biking:t4","🚵🏾‍♀️":"woman_mountain_biking:t5","🚵🏿‍♀️":"woman_mountain_biking:t6","🤸":"person_cartwheeling","🤸🏻":"person_cartwheeling:t2","🤸🏼":"person_cartwheeling:t3","🤸🏽":"person_cartwheeling:t4","🤸🏾":"person_cartwheeling:t5","🤸🏿":"person_cartwheeling:t6","🤸‍♂️":"man_cartwheeling","🤸🏻‍♂️":"man_cartwheeling:t2","🤸🏼‍♂️":"man_cartwheeling:t3","🤸🏽‍♂️":"man_cartwheeling:t4","🤸🏾‍♂️":"man_cartwheeling:t5","🤸🏿‍♂️":"man_cartwheeling:t6","🤸‍♀️":"woman_cartwheeling","🤸🏻‍♀️":"woman_cartwheeling:t2","🤸🏼‍♀️":"woman_cartwheeling:t3","🤸🏽‍♀️":"woman_cartwheeling:t4","🤸🏾‍♀️":"woman_cartwheeling:t5","🤸🏿‍♀️":"woman_cartwheeling:t6","🤼":"people_wrestling","🤼‍♂️":"men_wrestling","🤼‍♀️":"women_wrestling","🤽":"person_playing_water_polo","🤽🏻":"person_playing_water_polo:t2","🤽🏼":"person_playing_water_polo:t3","🤽🏽":"person_playing_water_polo:t4","🤽🏾":"person_playing_water_polo:t5","🤽🏿":"person_playing_water_polo:t6","🤽‍♂️":"man_playing_water_polo","🤽🏻‍♂️":"man_playing_water_polo:t2","🤽🏼‍♂️":"man_playing_water_polo:t3","🤽🏽‍♂️":"man_playing_water_polo:t4","🤽🏾‍♂️":"man_playing_water_polo:t5","🤽🏿‍♂️":"man_playing_water_polo:t6","🤽‍♀️":"woman_playing_water_polo","🤽🏻‍♀️":"woman_playing_water_polo:t2","🤽🏼‍♀️":"woman_playing_water_polo:t3","🤽🏽‍♀️":"woman_playing_water_polo:t4","🤽🏾‍♀️":"woman_playing_water_polo:t5","🤽🏿‍♀️":"woman_playing_water_polo:t6","🤾":"person_playing_handball","🤾🏻":"person_playing_handball:t2","🤾🏼":"person_playing_handball:t3","🤾🏽":"person_playing_handball:t4","🤾🏾":"person_playing_handball:t5","🤾🏿":"person_playing_handball:t6","🤾‍♂️":"man_playing_handball","🤾🏻‍♂️":"man_playing_handball:t2","🤾🏼‍♂️":"man_playing_handball:t3","🤾🏽‍♂️":"man_playing_handball:t4","🤾🏾‍♂️":"man_playing_handball:t5","🤾🏿‍♂️":"man_playing_handball:t6","🤾‍♀️":"woman_playing_handball","🤾🏻‍♀️":"woman_playing_handball:t2","🤾🏼‍♀️":"woman_playing_handball:t3","🤾🏽‍♀️":"woman_playing_handball:t4","🤾🏾‍♀️":"woman_playing_handball:t5","🤾🏿‍♀️":"woman_playing_handball:t6","🤹":"person_juggling","🤹🏻":"person_juggling:t2","🤹🏼":"person_juggling:t3","🤹🏽":"person_juggling:t4","🤹🏾":"person_juggling:t5","🤹🏿":"person_juggling:t6","🤹‍♂️":"man_juggling","🤹🏻‍♂️":"man_juggling:t2","🤹🏼‍♂️":"man_juggling:t3","🤹🏽‍♂️":"man_juggling:t4","🤹🏾‍♂️":"man_juggling:t5","🤹🏿‍♂️":"man_juggling:t6","🤹‍♀️":"woman_juggling","🤹🏻‍♀️":"woman_juggling:t2","🤹🏼‍♀️":"woman_juggling:t3","🤹🏽‍♀️":"woman_juggling:t4","🤹🏾‍♀️":"woman_juggling:t5","🤹🏿‍♀️":"woman_juggling:t6","🧘":"person_in_lotus_position","🧘🏻":"person_in_lotus_position:t2","🧘🏼":"person_in_lotus_position:t3","🧘🏽":"person_in_lotus_position:t4","🧘🏾":"person_in_lotus_position:t5","🧘🏿":"person_in_lotus_position:t6","🧘‍♂️":"man_in_lotus_position","🧘🏻‍♂️":"man_in_lotus_position:t2","🧘🏼‍♂️":"man_in_lotus_position:t3","🧘🏽‍♂️":"man_in_lotus_position:t4","🧘🏾‍♂️":"man_in_lotus_position:t5","🧘🏿‍♂️":"man_in_lotus_position:t6","🧘‍♀️":"woman_in_lotus_position","🧘🏻‍♀️":"woman_in_lotus_position:t2","🧘🏼‍♀️":"woman_in_lotus_position:t3","🧘🏽‍♀️":"woman_in_lotus_position:t4","🧘🏾‍♀️":"woman_in_lotus_position:t5","🧘🏿‍♀️":"woman_in_lotus_position:t6","🛀":"person_taking_bath","🛀🏻":"person_taking_bath:t2","🛀🏼":"person_taking_bath:t3","🛀🏽":"person_taking_bath:t4","🛀🏾":"person_taking_bath:t5","🛀🏿":"person_taking_bath:t6","🛌":"person_in_bed","🛌🏻":"person_in_bed:t2","🛌🏼":"person_in_bed:t3","🛌🏽":"person_in_bed:t4","🛌🏾":"person_in_bed:t5","🛌🏿":"person_in_bed:t6","🧑‍🤝‍🧑":"people_holding_hands","👭":"women_holding_hands","👭🏻":"women_holding_hands:t2","👭🏼":"women_holding_hands:t3","👭🏽":"women_holding_hands:t4","👭🏾":"women_holding_hands:t5","👭🏿":"women_holding_hands:t6","👫":"woman_and_man_holding_hands","👫🏻":"woman_and_man_holding_hands:t2","👫🏼":"woman_and_man_holding_hands:t3","👫🏽":"woman_and_man_holding_hands:t4","👫🏾":"woman_and_man_holding_hands:t5","👫🏿":"woman_and_man_holding_hands:t6","👬":"men_holding_hands","👬🏻":"men_holding_hands:t2","👬🏼":"men_holding_hands:t3","👬🏽":"men_holding_hands:t4","👬🏾":"men_holding_hands:t5","👬🏿":"men_holding_hands:t6","💏":"kiss","💏🏻":"kiss:t2","💏🏼":"kiss:t3","💏🏽":"kiss:t4","💏🏾":"kiss:t5","💏🏿":"kiss:t6","👩‍❤️‍💋‍👨":"kiss_woman_man","👩🏻‍❤️‍💋‍👨":"kiss_woman_man:t2","👩🏼‍❤️‍💋‍👨":"kiss_woman_man:t3","👩🏽‍❤️‍💋‍👨":"kiss_woman_man:t4","👩🏾‍❤️‍💋‍👨":"kiss_woman_man:t5","👩🏿‍❤️‍💋‍👨":"kiss_woman_man:t6","👨‍❤️‍💋‍👨":"kiss_man_man","👨🏻‍❤️‍💋‍👨":"kiss_man_man:t2","👨🏼‍❤️‍💋‍👨":"kiss_man_man:t3","👨🏽‍❤️‍💋‍👨":"kiss_man_man:t4","👨🏾‍❤️‍💋‍👨":"kiss_man_man:t5","👨🏿‍❤️‍💋‍👨":"kiss_man_man:t6","👩‍❤️‍💋‍👩":"kiss_woman_woman","👩🏻‍❤️‍💋‍👩":"kiss_woman_woman:t2","👩🏼‍❤️‍💋‍👩":"kiss_woman_woman:t3","👩🏽‍❤️‍💋‍👩":"kiss_woman_woman:t4","👩🏾‍❤️‍💋‍👩":"kiss_woman_woman:t5","👩🏿‍❤️‍💋‍👩":"kiss_woman_woman:t6","💑":"couple_with_heart","💑🏻":"couple_with_heart:t2","💑🏼":"couple_with_heart:t3","💑🏽":"couple_with_heart:t4","💑🏾":"couple_with_heart:t5","💑🏿":"couple_with_heart:t6","👩‍❤️‍👨":"couple_with_heart","👩🏻‍❤️‍👨":"couple_with_heart:t2","👩🏼‍❤️‍👨":"couple_with_heart:t3","👩🏽‍❤️‍👨":"couple_with_heart:t4","👩🏾‍❤️‍👨":"couple_with_heart:t5","👩🏿‍❤️‍👨":"couple_with_heart:t6","👨‍❤️‍👨":"couple_with_heart_man_man","👨🏻‍❤️‍👨":"couple_with_heart_man_man:t2","👨🏼‍❤️‍👨":"couple_with_heart_man_man:t3","👨🏽‍❤️‍👨":"couple_with_heart_man_man:t4","👨🏾‍❤️‍👨":"couple_with_heart_man_man:t5","👨🏿‍❤️‍👨":"couple_with_heart_man_man:t6","👩‍❤️‍👩":"couple_with_heart_woman_woman","👩🏻‍❤️‍👩":"couple_with_heart_woman_woman:t2","👩🏼‍❤️‍👩":"couple_with_heart_woman_woman:t3","👩🏽‍❤️‍👩":"couple_with_heart_woman_woman:t4","👩🏾‍❤️‍👩":"couple_with_heart_woman_woman:t5","👩🏿‍❤️‍👩":"couple_with_heart_woman_woman:t6","👨‍👩‍👦":"family_man_woman_boy","👨‍👩‍👧":"family_man_woman_girl","👨‍👩‍👧‍👦":"family_man_woman_girl_boy","👨‍👩‍👦‍👦":"family_man_woman_boy_boy","👨‍👩‍👧‍👧":"family_man_woman_girl_girl","👨‍👨‍👦":"family_man_man_boy","👨‍👨‍👧":"family_man_man_girl","👨‍👨‍👧‍👦":"family_man_man_girl_boy","👨‍👨‍👦‍👦":"family_man_man_boy_boy","👨‍👨‍👧‍👧":"family_man_man_girl_girl","👩‍👩‍👦":"family_woman_woman_boy","👩‍👩‍👧":"family_woman_woman_girl","👩‍👩‍👧‍👦":"family_woman_woman_girl_boy","👩‍👩‍👦‍👦":"family_woman_woman_boy_boy","👩‍👩‍👧‍👧":"family_woman_woman_girl_girl","👨‍👦":"family_man_boy","👨‍👦‍👦":"family_man_boy_boy","👨‍👧":"family_man_girl","👨‍👧‍👦":"family_man_girl_boy","👨‍👧‍👧":"family_man_girl_girl","👩‍👦":"family_woman_boy","👩‍👦‍👦":"family_woman_boy_boy","👩‍👧":"family_woman_girl","👩‍👧‍👦":"family_woman_girl_boy","👩‍👧‍👧":"family_woman_girl_girl","🗣":"speaking_head","👤":"bust_in_silhouette","👥":"busts_in_silhouette","🫂":"people_hugging","👪":"family","🧑‍🧑‍🧒":"family_adult_adult_child","🧑‍🧑‍🧒‍🧒":"family_adult_adult_child_child","🧑‍🧒":"family_adult_child","🧑‍🧒‍🧒":"family_adult_child_child","👣":"footprints","🫆":"fingerprint","🐵":"monkey_face","🐒":"monkey","🦍":"gorilla","🦧":"orangutan","🐶":"dog_face","🐕":"dog","🦮":"guide_dog","🐕‍🦺":"service_dog","🐩":"poodle","🐺":"wolf","🦊":"fox","🦝":"raccoon","🐱":"cat_face","🐈":"cat","🐈‍⬛":"black_cat","🦁":"lion","🐯":"tiger_face","🐅":"tiger","🐆":"leopard","🐴":"horse_face","🫎":"moose","🫏":"donkey","🐎":"horse","🦄":"unicorn","🦓":"zebra","🦌":"deer","🦬":"bison","🐮":"cow_face","🐂":"ox","🐃":"water_buffalo","🐄":"cow","🐷":"pig_face","🐖":"pig","🐗":"boar","🐽":"pig_nose","🐏":"ram","🐑":"ewe","🐐":"goat","🐪":"camel","🐫":"two_hump_camel","🦙":"llama","🦒":"giraffe","🐘":"elephant","🦣":"mammoth","🦏":"rhinoceros","🦛":"hippopotamus","🐭":"mouse_face","🐁":"mouse","🐀":"rat","🐹":"hamster","🐰":"rabbit_face","🐇":"rabbit","🐿":"chipmunk","🦫":"beaver","🦔":"hedgehog","🦇":"bat","🐻":"bear","🐻‍❄️":"polar_bear","🐨":"koala","🐼":"panda","🦥":"sloth","🦦":"otter","🦨":"skunk","🦘":"kangaroo","🦡":"badger","🐾":"paw_prints","🦃":"turkey","🐔":"chicken","🐓":"rooster","🐣":"hatching_chick","🐤":"baby_chick","🐥":"front_facing_baby_chick","🐦":"bird","🐧":"penguin","🕊":"dove","🦅":"eagle","🦆":"duck","🦢":"swan","🦉":"owl","🦤":"dodo","🪶":"feather","🦩":"flamingo","🦚":"peacock","🦜":"parrot","🪽":"wing","🐦‍⬛":"black_bird","🪿":"goose","🐦‍🔥":"phoenix","🐸":"frog","🐊":"crocodile","🐢":"turtle","🦎":"lizard","🐍":"snake","🐲":"dragon_face","🐉":"dragon","🦕":"sauropod","🦖":"t_rex","🐳":"spouting_whale","🐋":"whale","🐬":"dolphin","🦭":"seal","🐟":"fish","🐠":"tropical_fish","🐡":"blowfish","🦈":"shark","🐙":"octopus","🐚":"spiral_shell","🪸":"coral","🪼":"jellyfish","🦀":"crab","🦞":"lobster","🦐":"shrimp","🦑":"squid","🦪":"oyster","🐌":"snail","🦋":"butterfly","🐛":"bug","🐜":"ant","🐝":"honeybee","🪲":"beetle","🐞":"lady_beetle","🦗":"cricket","🪳":"cockroach","🕷":"spider","🕸":"spider_web","🦂":"scorpion","🦟":"mosquito","🪰":"fly","🪱":"worm","🦠":"microbe","💐":"bouquet","🌸":"cherry_blossom","💮":"white_flower","🪷":"lotus","🏵":"rosette","🌹":"rose","🥀":"wilted_flower","🌺":"hibiscus","🌻":"sunflower","🌼":"blossom","🌷":"tulip","🪻":"hyacinth","🌱":"seedling","🪴":"potted_plant","🌲":"evergreen_tree","🌳":"deciduous_tree","🌴":"palm_tree","🌵":"cactus","🌾":"sheaf_of_rice","🌿":"herb","☘":"shamrock","🍀":"four_leaf_clover","🍁":"maple_leaf","🍂":"fallen_leaf","🍃":"leaf_fluttering_in_wind","🪹":"empty_nest","🪺":"nest_with_eggs","🍄":"mushroom","🪾":"leafless_tree","🍇":"grapes","🍈":"melon","🍉":"watermelon","🍊":"tangerine","🍋":"lemon","🍋‍🟩":"lime","🍌":"banana","🍍":"pineapple","🥭":"mango","🍎":"red_apple","🍏":"green_apple","🍐":"pear","🍑":"peach","🍒":"cherries","🍓":"strawberry","🫐":"blueberries","🥝":"kiwi_fruit","🍅":"tomato","🫒":"olive","🥥":"coconut","🥑":"avocado","🍆":"eggplant","🥔":"potato","🥕":"carrot","🌽":"ear_of_corn","🌶":"hot_pepper","🫑":"bell_pepper","🥒":"cucumber","🥬":"leafy_green","🥦":"broccoli","🧄":"garlic","🧅":"onion","🥜":"peanuts","🫘":"beans","🌰":"chestnut","🫚":"ginger_root","🫛":"pea_pod","🍄‍🟫":"brown_mushroom","🫜":"root_vegetable","🍞":"bread","🥐":"croissant","🥖":"baguette_bread","🫓":"flatbread","🥨":"pretzel","🥯":"bagel","🥞":"pancakes","🧇":"waffle","🧀":"cheese_wedge","🍖":"meat_on_bone","🍗":"poultry_leg","🥩":"cut_of_meat","🥓":"bacon","🍔":"hamburger","🍟":"french_fries","🍕":"pizza","🌭":"hot_dog","🥪":"sandwich","🌮":"taco","🌯":"burrito","🫔":"tamale","🥙":"stuffed_flatbread","🧆":"falafel","🥚":"egg","🍳":"cooking","🥘":"shallow_pan_of_food","🍲":"pot_of_food","🫕":"fondue","🥣":"bowl_with_spoon","🥗":"green_salad","🍿":"popcorn","🧈":"butter","🧂":"salt","🥫":"canned_food","🍱":"bento_box","🍘":"rice_cracker","🍙":"rice_ball","🍚":"cooked_rice","🍛":"curry_rice","🍜":"steaming_bowl","🍝":"spaghetti","🍠":"roasted_sweet_potato","🍢":"oden","🍣":"sushi","🍤":"fried_shrimp","🍥":"fish_cake_with_swirl","🥮":"moon_cake","🍡":"dango","🥟":"dumpling","🥠":"fortune_cookie","🥡":"takeout_box","🍦":"soft_ice_cream","🍧":"shaved_ice","🍨":"ice_cream","🍩":"doughnut","🍪":"cookie","🎂":"birthday_cake","🍰":"shortcake","🧁":"cupcake","🥧":"pie","🍫":"chocolate_bar","🍬":"candy","🍭":"lollipop","🍮":"custard","🍯":"honey_pot","🍼":"baby_bottle","🥛":"glass_of_milk","☕":"hot_beverage","🫖":"teapot","🍵":"teacup_without_handle","🍶":"sake","🍾":"bottle_with_popping_cork","🍷":"wine_glass","🍸":"cocktail_glass","🍹":"tropical_drink","🍺":"beer_mug","🍻":"clinking_beer_mugs","🥂":"clinking_glasses","🥃":"tumbler_glass","🫗":"pouring_liquid","🥤":"cup_with_straw","🧋":"bubble_tea","🧃":"beverage_box","🧉":"mate","🧊":"ice","🥢":"chopsticks","🍽":"fork_and_knife_with_plate","🍴":"fork_and_knife","🥄":"spoon","🔪":"kitchen_knife","🫙":"jar","🏺":"amphora","🌍":"globe_showing_europe_africa","🌎":"globe_showing_americas","🌏":"globe_showing_asia_australia","🌐":"globe_with_meridians","🗺":"world_map","🗾":"map_of_japan","🧭":"compass","🏔":"snow_capped_mountain","⛰":"mountain","🌋":"volcano","🗻":"mount_fuji","🏕":"camping","🏖":"beach_with_umbrella","🏜":"desert","🏝":"desert_island","🏞":"national_park","🏟":"stadium","🏛":"classical_building","🏗":"building_construction","🧱":"brick","🪨":"rock","🪵":"wood","🛖":"hut","🏘":"houses","🏚":"derelict_house","🏠":"house","🏡":"house_with_garden","🏢":"office_building","🏣":"japanese_post_office","🏤":"post_office","🏥":"hospital","🏦":"bank","🏨":"hotel","🏩":"love_hotel","🏪":"convenience_store","🏫":"school","🏬":"department_store","🏭":"factory","🏯":"japanese_castle","🏰":"castle","💒":"wedding","🗼":"tokyo_tower","🗽":"statue_of_liberty","⛪":"church","🕌":"mosque","🛕":"hindu_temple","🕍":"synagogue","⛩":"shinto_shrine","🕋":"kaaba","⛲":"fountain","⛺":"tent","🌁":"foggy","🌃":"night_with_stars","🏙":"cityscape","🌄":"sunrise_over_mountains","🌅":"sunrise","🌆":"cityscape_at_dusk","🌇":"sunset","🌉":"bridge_at_night","♨":"hot_springs","🎠":"carousel_horse","🛝":"playground_slide","🎡":"ferris_wheel","🎢":"roller_coaster","💈":"barber_pole","🎪":"circus_tent","🚂":"locomotive","🚃":"railway_car","🚄":"high_speed_train","🚅":"bullet_train","🚆":"train","🚇":"metro","🚈":"light_rail","🚉":"station","🚊":"tram","🚝":"monorail","🚞":"mountain_railway","🚋":"tram_car","🚌":"bus","🚍":"oncoming_bus","🚎":"trolleybus","🚐":"minibus","🚑":"ambulance","🚒":"fire_engine","🚓":"police_car","🚔":"oncoming_police_car","🚕":"taxi","🚖":"oncoming_taxi","🚗":"automobile","🚘":"oncoming_automobile","🚙":"sport_utility_vehicle","🛻":"pickup_truck","🚚":"delivery_truck","🚛":"articulated_lorry","🚜":"tractor","🏎":"racing_car","🏍":"motorcycle","🛵":"motor_scooter","🦽":"manual_wheelchair","🦼":"motorized_wheelchair","🛺":"auto_rickshaw","🚲":"bicycle","🛴":"kick_scooter","🛹":"skateboard","🛼":"roller_skate","🚏":"bus_stop","🛣":"motorway","🛤":"railway_track","🛢":"oil_drum","⛽":"fuel_pump","🛞":"wheel","🚨":"police_car_light","🚥":"horizontal_traffic_light","🚦":"vertical_traffic_light","🛑":"stop_sign","🚧":"construction","⚓":"anchor","🛟":"ring_buoy","⛵":"sailboat","🛶":"canoe","🚤":"speedboat","🛳":"passenger_ship","⛴":"ferry","🛥":"motor_boat","🚢":"ship","✈":"airplane","🛩":"small_airplane","🛫":"airplane_departure","🛬":"airplane_arrival","🪂":"parachute","💺":"seat","🚁":"helicopter","🚟":"suspension_railway","🚠":"mountain_cableway","🚡":"aerial_tramway","🛰":"satellite","🚀":"rocket","🛸":"flying_saucer","🛎":"bellhop_bell","🧳":"luggage","⌛":"hourglass_done","⏳":"hourglass_not_done","⌚":"watch","⏰":"alarm_clock","⏱":"stopwatch","⏲":"timer_clock","🕰":"mantelpiece_clock","🕛":"twelve_o_clock","🕧":"twelve_thirty","🕐":"one_o_clock","🕜":"one_thirty","🕑":"two_o_clock","🕝":"two_thirty","🕒":"three_o_clock","🕞":"three_thirty","🕓":"four_o_clock","🕟":"four_thirty","🕔":"five_o_clock","🕠":"five_thirty","🕕":"six_o_clock","🕡":"six_thirty","🕖":"seven_o_clock","🕢":"seven_thirty","🕗":"eight_o_clock","🕣":"eight_thirty","🕘":"nine_o_clock","🕤":"nine_thirty","🕙":"ten_o_clock","🕥":"ten_thirty","🕚":"eleven_o_clock","🕦":"eleven_thirty","🌑":"new_moon","🌒":"waxing_crescent_moon","🌓":"first_quarter_moon","🌔":"waxing_gibbous_moon","🌕":"full_moon","🌖":"waning_gibbous_moon","🌗":"last_quarter_moon","🌘":"waning_crescent_moon","🌙":"crescent_moon","🌚":"new_moon_face","🌛":"first_quarter_moon_face","🌜":"last_quarter_moon_face","🌡":"thermometer","☀":"sun","🌝":"full_moon_face","🌞":"sun_with_face","🪐":"ringed_planet","⭐":"star","🌟":"glowing_star","🌠":"shooting_star","🌌":"milky_way","☁":"cloud","⛅":"sun_behind_cloud","⛈":"cloud_with_lightning_and_rain","🌤":"sun_behind_small_cloud","🌥":"sun_behind_large_cloud","🌦":"sun_behind_rain_cloud","🌧":"cloud_with_rain","🌨":"cloud_with_snow","🌩":"cloud_with_lightning","🌪":"tornado","🌫":"fog","🌬":"wind_face","🌀":"cyclone","🌈":"rainbow","🌂":"closed_umbrella","☂":"umbrella","☔":"umbrella_with_rain_drops","⛱":"umbrella_on_ground","⚡":"high_voltage","❄":"snowflake","☃":"snowman","⛄":"snowman_without_snow","☄":"comet","🔥":"fire","💧":"droplet","🌊":"ocean","🎃":"jack_o_lantern","🎄":"christmas_tree","🎆":"fireworks","🎇":"sparkler","🧨":"firecracker","✨":"sparkles","🎈":"balloon","🎉":"tada","🎊":"confetti_ball","🎋":"tanabata_tree","🎍":"pine_decoration","🎎":"japanese_dolls","🎏":"carp_streamer","🎐":"wind_chime","🎑":"moon_viewing_ceremony","🧧":"red_envelope","🎀":"ribbon","🎁":"wrapped_gift","🎗":"reminder_ribbon","🎟":"admission_tickets","🎫":"ticket","🎖":"military_medal","🏆":"trophy","🏅":"sports_medal","🥇":"1st_place_medal","🥈":"2nd_place_medal","🥉":"3rd_place_medal","⚽":"soccer_ball","⚾":"baseball","🥎":"softball","🏀":"basketball","🏐":"volleyball","🏈":"american_football","🏉":"rugby_football","🎾":"tennis","🥏":"flying_disc","🎳":"bowling","🏏":"cricket_game","🏑":"field_hockey","🏒":"ice_hockey","🥍":"lacrosse","🏓":"ping_pong","🏸":"badminton","🥊":"boxing_glove","🥋":"martial_arts_uniform","🥅":"goal_net","⛳":"in_hole","⛸":"ice_skate","🎣":"fishing_pole","🤿":"diving_mask","🎽":"running_shirt","🎿":"skis","🛷":"sled","🥌":"curling_stone","🎯":"bullseye","🪀":"yoyo","🪁":"kite","🔫":"water_pistol","🎱":"pool_8_ball","🔮":"crystal_ball","🪄":"magic_wand","🎮":"video_game","🕹":"joystick","🎰":"slot_machine","🎲":"game_die","🧩":"puzzle_piece","🧸":"teddy_bear","🪅":"piñata","🪩":"mirror_ball","🪆":"nesting_dolls","♠":"spade_suit","♥":"heart","♦":"diamond_suit","♣":"club_suit","♟":"chess_pawn","🃏":"joker","🀄":"mahjong_red_dragon","🎴":"flower_playing_cards","🎭":"performing_arts","🖼":"framed_picture","🎨":"artist_palette","🧵":"thread","🪡":"sewing_needle","🧶":"yarn","🪢":"knot","👓":"glasses","🕶":"sunglasses","🥽":"goggles","🥼":"lab_coat","🦺":"safety_vest","👔":"necktie","👕":"t_shirt","👖":"jeans","🧣":"scarf","🧤":"gloves","🧥":"coat","🧦":"socks","👗":"dress","👘":"kimono","🥻":"sari","🩱":"one_piece_swimsuit","🩲":"briefs","🩳":"shorts","👙":"bikini","👚":"woman_s_clothes","🪭":"folding_hand_fan","👛":"purse","👜":"handbag","👝":"clutch_bag","🛍":"shopping_bags","🎒":"backpack","🩴":"thong_sandal","👞":"man_s_shoe","👟":"running_shoe","🥾":"hiking_boot","🥿":"flat_shoe","👠":"high_heeled_shoe","👡":"woman_s_sandal","🩰":"ballet_shoes","👢":"woman_s_boot","🪮":"hair_pick","👑":"crown","👒":"woman_s_hat","🎩":"top_hat","🎓":"graduation_cap","🧢":"billed_cap","🪖":"military_helmet","⛑":"rescue_worker_s_helmet","📿":"prayer_beads","💄":"lipstick","💍":"ring","💎":"gem_stone","🔇":"muted_speaker","🔈":"speaker_low_volume","🔉":"speaker_medium_volume","🔊":"speaker_high_volume","📢":"loudspeaker","📣":"megaphone","📯":"postal_horn","🔔":"bell","🔕":"bell_with_slash","🎼":"musical_score","🎵":"musical_note","🎶":"musical_notes","🎙":"studio_microphone","🎚":"level_slider","🎛":"control_knobs","🎤":"microphone","🎧":"headphone","📻":"radio","🎷":"saxophone","🪗":"accordion","🎸":"guitar","🎹":"musical_keyboard","🎺":"trumpet","🎻":"violin","🪕":"banjo","🥁":"drum","🪘":"long_drum","🪇":"maracas","🪈":"flute","🪉":"harp","📱":"mobile_phone","📲":"mobile_phone_with_arrow","☎":"telephone","📞":"telephone_receiver","📟":"pager","📠":"fax_machine","🔋":"battery","🪫":"low_battery","🔌":"electric_plug","💻":"laptop","🖥":"desktop_computer","🖨":"printer","⌨":"keyboard","🖱":"computer_mouse","🖲":"trackball","💽":"computer_disk","💾":"floppy_disk","💿":"optical_disk","📀":"dvd","🧮":"abacus","🎥":"movie_camera","🎞":"film_frames","📽":"film_projector","🎬":"clapper_board","📺":"television","📷":"camera","📸":"camera_with_flash","📹":"video_camera","📼":"videocassette","🔍":"magnifying_glass_tilted_left","🔎":"magnifying_glass_tilted_right","🕯":"candle","💡":"light_bulb","🔦":"flashlight","🏮":"red_paper_lantern","🪔":"diya_lamp","📔":"notebook_with_decorative_cover","📕":"closed_book","📖":"open_book","📗":"green_book","📘":"blue_book","📙":"orange_book","📚":"books","📓":"notebook","📒":"ledger","📃":"page_with_curl","📜":"scroll","📄":"page_facing_up","📰":"newspaper","🗞":"rolled_up_newspaper","📑":"bookmark_tabs","🔖":"bookmark","🏷":"label","💰":"money_bag","🪙":"coin","💴":"yen_banknote","💵":"dollar_banknote","💶":"euro_banknote","💷":"pound_banknote","💸":"money_with_wings","💳":"credit_card","🧾":"receipt","💹":"chart_increasing_with_yen","✉":"envelope","📧":"e_mail","📨":"incoming_envelope","📩":"envelope_with_arrow","📤":"outbox_tray","📥":"inbox_tray","📦":"package","📫":"closed_mailbox_with_raised_flag","📪":"closed_mailbox_with_lowered_flag","📬":"open_mailbox_with_raised_flag","📭":"open_mailbox_with_lowered_flag","📮":"postbox","🗳":"ballot_box_with_ballot","✏":"pencil","✒":"black_nib","🖋":"fountain_pen","🖊":"pen","🖌":"paintbrush","🖍":"crayon","📝":"memo","💼":"briefcase","📁":"file_folder","📂":"open_file_folder","🗂":"card_index_dividers","📅":"date","📆":"tear_off_calendar","🗒":"spiral_notepad","🗓":"spiral_calendar","📇":"card_index","📈":"chart_increasing","📉":"chart_decreasing","📊":"bar_chart","📋":"clipboard","📌":"pushpin","📍":"round_pushpin","📎":"paperclip","🖇":"linked_paperclips","📏":"straight_ruler","📐":"triangular_ruler","✂":"scissors","🗃":"card_file_box","🗄":"file_cabinet","🗑":"wastebasket","🔒":"locked","🔓":"unlocked","🔏":"locked_with_pen","🔐":"locked_with_key","🔑":"key","🗝":"old_key","🔨":"hammer","🪓":"axe","⛏":"pick","⚒":"hammer_and_pick","🛠":"hammer_and_wrench","🗡":"dagger","⚔":"crossed_swords","💣":"bomb","🪃":"boomerang","🏹":"bow_and_arrow","🛡":"shield","🪚":"carpentry_saw","🔧":"wrench","🪛":"screwdriver","🔩":"nut_and_bolt","⚙":"gear","🗜":"clamp","⚖":"balance_scale","🦯":"white_cane","🔗":"link","⛓️‍💥":"broken_chain","⛓":"chains","🪝":"hook","🧰":"toolbox","🧲":"magnet","🪜":"ladder","🪏":"shovel","⚗":"alembic","🧪":"test_tube","🧫":"petri_dish","🧬":"dna","🔬":"microscope","🔭":"telescope","📡":"satellite_antenna","💉":"syringe","🩸":"drop_of_blood","💊":"pill","🩹":"adhesive_bandage","🩼":"crutch","🩺":"stethoscope","🩻":"x_ray","🚪":"door","🛗":"elevator","🪞":"mirror","🪟":"window","🛏":"bed","🛋":"couch_and_lamp","🪑":"chair","🚽":"toilet","🪠":"plunger","🚿":"shower","🛁":"bathtub","🪤":"mouse_trap","🪒":"razor","🧴":"lotion_bottle","🧷":"safety_pin","🧹":"broom","🧺":"basket","🧻":"roll_of_paper","🪣":"bucket","🧼":"soap","🫧":"bubbles","🪥":"toothbrush","🧽":"sponge","🧯":"fire_extinguisher","🛒":"shopping_cart","🚬":"cigarette","⚰":"coffin","🪦":"headstone","⚱":"funeral_urn","🧿":"nazar_amulet","🪬":"hamsa","🗿":"moai","🪧":"placard","🪪":"identification_card","🏧":"atm_sign","🚮":"litter_in_bin_sign","🚰":"potable_water","♿":"wheelchair_symbol","🚹":"men_s_room","🚺":"women_s_room","🚻":"restroom","🚼":"baby_symbol","🚾":"water_closet","🛂":"passport_control","🛃":"customs","🛄":"baggage_claim","🛅":"left_luggage","⚠":"warning","🚸":"children_crossing","⛔":"no_entry","🚫":"prohibited","🚳":"no_bicycles","🚭":"no_smoking","🚯":"no_littering","🚱":"non_potable_water","🚷":"no_pedestrians","📵":"no_mobile_phones","🔞":"no_one_under_eighteen","☢":"radioactive","☣":"biohazard","⬆":"up_arrow","↗":"up_right_arrow","➡":"right_arrow","↘":"down_right_arrow","⬇":"down_arrow","↙":"down_left_arrow","⬅":"left_arrow","↖":"up_left_arrow","↕":"up_down_arrow","↩":"right_arrow_curving_left","↪":"left_arrow_curving_right","⤴":"right_arrow_curving_up","⤵":"right_arrow_curving_down","🔃":"clockwise_vertical_arrows","🔄":"counterclockwise_arrows_button","🔙":"back_arrow","🔚":"end_arrow","🔛":"on_arrow","🔜":"soon_arrow","🔝":"top_arrow","🛐":"place_of_worship","⚛":"atom_symbol","🕉":"om","✡":"star_of_david","☸":"wheel_of_dharma","☯":"yin_yang","✝":"latin_cross","☦":"orthodox_cross","☪":"star_and_crescent","☮":"peace_symbol","🕎":"menorah","🔯":"dotted_six_pointed_star","🪯":"khanda","♈":"aries","♉":"taurus","♊":"gemini","♋":"cancer","♌":"leo","♍":"virgo","♎":"libra","♏":"scorpio","♐":"sagittarius","♑":"capricorn","♒":"aquarius","♓":"pisces","⛎":"ophiuchus","🔀":"shuffle_tracks_button","🔁":"repeat_button","🔂":"repeat_single_button","▶":"play_button","⏩":"fast_forward_button","⏭":"next_track_button","⏯":"play_or_pause_button","◀":"reverse_button","⏪":"fast_reverse_button","⏮":"last_track_button","🔼":"upwards_button","⏫":"fast_up_button","🔽":"downwards_button","⏬":"fast_down_button","⏸":"pause_button","⏹":"stop_button","⏺":"record_button","⏏":"eject_button","🎦":"cinema","🔅":"dim_button","🔆":"bright_button","📶":"antenna_bars","🛜":"wireless","📳":"vibration_mode","📴":"mobile_phone_off","♀":"female_sign","♂":"male_sign","⚧":"transgender_symbol","✖":"multiply","➕":"plus","➖":"minus","➗":"divide","🟰":"heavy_equals_sign","♾":"infinity","‼":"double_exclamation_mark","⁉":"exclamation_question_mark","❓":"red_question_mark","❔":"white_question_mark","❕":"white_exclamation_mark","❗":"red_exclamation_mark","〰":"wavy_dash","💱":"currency_exchange","💲":"heavy_dollar_sign","⚕":"medical_symbol","♻":"recycling_symbol","⚜":"fleur_de_lis","🔱":"trident_emblem","📛":"name_badge","🔰":"japanese_symbol_for_beginner","⭕":"hollow_red_circle","✅":"white_check_mark","☑":"check_box_with_check","✔":"check_mark","❌":"cross_mark","❎":"cross_mark_button","➰":"curly_loop","➿":"double_curly_loop","〽":"part_alternation_mark","✳":"eight_spoked_asterisk","✴":"eight_pointed_star","❇":"sparkle","🫟":"splatter","#️⃣":"hash","*️⃣":"asterisk","0️⃣":"zero","1️⃣":"one","2️⃣":"two","3️⃣":"three","4️⃣":"four","5️⃣":"five","6️⃣":"six","7️⃣":"seven","8️⃣":"eight","9️⃣":"nine","🔟":"ten","🔠":"input_latin_uppercase","🔡":"input_latin_lowercase","🔢":"1234","🔣":"input_symbols","🔤":"input_latin_letters","🅰":"a_button_blood_type","🆎":"ab_button_blood_type","🅱":"b_button_blood_type","🆑":"cl_button","🆒":"cool_button","🆓":"free_button",ℹ:"information_source","🆔":"id_button","Ⓜ":"circled_m","🆕":"new_button","🆖":"ng_button","🅾":"o_button_blood_type","🆗":"ok_button","🅿":"p_button","🆘":"sos_button","🆙":"up_button","🆚":"vs_button","🈁":"japanese_here_button","🈂":"japanese_service_charge_button","🈷":"japanese_monthly_amount_button","🈶":"japanese_not_free_of_charge_button","🈯":"japanese_reserved_button","🉐":"japanese_bargain_button","🈹":"japanese_discount_button","🈚":"japanese_free_of_charge_button","🈲":"japanese_prohibited_button","🉑":"japanese_acceptable_button","🈸":"japanese_application_button","🈴":"japanese_passing_grade_button","🈳":"japanese_vacancy_button","㊗":"japanese_congratulations_button","㊙":"japanese_secret_button","🈺":"japanese_open_for_business_button","🈵":"japanese_no_vacancy_button","🔴":"red_circle","🟠":"orange_circle","🟡":"yellow_circle","🟢":"green_circle","🔵":"blue_circle","🟣":"purple_circle","🟤":"brown_circle","⚫":"black_circle","⚪":"white_circle","🟥":"red_square","🟧":"orange_square","🟨":"yellow_square","🟩":"green_square","🟦":"blue_square","🟪":"purple_square","🟫":"brown_square","⬛":"black_large_square","⬜":"white_large_square","◼":"black_medium_square","◻":"white_medium_square","◾":"black_medium_small_square","◽":"white_medium_small_square","▪":"black_small_square","▫":"white_small_square","🔶":"large_orange_diamond","🔷":"large_blue_diamond","🔸":"small_orange_diamond","🔹":"small_blue_diamond","🔺":"red_triangle_pointed_up","🔻":"red_triangle_pointed_down","💠":"diamond_with_a_dot","🔘":"radio_button","🔳":"white_square_button","🔲":"black_square_button","🏁":"chequered_flag","🚩":"triangular_flag","🎌":"crossed_flags","🏴":"black_flag","🏳":"white_flag","🏳️‍🌈":"rainbow_flag","🏳️‍⚧️":"transgender_flag","🏴‍☠️":"pirate_flag","🇦🇨":"ascension_island","🇦🇩":"andorra","🇦🇪":"united_arab_emirates","🇦🇫":"afghanistan","🇦🇬":"antigua_barbuda","🇦🇮":"anguilla","🇦🇱":"albania","🇦🇲":"armenia","🇦🇴":"angola","🇦🇶":"antarctica","🇦🇷":"argentina","🇦🇸":"american_samoa","🇦🇹":"austria","🇦🇺":"australia","🇦🇼":"aruba","🇦🇽":"åland_islands","🇦🇿":"azerbaijan","🇧🇦":"bosnia_herzegovina","🇧🇧":"barbados","🇧🇩":"bangladesh","🇧🇪":"belgium","🇧🇫":"burkina_faso","🇧🇬":"bulgaria","🇧🇭":"bahrain","🇧🇮":"burundi","🇧🇯":"benin","🇧🇱":"st_barthelemy","🇧🇲":"bermuda","🇧🇳":"brunei","🇧🇴":"bolivia","🇧🇶":"caribbean_netherlands","🇧🇷":"brazil","🇧🇸":"bahamas","🇧🇹":"bhutan","🇧🇻":"bouvet_island","🇧🇼":"botswana","🇧🇾":"belarus","🇧🇿":"belize","🇨🇦":"canada","🇨🇨":"cocos_keeling_islands","🇨🇩":"congo_kinshasa","🇨🇫":"central_african_republic","🇨🇬":"congo_brazzaville","🇨🇭":"switzerland","🇨🇮":"côte_d_ivoire","🇨🇰":"cook_islands","🇨🇱":"chile","🇨🇲":"cameroon","🇨🇳":"china","🇨🇴":"colombia","🇨🇵":"clipperton_island","🇨🇷":"costa_rica","🇨🇺":"cuba","🇨🇻":"cape_verde","🇨🇼":"curaçao","🇨🇽":"christmas_island","🇨🇾":"cyprus","🇨🇿":"czechia","🇩🇪":"germany","🇩🇬":"diego_garcia","🇩🇯":"djibouti","🇩🇰":"denmark","🇩🇲":"dominica","🇩🇴":"dominican_republic","🇩🇿":"algeria","🇪🇦":"ceuta_melilla","🇪🇨":"ecuador","🇪🇪":"estonia","🇪🇬":"egypt","🇪🇭":"western_sahara","🇪🇷":"eritrea","🇪🇸":"spain","🇪🇹":"ethiopia","🇪🇺":"european_union","🇫🇮":"finland","🇫🇯":"fiji","🇫🇰":"falkland_islands","🇫🇲":"micronesia","🇫🇴":"faroe_islands","🇫🇷":"france","🇬🇦":"gabon","🇬🇧":"united_kingdom","🇬🇩":"grenada","🇬🇪":"georgia","🇬🇫":"french_guiana","🇬🇬":"guernsey","🇬🇭":"ghana","🇬🇮":"gibraltar","🇬🇱":"greenland","🇬🇲":"gambia","🇬🇳":"guinea","🇬🇵":"guadeloupe","🇬🇶":"equatorial_guinea","🇬🇷":"greece","🇬🇸":"south_georgia_south_sandwich_islands","🇬🇹":"guatemala","🇬🇺":"guam","🇬🇼":"guinea_bissau","🇬🇾":"guyana","🇭🇰":"hong_kong_sar_china","🇭🇲":"heard_mcdonald_islands","🇭🇳":"honduras","🇭🇷":"croatia","🇭🇹":"haiti","🇭🇺":"hungary","🇮🇨":"canary_islands","🇮🇩":"indonesia","🇮🇪":"ireland","🇮🇱":"israel","🇮🇲":"isle_of_man","🇮🇳":"india","🇮🇴":"british_indian_ocean_territory","🇮🇶":"iraq","🇮🇷":"iran","🇮🇸":"iceland","🇮🇹":"italy","🇯🇪":"jersey","🇯🇲":"jamaica","🇯🇴":"jordan","🇯🇵":"japan","🇰🇪":"kenya","🇰🇬":"kyrgyzstan","🇰🇭":"cambodia","🇰🇮":"kiribati","🇰🇲":"comoros","🇰🇳":"st_kitts_nevis","🇰🇵":"north_korea","🇰🇷":"south_korea","🇰🇼":"kuwait","🇰🇾":"cayman_islands","🇰🇿":"kazakhstan","🇱🇦":"laos","🇱🇧":"lebanon","🇱🇨":"st_lucia","🇱🇮":"liechtenstein","🇱🇰":"sri_lanka","🇱🇷":"liberia","🇱🇸":"lesotho","🇱🇹":"lithuania","🇱🇺":"luxembourg","🇱🇻":"latvia","🇱🇾":"libya","🇲🇦":"morocco","🇲🇨":"monaco","🇲🇩":"moldova","🇲🇪":"montenegro","🇲🇫":"st_martin","🇲🇬":"madagascar","🇲🇭":"marshall_islands","🇲🇰":"north_macedonia","🇲🇱":"mali","🇲🇲":"myanmar_burma","🇲🇳":"mongolia","🇲🇴":"macao_sar_china","🇲🇵":"northern_mariana_islands","🇲🇶":"martinique","🇲🇷":"mauritania","🇲🇸":"montserrat","🇲🇹":"malta","🇲🇺":"mauritius","🇲🇻":"maldives","🇲🇼":"malawi","🇲🇽":"mexico","🇲🇾":"malaysia","🇲🇿":"mozambique","🇳🇦":"namibia","🇳🇨":"new_caledonia","🇳🇪":"niger","🇳🇫":"norfolk_island","🇳🇬":"nigeria","🇳🇮":"nicaragua","🇳🇱":"netherlands","🇳🇴":"norway","🇳🇵":"nepal","🇳🇷":"nauru","🇳🇺":"niue","🇳🇿":"new_zealand","🇴🇲":"oman","🇵🇦":"panama","🇵🇪":"peru","🇵🇫":"french_polynesia","🇵🇬":"papua_new_guinea","🇵🇭":"philippines","🇵🇰":"pakistan","🇵🇱":"poland","🇵🇲":"st_pierre_miquelon","🇵🇳":"pitcairn_islands","🇵🇷":"puerto_rico","🇵🇸":"palestinian_territories","🇵🇹":"portugal","🇵🇼":"palau","🇵🇾":"paraguay","🇶🇦":"qatar","🇷🇪":"reunion","🇷🇴":"romania","🇷🇸":"serbia","🇷🇺":"russia","🇷🇼":"rwanda","🇸🇦":"saudi_arabia","🇸🇧":"solomon_islands","🇸🇨":"seychelles","🇸🇩":"sudan","🇸🇪":"sweden","🇸🇬":"singapore","🇸🇭":"st_helena","🇸🇮":"slovenia","🇸🇯":"svalbard_jan_mayen","🇸🇰":"slovakia","🇸🇱":"sierra_leone","🇸🇲":"san_marino","🇸🇳":"senegal","🇸🇴":"somalia","🇸🇷":"suriname","🇸🇸":"south_sudan","🇸🇹":"sao_tome_principe","🇸🇻":"el_salvador","🇸🇽":"sint_maarten","🇸🇾":"syria","🇸🇿":"eswatini","🇹🇦":"tristan_da_cunha","🇹🇨":"turks_caicos_islands","🇹🇩":"chad","🇹🇫":"french_southern_territories","🇹🇬":"togo","🇹🇭":"thailand","🇹🇯":"tajikistan","🇹🇰":"tokelau","🇹🇱":"timor_leste","🇹🇲":"turkmenistan","🇹🇳":"tunisia","🇹🇴":"tonga","🇹🇷":"türkiye","🇹🇹":"trinidad_tobago","🇹🇻":"tuvalu","🇹🇼":"taiwan","🇹🇿":"tanzania","🇺🇦":"ukraine","🇺🇬":"uganda","🇺🇲":"us_outlying_islands","🇺🇳":"united_nations","🇺🇸":"united_states","🇺🇾":"uruguay","🇺🇿":"uzbekistan","🇻🇦":"vatican_city","🇻🇨":"st_vincent_grenadines","🇻🇪":"venezuela","🇻🇬":"british_virgin_islands","🇻🇮":"us_virgin_islands","🇻🇳":"vietnam","🇻🇺":"vanuatu","🇼🇫":"wallis_futuna","🇼🇸":"samoa","🇽🇰":"kosovo","🇾🇪":"yemen","🇾🇹":"mayotte","🇿🇦":"south_africa","🇿🇲":"zambia","🇿🇼":"zimbabwe","🏴󠁧󠁢󠁥󠁮󠁧󠁿":"england","🏴󠁧󠁢󠁳󠁣󠁴󠁿":"scotland","🏴󠁧󠁢󠁷󠁬󠁳󠁿":"wales","☻":"slight_smile","♡":"heart"}},20992:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(4089),n=i(90098),r=i(35352),a=i(79401),o=i(71773),l=i(46386),u=i(57364),d=i(99539),c=i(9348),p=i(55888),h=i(74975);let m=(0,n.default)((0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"zzjusJb4",block:'[[[1,"\\n "],[10,"form"],[14,0,"groups-form form-vertical groups-notifications-form"],[12],[1,"\\n\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["before-manage-group-tags","div",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,2],["groups.manage.tags.long_title"],null]],[13],[1,"\\n "],[10,0],[12],[1,[28,[32,2],["groups.manage.tags.description"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,3],["d-watching"],null]],[1,"\\n "],[1,[28,[32,2],["groups.notifications.watching.title"],null]],[13],[1,"\\n\\n "],[8,[32,4],null,[["@tags","@blockedTags","@everyTag","@unlimitedTagCount","@options"],[[30,1,["model","watching_tags"]],[30,1,["selectedTags"]],true,true,[28,[32,5],null,[["allowAny"],[false]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,2],["groups.manage.tags.watched_tags_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,3],["d-tracking"],null]],[1,"\\n "],[1,[28,[32,2],["groups.notifications.tracking.title"],null]],[13],[1,"\\n\\n "],[8,[32,4],null,[["@tags","@blockedTags","@everyTag","@unlimitedTagCount","@options"],[[30,1,["model","tracking_tags"]],[30,1,["selectedTags"]],true,true,[28,[32,5],null,[["allowAny"],[false]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,2],["groups.manage.tags.tracked_tags_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,3],["d-watching-first"],null]],[1,"\\n "],[1,[28,[32,2],["groups.notifications.watching_first_post.title"],null]],[13],[1,"\\n\\n "],[8,[32,4],null,[["@tags","@blockedTags","@everyTag","@unlimitedTagCount","@options"],[[30,1,["model","watching_first_post_tags"]],[30,1,["selectedTags"]],true,true,[28,[32,5],null,[["allowAny"],[false]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,2],["groups.manage.tags.watching_first_post_tags_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,3],["d-regular"],null]],[1,"\\n "],[1,[28,[32,2],["groups.notifications.regular.title"],null]],[13],[1,"\\n\\n "],[8,[32,4],null,[["@tags","@blockedTags","@everyTag","@unlimitedTagCount","@options"],[[30,1,["model","regular_tags"]],[30,1,["selectedTags"]],true,true,[28,[32,5],null,[["allowAny"],[false]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,2],["groups.manage.tags.regular_tags_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,3],["d-muted"],null]],[1,"\\n "],[1,[28,[32,2],["groups.notifications.muted.title"],null]],[13],[1,"\\n\\n "],[8,[32,4],null,[["@tags","@blockedTags","@everyTag","@unlimitedTagCount","@options"],[[30,1,["model","muted_tags"]],[30,1,["selectedTags"]],true,true,[28,[32,5],null,[["allowAny"],[false]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,2],["groups.manage.tags.muted_tags_instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,6],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/tags.js",scope:()=>[a.default,l.default,u.i18n,o.default,d.default,s.hash,r.default],isStrictMode:!0}),(0,h.default)(void 0,void 0)))},21056:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(28598)},21086:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(24698),n=i(13744),r=i(20559),a=i(6827),o=i(14493),l=i(86232);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();constructor(){if(super(...arguments),!this.currentUser||this.currentUser.read_faq)return;this._checkIfRead(),window.addEventListener("resize",this._checkIfRead,!1),window.addEventListener("scroll",this._checkIfRead,!1)}willDestroy(){super.willDestroy(...arguments),window.removeEventListener("resize",this._checkIfRead),window.removeEventListener("scroll",this._checkIfRead)}async _checkIfRead(){let e=document.querySelector("[itemprop='mainContentOfPage'] > *:last-child");(0,o.default)(e)&&(await (0,r.ajax)((0,l.userPath)("read-faq"),{type:"POST"}),this.currentUser.set("read_faq",!0))}static #i=(()=>dt7948.n(this.prototype,"_checkIfRead",[a.bind]))()}},21157:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(66530),n=i(96675),r=i(1848),a=i(93032),o=i(67560),l=i(9348),u=i(55888);let d=dt7948.c(class extends o.default{extraClass="selected-choice-category";get badge(){return(0,n.htmlSafe)((0,a.categoryBadgeHTML)(this.item,{allowUncategorized:!0,link:!1}))}static #e=(()=>dt7948.n(this.prototype,"badge",[(0,s.computed)("item")]))();static #i=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"BnURfBIN",block:'[[[1,"\\n "],[8,[32,0],null,[["@item","@selectKit","@extraClass"],[[30,0,["item"]],[30,0,["selectKit"]],[30,0,["extraClass"]]]],[["default"],[[[[1,"\\n "],[1,[30,0,["badge"]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/selected-choice-category.js",scope:()=>[o.default],isStrictMode:!0}),this))()},[(0,r.tagName)("")])},21164:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(78941),n=i(96675),r=i(30506),a=i(53078),o=i(39271),l=i(79401),u=i(71773),d=i(46386),c=i(3365),p=i(57364),h=i(9348),m=i(55888),g=i(74975);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:()=>[s.LinkTo,r.default,a.default,u.default,n.htmlSafe,o.default,c.default,p.i18n,l.default,d.default],isStrictMode:!0}),(0,g.default)(void 0,"group-card:GroupCard"))},21195:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y,isValidLink:()=>g,openLinkInNewTab:()=>_,shouldOpenInNewTab:()=>f});var s=i(30587),n=i.n(s),r=i(23286),a=i(20559),o=i(43952),l=i(99148),u=i(55751),d=i(18965),c=i(99314),p=i(86232),h=i(48297),m=i(57364);function g(e){if(e instanceof n()&&(e=e[0],(0,o.default)("isValidLink now expects an Element, not a jQuery object",{since:"2.9.0.beta7",id:"discourse.click-track.is-valid-link-jquery"})),["lightbox","no-track-link","hashtag","hashtag-cooked","back"].some(t=>e.classList.contains(t)))return!1;let t=e.closest("aside.quote, .elided, .expanded-embed");if(t&&t!==e)return!1;if(e.closest(".onebox-result, .onebox-body")){let t=e.closest(".onebox")?.querySelector("header a");if(t&&t.href===e.href)return!0}return e.classList.contains("track-link")||!e.closest(".hashtag, .hashtag-cooked, .hashtag-icon-placeholder, .badge-category, .onebox-result, .onebox-body")}function f(e){let t=p.default.isInternal(e),i=h.default.currentProp("user_option.external_links_in_new_tab");return!t&&i}function _(e,t){let i=(t.href||t.dataset.href||"").trim();if(""===i)return;let s=window.open(i,"_blank");s.opener=null,s.focus(),e.preventDefault()}let y={trackClick(e,t){let{returnPromise:i=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(3===e.which)return!0;let s=e.currentTarget,n=g(s);if(["mention","mention-group"].some(e=>s.classList.contains(e)))return!0;let o=(s.getAttribute("href")||s.dataset.href||"").trim();if(!o||o.startsWith("mailto:"))return!0;if(t?.lookup("service:app-events").trigger("click-tracked",o),s.classList.contains("attachment")){if(t?.lookup("service:site-settings")?.prevent_anons_from_downloading_files&&!h.default.current())(0,u.getOwnerWithFallback)(this).lookup("service:dialog").alert((0,m.i18n)("post.errors.attachment_download_requires_login"));else if((0,c.wantsNewWindow)(e)){let e=window.open(o,"_blank");e.opener=null,e.focus()}else p.default.redirectTo(o);return!1}let y=s.closest("article:not(.onebox-body), .excerpt, #revisions"),b=y.dataset.postId,w=document.querySelector("#topic")?.dataset?.topicId||y.dataset.topicId,k=s.dataset.userId||y.dataset.userId,T=k&&parseInt(k,10)===h.default.currentProp("id");if(n&&!T){let e=s.querySelector("span.badge");if(e){let t=e.innerHTML,i=`${new Date().toLocaleDateString()}-${b}-${o}`;/^\d+$/.test(t)&&!sessionStorage.getItem(i)&&(sessionStorage.setItem(i,!0),e.innerHTML=parseInt(t,10)+1)}}let S=r.Promise.resolve();if(n)if(!(0,l.isTesting)()&&navigator.sendBeacon){let e=new FormData;e.append("url",o),e.append("post_id",b),e.append("topic_id",w),navigator.sendBeacon((0,d.default)("/clicks/track"),e)}else S=(0,a.ajax)("/clicks/track",{type:"POST",data:{url:o,post_id:b,topic_id:w}});return(0,c.wantsNewWindow)(e)?!i||S:(f(o)?_(e,s):S.finally(()=>{p.default.isInternal(o)&&(0,d.samePrefix)(o)?p.default.routeTo(o):p.default.redirectAbsolute(o)}),!!i&&S)}}},21203:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{WidgetChangeHook:()=>O,WidgetClickHook:()=>x,WidgetClickOutsideHook:()=>L,WidgetDoubleClickHook:()=>E,WidgetDragHook:()=>X,WidgetInputHook:()=>N,WidgetKeyDownHook:()=>I,WidgetKeyUpHook:()=>F,WidgetMouseDownHook:()=>R,WidgetMouseDownOutsideHook:()=>P,WidgetMouseMoveHook:()=>U,WidgetMouseOutHook:()=>q,WidgetMouseOverHook:()=>B,WidgetMouseUpHook:()=>j,WidgetPointerOutHook:()=>Y,WidgetPointerOverHook:()=>H,WidgetTouchEndHook:()=>$,WidgetTouchMoveHook:()=>K,WidgetTouchStartHook:()=>W});var n=i(45916),r=i(30587),a=i.n(r);let o="_discourse_click_widget",l="_discourse_double_click_widget",u="_discourse_click_outside_widget",d="_discourse_mouse_down_outside_widget",c="_discourse_key_up_widget",p="_discourse_key_down_widget",h="_discourse_drag_widget",m="_discourse_input_widget",g="_discourse_change_widget",f="_discourse_mouse_down_widget",_="_discourse_mouse_up_widget",y="_discourse_mouse_move_widget",b="_discourse_mouse_over_widget",w="_discourse_mouse_out_widget",k="_discourse_touch_start_widget",T="_discourse_touch_end_widget",S="_discourse_touch_move_widget",C="_discourse_pointer_over_widget",A="_discourse_pointer_out_widget";class D{constructor(e){this.widget=e}}function M(e,t){return class extends D{hook(i){t&&i.setAttribute(t,!0),i[e]=this.widget}unhook(i){t&&i.removeAttribute(t,!0),i[e]=null}}}let x=M(o),E=M(l),L=M(u,"data-click-outside"),P=M(d,"data-mouse-down-outside"),F=M(c),I=M(p),N=M(m),O=M(g),j=M(_),R=M(f),U=M(y),B=M(b),H=M(C),Y=M(A),q=M(w),$=M(T);function z(e){return e.currentTarget[k].touchStart(e)}function V(e){return e.currentTarget[S].touchMove(e)}class W extends D{hook(e,t,i){e[k]=this.widget,i||e.addEventListener("touchstart",z,{passive:!1})}unhook(e,t,i){i||e.removeEventListener("touchstart",z)}}class K extends D{hook(e,t,i){e[S]=this.widget,i||e.addEventListener("touchmove",V,{passive:!1})}unhook(e,t,i){i||e.removeEventListener("touchmove",V)}}function G(e){e.preventDefault(),e.stopPropagation(),s&&Q(),s=e.currentTarget,document.body.classList.add("widget-dragging"),document.addEventListener("touchmove",J,{passive:!1}),document.addEventListener("mousemove",J,{passive:!1}),document.addEventListener("touchend",Q),document.addEventListener("mouseup",Q)}function J(e){let t=s[h];if("mousemove"===e.type)t.drag(e);else{let i=e.targetTouches[0];e.preventDefault(),e.stopPropagation(),t.drag(i)}}function Q(e){document.body.classList.remove("widget-dragging"),document.removeEventListener("touchmove",J),document.removeEventListener("mousemove",J),document.removeEventListener("touchend",Q),document.removeEventListener("mouseup",Q),s[h].dragEnd(e),s=null}class X extends D{hook(e,t,i){e[h]=this.widget,i||(e.addEventListener("touchstart",G,{passive:!1}),e.addEventListener("mousedown",G,{passive:!1}))}unhook(e,t,i){i||(s===e&&Q(),e.removeEventListener("touchstart",G),e.removeEventListener("mousedown",G))}}function Z(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{rerender:!0},{rerender:n}=s,r=function(e,t){for(;e;){let i=e[t];if(i)return i;e=e.parentNode}}(e,t);r&&(n?r.rerenderResult(()=>i(r)):i(r))}let ee=!1;x.setupDocumentCallback=function(){ee||(a()(document).on("mouseover.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,b,t=>t.mouseOver(e),{rerender:!1})})),a()(document).on("pointerover.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,C,t=>t.pointerOver(e),{rerender:!1})})),a()(document).on("mouseout.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,w,t=>t.mouseOut(e),{rerender:!1})})),a()(document).on("pointerout.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,A,t=>t.pointerOut(e),{rerender:!1})})),a()(document).on("dblclick.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,l,t=>t.doubleClick(e))})),a()(document).on("click.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,o,t=>t.click(e));let t=e.target;a()("[data-click-outside]").each((i,s)=>{if(s.contains(t)||s===t&&"absolute"===s.style.position)return;let n=s[u];n&&n.clickOutside(e)})})),a()(document).on("mousedown.discourse-widget",(0,n.bind)(this,e=>{let t=e.target;a()("[data-mouse-down-outside]").each((i,s)=>{if(s.contains(t))return;let n=s[d];n&&n.mouseDownOutside(e)})})),a()(document).on("keyup.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,c,t=>t.keyUp(e))})),a()(document).on("keydown.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,p,t=>t.keyDown(e))})),a()(document).on("input.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,m,t=>t.input(e),{rerender:!1})})),a()(document).on("change.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,g,t=>t.change(e),{rerender:!1})})),a()(document).on("touchend.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,T,t=>t.touchEnd(e),{rerender:!1})})),a()(document).on("mousedown.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,f,t=>{t.mouseDown(e)},{rerender:!1})})),a()(document).on("mouseup.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,_,t=>t.mouseUp(e),{rerender:!1})})),a()(document).on("mousemove.discourse-widget",(0,n.bind)(this,e=>{Z(e.target,y,t=>t.mouseMove(e))})),ee=!0)}},21229:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(27322);i(49233),i(23260),i(17633),i(4837),i(184);var n=i(39665);i(8166);var r=i(46423),a=i(87042);function o(){return this}i(75376);let l=r.default.create({concatenatedProperties:["attributeBindings"],nearestOfType(e){let t=this.parentView,i=e instanceof r.default?t=>e.detect(t):t=>e.detect(t.constructor);for(;t;){if(i(t))return t;t=t.parentView}},nearestWithProperty(e){let t=this.parentView;for(;t;){if(e in t)return t;t=t.parentView}},rerender(){return this._currentState.rerender(this)},element:(0,n.B)({configurable:!1,enumerable:!1,get(){return this.renderer.getElement(this)}}),appendTo(e){let t;return t=a.h&&"string"==typeof e?document.querySelector(e):e,this.renderer.appendTo(this,t),this},append(){return this.appendTo(document.body)},elementId:null,willInsertElement:o,didInsertElement:o,willClearRender:o,destroy(){this._super(...arguments),this._currentState.destroy(this)},willDestroyElement:o,didDestroyElement:o,parentViewDidChange:o,tagName:null,init(){this._super(...arguments),this.elementId||""===this.tagName||(this.elementId=(0,s.g)(this))},handleEvent(e,t){return this._currentState.handleEvent(this,e,t)}})},21260:(e,t,i)=>{var s=i(25667),n=i(5303);e.exports=function(e,t,i){var r=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return n(i)&&(r="leading"in i?!!i.leading:r,a="trailing"in i?!!i.trailing:a),s(e,t,{leading:r,maxWait:t,trailing:a})}},21287:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){"use strict";function t(e,t,i,s){var n={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?n[i][0]:n[i][1]}return e.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(e,t,i){return e<12?i?"bn":"BN":i?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var i=t.toLowerCase();return i.includes("w")||i.includes("m")?e+".":e+function(e){var t=(e=""+e).substring(e.length-1),i=e.length>1?e.substring(e.length-2):"";return 12!=i&&13!=i&&("2"==t||"3"==t||"50"==i||"70"==t||"80"==t)?"yê":"ê"}(e)},week:{dow:1,doy:4}})})},21289:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(66530),n=i(1848),r=i(57364),a=i(75443),o=i(86558);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 #i=(()=>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")])},21371:(e,t,i)=>{e.exports={diff:i(71428),patch:i(54865),h:i(91223),create:i(25486),VNode:i(37476),VText:i(93191)}},21378:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("ar-kw",{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:0,doy:12}})})},21421:(e,t,i)=>{"use strict";i.r(t),i.d(t,{registerServiceWorker:()=>n});var s=i(18965);function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};window.isSecureContext&&"serviceWorker"in navigator&&(e?(navigator.serviceWorker.getRegistrations().then(t=>{for(let i of t)i.active&&!i.active.scriptURL.includes(e)&&r(i)}),navigator.serviceWorker.register((0,s.default)(`/${e}`),t).catch(e=>{console.info(`Failed to register Service Worker: ${e}`)})):navigator.serviceWorker.getRegistrations().then(e=>{for(let t of e)r(t)}))}function r(e){(0,s.isAbsoluteURL)(e.scope)&&e.unregister()}},21429:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698),n=i(58452),r=i(66530),a=i(90831),o=i(91694),l=i(38826),u=i(54623),d=i(9348),c=i(55888);class p extends s.default{static controlType="checkbox";handleInput(){this.args.field.set(!this.args.field.value)}static #e=(()=>dt7948.n(this.prototype,"handleInput",[r.action]))();static #i=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"ZFkM0UjX",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"form-kit__control-checkbox-label"]],null,[["default"],[[[[1,"\\n "],[11,"input"],[24,4,"checkbox"],[16,"checked",[28,[32,1],[[30,1,["value"]],true],null]],[24,0,"form-kit__control-checkbox"],[16,"disabled",[30,1,["disabled"]]],[17,2],[4,[32,2],["change",[30,0,["handleInput"]]],null],[12],[13],[1,"\\n "],[10,1],[14,0,"form-kit__control-checkbox-content"],[12],[1,"\\n "],[10,1],[14,0,"form-kit__control-checkbox-title"],[12],[1,"\\n "],[10,1],[12],[1,[30,1,["title"]]],[13],[1,"\\n "],[8,[32,3],null,[["@field"],[[30,1]]],null],[1,"\\n "],[8,[32,4],null,[["@field"],[[30,1]]],null],[1,"\\n "],[13],[1,"\\n"],[41,[48,[30,3]],[[[1," "],[10,1],[14,0,"form-kit__control-checkbox-description"],[12],[18,3,null],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@field","&attrs","&default"],false,["if","has-block","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/checkbox.js",scope:()=>[o.default,a.eq,n.on,l.default,u.default],isStrictMode:!0}),this))()}},21488:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(39992),n=i(57364);let r=class extends s.default{get label(){let e=this.siteSettings.prioritize_full_name_in_ux&&this.notification.data.display_name||this.notification.data.display_username;if(2===this.count){let t=this.siteSettings.prioritize_full_name_in_ux&&this.notification.data.name2||this.notification.data.username2;return(0,n.i18n)("notifications.liked_by_2_users",{username:e,username2:t})}return this.count>2?(0,n.i18n)("notifications.liked_by_multiple_users",{username:e,count:this.count-1}):super.label}get labelClasses(){return 2===this.count?["double-user"]:this.count>2?["multi-user"]:void 0}get count(){return this.notification.data.count}}},21531:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(24698),n=i(40779),r=i(58452),a=i(66530),o=i(11811),l=i(79401),u=i(46386),d=i(20559),c=i(72172),p=i(34057),h=i(67320),m=i(57364),g=i(9348),f=i(55888);class _ extends s.default{static #e=(()=>dt7948.g(this.prototype,"isSaving",[n.tracked],function(){return!1}))();#aW=(()=>void dt7948.i(this,"isSaving"))();static #i=(()=>dt7948.g(this.prototype,"value",[n.tracked],function(){return this.args.newValue||this.args.initialValue}))();#iL=(()=>void dt7948.i(this,"value"))();buttonTitle=(()=>(0,m.i18n)("composer.title",{modifier:(0,p.translateModKey)("Meta+")}))();get disabled(){return this.value===this.args.initialValue}onKeydown(e){"Enter"===e.key&&(e.ctrlKey||e.metaKey)&&!this.disabled&&this.save()}static #n=(()=>dt7948.n(this.prototype,"onKeydown",[a.action]))();updateValue(e){e.preventDefault(),this.value=e.target.value}static #a=(()=>dt7948.n(this.prototype,"updateValue",[a.action]))();updateValueProperty(e){this.value=e}static #l=(()=>dt7948.n(this.prototype,"updateValueProperty",[a.action]))();async save(){this.isSaving=!0;try{let e=await (0,d.ajax)(`/posts/${this.args.post.id}`),t=e.raw.replace(this.args.initialValue,this.value);if(t===e.raw)throw Error("Failed to update the post. Did your fast edit include a special character?");await this.args.post.save({raw:t})}catch(e){(0,c.popupAjaxError)(e)}finally{this.isSaving=!1,this.args.close()}}static #d=(()=>dt7948.n(this.prototype,"save",[a.action]))();static #p=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"LYn4DRiS",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"fast-edit-container"],[4,[32,0],["keydown",[30,0,["onKeydown"]]],null],[12],[1,"\\n "],[11,"textarea"],[24,1,"fast-edit-input"],[4,[32,0],["input",[30,0,["updateValue"]]],null],[4,[32,1],null,null],[12],[1,[30,0,["value"]]],[13],[1,"\\n\\n "],[10,0],[14,0,"fast-edit-container__footer"],[12],[1,"\\n "],[8,[32,2],[[24,0,"btn-small btn-primary save-fast-edit"]],[["@action","@icon","@label","@translatedTitle","@isLoading","@disabled"],[[30,0,["save"]],"pencil","composer.save_edit",[30,0,["buttonTitle"]],[30,0,["isSaving"]],[30,0,["disabled"]]]],null],[1,"\\n\\n "],[8,[32,3],null,[["@name","@defaultGlimmer","@outletArgs"],["fast-edit-footer-after",true,[28,[32,4],null,[["initialValue","newValue","updateValue"],[[30,1],[30,2],[30,0,["updateValueProperty"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@initialValue","@newValue"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/fast-edit.js",scope:()=>[r.on,h.default,o.default,l.default,u.default],isStrictMode:!0}),this))()}},21558:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(57364),n=i(42154),r=i(9348),a=i(55888),o=i(74975);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"xp7eYsLe",block:'[[[1,"\\n "],[8,[32,0],[[16,"aria-label",[28,[32,1],["category.sort_options.posters"],null]]],[["@order","@activeOrder","@changeSort","@ascending","@name","@screenreaderOnly"],["posters",[30,1],[30,2],[30,3],"posters",true]],null],[1,"\\n"]],["@activeOrder","@changeSort","@ascending"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/header/posters-cell.js",scope:()=>[n.default,s.i18n],isStrictMode:!0}),(0,o.default)(void 0,"posters-cell:PostersCell"))},21571:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a,recentlyCopied:()=>o,showAlert:()=>l});var s=i(45916),n=i(60882),r=i(57364);function a(e){let{postId:t,actionClass:i,messageKey:s,actionCallback:n,errorCallback:r}=e;if(o(t,i))return;let a=n();a&&a.then?a.then(()=>{l(t,i,s)}).catch(()=>{r&&r()}):l(t,i,s)}function o(e,t){return document.querySelector(`article[data-post-id='${e}'] .${t} .${t}-checkmark`)}function l(e,t,i){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=`article[data-post-id='${e}']`,l=a.actionBtn||document.querySelector(`${o} .${t}`);(0,s.next)(()=>{l?.classList.add("post-action-feedback-button")}),function(e,t,i){if(!i)return;let s=document.createElement("div");s.className="post-action-feedback-alert -success",s.textContent=e,i.appendChild(s),setTimeout(()=>u(s),2500)}((0,r.i18n)(i),0,l),function(e,t,i){let s=`svg_${t}_${i}`,r=function(e,t,i){let s=document.createElement("template");return s.innerHTML=` `,s}(0,t,s);e.appendChild(r.content),setTimeout(()=>u(document.getElementById(s)),2500)}(l,t,e),function(e){(0,s.next)(()=>{e.classList.add("--activated","--transition")}),setTimeout(()=>e.classList.remove("--activated"),2250),setTimeout(()=>e.classList.remove("--transition"),2500)}(l)}function u(e){e?.parentNode?.removeChild(e)}},21683:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(24698);i(40779);var n=i(90831),r=i(71773),a=i(57364),o=i(9348),l=i(55888);let u=(0,i(69853).A)(i(40779)).cached;class d extends s.default{get percentage(){let{agreed:e,disagreed:t,ignored:i}=this.args,s=e+t+i,n={total:s};if(s<=0)return n;let r=Math.round(e/s*100),o=Math.round(t/s*100),l=Math.round(i/s*100),u=Math.max(e,t,i);return u===e?(n.icon="thumbs-up",n.className="agreed",n.label=`${r}%`):u===t?(n.icon="thumbs-down",n.className="disagreed",n.label=`${o}%`):(n.icon="up-right-from-square",n.className="ignored",n.label=`${l}%`),n.title=(0,a.i18n)("review.user_percentage.summary",{agreed:(0,a.i18n)("review.user_percentage.agreed",{count:r}),disagreed:(0,a.i18n)("review.user_percentage.disagreed",{count:o}),ignored:(0,a.i18n)("review.user_percentage.ignored",{count:l}),count:s}),n}static #e=(()=>dt7948.n(this.prototype,"percentage",[u]))();static #i=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"zf/iPhFF",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,0,["percentage","total"]],3],null],[[[1," "],[10,0],[15,"title",[30,0,["percentage","title"]]],[14,0,"user-flag-percentage"],[12],[1,"\\n "],[10,1],[15,0,[29,["percentage-label ",[30,0,["percentage","className"]]]]],[12],[1,[30,0,["percentage","label"]]],[13],[1,"\\n "],[1,[28,[32,1],[[30,0,["percentage","icon"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-flag-percentage.js",scope:()=>[n.gte,r.default],isStrictMode:!0}),this))()}},21710:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r}),i(23260);var s=i(36768),n=i(13744);class r{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();constructor(e){(0,s.setOwner)(this,e)}log(e){this.siteSettings.enable_upload_debug_mode&&console.log(e)}#aK(e){if(!e)return;let t=Math.floor(e.duration/6e4),i=(e.duration%6e4/1e3).toFixed(0);this.log(`${e.name}: duration: ${t+":"+(i<10?"0":"")+i} (${e.duration}ms)`)}#aG(){return this.#aJ("testing support 1"),this.#aJ("testing support 2"),this.#aQ("performance api support","testing support 1","testing support 2")}#aJ(e){return performance.mark(e)}#aQ(e,t,i){let s;try{s=performance.measure(e,t,i)}catch(s){s.message.includes("Failed to execute 'measure' on 'Performance'")&&console.warn(`Uppy performance measure failed: ${e}, ${t}, ${i}`)}return s}instrumentUploadTimings(e){this.#aG()&&(e.on("upload",(e,t)=>{t.forEach(e=>{let{id:t}=e;return this.#aJ(`upload-${t}-start`)})}),e.on("create-multipart",e=>{this.#aJ(`upload-${e}-create-multipart`)}),e.on("create-multipart-success",e=>{this.#aJ(`upload-${e}-create-multipart-success`)}),e.on("complete-multipart",e=>{this.#aJ(`upload-${e}-complete-multipart`),this.#aK(this.#aQ(`upload-${e}-multipart-all-parts-complete`,`upload-${e}-create-multipart-success`,`upload-${e}-complete-multipart`))}),e.on("complete-multipart-success",e=>{this.#aJ(`upload-${e}-complete-multipart-success`),this.#aK(this.#aQ(`upload-${e}-multipart-total-network-exclusive-complete-multipart`,`upload-${e}-create-multipart`,`upload-${e}-complete-multipart`)),this.#aK(this.#aQ(`upload-${e}-multipart-total-network-inclusive-complete-multipart`,`upload-${e}-create-multipart`,`upload-${e}-complete-multipart-success`)),this.#aK(this.#aQ(`upload-${e}-multipart-complete-convert-to-upload`,`upload-${e}-complete-multipart`,`upload-${e}-complete-multipart-success`))}),e.on("upload-success",e=>{this.#aJ(`upload-${e.id}-end`),this.#aK(this.#aQ(`upload-${e.id}-multipart-total-inclusive-preprocessing`,`upload-${e.id}-start`,`upload-${e.id}-end`))}))}}},21775:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(18965),n=i(39992),r=i(57364);let a=class extends n.default{get label(){return null}get description(){return(0,r.i18n)("notifications.new_features")}get linkHref(){return(0,s.default)("/admin/whats-new")}get icon(){return"gift"}}},21812:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(71795);let n=(0,s.default)("user","private-messages-unread",s.UNREAD_FILTER)},21813:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(81845),n=i(66530),r=i(58295),a=i(72825),o=i(20559),l=i(72172),u=i(6827);class d extends s.default{queryParams=["order","asc","filter"];order=null;asc=!0;filter=null;filterInput=null;loading=!1;isBulk=!1;showActions=!1;bulkSelection=null;static #e=(()=>dt7948.g(this.prototype,"hasMembers",[(0,r.gt)("model.members.length",0)]))();#aX=(()=>void dt7948.i(this,"hasMembers"))();get canLoadMore(){return this.get("model.members")?.lengthdt7948.n(this.prototype,"filterInputChanged",[(0,a.observes)("filterInput")]))();_setFilter(){this.set("filter",this.filterInput)}static #n=(()=>dt7948.n(this.prototype,"_setFilter",[(0,u.debounce)(500)]))();_filtersChanged(){this.reloadMembers(!0)}static #a=(()=>dt7948.n(this.prototype,"_filtersChanged",[(0,a.observes)("order","asc","filter")]))();reloadMembers(e){!this.loading&&this.model&&(e||this.canLoadMore)&&(this.set("loading",!0),this.model.reloadMembers(this.memberParams,e).finally(()=>{this.set("loading",!1),this.refresh&&this.set("bulkSelection",[])}))}memberParams(e,t,i){return{order:e,asc:t,filter:i}}static #l=(()=>dt7948.n(this.prototype,"memberParams",[(0,u.default)("order","asc","filter")]))();canManageGroup(e){return this.currentUser?.canManageGroup(e)&&!this.model.automatic}static #d=(()=>dt7948.n(this.prototype,"canManageGroup",[(0,u.default)("model")]))();filterPlaceholder(){return this.currentUser&&this.currentUser.admin?"groups.members.filter_placeholder_admin":"groups.members.filter_placeholder"}static #p=(()=>dt7948.n(this.prototype,"filterPlaceholder",[u.default]))();emptyMessageKey(e,t,i){return i?e?"groups.members.no_filter_matches":"groups.empty.members":"groups.members.forbidden"}static #m=(()=>dt7948.n(this.prototype,"emptyMessageKey",[(0,u.default)("filter","members","model.can_see_members")]))();loadMore(){this.reloadMembers()}static #f=(()=>dt7948.n(this.prototype,"loadMore",[n.action]))();toggleActions(){this.toggleProperty("showActions")}static #y=(()=>dt7948.n(this.prototype,"toggleActions",[n.action]))();actOnGroup(e,t){switch(t){case"removeMember":this.removeMember(e);break;case"makeOwner":this.makeOwner(e.username);break;case"removeOwner":this.removeOwner(e);break;case"makePrimary":e.setPrimaryGroup(this.model.id).then(()=>e.set("primary",!0));break;case"removePrimary":e.setPrimaryGroup(null).then(()=>e.set("primary",!1))}}static #v=(()=>dt7948.n(this.prototype,"actOnGroup",[n.action]))();actOnSelection(e,t){if(e&&0!==e.length)switch(t){case"removeMembers":return(0,o.ajax)(`/groups/${this.model.id}/members.json`,{type:"DELETE",data:{user_ids:e.mapBy("id").join(",")}}).then(()=>{this.model.reloadMembers(this.memberParams,!0),this.set("isBulk",!1)});case"makeOwners":return(0,o.ajax)(`/groups/${this.model.id}/owners.json`,{type:"PUT",data:{usernames:e.mapBy("username").join(",")}}).then(()=>{e.forEach(e=>e.set("owner",!0)),this.set("isBulk",!1)});case"removeOwners":return(0,o.ajax)(`/admin/groups/${this.model.id}/owners.json`,{type:"DELETE",data:{group:{usernames:e.map(e=>e.username).join(",")}}}).then(()=>{e.forEach(e=>e.set("owner",!1)),this.set("isBulk",!1)});case"setPrimary":case"unsetPrimary":let i="setPrimary"===t;return(0,o.ajax)(`/admin/groups/${this.model.id}/primary.json`,{type:"PUT",data:{group:{usernames:e.map(e=>e.username).join(",")},primary:i}}).then(()=>{e.forEach(e=>e.set("primary",i)),this.set("isBulk",!1)})}}static #k=(()=>dt7948.n(this.prototype,"actOnSelection",[n.action]))();removeMember(e){this.model.removeMember(e,this.memberParams)}static #S=(()=>dt7948.n(this.prototype,"removeMember",[n.action]))();makeOwner(e){this.model.addOwners(e)}static #A=(()=>dt7948.n(this.prototype,"makeOwner",[n.action]))();removeOwner(e){this.model.removeOwner(e)}static #M=(()=>dt7948.n(this.prototype,"removeOwner",[n.action]))();addMembers(){this.usernames&&this.usernames.length>0&&this.model.addMembers(this.usernames).then(()=>this.set("usernames",[])).catch(l.popupAjaxError)}static #E=(()=>dt7948.n(this.prototype,"addMembers",[n.action]))();toggleBulkSelect(){this.setProperties({isBulk:!this.isBulk,bulkSelection:[]})}static #P=(()=>dt7948.n(this.prototype,"toggleBulkSelect",[n.action]))();bulkSelectAll(){document.querySelectorAll("input.bulk-select:not(:checked)").forEach(e=>{e.checked||e.click()})}static #I=(()=>dt7948.n(this.prototype,"bulkSelectAll",[n.action]))();bulkClearAll(){document.querySelectorAll("input.bulk-select:checked").forEach(e=>{e.checked&&e.click()})}static #O=(()=>dt7948.n(this.prototype,"bulkClearAll",[n.action]))();selectMember(e,t){this.set("bulkSelection",this.bulkSelection||[]),t.target.checked?this.bulkSelection.pushObject(e):this.bulkSelection.removeObject(e)}static #R=(()=>dt7948.n(this.prototype,"selectMember",[n.action]))();updateOrder(e,t){this.setProperties({order:e,asc:t})}static #B=(()=>dt7948.n(this.prototype,"updateOrder",[n.action]))()}},21907:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(4415);let n={initialize(e){s.default.init();let t=e.lookup("service:site");t.set("narrowDesktopView",s.default.narrowDesktopView),this._resizeObserver=new ResizeObserver(i=>{if(!e.isDestroyed)for(let n of i){let i=t.narrowDesktopView,r=s.default.isNarrowDesktopView(n.contentRect.width);if(i!==r){let i=e.lookup("controller:application");t.set("narrowDesktopView",r),i.set("showSidebar",i.calculateShowSidebar()),i.appEvents.trigger("site-header:force-refresh"),e.lookup("service:header").hamburgerVisible=!1}}}),this._resizeObserver.observe(document.body)}}},21910:(e,t,i)=>{"use strict";e.exports=new(i(35302))("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},21969:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Opaque:()=>s});class s{}},22021:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s={after:"message-bus",initialize(){moment.tz.link(["Asia/Kolkata|IST","Asia/Seoul|KST","Asia/Tokyo|JST"]),delete moment.tz._links["us_pacific-new"]}}},22035:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(45916),n=i(13744),r=i(40577);let a=dt7948.c(class extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#tH=(()=>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])},22066:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(13744),n=i(6827);class r extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"sessionStore",[s.service]))();#aZ=(()=>void dt7948.i(this,"sessionStore"))();init(){super.init(...arguments),this.router.on("routeWillChange",this.routeWillChange)}willDestroy(){this.router.off("routeWillChange",this.routeWillChange)}get history(){let e=this.sessionStore.getObject("routeHistory");return null===e?[]:e}addToHistory(e){let t=this.history||[];t.unshift(e),t.length>1e3&&t.pop(),this.sessionStore.setObject({key:"routeHistory",value:t})}routeWillChange(){null!==this.router.currentURL&&this.router.currentURL!==this.lastURL&&this.addToHistory(this.router.currentURL)}static #n=(()=>dt7948.n(this.prototype,"routeWillChange",[n.bind]))();get lastURL(){return this.history[0]}}},22106:(e,t,i)=>{"use strict";function s(){for(var e=arguments.length,t=Array(e),i=0;is})},22187:(e,t,i)=>{"use strict";var s=i(30379),n=i(49561),r=i(8995),a=Object.prototype.toString,o=Object.prototype.hasOwnProperty,l={};l[0]="\\0",l[7]="\\a",l[8]="\\b",l[9]="\\t",l[10]="\\n",l[11]="\\v",l[12]="\\f",l[13]="\\r",l[27]="\\e",l[34]='\\"',l[92]="\\\\",l[133]="\\N",l[160]="\\_",l[8232]="\\L",l[8233]="\\P";var u=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],d=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function c(e){this.schema=e.schema||r,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=s.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var i,s,n,r,a,l,u;if(null===t)return{};for(n=0,i={},r=(s=Object.keys(t)).length;n=55296&&s<=56319&&t+1=56320&&i<=57343?(s-55296)*1024+i-56320+65536:s}function b(e){return/^\n* /.test(e)}function w(e,t){var i=b(e)?String(t):"",s=` `===e[e.length-1];return i+(s&&(` `===e[e.length-2]||` `===e)?"+":s?"":"-")+` `}function k(e){return` `===e[e.length-1]?e.slice(0,-1):e}function T(e,t){if(""===e||" "===e[0])return e;for(var i,s,n=/ [^ ]/g,r=0,a=0,o=0,l="";i=n.exec(e);)(o=i.index)-r>t&&(s=a>r?a:o,l+=` `+e.slice(r,s),r=s+1),a=o;return l+=` `,e.length-r>t&&a>r?l+=e.slice(r,a)+` `+e.slice(a+1):l+=e.slice(r),l.slice(1)}function S(e,t,i,s){var n,r,a,o="",l=e.tag;for(n=0,r=i.length;n tag resolver accepts not "'+c+'" style');e.dump=s}return!0}return!1}function A(e,t,i,r,o,c,f){e.tag=null,e.dump=i,C(e,i,!1)||C(e,i,!0);var D=a.call(e.dump),M=r;r&&(r=e.flowLevel<0||e.flowLevel>t);var x,E,L,P="[object Object]"===D||"[object Array]"===D;if(P&&(L=-1!==(E=e.duplicates.indexOf(i))),(null!==e.tag&&"?"!==e.tag||L||2!==e.indent&&t>0)&&(o=!1),L&&e.usedDuplicates[E])e.dump="*ref_"+E;else{if(P&&L&&!e.usedDuplicates[E]&&(e.usedDuplicates[E]=!0),"[object Object]"===D)r&&0!==Object.keys(e.dump).length?(!function(e,t,i,s){var r,a,o,l,u,d,c="",p=e.tag,m=Object.keys(i);if(!0===e.sortKeys)m.sort();else if("function"==typeof e.sortKeys)m.sort(e.sortKeys);else if(e.sortKeys)throw new n("sortKeys must be a boolean or a function");for(r=0,a=m.length;r1024)&&(e.dump&&10===e.dump.charCodeAt(0)?d+="?":d+="? "),d+=e.dump,u&&(d+=h(e,t)),A(e,t+1,l,!0,u)&&(e.dump&&10===e.dump.charCodeAt(0)?d+=":":d+=": ",d+=e.dump,c+=d));e.tag=p,e.dump=c||"{}"}(e,t,e.dump,o),L&&(e.dump="&ref_"+E+e.dump)):(!function(e,t,i){var s,n,r,a,o,l="",u=e.tag,d=Object.keys(i);for(s=0,n=d.length;s1024&&(o+="? "),o+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),A(e,t,a,!1,!1)&&(o+=e.dump,l+=o));e.tag=u,e.dump="{"+l+"}"}(e,t,e.dump),L&&(e.dump="&ref_"+E+" "+e.dump));else if("[object Array]"===D)r&&0!==e.dump.length?(e.noArrayIndent&&!f&&t>0?S(e,t-1,e.dump,o):S(e,t,e.dump,o),L&&(e.dump="&ref_"+E+e.dump)):(!function(e,t,i){var s,n,r,a="",o=e.tag;for(s=0,n=i.length;s=65536?l+=2:l++){if(!g(u=y(e,l)))return 5;w=w&&_(u,d,o),d=u}else{for(l=0;l=65536?l+=2:l++){if(10===(u=y(e,l)))c=!0,h&&(p=p||l-f-1>s&&" "!==e[f+1],f=l);else if(!g(u))return 5;w=w&&_(u,d,o),d=u}p=p||h&&l-f-1>s&&" "!==e[f+1]}return c||p?i>9&&b(e)?5:a?2===r?5:2:p?4:3:!w||a||n(e)?2===r?5:2:1}(t,r||e.flowLevel>-1&&i>=e.flowLevel,e.indent,c,function(t){return function(e,t){var i,s;for(i=0,s=e.implicitTypes.length;i"+w(t,e.indent)+k(p(function(e,t){for(var i,s,n=/(\n+)([^\n]*)/g,r=function(){var i=e.indexOf(` `);return n.lastIndex=i=-1!==i?i:e.length,T(e.slice(0,i),t)}(),a=` `===e[0]||" "===e[0];s=n.exec(e);){var o=s[1],l=s[2];i=" "===l[0],r+=o+(a||i||""===l?"":` `)+T(l,t),a=i}return r}(t,c),o));case 5:return'"'+function(e){for(var t,i="",r=0,a=0;a=65536?a+=2:a++)!(t=l[r=y(e,a)])&&g(r)?(i+=e[a],r>=65536&&(i+=e[a+1])):i+=t||function(e){var t,i,r;if(t=e.toString(16).toUpperCase(),e<=255)i="x",r=2;else if(e<=65535)i="u",r=4;else if(e<=0xffffffff)i="U",r=8;else throw new n("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+i+s.repeat("0",r-t.length)+t}(r);return i}(t,c)+'"';default:throw new n("impossible error: invalid scalar style")}}()}(e,e.dump,t,c,M);else{if("[object Undefined]"===D||e.skipInvalid)return!1;throw new n("unacceptable kind of an object to dump "+D)}null!==e.tag&&"?"!==e.tag&&(x=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21"),x="!"===e.tag[0]?"!"+x:"tag:yaml.org,2002:"===x.slice(0,18)?"!!"+x.slice(18):"!<"+x+">",e.dump=x+" "+e.dump)}return!0}e.exports.dump=function(e,t){var i=new c(t=t||{});i.noRefs||function(e,t){var i,s,n=[],r=[];for(function e(t,i,s){var n,r,a;if(null!==t&&"object"==typeof t)if(-1!==(r=i.indexOf(t)))-1===s.indexOf(r)&&s.push(r);else if(i.push(t),Array.isArray(t))for(r=0,a=t.length;r{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(24698),n=i(66530),r=i(58295),a=i(96675),o=i(11811),l=i(79166),u=i(45824),d=i(57364),c=i(9348),p=i(55888);class h extends s.default{notificationLevelId=null;static #e=(()=>dt7948.g(this.prototype,"disabled",[(0,r.empty)("notificationLevelId")]))();#a1=(()=>void dt7948.i(this,"disabled"))();get notificationLevels(){return u.topicLevels.map(e=>({id:e.id.toString(),name:(0,d.i18n)(`topic.notifications.${e.key}.title`),description:(0,d.i18n)(`topic.notifications.${e.key}.description`)}))}changeNotificationLevel(){this.args.performAndRefresh({type:"change_notification_level",notification_level_id:this.notificationLevelId})}static #i=(()=>dt7948.n(this.prototype,"changeNotificationLevel",[n.action]))();static #n=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"arrDLxJy",block:'[[[1,"\\n "],[10,0],[14,0,"bulk-notification-list"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["notificationLevels"]]],null]],null],null,[[[1," "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[10,"label"],[14,0,"radio notification-level-radio checkbox-label"],[12],[1,"\\n "],[8,[32,0],null,[["@value","@name","@selection"],[[30,1,["id"]],"notification_level",[30,0,["notificationLevelId"]]]],null],[1,"\\n "],[10,"strong"],[12],[1,[30,1,["name"]]],[13],[1,"\\n "],[10,0],[14,0,"description"],[12],[1,[28,[32,1],[[30,1,["description"]]],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,2],null,[["@disabled","@action","@label"],[[30,0,["disabled"]],[30,0,["changeNotificationLevel"]],"topics.bulk.change_notification_level"]],null],[1,"\\n "]],["level"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/bulk-actions/notification-level.js",scope:()=>[l.default,a.htmlSafe,o.default],isStrictMode:!0}),this))()}},22506:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(24698),n=i(66530),r=i(90098),a=i(19856),o=i(13975),l=i(57364),u=i(9348),d=i(55888);let c=(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 #i=(()=>(0,u.setComponentTemplate)((0,d.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))()})},22565:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{fetchUnseenMentions:()=>f,linkSeenMentions:()=>g,resetMentions:()=>h});var n=i(20559),r=i(18965),a=i(86232),o=i(34057);let l={},u={},d={},c={},p={};function h(){l={},u={},d={},c={},p={},s=null}function m(e,t,i){let n=document.createElement("a");i.group?(n.href=(0,r.default)(`/g/${t}`),n.innerText=`@${t}`,n.classList.add("mention-group"),!i.reason&&i.details&&(n.dataset.mentionableUserCount=i.details.user_count,n.dataset.maxMentions=s)):(n.href=(0,a.userPath)(t.toLowerCase()),n.innerText=`@${(0,o.formatUsername)(t)}`,n.classList.add("mention")),n.dataset.name=t,i.reason&&(n.dataset.reason=i.reason,i.details&&(n.dataset.notifiedUserCount=i.details.notified_count)),e.replaceWith(n)}function g(e,t){let i=[...e.querySelectorAll("span.mention:not(.mention-tested)")];if(0===i.length)return[];let s=i.map(e=>e.innerText.slice(1));return!function(e,t){e.forEach((e,i)=>{let s=t[i];u[s.toLowerCase()]?m(e,s,{reason:d[s]}):c[s]?m(e,s,{group:!0,details:c[s],reason:p[s]}):l[s]&&e.classList.add("mention-tested")})}(i,s),s.uniq().filter(e=>!l[e]&&e.length>=t.min_username_length)}async function f(e){let{names:t,topicId:i,allowedNames:r}=e,a=await (0,n.ajax)("/composer/mentions",{data:{names:t,topic_id:i,allowed_names:r}});return t.forEach(e=>l[e]=!0),a.users.forEach(e=>u[e]=!0),Object.entries(a.user_reasons).forEach(e=>{let[t,i]=e;return d[t]=i}),Object.entries(a.groups).forEach(e=>{let[t,i]=e;return c[t]=i}),Object.entries(a.group_reasons).forEach(e=>{let[t,i]=e;return p[t]=i}),s=a.max_users_notified_per_group_mention,a}},22624:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(45916),n=i(13744),r=i(34057),a=i(52327),o=i(65677),l=i(57364);let u=class extends o.default{static #e=(()=>dt7948.g(this.prototype,"composer",[n.service]))();#t4=(()=>void dt7948.i(this,"composer"))();static #i=(()=>dt7948.g(this.prototype,"dialog",[n.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #n=(()=>dt7948.g(this.prototype,"router",[n.service]))();#tH=(()=>void dt7948.i(this,"router"))();beforeModel(e){if(!this.currentUser)return void e.send("showLogin");let{queryParams:t}=e.to;if(e.from){e.abort(),this.#a0(t);return}this.router.replaceWith(`discovery.${(0,r.defaultHomepage)()}`).followRedirects().then(()=>this.#a0(t))}#a3(e){let{title:t,body:i}=e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,s.next)(()=>this.composer.openNewMessage({recipients:n,title:t,body:i}))}#a0(e){let t=e.username,i=e.groupname||e.group_name;return t?void this.#a3(e,t):i?void a.default.messageable(i).then(t=>{let{messageable:s}=t;s?this.#a3(e,i):this.dialog.alert((0,l.i18n)("composer.cant_send_pm",{username:i}))}).catch(()=>this.dialog.alert((0,l.i18n)("composer.create_message_error"))):void this.#a3(e)}}},22653:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698),n=i(13744),r=i(96675),a=i(62112),o=i(18965),l=i(60882),u=i(57364),d=i(9348),c=i(55888);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"pmTopicTrackingState",[n.service]))();#a2=(()=>void dt7948.i(this,"pmTopicTrackingState"))();static #n=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();static #a=(()=>dt7948.g(this.prototype,"topicTrackingState",[n.service]))();#nc=(()=>void dt7948.i(this,"topicTrackingState"))();groupLink(e){return`${(0,l.iconHTML)("users")} ${e}`}get privateMessageBrowseMoreMessage(){let e=this.args.topic.get("suggested_group_name"),t=e?"group":"user",i=this.pmTopicTrackingState.lookupCount("unread",{inboxFilter:t,groupName:e}),s=this.pmTopicTrackingState.lookupCount("new",{inboxFilter:t,groupName:e});if(i+s>0){let t=i>0&&s>0;return e?u.default.messageFormat("user.messages.read_more_group_pm_MF",{HAS_UNREAD_AND_NEW:t,UNREAD:i,NEW:s,username:this.currentUser.username,groupName:e,groupLink:this.groupLink(e),basePath:(0,o.default)("")}):u.default.messageFormat("user.messages.read_more_personal_pm_MF",{HAS_UNREAD_AND_NEW:t,UNREAD:i,NEW:s,username:this.currentUser.username,basePath:(0,o.default)("")})}return e?(0,u.i18n)("user.messages.read_more_in_group",{groupLink:this.groupLink(e)}):(0,u.i18n)("user.messages.read_more",{basePath:(0,o.default)(""),username:this.currentUser.username})}get topicBrowseMoreMessage(){let e=this.args.topic.get("category");e&&e.id===this.site.uncategorized_category_id&&(e=null);let t=0,i=0;return(this.currentUser&&(t=this.topicTrackingState.countUnread(),i=this.topicTrackingState.countNew()),i+t>0)?u.default.messageFormat("topic.read_more_MF",{HAS_UNREAD_AND_NEW:t>0&&i>0,UNREAD:t,NEW:i,HAS_CATEGORY:!!e,categoryLink:e?(0,a.categoryBadgeHTML)(e):null,basePath:(0,o.default)("")}):e?(0,u.i18n)("topic.read_more_in_category",{categoryLink:(0,a.categoryBadgeHTML)(e),latestLink:(0,o.default)("/latest")}):(0,u.i18n)("topic.read_more",{categoryLink:(0,o.default)("/categories"),latestLink:(0,o.default)("/latest")})}static #l=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"xS5DWdKU",block:'[[[1,"\\n "],[10,"h3"],[14,0,"more-topics__browse-more"],[12],[1,"\\n"],[41,[30,1,["isPrivateMessage"]],[[[1," "],[1,[28,[32,0],[[30,0,["privateMessageBrowseMoreMessage"]]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],[[30,0,["topicBrowseMoreMessage"]]],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@topic"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/more-topics/browse-more.js",scope:()=>[r.htmlSafe],isStrictMode:!0}),this))()}},22668: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,d=[],c=0,p=null,h=0,m=0,g=function(){for(var e,t=["","webkit","ms","moz"],i=0;i=0&&i0&&(c--,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(),c=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?d=!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(d)i=e.minPollInterval;else if(l>2)i=Math.min(e.callbackInterval*l,e.maxPollInterval);else if(o&&u)i=e.minPollInterval;else{var c=o?e.callbackInterval:e.backgroundCallbackInterval,h=new Date-s;(i=c-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(d),d=[]},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}}})},22710:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});let s={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},n=/[&<>"'`]/g,r=/[&<>"'`]/;function a(e){return s[e]}function o(e){return null===e?"":e?(e=""+e,r.test(e))?e.replace(n,a):e:e+""}},22715:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{asyncEnd:()=>l,asyncStart:()=>o,getAdapter:()=>r,setAdapter:()=>a});var n=i(53855);function r(){return s}function a(e){s=e,e&&"function"==typeof e.exception?(0,n.setDispatchOverride)(u):(0,n.setDispatchOverride)(null)}function o(){s&&s.asyncStart()}function l(){s&&s.asyncEnd()}function u(e){s.exception(e),console.error(e.stack)}},22890:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(96675),n=i(90098),r=i(90831),a=i(30506),o=i(11811),l=i(53078),u=i(39271),d=i(89696),c=i(79401),p=i(71773),h=i(46386),m=i(3365),g=i(57364),f=i(46337),_=i(9348),y=i(55888),b=i(74975);let w=(0,n.default)((0,_.setComponentTemplate)((0,y.createTemplateFactory)({id:"yntMWmZY",block:'[[[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["before-group-container","div",[28,[32,1],null,[["group"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,["container group group-",[30,1,["model","name"]]]]],[12],[1,"\\n"],[41,[30,1,["showTooltip"]],[[[1," "],[10,0],[14,0,"group-delete-tooltip"],[12],[1,"\\n "],[10,2],[12],[1,[28,[32,2],["admin.groups.delete_automatic_group"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"group-details-container"],[12],[1,"\\n "],[10,0],[14,0,"group-info"],[12],[1,"\\n"],[41,[28,[32,3],[[30,1,["model","flair_icon"]],[30,1,["model","flair_url"]],[30,1,["model","flair_bg_color"]]],null],[[[1," "],[10,0],[14,0,"group-avatar-flair"],[12],[1,"\\n "],[8,[32,4],null,[["@flairName","@flairUrl","@flairBgColor","@flairColor"],[[30,1,["model","name"]],[28,[32,3],[[30,1,["model","flair_icon"]],[30,1,["model","flair_url"]]],null],[30,1,["model","flair_bg_color"]],[30,1,["model","flair_color"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"group-info-names"],[12],[1,"\\n "],[8,[32,5],null,[["@group"],[[30,1,["model"]]]],null],[1,"\\n\\n"],[41,[28,[32,6],[[30,1,["canManageGroup"]],[30,1,["model","automatic"]]],null],[[[1," "],[8,[32,7],[[24,0,"group-automatic-tooltip"]],null,[["trigger","content"],[[[[1,"\\n "],[1,[28,[32,8],["gear"],null]],[1,"\\n "],[1,[28,[32,2],["admin.groups.manage.membership.automatic"],null]],[1,"\\n "]],[]],[[[1,"\\n "],[1,[28,[32,2],["admin.groups.manage.membership.automatic_tooltip"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,0],[14,0,"group-details-button"],[12],[1,"\\n "],[8,[32,9],null,[["@tagName","@model","@showLogin"],["",[30,1,["model"]],[28,[32,10],["showLogin"],null]]],null],[1,"\\n\\n"],[41,[30,1,["currentUser","admin"]],[[[41,[30,1,["model","automatic"]],[[[1," "],[8,[32,11],[[24,0,"btn-default"]],[["@action","@icon","@label"],[[30,1,["toggleDeleteTooltip"]],"circle-question","admin.groups.delete"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,11],[[24,0,"btn-danger"]],[["@action","@disabled","@icon","@label"],[[30,1,["destroyGroup"]],[30,1,["destroying"]],"trash-can","admin.groups.delete"]],null],[1,"\\n"]],[]]]],[]],null],[1,"\\n"],[41,[30,1,["displayGroupMessageButton"]],[[[1," "],[8,[32,11],[[24,0,"btn-primary group-message-button"]],[["@action","@icon","@label"],[[30,1,["messageGroup"]],"envelope","groups.message"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["group-details-after","div",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["model","bio_cooked"]],[[[1," "],[10,0],[14,0,"group-bio"],[12],[1,"\\n "],[1,[28,[32,12],[[30,1,["model","bio_cooked"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"user-content-wrapper"],[12],[1,"\\n "],[10,"section"],[14,0,"user-primary-navigation"],[12],[1,"\\n "],[8,[32,13],null,[["@group","@currentPath","@tabs"],[[30,1,["model"]],[30,1,["currentPath"]],[30,1,["tabs"]]]],null],[1,"\\n "],[13],[1,"\\n "],[46,[28,[31,2],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,["if","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group.js",scope:()=>[c.default,h.default,g.i18n,r.or,a.default,l.default,r.and,f.default,p.default,u.default,m.default,o.default,s.htmlSafe,d.default],isStrictMode:!0}),(0,b.default)(void 0,void 0)))},22920:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(13744),n=i(65677),r=i(57364);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>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)}}},23042:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(66469),n=i(2263);let r={after:"hashtag-css-generator",initialize(e){let t=e.lookup("service:site");(0,n.withPluginApi)(e=>{e.decorateCookedElement(e=>(0,s.decorateHashtags)(e,t))})}}},23048:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(96675),n=i(60882),r=i(57364);function a(e){let t="";e.icon&&(t+=(0,n.iconHTML)(e.icon));let i=e.labelKey||`directory.${e.field}`;return t+=e.translated?e.field:(0,r.i18n)(i+"_long",{defaultValue:(0,r.i18n)(i)}),(0,s.htmlSafe)(t)}},23064:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(24698),n=i(40779),r=i(4089),a=i(13744),o=i(96675),l=i(90831),u=i(42179),d=i(42724),c=i(68269),p=i(47711);i(6827);var h=i(57364),m=i(51719),g=i(9348),f=i(55888);let _=["new","edit"];class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"router",[a.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #n=(()=>dt7948.g(this.prototype,"shouldDisplay",[n.tracked],function(){return!0}))();#a8=(()=>void dt7948.i(this,"shouldDisplay"))();constructor(){super(...arguments),this.router.on("routeDidChange",this,this.#a4),this.#a4()}willDestroy(){super.willDestroy(...arguments),this.router.off("routeDidChange",this,this.#a4)}#a4(){if(void 0!==this.args.shouldDisplay)return this.shouldDisplay=this.args.shouldDisplay;let e=this.router._router.currentPath;if(!e)return this.shouldDisplay=!0;let t=e.split(".");this.shouldDisplay=!t.includes("admin")||!_.find(e=>t.includes(e))}static #a=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"zmlNMGQ+",block:'[[[1,"\\n"],[41,[30,0,["shouldDisplay"]],[[[1," "],[10,0],[14,0,"d-page-header"],[12],[1,"\\n"],[41,[48,[30,8]],[[[1," "],[10,0],[14,0,"d-page-header__breadcrumbs"],[12],[1,"\\n "],[8,[32,0],null,null,null],[1,"\\n "],[18,8,null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,1],[[30,1],[48,[30,9]],[30,2]],null],[[[1," "],[10,0],[14,0,"d-page-header__title-row"],[12],[1,"\\n"],[41,[30,1],[[[1," "],[10,"h1"],[14,0,"d-page-header__title"],[12],[1,[30,1]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,1],[[48,[30,9]],[30,2]],null],[[[1," "],[10,0],[14,0,"d-page-header__actions"],[12],[1,"\\n"],[41,[30,0,["site","mobileView"]],[[[1," "],[8,[32,2],[[24,0,"btn-small"]],[["@identifier","@title","@icon"],["d-page-header-mobile-actions",[28,[32,3],["more_options"],null],"ellipsis-vertical"]],[["content"],[[[[1,"\\n "],[8,[32,4],[[24,0,"d-page-header__mobile-actions"]],null,[["default"],[[[[1,"\\n"],[44,[[28,[32,5],null,[["Primary","Default","Danger","Wrapped"],[[32,6],[32,6],[32,7],[32,8]]]]],[[[41,[48,[30,9]],[[[1," "],[18,9,[[30,3]]],[1,"\\n"]],[]],[[[1," "],[8,[30,2],null,[["@actions"],[[30,3]]],null],[1,"\\n"]],[]]]],[3]]],[1," "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[44,[[28,[32,5],null,[["Primary","Default","Danger","Wrapped"],[[32,9],[32,10],[32,11],[32,12]]]]],[[[41,[48,[30,9]],[[[1," "],[18,9,[[30,4]]],[1,"\\n"]],[]],[[[1," "],[8,[30,2],null,[["@actions"],[[30,4]]],null],[1,"\\n"]],[]]]],[4]]]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,5],[[[1," "],[10,2],[14,0,"d-page-header__description"],[12],[1,"\\n "],[1,[28,[32,13],[[30,5]],null]],[1,"\\n"],[41,[30,6],[[[1," "],[10,1],[14,0,"d-page-header__learn-more"],[12],[1,[28,[32,13],[[28,[32,3],["learn_more_with_link"],[["url"],[[30,6]]]]],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,7]],[[[1," "],[10,0],[14,0,"d-nav-submenu"],[12],[1,"\\n "],[8,[32,14],[[24,0,"d-nav-submenu__tabs"]],null,[["default"],[[[[1,"\\n "],[18,10,null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["@titleLabel","@headerActionComponent","actions","actions","@descriptionLabel","@learnMoreUrl","@hideTabs","&breadcrumbs","&actions","&tabs"],false,["if","has-block","yield","let","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-page-header.js",scope:()=>[u.default,l.or,m.default,h.i18n,c.default,r.hash,d.DefaultActionListItem,d.DangerActionListItem,d.WrappedActionListItem,d.PrimaryButton,d.DefaultButton,d.DangerButton,d.WrappedButton,o.htmlSafe,p.default],isStrictMode:!0}),this))()}},23145:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(90098),n=i(57364),r=i(9348),a=i(55888),o=i(74975);let l=(0,s.default)((0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"GW0zdNrd",block:'[[[1,"\\n "],[10,2],[14,0,"user-profile-hidden"],[12],[1,[28,[32,0],["user.profile_hidden"],null]],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user/profile-hidden.js",scope:()=>[n.i18n],isStrictMode:!0}),(0,o.default)(void 0,void 0)))},23171:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(13744),n=i(65677),r=i(57364);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();model(){let e=this.modelFor("user");return e.get("profile_hidden")?this.router.replaceWith("user.profile-hidden"):e}setupController(e,t){this.controllerFor("user-activity").set("model",t)}titleToken(){return(0,r.i18n)("user.activity_stream")}}},23197:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(81845),n=i(66530),r=i(20559),a=i(72172),o=i(6827),l=i(57364);class u extends s.default{saving=!1;saved=!1;save(){let e={};this.scoreTypes.forEach(t=>{e[t.id]=parseFloat(t.reviewable_priority)}),this.set("saving",!0),(0,r.ajax)("/review/settings",{type:"PUT",data:{reviewable_priorities:e}}).then(()=>{this.set("saved",!0)}).catch(a.popupAjaxError).finally(()=>this.set("saving",!1))}static #e=(()=>dt7948.n(this.prototype,"save",[n.action]))();scoreTypes(e){let t=(0,l.i18n)("review.example_username");return e.map(e=>({...e,title:e.title.replace("%{username}",t)}))}static #i=(()=>dt7948.n(this.prototype,"scoreTypes",[(0,o.default)("settings.reviewable_score_types")]))()}},23231:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>S});var s=i(24698),n=i(40779),r=i(4089),a=i(58452),o=i(66530),l=i(13744),u=i(75054),d=i(11811),c=i(51031),p=i(79401),h=i(29755),m=i(59555),g=i(48972),f=i(89361),_=i(71773),y=i(46386),b=i(2581),w=i(57364),k=i(9348),T=i(55888);class S extends s.default{static #e=(()=>dt7948.g(this.prototype,"modal",[l.service]))();#tq=(()=>void dt7948.i(this,"modal"))();static #i=(()=>dt7948.g(this.prototype,"isCollapsed",[n.tracked],function(){return!1}))();#se=(()=>void dt7948.i(this,"isCollapsed"))();static #n=(()=>dt7948.g(this.prototype,"isLongPost",[n.tracked],function(){return!1}))();#st=(()=>void dt7948.i(this,"isLongPost"))();static #a=(()=>dt7948.g(this.prototype,"postBodyHeight",[n.tracked],function(){return 0}))();#si=(()=>void dt7948.i(this,"postBodyHeight"))();maxPostHeight=300;showRawEmail(e){e?.preventDefault(),this.modal.show(c.default,{model:{rawEmail:this.args.reviewable.payload.raw_email}})}static #l=(()=>dt7948.n(this.prototype,"showRawEmail",[o.action]))();toggleContent(){this.isCollapsed=!this.isCollapsed}static #d=(()=>dt7948.n(this.prototype,"toggleContent",[o.action]))();get collapseButtonProps(){return this.isCollapsed?{label:"review.show_more",icon:"chevron-down"}:{label:"review.show_less",icon:"chevron-up"}}setPostBodyHeight(e){this.postBodyHeight=e,this.postBodyHeight>this.maxPostHeight?(this.isCollapsed=!0,this.isLongPost=!0):(this.isCollapsed=!1,this.isLongPost=!1)}static #p=(()=>dt7948.n(this.prototype,"setPostBodyHeight",[o.action]))();static #m=(()=>(0,k.setComponentTemplate)((0,T.createTemplateFactory)({id:"MY06hvc4",block:'[[[1,"\\n "],[10,0],[14,0,"review-item__meta-content"],[12],[1,"\\n "],[10,0],[14,0,"review-item__meta-label"],[12],[1,[28,[32,0],["review.new_topic_label"],null]],[13],[1,"\\n\\n "],[10,0],[14,0,"review-item__meta-topic-title"],[12],[1,"\\n "],[8,[32,1],null,[["@reviewable","@tagName"],[[30,1],""]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"title-text"],[12],[1,"\\n "],[1,[28,[32,2],["square-plus"],[["title"],["review.new_topic"]]]],[1,"\\n "],[1,[28,[32,3],[[30,1,["payload","title"]],[30,1]],null]],[1,"\\n "],[13],[1,"\\n "],[1,[28,[32,4],[[30,1,["category"]]],null]],[1,"\\n "],[8,[32,5],null,[["@tags","@tagName"],[[30,1,["payload","tags"]],""]],null],[1,"\\n"],[41,[30,1,["payload","via_email"]],[[[1," "],[11,3],[24,6,""],[24,0,"show-raw-email"],[4,[32,6],["click",[30,0,["showRawEmail"]]],null],[12],[1,"\\n "],[1,[28,[32,2],["envelope"],[["title"],["post.via_email"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"review-item__meta-label"],[12],[1,[28,[32,0],["review.queued_user"],null]],[13],[1,"\\n\\n "],[10,0],[14,0,"review-item__meta-flagged-user"],[12],[1,"\\n "],[8,[32,7],null,[["@user"],[[30,1,["target_created_by"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"review-item__post"],[12],[1,"\\n "],[10,0],[14,0,"review-item__post-content"],[12],[1,"\\n "],[8,[32,8],[[16,0,[29,["post-body",[52,[30,0,["isCollapsed"]]," is-collapsed"]]]]],[["@rawText","@categoryId","@topicId","@paintOneboxes","@opts","@onOffsetHeightCalculated"],[[28,[32,3],[[30,1,["payload","raw"]],[30,1]],null],[30,1,["category_id"]],[30,1,["topic_id"]],true,[28,[32,9],null,[["removeMissing"],[true]]],[30,0,["setPostBodyHeight"]]]],null],[1,"\\n\\n"],[41,[30,0,["isLongPost"]],[[[1," "],[8,[32,10],[[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,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,11],null,[["@name","@connectorTagName","@outletArgs"],["after-reviewable-queued-post-body","div",[28,[32,12],null,[["model"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n\\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-refresh/queued-post.js",scope:()=>[w.i18n,m.default,_.default,b.default,f.default,g.default,a.on,h.default,u.default,r.hash,d.default,p.default,y.default],isStrictMode:!0}),this))()}},23252:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698);i(40779);var n=i(79401),r=i(1057),a=i(53710),o=i(22106),l=i(71773),u=i(46386),d=i(46566),c=i(9348),p=i(55888);let h=(0,i(69853).A)(i(40779)).cached;class m extends s.default{get user(){let e=this.args.post.user;if(!e)return null;let t=(0,d.applyValueTransformer)("post-avatar-template",e.avatar_template,this.#a7(e));return t!==e.avatar_template?new Proxy(e,{get:(e,i)=>"avatar_template"===i?t:e[i]}):e}static #e=(()=>dt7948.n(this.prototype,"user",[h]))();get size(){return(0,d.applyValueTransformer)("post-avatar-size",this.args.size||"large",this.#a7())}get userWasDeleted(){return!this.args.post.user}get additionalClasses(){return(0,d.applyValueTransformer)("post-avatar-class",[],this.#a7())}#a7(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.user;return{decoratorState:this.args.decoratorState,keyboardSelected:this.args.keyboardSelected,post:this.args.post,user:e,userWasDeleted:this.userWasDeleted}}static #i=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"+ypWW5aT",block:'[[[1,"\\n "],[10,0],[15,0,[28,[32,0],["topic-avatar",[30,0,["additionalClasses"]]],null]],[12],[1,"\\n"],[44,[[28,[32,1],null,[["post","size","user","userWasDeleted"],[[30,1],[30,0,["size"]],[30,0,["user"]],[30,0,["userWasDeleted"]]]]]],[[[1," "],[8,[32,2],null,[["@name","@outletArgs"],["post-avatar",[30,2]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"post-avatar"],[12],[1,"\\n"],[41,[30,0,["userWasDeleted"]],[[[1," "],[1,[28,[32,3],["trash-can"],[["class"],["deleted-user-avatar"]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,4],[[24,0,"main-avatar"],[24,"tabindex","-1"]],[["@hideTitle","@lazy","@size","@user"],[true,true,[30,0,["size"]],[30,0,["user"]]]],null],[1,"\\n "],[8,[32,2],null,[["@name","@outletArgs"],["post-avatar-flair",[30,2]]],[["default"],[[[[1,"\\n "],[8,[32,5],null,[["@user"],[[30,0,["user"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[41,[30,3],[[[1," "],[10,0],[14,0,"post-avatar-user-info"],[12],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[2]]],[1," "],[13],[1,"\\n "]],["@post","avatarOutletArgs","@displayPosterName"],false,["let","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/avatar.js",scope:()=>[o.default,u.default,n.default,l.default,r.default,a.default],isStrictMode:!0}),this))()}},23254:(e,t,i)=>{"use strict";function s(e,t){let i=!1;try{document.queryCommandSupported("copy")&&(i=!0)}catch{}if(!i)return;let s=document.createRange();s.selectNode(t);let n=window.getSelection();n.removeAllRanges(),n.addRange(s);try{if(document.execCommand("copy"))return!0}catch{}return!1}i.r(t),i.d(t,{default:()=>s})},23260:(e,t,i)=>{"use strict";let s,n;i.r(t),i.d(t,{_warnIfUsingStrippedFeatureFlags:()=>n,assert:()=>l.assert,captureRenderTree:()=>d.default,debug:()=>m,debugFreeze:()=>f,debugSeal:()=>g,deprecate:()=>k,deprecateFunc:()=>w,getDebugFunction:()=>b,info:()=>p,inspect:()=>u.default,isTesting:()=>a.isTesting,registerDeprecationHandler:()=>r.registerHandler,registerWarnHandler:()=>o.registerHandler,runInDebug:()=>_,setDebugFunction:()=>y,setTesting:()=>a.setTesting,warn:()=>h}),i(87042);var r=i(39359),a=i(9e3),o=i(37490),l=i(4104),u=i(77084),d=i(37924);let c=()=>{},p=c,h=c,m=c,g=c,f=c,_=c,y=c,b=c,w=function(){return arguments[arguments.length-1]};function k(){return(s??r.default)(...arguments)}},23286:(e,t,i)=>{"use strict";i.r(t),i.d(t,{EventTarget:()=>s.E,Promise:()=>s.P,all:()=>s.e,allSettled:()=>s.f,asap:()=>s.b,async:()=>s.q,cast:()=>s.d,configure:()=>s.c,default:()=>s.a,defer:()=>s.j,denodeify:()=>s.k,filter:()=>s.s,hash:()=>s.h,hashSettled:()=>s.g,map:()=>s.p,off:()=>s.l,on:()=>s.o,race:()=>s.r,reject:()=>s.n,resolve:()=>s.m,rethrow:()=>s.i});var s=i(93579)},23338:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(66530),n=i(36768),r=i(13744),a=i(25692),o=i.n(a),l=i(55259);class u{static #e=(()=>dt7948.g(this.prototype,"site",[r.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"toasts",[r.service]))();#t3=(()=>void dt7948.i(this,"toasts"))();options=null;id=(()=>o()())();constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.setOwner)(this,e),this.options={...l.TOAST.options,...t}}close(){this.toasts.close(this)}static #n=(()=>dt7948.n(this.prototype,"close",[s.action]))();get isValidForView(){return this.options.views.includes(this.site.desktopView?"desktop":"mobile")}}},23342:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(9348),n=i(79401),r=i(15294),a=i(46386),o=i(57364),l=i(55888);class u extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"xR7y0/gE",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["category-name-fields-details",[28,[32,1],null,[["category"],[[30,0,["category"]]]]]]],[["default"],[[[[1,"\\n "],[10,"section"],[14,0,"field category-name-fields"],[12],[1,"\\n"],[41,[51,[30,0,["category","isUncategorizedCategory"]]],[[[1," "],[10,"section"],[14,0,"field-item"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,2],["category.name"],null]],[13],[1,"\\n "],[8,[32,3],[[24,0,"category-name"]],[["@value","@placeholderKey","@maxlength"],[[30,0,["category","name"]],"category.name_placeholder","50"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,"section"],[14,0,"field-item"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,2],["category.slug"],null]],[13],[1,"\\n "],[8,[32,3],null,[["@value","@placeholderKey","@maxlength"],[[30,0,["category","slug"]],"category.slug_placeholder","255"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[],false,["unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/category-name-fields.js",scope:()=>[n.default,a.default,o.i18n,r.default],isStrictMode:!0}),this))()}},23344: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,{POST_STREAM_DEPRECATION_OPTIONS:()=>_,WIDGET_DEPRECATION_OPTIONS:()=>f,applyDecorators:()=>C,changeSetting:()=>M,createWidget:()=>E,createWidgetFrom:()=>x,decorateWidget:()=>S,default:()=>P,deleteFromRegistry:()=>k,queryRegistry:()=>w,reopenWidget:()=>L,resetDecorators:()=>A,traverseCustomWidgets:()=>function e(t,i){t&&("CustomWidget"===t.__type&&i(t),(t.children||(t.vnode?t.vnode.children:[])).forEach(t=>{e(t,i)}))},warnWidgetsDeprecation:()=>y});var s=i(66530),n=i(36768),r=i(86726),a=i(23286),o=i(21371),l=i(43952),u=i(99148),d=i(55751),c=i(8106),p=i(79422),h=i(40431),m=i(21203),g=i(57364);let f={since:"v3.5.0.beta8-dev",id:"discourse.widgets-end-of-life",url:"https://meta.discourse.org/t/375332/1"},_={since:"v3.5.0.beta1-dev",id:"discourse.post-stream-widget-overrides",url:"https://meta.discourse.org/t/372063/1"};function y(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(t||(0,p.consolePrefix)())&&!(0,l.isDeprecationSilenced)(_.id)&&(0,l.default)(e,f)}let b={};function w(e){return b[e]}function k(e){return delete b[e]}let T={};function S(e,t){let i=e.split(":")[0];b[i]||console.error((0,p.consolePrefix)(),`decorateWidget: Could not find widget '${i}' in registry`),T[e]??=[],T[e].push(t)}function C(e,t,i,s){let n=T[`${e.name}:${t}`]||[];if(n.length){let t=new h.default(e,i,s);return n.map(e=>e(t))}return[]}function A(){Object.keys(T).forEach(e=>delete T[e])}let D={};function M(e,t,i){D[e]=D[e]||{},D[e][t]=i}function x(e,t,i){let s=class extends e{};return s.prototype.__type="CustomWidget",t&&(b[t]=s),i.name=t,i.template&&(i.html=i.template),Object.keys(i).forEach(e=>s.prototype[e]=i[e]),s}function E(e,t){return(0,d.getOwnerWithFallback)(this)?.lookup("service:site-settings")?.deactivate_widgets_rendering?void y(`Widgets are deactivated and can't be created. Your site may not work properly. Affected widget: ${e}.`):(y(`Using \`api.createWidget\` is deprecated and will soon stop working. Use Glimmer components instead. Affected widget: ${e}.`),x(P,e,t))}function L(e,t){let i=b[e];return i?(t.template&&(t.html=t.template),Object.keys(t).forEach(e=>{let s=i.prototype[e];s instanceof Function?i.prototype[e]=function(){var i=this;let n=Object.create(this);n._super=function(){for(var e=arguments.length,t=Array(e),n=0;n{this[(0,r.camelize)(e)]=t.lookup(`service:${e}`)}),this.init(this.attrs),this.name){let e=D[this.name];e&&Object.keys(e).forEach(t=>this.settings[t]=e[t])}}init(){}transform(){return{}}defaultState(){return{}}destroy(){}get(e){return(0,s.get)(this,e)}render(e){let{dirtyKeys:t}=this;if(e&&e.key&&e.key===this.key)this.state=e.state;else if(this.state=this.defaultState(this.attrs,this.state),!(0,u.isProduction)()){if("object"!=typeof this.state)throw Error("defaultState must return an object");else if(Object.keys(this.state).length>0&&!this.key)throw Error(`you need a key when using state in ${this.name}`)}if(this.mergeState&&(this.state=(0,c.deepMerge)(this.state,this.mergeState)),e){let i=t.optionsFor(e.key);if(e.shadowTree&&(this.shadowTree=!0,!i.dirty&&!t.allDirty()))return e.vnode;e.key&&t.renderedKey(e.key);let s=i.onRefresh;s&&this.sendWidgetAction(s,i.refreshArg)}return this.draw(o.h,this.attrs,this.state)}_findAncestorWithProperty(e){let t=this;for(;t;){if(t[e])return t;t=t.parentWidget}}_findView(){let e=this._findAncestorWithProperty("_emberView");if(e)return e._emberView}lookupWidgetClass(e){let t=b[e];return t||(this.register?(t=this.register.lookupFactory(`widget:${e}`))&&t.class?t.class:null:(console.error("couldn't find register"),null))}attach(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=this.lookupWidgetClass(e);if(!n&&s.fallbackWidgetName&&(n=this.lookupWidgetClass(s.fallbackWidgetName)),n){let e=new n(t,this.register,i);return e.parentWidget=this,e.dirtyKeys=this.dirtyKeys,s.tagName&&(e.tagName=s.tagName),e}throw Error(`Couldn't find ${e} or fallback ${s.fallbackWidgetName}`)}didRenderWidget(){}willRerenderWidget(){}scheduleRerender(){let e=this;for(;e;){e.shadowTree&&this.dirtyKeys.keyDirty(e.key);let t=e._rerenderable;if(t)return t.queueRerender();e=e.parentWidget}}_sendComponentAction(e,t){let i,s=this._findView();if(s){let n;if("function"==typeof e)n=e;else if(!(n=s.get(e)))return void console.warn(`${e} not found`);if("string"==typeof n)s[n](t),i=a.Promise.resolve();else{let e=s.get("target")||s;(i=n.call(e,t))&&i.then||(i=a.Promise.resolve(i))}}return this.rerenderResult(()=>i)}findAncestorModel(){let e=this._findAncestorWithProperty("model");if(e)return e.model}rerenderResult(e){this.scheduleRerender();let t=e();return t&&t.then?t.then(()=>this.scheduleRerender()):t}sendWidgetEvent(e,t){let i=`${e}Event`;return this.rerenderResult(()=>{let e=this._findAncestorWithProperty(i);if(e)return e[i](t)})}callWidgetFunction(e,t){let i=this._findAncestorWithProperty(e);if(i)return i[e].call(i,t)}sendWidgetAction(e,t){return this.rerenderResult(()=>{let i=this._findAncestorWithProperty(e);return i?i[e].call(i,t):this._sendComponentAction(e,t||this.findAncestorModel())})}html(){}draw(e,t,i){let s={};if(this.buildClasses){let e=this.buildClasses(t,i)||[];Array.isArray(e)||(e=[e]);let n=C(this,"classNames",t,i);n&&n.length&&(e=e.concat(n)),e.length&&(s.className=e.join(" "))}this.buildId&&(s.id=this.buildId(t)),this.buildAttributes&&(s.attributes=this.buildAttributes(t)),this.keyUp&&(s["widget-key-up"]=new m.WidgetKeyUpHook(this)),this.keyDown&&(s["widget-key-down"]=new m.WidgetKeyDownHook(this)),this.clickOutside&&(s["widget-click-outside"]=new m.WidgetClickOutsideHook(this)),this.click&&(s["widget-click"]=new m.WidgetClickHook(this)),this.doubleClick&&(s["widget-double-click"]=new m.WidgetDoubleClickHook(this)),this.mouseDownOutside&&(s["widget-mouse-down-outside"]=new m.WidgetMouseDownOutsideHook(this)),this.drag&&(s["widget-drag"]=new m.WidgetDragHook(this)),this.input&&(s["widget-input"]=new m.WidgetInputHook(this)),this.change&&(s["widget-change"]=new m.WidgetChangeHook(this)),this.mouseDown&&(s["widget-mouse-down"]=new m.WidgetMouseDownHook(this)),this.mouseUp&&(s["widget-mouse-up"]=new m.WidgetMouseUpHook(this)),this.mouseMove&&(s["widget-mouse-move"]=new m.WidgetMouseMoveHook(this)),this.mouseOver&&(s["widget-mouse-over"]=new m.WidgetMouseOverHook(this)),this.pointerOver&&(s["widget-pointer-over"]=new m.WidgetPointerOverHook(this)),this.pointerOut&&(s["widget-pointer-out"]=new m.WidgetPointerOutHook(this)),this.mouseOut&&(s["widget-mouse-out"]=new m.WidgetMouseOutHook(this)),this.touchStart&&(s["widget-touch-start"]=new m.WidgetTouchStartHook(this)),this.touchEnd&&(s["widget-touch-end"]=new m.WidgetTouchEndHook(this)),this.touchMove&&(s["widget-touch-move"]=new m.WidgetTouchMoveHook(this));let n=s.attributes||{};s.attributes=n,this.title&&("function"==typeof this.title?n.title=this.title(t,i):n.title=(0,g.i18n)(this.title)),this.transformed=this.transform(this.attrs,this.state);let r=this.html(t,i);if(this.name){let e=C(this,"before",t,i)||[],s=C(this,"after",t,i)||[];r=e.concat(r).concat(s)}return(0,o.h)(this.tagName||"div",s,r)}}P.prototype.type="Thunk"},23442:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(6827),n=i(52042),r=i(37288);class a extends r.default{permissionName(e){return e?e[0]===n.default.FULL?"public":e[0]===n.default.READONLY?"visible":"private":"public"}static #e=(()=>dt7948.n(this.prototype,"permissionName",[(0,s.default)("permissions")]))()}},23463:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(13744),n=i(65677);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();afterModel(){this.modelFor("user").get("can_edit")||this.router.replaceWith("userActivity")}}},23582:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(65677),n=i(57364);class r extends s.default{titleToken(){return(0,n.i18n)("groups.requests.title")}model(e){return this._params=e,this.modelFor("group")}setupController(e,t){this.controllerFor("group").set("showing","requests"),e.setProperties({model:t,filterInput:this._params.filter}),e.findRequesters(!0)}}},23599:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(9348),n=i(58295),r=i(13744),a=i(72825),o=i(30587),l=i.n(o),u=i(58219),d=i(90557),c=i(6827),p=i(57364),h=i(55888);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[r.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"loadingMore",[(0,n.alias)("topicList.loadingMore")]))();#a9=(()=>void dt7948.i(this,"loadingMore"))();static #n=(()=>dt7948.g(this.prototype,"loading",[(0,n.not)("loaded")]))();#ik=(()=>void dt7948.i(this,"loading"))();init(){super.init(...arguments);let e=this.topicList;e&&this._initFromTopicList(e)}loaded(){let e=this.topicList;return!e||e.get("loaded")}static #a=(()=>dt7948.n(this.prototype,"loaded",[(0,c.default)("topicList.loaded")]))();_topicListChanged(){this._initFromTopicList(this.topicList)}static #l=(()=>dt7948.n(this.prototype,"_topicListChanged",[(0,a.observes)("topicList.[]")]))();_initFromTopicList(e){null!==e&&(this.set("topics",e.get("topics")),this.rerender())}didInsertElement(){super.didInsertElement(...arguments),this.topics.forEach(e=>{void 0!==e.unread_by_group_member&&this.messageBus.subscribe(`/private-messages/unread-indicator/${e.id}`,this.onMessage)})}willDestroyElement(){super.willDestroyElement(...arguments),this.messageBus.unsubscribe("/private-messages/unread-indicator/*",this.onMessage)}onMessage(e){document.querySelector(`.indicator-topic-${e.topic_id}`).classList.toggle("read",!e.show_indicator)}static #d=(()=>dt7948.n(this.prototype,"onMessage",[c.bind]))();showUnreadIndicator(e){return e.some(e=>void 0!==e.unread_by_group_member)}static #p=(()=>dt7948.n(this.prototype,"showUnreadIndicator",[(0,c.default)("topics")]))();click(e){if(this.site.desktopView)return;let t=l()(e.target);if(t.closest(".posts-map").length){let e=t.closest("tr").attr("data-topic-id");if(e){if("A"!==t.prop("tagName")){let e=t.find("a");if(e.length)t=e;else{if(!(e=t.closest("a")).length)return!1;t=e}}let i=this.topics.findBy("id",parseInt(e,10));this.appEvents.trigger("topic-entrance:show",{topic:i,position:t.offset()})}return!1}}static #m=(()=>(0,s.setComponentTemplate)((0,h.createTemplateFactory)({id:"y1Rdvl5y",block:'[[[1,"\\n "],[8,[32,0],null,[["@condition"],[[30,0,["loading"]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["topics"]],[[[1," "],[8,[32,1],null,[["@showPosters","@hideCategory","@topics","@expandExcerpts","@bulkSelectHelper","@canBulkSelect","@tagsForUser","@changeSort","@order","@ascending","@focusLastVisitedTopic"],[[30,0,["showPosters"]],[30,0,["hideCategory"]],[30,0,["topics"]],[30,0,["expandExcerpts"]],[30,0,["bulkSelectHelper"]],[30,0,["canBulkSelect"]],[30,0,["tagsForUser"]],[30,0,["changeSort"]],[30,0,["order"]],[30,0,["ascending"]],[30,0,["focusLastVisitedTopic"]]]],null],[1,"\\n"]],[]],[[[41,[51,[30,0,["loadingMore"]]],[[[1," "],[10,0],[14,0,"alert alert-info"],[12],[1,"\\n "],[1,[28,[32,2],["choose_topic.none_found"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]]],[1," "]],[]]]]],[1,"\\n "]],[],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/basic-topic-list.js",scope:()=>[u.default,d.default,p.i18n],isStrictMode:!0}),this))()}},23611:(e,t,i)=>{"use strict";i.d(t,{B1:()=>P,C0:()=>m,DD:()=>n,Dz:()=>w,Jx:()=>u,LI:()=>o,PG:()=>f,RI:()=>l,Sg:()=>g,T9:()=>a,TV:()=>b,WJ:()=>T,_3:()=>h,aD:()=>S,bV:()=>E,jk:()=>r,lP:()=>x,nI:()=>L,qE:()=>p,r_:()=>s,sq:()=>_,w7:()=>k});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}),d={left:"right",right:"left",bottom:"top",top:"bottom"},c={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"}let y=new Set(["top","bottom"]);function b(e){return y.has(m(e))?"y":"x"}function w(e){return f(b(e))}function k(e,t,i){void 0===i&&(i=!1);let s=g(e),n=w(e),r=_(n),a="x"===n?s===(i?"end":"start")?"right":"left":"start"===s?"bottom":"top";return t.reference[r]>t.floating[r]&&(a=E(a)),[a,E(a)]}function T(e){let t=E(e);return[S(e),t,S(t)]}function S(e){return e.replace(/start|end/g,e=>c[e])}let C=["left","right"],A=["right","left"],D=["top","bottom"],M=["bottom","top"];function x(e,t,i,s){let n=g(e),r=function(e,t,i){switch(e){case"top":case"bottom":if(i)return t?A:C;return t?C:A;case"left":case"right":return t?D:M;default:return[]}}(m(e),"start"===i,s);return n&&(r=r.map(e=>e+"-"+n),t&&(r=r.concat(r.map(S)))),r}function E(e){return e.replace(/left|right|bottom|top/g,e=>d[e])}function L(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 P(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}}},23665:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>J});var s,n=i(40779),r=i(45916),a=Symbol.for("immer-nothing"),o=Symbol.for("immer-draftable"),l=Symbol.for("immer-state");function u(e){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var d=Object.getPrototypeOf;function c(e){return!!e&&!!e[l]}function p(e){return!!e&&(m(e)||Array.isArray(e)||!!e[o]||!!e.constructor?.[o]||w(e)||k(e))}var h=Object.prototype.constructor.toString();function m(e){if(!e||"object"!=typeof e)return!1;let t=d(e);if(null===t)return!0;let i=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===h}function g(e,t){0===f(e)?Reflect.ownKeys(e).forEach(i=>{t(i,e[i],e)}):e.forEach((i,s)=>t(s,i,e))}function f(e){let t=e[l];return t?t.type_:Array.isArray(e)?1:w(e)?2:3*!!k(e)}function _(e,t){return 2===f(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function y(e,t){return 2===f(e)?e.get(t):e[t]}function b(e,t,i){let s=f(e);2===s?e.set(t,i):3===s?e.add(i):e[t]=i}function w(e){return e instanceof Map}function k(e){return e instanceof Set}function T(e){return e.copy_||e.base_}function S(e,t){if(w(e))return new Map(e);if(k(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let i=m(e);if(!0!==t&&("class_only"!==t||i)){let t=d(e);return null!==t&&i?{...e}:Object.assign(Object.create(t),e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[l];let i=Reflect.ownKeys(t);for(let s=0;s1&&void 0!==arguments[1]&&arguments[1];return D(e)||c(e)||!p(e)||(f(e)>1&&(e.set=e.add=e.clear=e.delete=A),Object.freeze(e),t&&Object.entries(e).forEach(e=>{let[t,i]=e;return C(i,!0)})),e}function A(){u(2)}function D(e){return Object.isFrozen(e)}var M={};function x(e){let t=M[e];return t||u(0,e),t}function E(){return s}function L(e,t){t&&(x("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function P(e){F(e),e.drafts_.forEach(N),e.drafts_=null}function F(e){e===s&&(s=e.parent_)}function I(e){return s=function(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}(s,e)}function N(e){let t=e[l];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function O(e,t){t.unfinalizedDrafts_=t.drafts_.length;let i=t.drafts_[0];return void 0!==e&&e!==i?(i[l].modified_&&(P(t),u(4)),p(e)&&(e=j(t,e),t.parent_||U(t,e)),t.patches_&&x("Patches").generateReplacementPatches_(i[l].base_,e,t.patches_,t.inversePatches_)):e=j(t,i,[]),P(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==a?e:void 0}function j(e,t,i){if(D(t))return t;let s=t[l];if(!s)return g(t,(n,r)=>R(e,s,t,n,r,i)),t;if(s.scope_!==e)return t;if(!s.modified_)return U(e,s.base_,!0),s.base_;if(!s.finalized_){s.finalized_=!0,s.scope_.unfinalizedDrafts_--;let t=s.copy_,n=t,r=!1;3===s.type_&&(n=new Set(t),t.clear(),r=!0),g(n,(n,a)=>R(e,s,t,n,a,i,r)),U(e,t,!1),i&&e.patches_&&x("Patches").generatePatches_(s,i,e.patches_,e.inversePatches_)}return s.copy_}function R(e,t,i,s,n,r,a){if(c(n)){let a=j(e,n,r&&t&&3!==t.type_&&!_(t.assigned_,s)?r.concat(s):void 0);if(b(i,s,a),!c(a))return;e.canAutoFreeze_=!1}else a&&i.add(n);if(p(n)&&!D(n)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;j(e,n),(!t||!t.scope_.parent_)&&"symbol"!=typeof s&&Object.prototype.propertyIsEnumerable.call(i,s)&&U(e,n)}}function U(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&C(t,i)}var B={get(e,t){if(t===l)return e;let i=T(e);if(!_(i,t))return function(e,t,i){let s=q(t,i);return s?"value"in s?s.value:s.get?.call(e.draft_):void 0}(e,i,t);let s=i[t];return e.finalized_||!p(s)?s:s===Y(e.base_,t)?(z(e),e.copy_[t]=V(s,e)):s},has:(e,t)=>t in T(e),ownKeys:e=>Reflect.ownKeys(T(e)),set(e,t,i){let s=q(T(e),t);if(s?.set)return s.set.call(e.draft_,i),!0;if(!e.modified_){let s=Y(T(e),t),n=s?.[l];if(n&&n.base_===i)return e.copy_[t]=i,e.assigned_[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(i,s)&&(void 0!==i||_(e.base_,t)))return!0;z(e),$(e)}return!!(e.copy_[t]===i&&(void 0!==i||t in e.copy_)||Number.isNaN(i)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=i,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==Y(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,z(e),$(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let i=T(e),s=Reflect.getOwnPropertyDescriptor(i,t);return s?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:s.enumerable,value:i[t]}:s},defineProperty(){u(11)},getPrototypeOf:e=>d(e.base_),setPrototypeOf(){u(12)}},H={};function Y(e,t){let i=e[l];return(i?T(i):e)[t]}function q(e,t){if(!(t in e))return;let i=d(e);for(;i;){let e=Object.getOwnPropertyDescriptor(i,t);if(e)return e;i=d(i)}}function $(e){!e.modified_&&(e.modified_=!0,e.parent_&&$(e.parent_))}function z(e){e.copy_||(e.copy_=S(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function V(e,t){let i=w(e)?x("MapSet").proxyMap_(e,t):k(e)?x("MapSet").proxySet_(e,t):function(e,t){let i=Array.isArray(e),s={type_:+!!i,scope_:t?t.scope_:E(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},n=s,r=B;i&&(n=[s],r=H);let{revoke:a,proxy:o}=Proxy.revocable(n,r);return s.draft_=o,s.revoke_=a,o}(e,t);return(t?t.scope_:E()).drafts_.push(i),i}g(B,(e,t)=>{H[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),H.deleteProperty=function(e,t){return H.set.call(this,e,t,void 0)},H.set=function(e,t,i){return B.set.call(this,e[0],t,i,e[0])};var W=new class{constructor(e){var t=this;this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,i)=>{let s;if("function"==typeof e&&"function"!=typeof t){let i=t;t=e;let s=this;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;at.call(this,e,...r))}}if("function"!=typeof t&&u(6),void 0!==i&&"function"!=typeof i&&u(7),p(e)){let n=I(this),r=V(e,void 0),a=!0;try{s=t(r),a=!1}finally{a?P(n):F(n)}return L(n,i),O(s,n)}if(e&&"object"==typeof e)u(1,e);else{if(void 0===(s=t(e))&&(s=e),s===a&&(s=void 0),this.autoFreeze_&&C(s,!0),i){let t=[],n=[];x("Patches").generateReplacementPatches_(e,s,t,n),i(t,n)}return s}},this.produceWithPatches=(e,i)=>{let s,n;return"function"==typeof e?function(i){for(var s=arguments.length,n=Array(s>1?s-1:0),r=1;re(t,...n))}:[this.produce(e,i,(e,t)=>{s=e,n=t}),s,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){p(e)||u(8),c(e)&&(e=function(e){return c(e)||u(10,e),function e(t){let i;if(!p(t)||D(t))return t;let s=t[l];if(s){if(!s.modified_)return s.base_;s.finalized_=!0,i=S(t,s.scope_.immer_.useStrictShallowCopy_)}else i=S(t,!0);return g(i,(t,s)=>{b(i,t,e(s))}),s&&(s.finalized_=!1),i}(e)}(e));let t=I(this),i=V(e,void 0);return i[l].isManual_=!0,F(t),i}finishDraft(e,t){let i=e&&e[l];i&&i.isManual_||u(9);let{scope_:s}=i;return L(s,t),O(void 0,s)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let i;for(i=t.length-1;i>=0;i--){let s=t[i];if(0===s.path.length&&"replace"===s.op){e=s.value;break}}i>-1&&(t=t.slice(i+1));let s=x("Patches").applyPatches_;return c(e)?s(e,t):this.produce(e,e=>s(e,t))}},K=W.produce;W.produceWithPatches.bind(W),W.setAutoFreeze.bind(W),W.setUseStrictShallowCopy.bind(W);var G=W.applyPatches.bind(W);W.createDraft.bind(W),W.finishDraft.bind(W),function(){let e="replace",t="remove";function i(e){if(!p(e))return e;if(Array.isArray(e))return e.map(i);if(w(e))return new Map(Array.from(e.entries()).map(e=>{let[t,s]=e;return[t,i(s)]}));if(k(e))return new Set(Array.from(e).map(i));let t=Object.create(d(e));for(let s in e)t[s]=i(e[s]);return _(e,o)&&(t[o]=e[o]),t}function s(e){return c(e)?i(e):e}!function(e,t){M[e]||(M[e]=t)}("Patches",{applyPatches_:function(s,n){return n.forEach(n=>{let{path:r,op:a}=n,o=s;for(let e=0;e{let d=y(o,i),c=y(l,i),p=u?_(o,i)?e:"add":t;if(d===c&&p===e)return;let h=n.concat(i);r.push(p===t?{op:p,path:h}:{op:p,path:h,value:c}),a.push("add"===p?{op:t,path:h}:p===t?{op:"add",path:h,value:s(d)}:{op:e,path:h,value:s(d)})})}(i,n,r,a);case 1:return function(i,n,r,a){let{base_:o,assigned_:l}=i,u=i.copy_;u.length{if(!a.has(e)){let r=i.concat([o]);s.push({op:t,path:r,value:e}),n.unshift({op:"add",path:r,value:e})}o++}),o=0,a.forEach(e=>{if(!r.has(e)){let r=i.concat([o]);s.push({op:"add",path:r,value:e}),n.unshift({op:t,path:r,value:e})}o++})}(i,n,r,a)}},generateReplacementPatches_:function(t,i,s,n){s.push({op:e,path:[],value:i===a?void 0:i}),n.push({op:e,path:[],value:t})}})}();class J{static #e=(()=>dt7948.g(this.prototype,"data",[n.tracked]))();#a$=(()=>void dt7948.i(this,"data"))();static #i=(()=>dt7948.g(this.prototype,"draftData",[n.tracked]))();#a5=(()=>void dt7948.i(this,"draftData"))();static #n=(()=>dt7948.g(this.prototype,"errors",[n.tracked],function(){return{}}))();#a6=(()=>void dt7948.i(this,"errors"))();patches=[];inversePatches=[];constructor(e){try{this.data=K(e,()=>{}),this.draftData=K(e,()=>{})}catch(e){if(e.message.includes("[Immer]"))throw Error("[FormKit]: the @data property expects a POJO.")}}get isValid(){return 0===Object.keys(this.errors).length}get isInvalid(){return!this.isValid}get isPristine(){return this.patches.length+this.inversePatches.length===0}get isDirty(){return!this.isPristine}execute(){this.data=G(this.data,this.patches)}unexecute(){this.data=G(this.data,this.inversePatches)}save(){this.execute(),this.resetPatches()}async rollback(){for(;this.inversePatches.length>0;)this.draftData=G(this.draftData,[this.inversePatches.pop()]);this.resetPatches(),await new Promise(e=>(0,r.next)(e))}addError(e,t){this.errors.hasOwnProperty(e)?(this.errors[e].messages.push(t.message),this.errors={...this.errors}):this.errors={...this.errors,[e]:{title:t.title,messages:[t.message]}}}removeError(e){delete this.errors[e],this.errors={...this.errors}}removeErrors(){this.errors={}}get(e){let t=e.split("."),i=this.draftData[t.shift()];for(;t.length;)i=i[t.shift()];return i}set(e,t){this.draftData=K(this.draftData,i=>{let s=e.split(".");for(;s.length>1;)i=i[s.shift()];i[s[0]]=t},(e,t)=>{this.patches.push(...e),this.inversePatches.push(...t)})}resetPatches(){this.patches=[],this.inversePatches=[]}}},23693:(e,t,i)=>{"use strict";i.r(t),i.d(t,{grantableBadges:()=>n,isBadgeGrantable:()=>r});var s=i(60882);function n(e,t){let i=t.reduce((e,t)=>(e[t.get("badge_id")]=!0,e),{});return e.filter(e=>e.get("enabled")&&e.get("manually_grantable")&&(!i[e.get("id")]||e.get("multiple_grant"))).map(e=>(e.get("icon")&&e.set("icon",(0,s.convertIconClass)(e.icon)),e)).sort((e,t)=>e.get("name").localeCompare(t.get("name")))}function r(e,t){return!!(t&&t.some(t=>t.get("id")===e))}},23707:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(24698),n=i(13744),r=i(11811),a=i(9348),o=i(55888);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();get canEditEmail(){return this.siteSettings.enable_local_logins||this.siteSettings.email_editable}static #i=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"rcsdsfzu",block:'[[[1,"\\n "],[10,0],[14,0,"activation-controls"],[12],[1,"\\n"],[41,[51,[30,0,["siteSettings","must_approve_users"]]],[[[1," "],[8,[32,0],[[24,0,"btn-primary resend"]],[["@action","@label","@icon"],[[30,1],"login.resend_title","envelope"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["canEditEmail"]],[[[1," "],[8,[32,0],[[24,0,"edit-email"]],[["@action","@label","@icon"],[[30,2],"login.change_email","pencil"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@sendActivationEmail","@editActivationEmail"],false,["unless","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/activation-controls.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},23742:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("ar-tn",{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}})})},23756:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(33406);class n extends s.default{jsonMode=!0;pathFor(e,t,i){return this.appendQueryParams("/review",i)}}},23792:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(41218)},23925:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(90098),n=i(62112),r=i(57364),a=i(9348),o=i(55888),l=i(74975);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)))},24051:(e,t,i)=>{"use strict";i.r(t),i.d(t,{iconNode:()=>n});var s=i(60882);function n(e,t){return(0,s.renderIcon)("node",e,t)}},24079:(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},24084:(e,t,i)=>{"use strict";i.r(t),i.d(t,{getRenderDirector:()=>C,registerNotificationTypeRenderer:()=>T,resetNotificationTypeRenderers:()=>S});var s=i(75227),n=i(39992),r=i(82656),a=i(24478),o=i(44808),l=i(95672),u=i(51436),d=i(33137),c=i(12899),p=i(21488),h=i(72942),m=i(44362),g=i(10559),f=i(7381),_=i(55381),y=i(21775),b=i(55634);let w={bookmark_reminder:r.default,custom:a.default,edited:o.default,granted_badge:l.default,group_mentioned:u.default,group_message_summary:d.default,invitee_accepted:c.default,liked:p.default,liked_consolidated:h.default,linked_consolidated:m.default,membership_request_accepted:g.default,membership_request_consolidated:f.default,moved_post:_.default,new_features:y.default,admin_problems:s.default,watching_first_post:b.default},k={};function T(e,t){k[e]=t(n.default)}function S(){k={}}function C(e,t,i,s,r){return new(k[e]||w[e]||n.default)({notification:t,currentUser:i,siteSettings:s,site:r})}},24094:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(30587),n=i.n(s),r=i(40949),a=i(64240);let o=!1,l={initialize(){o||(n().fn.autocomplete=r.default,n().fn.caret=a.caret,n().fn.caretPosition=a.caretPosition,o=!0)}}},24097:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(9348),n=i(66530),r=i(58295),a=i(17048),o=i(86726),l=i(1848),u=i(70239),d=i.n(u),c=i(88740),p=i(57364),h=i(46666),m=i(28067),g=i(55888);let f=dt7948.c(class extends s.default{tabIndex=0;index=0;role="menuitemradio";static #e=(()=>dt7948.g(this.prototype,"lang",[(0,r.reads)("item.lang")]))();#oe=(()=>void dt7948.i(this,"lang"))();didInsertElement(){super.didInsertElement(...arguments),this.site.desktopView&&(this.element.addEventListener("mouseenter",this.handleMouseEnter),this.element.addEventListener("focus",this.handleMouseEnter))}willDestroyElement(){super.willDestroyElement(...arguments),this.site.desktopView&&(this.element.removeEventListener("mouseenter",this.handleMouseEnter),this.element.removeEventListener("focus",this.handleMouseEnter))}get isNone(){return this.rowValue===this.getValue(this.selectKit.noneItem)}static #i=(()=>dt7948.n(this.prototype,"isNone",[(0,n.computed)("rowValue")]))();get guid(){return(0,a.guidFor)(this.item)}static #n=(()=>dt7948.n(this.prototype,"guid",[(0,n.computed)("item")]))();get ariaChecked(){return this.isSelected?"true":"false"}static #a=(()=>dt7948.n(this.prototype,"ariaChecked",[(0,n.computed)("isSelected")]))();get title(){return this.rowTitle||this.getProperty(this.item,"title")||this.rowName}static #l=(()=>dt7948.n(this.prototype,"title",[(0,n.computed)("rowTitle","item.title","rowName")]))();get dasherizedTitle(){return(0,o.dasherize)((this.title||"").replace(".","-"))}static #d=(()=>dt7948.n(this.prototype,"dasherizedTitle",[(0,n.computed)("title")]))();get label(){let e=this.rowLabel||this.getProperty(this.item,"label")||this.title||this.rowName;return this.selectKit.options.allowAny&&this.rowValue===this.selectKit.filter&&this.getName(this.selectKit.noneItem)!==this.rowName&&this.getName(this.selectKit.newItem)===this.rowName?(0,p.i18n)("select_kit.create",{content:e}):e}static #p=(()=>dt7948.n(this.prototype,"label",[(0,n.computed)("rowLabel","item.label","title","rowName")]))();didReceiveAttrs(){super.didReceiveAttrs(...arguments),this.setProperties({rowName:this.getName(this.item),rowValue:this.getValue(this.item),rowLabel:this.getProperty(this.item,"labelProperty"),rowTitle:this.getProperty(this.item,"titleProperty"),rowLang:this.getProperty(this.item,"langProperty")})}get icons(){let e=(0,c.makeArray)(this.getProperty(this.item,"icon")),t=(0,c.makeArray)(this.getProperty(this.item,"icons"));return e.concat(t).filter(Boolean)}static #m=(()=>dt7948.n(this.prototype,"icons",[(0,n.computed)("item.{icon,icons}")]))();get highlightedValue(){return this.getValue(this.selectKit.highlighted)}static #f=(()=>dt7948.n(this.prototype,"highlightedValue",[(0,n.computed)("selectKit.highlighted")]))();get isHighlighted(){return this.rowValue===this.highlightedValue}static #y=(()=>dt7948.n(this.prototype,"isHighlighted",[(0,n.computed)("rowValue","highlightedValue")]))();get isSelected(){return this.rowValue===this.value}static #v=(()=>dt7948.n(this.prototype,"isSelected",[(0,n.computed)("rowValue","value")]))();handleMouseEnter(){return this.isDestroying&&this.isDestroyed||this.selectKit.onHover(this.rowValue,this.item),!1}static #k=(()=>dt7948.n(this.prototype,"handleMouseEnter",[n.action]))();click(e){return e.preventDefault(),e.stopPropagation(),this.selectKit.select(this.rowValue,this.item),!1}mouseDown(e){this.selectKit.options.preventHeaderFocus&&e.preventDefault()}focusIn(e){e.stopImmediatePropagation()}keyDown(e){if(this.selectKit.isExpanded)if("Backspace"===e.key){if(this.selectKit.isFilterExpanded)return this.selectKit.set("filter",this.selectKit.filter.slice(0,-1)),this.selectKit.triggerSearch(),this.selectKit.focusFilter(),e.preventDefault(),e.stopPropagation(),!1}else{if("ArrowUp"===e.key)return this.selectKit.highlightPrevious(),!1;if("ArrowDown"===e.key)return this.selectKit.highlightNext(),!1;if("Enter"===e.key)return e.stopImmediatePropagation(),this.selectKit.select(this.getValue(this.selectKit.highlighted),this.selectKit.highlighted),!1;"Escape"===e.key?(this.selectKit.close(e),this.selectKit.headerElement().focus(),e.preventDefault(),e.stopPropagation()):(0,h.isValidInput)(e.key)&&(this.selectKit.set("filter",e.key),this.selectKit.triggerSearch(),this.selectKit.focusFilter(),e.preventDefault(),e.stopPropagation())}}static #S=(()=>(0,s.setComponentTemplate)((0,g.createTemplateFactory)({id:"oi0GwTB7",block:'[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["icons"]]],null]],null],null,[[[1," "],[1,[28,[32,0],[[30,1]],[["translatedTitle"],[[30,0,["dasherizedTitle"]]]]]],[1,"\\n"]],[1]],null],[1,"\\n "],[10,1],[14,0,"name"],[12],[1,"\\n "],[1,[30,0,["label"]]],[1,"\\n "],[13],[1,"\\n "]],["i"],false,["each","-track-array"]]',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-row.js",scope:()=>[d()],isStrictMode:!0}),this))()},[m.default,(0,l.classNameBindings)("isHighlighted","isSelected","isNone","isNone:none","item.classNames"),(0,l.attributeBindings)("tabIndex","title","rowValue:data-value","rowName:data-name","index:data-index","role","ariaChecked:aria-checked","guid:data-guid","rowLang:lang"),(0,l.tagName)("li"),(0,l.classNames)("select-kit-row")])},24140:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>x});var s=i(24698),n=i(40779),r=i(9348),a=i(4089),o=i(58452),l=i(66530),u=i(41993),d=i(13744),c=i(96675),p=i(58670),h=i(56431),m=i(51492),g=i(19441),f=i(87331),_=i(72399),y=i(52445),b=i(71773),w=i(58832),k=i(38858),T=i(20559),S=i(72172),C=i(34057),A=i(51715),D=i(57364),M=i(55888);class x extends s.default{static #e=(()=>dt7948.g(this.prototype,"modal",[d.service]))();#tq=(()=>void dt7948.i(this,"modal"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[d.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"maskPassword",[n.tracked],function(){return!0}))();#ot=(()=>void dt7948.i(this,"maskPassword"))();static #a=(()=>dt7948.g(this.prototype,"processingEmailLink",[n.tracked],function(){return!1}))();#oi=(()=>void dt7948.i(this,"processingEmailLink"))();static #l=(()=>dt7948.g(this.prototype,"capsLockOn",[n.tracked],function(){return!1}))();#os=(()=>void dt7948.i(this,"capsLockOn"))();get credentialsClass(){return this.args.showSecondFactor||this.args.showSecurityKey?"hidden":""}get showSecondFactorForm(){return this.args.showSecondFactor||this.args.showSecurityKey}get disableLoginFields(){return this.args.showSecondFactor||this.args.showSecurityKey}passkeyConditionalLogin(){this.args.canUsePasskeys&&this.args.passkeyLogin("conditional")}static #d=(()=>dt7948.n(this.prototype,"passkeyConditionalLogin",[l.action]))();scrollInputIntoView(e){e.target.scrollIntoView({behavior:"smooth",block:"center"})}static #p=(()=>dt7948.n(this.prototype,"scrollInputIntoView",[l.action]))();togglePasswordMask(){this.maskPassword=!this.maskPassword}static #m=(()=>dt7948.n(this.prototype,"togglePasswordMask",[l.action]))();async emailLogin(e){if(e?.preventDefault(),!this.processingEmailLink){if((0,p.isEmpty)(this.args.loginName)){this.args.flashChanged((0,D.i18n)("login.blank_username")),this.args.flashTypeChanged("info");return}try{this.processingEmailLink=!0;let e=await (0,T.ajax)("/u/email-login",{data:{login:this.args.loginName.trim()},type:"POST"}),t=(0,C.escapeExpression)(this.args.loginName),i=t.match(/@/)?"email_login.complete_email":"email_login.complete_username";if(!1===e.user_found)this.args.flashChanged((0,c.htmlSafe)((0,D.i18n)(`${i}_not_found`,{email:t,username:t}))),this.args.flashTypeChanged("error");else{let s=e.hide_taken?"":"_found";this.args.flashChanged((0,c.htmlSafe)((0,D.i18n)(`${i}${s}`,{email:t,username:t}))),this.args.flashTypeChanged("success")}}catch(e){(0,S.popupAjaxError)(e)}finally{this.processingEmailLink=!1}}}static #f=(()=>dt7948.n(this.prototype,"emailLogin",[l.action]))();loginOnEnter(e){"Enter"===e.key&&this.args.login()}static #y=(()=>dt7948.n(this.prototype,"loginOnEnter",[l.action]))();handleForgotPassword(e){e?.preventDefault();let t=this.args.loginName,i=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t?.trim());this.siteSettings.hide_email_address_taken&&!i&&(t=null),this.modal.show(h.default,{model:{emailOrUsername:t}})}static #v=(()=>dt7948.n(this.prototype,"handleForgotPassword",[l.action]))();authenticateSecurityKey(){(0,A.getWebauthnCredential)(this.args.securityKeyChallenge,this.args.securityKeyAllowedCredentialIds,e=>{this.args.securityKeyCredentialChanged(e),this.args.login()},e=>{this.args.flashChanged(e),this.args.flashTypeChanged("error")})}static #k=(()=>dt7948.n(this.prototype,"authenticateSecurityKey",[l.action]))();static #S=(()=>(0,r.setComponentTemplate)((0,M.createTemplateFactory)({id:"FxoW6ij5",block:'[[[1,"\\n "],[10,"form"],[14,1,"login-form"],[14,"method","post"],[12],[1,"\\n "],[10,0],[14,1,"credentials"],[15,0,[30,0,["credentialsClass"]]],[12],[1,"\\n "],[11,0],[24,0,"input-group"],[4,[32,0],[[30,0,["passkeyConditionalLogin"]]],null],[12],[1,"\\n "],[8,[32,1],[[16,2,[30,1]],[24,1,"login-account-name"],[16,0,[28,[32,2],[[30,1]],null]],[16,"autocomplete",[52,[30,2],"username webauthn","username"]],[24,"autocorrect","off"],[24,"autocapitalize","off"],[16,"disabled",[30,3]],[24,"autofocus","autofocus"],[24,"tabindex","1"],[4,[32,3],["focusin",[30,0,["scrollInputIntoView"]]],null],[4,[32,3],["input",[30,4]],null],[4,[32,3],["keydown",[30,0,["loginOnEnter"]]],null]],[["@type"],["email"]],null],[1,"\\n "],[10,"label"],[14,0,"alt-placeholder"],[14,"for","login-account-name"],[12],[1,"\\n "],[1,[28,[32,4],["login.email_placeholder"],null]],[1,"\\n "],[13],[1,"\\n"],[41,[30,5],[[[1," "],[11,3],[24,6,""],[16,0,[52,[30,1],"","no-login-filled"]],[24,"tabindex","3"],[24,1,"email-login-link"],[4,[32,3],["click",[30,0,["emailLogin"]]],null],[12],[1,"\\n "],[1,[28,[32,4],["email_login.login_link"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,0],[14,0,"input-group"],[12],[1,"\\n "],[8,[32,5],[[16,2,[30,6]],[16,"disabled",[30,0,["disableLoginFields"]]],[24,"autocomplete","current-password"],[24,"maxlength","200"],[24,"tabindex","1"],[24,1,"login-account-password"],[16,0,[28,[32,2],[[30,6]],null]],[16,4,[52,[30,0,["maskPassword"]],"password","text"]],[4,[32,3],["focusin",[30,0,["scrollInputIntoView"]]],null],[4,[32,3],["keydown",[30,0,["loginOnEnter"]]],null],[4,[32,3],["input",[30,7]],null]],[["@capsLockOn"],[[30,0,["capsLockOn"]]]],null],[1,"\\n "],[10,"label"],[14,0,"alt-placeholder"],[14,"for","login-account-password"],[12],[1,"\\n "],[1,[28,[32,4],["login.password"],null]],[1,"\\n "],[13],[1,"\\n"],[41,[30,6],[[[1," "],[8,[32,6],[[24,"tabindex","3"]],[["@maskPassword","@togglePasswordMask"],[[30,0,["maskPassword"]],[30,0,["togglePasswordMask"]]]],null],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"login__password-links"],[12],[1,"\\n "],[11,3],[24,6,""],[24,1,"forgot-password-link"],[24,"tabindex","2"],[4,[32,3],["click",[30,0,["handleForgotPassword"]]],null],[12],[1,"\\n "],[1,[28,[32,4],["forgot_password.action"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,["caps-lock-warning ",[52,[51,[30,0,["capsLockOn"]]],"hidden"]]]],[12],[1,"\\n "],[1,[28,[32,7],["triangle-exclamation"],null]],[1,"\\n "],[1,[28,[32,4],["login.caps_lock_warning"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["showSecondFactorForm"]],[[[1," "],[8,[32,8],null,[["@secondFactorMethod","@secondFactorToken","@backupEnabled","@totpEnabled","@isLogin"],[[30,8],[30,9],[30,10],[30,11],true]],[["default"],[[[[1,"\\n"],[41,[30,12],[[[1," "],[8,[32,9],null,[["@setShowSecurityKey","@setShowSecondFactor","@setSecondFactorMethod","@backupEnabled","@totpEnabled","@otherMethodAllowed","@action"],[[28,[32,10],[[28,[31,2],[[30,12]],null]],null],[28,[32,10],[[28,[31,2],[[30,3]],null]],null],[28,[32,10],[[28,[31,2],[[30,8]],null]],null],[30,10],[30,11],[30,13],[30,0,["authenticateSecurityKey"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,11],[[16,2,[30,9]],[24,1,"login-second-factor"],[4,[32,3],["keydown",[30,0,["loginOnEnter"]]],null],[4,[32,3],["input",[28,[32,12],[[28,[32,10],[[28,[31,2],[[30,9]],null]],null]],null]],null],[4,[32,3],["focusin",[30,0,["scrollInputIntoView"]]],null]],[["@secondFactorMethod"],[[30,8]]],null],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@loginName","@canUsePasskeys","@showSecondFactor","@loginNameChanged","@canLoginLocalWithEmail","@loginPassword","@loginPasswordChanged","@secondFactorMethod","@secondFactorToken","@backupEnabled","@totpEnabled","@showSecurityKey","@otherMethodAllowed"],false,["if","unless","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/local-login-form.js",scope:()=>[u.default,r.Input,w.default,o.on,D.i18n,m.default,y.default,b.default,g.default,_.default,a.fn,f.default,k.default],isStrictMode:!0}),this))()}},24146:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(4089),n=i(22106),r=i(57364),a=i(9348),o=i(55888),l=i(74975);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"Yj7xPUaG",block:'[[[1,"\\n "],[10,0],[14,0,"small-action topic-post-visited"],[12],[1,"\\n "],[10,0],[15,0,[28,[32,0],["topic-post-visited-line",[28,[32,1],["post-",[30,1,["post_number"]]],null]],null]],[12],[1,"\\n "],[10,1],[14,0,"topic-post-visited-message"],[12],[1,"\\n "],[1,[28,[32,2],["topics.new_messages_marker"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],["@post"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/visited-line.js",scope:()=>[n.default,s.concat,r.i18n],isStrictMode:!0}),(0,l.default)(void 0,"visited-line:PostVisitedLine"))},24152:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(1848),n=i(71642),r=i.n(n),a=i(24097),o=i(9348),l=i(55888);let u=dt7948.c(class extends a.default{static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"LFNrrV86",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/flair-row.js",scope:()=>[r()],isStrictMode:!0}),this))()},[(0,s.classNames)("flair-row")])},24188:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(13744),n=i(65677),r=i(57364);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"currentUser",[s.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();templateName="user/stream";beforeModel(){return this.currentUser?this.isCurrentUser(this.modelFor("user"))?void 0:this.router.transitionTo("userActivity.drafts",this.currentUser):this.router.transitionTo("discovery.latest")}async model(){let e=this.modelFor("user").get("userDraftsStream");return e.reset(),await e.findItems(this.site),{stream:e,emptyState:this.emptyState()}}emptyState(){return{title:(0,r.i18n)("user_activity.no_drafts_title"),body:(0,r.i18n)("user_activity.no_drafts_body")}}activate(){this.appEvents.on("draft:destroyed",this,this.refresh)}deactivate(){this.appEvents.off("draft:destroyed",this,this.refresh)}titleToken(){return(0,r.i18n)("user_action_groups.15")}}},24196:(e,t,i)=>{"use strict";i.r(t),i.d(t,{_:()=>a,s:()=>r,t:()=>o});var s=i(27322);i(74372),i(23260);var n=i(39665);function r(e,t,i,s){return e.isDestroyed?i:(0,n.q)(t)?function(e,t,i,s){let a=t.split("."),o=a.pop(),l=(0,n._)(e,a,!0);if(null!=l)return r(l,o,i);if(!s)throw Error(`Property set failed: object in path "${a.join(".")}" could not be found.`)}(e,t,i,s):a(e,t,i)}function a(e,t,i){let r,a=(0,s.l)(e,t);return null!==a&&n.r.has(a.set)?e[t]=i:void 0!==(r=e[t])||"object"!=typeof e||t in e||"function"!=typeof e.setUnknownProperty?(e[t]=i,r!==i&&(0,n.n)(e,t)):e.setUnknownProperty(t,i),i}function o(e,t,i){return r(e,t,i,!0)}},24262:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(62807),n=i(60882),r=i(99307),a=i(2263),o=i(47754),l=i(57364);let u={initialize(e){(0,a.withPluginApi)(t=>{function i(e){try{let t=new URL(e,window.location.origin);if(["http:","https:"].includes(t.protocol)||e.startsWith("/")){let t=(0,o.sanitize)(e);if(t&&""!==t.trim()&&!t.includes(">")&&!t.includes("<"))return t}}catch(t){console.warn("Invalid URL encountered:",e,t.message)}return null}t.decorateCookedElement(function(t,a){a&&t.querySelectorAll(".video-placeholder-container").forEach(t=>{if(t.dataset.thumbnailSrc){let e=new Image;e.onload=function(){t.style.backgroundImage="url('"+e.src+"')"},e.src=t.dataset.thumbnailSrc}let o=document.createElement("div"),u=document.createElement("div");o.classList.add("video-placeholder-wrapper"),t.appendChild(o),u.classList.add("video-placeholder-overlay"),t.style.cursor="pointer",t.addEventListener("click",(function t(a,o){let u=o.target.closest(".video-placeholder-container"),d=u.querySelector(".video-placeholder-wrapper"),c=d.querySelector(".video-placeholder-overlay");u.style.cursor="",c.innerHTML=s.spinnerHTML;let p=i(u.dataset.videoSrc),h=i(u.dataset.origSrc),m=null!==h?`data-orig-src="${h}"`:"";if(null===p){let e=d.querySelector(".notice.error");e&&e.remove();let i=document.createElement("div");i.className="notice error",i.innerHTML=(0,n.iconHTML)("triangle-exclamation")+" "+(0,l.i18n)("invalid_video_url"),d.appendChild(i),c.innerHTML=(0,n.iconHTML)("play"),u.style.cursor="pointer",u.addEventListener("click",e=>t(a,e),{once:!0});return}let g=` `;u.insertAdjacentHTML("beforeend",g),u.classList.add("video-container");let f=u.querySelector("video"),_=e.lookup("service:capabilities");if(_.isSafari||_.isIOS){let e=f.querySelector("source");e&&e.parentElement.load()}f.addEventListener("loadeddata",()=>{(0,r.default)(()=>{if(0===f.videoWidth||0===f.videoHeight){let e=document.createElement("div");e.className="notice",e.innerHTML=(0,n.iconHTML)("triangle-exclamation")+" "+(0,l.i18n)("cannot_render_video"),u.appendChild(e)}},500)}),f.addEventListener("canplay",function(){_.isIOS?(0,r.default)(()=>{f.play()},100):f.play(),d.remove(),f.style.display="",u.classList.remove("video-placeholder-container"),u.style.backgroundImage="none"})}).bind(null,a),{once:!0}),u.innerHTML=`${(0,n.iconHTML)("play")}`,o.appendChild(u)})},{onlyStream:!0})})}}},24284:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s={initialize(e){let t=e.lookup("service:capabilities"),i=document.documentElement;t.touch?i.classList.add("touch","discourse-touch"):i.classList.add("no-touch","discourse-no-touch"),t.isIpadOS&&i.classList.add("ipados-device"),t.isIOS&&i.classList.add("ios-device")}}},24433:(e,t,i)=>{"use strict";i.r(t),i.d(t,{QUOTE_REGEXP:()=>a,buildQuote:()=>o});var s=i(51852),n=i(52716),r=i(46566);let a=/\[quote=([^\]]*)\]((?:[\s\S](?!\[quote=[^\]]*\]))*?)\[\/quote\]/im;function o(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||!t)return"";let a=e.name;i.username&&i.username!==e.username&&(a=null);let o=[(0,n.prioritizeNameFallback)(a,i.username||e.username),`post:${i.post||e.post_number}`,`topic:${i.topic||e.topic_id}`];i.full&&o.push("full:true"),(0,s.helperContext)().siteSettings.display_name_on_posts&&!(0,s.helperContext)().siteSettings.prioritize_username_in_ux&&a&&o.push(`username:${i.username||e.username}`);let l=(0,r.applyValueTransformer)("quote-params",o,{post:e,contents:t,opts:i}).join(", ");return`[quote="${l}"] ${t.trim()} [/quote] `}},24478:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(39992),n=i(57364);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}`}}},24505:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>T});var s=i(9348),n=i(66530),r=i(58295),a=i(36768),o=i(13744),l=i(47954),u=i(11811),d=i(76586),c=i(7254),p=i(79401),h=i(42263),m=i(46386),g=i(6827),f=i(62931),_=i(18965),y=i(97141),b=i(98174),w=i(57364),k=i(55888);class T extends s.default{static #e=(()=>dt7948.g(this.prototype,"modal",[o.service]))();#tq=(()=>void dt7948.i(this,"modal"))();static #i=(()=>dt7948.g(this.prototype,"topic",[(0,r.readOnly)("model.topic")]))();#ej=(()=>void dt7948.i(this,"topic"))();static #n=(()=>dt7948.g(this.prototype,"post",[(0,r.readOnly)("model.post")]))();#on=(()=>void dt7948.i(this,"post"))();static #a=(()=>dt7948.g(this.prototype,"category",[(0,r.readOnly)("model.category")]))();#or=(()=>void dt7948.i(this,"category"))();static #l=(()=>dt7948.g(this.prototype,"allowInvites",[(0,r.readOnly)("model.allowInvites")]))();#oa=(()=>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 #d=(()=>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 #p=(()=>dt7948.n(this.prototype,"_selectUrl",[g.afterRender]))();url(e,t){return e?(0,_.getAbsoluteURL)(e):t?(0,_.getAbsoluteURL)(t):void 0}static #m=(()=>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 #f=(()=>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 #y=(()=>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 #v=(()=>dt7948.n(this.prototype,"share",[n.action]))();inviteUsers(){this.modal.show(c.default,{model:{inviteToTopic:!0,topics:[this.topic],topicId:this.topic.id,topicTitle:this.topic.title}})}static #k=(()=>dt7948.n(this.prototype,"inviteUsers",[n.action]))();replyAsNewTopic(){let e=this.topic.postStream,t=this.post?.id||e.findPostIdForPostNumber(1),i=e.findLoadedPost(t),s=(0,a.getOwner)(this).lookup("controller:topic");s.actions.replyAsNewTopic.call(s,i),this.closeModal()}static #S=(()=>dt7948.n(this.prototype,"replyAsNewTopic",[n.action]))();static #A=(()=>(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,l.default,h.default,u.default,p.default,m.default],isStrictMode:!0}),this))()}},24525:(e,t,i)=>{"use strict";async function s(){return await i.e(441).then(i.bind(i,54441))}i.r(t),i.d(t,{default:()=>s})},24620:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(90098),n=i(19140),r=i(82213),a=i(18495),o=i(9348),l=i(55888),u=i(74975);let d=(0,s.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"AC41ZuG4",block:'[[[1,"\\n "],[8,[32,0],null,[["@model","@listClass"],[[30,1,["model"]],"--filter --topic-list"]],[["navigation","list"],[[[[1,"\\n "],[8,[32,1],null,[["@queryString","@updateTopicsListQueryParams","@canBulkSelect","@bulkSelectHelper","@tips"],[[30,1,["q"]],[30,1,["updateTopicsListQueryParams"]],[30,1,["canBulkSelect"]],[30,1,["bulkSelectHelper"]],[30,1,["model","topic_list","filter_option_info"]]]],null],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,2],null,[["@period","@expandAllPinned","@expandAllGloballyPinned","@model","@canBulkSelect","@bulkSelectHelper"],[[30,1,["period"]],[30,1,["expandAllPinned"]],[30,1,["expandAllGloballyPinned"]],[30,1,["model"]],[30,1,["canBulkSelect"]],[30,1,["bulkSelectHelper"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/discovery/filter.js",scope:()=>[r.default,n.default,a.default],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},24634:(e,t,i)=>{"use strict";function s(e,t){t.discourse_local_dates_enabled&&(0,requirejs("discourse/plugins/discourse-local-dates/initializers/discourse-local-dates").applyLocalDates)(e,t)}i.r(t),i.d(t,{applyLocalDates:()=>s})},24692:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(13744),n=i(65677);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();model(e){return this.store.find("post",e.id)}afterModel(e){this.router.transitionTo(e.url)}}},24698:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(9348),n=i(41218);let r=i(42642).default;(0,s.setComponentManager)(e=>new n.default(e),r);let a=r},24737:(e,t,i)=>{"use strict";i.r(t),i.d(t,{TOP_SITE_CATEGORIES_TO_SHOW:()=>u,default:()=>d});var s=i(24698);i(40779);var n=i(13744),r=i(34731),a=i(45650),o=i(98174);let l=(0,i(69853).A)(i(40779)).cached,u=5;class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"topicTrackingState",[n.service]))();#nc=(()=>void dt7948.i(this,"topicTrackingState"))();shouldSortCategoriesByDefault=!0;get categories(){}get topSiteCategories(){return this.site.categoriesList.filter(e=>!e.parent_category_id&&(0,r.canDisplayCategory)(e.id,this.siteSettings)).slice(0,u)}get sortedCategories(){if(!this.shouldSortCategoriesByDefault)return this.categories;let e=[...this.site.categories];this.siteSettings.fixed_category_positions||e.sort((e,t)=>e.name.localeCompare(t.name));let t=this.categories.map(e=>e.id);return o.default.sortCategories(e).reduce((e,i)=>(t.includes(i.id)&&(0,r.canDisplayCategory)(i.id,this.siteSettings)&&e.push(i),e),[])}get sectionLinks(){return this.sortedCategories.map(e=>new a.default({category:e,topicTrackingState:this.topicTrackingState,currentUser:this.currentUser}))}static #a=(()=>dt7948.n(this.prototype,"sectionLinks",[l]))()}},24808:(e,t,i)=>{"use strict";i.d(t,{Ng:()=>a,sb:()=>r,vq:()=>n});var s=i(60524);function n(e){var t=(0,s.A)(e).Element;return e instanceof t||e instanceof Element}function r(e){var t=(0,s.A)(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function a(e){if("undefined"==typeof ShadowRoot)return!1;var t=(0,s.A)(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}},24813:(e,t,i)=>{"use strict";e.exports=new(i(99705))({explicit:[i(95690),i(21910),i(35591)]})},24823:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(49938),n=i(23260),r=i(82096);let a=(0,s.helper)(e=>{let[t]=e;for(let e of(0,r.assertIsDeprecations)(JSON.parse(t)))(0,n.deprecate)(...e)})},24842:(e,t,i)=>{"use strict";let s,n,r,a;i.r(t),i.d(t,{getHighestReadCache:()=>h,nextTopicUrl:()=>d,previousTopicUrl:()=>c,resetHighestReadCache:()=>m,setHighestReadCache:()=>p,setTopicId:()=>f,setTopicList:()=>u});var o=i(23286),l=i(45824);function u(e){s=e,s?.topics?.forEach(e=>{if(e.notification_level>=l.NotificationLevels.TRACKING){let t=h(e.id);if(t&&t>=e.last_read_post_number){let i=Math.max(e.highest_post_number-t,0);e.setProperties({unread_posts:i,new_posts:i}),m()}}}),n=null}function d(){return g(1)}function c(){return g(-1)}function p(e,t){r=e,a=t}function h(e){if(e===r)return a}function m(){r=void 0,a=void 0}function g(e){if(!s||!s.topics)return o.Promise.resolve(null);let t=function(){if(n&&s&&s.topics){let e=s.topics.findIndex(e=>e.id===n);if(e>-1)return e}return -1}();-1===t?t=0:t+=e;let i=s.topics[t];return!i&&t>0&&s.more_topics_url&&s.loadMore?s.loadMore().then(()=>g(e)):i?(n=i.id,o.Promise.resolve(i.lastUnreadUrl)):o.Promise.resolve(null)}function f(e){n=e}},24843:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698),n=i(66530),r=i(13744),a=i(11811),o=i(72172),l=i(48297),u=i(57364),d=i(16987),c=i(63795),p=i(9348),h=i(55888);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"modal",[r.service]))();#tq=(()=>void dt7948.i(this,"modal"))();async removeIgnoredUser(e){this.args.items.removeObject(e);try{let t=await l.default.findByUsername(e);await t.updateNotificationLevel({level:"normal",actingUser:this.args.model})}catch(e){(0,o.popupAjaxError)(e)}}static #i=(()=>dt7948.n(this.prototype,"removeIgnoredUser",[n.action]))();newIgnoredUser(){this.modal.show(c.default,{model:{actingUser:this.args.model,ignoredUsername:null,onUserIgnored:e=>{this.args.items.addObject(e)}}})}static #n=(()=>dt7948.n(this.prototype,"newIgnoredUser",[n.action]))();static #a=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"jTcnqLwG",block:'[[[1,"\\n "],[10,0],[12],[1,"\\n "],[10,0],[14,0,"ignored-list"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1]],null]],null],null,[[[1," "],[8,[32,0],null,[["@item","@onRemoveIgnoredUser"],[[30,2],[30,0,["removeIgnoredUser"]]]],null],[1,"\\n"]],[2]],[[[1," "],[1,[28,[32,1],["user.user_notifications.ignore_no_users"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,[28,[32,1],["user.ignored_users_instructions"],null]],[13],[1,"\\n "],[10,0],[12],[1,"\\n "],[8,[32,2],[[24,0,"btn-default"]],[["@action","@icon","@label"],[[30,0,["newIgnoredUser"]],"plus","user.user_notifications.add_ignored_user"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@items","item"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/ignored-user-list.js",scope:()=>[d.default,u.i18n,a.default],isStrictMode:!0}),this))()}},24847:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{constructor(e,t,i){this.model_id=e,this.can_moderators_view_emails=t,this.currentUser=i}get canAdminCheckEmails(){return this.currentUser.admin}get canCheckEmails(){if(!this.currentUser)return!1;let e=this.can_moderators_view_emails&&this.currentUser.staff;return this.model_id===this.currentUser.id||this.canAdminCheckEmails||e}}},24908:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addBulkDropdownAction:()=>m,default:()=>g});var s=i(66530),n=i(13744),r=i(1848),a=i(2290),o=i(30814),l=i.n(o),u=i(57364),d=i(75443),c=i(86558);let p=[],h={};function m(e,t){h[e]=t}let g=dt7948.c(class extends d.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"toasts",[n.service]))();#t3=(()=>void dt7948.i(this,"toasts"))();static #n=(()=>dt7948.g(this.prototype,"dialog",[n.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();headerIcon=null;get content(){let e=[];return[...e=e.concat([{id:"clear-reminders",icon:"tag",name:(0,u.i18n)("bookmark_bulk_actions.clear_reminders.name")},{id:"delete-bookmarks",icon:"trash-can",name:(0,u.i18n)("bookmark_bulk_actions.delete_bookmarks.name")}]),...p]}getSelectedBookmarks(){return this.bulkSelectHelper.selected}onSelect(e){switch(e){case"clear-reminders":this.dialog.yesNoConfirm({message:(0,u.i18n)("js.bookmark_bulk_actions.clear_reminders.description",{count:this.getSelectedBookmarks().length}),didConfirm:()=>{l().bulkOperation(this.getSelectedBookmarks(),{type:"clear_reminder"}).then(()=>{this.router.refresh(),this.bulkSelectHelper.clear(),this.toasts.success({duration:"short",data:{message:(0,u.i18n)("bookmarks.bulk.reminders_cleared")}})}).catch(a.popupAjaxError)}});break;case"delete-bookmarks":this.dialog.deleteConfirm({message:(0,u.i18n)("js.bookmark_bulk_actions.delete_bookmarks.description",{count:this.getSelectedBookmarks().length}),didConfirm:()=>{l().bulkOperation(this.getSelectedBookmarks(),{type:"delete"}).then(()=>{this.router.refresh(),this.bulkSelectHelper.clear(),this.toasts.success({duration:"short",data:{message:(0,u.i18n)("bookmarks.bulk.delete_completed")}})}).catch(a.popupAjaxError)}})}}static #a=(()=>dt7948.n(this.prototype,"onSelect",[s.action]))()},[(0,c.selectKitOptions)({showCaret:!0,showFullTitle:!0,none:"select_kit.components.bulk_select_bookmarks_dropdown.title"}),(0,r.classNames)("bulk-select-bookmarks-dropdown")])},24938:(e,t,i)=>{"use strict";let s,n;i.r(t),i.d(t,{default:()=>k,hashtagAutocompleteOptions:()=>_,hashtagTriggerRule:()=>f,setupHashtagAutocomplete:()=>g});var r=i(45916),a=i(96675),o=i(20559),l=i(28206),u=i(99148),d=i(30208),c=i(99307),p=i(47754),h=i(34057),m=i(31601);function g(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.autocomplete(_(e,i))}async function f(e){let{inCodeBlock:t}=e;return!await t()}function _(e,t){return{template:k,key:"#",scrollElementSelector:".hashtag-autocomplete__fadeout",autoSelectFirstSuggestion:!0,transformComplete:e=>e.ref,dataSource:t=>t.match(/\s/)?null:function(e,t){n&&(n.abort(),n=null),new Date-s>3e4&&(y={});let i=y[e];return i||new Promise(i=>{let n=(0,u.isTesting)()?null:(0,c.default)(()=>{i(m.CANCELLED_STATUS)},5e3);((e,t,i)=>{(0,l.default)(this,b,e,t,i,u.INPUT_DELAY)})(e,t,t=>{(0,r.cancel)(n),i(function(e,t){return y[e]=t,s=new Date,t}(e,t))})})}(t,e),triggerRule:async(e,t)=>await f(t),...t}}let y={};function b(e,t,i){return(n=(0,o.ajax)("/hashtags/search.json",{data:{term:e,order:t}})).then(e=>{e.results?.forEach(e=>{e.text=(0,a.htmlSafe)((0,p.emojiUnescape)((0,h.escapeExpression)(e.text)));let t={preloaded:!0,colors:e.colors,icon:e.icon,id:e.id};e.style_type&&(t.style_type=e.style_type),e.icon&&(t.icon=e.icon),e.emoji&&(t.emoji=e.emoji);let i=(0,d.getHashtagTypeClasses)()[e.type];e.icon=i.generateIconHTML(t)}),i(e.results||m.CANCELLED_STATUS)}).finally(()=>{n=null}),n}function w(e){let t=e.secondary_text?`(${(0,h.escapeExpression)(e.secondary_text)})`:"";return`
  • ${e.icon} ${e.text} ${t}
  • `}function k(e){let{options:t}=e;return`
      ${t.map(w).join("")}
    `}},25086:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(4089),n=i(13744),r=i(90831),a=i(56994),o=i(57364),l=i(9348),u=i(55888);class d extends(0,a.buildCategoryPanel)("localizations"){static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #i=(()=>dt7948.g(this.prototype,"languageNameLookup",[n.service]))();#i7=(()=>void dt7948.i(this,"languageNameLookup"))();get selectableLocales(){return[...this.siteSettings.available_content_localization_locales.map(e=>e.value),...this.transientData.localizations.map(e=>e.locale)].uniq().map(e=>({name:this.languageNameLookup.getLanguageName(e),value:e}))}static #n=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"3cMaIib9",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,["selectableLocales"]]],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))()}},25148:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addGlobalNotice:()=>f,default:()=>b});var s=i(9348),n=i(4089),r=i(66530),a=i(13744),o=i(96675),l=i(1848),u=i(11811),d=i(64119),c=i(6827),p=i(75009),h=i(57364),m=i(55888);let g=new p.DeferredTrackedSet;function f(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};g.add(y.create({text:e,id:t,options:i}))}let _="dismissed-global-notice-v2";class y extends r.default{static #e=(()=>dt7948.g(this.prototype,"logsNoticeService",[(0,a.service)("logsNotice")]))();#oo=(()=>void dt7948.i(this,"logsNoticeService"))();text=null;id=null;options=null;init(){super.init(...arguments),this.options=this.set("options",Object.assign({dismissable:!1,html:null,level:"info",persistentDismiss:!0,onDismiss:null,visibility:null,dismissDuration:null},this.options||{}))}}let b=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"keyValueStore",[a.service]))();#ol=(()=>void dt7948.i(this,"keyValueStore"))();static #i=(()=>dt7948.g(this.prototype,"logsNoticeService",[(0,a.service)("logsNotice")]))();#oo=(()=>void dt7948.i(this,"logsNoticeService"))();static #n=(()=>dt7948.g(this.prototype,"router",[a.service]))();#tH=(()=>void dt7948.i(this,"router"))();logNotice=null;constructor(){super(...arguments),this.logsNoticeService.addObserver("hidden",this._handleLogsNoticeUpdate),this.logsNoticeService.addObserver("text",this._handleLogsNoticeUpdate)}willDestroyElement(){super.willDestroyElement(...arguments),this.logsNoticeService.removeObserver("text",this._handleLogsNoticeUpdate),this.logsNoticeService.removeObserver("hidden",this._handleLogsNoticeUpdate)}get visible(){return!this.router.currentRouteName.startsWith("wizard.")}get notices(){let e=[];return"1"===(0,d.default)("dosp")&&((0,d.removeCookie)("dosp",{path:"/"}),e.push(y.create({text:this.siteSettings.login_required?(0,h.i18n)("forced_anonymous_login_required"):(0,h.i18n)("forced_anonymous"),id:"forced-anonymous"}))),this.session.get("safe_mode")&&e.push(y.create({text:(0,h.i18n)("safe_mode.enabled"),id:"safe-mode"})),this.site.get("isStaffWritesOnly")?e.push(y.create({text:(0,h.i18n)("staff_writes_only_mode.enabled"),id:"alert-staff-writes-only"})):this.site.get("isReadOnly")&&e.push(y.create({text:(0,h.i18n)("read_only_mode.enabled"),id:"alert-read-only"})),this.router.currentRoute?.queryParams?.preview_theme_id&&e.push(y.create({text:(0,h.i18n)("theme_preview_notice"),id:"theme-preview"})),"yes"===this.siteSettings.disable_emails?e.push(y.create({text:(0,h.i18n)("emails_are_disabled"),id:"alert-emails-disabled",options:{dismissable:!0,persistentDismiss:!1}})):"non-staff"===this.siteSettings.disable_emails&&e.push(y.create({text:(0,h.i18n)("emails_are_disabled_non_staff"),id:"alert-emails-disabled",options:{dismissable:!0,persistentDismiss:!1}})),this.siteSettings.global_notice?.length>0&&e.push(y.create({text:this.siteSettings.global_notice,id:"alert-global-notice"})),this.get("logNotice")&&e.push(this.get("logNotice")),e.concat(Array.from(g)).filter(e=>{if(e.options.visibility)return e.options.visibility(e);let t=`${_}-${e.id}`,i=this.keyValueStore.get(t);if(!i||!e.options.persistentDismiss)return!0;if(!e.options.dismissDuration)return!1;{let t=moment(i).add(e.options.dismissDuration);return moment().isAfter(t)}})}dismissNotice(e){e.options.onDismiss?.(e),e.options.persistentDismiss&&this.keyValueStore.set({key:`${_}-${e.id}`,value:moment().toISOString(!0)});let t=document.getElementById(`global-notice-${e.id}`);t&&(t.style.display="none")}static #a=(()=>dt7948.n(this.prototype,"dismissNotice",[r.action]))();_handleLogsNoticeUpdate(){let e=y.create({text:(0,o.htmlSafe)(this.logsNoticeService.message),id:"alert-logs-notice",options:{dismissable:!0,persistentDismiss:!1,visibility:()=>!this.logsNoticeService.hidden,onDismiss:()=>this.logsNoticeService.set("text","")}});this.set("logNotice",e)}static #l=(()=>dt7948.n(this.prototype,"_handleLogsNoticeUpdate",[c.bind]))();static #d=(()=>(0,s.setComponentTemplate)((0,m.createTemplateFactory)({id:"Qb4dhtk5",block:'[[[1,"\\n "],[10,0],[14,0,"global-notice"],[12],[1,"\\n"],[41,[30,0,["visible"]],[[[42,[28,[31,2],[[28,[31,2],[[30,0,["notices"]]],null]],null],null,[[[1," "],[10,0],[14,0,"row"],[12],[1,"\\n "],[10,0],[15,1,[29,["global-notice-",[30,1,["id"]]]]],[15,0,[29,["alert alert-",[30,1,["options","level"]]," ",[30,1,["id"]]]]],[12],[1,"\\n"],[41,[30,1,["options","html"]],[[[1," "],[1,[28,[32,0],[[30,1,["options","html"]]],null]],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,[28,[32,0],[[30,1,["text"]]],null]],[13],[1,"\\n\\n"],[41,[30,1,["options","dismissable"]],[[[1," "],[8,[32,1],[[24,0,"btn-transparent close"]],[["@icon","@action"],["xmark",[28,[32,2],[[30,0,["dismissNotice"]],[30,1]],null]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null]],[]],null],[1," "],[13],[1,"\\n "]],["notice"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/global-notice.js",scope:()=>[o.htmlSafe,u.default,n.fn],isStrictMode:!0}),this))()},[(0,l.tagName)("")])},25192:(e,t,i)=>{"use strict";i.r(t),i.d(t,{P:()=>w,Q:()=>k,S:()=>b,T:()=>T,U:()=>D,a:()=>u,b:()=>m,c:()=>y,d:()=>h,e:()=>r,f:()=>g,g:()=>f,h:()=>c,i:()=>C,l:()=>S,m:()=>d,p:()=>A,t:()=>a});var s=i(93579);function n(){let e=Error("TransitionAborted");return e.name="TransitionAborted",e.code="TRANSITION_ABORTED",e}function r(e){return"object"==typeof e&&null!==e&&"TRANSITION_ABORTED"===e.code}function a(e){if(function(e){return"object"==typeof e&&null!==e&&"boolean"==typeof e.isAborted}(e)&&e.isAborted)throw n()}let o=Array.prototype.slice,l=Object.prototype.hasOwnProperty;function u(e){return null!==e&&"object"==typeof e&&"function"==typeof e.then}function d(e,t){for(let i in t)l.call(t,i)&&(e[i]=t[i])}function c(e){let t=e&&e.length,i;if(t&&t>0){let s=e[t-1];if(function(e){return!!e&&"object"==typeof e&&"queryParams"in e&&Object.keys(e.queryParams).every(e=>"string"==typeof e)}(s))return i=s.queryParams,[o.call(e,0,t-1),i]}return[e,null]}function p(e){for(let t in e){let i=e[t];if("number"==typeof i)e[t]=""+i;else if(Array.isArray(i))for(let e=0,t=i.length;e1?t-1:0),s=1;s3&&void 0!==arguments[3]?arguments[3]:void 0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;if(this.from=null,this.to=void 0,this.isAborted=!1,this.isActive=!0,this.urlMethod="update",this.resolveIndex=0,this.queryParamsOnly=!1,this.isTransition=!0,this.isCausedByAbortingTransition=!1,this.isCausedByInitialTransition=!1,this.isCausedByAbortingReplaceTransition=!1,this._visibleQueryParams={},this.isIntermediate=!1,this[b]=i||e.state,this.intent=t,this.router=e,this.data=t&&t.data||{},this.resolvedModels={},this[k]={},this.promise=void 0,this.error=void 0,this[w]={},this.routeInfos=[],this.targetName=void 0,this.pivotHandler=void 0,this.sequence=-1,n){this.promise=s.P.reject(n),this.error=n;return}if(this.isCausedByAbortingTransition=!!r,this.isCausedByInitialTransition=!!r&&(r.isCausedByInitialTransition||0===r.sequence),this.isCausedByAbortingReplaceTransition=!!r&&"replace"===r.urlMethod&&(!r.isCausedByAbortingTransition||r.isCausedByAbortingReplaceTransition),i){this[w]=i.params,this[k]=i.queryParams,this.routeInfos=i.routeInfos;let t=i.routeInfos.length;t&&(this.targetName=i.routeInfos[t-1].name);for(let e=0;e{throw this.router.transitionDidError(e,this)},y("Handle Abort"))}else this.promise=s.P.resolve(this[b]),this[w]={}}then(e,t,i){return this.promise.then(e,t,i)}catch(e,t){return this.promise.catch(e,t)}finally(e,t){return this.promise.finally(e,t)}abort(){this.rollback();let e=new T(this.router,void 0,void 0,void 0);return e.to=this.from,e.from=this.from,e.isAborted=!0,this.router.routeWillChange(e),this.router.routeDidChange(e),this}rollback(){this.isAborted||(h(this.router,this.sequence,this.targetName+": transition was aborted"),void 0!==this.intent&&null!==this.intent&&(this.intent.preTransitionState=this.router.state),this.isAborted=!0,this.isActive=!1,this.router.activeTransition=void 0)}redirect(e){this.rollback(),this.router.routeWillChange(e)}retry(){this.abort();let e=this.router.transitionByIntent(this.intent,!1);return null!==this.urlMethod&&e.method(this.urlMethod),e}method(e){return this.urlMethod=e,this}send(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0;this.trigger(e,t,i,s,n)}trigger(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;"string"==typeof e&&(t=e,e=!1);for(var i=arguments.length,s=Array(i>2?i-2:0),n=2;n{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(44769),n=i(45916),r=i(81430),a=i(3521),o=i(12727),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 #i=(()=>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 #n=(()=>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 #a=(()=>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)}}},25219:(e,t,i)=>{"use strict";i.r(t),(0,i(23419).createWidget)("menu-panel",{tagName:"div.menu-panel",template:function(e,t){var i=[];i.push(` `);var s=[];s.push(` `);var n=[];return n.push(` `),n.push(this.attrs.contents()),n.push(` `),s.push(virtualDom.h("div",{className:"panel-body-contents",attributes:{}},n)),s.push(` `),i.push(virtualDom.h("div",{className:"panel-body",attributes:{}},s)),i.push(` `),i},buildAttributes(e){if(e.maxWidth)return{"data-max-width":e.maxWidth}}})},25278:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(4089),n=i(90098),r=i(91160),a=i(42766),o=i(57364),l=i(9348),u=i(55888),d=i(74975);let c=(0,n.default)((0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"T2ZgEN0R",block:'[[[1,"\\n "],[8,[32,0],null,[["@action"],[[28,[32,1],[[30,1,["closeMessage"]],[30,1,["message"]]],null]]],null],[1,"\\n\\n "],[10,"h3"],[12],[1,[28,[32,2],["composer.similar_topics"],null]],[13],[1,"\\n\\n "],[10,"ul"],[14,0,"topics"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["message","similarTopics"]]],null]],null],null,[[[1," "],[10,0],[14,0,"similar-topic"],[12],[1,"\\n "],[8,[32,3],null,[["@result","@withTopicUrl"],[[30,2],true]],null],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "]],["@controller","topic"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/composer/similar-topics.js",scope:()=>[r.default,s.fn,o.i18n,a.default],isStrictMode:!0}),(0,d.default)(void 0,void 0)))},25334:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CLASS_NAME:()=>a,default:()=>o});var s=i(58670),n=i(39960),r=i(46067);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)}}},25454:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(9348),n=i(58452),r=i(66530),a=i(45916),o=i(13744),l=i(96675),u=i(1848),d=i(72825),c=i(30587),p=i.n(c),h=i(71773),m=i(55888);let g=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[o.service]))();#tH=(()=>void dt7948.i(this,"router"))();selectedHtml=null;_init(){if(this.site.desktopView){let e=this.desktopClass;e&&(e=e.split(" "),this.set("classNames",e))}}static #i=(()=>dt7948.n(this.prototype,"_init",[(0,d.on)("init")]))();currentRouteChanged(){this.set("expanded",!1),(0,a.next)(()=>this._updateSelectedHtml())}_updateSelectedHtml(){if(!this.element||this.isDestroying||this.isDestroyed)return;let e=this.element.querySelector(".active");e&&e.innerHTML&&this.set("selectedHtml",e.innerHTML)}didInsertElement(){super.didInsertElement(...arguments),this._updateSelectedHtml(),this.router.on("routeDidChange",this,this.currentRouteChanged)}willDestroyElement(){super.willDestroyElement(...arguments),this.router.off("routeDidChange",this,this.currentRouteChanged)}toggleExpanded(e){e?.preventDefault(),this.toggleProperty("expanded"),(0,a.next)(()=>{this.expanded&&p()(window).off("click.mobile-nav").on("click.mobile-nav",e=>{if(!this.element||this.isDestroying||this.isDestroyed)return;let t=this.element.querySelector(".expander");t&&e.target!==t&&(this.set("expanded",!1),p()(window).off("click.mobile-nav"))})})}static #n=(()=>dt7948.n(this.prototype,"toggleExpanded",[r.action]))();static #a=(()=>(0,s.setComponentTemplate)((0,m.createTemplateFactory)({id:"IpwKV9xd",block:'[[[1,"\\n"],[41,[30,0,["site","mobileView"]],[[[41,[30,0,["selectedHtml"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[11,3],[24,6,""],[24,0,"expander"],[4,[32,0],["click",[30,0,["toggleExpanded"]]],null],[12],[1,"\\n "],[10,1],[14,0,"selection"],[12],[1,[28,[32,1],[[30,0,["selectedHtml"]]],null]],[13],[1,"\\n "],[1,[28,[32,2],["caret-down"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,"ul"],[15,0,[29,["drop ",[52,[30,0,["expanded"]],"expanded"]]]],[12],[1,"\\n "],[18,1,null],[1,"\\n "],[13],[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/mobile-nav.js",scope:()=>[n.on,l.htmlSafe,h.default],isStrictMode:!0}),this))()},[(0,u.classNames)("mobile-nav"),(0,u.tagName)("ul")])},25486:(e,t,i)=>{e.exports=i(99045)},25490:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(42154),n=i(9348),r=i(55888),a=i(74975);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"Bcyvi4Fx",block:'[[[1,"\\n "],[8,[32,0],null,[["@sortable","@number","@order","@activeOrder","@changeSort","@ascending","@name"],[[30,1],"true","views",[30,2],[30,3],[30,4],"views"]],null],[1,"\\n"]],["@sortable","@activeOrder","@changeSort","@ascending"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/header/views-cell.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"views-cell:ViewsCell"))},25520:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(42154),n=i(9348),r=i(55888),a=i(74975);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"1okflZmY",block:'[[[1,"\\n "],[8,[32,0],null,[["@sortable","@number","@order","@activeOrder","@changeSort","@ascending","@name"],[[30,1],"true","posts",[30,2],[30,3],[30,4],"replies"]],null],[1,"\\n"]],["@sortable","@activeOrder","@changeSort","@ascending"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/header/replies-cell.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"replies-cell:RepliesCell"))},25530:(e,t,i)=>{"use strict";function s(e){return e.filter(e=>!(e=>"error"in e&&!!e.error)(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})},25534:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(90831),n=i(71773),r=i(95506),a=i(9348),o=i(55888),l=i(74975);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"))},25563:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(22106),n=i(9348),r=i(55888),a=i(74975);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"wG10/z8Q",block:'[[[1,"\\n "],[11,0],[16,0,[28,[32,0],["form-kit__section",[30,1]],null]],[17,2],[12],[1,"\\n"],[41,[30,3],[[[1," "],[10,"h2"],[14,0,"form-kit__section-title"],[12],[1,[30,3]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,4],[[[1," "],[10,1],[14,0,"form-kit__section-subtitle"],[12],[1,[30,4]],[13],[1,"\\n"]],[]],null],[1,"\\n "],[18,5,null],[1,"\\n "],[13],[1,"\\n"]],["@class","&attrs","@title","@subtitle","&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/section.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"section:FKSection"))},25574:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(96675),n=i(43952),r=i(62931);function a(e){return(0,n.default)("formatAge helper is deprecated. Use ageWithTooltip instead.",{since:"3.5.0.beta5-dev",id:"discourse.format-age"}),(0,s.htmlSafe)((0,r.autoUpdatingRelativeAge)(new Date(e)))}},25587:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(24698),n=i(40779),r=i(58452),a=i(66530),o=i(13744),l=i(11811),u=i(76586),d=i(86745),c=i(15224),p=i(15749),h=i(20559),m=i(72172),g=i(57364),f=i(88444),_=i.n(f),y=i(9348),b=i(55888);class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[o.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #n=(()=>dt7948.g(this.prototype,"showPreview",[n.tracked],function(){return!1}))();#ou=(()=>void dt7948.i(this,"showPreview"))();togglePreview(){this.showPreview=!this.showPreview}static #a=(()=>dt7948.n(this.prototype,"togglePreview",[a.action]))();editTemplate(){this.router.transitionTo("adminCustomizeFormTemplates.edit",this.args.model)}static #l=(()=>dt7948.n(this.prototype,"editTemplate",[a.action]))();deleteTemplate(){return this.dialog.yesNoConfirm({message:(0,g.i18n)("admin.form_templates.delete_confirm",{template_name:this.args.model.name}),didConfirm:()=>{(0,h.ajax)(`/admin/customize/form-templates/${this.args.model.id}.json`,{type:"DELETE"}).then(()=>{this.args.refreshModel()}).catch(m.popupAjaxError)}})}static #d=(()=>dt7948.n(this.prototype,"deleteTemplate",[a.action]))();static #p=(()=>(0,y.setComponentTemplate)((0,b.createTemplateFactory)({id:"48yDYrc+",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"customize-form-template-view-modal"]],[["@title","@closeModal"],[[30,1,["name"]],[30,2]]],[["body","footer"],[[[[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[8,[32,1],[[24,0,"form-templates__preview-toggle"],[4,[32,2],["click",[30,0,["togglePreview"]]],null]],[["@state","@label"],[[30,0,["showPreview"]],"admin.form_templates.view_template.toggle_preview"]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["showPreview"]],[[[1," "],[8,[32,3],null,[["@id"],[[30,1,["id"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,4],null,[["@lang","@code"],["yaml",[30,1,["template"]]]],null],[1,"\\n"]],[]]],[1," "]],[]],[[[1,"\\n "],[8,[32,5],[[24,0,"btn-primary"]],[["@action","@icon","@label"],[[30,0,["editTemplate"]],"pencil","admin.form_templates.view_template.edit"]],null],[1,"\\n "],[8,[32,6],null,[["@close"],[[30,2]]],null],[1,"\\n "],[8,[32,5],[[24,0,"btn-danger"]],[["@action","@icon","@label"],[[30,0,["deleteTemplate"]],"trash-can","admin.form_templates.view_template.delete"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@model","@closeModal"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/customize-form-template-view.js",scope:()=>[u.default,c.default,r.on,p.default,_(),l.default,d.default],isStrictMode:!0}),this))()}},25602:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});let s=(0,i(92444).lQ)("after-frame-paint");function n(e){let t=s.beginAsync();requestAnimationFrame(()=>{let i=new MessageChannel;i.port1.onmessage=()=>{s.endAsync(t),e()},i.port2.postMessage(void 0)})}},25644:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(24698),n=i(4089),r=i(66530),a=i(45916),o=i(13744),l=i(96675),u=i(11811),d=i(383),c=i(6692),p=i(61104),h=i(87609),m=i(72172),g=i(51715),f=i(57364),_=i(9348),y=i(55888);class b extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #i=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #n=(()=>dt7948.g(this.prototype,"capabilities",[o.service]))();#ij=(()=>void dt7948.i(this,"capabilities"))();static #a=(()=>dt7948.g(this.prototype,"router",[o.service]))();#tH=(()=>void dt7948.i(this,"router"))();get showActions(){return this.currentUser.id===this.args.model.id&&!this.capabilities.isAppWebview}async createPasskey(){try{let e=await this.args.model.createPasskey(),t={challenge:Uint8Array.from(e.challenge,e=>e.charCodeAt(0)),rp:{name:e.rp_name,id:e.rp_id},user:{id:Uint8Array.from(e.user_secure_id,e=>e.charCodeAt(0)),name:this.currentUser.username,displayName:this.currentUser.username},pubKeyCredParams:e.supported_algorithms.map(e=>({type:"public-key",alg:e})),excludeCredentials:e.existing_passkey_credential_ids.map(e=>({type:"public-key",id:(0,g.stringToBuffer)(atob(e))})),authenticatorSelection:{userVerification:"required",requireResidentKey:!0}},i=await navigator.credentials.create({publicKey:t,signal:g.WebauthnAbortHandler.signal()}),s={id:i.id,rawId:(0,g.bufferToBase64)(i.rawId),type:i.type,attestation:(0,g.bufferToBase64)(i.response.attestationObject),clientData:(0,g.bufferToBase64)(i.response.clientDataJSON),name:(0,f.i18n)("user.passkeys.name.default")},n=await this.args.model.registerPasskey(s);if(n.error)return void this.dialog.alert(n.error);this.router.refresh(),this.dialog.dialog({title:(0,f.i18n)("user.passkeys.passkey_successfully_created"),type:"notice",bodyComponent:p.default,bodyComponentModel:n})}catch(e){console.error(e),this.errorMessage="InvalidStateError"===e.name?(0,f.i18n)("user.passkeys.already_added_error"):(0,f.i18n)("user.passkeys.not_allowed_error"),this.dialog.alert(this.errorMessage)}}confirmDelete(e){(0,a.schedule)("afterRender",()=>{this.dialog.deleteConfirm({title:(0,f.i18n)("user.passkeys.confirm_delete_passkey"),didConfirm:()=>{this.args.model.deletePasskey(e).then(e=>{e.success?this.router.refresh():this.dialog.alert(e.message)})}})})}async addPasskey(){try{(await this.args.model.trustedSession()).success?await this.createPasskey():this.dialog.dialog({title:(0,f.i18n)("user.confirm_access.title"),type:"notice",bodyComponent:d.default,didConfirm:()=>this.createPasskey()})}catch(e){(0,m.popupAjaxError)(e)}}static #l=(()=>dt7948.n(this.prototype,"addPasskey",[r.action]))();async deletePasskey(e){try{(await this.args.model.trustedSession()).success?this.confirmDelete(e):this.dialog.dialog({title:(0,f.i18n)("user.confirm_access.title"),type:"notice",bodyComponent:d.default,didConfirm:()=>this.confirmDelete(e)})}catch(e){(0,m.popupAjaxError)(e)}}static #d=(()=>dt7948.n(this.prototype,"deletePasskey",[r.action]))();renamePasskey(e,t){this.dialog.dialog({title:(0,f.i18n)("user.passkeys.rename_passkey"),type:"notice",bodyComponent:p.default,bodyComponentModel:{id:e,name:t}})}static #p=(()=>dt7948.n(this.prototype,"renamePasskey",[r.action]))();static #m=(()=>(0,_.setComponentTemplate)((0,y.createTemplateFactory)({id:"WtAUhyvw",block:'[[[1,"\\n "],[10,0],[14,0,"control-group pref-passkeys"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,"\\n "],[1,[28,[32,0],["user.passkeys.title"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[28,[32,0],["user.passkeys.short_description"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"pref-passkeys__rows"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["user_passkeys"]]],null]],null],null,[[[1," "],[10,0],[14,0,"row"],[12],[1,"\\n "],[10,0],[14,0,"passkey-left"],[12],[1,"\\n "],[10,0],[14,0,"row-passkey__name"],[12],[1,[30,2,["name"]]],[13],[1,"\\n "],[10,0],[14,0,"row-passkey__created-date"],[12],[1,"\\n "],[1,[28,[32,1],[[28,[32,0],["user.passkeys.added_date"],[["date"],[[28,[32,2],[[30,2,["created_at"]]],[["format","leaveAgo"],["medium","true"]]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"row-passkey__used-date"],[12],[1,"\\n"],[41,[30,2,["last_used"]],[[[1," "],[1,[28,[32,1],[[28,[32,0],["user.passkeys.last_used_date"],[["date"],[[28,[32,2],[[30,2,["last_used"]]],[["format","leaveAgo"],["medium","true"]]]]]]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["user.passkeys.never_used"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["showActions"]],[[[1," "],[10,0],[14,0,"passkey-right"],[12],[1,"\\n "],[10,0],[14,0,"actions"],[12],[1,"\\n "],[8,[32,3],null,[["@deletePasskey","@renamePasskey"],[[28,[32,4],[[30,0,["deletePasskey"]],[30,2,["id"]]],null],[28,[32,4],[[30,0,["renamePasskey"]],[30,2,["id"]],[30,2,["name"]]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["showActions"]],[[[1," "],[10,0],[14,0,"controls pref-passkeys__add"],[12],[1,"\\n "],[8,[32,5],null,[["@action","@icon","@label"],[[30,0,["addPasskey"]],"plus","user.passkeys.add_passkey"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@model","passkey"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-preferences/user-passkeys.js",scope:()=>[f.i18n,l.htmlSafe,h.default,c.default,n.fn,u.default],isStrictMode:!0}),this))()}},25667:(e,t,i)=>{var s=i(5303),n=i(12522),r=i(48140),a=Math.max,o=Math.min;e.exports=function(e,t,i){var l,u,d,c,p,h,m=0,g=!1,f=!1,_=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var i=l,s=u;return l=u=void 0,m=t,c=e.apply(s,i)}function b(e){var i=e-h,s=e-m;return void 0===h||i>=t||i<0||f&&s>=d}function w(){var e=n();if(b(e))return k(e);p=setTimeout(w,function(e){var i=e-h,s=e-m,n=t-i;return f?o(n,d-s):n}(e))}function k(e){return(p=void 0,_&&l)?y(e):(l=u=void 0,c)}function T(){var e=n(),i=b(e);if(l=arguments,u=this,h=e,i){if(void 0===p)return function(e){return m=e,p=setTimeout(w,t),g?y(e):c}(h);if(f)return clearTimeout(p),p=setTimeout(w,t),y(h)}return void 0===p&&(p=setTimeout(w,t)),c}return t=r(t)||0,s(i)&&(g=!!i.leading,d=(f="maxWait"in i)?a(r(i.maxWait)||0,t):d,_="trailing"in i?!!i.trailing:_),T.cancel=function(){void 0!==p&&clearTimeout(p),m=0,l=h=u=p=void 0},T.flush=function(){return void 0===p?c:k(n())},T}},25670:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698),n=i(13744),r=i(79401),a=i(56367),o=i(46386),l=i(95506),u=i(57364),d=i(9348),c=i(55888);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();get ratio(){let e=parseFloat(this.args.topic.like_count),t=parseFloat(this.args.topic.posts_count);return t<10?0:(e||0)/t}get title(){return u.i18n.messageFormat("posts_likes_MF",{count:this.args.topic.replyCount,ratio:this.ratioText}).trim()}get ratioText(){return this.ratio>this.siteSettings.topic_post_like_heat_high?"high":this.ratio>this.siteSettings.topic_post_like_heat_medium?"med":this.ratio>this.siteSettings.topic_post_like_heat_low?"low":""}get likesHeat(){if(this.ratioText?.length)return`heatmap-${this.ratioText}`}get wrapperElement(){return(0,a.default)(this.args.tagName??"td")}static #i=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"oxI+ClAC",block:'[[[1,"\\n "],[8,[30,0,["wrapperElement"]],[[16,0,[29,["num posts-map posts ",[30,0,["likesHeat"]]," topic-list-data"]]]],null,[["default"],[[[[1,"\\n "],[10,3],[15,6,[30,1,["firstPostUrl"]]],[14,0,"badge-posts"],[15,"aria-label",[28,[32,0],["topic.reply_count_link"],[["count"],[[30,1,["replyCount"]]]]]],[12],[1,"\\n "],[8,[32,1],null,[["@name","@outletArgs"],["topic-list-before-reply-count",[28,[32,2],null,[["topic"],[[30,1]]]]]],null],[1,"\\n "],[1,[28,[32,3],[[30,1,["replyCount"]]],[["noTitle"],["true"]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@topic"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/item/replies-cell.js",scope:()=>[u.i18n,r.default,o.default,l.default],isStrictMode:!0}),this))()}},25706:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(90098),n=i(79401),r=i(84134),a=i(46386),o=i(9348),l=i(55888),u=i(74975);let d=(0,s.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"Suol7RC/",block:'[[[1,"\\n "],[8,[32,0],null,[["@model"],[[30,1]]],null],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,1],null,[["@name","@connectorTagName","@outletArgs"],["user-preferences-apps","div",[28,[32,2],null,[["model"],[[30,2,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "]],["@model","@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/preferences/apps.js",scope:()=>[r.default,n.default,a.default],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},25824:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(13744),n=i(65677),r=i(57364);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();model(){let e=this.modelFor("user");return e.get("profile_hidden")?this.router.replaceWith("user.profile-hidden"):e.summary()}titleToken(){return(0,r.i18n)("user.summary.title")}}},25846:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(9348),n=i(79401),r=i(8229),a=i(46734),o=i(46386),l=i(95388),u=i(55888);class d extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,u.createTemplateFactory)({id:"jEJsb7C2",block:'[[[1,"\\n"],[41,[51,[30,0,["topic","isPrivateMessage"]]],[[[1," "],[1,[28,[32,0],[[30,0,["topic","category"]]],[["ancestors","hideParent"],[[30,0,["topic","category","predecessors"]],true]]]],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"topic-header-extra"],[12],[1,"\\n"],[41,[30,0,["siteSettings","tagging_enabled"]],[[[1," "],[10,0],[14,0,"list-tags"],[12],[1,"\\n "],[1,[28,[32,1],[[30,0,["topic"]]],[["mode","tags"],["list",[30,0,["topic","tags"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["siteSettings","topic_featured_link_enabled"]],[[[1," "],[1,[28,[32,2],[[30,0,["topic"]]],null]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,3],null,[["@name","@connectorTagName","@outletArgs"],["topic-category","div",[28,[32,4],null,[["topic","category"],[[30,0,["topic"]],[30,0,["topic","category"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "]],[],false,["unless","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-category.js",scope:()=>[r.default,a.default,l.default,n.default,o.default],isStrictMode:!0}),this))()}},25919:(e,t,i)=>{"use strict";function s(e,t){return!0===e?Object.keys(t):Array.isArray(e)?e:[]}i.d(t,{A:()=>s})},25950:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(81845),n=i(66530),r=i(58295),a=i(13744),o=i(98824),l=i(383),u=i(75660),d=i(20559),c=i(72172),p=i(24847),h=i(27090),m=i(6827),g=i(70227),f=i(86232),_=i(51715),y=i(57364);class b extends s.default{static #e=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#tq=(()=>void dt7948.i(this,"modal"))();static #i=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #n=(()=>dt7948.g(this.prototype,"router",[a.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #a=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #l=(()=>dt7948.g(this.prototype,"canModeratorsViewEmails",[(0,h.setting)("moderators_view_emails")]))();#od=(()=>void dt7948.i(this,"canModeratorsViewEmails"))();passwordProgress=null;subpageTitle=(()=>(0,y.i18n)("user.preferences_nav.security"))();showAllAuthTokens=!1;static #d=(()=>dt7948.g(this.prototype,"canShowAllAuthTokens",[(0,r.gt)("model.user_auth_tokens.length",2)]))();#oc=(()=>void dt7948.i(this,"canShowAllAuthTokens"))();get canCheckEmails(){return new p.default(this.model.id,this.canModeratorsViewEmails,this.currentUser).canCheckEmails}static #p=(()=>dt7948.n(this.prototype,"canCheckEmails",[(0,n.computed)("model.id","currentUser.id")]))();get isCurrentUser(){return this.currentUser?.id===this.model.id}get canUsePasskeys(){return!this.siteSettings.enable_discourse_connect&&this.siteSettings.enable_local_logins&&this.siteSettings.enable_passkeys&&(0,_.isWebauthnSupported)()}canChangePassword(e){return!e&&!this.siteSettings.enable_discourse_connect&&this.siteSettings.enable_local_logins}static #m=(()=>dt7948.n(this.prototype,"canChangePassword",[(0,m.default)("model.is_anonymous")]))();authTokens(e,t){return t.sort((e,t)=>e.is_active?-1:t.is_active?1:t.seen_at.localeCompare(e.seen_at)),e?t:t.slice(0,2)}static #f=(()=>dt7948.n(this.prototype,"authTokens",[(0,m.default)("showAllAuthTokens","model.user_auth_tokens")]))();changePassword(e){if(e?.preventDefault(),!this.passwordProgress)return this.set("passwordProgress",(0,y.i18n)("user.change_password.in_progress")),this.model.changePassword().then(()=>{this.setProperties({changePasswordProgress:!1,passwordProgress:(0,y.i18n)("user.change_password.success")})}).catch(()=>{this.setProperties({changePasswordProgress:!1,passwordProgress:(0,y.i18n)("user.change_password.error")})})}static #y=(()=>dt7948.n(this.prototype,"changePassword",[n.action]))();canRemovePassword(e,t,i,s,n){return!e&&!t&&!i.enable_discourse_connect&&!!i.enable_local_logins&&(n?.length>0||this.canUsePasskeys&&s?.length>0)}static #v=(()=>dt7948.n(this.prototype,"canRemovePassword",[(0,m.default)("model.is_anonymous","model.no_password","siteSettings","model.user_passkeys","model.associated_accounts")]))();associatedAccountsLoaded(e){return"undefined"!==(0,o.default)(e)}static #k=(()=>dt7948.n(this.prototype,"associatedAccountsLoaded",[(0,m.default)("model.associated_accounts")]))();removePasswordConfirm(){this.dialog.deleteConfirm({title:(0,y.i18n)("user.change_password.remove"),message:(0,y.i18n)("user.change_password.remove_detail"),confirmButtonLabel:"user.change_password.remove",confirmButtonIcon:"trash-can",didConfirm:()=>{this.set("removePasswordInProgress",!0),this.model.removePassword().then(e=>{this.set("removePasswordInProgress",!1),e.success&&this.model.set("no_password",!0)}).catch(e=>{this.set("removePasswordInProgress",!1),(0,c.popupAjaxError)(e)})}})}async removePassword(e){if(e?.preventDefault(),!this.removePasswordInProgress)try{(await this.model.trustedSession()).success?this.removePasswordConfirm():this.dialog.dialog({title:(0,y.i18n)("user.confirm_access.title"),type:"notice",bodyComponent:l.default,didConfirm:()=>this.removePasswordConfirm()})}catch(e){(0,c.popupAjaxError)(e)}}static #S=(()=>dt7948.n(this.prototype,"removePassword",[n.action]))();toggleShowAllAuthTokens(e){e?.preventDefault(),this.toggleProperty("showAllAuthTokens")}static #A=(()=>dt7948.n(this.prototype,"toggleShowAllAuthTokens",[n.action]))();revokeAuthToken(e,t){t?.preventDefault(),(0,d.ajax)((0,f.userPath)(`${this.get("model.username_lower")}/preferences/revoke-auth-token`),{type:"POST",data:e?{token_id:e.id}:{}}).then(()=>{e||(0,g.default)()}).catch(c.popupAjaxError)}static #M=(()=>dt7948.n(this.prototype,"revokeAuthToken",[n.action]))();async manage2FA(){try{(await this.model.trustedSession()).success?await this.router.transitionTo("preferences.second-factor"):this.dialog.dialog({title:(0,y.i18n)("user.confirm_access.title"),type:"notice",bodyComponent:l.default,didConfirm:()=>this.router.transitionTo("preferences.second-factor")})}catch(e){(0,c.popupAjaxError)(e)}}static #E=(()=>dt7948.n(this.prototype,"manage2FA",[n.action]))();save(){return this.set("saved",!1),this.model.then(()=>this.set("saved",!0)).catch(c.popupAjaxError)}static #P=(()=>dt7948.n(this.prototype,"save",[n.action]))();showToken(e){this.modal.show(u.default,{model:e})}static #I=(()=>dt7948.n(this.prototype,"showToken",[n.action]))()}},25968:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addAdvancedSearchOptions:()=>z,default:()=>V});var s=i(9348),n=i(4089),r=i(58452),a=i(66530),o=i(1848),l=i(11811),u=i(50501),d=i(79401),c=i(71773),p=i(46386),h=i(38858),m=i(34057),g=i(98174),f=i(57364),_=i(44093),y=i(95963),b=i(99539),w=i(15188),k=i(55888);let T=/(([^" \t\n\x0B\f\r]+)?(("[^"]+")?))/g,S=/^(user:|@)/gi,C=/^(category:|#)/gi,A=/^(tags?:|#(?=[a-z0-9\-]+::tag))/gi,D=/^(in|with):/gi,M=/^status:/gi,x=/^min_posts:/gi,E=/^max_posts:/gi,L=/^min_views:/gi,P=/^max_views:/gi,F=/^(before|after):/gi,I=/(^(tags?:|#(?=[a-z0-9\-]+::tag))|::tag\s?$)/gi,N=/^in:likes$/gi,O=/^in:title$/gi,j=/^in:(personal|messages)$/gi,R=/^in:seen$/gi,U=/^(\#[a-zA-Z0-9\-:]+)/gi,B=/^(category:[0-9]+)/gi,H=/^(before|after)/gi,Y={images:"with"},q=[];function $(){return[{name:(0,f.i18n)("search.advanced.filters.first"),value:"first"},{name:(0,f.i18n)("search.advanced.filters.pinned"),value:"pinned"},{name:(0,f.i18n)("search.advanced.filters.wiki"),value:"wiki"},{name:(0,f.i18n)("search.advanced.filters.images"),value:"images"}].concat(...q.map(e=>e.inOptionsForAll).filter(Boolean))}function z(e){q.push(e)}let V=dt7948.c(class extends s.default{category=null;init(){super.init(...arguments),this.setProperties({searchedTerms:{username:null,category:null,tags:null,in:null,special:{in:{title:!1,likes:!1,messages:!1,seen:!1},all_tags:!1},status:null,min_posts:null,max_posts:null,min_views:null,max_views:null,time:{when:"before",days:null}},inOptions:this.currentUser?(function(){return[{name:(0,f.i18n)("search.advanced.filters.unseen"),value:"unseen"},{name:(0,f.i18n)("search.advanced.filters.posted"),value:"posted"},{name:(0,f.i18n)("search.advanced.filters.created"),value:"created"},{name:(0,f.i18n)("search.advanced.filters.watching"),value:"watching"},{name:(0,f.i18n)("search.advanced.filters.tracking"),value:"tracking"},{name:(0,f.i18n)("search.advanced.filters.bookmarks"),value:"bookmarks"}].concat(...q.map(e=>e.inOptionsForUsers).filter(Boolean))})().concat($()):$(),statusOptions:function(){return[{name:(0,f.i18n)("search.advanced.statuses.open"),value:"open"},{name:(0,f.i18n)("search.advanced.statuses.closed"),value:"closed"},{name:(0,f.i18n)("search.advanced.statuses.public"),value:"public"},{name:(0,f.i18n)("search.advanced.statuses.archived"),value:"archived"},{name:(0,f.i18n)("search.advanced.statuses.noreplies"),value:"noreplies"},{name:(0,f.i18n)("search.advanced.statuses.single_user"),value:"single_user"}].concat(...q.map(e=>e.statusOptions).filter(Boolean))}(),postTimeOptions:function(){return[{name:(0,f.i18n)("search.advanced.post.time.before"),value:"before"},{name:(0,f.i18n)("search.advanced.post.time.after"),value:"after"}].concat(...q.map(e=>e.postTimeOptions).filter(Boolean))}(),showAllTagsCheckbox:!1})}didReceiveAttrs(){super.didReceiveAttrs(...arguments),this.setSearchedTermValue("searchedTerms.username",S),this.setSearchedTermValueForCategory(),this.setSearchedTermValueForTags();let e=this.inOptions.map(e=>e.value).join("|"),t=RegExp(`(in|with):(${e})`,"i");this.setSearchedTermValue("searchedTerms.in",D,t),this.setSearchedTermSpecialInValue("searchedTerms.special.in.likes",N),this.setSearchedTermSpecialInValue("searchedTerms.special.in.title",O),this.setSearchedTermSpecialInValue("searchedTerms.special.in.messages",j),this.setSearchedTermSpecialInValue("searchedTerms.special.in.seen",R);let i=this.statusOptions.map(e=>e.value).join("|"),s=RegExp(`status:(${i})`,"i");this.setSearchedTermValue("searchedTerms.status",M,s),this.setSearchedTermValueForPostTime(),this.setSearchedTermValue("searchedTerms.min_posts",x),this.setSearchedTermValue("searchedTerms.max_posts",E),this.setSearchedTermValue("searchedTerms.min_views",L),this.setSearchedTermValue("searchedTerms.max_views",P)}findSearchTerms(){let e=(0,m.escapeExpression)(this.searchTerm);if(!e)return[];let t=e.match(T);if(!t)return[];let i=[];return t.forEach(e=>{0!==e.length&&i.push(e)}),i}filterBlocks(e){let t=this.findSearchTerms();if(!t)return[];let i=[];return t.forEach(t=>{-1!==t.search(e)&&i.push(t)}),i}setSearchedTermValue(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;i=i||t;let s=this.filterBlocks(i),n=this.get(e);if(0!==s.length){let i=s[0].replace(t,"").toLowerCase();n!==i&&i.length&&this.set(e,i)}else n&&0!==n.length&&this.set(e,null)}setSearchedTermSpecialInValue(e,t){0!==this.filterBlocks(t).length?!0!==this.get(e)&&this.set(e,!0):!1!==this.get(e)&&this.set(e,!1)}setSearchedTermValueForCategory(){let e=this.filterBlocks(C);if(0!==e.length){let t,i=this.get("searchedTerms.category"),s=e[0].replace(C,"").split(":");s.length>1?t=g.default.list().find(e=>e.get("parentCategory.slug")===s[0]&&e.slug===s[1]):(t=g.default.list().find(e=>!e.parentCategory&&e.slug===s[0]))||(t=g.default.list().find(e=>e.slug===s[0])),(!i&&t||i&&t&&i.id!==t.id)&&this.set("searchedTerms.category",t)}else this.set("searchedTerms.category",null)}setSearchedTermValueForTags(){if(!this.siteSettings.tagging_enabled)return;let e=this.filterBlocks(A),t=this.get("searchedTerms.tags");e.length&&this.set("searchedTerms.special.all_tags",e[0].includes("+"));let i=this.get("searchedTerms.special.all_tags");if(0!==e.length){let s=i?"+":",",n=Array.isArray(t)?t.join(s):t,r=e[0].replace(I,"");if(n!==r){let e=r?.split(s);this.set("searchedTerms.tags",e),this.set("showAllTagsCheckbox",e.length>1)}}else t||this.set("searchedTerms.tags",null)}setSearchedTermValueForPostTime(){let e=this.filterBlocks(F);if(0!==e.length){let t=this.get("searchedTerms.time.when"),i=e[0].match(H)[0].toLowerCase(),s=this.get("searchedTerms.time.days"),n=e[0].replace(F,""),r={};t!==i&&(r["searchedTerms.time.when"]=i),s!==n&&(r["searchedTerms.time.days"]=n),this.setProperties(r)}else this.set("searchedTerms.time.when","before"),this.set("searchedTerms.time.days",null)}updateInRegex(e,t){let i=this.filterBlocks(e),s=this.get("searchedTerms.special.in."+t),n=this.searchTerm||"";s?0===i.length&&(n+=` in:${t}`,this._updateSearchTerm(n)):0!==i.length&&(n=n.replace(i,""),this._updateSearchTerm(n))}onChangeSearchTermMinPostCount(e){this.set("searchedTerms.min_posts",e.length?e:null),this._updateSearchTermForMinPostCount()}static #e=(()=>dt7948.n(this.prototype,"onChangeSearchTermMinPostCount",[a.action]))();onChangeSearchTermMaxPostCount(e){this.set("searchedTerms.max_posts",e.length?e:null),this._updateSearchTermForMaxPostCount()}static #i=(()=>dt7948.n(this.prototype,"onChangeSearchTermMaxPostCount",[a.action]))();onChangeSearchTermMinViews(e){this.set("searchedTerms.min_views",e.length?e:null),this._updateSearchTermForMinViews()}static #n=(()=>dt7948.n(this.prototype,"onChangeSearchTermMinViews",[a.action]))();onChangeSearchTermMaxViews(e){this.set("searchedTerms.max_views",e.length?e:null),this._updateSearchTermForMaxViews()}static #a=(()=>dt7948.n(this.prototype,"onChangeSearchTermMaxViews",[a.action]))();onChangeSearchTermForIn(e){this.set("searchedTerms.in",e),this._updateSearchTermForIn()}static #l=(()=>dt7948.n(this.prototype,"onChangeSearchTermForIn",[a.action]))();onChangeSearchTermForStatus(e){this.set("searchedTerms.status",e),this._updateSearchTermForStatus()}static #d=(()=>dt7948.n(this.prototype,"onChangeSearchTermForStatus",[a.action]))();onChangeWhenTime(e){e&&(this.set("searchedTerms.time.when",e),this._updateSearchTermForPostTime())}static #p=(()=>dt7948.n(this.prototype,"onChangeWhenTime",[a.action]))();onChangeWhenDate(e){e&&(this.set("searchedTerms.time.days",e.format("YYYY-MM-DD")),this._updateSearchTermForPostTime())}static #m=(()=>dt7948.n(this.prototype,"onChangeWhenDate",[a.action]))();onChangeSearchTermForCategory(e){if(e){let t=g.default.findById(e);this.onChangeCategory&&this.onChangeCategory(t),this.set("searchedTerms.category",t)}else this.onChangeCategory&&this.onChangeCategory(null),this.set("searchedTerms.category",null);this._updateSearchTermForCategory()}static #f=(()=>dt7948.n(this.prototype,"onChangeSearchTermForCategory",[a.action]))();onChangeSearchTermForUsername(e){this.set("searchedTerms.username",e.length?e:null),this._updateSearchTermForUsername()}static #y=(()=>dt7948.n(this.prototype,"onChangeSearchTermForUsername",[a.action]))();onChangeSearchTermForTags(e){this.set("searchedTerms.tags",e.length?e:null),this._updateSearchTermForTags()}static #v=(()=>dt7948.n(this.prototype,"onChangeSearchTermForTags",[a.action]))();onChangeSearchTermForAllTags(e){this.set("searchedTerms.special.all_tags",e.target.checked),this._updateSearchTermForTags()}static #k=(()=>dt7948.n(this.prototype,"onChangeSearchTermForAllTags",[a.action]))();onChangeSearchTermForSpecialInLikes(e){this.set("searchedTerms.special.in.likes",e.target.checked),this.updateInRegex(N,"likes")}static #S=(()=>dt7948.n(this.prototype,"onChangeSearchTermForSpecialInLikes",[a.action]))();onChangeSearchTermForSpecialInMessages(e){this.set("searchedTerms.special.in.messages",e.target.checked),this.updateInRegex(j,"messages")}static #A=(()=>dt7948.n(this.prototype,"onChangeSearchTermForSpecialInMessages",[a.action]))();onChangeSearchTermForSpecialInSeen(e){this.set("searchedTerms.special.in.seen",e.target.checked),this.updateInRegex(R,"seen")}static #M=(()=>dt7948.n(this.prototype,"onChangeSearchTermForSpecialInSeen",[a.action]))();onChangeSearchTermForSpecialInTitle(e){this.set("searchedTerms.special.in.title",e.target.checked),this.updateInRegex(O,"title")}static #E=(()=>dt7948.n(this.prototype,"onChangeSearchTermForSpecialInTitle",[a.action]))();onChangeSearchedTermField(e,t,i){this.set(`searchedTerms.${e}`,i),this[t]()}static #P=(()=>dt7948.n(this.prototype,"onChangeSearchedTermField",[a.action]))();_updateSearchTermForTags(){let e=this.filterBlocks(A),t=this.get("searchedTerms.tags"),i=this.searchTerm||"",s=this.get("searchedTerms.special.all_tags");if(t&&0!==t.length){let n=t.join(s?"+":",");0!==e.length?i=i.replace(e[0],`tags:${n}`):i+=` tags:${n}`,t.length>1&&this.set("showAllTagsCheckbox",!0),this._updateSearchTerm(i)}else 0!==e.length&&(i=i.replace(e[0],""),this._updateSearchTerm(i))}_updateSearchTermForCategory(){let e=this.filterBlocks(C),t=this.get("searchedTerms.category"),i=this.searchTerm||"",s=0!==e.length?e[0].match(U):null,n=0!==e.length?e[0].match(B):null;if(t){let e=t.id,r=t.slug;if(t.parentCategory){let a=t.parentCategory.slug;s?i=i.replace(s[0],`#${a}:${r}`):n?i=i.replace(n[0],`category:${e}`):r?i+=` #${a}:${r}`:i+=` category:${e}`,this._updateSearchTerm(i)}else s?i=i.replace(s[0],`#${r}`):n?i=i.replace(n[0],`category:${e}`):r?i+=` #${r}`:i+=` category:${e}`,this._updateSearchTerm(i)}else s&&(i=i.replace(s[0],"")),n&&(i=i.replace(n[0],"")),this._updateSearchTerm(i)}_updateSearchTermForUsername(){let e=this.filterBlocks(S),t=this.get("searchedTerms.username"),i=this.searchTerm||"";t&&0!==t.length?(0!==e.length?i=i.replace(e[0],`@${t}`):i+=` @${t}`,this._updateSearchTerm(i)):0!==e.length&&(i=i.replace(e[0],""),this._updateSearchTerm(i))}_updateSearchTermForPostTime(){let e=this.filterBlocks(F),t=this.get("searchedTerms.time.days"),i=this.searchTerm||"";if(t){let s=this.get("searchedTerms.time.when");0!==e.length?i=i.replace(e[0],`${s}:${t}`):i+=` ${s}:${t}`,this._updateSearchTerm(i)}else 0!==e.length&&(i=i.replace(e[0],""),this._updateSearchTerm(i))}_updateSearchTermForIn(){let e=this.inOptions.map(e=>e.value).join("|"),t=RegExp(`(in|with):(${e})`,"i"),i=this.filterBlocks(t),s=this.get("searchedTerms.in"),n="in";s in Y&&(n=Y[s]);let r=this.searchTerm||"";s?(0!==i.length?r=r.replace(i[0],`${n}:${s}`):r+=` ${n}:${s}`,this._updateSearchTerm(r)):0!==i.length&&(r=r.replace(i,""),this._updateSearchTerm(r))}_updateSearchTermForStatus(){let e=this.statusOptions.map(e=>e.value).join("|"),t=RegExp(`status:(${e})`,"i"),i=this.filterBlocks(t),s=this.get("searchedTerms.status"),n=this.searchTerm||"";s?(0!==i.length?n=n.replace(i[0],`status:${s}`):n+=` status:${s}`,this._updateSearchTerm(n)):0!==i.length&&(n=n.replace(i[0],""),this._updateSearchTerm(n))}_updateSearchTermForMinPostCount(){let e=this.filterBlocks(x),t=this.get("searchedTerms.min_posts"),i=this.searchTerm||"";t?(0!==e.length?i=i.replace(e[0],`min_posts:${t}`):i+=` min_posts:${t}`,this._updateSearchTerm(i)):0!==e.length&&(i=i.replace(e[0],""),this._updateSearchTerm(i))}_updateSearchTermForMaxPostCount(){let e=this.filterBlocks(E),t=this.get("searchedTerms.max_posts"),i=this.searchTerm||"";t?(0!==e.length?i=i.replace(e[0],`max_posts:${t}`):i+=` max_posts:${t}`,this._updateSearchTerm(i)):0!==e.length&&(i=i.replace(e[0],""),this._updateSearchTerm(i))}_updateSearchTermForMinViews(){let e=this.filterBlocks(L),t=this.get("searchedTerms.min_views"),i=this.searchTerm||"";t?(0!==e.length?i=i.replace(e[0],`min_views:${t}`):i+=` min_views:${t}`,this._updateSearchTerm(i)):0!==e.length&&(i=i.replace(e[0],""),this._updateSearchTerm(i))}_updateSearchTermForMaxViews(){let e=this.filterBlocks(P),t=this.get("searchedTerms.max_views"),i=this.searchTerm||"";t?(0!==e.length?i=i.replace(e[0],`max_views:${t}`):i+=` max_views:${t}`,this._updateSearchTerm(i)):0!==e.length&&(i=i.replace(e[0],""),this._updateSearchTerm(i))}_updateSearchTerm(e){this.onChangeSearchTerm(e.trim())}static #I=(()=>(0,s.setComponentTemplate)((0,k.createTemplateFactory)({id:"v1m6YjJm",block:'[[[1,"\\n"],[1," "],[10,"summary"],[12],[1,"\\n "],[1,[28,[32,0],["search.advanced.title"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"search-advanced-filters"],[12],[1,"\\n "],[10,0],[14,0,"search-advanced-options"],[12],[1,"\\n "],[8,[32,1],null,[["@name","@connectorTagName","@outletArgs"],["advanced-search-options-above","div",[28,[32,2],null,[["searchedTerms","onChangeSearchedTermField"],[[30,0,["searchedTerms"]],[30,0,["onChangeSearchedTermField"]]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-group advanced-search-category"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["search.advanced.in_category.label"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,3],null,[["@id","@value","@onChange"],["search-in-category",[30,0,["searchedTerms","category","id"]],[30,0,["onChangeSearchTermForCategory"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["siteSettings","tagging_enabled"]],[[[1," "],[10,0],[14,0,"control-group advanced-search-tags"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["search.advanced.with_tags.label"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,4],null,[["@id","@tags","@everyTag","@unlimitedTagCount","@onChange","@options"],["search-with-tags",[30,0,["searchedTerms","tags"]],true,true,[30,0,["onChangeSearchTermForTags"]],[28,[32,5],null,[["allowAny","headerAriaLabel"],[false,[28,[32,0],["search.advanced.with_tags.aria_label"],null]]]]]],null],[1,"\\n"],[41,[30,0,["showAllTagsCheckbox"]],[[[1," "],[10,"section"],[14,0,"field"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[8,[32,6],[[24,0,"all-tags"],[4,[32,7],["click",[30,0,["onChangeSearchTermForAllTags"]]],null]],[["@type","@checked"],["checkbox",[30,0,["searchedTerms","special","all_tags"]]]],null],[1,"\\n "],[1,[28,[32,0],["search.advanced.filters.all_tags"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"control-group advanced-search-topics-posts"],[12],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[10,"fieldset"],[14,0,"grouped-control"],[12],[1,"\\n "],[10,"legend"],[14,0,"grouped-control-label"],[12],[1,[28,[32,0],["search.advanced.filters.label"],null]],[13],[1,"\\n\\n"],[41,[30,0,["currentUser"]],[[[1," "],[10,0],[14,0,"grouped-control-field"],[12],[1,"\\n "],[8,[32,6],[[24,1,"matching-title-only"],[24,0,"in-title"],[4,[32,7],["click",[30,0,["onChangeSearchTermForSpecialInTitle"]]],null]],[["@type","@checked"],["checkbox",[30,0,["searchedTerms","special","in","title"]]]],null],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[14,"for","matching-title-only"],[12],[1,"\\n "],[1,[28,[32,0],["search.advanced.filters.title"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"grouped-control-field"],[12],[1,"\\n "],[8,[32,6],[[24,1,"matching-liked"],[24,0,"in-likes"],[4,[32,7],["click",[30,0,["onChangeSearchTermForSpecialInLikes"]]],null]],[["@type","@checked"],["checkbox",[30,0,["searchedTerms","special","in","likes"]]]],null],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[14,"for","matching-liked"],[12],[1,[28,[32,0],["search.advanced.filters.likes"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"grouped-control-field"],[12],[1,"\\n "],[8,[32,6],[[24,1,"matching-in-messages"],[24,0,"in-private"],[4,[32,7],["click",[30,0,["onChangeSearchTermForSpecialInMessages"]]],null]],[["@type","@checked"],["checkbox",[30,0,["searchedTerms","special","in","messages"]]]],null],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[14,"for","matching-in-messages"],[12],[1,[28,[32,0],["search.advanced.filters.private"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"grouped-control-field"],[12],[1,"\\n "],[8,[32,6],[[24,1,"matching-seen"],[24,0,"in-seen"],[4,[32,7],["click",[30,0,["onChangeSearchTermForSpecialInSeen"]]],null]],[["@type","@checked"],["checkbox",[30,0,["searchedTerms","special","in","seen"]]]],null],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[14,"for","matching-seen"],[12],[1,[28,[32,0],["search.advanced.filters.seen"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,8],null,[["@id","@valueProperty","@content","@value","@onChange","@options"],["in","value",[30,0,["inOptions"]],[30,0,["searchedTerms","in"]],[30,0,["onChangeSearchTermForIn"]],[28,[32,5],null,[["none","clearable"],["user.locale.any",true]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group advanced-search-topic-status"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["search.advanced.statuses.label"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,8],null,[["@id","@valueProperty","@content","@value","@onChange","@options"],["search-status-options","value",[30,0,["statusOptions"]],[30,0,["searchedTerms","status"]],[30,0,["onChangeSearchTermForStatus"]],[28,[32,5],null,[["none","headerAriaLabel","clearable"],["user.locale.any",[28,[32,0],["search.advanced.statuses.label"],null],true]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group advanced-search-posted-by"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,"\\n "],[1,[28,[32,0],["search.advanced.posted_by.label"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,9],null,[["@id","@value","@onChange","@options"],["search-posted-by",[30,0,["searchedTerms","username"]],[30,0,["onChangeSearchTermForUsername"]],[28,[32,5],null,[["headerAriaLabel","maximum","excludeCurrentUser"],[[28,[32,0],["search.advanced.posted_by.aria_label"],null],1,false]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group advanced-search-posted-date"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["search.advanced.post.time.label"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls inline-form"],[12],[1,"\\n "],[8,[32,8],null,[["@id","@valueProperty","@content","@value","@onChange"],["postTime","value",[30,0,["postTimeOptions"]],[30,0,["searchedTerms","time","when"]],[30,0,["onChangeWhenTime"]]]],null],[1,"\\n "],[8,[32,10],[[16,"aria-label",[28,[32,0],["search.advanced.post.time.aria_label"],null]]],[["@date","@onChange","@inputId"],[[30,0,["searchedTerms","time","days"]],[30,0,["onChangeWhenDate"]],"search-post-date"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,1],null,[["@name","@connectorTagName","@outletArgs"],["advanced-search-options-below","div",[28,[32,2],null,[["searchedTerms","onChangeSearchedTermField"],[[30,0,["searchedTerms"]],[30,0,["onChangeSearchedTermField"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"details"],[14,0,"search-advanced-additional-options"],[12],[1,"\\n "],[10,"summary"],[12],[1,"\\n "],[1,[28,[32,0],["search.advanced.additional_options.label"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"count-group control-group"],[12],[1,"\\n"],[1," "],[10,1],[14,0,"control-label"],[12],[1,[28,[32,0],["search.advanced.post.count.label"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,6],[[24,0,"input-small"],[24,1,"search-min-post-count"],[16,"placeholder",[28,[32,0],["search.advanced.post.min.placeholder"],null]],[16,"aria-label",[28,[32,0],["search.advanced.post.min.aria_label"],null]],[4,[32,7],["input",[28,[32,11],[[30,0,["onChangeSearchTermMinPostCount"]]],null]],null]],[["@type","@value"],["number",[28,[31,1],[[30,0,["searchedTerms","min_posts"]]],null]]],null],[1,"\\n "],[1,[28,[32,12],["left-right"],null]],[1,"\\n "],[8,[32,6],[[24,0,"input-small"],[24,1,"search-max-post-count"],[16,"placeholder",[28,[32,0],["search.advanced.post.max.placeholder"],null]],[16,"aria-label",[28,[32,0],["search.advanced.post.max.aria_label"],null]],[4,[32,7],["input",[28,[32,11],[[30,0,["onChangeSearchTermMaxPostCount"]]],null]],null]],[["@type","@value"],["number",[28,[31,1],[[30,0,["searchedTerms","max_posts"]]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"count-group control-group"],[12],[1,"\\n"],[1," "],[10,1],[14,0,"control-label"],[12],[1,[28,[32,0],["search.advanced.views.label"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,6],[[24,0,"input-small"],[24,1,"search-min-views"],[16,"placeholder",[28,[32,0],["search.advanced.min_views.placeholder"],null]],[16,"aria-label",[28,[32,0],["search.advanced.min_views.aria_label"],null]],[4,[32,7],["input",[28,[32,11],[[30,0,["onChangeSearchTermMinViews"]]],null]],null]],[["@type","@value"],["number",[28,[31,1],[[30,0,["searchedTerms","min_views"]]],null]]],null],[1,"\\n "],[1,[28,[32,12],["left-right"],null]],[1,"\\n "],[8,[32,6],[[24,0,"input-small"],[24,1,"search-max-views"],[16,"placeholder",[28,[32,0],["search.advanced.max_views.placeholder"],null]],[16,"aria-label",[28,[32,0],["search.advanced.max_views.aria_label"],null]],[4,[32,7],["input",[28,[32,11],[[30,0,["onChangeSearchTermMaxViews"]]],null]],null]],[["@type","@value"],["number",[28,[31,1],[[30,0,["searchedTerms","max_views"]]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["site","mobileView"]],[[[1," "],[10,0],[14,0,"second-search-button"],[12],[1,"\\n "],[8,[32,13],[[24,0,"btn-primary search-cta"]],[["@action","@icon","@label","@ariaLabel","@disabled"],[[30,0,["search"]],"magnifying-glass","search.search_button","search.search_button",[30,0,["searchButtonDisabled"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[],false,["if","readonly"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/search-advanced-options.js",scope:()=>[f.i18n,d.default,p.default,y.default,b.default,n.hash,s.Input,r.on,_.default,w.default,u.default,h.default,c.default,l.default],isStrictMode:!0}),this))()},[(0,o.classNames)("advanced-filters"),(0,o.attributeBindings)("expandFilters:open"),(0,o.tagName)("details")])},25981:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(9348),n=i(58295),r=i(36768),a=i(45916),o=i(13744),l=i(58670),u=i(1848),d=i(72825),c=i(30587),p=i.n(c),h=i(21195),m=i(6827),g=i(34057);let f=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"scrollManager",[o.service]))();#op=(()=>void dt7948.i(this,"scrollManager"))();static #i=(()=>dt7948.g(this.prototype,"userFilters",[(0,n.alias)("topic.userFilters")]))();#iv=(()=>void dt7948.i(this,"userFilters"))();static #n=(()=>dt7948.g(this.prototype,"postStream",[(0,n.alias)("topic.postStream")]))();#nw=(()=>void dt7948.i(this,"postStream"))();menuVisible=!0;SHORT_POST=1200;dockAt=0;init(){super.init(...arguments),this.appEvents.on("discourse:focus-changed",this,"gotFocus"),this.appEvents.on("post:highlight",this,"_highlightPost")}willDestroy(){super.willDestroy(...arguments),this.appEvents.off("discourse:focus-changed",this,"gotFocus"),this.appEvents.off("post:highlight",this,"_highlightPost")}_enteredTopic(){this.enteredAt&&this.lastEnteredAt!==this.enteredAt&&((0,a.schedule)("afterRender",this.scrolled),this.set("lastEnteredAt",this.enteredAt))}static #a=(()=>dt7948.n(this.prototype,"_enteredTopic",[(0,d.observes)("enteredAt")]))();_highlightPost(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};((0,l.isBlank)(t.jump)||!1!==t.jump)&&(0,a.scheduleOnce)("afterRender",null,g.highlightPost,e)}didInsertElement(){super.didInsertElement(...arguments),this.scrollManager.bindScrolling(this),window.addEventListener("resize",this.scrolled),p()(this.element).on("click.discourse-redirect",".cooked a, a.track-link",e=>h.default.trackClick(e,(0,r.getOwner)(this)))}willDestroyElement(){super.willDestroyElement(...arguments),this.scrollManager.unbindScrolling(this),window.removeEventListener("resize",this.scrolled),p()(this.element).off("click.discourse-redirect",".cooked a, a.track-link")}gotFocus(e){e&&this.scrolled()}scrolled(){if(this.isDestroyed||this.isDestroying||"inDOM"!==this._state)return;let e=window.pageYOffset||document.documentElement.scrollTop;this.set("hasScrolled",e>0),this.appEvents.trigger("topic:scrolled",e)}static #l=(()=>dt7948.n(this.prototype,"scrolled",[m.bind]))()},[(0,u.classNameBindings)("multiSelect","topic.archetype","topic.is_warning","topic.category.read_restricted:read_restricted","topic.deleted:deleted-topic")])},25986:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(66530),n=i(96675),r=i(58670),a=i(60882);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)(``)}},26012:(e,t,i)=>{"use strict";i.r(t),i.d(t,{DEFAULT_DIVERSITY:()=>h,MAX_DISPLAYED_EMOJIS:()=>c,MAX_TRACKED_EMOJIS:()=>p,SKIN_TONE_STORE_KEY:()=>l,STORE_NAMESPACE:()=>u,USER_EMOJIS_STORE_KEY:()=>d,default:()=>m});var s=i(40779),n=i(13744),r=i(4705),a=i(56647),o=i(94954);let l="emojiSelectedDiversity",u="discourse_emoji_reaction_",d="emojiUsage",c=20,p=40,h=1;class m extends n.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #i=(()=>dt7948.g(this.prototype,"list",[s.tracked]))();#oh=(()=>void dt7948.i(this,"list"))();store=(()=>new o.default(u))();contexts=(()=>new r.TrackedObject)();static #n=(()=>dt7948.g(this.prototype,"_diversity",[s.tracked]))();#om=(()=>void dt7948.i(this,"_diversity"))();get diversity(){return this._diversity??this.store.getObject(l)??1}set diversity(e){this._diversity=e,this.store.setObject({key:l,value:e})}trackEmojiForContext(e,t){let i=this.#og(e,t);return this.contexts[t]=new r.TrackedArray(i),this.#of(i,t),i}favoritesForContext(e){return this.#o_(this.#oy(e)).slice(0,c).map(e=>this.diversity!==h&&(0,a.isSkinTonableEmoji)(e)?`${e}:t${this.diversity}`:e)}reset(){Object.keys(this.contexts).forEach(e=>{this.resetContext(e)}),this.diversity=h}resetContext(e){this.contexts[e]=[],this.#of([],e)}#oy(e){return this.contexts[e]??this.store.getObject(this.#ob(e))??[]}#og(e,t){let i=this.#oy(t);return i.unshift(this.#ov(e)),i.length=Math.min(i.length,p),i}#of(e,t){let i=this.#ob(t);this.store.setObject({key:i,value:e})}#ov(e){return e.replace(/(^:)|(:$)/g,"")}#ob(e){return`${e}_${d}`}#o_(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.reduce((e,t)=>(e[t]=(e[t]||0)+1,e),{});return Object.keys(t).sort((e,i)=>t[i]-t[e])}}},26029:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})})},26089:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(24698),n=i(40779),r=i(9348),a=i(4089),o=i(66530),l=i(13744),u=i(11811),d=i(76586),c=i(79166),p=i(1660),h=i(57364),m=i(55888);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[l.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"selectedCalendar",[n.tracked],function(){return"ics"}))();#ow=(()=>void dt7948.i(this,"selectedCalendar"))();static #n=(()=>dt7948.g(this.prototype,"remember",[n.tracked],function(){return!1}))();#ok=(()=>void dt7948.i(this,"remember"))();downloadCalendar(){this.remember&&(this.currentUser.set("user_option.default_calendar",this.selectedCalendar),this.currentUser.save(["default_calendar"])),"ics"===this.selectedCalendar?(0,p.downloadIcs)(this.args.model.calendar.title,this.args.model.calendar.dates,{recurrenceRule:this.args.model.calendar.recurrenceRule,location:this.args.model.calendar.location,details:this.args.model.calendar.details}):(0,p.downloadGoogle)(this.args.model.calendar.title,this.args.model.calendar.dates,{recurrenceRule:this.args.model.calendar.recurrenceRule,location:this.args.model.calendar.location,details:this.args.model.calendar.details}),this.args.closeModal()}static #a=(()=>dt7948.n(this.prototype,"downloadCalendar",[o.action]))();selectCalendar(e){this.selectedCalendar=e}static #l=(()=>dt7948.n(this.prototype,"selectCalendar",[o.action]))();static #d=(()=>(0,r.setComponentTemplate)((0,m.createTemplateFactory)({id:"btqWJXXC",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"download-calendar-modal"]],[["@title","@closeModal"],[[28,[32,1],["download_calendar.title"],null],[30,1]]],[["body","footer"],[[[[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,0],[14,0,"ics"],[12],[1,"\\n "],[10,"label"],[14,0,"radio"],[14,"for","ics"],[12],[1,"\\n "],[8,[32,2],[[24,1,"ics"]],[["@name","@value","@selection","@onChange"],["select-calendar","ics",[30,0,["selectedCalendar"]],[28,[32,3],[[30,0,["selectCalendar"]],"ics"],null]]],null],[1,"\\n "],[1,[28,[32,1],["download_calendar.save_ics"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"google"],[12],[1,"\\n "],[10,"label"],[14,0,"radio"],[14,"for","google"],[12],[1,"\\n "],[8,[32,2],[[24,1,"google"]],[["@name","@value","@selection","@onChange"],["select-calendar","google",[30,0,["selectedCalendar"]],[28,[32,3],[[30,0,["selectCalendar"]],"google"],null]]],null],[1,"\\n "],[1,[28,[32,1],["download_calendar.save_google"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["currentUser"]],[[[1," "],[10,0],[14,0,"control-group remember"],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,4],null,[["@type","@checked"],["checkbox",[30,0,["remember"]]]],null],[1,"\\n "],[10,1],[12],[1,[28,[32,1],["download_calendar.remember"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,1],[12],[1,[28,[32,1],["download_calendar.remember_explanation"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]],[[[1,"\\n "],[8,[32,5],[[24,0,"btn-primary"]],[["@action","@label"],[[30,0,["downloadCalendar"]],"download_calendar.download"]],null],[1,"\\n "],[8,[32,5],[[24,0,"btn-flat d-modal-cancel"]],[["@action","@label"],[[30,1],"cancel"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/download-calendar.js",scope:()=>[d.default,h.i18n,c.default,a.fn,r.Input,u.default],isStrictMode:!0}),this))()}},26106:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(24698),n=i(40779),r=i(66530),a=i(45916),o=i(13744),l=i(11811),u=i(22106),d=i(6827),c=i(99148),p=i(99307),h=i(57364),m=i(9348),g=i(55888);class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"messageBus",[o.service]))();#iO=(()=>void dt7948.i(this,"messageBus"))();static #i=(()=>dt7948.g(this.prototype,"session",[o.service]))();#iR=(()=>void dt7948.i(this,"session"))();static #n=(()=>dt7948.g(this.prototype,"showPrompt",[n.tracked],function(){return!1}))();#oT=(()=>void dt7948.i(this,"showPrompt"))();static #a=(()=>dt7948.g(this.prototype,"animatePrompt",[n.tracked],function(){return!1}))();#oS=(()=>void dt7948.i(this,"animatePrompt"))();timeoutHandler;constructor(){super(...arguments),this.messageBus.subscribe("/refresh_client",this.onRefresh),this.messageBus.subscribe("/global/asset-version",this.onAsset)}willDestroy(){super.willDestroy(...arguments),this.messageBus.unsubscribe("/refresh_client",this.onRefresh),this.messageBus.unsubscribe("/global/asset-version",this.onAsset),(0,a.cancel)(this.timeoutHandler)}onRefresh(){this.session.requiresRefresh=!0}static #l=(()=>dt7948.n(this.prototype,"onRefresh",[d.bind]))();onAsset(e){this.session.assetVersion!==e&&(this.session.requiresRefresh=!0),!this.timeoutHandler&&this.session.requiresRefresh&&((0,c.isTesting)()?this.updatePromptState(!0):this.timeoutHandler=(0,p.default)(()=>this.updatePromptState(!0),864e5))}static #d=(()=>dt7948.n(this.prototype,"onAsset",[d.bind]))();updatePromptState(e){let t=e?"animatePrompt":"showPrompt";this[e?"showPrompt":"animatePrompt"]=e,(0,c.isTesting)()?this[t]=e:(0,p.default)(()=>this[t]=e,500)}refreshPage(){document.location.reload()}static #p=(()=>dt7948.n(this.prototype,"refreshPage",[r.action]))();dismiss(){this.updatePromptState(!1)}static #m=(()=>dt7948.n(this.prototype,"dismiss",[r.action]))();static #f=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"QfgYflau",block:'[[[1,"\\n"],[41,[30,0,["showPrompt"]],[[[1," "],[10,0],[15,0,[28,[32,0],["software-update-prompt",[52,[30,0,["animatePrompt"]],"require-software-refresh"]],null]],[12],[1,"\\n "],[10,0],[14,0,"wrap"],[12],[1,"\\n "],[10,0],[14,"aria-live","polite"],[14,0,"update-prompt-main-content"],[12],[1,"\\n "],[8,[32,1],[[24,0,"btn-transparent update-prompt-message"]],[["@action","@icon","@label"],[[30,0,["refreshPage"]],"arrow-rotate-right","software_update_prompt.message"]],null],[1,"\\n\\n "],[10,1],[14,0,"update-prompt-dismiss"],[12],[1,"\\n "],[8,[32,1],[[16,"aria-label",[28,[32,2],["software_update_prompt.dismiss"],null]],[24,0,"btn-transparent"]],[["@action","@icon"],[[30,0,["dismiss"]],"xmark"]],null],[1,"\\n "],[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/software-update-prompt.js",scope:()=>[u.default,l.default,h.i18n],isStrictMode:!0}),this))()}},26159:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(9348),n=i(1848),r=i(6827),a=i(18965),o=i(55888);let l=dt7948.c(class extends s.default{tagClass(e){return"tag-"+e}static #e=(()=>dt7948.n(this.prototype,"tagClass",[(0,r.default)("tagRecord.id")]))();href(e){return(0,a.default)("/tag/"+e)}static #i=(()=>dt7948.n(this.prototype,"href",[(0,r.default)("tagRecord.id")]))();static #n=(()=>(0,s.setComponentTemplate)((0,o.createTemplateFactory)({id:"ZMkMNeJl",block:'[[[1,[30,0,["tagRecord","id"]]]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/discourse-tag-bound.js",isStrictMode:!0}),this))()},[(0,n.attributeBindings)("href"),(0,n.classNameBindings)(":discourse-tag","style","tagClass"),(0,n.tagName)("a")])},26186:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(58295),n=i(6827),r=i(47754),a=i(86232),o=i(37288),l=i(98174);class u extends o.default{expandedExcerpt=null;static #e=(()=>dt7948.g(this.prototype,"postUrl",[(0,s.reads)("topic_url")]))();#oC=(()=>void dt7948.i(this,"postUrl"))();truncated=!1;init(){super.init(...arguments),(0,r.cook)(this.raw_text).then(e=>{this.set("expandedExcerpt",e)})}userUrl(e){return(0,a.userPath)(e.toLowerCase())}static #i=(()=>dt7948.n(this.prototype,"userUrl",[(0,n.default)("username")]))();category(){return l.default.findById(this.category_id)}static #n=(()=>dt7948.n(this.prototype,"category",[(0,n.default)("category_id")]))()}},26377:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(13744),n=i(23286),r=i(18965),a=i(40577),o=i(82627);let l=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[s.service]))();#tY=(()=>void dt7948.i(this,"appEvents"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[s.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"capabilities",[s.service]))();#ij=(()=>void dt7948.i(this,"capabilities"))();worker=null;workerUrl=(()=>(0,r.getAbsoluteURL)("/javascripts/media-optimization-worker.js"))();currentComposerUploadData=null;promiseResolvers=null;workerDoneCount=0;workerPendingCount=0;async optimizeImage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.promiseResolvers=this.promiseResolvers||{},this.stopWorkerOnError=!t.hasOwnProperty("stopWorkerOnError")||t.stopWorkerOnError,/(\.|\/)(jpe?g|png)$/i.test(e.type)?e.size{let i;this.logIfDebug(`Transforming ${e.name}`),this.currentComposerUploadData=e,this.promiseResolvers[e.id]=t;try{i=await (0,o.fileToImageData)(e.data,this.capabilities.isIOS)}catch(e){return this.logIfDebug(e),t()}this.worker.postMessage({type:"compress",fileId:e.id,file:i.data.buffer,fileName:e.name,width:i.width,height:i.height,settings:{resize_threshold:this.siteSettings.composer_media_optimization_image_resize_dimensions_threshold,resize_target:this.siteSettings.composer_media_optimization_image_resize_width_target,resize_pre_multiply:this.siteSettings.composer_media_optimization_image_resize_pre_multiply,resize_linear_rgb:this.siteSettings.composer_media_optimization_image_resize_linear_rgb,encode_quality:this.siteSettings.composer_media_optimization_image_encode_quality,debug_mode:this.siteSettings.composer_media_optimization_debug_mode}},[i.data.buffer]),this.workerPendingCount++})):n.Promise.resolve()}async ensureAvailableWorker(){return this.worker&&this.workerInstalled?n.Promise.resolve():this.installPromise?this.installPromise:this.install()}async install(){return this.installPromise=new n.Promise((e,t)=>{this.afterInstalled=e,this.failedInstall=t,this.logIfDebug("Installing worker."),this.startWorker(),this.registerMessageHandler(),this.worker.postMessage({type:"install",settings:{mozjpeg_script:(0,r.getURLWithCDN)("/javascripts/squoosh/mozjpeg_enc.js"),mozjpeg_wasm:(0,r.getURLWithCDN)("/javascripts/squoosh/mozjpeg_enc.wasm"),resize_script:(0,r.getURLWithCDN)("/javascripts/squoosh/squoosh_resize.js"),resize_wasm:(0,r.getURLWithCDN)("/javascripts/squoosh/squoosh_resize_bg.wasm")}}),this.appEvents.on("composer:closed",this,"stopWorker")}),this.installPromise}startWorker(){this.logIfDebug("Starting media-optimization-worker"),this.worker=new Worker(this.workerUrl)}stopWorker(){this.worker&&(this.logIfDebug("Stopping media-optimization-worker..."),this.workerInstalled=!1,this.worker.terminate(),this.worker=null,this.workerDoneCount=0),this.workerPendingCount=0}registerMessageHandler(){this.worker.onmessage=e=>{switch(e.data.type){case"file":let t=new File([e.data.file],e.data.fileName,{type:"image/jpeg"});this.logIfDebug(`Finished optimization of ${t.name} new size: ${t.size}.`),this.promiseResolvers[e.data.fileId](t),this.workerDoneCount++,this.workerPendingCount--,this.workerDoneCount>4&&0===this.workerPendingCount&&(this.logIfDebug("Terminating worker to release memory in WASM."),this.stopWorker());break;case"error":this.logIfDebug(`Handling error message from image optimization for ${e.data.fileName}.`),this.stopWorkerOnError&&this.stopWorker(),this.promiseResolvers[e.data.fileId](),this.workerPendingCount--;break;case"installed":this.logIfDebug("Worker installed."),this.workerInstalled=!0,this.afterInstalled(),this.cleanupInstallPromises();break;case"installFailed":this.logIfDebug("Worker failed to install."),this.failedInstall(e.data.errorMessage),this.cleanupInstallPromises();break;default:this.logIfDebug(`Sorry, we are out of ${e}.`)}}}cleanupInstallPromises(){this.afterInstalled=null,this.failedInstall=null,this.installPromise=null}logIfDebug(){this.siteSettings.composer_media_optimization_debug_mode&&console.log(...arguments)}},[a.disableImplicitInjections])},26381:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(45240),n=i(97512),r=i(57364);class a extends n.default{userActionType=(()=>s.default.TYPES.likes_received)();titleToken(){return(0,r.i18n)("user_action_groups.1")}}},26411:function(e,t,i){!function(e,t){t(i(4387))}(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}})})},26418:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(90098),n=i(90831),r=i(52892),a=i(82213),o=i(16441),l=i(18495),u=i(16191),d=i(9348),c=i(55888),p=i(74975);let h=(0,s.default)((0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"KDJgreeU",block:'[[[1,"\\n "],[8,[32,0],null,[["@model","@createTopicDisabled","@toggleTagInfo","@listClass"],[[30,1,["model"]],[30,1,["createTopicDisabled"]],[30,1,["toggleTagInfo"]],"--topic-list"]],[["navigation","header","list"],[[[[1,"\\n "],[8,[32,1],null,[["@category","@tag","@additionalTags","@filterType","@noSubcategories","@canBulkSelect","@bulkSelectHelper","@createTopic","@createTopicDisabled","@canCreateTopicOnTag","@toggleTagInfo","@tagNotification","@model","@showDismissRead","@showResetNew","@dismissRead","@resetNew"],[[30,1,["model","category"]],[30,1,["model","tag"]],[30,1,["model","additionalTags"]],[30,1,["model","filterType"]],[30,1,["model","noSubcategories"]],[30,1,["canBulkSelect"]],[30,1,["bulkSelectHelper"]],[30,1,["createTopic"]],[30,1,["createTopicDisabled"]],[30,1,["model","canCreateTopicOnTag"]],[30,1,["toggleTagInfo"]],[30,1,["model","tagNotification"]],[30,1,["model","list"]],[30,1,["showDismissRead"]],[30,1,["showResetNew"]],[30,1,["dismissRead"]],[30,1,["resetNew"]]]],null],[1,"\\n "]],[]],[[[1,"\\n"],[41,[30,1,["model","subcategoryList"]],[[[1," "],[8,[32,2],null,[["@categories","@parentCategory","@loadMore"],[[30,1,["model","subcategoryList","categories"]],[30,1,["model","subcategoryList","parentCategory"]],[30,1,["model","subcategoryList","loadMore"]]]],null],[1,"\\n"]],[]],null],[41,[28,[32,3],[[30,1,["showTagInfo"]],[30,1,["model","tag"]]],null],[[[1," "],[8,[32,4],null,[["@tag","@list"],[[30,1,["model","tag"]],[30,1,["model","list"]]]],null],[1,"\\n"]],[]],null],[1," "]],[]],[[[1,"\\n "],[8,[32,5],null,[["@period","@changePeriod","@model","@canBulkSelect","@bulkSelectHelper","@showDismissRead","@showResetNew","@category","@tag","@changeSort","@changeNewListSubset","@dismissRead","@resetNew"],[[30,1,["model","list","for_period"]],[30,1,["changePeriod"]],[30,1,["model","list"]],[30,1,["canBulkSelect"]],[30,1,["bulkSelectHelper"]],[30,1,["showDismissRead"]],[30,1,["showResetNew"]],[30,1,["model","category"]],[30,1,["model","tag"]],[30,1,["changeSort"]],[30,1,["changeNewListSubset"]],[30,1,["dismissRead"]],[30,1,["resetNew"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/discovery/list.js",scope:()=>[a.default,o.default,r.default,n.and,u.default,l.default],isStrictMode:!0}),(0,p.default)(void 0,void 0)))},26435:(e,t,i)=>{var s=i(60958);e.exports=function(e){return e&&"VirtualNode"===e.type&&e.version===s}},26524:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{static parse(e){return new s().parse(e)}parse(e){let t={};return(e?.split("|")??[]).forEach(e=>{let[i,s]=e.split(":").filter(Boolean);this[i+"Rule"]?t[i]=this[i+"Rule"](s):t[i]={}}),t}dateBeforeOrEqualRule(e){return{date:this.parseDateString(e)}}dateAfterOrEqualRule(e){return{date:this.parseDateString(e)}}parseDateString(e){let[t,i,s]=e.split("-").map(Number);return new Date(t,i-=1,s)}requiredRule(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",[t]=e.split(",");return{trim:"trim"===t}}startsWithRule(e){return{prefix:e}}endsWithRule(e){return{suffix:e}}betweenRule(e){if(!e)throw Error("`between` rule expects min/max, eg: between:1,10");let[t,i]=e.split(",").map(Number);return{min:t,max:i}}lengthRule(e){if(!e)throw Error("`length` rule expects min/max, eg: length:1,10");let[t,i]=e.split(",").map(Number);return{min:t,max:i}}}},26531:(e,t,i)=>{"use strict";i.r(t),i.d(t,{REFRESH_COUNTS_APP_EVENT_NAME:()=>y,default:()=>b}),i(40779);var s=i(4089),n=i(66530),r=i(13744),a=i(6827),o=i(34731),l=i(98174),u=i(57364),d=i(77972),c=i(24737),p=i(88506),h=i(64682),m=i(90043),g=i(9348),f=i(55888);let _=(0,i(69853).A)(i(40779)).cached,y="sidebar:refresh-categories-section-counts";class b extends c.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[r.service]))();#tY=(()=>void dt7948.i(this,"appEvents"))();static #i=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #n=(()=>dt7948.g(this.prototype,"modal",[r.service]))();#tq=(()=>void dt7948.i(this,"modal"))();constructor(){super(...arguments),this.callbackId=this.topicTrackingState.onStateChange(()=>{this._refreshCounts()}),this.appEvents.on(y,this,this._refreshCounts)}willDestroy(){super.willDestroy(...arguments),this.topicTrackingState.offStateChange(this.callbackId),this.appEvents.off(y,this,this._refreshCounts)}_refreshCounts(){this.sectionLinks.forEach(e=>e.refreshCounts())}static #a=(()=>dt7948.n(this.prototype,"_refreshCounts",[(0,a.debounce)(300)]))();get categories(){return this.currentUser.sidebarCategoryIds?.length>0?l.default.findByIds(this.currentUser.sidebarCategoryIds):this.topSiteCategories}static #l=(()=>dt7948.n(this.prototype,"categories",[_]))();get shouldDisplayDefaultConfig(){return this.currentUser.admin&&!this.hasDefaultSidebarCategories}get hasDefaultSidebarCategories(){return(0,o.hasDefaultSidebarCategories)(this.siteSettings)}showModal(){this.modal.show(p.default)}static #d=(()=>dt7948.n(this.prototype,"showModal",[n.action]))();static #p=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"Y6JeO6Pg",block:'[[[1,"\\n "],[8,[32,0],null,[["@sectionName","@headerLinkText","@headerActions","@headerActionsIcon","@collapsable"],["categories",[28,[32,1],["sidebar.sections.categories.header_link_text"],null],[28,[32,2],[[28,[32,3],null,[["action","title"],[[30,0,["showModal"]],[28,[32,1],["sidebar.sections.categories.header_action_title"],null]]]]],null],"pencil",[30,1]]],[["default"],[[[[1,"\\n\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["sectionLinks"]]],null]],null],null,[[[1," "],[8,[32,4],[[16,"data-category-id",[30,2,["category","id"]]]],[["@route","@query","@title","@content","@currentWhen","@model","@badgeText","@prefixBadge","@prefixType","@prefixValue","@prefixColor","@suffixCSSClass","@suffixValue","@suffixType"],[[30,2,["route"]],[30,2,["query"]],[30,2,["title"]],[30,2,["text"]],[30,2,["currentWhen"]],[30,2,["model"]],[30,2,["badgeText"]],[30,2,["prefixBadge"]],[30,2,["prefixType"]],[30,2,["prefixValue"]],[30,2,["prefixColor"]],[30,2,["suffixCSSClass"]],[30,2,["suffixValue"]],[30,2,["suffixType"]]]],null],[1,"\\n"]],[2]],null],[1,"\\n "],[8,[32,5],null,null,null],[1,"\\n\\n"],[41,[30,0,["shouldDisplayDefaultConfig"]],[[[1," "],[8,[32,4],null,[["@linkName","@content","@prefixType","@prefixValue","@route","@model","@query"],["configure-default-navigation-menu-categories",[28,[32,1],["sidebar.sections.categories.configure_defaults"],null],"icon","wrench","adminSiteSettingsCategory","sidebar",[28,[32,3],null,[["filter"],["default_navigation_menu_categories"]]]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@collapsable","sectionLink"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/user/categories-section.js",scope:()=>[h.default,u.i18n,s.array,s.hash,m.default,d.default],isStrictMode:!0}),this))()}},26555:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(9348),n=i(4089),r=i(96675),a=i(97858),o=i(57364),l=i(63225),u=i(55888);class d extends l.default{static #e=(()=>(0,s.setComponentTemplate)((0,u.createTemplateFactory)({id:"FRKkyatR",block:'[[[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,0],[[16,1,[28,[32,1],["user-",[30,0,["elementId"]]],null]],[16,"maxlength",[30,0,["site","user_field_max_length"]]]],[["@value"],[[30,0,["value"]]]],null],[1,"\\n "],[10,"label"],[14,0,"control-label alt-placeholder"],[15,"for",[28,[32,1],["user-",[30,0,["elementId"]]],null]],[12],[1,"\\n "],[1,[30,0,["field","name"]]],[41,[51,[30,0,["field","required"]]],[[[1," "],[1,[28,[32,2],["user_fields.optional"],null]]],[]],null],[13],[1,"\\n"],[41,[30,0,["validation","failed"]],[[[1," "],[8,[32,3],null,[["@validation"],[[30,0,["validation"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"instructions"],[12],[1,[28,[32,4],[[30,0,["field","description"]]],null]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],[],false,["unless","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-fields/text.js",scope:()=>[s.Input,n.concat,o.i18n,a.default,r.htmlSafe],isStrictMode:!0}),this))()}},26627:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(24698),n=i(66530),r=i(13744),a=i(11811),o=i(86232),l=i(9348),u=i(55888);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();routeToAdminGuide(){o.default.routeTo(`/t/-/${this.siteSettings.admin_quick_start_topic_id}`)}static #i=(()=>dt7948.n(this.prototype,"routeToAdminGuide",[n.action]))();static #n=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"HNaVdZ+o",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-default bootstrap-mode"]],[["@action","@label"],[[30,0,["routeToAdminGuide"]],"bootstrap_mode"]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/bootstrap-mode-notice.js",scope:()=>[a.default],isStrictMode:!0}),this))()}},26679:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(65677);class n extends s.default{model(){return this.store.findAll("reviewable-topic")}setupController(e,t){e.set("reviewableTopics",t)}}},26685:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(90098),n=i(35352),r=i(27994),a=i(9348),o=i(55888),l=i(74975);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)))},26690:(e,t,i)=>{var s=i(52958),n=/^\s+/;e.exports=function(e){return e?e.slice(0,s(e)+1).replace(n,""):e}},26785:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698),n=i(58452),r=i(66530),a=i(41993),o=i(13744),l=i(11811),u=i(23254),d=i(34057),c=i(57364),p=i(9348),h=i(55888);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();get siteTitleSlug(){let e=this.siteSettings.title,t=(0,d.toAsciiPrintable)(e,"discourse");return(0,d.slugify)(t)}get base64BackupCode(){return function(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return String.fromCharCode("0x"+t)}))}(this.formattedBackupCodes)}get formattedBackupCodes(){return this.args.backupCodes?this.args.backupCodes.join(`\r `).trim():null}copyToClipboard(){this._selectAllBackupCodes();let e=(0,u.default)("",this.backupCodesArea);this.args.copyBackupCode(e)}static #i=(()=>dt7948.n(this.prototype,"copyToClipboard",[r.action]))();registerBackupCodesArea(e){this.backupCodesArea=e,e.style.height=e.scrollHeight}static #n=(()=>dt7948.n(this.prototype,"registerBackupCodesArea",[r.action]))();_selectAllBackupCodes(){this.backupCodesArea.focus(),this.backupCodesArea.setSelectionRange(0,this.formattedBackupCodes.length)}static #a=(()=>dt7948.n(this.prototype,"_selectAllBackupCodes",[r.action]))();static #l=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"rcvm3HRP",block:'[[[1,"\\n "],[10,0],[14,0,"backup-codes"],[12],[1,"\\n "],[10,0],[14,0,"wrapper"],[12],[1,"\\n "],[11,"textarea"],[24,1,"backupCodes"],[24,0,"backup-codes-area"],[24,"rows","10"],[24,"readonly",""],[4,[32,0],[[30,0,["registerBackupCodesArea"]]],null],[4,[32,1],["click",[30,0,["_selectAllBackupCodes"]]],null],[12],[1,[30,0,["formattedBackupCodes"]]],[13],[1,"\\n\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,2],[[24,0,"backup-codes-copy-btn"]],[["@action","@icon","@ariaLabel","@title"],[[30,0,["copyToClipboard"]],"copy","user.second_factor_backup.copy_to_clipboard","user.second_factor_backup.copy_to_clipboard"]],null],[1,"\\n\\n "],[8,[32,2],[[16,"download",[29,[[30,0,["siteTitleSlug"]],"-backup-codes.txt"]]],[24,0,"backup-codes-download-btn"],[16,"aria-label",[28,[32,3],["user.second_factor_backup.download_backup_codes"],null]],[16,"title",[28,[32,3],["user.second_factor_backup.download_backup_codes"],null]],[24,"rel","noopener noreferrer"],[24,"target","_blank"]],[["@href","@icon"],[[29,["data:application/octet-stream;charset=utf-8;base64,",[30,0,["base64BackupCode"]]]],"download"]],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/backup-codes.js",scope:()=>[a.default,n.on,l.default,c.i18n],isStrictMode:!0}),this))()}},26823:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(45916),n=i(13744),r=i(6827),a=i(99148),o=i(40577);let l=Symbol("scroll-location"),u=dt7948.c(class extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"historyStore",[n.service]))();#nM=(()=>void dt7948.i(this,"historyStore"))();scrollElement=(()=>(0,a.isTesting)()?document.getElementById("ember-testing-container"):document.scrollingElement)();init(){super.init(...arguments),this.router.on("routeDidChange",this.routeDidChange),this.router.on("routeWillChange",this.routeWillChange)}willDestroy(){this.router.off("routeDidChange",this.routeDidChange),this.router.off("routeWillChange",this.routeWillChange)}routeWillChange(){this.historyStore.set(l,[this.scrollElement.scrollLeft,this.scrollElement.scrollTop])}static #n=(()=>dt7948.n(this.prototype,"routeWillChange",[r.bind]))();routeDidChange(e){if(e.isAborted||!this.#oA(e.to))return;let t=this.historyStore.get(l)||[0,0];(0,s.next)(()=>this.scrollElement.scrollTo(...t))}static #a=(()=>dt7948.n(this.prototype,"routeDidChange",[r.bind]))();#oA(e){for(let t=e;t;t=t.parent){let e=t.metadata?.scrollOnTransition;if("boolean"==typeof e)return e}return!0}},[o.disableImplicitInjections])},26991:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(24698),n=i(13744),r=i(96675),a=i(9348),o=i(55888);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();get shouldShow(){return this.args.category?.read_only_banner&&this.args.readOnly&&this.currentUser}static #i=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"EVXd1s4J",block:'[[[1,"\\n"],[41,[30,0,["shouldShow"]],[[[1," "],[10,0],[14,0,"row"],[12],[1,"\\n "],[10,0],[14,0,"alert alert-info category-read-only-banner"],[12],[1,"\\n "],[1,[28,[32,0],[[30,1,["read_only_banner"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["@category"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/category-read-only-banner.js",scope:()=>[r.htmlSafe],isStrictMode:!0}),this))()}},27003:(e,t,i)=>{e.exports=i(31687).Symbol},27090:(e,t,i)=>{"use strict";i.r(t),i.d(t,{computedI18n:()=>h,endWith:()=>_,fmt:()=>g,htmlSafe:()=>m,i18n:()=>h,propertyEqual:()=>u,propertyGreaterThan:()=>c,propertyLessThan:()=>p,propertyNotEqual:()=>d,setting:()=>y,url:()=>f});var s=i(66530),n=i(96675),r=i(18965),a=i(8106),o=i(57364);function l(e,t){let i=t;if(!Array.isArray(i)||arguments.length>2){i=Array(arguments.length-1);for(let e=1,t=arguments.length;ethis.get(t)})}function p(e,t){return(0,s.computed)(e,t,function(){return this.get(e)this.get(e))))})}function m(){for(var e=arguments.length,t=Array(e),i=0;ithis.get(e)))})}function f(){for(var e=arguments.length,t=Array(e),i=0;ithis.get(e))))})}function _(){let e=Array.prototype.slice.call(arguments,0),t=e.pop();return(0,s.computed)(...e,function(){return e.map(e=>this.get(e)).every(e=>{let i=e.length-t.length,s=e.lastIndexOf(t);return -1!==s&&s===i})})}function y(e){return(0,s.computed)(function(){return this.siteSettings[e]})}},27165:(e,t,i)=>{"use strict";i.r(t),i.d(t,{helpers:()=>n,registerAsyncHelper:()=>a,registerHelper:()=>r,unregisterHelper:()=>o});var s=i(5141);let n={};function r(e,t){n[e]={method:t,meta:{wait:!1}}}function a(e,t){n[e]={method:t,meta:{wait:!0}}}function o(e){delete n[e],delete s.default.prototype[e]}},27177:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(66530),n=i(13744),r=i(45379),a=i(65677),o=i(57364);class l extends a.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#tH=(()=>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 #i=(()=>dt7948.n(this.prototype,"triggerRefresh",[s.action]))()}},27189:e=>{e.exports=function(e){return e&&"Widget"===e.type}},27235:(e,t,i)=>{"use strict";i.r(t),i.d(t,{TIME_SHORTCUT_TYPES:()=>r,defaultTimeShortcuts:()=>a,extendedDefaultTimeShortcuts:()=>o,formatTime:()=>c,hideDynamicTimeShortcuts:()=>d,specialShortcutOptions:()=>l,timeShortcuts:()=>u});var s=i(98412),n=i(57364);let r={ONE_HOUR:"one_hour",TWO_HOURS:"two_hours",LATER_TODAY:"later_today",TOMORROW:"tomorrow",THIS_WEEKEND:"this_weekend",NEXT_MONTH:"next_month",ONE_YEAR:"one_year",FOREVER:"forever",CUSTOM:"custom",RELATIVE:"relative",LAST_CUSTOM:"last_custom",NONE:"none",NOW:"now",START_OF_NEXT_BUSINESS_WEEK:"start_of_next_business_week",LATER_THIS_WEEK:"later_this_week",POST_LOCAL_DATE:"post_local_date"};function a(e){let t=u(e);return[t.laterToday(),t.tomorrow(),t.laterThisWeek(),t.thisWeekend(),t.monday(),t.nextMonth()]}function o(e){let t=u(e);return[t.laterToday(),t.tomorrow(),t.laterThisWeek(),t.monday(),t.twoWeeks(),t.nextMonth(),t.twoMonths(),t.threeMonths(),t.fourMonths(),t.sixMonths(),t.oneYear(),t.forever()]}function l(){let e=u();return[e.lastCustom(),e.custom(),e.none()]}function u(e){return{oneHour:()=>({id:r.ONE_HOUR,icon:"angle-right",label:"time_shortcut.in_one_hour",time:(0,s.oneHour)(e),timeFormatKey:"dates.time"}),twoHours:()=>({id:r.TWO_HOURS,icon:"angle-right",label:"time_shortcut.in_two_hours",time:(0,s.twoHours)(e),timeFormatKey:"dates.time"}),laterToday:()=>({id:r.LATER_TODAY,icon:"angle-right",label:"time_shortcut.later_today",time:(0,s.laterToday)(e),timeFormatKey:"dates.time"}),tomorrow:()=>({id:r.TOMORROW,icon:"far-sun",label:"time_shortcut.tomorrow",time:(0,s.tomorrow)(e),timeFormatKey:"dates.time_short_day"}),twoDays:()=>({id:"two_days",icon:"angle-right",label:"time_shortcut.two_days",time:(0,s.twoDays)(e),timeFormatKey:"dates.time_short_day"}),threeDays:()=>({id:"three_days",icon:"angle-right",label:"time_shortcut.three_days",time:(0,s.inNDays)(e,3),timeFormatKey:"dates.time_short_day"}),laterThisWeek:()=>({id:r.LATER_THIS_WEEK,icon:"angles-right",label:"time_shortcut.later_this_week",time:(0,s.laterThisWeek)(e),timeFormatKey:"dates.time_short_day"}),thisWeekend:()=>({id:r.THIS_WEEKEND,icon:"bed",label:"time_shortcut.this_weekend",time:(0,s.thisWeekend)(e),timeFormatKey:"dates.time_short_day"}),monday:()=>({id:r.START_OF_NEXT_BUSINESS_WEEK,icon:"briefcase",label:(0,s.now)(e).day()===s.MOMENT_MONDAY||(0,s.now)(e).day()===s.MOMENT_SUNDAY?"time_shortcut.start_of_next_business_week_alt":"time_shortcut.start_of_next_business_week",time:(0,s.nextBusinessWeekStart)(e),timeFormatKey:"dates.long_no_year"}),nextMonth:()=>({id:r.NEXT_MONTH,icon:"far-calendar-plus",label:"time_shortcut.next_month",time:(0,s.nextMonth)(e),timeFormatKey:"dates.long_no_year"}),twoWeeks:()=>({id:"two_weeks",icon:"far-clock",label:"time_shortcut.two_weeks",time:(0,s.twoWeeks)(e),timeFormatKey:"dates.long_no_year"}),twoMonths:()=>({id:"two_months",icon:"far-calendar-plus",label:"time_shortcut.two_months",time:(0,s.twoMonths)(e),timeFormatKey:"dates.long_no_year"}),threeMonths:()=>({icon:"far-calendar-plus",id:"three_months",label:"time_shortcut.three_months",time:(0,s.threeMonths)(e),timeFormatKey:"dates.long_no_year"}),fourMonths:()=>({id:"four_months",icon:"far-calendar-plus",label:"time_shortcut.four_months",time:(0,s.fourMonths)(e),timeFormatKey:"dates.long_no_year"}),sixMonths:()=>({id:"six_months",icon:"far-calendar-plus",label:"time_shortcut.six_months",time:(0,s.sixMonths)(e),timeFormatKey:"dates.long_with_year"}),oneYear:()=>({id:r.ONE_YEAR,icon:"far-calendar-plus",label:"time_shortcut.one_year",time:(0,s.oneYear)(e),timeFormatKey:"dates.long_with_year"}),forever:()=>({id:r.FOREVER,icon:"gavel",label:"time_shortcut.forever",time:(0,s.thousandYears)(e),timeFormatKey:"dates.long_with_year"}),custom:()=>({icon:"calendar-days",id:r.CUSTOM,label:"time_shortcut.custom",time:null,isCustomTimeShortcut:!0}),lastCustom:()=>({icon:"arrow-rotate-left",id:r.LAST_CUSTOM,label:"time_shortcut.last_custom",time:null,hidden:!0}),none:()=>({icon:"ban",id:r.NONE,label:"time_shortcut.none",time:null}),now:()=>({id:r.NOW,icon:"wand-magic",label:"time_shortcut.now",time:(0,s.now)(e)})}}function d(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=new Set,a=(0,s.now)(t);return a.hour()>=s.LATER_TODAY_CUTOFF_HOUR&&n.add(r.LATER_TODAY),(a.day===s.MOMENT_SUNDAY||a.day()>=s.MOMENT_THURSDAY)&&n.add(r.LATER_THIS_WEEK),i.suggest_weekends_in_date_pickers&&a.day()!==s.MOMENT_FRIDAY&&a.day()!==s.MOMENT_SATURDAY&&a.day()!==s.MOMENT_SUNDAY||n.add(r.THIS_WEEKEND),e.filter(e=>!n.has(e.id))}function c(e){return e.time&&e.timeFormatKey?e.time.format((0,n.i18n)(e.timeFormatKey)):null}},27258:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(81845),n=i(66530),r=i(58295),a=i(20559),o=i(72172),l=i(6827),u=i(86232),d=i(51715),c=i(48297),p=i(57364);let{TOTP:h,BACKUP_CODE:m,SECURITY_KEY:g}=c.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")]))();#oD=(()=>void dt7948.i(this,"totpEnabled"))();static #i=(()=>dt7948.g(this.prototype,"backupCodesEnabled",[(0,r.readOnly)("model.backup_enabled")]))();#oM=(()=>void dt7948.i(this,"backupCodesEnabled"))();static #n=(()=>dt7948.g(this.prototype,"securityKeysEnabled",[(0,r.readOnly)("model.security_keys_enabled")]))();#ox=(()=>void dt7948.i(this,"securityKeysEnabled"))();static #a=(()=>dt7948.g(this.prototype,"allowedMethods",[(0,r.readOnly)("model.allowed_methods")]))();#oE=(()=>void dt7948.i(this,"allowedMethods"))();static #l=(()=>dt7948.g(this.prototype,"customDescription",[(0,r.readOnly)("model.description")]))();#oL=(()=>void dt7948.i(this,"customDescription"))();static #d=(()=>dt7948.g(this.prototype,"showTotpForm",[(0,r.equal)("shownSecondFactorMethod",h)]))();#oP=(()=>void dt7948.i(this,"showTotpForm"))();static #p=(()=>dt7948.g(this.prototype,"showSecurityKeyForm",[(0,r.equal)("shownSecondFactorMethod",g)]))();#oF=(()=>void dt7948.i(this,"showSecurityKeyForm"))();static #m=(()=>dt7948.g(this.prototype,"showBackupCodesForm",[(0,r.equal)("shownSecondFactorMethod",m)]))();#oI=(()=>void dt7948.i(this,"showBackupCodesForm"))();totpAvailable(){return this.totpEnabled&&this.allowedMethods.includes(h)}static #f=(()=>dt7948.n(this.prototype,"totpAvailable",[(0,l.default)("allowedMethods.[]","totpEnabled")]))();backupCodesAvailable(){return this.backupCodesEnabled&&this.allowedMethods.includes(m)}static #y=(()=>dt7948.n(this.prototype,"backupCodesAvailable",[(0,l.default)("allowedMethods.[]","backupCodesEnabled")]))();securityKeysAvailable(){return this.securityKeysEnabled&&this.allowedMethods.includes(g)}static #v=(()=>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 #k=(()=>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 #A=(()=>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 #M=(()=>dt7948.n(this.prototype,"secondFactorDescription",[(0,l.default)("shownSecondFactorMethod")]))();alertClass(e){return e?"alert-error":"alert-success"}static #E=(()=>dt7948.n(this.prototype,"alertClass",[(0,l.default)("messageIsError")]))();inputFormClass(e,t){return e?"totp-token":t?"backup-code-token":void 0}static #P=(()=>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 #I=(()=>dt7948.n(this.prototype,"useAnotherMethod",[n.action]))();authenticateSecurityKey(){(0,d.getWebauthnCredential)(this.model.challenge,this.model.allowed_credential_ids,e=>{this.verifySecondFactor({second_factor_token:e})},e=>{this.displayError(e)})}static #O=(()=>dt7948.n(this.prototype,"authenticateSecurityKey",[n.action]))();isSecondFactorTokenValid(e){return e?.length>0}static #R=(()=>dt7948.n(this.prototype,"isSecondFactorTokenValid",[(0,l.default)("secondFactorToken")]))();authenticateToken(){this.verifySecondFactor({second_factor_token:this.secondFactorToken})}static #B=(()=>dt7948.n(this.prototype,"authenticateToken",[n.action]))()}},27322:(e,t,i)=>{"use strict";let s,n,r,a;function o(e){let t=Object.create(null);for(let i in t[e]=1,t)if(i===e)return i;return e}function l(e){return null!==e&&("object"==typeof e||"function"==typeof e)}i.r(t),i.d(t,{G:()=>m,R:()=>T,a:()=>_,b:()=>g,c:()=>w,d:()=>E,e:()=>l,f:()=>n,g:()=>f,h:()=>a,i:()=>o,l:()=>I,o:()=>M,s:()=>x,t:()=>r,u:()=>d,w:()=>P}),i(23260);let u=0;function d(){return++u}let c="ember",p=new WeakMap,h=new Map,m=o(`__ember${Date.now()}`);function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,i=t+d().toString();return l(e)&&p.set(e,i),i}function f(e){let t;if(l(e))void 0===(t=p.get(e))&&(t=`${c}${d()}`,p.set(e,t));else if(void 0===(t=h.get(e))){let i=typeof e;t="string"===i?`st${d()}`:"number"===i?`nu${d()}`:"symbol"===i?`sy${d()}`:`(${e})`,h.set(e,t)}return t}let _=s,y=/\.(_super|call\(this|apply\(this)/,b=Function.prototype.toString,w=(()=>b.call(function(){return this}).indexOf("return this")>-1?function(e){return y.test(b.call(e))}:function(){return!0})(),k=new WeakMap,T=Object.freeze(function(){});function S(e){let t=k.get(e);return void 0===t&&(t=w(e),k.set(e,t)),t}k.set(T,!1);class C{listeners=(()=>void 0)();observers=(()=>void 0)()}let A=new WeakMap;function D(e){let t=A.get(e);return void 0===t&&(t=new C,A.set(e,t)),t}function M(e){return A.get(e)}function x(e,t){D(e).observers=t}function E(e,t){D(e).listeners=t}let L=new WeakSet;function P(e,t){return S(e)?!L.has(t)&&S(t)?F(e,F(t,T)):F(e,t):e}function F(e,t){function i(){let i=this._super;this._super=t;let s=e.apply(this,arguments);return this._super=i,s}L.add(i);let s=A.get(e);return void 0!==s&&A.set(i,s),i}function I(e,t){let i=e;do{let e=Object.getOwnPropertyDescriptor(i,t);if(void 0!==e)return e;i=Object.getPrototypeOf(i)}while(null!==i)return null}},27421:(e,t,i)=>{"use strict";function s(e){return parseFloat(e).toFixed(1)}i.r(t),i.d(t,{default:()=>s})},27439:e=>{var t={};function i(e,t,i){if(0===e.length)return!1;for(var s,n,r=0,a=e.length-1;r<=a;){if(n=e[s=(a+r)/2|0],r===a)return n>=t&&n<=i;if(ni))return!0;a=s-1}}return!1}function s(e,t){return e>t?1:-1}e.exports=function(e,n,r,a){return r&&0!==r.length?(r.sort(s),function e(s,n,r,a,o){if(a=a||{},s){i(r,o,o)&&(a[o]=s);var l=n.children;if(l)for(var u=s.childNodes,d=0;d{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(9348),n=i(4089),r=i(78941),a=i(1848),o=i(6827),l=i(55888);let u=dt7948.c(class extends s.default{searchParams(){let e=`@${this.get("user.username")} #${this.get("category.slug")}`;return this.searchOnlyFirstPosts&&(e+=" in:first"),e}static #e=(()=>dt7948.n(this.prototype,"searchParams",[(0,o.default)("user","category")]))();static #i=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"Z1CGSwru",block:'[[[1,"\\n"],[41,[30,1],[[[1," "],[8,[32,0],null,[["@route","@query"],["full-page-search",[28,[32,1],null,[["q"],[[30,0,["searchParams"]]]]]]],[["default"],[[[[1,"\\n "],[1,[30,1]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," –\\n"]],[]]],[1," "]],["@count"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-summary-category-search.js",scope:()=>[r.LinkTo,n.hash],isStrictMode:!0}),this))()},[(0,a.tagName)("")])},27575:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(90831),n=i(39585),r=i(47711),a=i(79401),o=i(71773),l=i(46386),u=i(57364),d=i(9348),c=i(55888),p=i(74975);let h=(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"NDOMpl2U",block:'[[[1,"\\n "],[10,"section"],[14,0,"user-navigation user-navigation-primary"],[12],[1,"\\n "],[8,[32,0],[[24,0,"main-nav nav user-nav"]],[["@ariaLabel"],["User primary"]],[["default"],[[[[1,"\\n"],[41,[51,[30,1,["profile_hidden"]]],[[[1," "],[8,[32,1],[[24,0,"user-nav__summary"]],[["@route"],["user.summary"]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["user"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,3],["user.summary.title"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[30,2],[[[1," "],[8,[32,1],[[24,0,"user-nav__activity"]],[["@route","@ariaCurrentContext"],["userActivity","parentNav"]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["bars-staggered"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,3],["user.activity_stream"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,3],[[[1," "],[8,[32,1],[[24,0,"user-nav__notifications"]],[["@route","@ariaCurrentContext"],["userNotifications","parentNav"]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["bell"],[["class"],["glyph"]]]],[1,"\\n "],[10,1],[12],[1,[28,[32,3],["user.notifications"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,4],[[[1," "],[8,[32,1],[[24,0,"user-nav__personal-messages"]],[["@route","@ariaCurrentContext"],["userPrivateMessages","parentNav"]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["envelope"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,3],["user.private_messages"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,5],[[[1," "],[8,[32,1],[[24,0,"user-nav__invites"]],[["@route","@ariaCurrentContext"],["userInvited","parentNav"]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["user-plus"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,3],["user.invited.title"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,6],[[[1," "],[8,[32,1],[[24,0,"user-nav__badges"]],[["@route"],["user.badges"]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["certificate"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,3],["badges.title"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,4],null,[["@name","@connectorTagName","@outletArgs"],["user-main-nav","li",[28,[32,5],null,[["model"],[[30,1]]]]]],null],[1,"\\n\\n"],[41,[30,1,["can_edit"]],[[[1," "],[8,[32,1],[[24,0,"user-nav__preferences"]],[["@route","@ariaCurrentContext"],["preferences","parentNav"]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["gear"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,3],["user.preferences.title"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[41,[28,[32,6],[[30,7],[30,8]],null],[[[1," "],[10,"li"],[14,0,"user-nav__admin"],[12],[1,"\\n "],[10,3],[15,6,[30,1,["adminPath"]]],[12],[1,"\\n "],[1,[28,[32,2],["wrench"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,3],["admin.user.manage_user"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],["@user","@showActivityTab","@showNotificationsTab","@showPrivateMessages","@canInviteToForum","@showBadges","@isMobileView","@isStaff"],false,["unless","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-nav.js",scope:()=>[r.default,n.default,o.default,u.i18n,a.default,l.default,s.and],isStrictMode:!0}),(0,p.default)(void 0,"user-nav:UserNav"))},27617:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(60524);function n(e){var t=(0,s.A)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},27726:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(96675),n=i(47754),r=i(81172),a=i(34057),o=i(57364);class l extends r.default{constructor(e){let{message:t}=e;super(...arguments),this.message=t}get className(){let e=["message"];return e.push(this.message.unread?"unread":"read"),e.join(" ")}get linkHref(){let e=Math.min((this.message.last_read_post_number||0)+1,this.message.highest_post_number);return(0,a.postUrl)(this.message.slug,this.message.id,e)}get linkTitle(){return(0,o.i18n)("user.private_message")}get icon(){return"notification.private_message"}get label(){return this.siteSettings.prioritize_full_name_in_ux&&this.message.last_poster_name||this.message.last_poster_username}get description(){return(0,s.htmlSafe)((0,n.emojiUnescape)(this.message.fancy_title))}get topicId(){return this.message.id}get avatarTemplate(){return this.message.last_poster_avatar_template}}},27730:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(76586),n=i(14874),r=i(57364),a=i(9348),o=i(55888),l=i(74975);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"))},27731:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(66530),n=i(36768),r=i(86726);function a(e,t,i){t??=e;let a=(0,s.computed)(function(e){return(0,n.getOwner)(this).lookup(`service:${t||(0,r.dasherize)(e)}`)});return i?a(e,t,i):a}},27734:(e,t,i)=>{"use strict";i(97223)("ev-store","7");var s="__EV_STORE_KEY@7";e.exports=function(e){var t=e[s];return t||(t=e[s]={}),t}},27913:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addListener:()=>s.G,removeListener:()=>s.H,sendEvent:()=>s.k}),i(49233),i(27322),i(23260),i(17633),i(4837),i(184);var s=i(39665);i(8166)},27942:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(90098),n=i(56356),r=i(9348),a=i(55888),o=i(74975);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)))},27994:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(9348),n=i(4089),r=i(58295),a=i(79401),o=i(15294),l=i(46386),u=i(6827),d=i(45824),c=i(57364),p=i(44093),h=i(72716),m=i(46337),g=i(55888);class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"membersVisibilityLevel",[(0,r.or)("model.members_visibility_level","visibilityLevelOptions.firstObject.value")]))();#oN=(()=>void dt7948.i(this,"membersVisibilityLevel"))();static #i=(()=>dt7948.g(this.prototype,"messageableLevel",[(0,r.or)("model.messageable_level","aliasLevelOptions.firstObject.value")]))();#oO=(()=>void dt7948.i(this,"messageableLevel"))();static #n=(()=>dt7948.g(this.prototype,"mentionableLevel",[(0,r.or)("model.mentionable_level","aliasLevelOptions.firstObject.value")]))();#oj=(()=>void dt7948.i(this,"mentionableLevel"))();visibilityLevelOptions=(()=>[{name:(0,c.i18n)("admin.groups.manage.interaction.visibility_levels.public"),value:0},{name:(0,c.i18n)("admin.groups.manage.interaction.visibility_levels.logged_on_users"),value:1},{name:(0,c.i18n)("admin.groups.manage.interaction.visibility_levels.members"),value:2},{name:(0,c.i18n)("admin.groups.manage.interaction.visibility_levels.staff"),value:3},{name:(0,c.i18n)("admin.groups.manage.interaction.visibility_levels.owners"),value:4}])();aliasLevelOptions=(()=>[{name:(0,c.i18n)("groups.alias_levels.nobody"),value:0},{name:(0,c.i18n)("groups.alias_levels.only_admins"),value:1},{name:(0,c.i18n)("groups.alias_levels.mods_and_admins"),value:2},{name:(0,c.i18n)("groups.alias_levels.members_mods_and_admins"),value:3},{name:(0,c.i18n)("groups.alias_levels.owners_mods_and_admins"),value:4},{name:(0,c.i18n)("groups.alias_levels.everyone"),value:99}])();watchingNotificationLevel=(()=>d.NotificationLevels.WATCHING)();defaultNotificationLevel(e,t){return Object.values(d.NotificationLevels).includes(e)?e:t}static #a=(()=>dt7948.n(this.prototype,"defaultNotificationLevel",[(0,u.default)("model.default_notification_level","watchingNotificationLevel")]))();showEmailSettings(e,t,i){return e&&i&&!t}static #l=(()=>dt7948.n(this.prototype,"showEmailSettings",[(0,u.default)("siteSettings.email_in","model.automatic","currentUser.admin")]))();canAdminGroup(e,t,i){return!e&&i||e&&t}static #d=(()=>dt7948.n(this.prototype,"canAdminGroup",[(0,u.default)("model.isCreated","model.can_admin_group","currentUser.can_create_group")]))();membersVisibilityPrivate(e){return e!==this.visibilityLevelOptions.firstObject.value}static #p=(()=>dt7948.n(this.prototype,"membersVisibilityPrivate",[(0,u.default)("membersVisibilityLevel")]))();static #m=(()=>(0,s.setComponentTemplate)((0,g.createTemplateFactory)({id:"0o1WI7fD",block:'[[[1,"\\n"],[41,[30,0,["canAdminGroup"]],[[[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,"\\n "],[1,[28,[32,0],["admin.groups.manage.interaction.visibility"],null]],[1,"\\n "],[13],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[1,[28,[32,0],["admin.groups.manage.interaction.visibility_levels.title"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,1],[[24,0,"groups-form-visibility-level"]],[["@name","@valueProperty","@value","@content","@onChange","@options"],["alias","value",[30,0,["model","visibility_level"]],[30,0,["visibilityLevelOptions"]],[28,[32,2],[[28,[31,1],[[30,0,["model","visibility_level"]]],null]],null],[28,[32,3],null,[["castInteger"],[true]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["admin.groups.manage.interaction.visibility_levels.description"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[1,[28,[32,0],["admin.groups.manage.interaction.members_visibility_levels.title"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,1],[[24,0,"groups-form-members-visibility-level"]],[["@name","@valueProperty","@value","@content","@onChange"],["alias","value",[30,0,["membersVisibilityLevel"]],[30,0,["visibilityLevelOptions"]],[28,[32,2],[[28,[31,1],[[30,0,["model","members_visibility_level"]]],null]],null]]],null],[1,"\\n\\n"],[41,[30,0,["membersVisibilityPrivate"]],[[[1," "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["admin.groups.manage.interaction.members_visibility_levels.description"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[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,0],["groups.manage.interaction.posting"],null]],[1,"\\n "],[13],[1,"\\n "],[10,"label"],[14,"for","alias"],[12],[1,[28,[32,0],["groups.alias_levels.mentionable"],null]],[13],[1,"\\n\\n "],[8,[32,1],[[24,0,"groups-form-mentionable-level"]],[["@name","@valueProperty","@value","@content","@onChange"],["alias","value",[30,0,["mentionableLevel"]],[30,0,["aliasLevelOptions"]],[28,[32,2],[[28,[31,1],[[30,0,["model","mentionable_level"]]],null]],null]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,"for","alias"],[12],[1,[28,[32,0],["groups.alias_levels.messageable"],null]],[13],[1,"\\n\\n "],[8,[32,1],[[24,0,"groups-form-messageable-level"]],[["@name","@valueProperty","@value","@content","@onChange"],["alias","value",[30,0,["messageableLevel"]],[30,0,["aliasLevelOptions"]],[28,[32,2],[[28,[31,1],[[30,0,["model","messageable_level"]]],null]],null]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["canAdminGroup"]],[[[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[8,[32,4],[[24,0,"groups-form-publish-read-state"]],[["@type","@checked"],["checkbox",[30,0,["model","publish_read_state"]]]],null],[1,"\\n\\n "],[1,[28,[32,0],["admin.groups.manage.interaction.publish_read_state"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showEmailSettings"]],[[[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,"\\n "],[1,[28,[32,0],["admin.groups.manage.interaction.email"],null]],[1,"\\n "],[13],[1,"\\n "],[10,"label"],[14,"for","incoming_email"],[12],[1,"\\n "],[1,[28,[32,0],["admin.groups.manage.interaction.incoming_email"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,5],[[24,0,"input-xxlarge groups-form-incoming-email"]],[["@name","@value","@placeholderKey"],["incoming_email",[30,0,["model","incoming_email"]],"admin.groups.manage.interaction.incoming_email_placeholder"]],null],[1,"\\n\\n "],[8,[32,6],null,[["@icon","@content"],["circle-info",[28,[32,0],["admin.groups.manage.interaction.incoming_email_tooltip"],null]]],null],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,7],null,[["@name","@connectorTagName","@outletArgs"],["group-email-in","div",[28,[32,8],null,[["model"],[[30,0,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,"\\n "],[1,[28,[32,0],["groups.manage.interaction.notification"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["groups.notification_level"],null]],[13],[1,"\\n\\n "],[8,[32,9],[[24,0,"groups-form-default-notification-level"]],[["@value","@options","@onChange"],[[30,0,["defaultNotificationLevel"]],[28,[32,3],null,[["i18nPrefix"],["groups.notifications"]]],[28,[32,2],[[28,[31,1],[[30,0,["model","default_notification_level"]]],null]],null]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,7],null,[["@name","@connectorTagName","@outletArgs"],["groups-interaction-custom-options","div",[28,[32,8],null,[["model"],[[30,0,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "]],[],false,["if","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/groups-form-interaction-fields.js",scope:()=>[c.i18n,p.default,n.fn,n.hash,s.Input,o.default,m.default,a.default,l.default,h.default],isStrictMode:!0}),this))()}},28029:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(24698),n=i(57364),r=i(9348),a=i(55888);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))()}},28067:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(66530);function n(e){e.prototype.defaultItem=function(e,t){let{valueProperty:i,nameProperty:s}=this.selectKit;return i?{[i]:e,[s]:t}:t||e},e.prototype.itemForValue=function(e,t){let{valueProperty:i}=this.selectKit;return i?t.findBy(i,e):e},e.prototype.getProperty=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{definedOnly:!0};if(!e)return null;if(e&&"string"==typeof t){let i=(0,s.get)(e,t);if(i)return i}return(t=(0,s.get)(this.selectKit,t))?"string"==typeof t?(0,s.get)(e,t):t(e):i.definedOnly?null:e},e.prototype.getValue=function(e){return this.getProperty(e,"valueProperty",{definedOnly:!1})},e.prototype.getName=function(e){return this.getProperty(e,"nameProperty",{definedOnly:!1})},e.prototype.findValue=function(e,t){return this._findInContent(e,t,"valueProperty",e=>this.getValue(e))},e.prototype.findName=function(e,t){return this._findInContent(e,t,"nameProperty",e=>this.getName(e))},e.prototype._findInContent=function(e,t,i,n){let r=(0,s.get)(this.selectKit,i);if(!r)return e.includes(t)?t:void 0;if("string"==typeof r)return e.findBy(r,n(t));let a=n(t);return e.find(e=>n(e)===a)}}},28132:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(96675),n=i(90098),r=i(90831),a=i(58219),o=i(11811),l=i(79401),u=i(71773),d=i(46386),c=i(57364),p=i(9348),h=i(55888),m=i(74975);let g=(0,n.default)((0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"L0dasDCp",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["exception-wrapper",[28,[32,1],null,[["thrown","reason"],[[30,0,["thrown"]],[30,0,["reason"]]]]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"container"],[12],[1,"\\n"],[41,[28,[32,2],[[30,1,["errorHtml"]],[30,1,["isForbidden"]]],null],[[[1," "],[10,0],[14,0,"not-found"],[12],[1,[28,[32,3],[[30,1,["errorHtml"]]],null]],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"error-page"],[12],[1,"\\n "],[10,0],[14,0,"face"],[12],[1,":("],[13],[1,"\\n "],[10,0],[14,0,"reason"],[12],[1,[30,1,["reason"]]],[13],[1,"\\n"],[41,[30,1,["requestUrl"]],[[[1," "],[10,0],[14,0,"url"],[12],[1,"\\n "],[1,[28,[32,4],["errors.prev_page"],null]],[1,"\\n "],[10,3],[15,6,[30,1,["requestUrl"]]],[14,"data-auto-route","true"],[12],[1,[30,1,["requestUrl"]]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"desc"],[12],[1,"\\n"],[41,[30,1,["networkFixed"]],[[[1," "],[1,[28,[32,5],["circle-check"],null]],[1,"\\n"]],[]],null],[1,"\\n "],[1,[30,1,["desc"]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"buttons"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["enabledButtons"]]],null]],null],null,[[[1," "],[8,[32,6],[[16,0,[30,2,["classes"]]]],[["@icon","@action","@label"],[[30,2,["icon"]],[30,2,["action"]],[30,2,["key"]]]],null],[1,"\\n"]],[2]],null],[1," "],[8,[32,7],null,[["@condition"],[[30,1,["loading"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@controller","buttonData"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/exception.js",scope:()=>[l.default,d.default,r.and,s.htmlSafe,c.i18n,u.default,o.default,a.default],isStrictMode:!0}),(0,m.default)(void 0,void 0)))},28156:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(23419),n=i(57364);let r=(0,s.createWidget)("post-gap",{tagName:"div.gap",buildKey:e=>`post-gap-${e.pos}-${e.postId}`,defaultState:()=>({loading:!1}),html:(e,t)=>t.loading?(0,n.i18n)("loading"):(0,n.i18n)("post.gap",{count:e.gap.length}),click(){let{attrs:e,state:t}=this;if(t.loading)return;t.loading=!0;let i={gap:e.gap,post:this.model};return this.sendWidgetAction("before"===e.pos?"fillGapBefore":"fillGapAfter",i).then(()=>{t.loading=!1,this.appEvents.trigger("post-stream:gap-expanded",{post_id:this.model.id})})}})},28168:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(81845),n=i(66530),r=i(58295),a=i(13744),o=i(96675),l=i(23286),u=i(20559),d=i(77987),c=i(6827),p=i(60882),h=i(42358),m=i(57364);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[a.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"application",[s.inject]))();#t7=(()=>void dt7948.i(this,"application"))();static #n=(()=>dt7948.g(this.prototype,"user",[s.inject]))();#rd=(()=>void dt7948.i(this,"user"))();queryParams=["q"];q=null;loading=!1;loadingMore=!1;permissionDenied=!1;bulkSelectHelper=(()=>new d.default(this))();static #a=(()=>dt7948.g(this.prototype,"inSearchMode",[(0,r.notEmpty)("q")]))();#oR=(()=>void dt7948.i(this,"inSearchMode"))();static #l=(()=>dt7948.g(this.prototype,"noContent",[(0,r.equal)("model.bookmarks.length",0)]))();#oU=(()=>void dt7948.i(this,"noContent"))();get searchTerm(){return void 0!==this._searchTerm?this._searchTerm:this.q}static #d=(()=>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 #p=(()=>dt7948.n(this.prototype,"emptyStateBody",[(0,c.default)()]))();userDoesNotHaveBookmarks(e,t){return!e&&t}static #m=(()=>dt7948.n(this.prototype,"userDoesNotHaveBookmarks",[(0,c.default)("inSearchMode","noContent")]))();nothingFound(e,t){return e&&t}static #f=(()=>dt7948.n(this.prototype,"nothingFound",[(0,c.default)("inSearchMode","noContent")]))();search(){this.router.transitionTo({queryParams:{q:this._searchTerm}})}static #y=(()=>dt7948.n(this.prototype,"search",[n.action]))();reload(){this.send("triggerRefresh")}static #v=(()=>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 #k=(()=>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}}},28184:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(9348),n=i(4089),r=i(66530),a=i(58295),o=i(17048),l=i(1848),u=i(90831),d=i(81727),c=i.n(d),p=i(70239),h=i.n(p),m=i(88740),g=i(28067),f=i(55888);let _=dt7948.c(class extends s.default{name=null;value=null;headerTitle=null;headerLang=null;headerLabel=null;id=null;static #e=(()=>dt7948.g(this.prototype,"lang",[(0,a.reads)("headerLang")]))();#oe=(()=>void dt7948.i(this,"lang"))();init(){super.init(...arguments),this.set("id",(0,o.guidFor)(this))}didReceiveAttrs(){super.didReceiveAttrs(...arguments),this.setProperties({headerLabel:this.getProperty(this.item,"labelProperty"),headerTitle:this.getProperty(this.item,"titleProperty"),headerLang:this.getProperty(this.item,"langProperty"),name:this.getName(this.item),renderIcon:this.canDisplayIcon,value:this.item===this.selectKit.noneItem?null:this.getValue(this.item)})}get canDisplayIcon(){return this.selectKit.options.shouldDisplayIcon??!0}static #i=(()=>dt7948.n(this.prototype,"canDisplayIcon",[(0,r.computed)("selectKit.options.shouldDisplayIcon")]))();get ariaLabel(){return this._safeProperty("ariaLabel",this.item)||this.sanitizedTitle}static #n=(()=>dt7948.n(this.prototype,"ariaLabel",[(0,r.computed)("item","sanitizedTitle")]))();get sanitizedTitle(){return String(this.title).replace("…","")}static #a=(()=>dt7948.n(this.prototype,"sanitizedTitle",[(0,r.computed)("title")]))();get title(){return this.headerTitle||this._safeProperty("title",this.item)||this.name||""}static #l=(()=>dt7948.n(this.prototype,"title",[(0,r.computed)("headerTitle","item")]))();get label(){return this.headerLabel||this._safeProperty("label",this.item)||this.title||this.name}static #d=(()=>dt7948.n(this.prototype,"label",[(0,r.computed)("headerLabel","title","name")]))();get icons(){let e=(0,m.makeArray)(this._safeProperty("icon",this.item)),t=(0,m.makeArray)(this._safeProperty("icons",this.item));return e.concat(t).filter(Boolean)}static #p=(()=>dt7948.n(this.prototype,"icons",[(0,r.computed)("item.{icon,icons}")]))();_safeProperty(e,t){return t?(0,r.get)(t,e):null}static #m=(()=>(0,s.setComponentTemplate)((0,f.createTemplateFactory)({id:"YJPCr/m0",block:'[[[1,"\\n"],[41,[30,0,["selectKit","options","showFullTitle"]],[[[1," "],[10,0],[15,"lang",[30,0,["lang"]]],[15,"title",[30,0,["title"]]],[15,"data-value",[30,0,["value"]]],[15,"data-name",[30,0,["name"]]],[14,0,"select-kit-selected-name selected-name choice"],[12],[1,"\\n"],[41,[30,0,["selectKit","options","formName"]],[[[1," "],[10,"input"],[15,3,[30,0,["selectKit","options","formName"]]],[15,2,[30,0,["value"]]],[14,4,"hidden"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,0],[[30,0,["renderIcon"]],[30,0,["item","icon"]]],null],[[[1," "],[1,[28,[32,1],[[30,0,["item","icon"]]],null]],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[14,0,"name"],[12],[1,"\\n "],[1,[30,0,["label"]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["shouldDisplayClearableButton"]],[[[1," "],[8,[32,2],[[24,0,"btn-clear"]],[["@icon","@action","@ariaLabel"],["xmark",[28,[32,3],[[30,0,["selectKit","deselect"]],[30,0,["item"]]],null],"clear_input"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],[[[41,[30,0,["item","icon"]],[[[1," "],[10,0],[15,"lang",[30,0,["lang"]]],[14,0,"select-kit-selected-name selected-name choice"],[12],[1,"\\n "],[1,[28,[32,1],[[30,0,["item","icon"]]],null]],[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/selected-name.js",scope:()=>[u.and,h(),c(),n.fn],isStrictMode:!0}),this))()},[g.default,(0,l.tagName)("")])},28202:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(81845);class n extends s.default{}},28206:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(45916),n=i(99148);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)}}},28259:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>M,eagerCompleteSearch:()=>D,resetUserSearchCache:()=>w,skipSearch:()=>A,validateSearchResult:()=>x});var s=i(45916),n=i(23286),r=i(20559),a=i(53888),o=i(28206),l=i(99148),u=i(99307),d=i(8106),c=i(86232),p=i(34057),h=i(31601),m=i(57364);let g={},f,_,y,b;function w(){g={},f=null,_=null,y=null,b=null}function k(e,t,i,s,n,o,l,u,p,m,f,w,k,T){let S=g[e];if(S)return void T((0,d.cloneJSON)(S));let C=D(e,t||i);if(""===e&&!C&&!f)return void T(h.CANCELLED_STATUS);let A={term:e,topic_id:t,category_id:i,include_groups:s,include_mentionable_groups:n,include_messageable_groups:o,groups:p,topic_allowed_users:u,include_staged_users:m,last_seen_users:f,prioritized_user_id:w,limit:k};l&&Object.keys(l).forEach(e=>{A[(0,a.camelCaseToSnakeCase)(e)]=l[e]}),b=(0,r.ajax)((0,c.userPath)("search/users"),{data:A});let M=h.CANCELLED_STATUS;b.then(function(t){let i=!!(t.users&&t.users.length||t.groups&&t.groups.length||t.emails&&t.emails.length);C&&!i&&(t=h.CANCELLED_STATUS),g[e]=t,_=new Date,e===y&&(M=t)}).finally(function(){b=null,T((0,d.cloneJSON)(M))})}let T=function(e,t,i,s,n,r,a,l,u,d,c,p,h,m){(0,o.default)(this,k,e,t,i,s,n,r,a,l,u,d,c,p,h,m,300)};function S(e,t){return e&&t&&e.toLowerCase().includes(t.toLowerCase())}let C=/([\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*,\/:;<=>?\[\]^`{|}~])|\s\s|^\s$|^[^+]*\+[^@]*$/;function A(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!i&&(!!e.includes("@")&&!t||!!e.match(C))}function D(e,t){return""===e&&!!t}function M(e){e.term&&e.term.length>0&&"@"===e.term[0]&&(e.term=e.term.substring(1));let t=e.term||"",i=e.includeGroups,r=e.includeMentionableGroups,a=e.includeMessageableGroups,o=e.customUserSearchOptions,d=e.allowedUsers,c=e.topicId,m=e.categoryId,w=e.groupMembersOf,k=e.includeStagedUsers,C=e.lastSeenUsers,D=e.prioritizedUserId,M=e.limit||6;return b&&(b.abort(),b=null),y=t,new n.Promise(function(n){let y,b=`${c}-${m}`;if((new Date-_>3e4||f!==b)&&(g={}),f=b,(0,l.isTesting)()||(y=(0,u.default)(()=>n(h.CANCELLED_STATUS),5e3)),A(t,e.allowEmails,e.lastSeenUsers))return void n([]);T(t,c,m,i,r,a,o,d,w,k,C,D,M,function(t){(0,s.cancel)(y),n(function(e,t){if(e===h.CANCELLED_STATUS)return e;let i=t.exclude||[],s=t.term?.trim()?.split(/\s/,1)?.[0],n=[],r=[],a=[];e.users&&e.users.forEach(e=>{i.includes(e.username)||(e.isUser=!0,e.isMetadataMatch=!S(e.username,s)&&!S(e.name,s),n.push(e))}),t.allowEmails&&(0,p.emailValid)(t.term)&&r.push({username:t.term,isEmail:!0}),e.groups&&e.groups.forEach(e=>{i.includes(e.name)||(e.isGroup=!0,a.push(e))});let o=new Set,l=new Set,u=new Set,d=new Set,c=n.filter(e=>e.username.toLowerCase()===s?.toLowerCase()&&(o.add(e.username),!0)),m=a.filter(e=>e.name.toLowerCase()===s?.toLowerCase()&&(u.add(e.name),!0)),g=n.filter(e=>!o.has(e.username)&&!e.isMetadataMatch&&!!S(e.username,s)&&(l.add(e.username),!0)),f=a.filter(e=>!s||!u.has(e.name)&&S(e.name,s)),_=n.filter(e=>!(o.has(e.username)||l.has(e.username))&&e.name?.toLowerCase()===s?.toLowerCase()&&!e.isMetadataMatch&&(d.add(e.username),!0)),y=[...c,...m,...r,...g,...f,..._,...n.filter(e=>!o.has(e.username)&&!l.has(e.username)&&!d.has(e.username)&&S(e.name,s)&&!e.isMetadataMatch),...n.filter(e=>e.isMetadataMatch)].slice(0,t.limit);return y.users=y.filter(e=>e.isUser),y.emails=y.filter(e=>e.isEmail),y.groups=y.filter(e=>e.isGroup),y}(t,{...e,limit:M}))})})}function x(e){for(let[t,i]of Object.entries({isUser:{nameProperty:"username",translateKey:"composer.autocomplete.username_missing"},isEmail:{nameProperty:"username",translateKey:"composer.autocomplete.username_missing"},isGroup:{nameProperty:"name",translateKey:"composer.autocomplete.name_missing"}}))if(e[t]&&!e[i.nameProperty])throw Error((0,m.i18n)(i.translateKey));return!0}},28266:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(9348),n=i(4089),r=i(58295),a=i(13744),o=i(96675),l=i(1848),u=i(70139),d=i(6827),c=i(22710),p=i(60882),h=i(78188),m=i(57364),g=i(39759),f=i(55888);let _={[h.PRIVATE_MESSAGE]:"topic.private_message",[h.CREATE_TOPIC]:"topic.create_long",[h.CREATE_SHARED_DRAFT]:"composer.create_shared_draft",[h.EDIT_SHARED_DRAFT]:"composer.edit_shared_draft",[h.ADD_TRANSLATION]:"composer.translations.title"},y=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();static #n=(()=>dt7948.g(this.prototype,"options",[(0,r.alias)("model.replyOptions")]))();#nK=(()=>void dt7948.i(this,"options"))();static #a=(()=>dt7948.g(this.prototype,"action",[(0,r.alias)("model.action")]))();#oB=(()=>void dt7948.i(this,"action"))();actionTitle(e,t){let i=this.model.customizationFor("actionTitle");if(i)return i;if(_[t])return(0,m.i18n)(_[t]);if(t===h.REPLY){if(e.userAvatar&&e.userLink)return this._formatReplyToUserPost(e.userAvatar,e.userLink);else if(e.topicLink)return this._formatReplyToTopic(e.topicLink)}if(t===h.EDIT&&e.userAvatar&&e.userLink&&e.postLink)return this._formatEditUserPost(e.userAvatar,e.userLink,e.postLink,e.originalUser)}static #l=(()=>dt7948.n(this.prototype,"actionTitle",[(0,d.default)("options","action","model.tags","model.category")]))();get showPostLanguageSelector(){let e=[h.CREATE_TOPIC,h.EDIT,h.REPLY];return!!(this.currentUser&&this.siteSettings.content_localization_enabled&&this.currentUser.can_localize_content&&e.includes(this.model.action))}_formatEditUserPost(e,t,i,s){let n=` ${i.anchor} ${e} ${t.anchor} `;return s&&(n+=` ${(0,p.iconHTML)("share",{class:"reply-to-glyph"})} ${s.avatar} ${s.username} `),(0,o.htmlSafe)(n)}_formatReplyToTopic(e){return(0,o.htmlSafe)(`${e.anchor}`)}_formatReplyToUserPost(e,t){let i=`${(0,c.default)(t.anchor)}`;return(0,o.htmlSafe)(`${e}${i}`)}static #d=(()=>(0,s.setComponentTemplate)((0,f.createTemplateFactory)({id:"l7G54A+S",block:'[[[1,"\\n "],[8,[32,0],null,[["@composerModel","@replyOptions","@canWhisper","@canUnlistTopic","@action","@tabindex","@topic","@post","@whisper","@noBump","@options"],[[30,0,["model"]],[30,0,["model","replyOptions"]],[30,0,["canWhisper"]],[30,0,["canUnlistTopic"]],[30,0,["model","action"]],[30,0,["tabindex"]],[30,0,["model","topic"]],[30,0,["model","post"]],[30,0,["model","whisper"]],[30,0,["model","noBump"]],[28,[32,1],null,[["mobilePlacementStrategy"],["fixed"]]]]],null],[1,"\\n\\n "],[10,1],[14,0,"action-title"],[14,"role","heading"],[14,"aria-level","1"],[12],[1,"\\n "],[1,[30,0,["actionTitle"]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["showPostLanguageSelector"]],[[[1," "],[8,[32,2],null,[["@composerModel","@selectedLanguage"],[[30,0,["model"]],[30,0,["model","locale"]]]],null],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/composer-action-title.js",scope:()=>[g.default,n.hash,u.default],isStrictMode:!0}),this))()},[(0,l.classNames)("composer-action-title")])},28383:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(4089),n=i(90831),r=i(11811),a=i(71773),o=i(9348),l=i(55888),u=i(74975);let d=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"cCrv86ee",block:'[[[1,"\\n "],[10,0],[15,0,[29,["empty-state__container\\n ",[52,[30,1],[28,[32,0],["--",[30,1]],null]],"\\n ",[52,[30,2],"--with-image","--text-only"]]]],[12],[1,"\\n "],[10,0],[14,0,"empty-state"],[12],[1,"\\n"],[41,[30,2],[[[1," "],[10,0],[14,0,"empty-state__image"],[12],[1,"\\n "],[1,[30,2]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,3],[[[1," "],[10,0],[14,0,"empty-state__title"],[12],[1,[30,3]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,4],[[[1," "],[10,0],[14,0,"empty-state__body"],[12],[1,"\\n "],[10,2],[12],[1,[30,4]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,5],[[[1," "],[10,0],[14,0,"empty-state__cta"],[12],[1,"\\n "],[8,[32,1],[[24,0,"btn-primary"]],[["@action","@href","@route","@translatedLabel","@icon"],[[30,6],[30,7],[30,8],[30,5],[30,9]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,2],[[30,10],[48,[30,12]]],null],[[[1," "],[10,0],[14,0,"empty-state__tip"],[12],[1,"\\n"],[41,[30,11],[[[1," "],[1,[28,[32,3],[[30,11]],null]],[1,"\\n"]],[]],null],[41,[48,[30,12]],[[[1," "],[18,12,null],[1,"\\n"]],[]],[[[1," "],[1,[30,10]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],["@identifier","@svgContent","@title","@body","@ctaLabel","@ctaAction","@ctaHref","@ctaRoute","@ctaIcon","@tipText","@tipIcon","&tip"],false,["if","has-block","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/empty-state.js",scope:()=>[s.concat,r.default,n.or,a.default],isStrictMode:!0}),(0,u.default)(void 0,"empty-state:EmptyState"))},28411:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(81034);function n(e){var t=(0,s.A)(e),i=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+r+n)}},28424:(e,t,i)=>{"use strict";i.r(t),i.d(t,{cleanupLightboxes:()=>f,default:()=>_,setupLightboxes:()=>g});var s=i(30587),n=i.n(s),r=i(62807),a=i(99148),o=i(55751),l=i(51852),u=i(60882),d=i(91298),c=i(51261),p=i(34057),h=i(48297),m=i(57364);async function g(e){let{container:t,selector:i}=e;(0,o.getOwnerWithFallback)(this).lookup("service:lightbox").setupLightboxes({container:t,selector:i})}function f(){return(0,o.getOwnerWithFallback)(this).lookup("service:lightbox").cleanupLightboxes()}function _(e,t){if(!e)return;let i=e.querySelectorAll(d.SELECTORS.DEFAULT_ITEM_SELECTOR);if(!i.length)return;let s=(0,l.helperContext)().capabilities,o=s.touch;(0,c.default)("/javascripts/jquery.magnific-popup.min.js").then(function(){n()(i).magnificPopup({type:"image",closeOnContentClick:!1,removalDelay:300*!(0,a.isTesting)(),mainClass:"mfp-zoom-in",tClose:(0,m.i18n)("lightbox.close"),tLoading:r.spinnerHTML,prependTo:(0,a.isTesting)()&&document.getElementById("ember-testing"),gallery:{enabled:!0,tPrev:(0,m.i18n)("lightbox.previous"),tNext:(0,m.i18n)("lightbox.next"),tCounter:(0,m.i18n)("lightbox.counter"),navigateByImgClick:o},ajax:{tError:(0,m.i18n)("lightbox.content_load_error")},callbacks:{open(){if(!o){let e=this.wrap,t=this.currItem.img,i=t.css("max-height");e.on("click.pinhandler","img",function(){e.toggleClass("mfp-force-scrollbars"),t.css("max-height",e.hasClass("mfp-force-scrollbars")?"none":i)})}s.isAppWebview&&(0,p.postRNWebviewMessage)("headerBg",n()(".mfp-bg").css("background-color"))},change(){this.wrap.removeClass("mfp-force-scrollbars")},beforeClose(){this.wrap.off("click.pinhandler"),this.wrap.removeClass("mfp-force-scrollbars"),s.isAppWebview&&(0,p.postRNWebviewMessage)("headerBg",n()(".d-header").css("background-color"))}},image:{tError:(0,m.i18n)("lightbox.image_load_error"),titleSrc(e){let i=e.el.data("download-href")||e.src,s=[(0,p.escapeExpression)(e.el.attr("title")),n()("span.informations",e.el).text()];return(!t.prevent_anons_from_downloading_files||h.default.current())&&s.push(''+(0,u.renderIcon)("string","download")+(0,m.i18n)("lightbox.download")+""),s.push(''+(0,u.renderIcon)("string","image")+(0,m.i18n)("lightbox.open")+""),s.join(" · ")}}})})}},28515:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>S});var s=i(58452),n=i(66530),r=i(58295),a=i(13744),o=i(96675),l=i(1848),u=i(72825),d=i(30506),c=i(6367),p=i(11811),h=i(39271),m=i(9265),g=i(3365),f=i(27090),_=i(6827),y=i(99314),b=i(86232),w=i(57364),k=i(9348),T=i(55888);let S=dt7948.c(class extends c.default{static #e=(()=>dt7948.g(this.prototype,"composer",[a.service]))();#t4=(()=>void dt7948.i(this,"composer"))();static #i=(()=>dt7948.g(this.prototype,"allowBackgrounds",[(0,f.setting)("allow_profile_backgrounds")]))();#oH=(()=>void dt7948.i(this,"allowBackgrounds"))();static #n=(()=>dt7948.g(this.prototype,"showBadges",[(0,f.setting)("enable_badges")]))();#oY=(()=>void dt7948.i(this,"showBadges"))();static #a=(()=>dt7948.g(this.prototype,"postStream",[(0,r.alias)("topic.postStream")]))();#nw=(()=>void dt7948.i(this,"postStream"))();static #l=(()=>dt7948.g(this.prototype,"showMoreMembers",[(0,r.gt)("moreMembersCount",0)]))();#oq=(()=>void dt7948.i(this,"showMoreMembers"))();elementId="group-card";mentionSelector="a.mention-group";group=null;highlightedMembers(e){return e.slice(0,10)}static #d=(()=>dt7948.n(this.prototype,"highlightedMembers",[(0,_.default)("group.members.[]")]))();moreMembersCount(e){return Math.max(e-10,0)}static #p=(()=>dt7948.n(this.prototype,"moreMembersCount",[(0,_.default)("group.user_count","group.members.[]")]))();groupClass(e){return e?`group-card-${e}`:""}static #m=(()=>dt7948.n(this.prototype,"groupClass",[(0,_.default)("group.name")]))();groupPath(e){return(0,b.groupPath)(e.name)}static #f=(()=>dt7948.n(this.prototype,"groupPath",[(0,_.default)("group")]))();_inserted(){this.appEvents.on("dom:clean",this,this._close)}static #y=(()=>dt7948.n(this.prototype,"_inserted",[(0,u.on)("didInsertElement")]))();_destroyed(){this.appEvents.off("dom:clean",this,this._close)}static #v=(()=>dt7948.n(this.prototype,"_destroyed",[(0,u.on)("didDestroyElement")]))();async _showCallback(e){this.setProperties({visible:!0,loading:!0});try{let t=await this.store.find("group",e);if(this.setProperties({group:t}),t.flair_url||t.flair_bg_color||t.set("flair_url","users"),t.can_see_members&&t.members.length<10)return t.reloadMembers({limit:10},!0)}catch{this._close()}finally{this.set("loading",null)}}_close(){this.set("group",null),super._close(...arguments)}close(e){e?.preventDefault(),this._close()}static #k=(()=>dt7948.n(this.prototype,"close",[n.action]))();handleShowGroup(e){(0,y.wantsNewWindow)(e)||(e.preventDefault(),this.showGroup(this.group),this._close())}static #S=(()=>dt7948.n(this.prototype,"handleShowGroup",[n.action]))();cancelFilter(){this.postStream.cancelFilter(),this.postStream.refresh(),this._close()}static #A=(()=>dt7948.n(this.prototype,"cancelFilter",[n.action]))();messageGroup(){this.composer.openNewMessage({recipients:this.get("group.name"),hasGroups:!0})}static #M=(()=>dt7948.n(this.prototype,"messageGroup",[n.action]))();static #E=(()=>(0,k.setComponentTemplate)((0,T.createTemplateFactory)({id:"WGsm0hpc",block:'[[[1,"\\n"],[41,[30,0,["visible"]],[[[1," "],[10,0],[14,0,"card-content"],[12],[1,"\\n"],[41,[30,0,["loading"]],[[[1," "],[10,0],[14,0,"card-row first-row"],[12],[1,"\\n "],[10,0],[14,0,"group-card-avatar"],[12],[1,"\\n "],[10,0],[14,0,"card-avatar-placeholder animated-placeholder placeholder-animation"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"card-row second-row"],[12],[1,"\\n "],[10,0],[14,0,"animated-placeholder placeholder-animation"],[12],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"card-row first-row"],[12],[1,"\\n "],[10,0],[14,0,"group-card-avatar"],[12],[1,"\\n "],[11,3],[16,6,[30,0,["groupPath"]]],[24,0,"card-huge-avatar"],[4,[32,0],["click",[30,0,["handleShowGroup"]]],null],[12],[1,"\\n "],[8,[32,1],null,[["@flairName","@flairUrl","@flairBgColor","@flairColor"],[[30,0,["group","name"]],[30,0,["group","flair_url"]],[30,0,["group","flair_bg_color"]],[30,0,["group","flair_color"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"names"],[12],[1,"\\n "],[10,1],[12],[1,"\\n "],[10,0],[15,0,[29,["names__primary ",[30,0,["group","name"]]]]],[12],[1,"\\n "],[11,3],[16,6,[30,0,["groupPath"]]],[24,0,"group-page-link"],[4,[32,0],["click",[30,0,["handleShowGroup"]]],null],[12],[1,[30,0,["group","name"]]],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["group","full_name"]],[[[1," "],[10,0],[14,0,"names__secondary full-name"],[12],[1,"\\n "],[1,[30,0,["group","full_name"]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"names__secondary username"],[12],[1,[30,0,["group","name"]]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"ul"],[14,0,"usercard-controls group-details-button"],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,2],null,[["@model","@showLogin"],[[30,0,["group"]],[28,[32,3],["showLogin"],null]]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["group","messageable"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,4],[[24,0,"btn-primary group-message-button inline"]],[["@action","@icon","@label"],[[30,0,["messageGroup"]],"envelope","groups.message"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["group","bio_excerpt"]],[[[1," "],[10,0],[14,0,"card-row second-row"],[12],[1,"\\n "],[10,0],[14,0,"bio"],[12],[1,"\\n "],[1,[28,[32,5],[[30,0,["group","bio_excerpt"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["group","members"]],[[[1," "],[10,0],[14,0,"card-row third-row"],[12],[1,"\\n "],[10,0],[14,0,"members metadata"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["highlightedMembers"]]],null]],null],null,[[[1," "],[11,3],[16,6,[30,1,["path"]]],[24,0,"card-tiny-avatar"],[4,[32,0],["click",[30,0,["close"]]],null],[12],[1,[28,[32,6],[[30,1],"tiny"],null]],[13],[1,"\\n"]],[1]],null],[41,[30,0,["showMoreMembers"]],[[[1," "],[11,3],[16,6,[30,0,["groupPath"]]],[24,0,"more-members-link"],[4,[32,0],["click",[30,0,["handleShowGroup"]]],null],[12],[1,"\\n "],[10,1],[14,0,"more-members-count"],[12],[1,"+"],[1,[30,0,["moreMembersCount"]]],[1,"\\n "],[1,[28,[32,7],["more"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["user"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-card-contents.js",scope:()=>[s.on,d.default,h.default,g.default,p.default,o.htmlSafe,m.default,w.i18n],isStrictMode:!0}),this))()},[(0,l.classNameBindings)("visible:show","showBadges","hasCardBadgeImage","isFixed:fixed","groupClass"),(0,l.classNames)("no-bg","group-card")])},28545:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(4089),n=i(48353),r=i(22710),a=i(57364),o=i(9348),l=i(55888),u=i(74975);let d=(e,t,i)=>{let s=(0,r.default)(e);if(t){let e=moment.tz(t,i).format((0,a.i18n)("dates.long_date_without_year"));s+=` ${(0,a.i18n)("until")} ${e}`}return s},c=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"Z3BF1mca",block:'[[[1,"\\n "],[10,0],[14,0,"user-status-background"],[12],[1,"\\n "],[1,[28,[32,0],[[30,1,["emoji"]]],[["title","alt"],[[28,[32,1],[[30,1,["description"]],[30,1,["ends_at"]],[30,2]],null],[28,[32,2],[":",[30,1,["emoji"]],":"],null]]]]],[1,"\\n "],[13],[1,"\\n"]],["@status","@timezone"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/user-dropdown/user-status-bubble.js",scope:()=>[n.default,d,s.concat],isStrictMode:!0}),(0,u.default)(void 0,"user-status-bubble:UserStatusBubble"))},28560:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(81845),n=i(66530),r=i(13744),a=i(72172),o=i(6827);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#tH=(()=>void dt7948.i(this,"router"))();static #i=(()=>dt7948.g(this.prototype,"groupAutomaticMembersDialog",[r.service]))();#o$=(()=>void dt7948.i(this,"groupAutomaticMembersDialog"))();saving=null;splitOwnerUsernames(e){return e&&e.length?e.split(","):[]}static #n=(()=>dt7948.n(this.prototype,"splitOwnerUsernames",[(0,o.default)("model.ownerUsernames")]))();splitUsernames(e){return e&&e.length?e.split(","):[]}static #a=(()=>dt7948.n(this.prototype,"splitUsernames",[(0,o.default)("model.usernames")]))();async save(){this.set("saving",!0);let e=this.model;if(!await this.groupAutomaticMembersDialog.showConfirm(e.id,e.automatic_membership_email_domains))return void this.set("saving",!1);e.create().then(()=>{this.router.transitionTo("group.members",e.name)}).catch(a.popupAjaxError).finally(()=>this.set("saving",!1))}static #l=(()=>dt7948.n(this.prototype,"save",[n.action]))();updateOwnerUsernames(e){this.set("model.ownerUsernames",e.join(","))}static #d=(()=>dt7948.n(this.prototype,"updateOwnerUsernames",[n.action]))();updateUsernames(e){this.set("model.usernames",e.join(","))}static #p=(()=>dt7948.n(this.prototype,"updateUsernames",[n.action]))()}},28568:(e,t,i)=>{"use strict";function s(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}i.d(t,{A:()=>s})},28598:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(13744),n=i(3521);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:d="btn-default",cancelButtonLabel:c="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:d,cancelButtonLabel:c,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 #i=(()=>dt7948.n(this.prototype,"cancel",[n.bind]))();enableConfirmButton(){this.set("confirmButtonDisabled",!1)}static #n=(()=>dt7948.n(this.prototype,"enableConfirmButton",[n.bind]))();hide(){this.reset()}static #a=(()=>dt7948.n(this.prototype,"hide",[n.bind]))()}},28609:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(24698),n=i(4089),r=i(58452),a=i(66530),o=i(13744),l=i(90831),u=i(79401),d=i(46386),c=i(99314),p=i(44325),h=i(86232),m=i(57364),g=i(9348),f=i(55888);class _ extends s.default{static #e=(()=>dt7948.g(this.prototype,"search",[o.service]))();#tB=(()=>void dt7948.i(this,"search"))();get filteredResultTypes(){return this.args.topicResultsOnly?this.args.resultTypes.filter(e=>"topic"===e.type):this.args.resultTypes.filter(e=>"topic"!==e.type)}onClick(e,t){let{resultType:i,result:s}=e;(0,p.logSearchLinkClick)({searchLogId:this.args.searchLogId,searchResultId:s.id,searchResultType:i.type}),(0,c.wantsNewWindow)(t)||(t.preventDefault(),this.routeToSearchResult(t.currentTarget.href))}static #i=(()=>dt7948.n(this.prototype,"onClick",[a.action]))();onKeydown(e,t){let{resultType:i,result:s}=e;return"Escape"===t.key?(this.args.closeSearchMenu(),t.preventDefault(),!1):"Enter"===t.key?(t.preventDefault(),t.stopPropagation(),(0,p.logSearchLinkClick)({searchLogId:this.args.searchLogId,searchResultId:s.id,searchResultType:i.type}),this.routeToSearchResult(t.target.href),!1):void(this.search.handleResultInsertion(t),this.search.handleArrowUpOrDown(t))}static #n=(()=>dt7948.n(this.prototype,"onKeydown",[a.action]))();routeToSearchResult(e){h.default.routeTo(e),this.args.closeSearchMenu()}static #a=(()=>dt7948.n(this.prototype,"routeToSearchResult",[a.action]))();static #l=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"rcvcP5C4",block:'[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["filteredResultTypes"]]],null]],null],null,[[[1," "],[10,0],[15,0,[30,1,["componentName"]]],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["search-menu-results-type-top",[28,[32,1],null,[["resultType"],[[30,1]]]]]],null],[1,"\\n "],[10,"ul"],[14,0,"list"],[15,"aria-label",[28,[32,2],[[28,[32,3],["search.results"],null]," ",[30,1,["type"]]],null]],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["results"]]],null]],null],null,[[[1," "],[11,"li"],[24,0,"item"],[4,[32,4],["keydown",[28,[32,5],[[30,0,["onKeydown"]],[28,[32,6],null,[["resultType","result"],[[30,1],[30,2]]]]],null]],null],[12],[1,"\\n "],[11,3],[16,6,[28,[32,7],[[30,2,["url"]],[30,2,["path"]]],null]],[24,0,"search-link"],[4,[32,4],["click",[28,[32,5],[[30,0,["onClick"]],[28,[32,6],null,[["resultType","result"],[[30,1],[30,2]]]]],null]],null],[12],[1,"\\n "],[8,[30,1,["component"]],null,[["@result","@displayNameWithUser","@isPMOnly"],[[30,2],[30,3],[30,4]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "]],["resultType","result","@displayNameWithUser","@isPMOnly"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/search-menu/results/types.js",scope:()=>[u.default,d.default,n.concat,m.i18n,r.on,n.fn,n.hash,l.or],isStrictMode:!0}),this))()}},28710:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(66530),n=i(30587),r=i.n(n),a=i(23286),o=i(20559);class l extends s.default{static find(e){return new a.Promise(t=>{let i=r()('noscript[data-path="/'+e+'"]');if(i.length){let s=i.text();s=s.match(/((?:.|[\n\r])*)/)[1],t(l.create({path:e,html:s}))}else(0,o.ajax)(`/${e}.html`,{dataType:"html"}).then(i=>t(l.create({path:e,html:i})))})}}},28743:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(66530),n=i(13744),r=i(1848),a=i(11615),o=i.n(a),l=i(2290),u=i(57364),d=i(75443),c=i(86558);let p=dt7948.c(class extends d.default{static #e=(()=>dt7948.g(this.prototype,"modal",[n.service]))();#tq=(()=>void dt7948.i(this,"modal"))();get userNotificationIcon(){return this.mainCollection&&this.mainCollection.find(e=>e.id===this.value).icon}static #i=(()=>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 #n=(()=>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 #a=(()=>dt7948.n(this.prototype,"onChange",[s.action]))()},[(0,c.selectKitOptions)({headerIcon:"userNotificationIcon",showCaret:!0}),(0,r.classNames)("user-notifications","user-notifications-dropdown")])},28805:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(4089),n=i(78941),r=i(11811),a=i(79401),o=i(17659),l=i(46386),u=i(3365),d=i(57364),c=i(9348),p=i(55888),h=i(74975);let m=(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"4t8hZmPx",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["user-profile-above-collapsed-info",[28,[32,1],null,[["model","collapsedInfo"],[[30,1],[30,2]]]]]],null],[1,"\\n"],[41,[51,[30,2]],[[[1," "],[10,0],[14,0,"secondary"],[14,1,"collapsed-info-panel"],[12],[1,"\\n "],[10,"dl"],[12],[1,"\\n"],[41,[30,1,["created_at"]],[[[1," "],[10,0],[12],[1,"\\n "],[10,"dt"],[14,0,"created-at"],[12],[1,[28,[32,2],["user.created"],null]],[13],[1,"\\n "],[10,"dd"],[14,0,"created-at"],[12],[1,"\\n "],[1,[28,[32,3],[[30,1,["created_at"]]],[["format"],["medium"]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["last_posted_at"]],[[[1," "],[10,0],[12],[1,"\\n "],[10,"dt"],[14,0,"last-posted-at"],[12],[1,[28,[32,2],["user.last_posted"],null]],[13],[1,"\\n "],[10,"dd"],[14,0,"last-posted-at"],[12],[1,"\\n "],[1,[28,[32,3],[[30,1,["last_posted_at"]]],[["format"],["medium"]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["last_seen_at"]],[[[1," "],[10,0],[12],[1,"\\n "],[10,"dt"],[14,0,"last-seen-at"],[12],[1,[28,[32,2],["user.last_seen"],null]],[13],[1,"\\n "],[10,"dd"],[14,0,"last-seen-at"],[12],[1,"\\n "],[1,[28,[32,3],[[30,1,["last_seen_at"]]],[["format"],["medium"]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["profile_view_count"]],[[[1," "],[10,0],[12],[10,"dt"],[14,0,"profile-view-count"],[12],[1,[28,[32,2],["views"],null]],[13],[10,"dd"],[14,0,"profile-view-count"],[12],[1,[30,1,["profile_view_count"]]],[13],[13],[1,"\\n"]],[]],null],[41,[30,1,["invited_by"]],[[[1," "],[10,0],[12],[10,"dt"],[14,0,"invited-by"],[12],[1,[28,[32,2],["user.invited_by"],null]],[13],[10,"dd"],[14,0,"invited-by"],[12],[8,[32,4],null,[["@route","@model"],["user",[30,1,["invited_by"]]]],[["default"],[[[[1,[30,1,["invited_by","username"]]]],[]]]]],[13],[13],[1,"\\n"]],[]],null],[41,[30,3],[[[1," "],[10,0],[12],[10,"dt"],[14,0,"trust-level"],[12],[1,[28,[32,2],["user.trust_level"],null]],[13],[10,"dd"],[14,0,"trust-level"],[12],[1,[30,1,["trustLevel","name"]]],[13],[13],[1,"\\n"]],[]],null],[41,[30,4],[[[1," "],[10,0],[12],[10,"dt"],[14,0,"email"],[12],[1,[28,[32,2],["user.email.title"],null]],[13],[1,"\\n "],[10,"dd"],[14,0,"email"],[15,"title",[30,1,["email"]]],[12],[1,"\\n"],[41,[30,1,["email"]],[[[1," "],[1,[30,1,["email"]]],[1,"\\n"]],[]],[[[1," "],[8,[32,5],[[24,0,"btn-primary"]],[["@action","@icon","@label"],[[28,[32,6],[[28,[32,7],["checkEmail"],null],[30,1]],null],"envelope","admin.users.check_email.text"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["displayGroups"]],[[[1," "],[10,0],[12],[10,"dt"],[14,0,"groups"],[12],[1,[28,[32,2],["groups.title"],[["count"],[[30,1,["displayGroups","length"]]]]]],[13],[1,"\\n "],[10,"dd"],[14,0,"groups"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,1,["displayGroups"]]],null]],null],null,[[[1," "],[10,1],[12],[8,[32,4],[[24,0,"group-link"]],[["@route","@model"],["group",[30,5,["name"]]]],[["default"],[[[[1,[30,5,["name"]]]],[]]]]],[13],[1,"\\n"]],[5]],null],[1,"\\n "],[8,[32,4],null,[["@route","@query"],["groups",[28,[32,8],null,[["username"],[[30,1,["username"]]]]]]],[["default"],[[[[1,"\\n ...\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,6],[[[1," "],[10,0],[14,0,"pull-right"],[12],[8,[32,5],[[24,0,"btn-danger btn-delete-user"]],[["@action","@icon","@label"],[[30,7],"triangle-exclamation","user.admin_delete"]],null],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["user-profile-secondary",[28,[32,1],null,[["model"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],["@model","@collapsedInfo","@hasTrustLevel","@canCheckEmails","group","@canDeleteUser","@adminDelete"],false,["unless","if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user/collapsed-info.js",scope:()=>[a.default,l.default,d.i18n,o.default,n.LinkTo,r.default,s.fn,u.default,s.hash],isStrictMode:!0}),(0,h.default)(void 0,"collapsed-info:CollapsedInfo"))},28823:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addBeforeAuthCompleteCallback:()=>d,default:()=>p,resetBeforeAuthCompleteCallbacks:()=>c});var s=i(66530),n=i(45916),r=i(64119),a=i(18965),o=i(57364);let l=["admin_not_allowed_from_ip_address","awaiting_activation","awaiting_approval","not_allowed_from_ip_address","requires_invite"],u=[];function d(e){u.push(e)}function c(){u.length=0}let p={after:"inject-objects",initialize(e){let t=document.getElementById("data-authentication")?.dataset?.authenticationData;if(t){let i=e.lookup("service:router");i.one("routeDidChange",()=>{(0,n.next)(()=>{let d=JSON.parse(t);if(u.every(e=>e(d)))if("invites.show"===i.currentRouteName)e.lookup("controller:invites-show").authenticationComplete(d);else{let t=e.lookup("service:site-settings"),u=(t,s,r)=>{let a={flash:t,flashType:"error",awaitingApproval:d.awaiting_approval,...s};i.transitionTo("login").then(()=>{e.lookup("controller:login").setProperties(a)}),(0,n.next)(()=>r?.())},c=l.find(e=>d[e]);if(c)return u((0,o.i18n)(`login.${c}`));if(d.suspended)return u(d.suspended_message);if(d.omniauth_disallow_totp)return u((0,o.i18n)("login.omniauth_disallow_totp"),{loginName:d.email,showLoginButtons:!1},()=>document.getElementById("login-account-password").focus());if(d.authenticated){let e=(0,r.default)("destination_url")||d.destination_url;e?((0,r.removeCookie)("destination_url"),window.location.href=e):window.location.pathname===(0,a.default)("/login")?window.location=(0,a.default)("/"):window.location.reload();return}(0,n.next)(()=>{let n={accountEmail:d.email,accountUsername:d.username,accountName:d.name,authOptions:s.default.create(d),skipConfirmation:t.auth_skip_create_confirm};i.transitionTo("signup").then(()=>{let t=e.lookup("controller:signup");t.setProperties(n),t.handleSkipConfirmation()})})}})})}}}},28852:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},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+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,i){return e>11?i?"ප.ව.":"පස් වරු":i?"පෙ.ව.":"පෙර වරු"}})})},28947:(e,t,i)=>{"use strict";i.r(t),i.d(t,{buildGroupPage:()=>a,default:()=>o});var s=i(66530),n=i(65677),r=i(57364);function a(e){return class extends n.default{type=(()=>e)();templateName="group-activity-posts";controllerName="group-activity-posts";titleToken(){return(0,r.i18n)(`groups.${e}`)}model(t,i){let n=(0,s.get)(i.to,"queryParams.category_id");return this.modelFor("group").findPosts({type:e,categoryId:n})}setupController(t,i){let s=i.length<20;t.setProperties({model:i,type:e,canLoadMore:!s})}didTransition(){return!0}static #e=(()=>dt7948.n(this.prototype,"didTransition",[s.action]))()}}let o=a("posts")},28973:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createSiteSettingsFromPreloaded:()=>o,default:()=>l});var s=i(4705),n=i(40577),r=i(31552),a=i(57364);function o(e,t){let i=new s.TrackedObject(e);if(t){for(let[e,s]of Object.entries(t))i[e]=s;i.themeSiteSettingOverrides=t}if(i.available_locales){let e=JSON.parse(i.available_locales).map(e=>{let{native_name:t,value:i,name:s}=e,n=a.default.t(s);return{value:i,name:n&&n!==t?`${n} (${t})`:t}});i.available_locales=e}return i.groupSettingArray=e=>{let t=i[e];return t?t.toString().split("|").filter(Boolean).map(e=>parseInt(e,10)):[]},i}let l=dt7948.c(class{static isServiceFactory=!0;static create(){return o(r.default.get("siteSettings"),r.default.get("themeSiteSettingOverrides"))}},[n.disableImplicitInjections])},29092:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(24698),n=i(4089),r=i(66530),a=i(13744),o=i(47210),l=i(79401),u=i(46386),d=i(20559),c=i(72172),p=i(57364),h=i(9348),m=i(55888);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[a.service]))();#tY=(()=>void dt7948.i(this,"appEvents"))();registerApi(e){this.formApi=e}static #i=(()=>dt7948.n(this.prototype,"registerApi",[r.action]))();async onSubmit(e){if(e.content?.trim())try{let t=await (0,d.ajax)(`/review/${this.args.reviewable.id}/notes`,{type:"POST",data:{reviewable_note:{content:e.content.trim()}}});await this.formApi.set("content",""),this.appEvents.trigger("reviewablenote:created",e,this.args.reviewable,this.formApi),this.args.onNoteCreated&&this.args.onNoteCreated(t)}catch(e){(0,c.popupAjaxError)(e)}}static #n=(()=>dt7948.n(this.prototype,"onSubmit",[r.action]))();static #a=(()=>(0,h.setComponentTemplate)((0,m.createTemplateFactory)({id:"Tad3NgCZ",block:'[[[1,"\\n "],[10,0],[14,0,"reviewable-note-form"],[12],[1,"\\n "],[8,[32,0],[[24,0,"reviewable-note-form__form"]],[["@data","@onSubmit","@onRegisterApi"],[[28,[32,1],null,[["content"],[""]]],[30,0,["onSubmit"]],[30,0,["registerApi"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@format","@validation"],["content",[28,[32,2],["review.notes.add_note_description"],null],"full","required:trim|length:1,2000"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"reviewable-note-form__textarea-wrapper"],[12],[1,"\\n "],[8,[30,2,["Textarea"]],[[16,"placeholder",[28,[32,2],["review.notes.placeholder"],null]],[24,0,"reviewable-note-form__textarea"],[24,"rows","4"]],null,null],[1,"\\n "],[13],[1,"\\n "]],[2]]]]],[1,"\\n\\n "],[8,[32,3],null,[["@name","@connectorTagName","@outletArgs"],["reviewable-note-form-after-note","div",[28,[32,4],null,[["form"],[[30,1]]]]]],null],[1,"\\n\\n "],[8,[30,1,["Actions"]],null,null,[["default"],[[[[1,"\\n "],[8,[30,1,["Submit"]],[[24,0,"btn-primary"]],[["@label"],["review.notes.add_note_button"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n "]],["form","field"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-refresh/note-form.js",scope:()=>[o.default,n.hash,p.i18n,l.default,u.default],isStrictMode:!0}),this))()}},29123:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(30208);let n={after:"register-hashtag-types",initialize(){let e=document.createElement("style");e.id="hashtag-css-generator",e.innerHTML=Object.values((0,s.getHashtagTypeClasses)()).map(e=>e.generatePreloadedCssClasses()).flat().join(` `),document.head.appendChild(e)}}},29145:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(40779),n=i(85860),r=i(57364);let a="user-drafts:changed";class o extends n.default{static #e=(()=>dt7948.g(this.prototype,"draftCount",[s.tracked],function(){return this.currentUser?.draft_count}))();#oz=(()=>void dt7948.i(this,"draftCount"))();constructor(){super(...arguments),this.shouldDisplay&&this.appEvents.on(a,this,this._updateDraftCount)}teardown(){this.shouldDisplay&&this.appEvents.off(a,this,this._updateDraftCount)}_updateDraftCount(){this.draftCount=this.currentUser.draft_count}get showCount(){return this.currentUser?.sidebarShowCountOfNewItems}get name(){return"my-posts"}get route(){return this._hasDraft?"userActivity.drafts":"userActivity.index"}get currentWhen(){if(this._hasDraft)return"userActivity.index userActivity.drafts"}get model(){return this.currentUser}get title(){return this._hasDraft?(0,r.i18n)("sidebar.sections.community.links.my_posts.title_drafts"):(0,r.i18n)("sidebar.sections.community.links.my_posts.title")}get text(){return this._hasDraft&&this.currentUser?.new_new_view_enabled?(0,r.i18n)("sidebar.sections.community.links.my_posts.content_drafts"):(0,r.i18n)(`sidebar.sections.community.links.${this.overriddenName.toLowerCase().replace(" ","_")}.content`,{defaultValue:this.overriddenName})}get badgeText(){if(this.showCount&&this._hasDraft)if(this.currentUser.new_new_view_enabled)return this.draftCount.toString();else return(0,r.i18n)("sidebar.sections.community.links.my_posts.draft_count",{count:this.draftCount})}get _hasDraft(){return this.draftCount>0}get defaultPrefixValue(){return this._hasDraft&&this.currentUser?.new_new_view_enabled?"pencil":"user"}get suffixCSSClass(){return"unread"}get suffixType(){return"icon"}get suffixValue(){if(this._hasDraft&&!this.showCount)return"circle"}get shouldDisplay(){return this.currentUser}}},29153:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(9348),n=i(1848),r=i(98904),a=i(64568),o=i(71773),l=i(44291),u=i(96845),d=i(2654),c=i(68718),p=i(27090),h=i(57364),m=i(55888);let g=dt7948.c(class extends s.default{role="row";static #e=(()=>dt7948.g(this.prototype,"me",[(0,p.propertyEqual)("item.user.id","currentUser.id")]))();#oV=(()=>void dt7948.i(this,"me"))();columns=null;static #i=(()=>(0,s.setComponentTemplate)((0,m.createTemplateFactory)({id:"zI7zZj82",block:'[[[1,"\\n "],[10,0],[14,0,"directory-table__cell"],[14,"role","rowheader"],[12],[1,"\\n "],[8,[32,0],null,[["@user"],[[30,0,["item","user"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["columns"]]],null]],null],null,[[[41,[28,[32,1],null,[["column"],[[30,1]]]],[[[1," "],[10,0],[14,0,"directory-table__cell--user-field"],[14,"role","cell"],[12],[1,"\\n "],[10,1],[14,0,"directory-table__label"],[12],[1,"\\n "],[10,1],[12],[1,[30,1,["name"]]],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,2],null,[["@item","@column"],[[30,0,["item"]],[30,1]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"directory-table__cell"],[14,"role","cell"],[12],[1,"\\n "],[10,1],[14,0,"directory-table__label"],[12],[1,"\\n "],[10,1],[12],[1,"\\n"],[41,[30,1,["icon"]],[[[1," "],[1,[28,[32,3],[[30,1,["icon"]]],null]],[1,"\\n"]],[]],null],[1," "],[1,[28,[32,4],null,[["item","column"],[[30,0,["item"]],[30,1]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[1,[28,[32,5],null,[["item","column"],[[30,0,["item"]],[30,1]]]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1,"\\n"]],[1]],null],[1,"\\n"],[41,[30,0,["showTimeRead"]],[[[1," "],[10,0],[14,0,"directory-table__cell time-read"],[14,"role","cell"],[12],[1,"\\n "],[10,1],[14,0,"directory-table__label"],[12],[1,"\\n "],[10,1],[12],[1,[28,[32,6],["directory.time_read"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"directory-table__value"],[12],[1,"\\n "],[1,[28,[32,7],[[30,0,["item","time_read"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["column"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/directory-item.js",scope:()=>[a.default,l.default,r.default,o.default,u.default,d.default,h.i18n,c.default],isStrictMode:!0}),this))()},[(0,n.attributeBindings)("role"),(0,n.classNameBindings)("me"),(0,n.classNames)("directory-table__row"),(0,n.tagName)("div")])},29218:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(24698),n=i(4089),r=i(13744),a=i(96675),o=i(79401),l=i(71773),u=i(1736),d=i(46566),c=i(57364),p=i(56871),h=i(28545),m=i(9348),g=i(55888);class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#t=(()=>void dt7948.i(this,"currentUser"))();static #i=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();get avatar(){let e=(0,u.addExtraUserClasses)(this.currentUser,{});return(0,a.htmlSafe)((0,u.renderAvatar)(this.currentUser,{imageSize:this.avatarSize,hideTitle:!0,template:this.currentUser.avatar_template,username:this.currentUser.username,name:this.siteSettings.enable_names&&this.currentUser.name,...e}))}get avatarSize(){return(0,d.applyValueTransformer)("header-notifications-avatar-size","medium")}get _shouldHighlightAvatar(){return!this.currentUser.read_first_notification&&!this.currentUser.enforcedSecondFactor&&!this.args.active}get isInDoNotDisturb(){return this.currentUser.isInDoNotDisturb()}static #n=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"wVPZGRDn",block:'[[[1,"\\n "],[8,[32,0],null,[["@name"],["user-dropdown-notifications__before"]],null],[1,"\\n "],[1,[30,0,["avatar"]]],[1,"\\n\\n"],[41,[30,0,["_shouldHighlightAvatar"]],[[[1," "],[8,[32,1],null,[["@id","@triggerSelector","@placement","@titleText","@contentText","@showSkipButton","@priority"],["first_notification",".header-dropdown-toggle.current-user","bottom-end",[28,[32,2],["user_tips.first_notification.title"],null],[28,[32,2],["user_tips.first_notification.content"],null],true,1000]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["currentUser","status"]],[[[1," "],[8,[32,3],null,[["@timezone","@status"],[[30,0,["currentUser","user_option","timezone"]],[30,0,["currentUser","status"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isInDoNotDisturb"]],[[[1," "],[10,0],[14,0,"do-not-disturb-background"],[15,"title",[28,[32,2],["notifications.paused"],null]],[12],[1,[28,[32,4],["discourse-dnd"],null]],[13],[1,"\\n"]],[]],[[[41,[30,0,["currentUser","new_personal_messages_notifications_count"]],[[[1," "],[10,3],[14,6,"#"],[14,0,"badge-notification with-icon new-pms"],[15,"title",[28,[32,2],["notifications.tooltip.new_message_notification",[28,[32,5],null,[["count"],[[30,0,["currentUser","new_personal_messages_notifications_count"]]]]]],null]],[15,"aria-label",[28,[32,2],["notifications.tooltip.new_message_notification",[28,[32,5],null,[["count"],[[30,0,["currentUser","new_personal_messages_notifications_count"]]]]]],null]],[12],[1,"\\n "],[1,[28,[32,4],["envelope"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["currentUser","unseen_reviewable_count"]],[[[1," "],[10,3],[14,6,"#"],[14,0,"badge-notification with-icon new-reviewables"],[15,"title",[28,[32,2],["notifications.tooltip.new_reviewable",[28,[32,5],null,[["count"],[[30,0,["currentUser","unseen_reviewable_count"]]]]]],null]],[15,"aria-label",[28,[32,2],["notifications.tooltip.new_reviewable",[28,[32,5],null,[["count"],[[30,0,["currentUser","unseen_reviewable_count"]]]]]],null]],[12],[1,"\\n "],[1,[28,[32,4],["flag"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["currentUser","all_unread_notifications_count"]],[[[1," "],[10,3],[14,6,"#"],[14,0,"badge-notification unread-notifications"],[15,"title",[28,[32,2],["notifications.tooltip.regular",[28,[32,5],null,[["count"],[[30,0,["currentUser","all_unread_notifications_count"]]]]]],null]],[15,"aria-label",[28,[32,2],["user.notifications",[28,[32,5],null,[["count"],[[30,0,["currentUser","all_unread_notifications_count"]]]]]],null]],[12],[1,"\\n "],[1,[30,0,["currentUser","all_unread_notifications_count"]]],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]]],[]]]],[]]],[1," "],[8,[32,0],null,[["@name"],["user-dropdown-notifications__after"]],null],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/user-dropdown/notifications.js",scope:()=>[o.default,p.default,c.i18n,h.default,l.default,n.hash],isStrictMode:!0}),this))()}},29228:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698),n=i(13744),r=i(96675),a=i(58670),o=i(76586),l=i(18965),u=i(57364),d=i(9348),c=i(55888);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>void dt7948.i(this,"siteSettings"))();get description(){return(0,u.i18n)("anonymous_flagging.description",{email:this.#oW,topic_title:this.args.model.flagModel.topic.title,url:(0,l.getAbsoluteURL)(this.args.model.flagModel.url)})}get #oW(){return(0,a.isEmpty)(this.siteSettings.email_address_to_report_illegal_content)?this.siteSettings.contact_email:this.siteSettings.email_address_to_report_illegal_content}static #i=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"3rdzQ5Am",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"anonymous-flag-modal"]],[["@title","@closeModal","@bodyClass"],[[28,[32,1],["anonymous_flagging.title"],null],[30,1],"anonymous-flag-modal__body"]],[["body"],[[[[1,"\\n "],[10,2],[12],[1,[28,[32,2],[[28,[32,1],["flagging.review_process_description"],null]],null]],[13],[1,"\\n "],[10,2],[12],[1,[28,[32,2],[[30,0,["description"]]],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/anonymous-flag.js",scope:()=>[o.default,u.i18n,r.htmlSafe],isStrictMode:!0}),this))()}},29248:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CI:()=>n,DEBUG:()=>s});let s=!1,n=!1},29264:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(88755);i(98710),i(81904),i(50434),i(36819),i(90743),i(85333),i(99628),i(15036);var n=i(45916),r=i(17076);i(23260),i(40084);var a=i(93579);function o(e,t){return new a.R.Promise(function(i){let a=e.__container__.lookup("router:main"),o=setInterval(()=>{!(a._routerMicrolib&&a._routerMicrolib.activeTransition||(0,r.pendingRequests)()||(0,n._hasScheduledTimers)()||(0,n._getCurrentRunLoop)())&&((0,s.checkWaiters)()||(clearInterval(o),(0,n.run)(null,i,t)))},10)})}},29307:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(47869),n=i(57364),r=i(9348),a=i(55888),o=i(74975);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"XsQ59kq7",block:'[[[1,"\\n "],[1,[28,[32,0],["search.post_format",[30,1]],null]],[1,"\\n "],[8,[32,1],null,[["@result"],[[30,1]]],null],[1,"\\n"]],["@result"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/search-menu/results/type/post.js",scope:()=>[n.i18n,s.default],isStrictMode:!0}),(0,o.default)(void 0,"post:Post"))},29385:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(40779),n=i(6827),r=i(77303),a=i(57364);class o extends r.default{static #e=(()=>dt7948.g(this.prototype,"totalUnread",[s.tracked],function(){return 0}))();#oK=(()=>void dt7948.i(this,"totalUnread"))();static #i=(()=>dt7948.g(this.prototype,"totalNew",[s.tracked],function(){return 0}))();#oG=(()=>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.#oJ)&&(this.totalNew=this.topicTrackingState.countNew({tagId:this.tagName}))}static #n=(()=>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.#oJ&&this.#oQ>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.#oJ&&this.#oQ>0)return this.#oQ.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 #oQ(){return this.totalUnread+this.totalNew}get #oJ(){return!!this.currentUser?.new_new_view_enabled}}},29572:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(90595);class n extends s.default{_opts(){return{defaultDate:moment(this.defaultDate,"YYYY-MM-DD").toDate()||new Date,setDefaultDate:!!this.defaultDate,maxDate:new Date}}}},29678:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(13744),n=i(52327),r=i(65677),a=i(57364);class o extends r.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();titleToken(){return(0,a.i18n)("admin.groups.new.title")}model(){return n.default.create({automatic:!1,visibility_level:0,can_admin_group:!0})}afterModel(){this.get("currentUser.can_create_group")||this.router.transitionTo("groups")}}},29681:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(71773),n=i(57364),r=i(9348),a=i(55888),o=i(74975);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"mEirtGHM",block:'[[[1,"\\n"],[41,[30,1,["user_count"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,0],["users"],null]],[1,"\\n "],[1,[28,[32,1],["admin.groups.delete_details"],[["count"],[[30,1,["user_count"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["message_count"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,0],["envelope"],null]],[1,"\\n "],[1,[28,[32,1],["admin.groups.delete_with_messages_confirm"],[["count"],[[30,1,["message_count"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,2],[12],[1,"\\n "],[1,[28,[32,0],["triangle-exclamation"],null]],[1,"\\n "],[1,[28,[32,1],["admin.groups.delete_warning"],null]],[1,"\\n "],[13],[1,"\\n"]],["@model"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/dialog-messages/group-delete.js",scope:()=>[s.default,n.i18n],isStrictMode:!0}),(0,o.default)(void 0,"group-delete:GroupDelete"))},29683:function(e,t,i){!function(e,t){t(i(4387))}(0,function(e){return e.defineLocale("te",{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 సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",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}})})},29684:(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,{$:()=>M,i:()=>k});var n=0;function r(e){return"__private_"+n+++"_"+e}function a(e){if(null!=e){var t;let i=()=>this.abort(e.reason);e.addEventListener("abort",i,{once:!0});let s=()=>{e.removeEventListener("abort",i)};null==(t=this.then)||t.call(this,s,s)}return this}var o=r("activeRequests"),l=r("queuedHandlers"),u=r("paused"),d=r("pauseTimer"),c=r("downLimit"),p=r("upperLimit"),h=r("rateLimitingTimer"),m=r("call"),g=r("queueNext"),f=r("next"),_=r("queue"),y=r("dequeue"),b=r("resume"),w=r("increaseLimit");class k{constructor(e){Object.defineProperty(this,y,{value:D}),Object.defineProperty(this,_,{value:A}),Object.defineProperty(this,f,{value:C}),Object.defineProperty(this,g,{value:S}),Object.defineProperty(this,m,{value:T}),Object.defineProperty(this,o,{writable:!0,value:0}),Object.defineProperty(this,l,{writable:!0,value:[]}),Object.defineProperty(this,u,{writable:!0,value:!1}),Object.defineProperty(this,d,{writable:!0,value:void 0}),Object.defineProperty(this,c,{writable:!0,value:1}),Object.defineProperty(this,p,{writable:!0,value:void 0}),Object.defineProperty(this,h,{writable:!0,value:void 0}),Object.defineProperty(this,b,{writable:!0,value:()=>this.resume()}),Object.defineProperty(this,w,{writable:!0,value:()=>{if(s(this,u)[u]){s(this,h)[h]=setTimeout(s(this,w)[w],0);return}s(this,c)[c]=this.limit,this.limit=Math.ceil((s(this,p)[p]+s(this,c)[c])/2);for(let e=s(this,c)[c];e<=this.limit;e++)s(this,g)[g]();s(this,p)[p]-s(this,c)[c]>3?s(this,h)[h]=setTimeout(s(this,w)[w],2e3):s(this,c)[c]=Math.floor(s(this,c)[c]/2)}}),"number"!=typeof e||0===e?this.limit=1/0:this.limit=e}run(e,t){return!s(this,u)[u]&&s(this,o)[o](e(...n),queueMicrotask(()=>o.done()),()=>{}),t);return{abortOn:a,abort(){o.abort()}}}}wrapPromiseFunction(e,t){var i=this;return function(){let s;for(var n=arguments.length,r=Array(n),o=0;o{s=i.run(()=>{let t,i;try{i=Promise.resolve(e(...r))}catch(e){i=Promise.reject(e)}return i.then(e=>{t?a(t):(s.done(),n(e))},e=>{t?a(t):(s.done(),a(e))}),e=>{t=function(e){return Error("Cancelled",{cause:e})}(e)}},t)});return l.abort=e=>{s.abort(e)},l.abortOn=a,l}}resume(){s(this,u)[u]=!1,clearTimeout(s(this,d)[d]);for(let e=0;e1&&Number.isFinite(this.limit)&&(s(this,p)[p]=this.limit-1,this.limit=s(this,c)[c],s(this,h)[h]=setTimeout(s(this,w)[w],e))}get isPaused(){return s(this,u)[u]}}function T(e){let t;s(this,o)[o]+=1;let i=!1;try{t=e()}catch(e){throw s(this,o)[o]-=1,e}return{abort:e=>{i||(i=!0,s(this,o)[o]-=1,null==t||t(e),s(this,g)[g]())},done:()=>{i||(i=!0,s(this,o)[o]-=1,s(this,g)[g]())}}}function S(){queueMicrotask(()=>s(this,f)[f]())}function C(){if(s(this,u)[u]||s(this,o)[o]>=this.limit||0===s(this,l)[l].length)return;let e=s(this,l)[l].shift();if(null==e)throw Error("Invariant violation: next is null");let t=s(this,m)[m](e.fn);e.abort=t.abort,e.done=t.done}function A(e,t){let i={fn:e,priority:(null==t?void 0:t.priority)||0,abort:()=>{s(this,y)[y](i)},done:()=>{throw Error("Cannot mark a queued request as done: this indicates a bug")}},n=s(this,l)[l].findIndex(e=>i.priority>e.priority);return -1===n?s(this,l)[l].push(i):s(this,l)[l].splice(n,0,i),i}function D(e){let t=s(this,l)[l].indexOf(e);-1!==t&&s(this,l)[l].splice(t,1)}let M=Symbol("__queue")},29687:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(99314),n=i(86232);let r={initialize(e){this.selector=e.rootElement,document.querySelector(this.selector).addEventListener("click",s.default),window.addEventListener("hashchange",this.hashChanged)},hashChanged(){n.default.routeTo(document.location.hash)},teardown(){document.querySelector(this.selector).removeEventListener("click",s.default),window.removeEventListener("hashchange",this.hashChanged)}}},29708:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(40779),n=i(66530),r=i(58295),a=i(13744),o=i(58670),l=i(23286),u=i(20559),d=i(43952),c=i(55751),p=i(37288),h=i(95357),m=i(48297),g=i(12079);function f(e,t){let i={};return(0,o.isEmpty)(e)||e.forEach(function(e){i[e.id]=t.create(e)}),i}class _ extends p.default{static topicsFrom(e,t,i){if(!t)return;let s=(i=i||{}).listKey||"topics",r=f(t.users,m.default),a=f(t.primary_groups,n.default);return t.topic_list.categories&&t.topic_list.categories.forEach(e=>{h.default.current().updateCategory(e)}),t.topic_list[s].map(t=>(t.posters.forEach(e=>{e.user=r[e.user_id],e.extraClasses=e.extras,e.primary_group_id&&(e.primary_group=a[e.primary_group_id],e.primary_group&&(e.extraClasses=`${e.extraClasses||""} group-${e.primary_group.name}`))}),t.participants&&t.participants.forEach(e=>e.user=r[e.user_id]),e.createRecord("topic",t)))}static munge(e,t){return e.inserted=e.inserted||[],e.can_create_topic=e.topic_list.can_create_topic,e.more_topics_url=e.topic_list.more_topics_url,e.for_period=e.topic_list.for_period,e.loaded=!0,e.per_page=e.topic_list.per_page,e.topics=this.topicsFrom(t,e),e.topic_list.shared_drafts&&(e.sharedDrafts=this.topicsFrom(t,e,{listKey:"shared_drafts"})),e}static find(e,t){return(0,d.default)('TopicList.find is deprecated. Use `findFiltered("topicList")` on the `store` service instead.',{id:"discourse.topic-list-find",since:"3.1.0.beta5",dropFrom:"3.2.0.beta1"}),(0,c.getOwnerWithFallback)(this).lookup("service:store").findFiltered("topicList",{filter:e,params:t})}static hideUniformCategory(e,t){e.set("hideCategory",!function(e,t){if(t){if(t.has_children)return!0;let i=e.shared_drafts_category_id;return!!i&&t.id===i}return!0}(e.site,t))}static #e=(()=>dt7948.g(this.prototype,"session",[a.service]))();#iR=(()=>void dt7948.i(this,"session"))();static #i=(()=>dt7948.g(this.prototype,"loadingBefore",[s.tracked],function(){return!1}))();#oX=(()=>void dt7948.i(this,"loadingBefore"))();static #n=(()=>dt7948.g(this.prototype,"canLoadMore",[(0,r.notEmpty)("more_topics_url")]))();#aN=(()=>void dt7948.i(this,"canLoadMore"))();forEachNew(e,t){let i=new Set;this.topics.forEach(e=>i.add(e.id)),e.forEach(e=>{i.has(e.id)||t(e)})}updateSortParams(e,t){let i={...this.params||{}};i.q?i={q:i.q}:(i.order=e||i.order,i.ascending=t),this.set("params",i)}updateNewListSubsetParam(e){let t={...this.params||{}};t.q?t={q:t.q}:t.subset=e,this.set("params",t)}loadMore(){if(this.loadingMore)return l.Promise.resolve();let e=this.more_topics_url;if(!e)return l.Promise.resolve();{let[t,i]=e.split("?");return t.match(/\.json$/)||(t+=".json"),e=t,i&&(e+="?"+i),this.set("loadingMore",!0),(0,u.ajax)({url:e}).then(async e=>{let t=0;if(e){let i=_.topicsFrom(this.store,e);return await g.default.applyTransformations(i),this.forEachNew(i,e=>{e.set("highlight",0==t++),this.topics.pushObject(e)}),this.setProperties({loadingMore:!1,more_topics_url:e.topic_list.more_topics_url}),this.session.set("topicList",this),{moreTopicsUrl:this.more_topics_url,newTopics:i}}})}}static #a=(()=>dt7948.n(this.prototype,"loadMore",[n.action]))();async loadBefore(e,t){this.loadingBefore=e.length;try{let i=`/${this.filter}.json?topic_ids=${e.join(",")}`,s=await (0,u.ajax)({url:i,data:this.params});this.topics.removeObjects(this.topics.filter(t=>e.includes(t.id)));let n=0;this.forEachNew(_.topicsFrom(this.store,s),e=>{e.set("highlight",!0),this.topics.insertAt(n,e),n++}),t&&this.session.set("topicList",this)}finally{this.loadingBefore=!1}}}},29720:(e,t,i)=>{var s=i(8588),n=i(88972);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 d=e(l,u);d&&((a=a||{})[o]=d)}else(a=a||{})[o]=u}for(var c in i)c in t||((a=a||{})[c]=i[c]);return a}},29754:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(9348),n=i(45916),r=i(96675),a=i(1848),o=i(72825),l=i(11811),u=i(96892),d=i(6827),c=i(99148),p=i(60882),h=i(99307),m=i(98174),g=i(57364),f=i(55888);let _=dt7948.c(class extends s.default{clockIcon=(()=>(0,r.htmlSafe)(`${(0,p.iconHTML)("far-clock")}`))();trashLabel=(()=>(0,g.i18n)("post.controls.remove_timer"))();title=null;notice=null;showTopicTimer=null;showTopicTimerModal=null;removeTopicTimer=null;_delayedRerender=null;setupRenderer(){this.renderTopicTimer()}static #e=(()=>dt7948.n(this.prototype,"setupRenderer",[(0,o.on)("didReceiveAttrs")]))();cancelDelayedRenderer(){this._delayedRerender&&(0,n.cancel)(this._delayedRerender)}static #i=(()=>dt7948.n(this.prototype,"cancelDelayedRenderer",[(0,o.on)("willDestroyElement")]))();canModifyTimer(){return this.currentUser&&this.currentUser.get("canManageTopic")}static #n=(()=>dt7948.n(this.prototype,"canModifyTimer",[d.default]))();showTrashCan(e,t){return e&&t}static #a=(()=>dt7948.n(this.prototype,"showTrashCan",[(0,d.default)("canModifyTimer","removeTopicTimer")]))();showEdit(e,t){return e&&t}static #l=(()=>dt7948.n(this.prototype,"showEdit",[(0,d.default)("canModifyTimer","showTopicTimerModal")]))();additionalOpts(){return{}}renderTopicTimer(){let e=this.statusType===u.DELETE_REPLIES_TYPE;if(!e&&!this.basedOnLastPost&&(!this.executeAt||this.executeAtthis.set("executeAt",null));return}let a=moment(this.executeAt),o=moment.duration(a-moment()),l=o.asMinutes();if(l>0||e||this.basedOnLastPost){if(!this.executeAt)return;let e=parseInt(this.durationMinutes,10)||0,t={timeLeft:o.humanize(!0),duration:moment.duration(e,"minutes").humanize({s:60,m:60,h:24})},i=this.categoryId;if(i){let e=m.default.findById(i);t=Object.assign({categoryName:e.get("slug"),categoryUrl:e.get("url")},t)}t=Object.assign(t,this.additionalOpts()),this.setProperties({title:(0,r.htmlSafe)(`${moment(this.executeAt).format("LLLL")}`),notice:(0,r.htmlSafe)(`${(0,g.i18n)(this._noticeKey(),t)}`),showTopicTimer:!0}),(0,c.isTesting)()||(this._delayedRerender=(0,h.default)(()=>{this.renderTopicTimer()},this.rerenderDelay(l)))}else this.set("showTopicTimer",null)}rerenderDelay(e){return e>2160?432e5:e>1410?36e5:e>90?18e5:e>2?6e4:1e3}_noticeKey(){let e=this.statusType;return"silent_close"===e&&(e="close"),this.basedOnLastPost&&"close"===e&&(e="close_after_last_post"),`topic.status_update_notice.auto_${e}`}static #d=(()=>(0,s.setComponentTemplate)((0,f.createTemplateFactory)({id:"Dc8Xxh4I",block:'[[[1,"\\n"],[41,[30,0,["showTopicTimer"]],[[[1," "],[10,"h3"],[14,0,"topic-timer-heading"],[12],[1,"\\n "],[10,1],[15,"title",[30,0,["title"]]],[12],[1,"\\n "],[1,[30,0,["clockIcon"]]],[1,"\\n "],[1,[30,0,["notice"]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"topic-timer-modify"],[12],[1,"\\n"],[41,[30,0,["showEdit"]],[[[1," "],[8,[32,0],[[24,0,"topic-timer-edit no-text"]],[["@title","@icon","@action"],["post.controls.edit_timer","pencil",[30,0,["showTopicTimerModal"]]]],null],[1,"\\n"]],[]],null],[41,[30,0,["showTrashCan"]],[[[1," "],[8,[32,0],[[24,0,"topic-timer-remove no-text"]],[["@title","@icon","@action"],["post.controls.remove_timer","trash-can",[30,0,["removeTopicTimer"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-timer-info.js",scope:()=>[l.default],isStrictMode:!0}),this))()},[(0,a.classNames)("topic-timer-info")])},29755:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(46983),n=i(66296),r=i(87018),a=i(71773),o=i(9348),l=i(55888),u=i(74975);let d=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"CBRb6Q0i",block:'[[[1,"\\n "],[10,0],[14,0,"created-by"],[12],[1,"\\n"],[41,[30,1],[[[1," "],[8,[32,0],null,[["@user"],[[30,1]]],[["default"],[[[[1,[28,[32,1],[[30,1]],[["imageSize"],["small"]]]]],[]]]]],[1,"\\n "],[8,[32,2],null,[["@user"],[[30,1]]],null],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,3],["trash-can"],[["class"],["deleted-user-avatar"]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],["@user"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-refresh/created-by.js",scope:()=>[n.default,r.default,s.default,a.default],isStrictMode:!0}),(0,u.default)(void 0,"created-by"))},29818:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(13744),n=i(65677);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>void dt7948.i(this,"router"))();beforeModel(){this.router.transitionTo("group.manage.profile")}}},29841:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(24698),n=i(13744),r=i(86726),a=i(22106),o=i(46566),l=i(63927),u=i(1766),d=i(87442),c=i(9348),p=i(55888);let h={custom:l.default,new_user:u.default,returning_user:d.default};class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#tN=(()=>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 #i=(()=>(0,c.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))()}},29860:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(11811),n=i(9348),r=i(55888),a=i(74975);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"))},29909:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s={offset:function(e){let t=e.getBoundingClientRect();return{top:t.top+window.scrollY,left:t.left+window.scrollX}},position:function(e){return{top:e.offsetTop,left:e.offsetLeft}}}},29955:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(10949),n=i(10100),r=i(66663),a=i(45277),o=i.n(a);let l={avatar:r.avatarFor,dateNode:s.dateNode,iconNode:n.iconNode,rawHtml:o()}},29992:(e,t,i)=>{"use strict";function s(e,t){let i=document.createElement("canvas");if(i.getContext){let s=document.createElement("img");s.crossOrigin="anonymous",s.onload=()=>(function(e,t,i){isNaN(i=Math.round(i))||i<1?i="":i<10?i=" "+i:i>99&&(i="99");let s=t.width/16,n=11*s;e.height=e.width=t.width;let r=e.getContext("2d");r.font=`bold ${n}px Arial, sans-serif`,i&&(r.globalAlpha=.4),r.drawImage(t,0,0),r.globalAlpha=1,r.shadowColor="#FFF",r.shadowBlur=2*s,r.shadowOffsetX=0,r.shadowOffsetY=0,r.fillStyle="#FFF",r.fillText(i,s,n),r.fillText(i,s+s,n),r.fillText(i,s,n+s),r.fillText(i,s+s,n+s),r.fillStyle="#000",r.fillText(i,s+s/2,n+s/2);let a=document.createElement("link");a.rel="icon",a.href=e.toDataURL("image/png");let o=document.querySelector("link[rel=icon]"),l=document.querySelector("head");o&&l.removeChild(o),l.appendChild(a)})(i,s,t),s.src=e}}i.r(t),i.d(t,{default:()=>s})},30157:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(12040),n=i(66530),r=i(45916),a=i(13744),o=i(3521),l=i(88740),u=i(12727),d=i.n(u);let c={passive:!0,capture:!0};function p(e){e.preventDefault(),e.stopImmediatePropagation()}class h{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #i=(()=>dt7948.g(this.prototype,"id",[s.tracked],function(){return null}))();#Q=(()=>void dt7948.i(this,"id"))();async show(){await this.options.onShow?.()}static #n=(()=>dt7948.n(this.prototype,"show",[n.action]))();async close(){await this.options.onClose?.()}static #a=(()=>dt7948.n(this.prototype,"close",[n.action]))();async onFocus(e){await this.onTrigger(e)}static #l=(()=>dt7948.n(this.prototype,"onFocus",[n.action]))();async onBlur(e){await this.onTrigger(e)}static #d=(()=>dt7948.n(this.prototype,"onBlur",[n.action]))();async onFocusIn(e){await this.onTrigger(e)}static #p=(()=>dt7948.n(this.prototype,"onFocusIn",[n.action]))();async onFocusOut(e){await this.onTrigger(e)}static #m=(()=>dt7948.n(this.prototype,"onFocusOut",[n.action]))();trapPointerDown(e){this.shouldTrapPointerDown&&e.stopPropagation()}static #f=(()=>dt7948.n(this.prototype,"trapPointerDown",[n.action]))();onTouchStart(e){if(e.touches.length>1)return void this.onTouchCancel();e.stopPropagation(),this.trigger.addEventListener("touchmove",this.onTouchCancel,c),this.trigger.addEventListener("touchcancel",this.onTouchCancel,c),this.trigger.addEventListener("touchend",this.onTouchCancel,c),this.touchTimeout=d()(()=>{this.isDestroying||this.isDestroyed||(this.trigger.addEventListener("touchend",p,{once:!0,capture:!0}),this.onTrigger(e))},500)}static #y=(()=>dt7948.n(this.prototype,"onTouchStart",[n.action]))();onTouchCancel(){(0,r.cancel)(this.touchTimeout),this.trigger.removeEventListener("touchmove",this.onTouchCancel),this.trigger.removeEventListener("touchend",this.onTouchCancel),this.trigger.removeEventListener("touchcancel",this.onTouchCancel)}static #v=(()=>dt7948.n(this.prototype,"onTouchCancel",[o.bind]))();tearDownListeners(){"function"==typeof this.trigger.addEventListener&&this.trigger.removeEventListener("pointerdown",this.trapPointerDown),this.options?.listeners&&((0,l.makeArray)(this.triggers).filter(Boolean).forEach(e=>{switch(e){case"hold":this.trigger.removeEventListener("touchstart",this.onTouchStart);break;case"focus":this.trigger.removeEventListener("focus",this.onFocus),this.trigger.removeEventListener("blur",this.onBlur);break;case"focusin":this.trigger.removeEventListener("focusin",this.onFocusIn),this.trigger.removeEventListener("focusout",this.onFocusOut);break;case"hover":this.trigger.removeEventListener("pointermove",this.onPointerMove),this.options.interactive||this.trigger.removeEventListener("pointerleave",this.onPointerLeave);break;case"click":this.trigger.removeEventListener("click",this.onClick)}}),(0,r.cancel)(this.touchTimeout))}setupListeners(){"function"==typeof this.trigger.addEventListener&&this.trigger.addEventListener("pointerdown",this.trapPointerDown),this.options?.listeners&&(0,l.makeArray)(this.triggers).filter(Boolean).forEach(e=>{switch(e){case"hold":this.trigger.addEventListener("touchstart",this.onTouchStart,c);break;case"focus":this.trigger.addEventListener("focus",this.onFocus,{passive:!0}),this.trigger.addEventListener("blur",this.onBlur,{passive:!0});break;case"focusin":this.trigger.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.trigger.addEventListener("focusout",this.onFocusOut,{passive:!0});break;case"hover":this.trigger.addEventListener("pointermove",this.onPointerMove,{passive:!0}),this.options.interactive||this.trigger.addEventListener("pointerleave",this.onPointerLeave,{passive:!0});break;case"click":this.trigger.addEventListener("click",this.onClick,{passive:!0})}})}get triggers(){return"object"!=typeof this.options.triggers||Array.isArray(this.options.triggers)?this.options.triggers??["click"]:this.site.mobileView?this.options.triggers.mobile??["click"]:this.options.triggers.desktop??["click"]}get untriggers(){return"object"!=typeof this.options.untriggers||Array.isArray(this.options.untriggers)?this.options.untriggers??["click"]:this.site.mobileView?this.options.untriggers.mobile??["click"]:this.options.untriggers.desktop??["click"]}get shouldTrapPointerDown(){return!0}}},30208:(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}},30283:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(42856),n=i(95357),r=i(55769),a=i(48297);let o={after:"discourse-bootstrap",initialize(e){let t=e.__container__.lookup("service:site-settings"),i=a.default.current();e.register("service:current-user",i,{instantiate:!1}),this.topicTrackingState=r.default.create({messageBus:e.__container__.lookup("service:message-bus"),siteSettings:t,currentUser:i}),e.register("service:topic-tracking-state",this.topicTrackingState,{instantiate:!1});let o=n.default.current();e.register("service:site",o,{instantiate:!1});let l=s.default.current();e.register("service:session",l,{instantiate:!1}),(0,r.startTracking)(this.topicTrackingState)},teardown(){this.topicTrackingState.willDestroy()}}},30324:(e,t,i)=>{"use strict";function s(e){return e?.__esModule?e:{default:e,...e}}i.r(t),i.d(t,{default:()=>s})},30336:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(86726);function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,s.dasherize)(e.replace(".","-"))}},30340:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(96675),n=i(76586),r=i(57364),a=i(9348),o=i(55888),l=i(74975);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"//nKASTG",block:'[[[1,"\\n "],[8,[32,0],null,[["@title","@closeModal"],[[28,[32,1],["log_in"],null],[30,1]]],[["body"],[[[[1,"\\n "],[1,[28,[32,2],[[28,[32,1],["login.sent_activation_email_again"],[["currentEmail"],[[30,2,["currentEmail"]]]]]],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],["@closeModal","@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/activation-resent.js",scope:()=>[n.default,r.i18n,s.htmlSafe],isStrictMode:!0}),(0,l.default)(void 0,"activation-resent:ActivationResent"))},30379: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(22106),n=i(9348),r=i(55888),a=i(74975);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"NOl1L3Xb",block:'[[[1,"\\n "],[10,0],[15,0,[28,[32,0],["menu-panel",[30,1],[30,2]],null]],[14,"data-max-width","500"],[12],[1,"\\n "],[10,0],[14,0,"panel-body"],[12],[1,"\\n "],[10,0],[14,0,"panel-body-contents"],[12],[1,"\\n "],[18,3,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],["@panelClass","@animationClass","&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/menu-panel.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"menu-panel"))},30408:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(13744),n=i(40577);let r=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#tH=(()=>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.#oZ?.category}get tag(){if(this.onDiscoveryRoute)return this.#oZ?.tag}get currentTopicList(){if(this.onDiscoveryRoute)return this.#oZ?.list}get #oZ(){return this.router.currentRoute.attributes}},[n.disableImplicitInjections])},30459:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(24698),n=i(96675),r=i(79401),a=i(46386),o=i(9348),l=i(55888);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:"NqnL3iRd",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]],[18,3,null],[13]],[]]]]]],["@topic","&attrs","&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/topic-link.js",scope:()=>[r.default,a.default,n.htmlSafe],isStrictMode:!0}),this))()}},30467:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=i(66530).default.extend({asyncStart(){},asyncEnd(){},exception(e){throw e}})},30506:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(24698),n=i(4089),r=i(96675),a=i(22106),o=i(71773),l=i(60882),u=i(34057),d=i(9348),c=i(55888);class p extends s.default{get icon(){return(0,l.convertIconClass)(this.args.flairUrl)}get isIcon(){return this.args.flairUrl&&!this.args.flairUrl.includes("/")}get style(){let e=[];return this.isIcon||e.push("background-image: url("+(0,u.escapeExpression)(this.args.flairUrl)+")"),this.args.flairBgColor&&e.push("background-color: #"+(0,u.escapeExpression)(this.args.flairBgColor)),this.args.flairColor&&e.push("color: #"+(0,u.escapeExpression)(this.args.flairColor)),e.length>0?(0,r.htmlSafe)(e.join("; ")):null}get title(){return this.args.flairName}static #e=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"JAZbvQIv",block:'[[[1,"\\n "],[10,0],[15,0,[28,[32,0],["avatar-flair",[28,[32,1],["avatar-flair-",[30,1]],null],[52,[30,2],"rounded"],[52,[51,[30,0,["isIcon"]]],"avatar-flair-image"]],null]],[15,5,[30,0,["style"]]],[15,"title",[30,0,["title"]]],[12],[1,"\\n"],[41,[30,0,["isIcon"]],[[[1," "],[1,[28,[32,2],[[30,0,["icon"]]],null]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@flairName","@flairBgColor"],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/avatar-flair.js",scope:()=>[a.default,n.concat,o.default],isStrictMode:!0}),this))()}},30517:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>O});var s=i(9348),n=i(58452),r=i(66530),a=i(87966),o=i(13744),l=i(96675),u=i(1848),d=i(23286),c=i(90831),p=i(75374),h=i(58219),m=i(11811),g=i(6960),f=i(52752),_=i(34326),y=i(79401),b=i(92221),w=i(95256),k=i(87018),T=i(62112),S=i(22106),C=i(71773),A=i(46734),D=i(87609),M=i(46386),x=i(18761),E=i(20559),L=i(39105),P=i(21195),F=i(57364),I=i(24908),N=i(55888);let O=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#tO=(()=>void dt7948.i(this,"dialog"))();static #i=(()=>dt7948.g(this.prototype,"modal",[o.service]))();#tq=(()=>void dt7948.i(this,"modal"))();get canDoBulkActions(){return this.bulkSelectHelper?.selected.length}get selected(){return this.bulkSelectHelper?.selected}get selectedCount(){return this.selected?.length||0}removeBookmark(e){return new d.Promise((t,i)=>{let s=()=>{e.destroy().then(()=>{this.appEvents.trigger("bookmarks:changed",null,e.attachedTo()),this._removeBookmarkFromList(e),t(!0)}).catch(e=>{i(e)})};if(!e.reminder_at)return s();this.dialog.deleteConfirm({message:(0,F.i18n)("bookmarks.confirm_delete"),didConfirm:()=>s(),didCancel:()=>t(!1)})})}static #n=(()=>dt7948.n(this.prototype,"removeBookmark",[r.action]))();screenExcerptForExternalLink(e){e?.target?.tagName==="A"&&(0,P.shouldOpenInNewTab)(e.target.href)&&(0,P.openLinkInNewTab)(e,e.target)}static #a=(()=>dt7948.n(this.prototype,"screenExcerptForExternalLink",[r.action]))();editBookmark(e){this.modal.show(_.default,{model:{bookmark:new L.BookmarkFormData(e),afterSave:t=>{this.appEvents.trigger("bookmarks:changed",t,e.attachedTo()),this.reload()},afterDelete:()=>{this.reload()}}})}static #l=(()=>dt7948.n(this.prototype,"editBookmark",[r.action]))();clearBookmarkReminder(e){return(0,E.ajax)(`/bookmarks/${e.id}`,{type:"PUT",data:{reminder_at:null}}).then(()=>{e.set("reminder_at",null)})}static #d=(()=>dt7948.n(this.prototype,"clearBookmarkReminder",[r.action]))();togglePinBookmark(e){e.togglePin().then(this.reload)}static #p=(()=>dt7948.n(this.prototype,"togglePinBookmark",[r.action]))();toggleBulkSelect(){this.bulkSelectHelper?.toggleBulkSelect(),this.rerender()}static #m=(()=>dt7948.n(this.prototype,"toggleBulkSelect",[r.action]))();selectAll(){this.bulkSelectHelper.autoAddBookmarksToBulkSelect=!0,document.querySelectorAll("input.bulk-select:not(:checked)").forEach(e=>e.click())}static #f=(()=>dt7948.n(this.prototype,"selectAll",[r.action]))();clearAll(){this.bulkSelectHelper.autoAddBookmarksToBulkSelect=!1,document.querySelectorAll("input.bulk-select:checked").forEach(e=>e.click())}static #y=(()=>dt7948.n(this.prototype,"clearAll",[r.action]))();get bulkSelectEnabled(){return this.bulkSelectHelper?.bulkSelectEnabled}static #v=(()=>dt7948.n(this.prototype,"bulkSelectEnabled",[a.dependentKeyCompat]))();_removeBookmarkFromList(e){this.content.removeObject(e)}_toggleSelection(e,t,i){let s=this.selected;if(e.checked){if(s.addObject(t),i){let t=Array.from(document.querySelectorAll("input.bulk-select")),i=t.indexOf(e),s=t.findIndex(e=>e.id===this.lastChecked.id),n=Math.min(i,s),r=Math.max(i,s);t.slice(n,r).filter(e=>!0!==e.checked).forEach(e=>{e.click()})}this.set("lastChecked",e)}else s.removeObject(t),this.set("lastChecked",null)}click(e){((t,i)=>{let s=e.target.closest(t);s&&i(s)})("input.bulk-select",()=>{let t=e.target,i=t.dataset.id,s=this.content.find(e=>e.id.toString()===i);this._toggleSelection(t,s,this.lastChecked&&e.shiftKey)})}static #k=(()=>(0,s.setComponentTemplate)((0,N.createTemplateFactory)({id:"1QZzKnba",block:'[[[1,"\\n "],[8,[32,0],null,[["@condition"],[[30,0,["loading"]]]],[["default"],[[[[1,"\\n "],[8,[32,1],null,[["@action"],[[30,0,["loadMore"]]]],[["default"],[[[[1,"\\n "],[10,"table"],[14,0,"topic-list bookmark-list"],[12],[1,"\\n "],[10,"thead"],[14,0,"topic-list-header"],[12],[1,"\\n"],[41,[30,0,["site","desktopView"]],[[[1," "],[8,[32,2],null,[["@name"],["bookmark-list-table-header"]],[["default"],[[[[1,"\\n"],[41,[30,0,["bulkSelectEnabled"]],[[[1," "],[10,"th"],[14,0,"bulk-select topic-list-data"],[12],[1,"\\n "],[8,[32,3],null,[["@action","@class","@icon","@title"],[[30,0,["toggleBulkSelect"]],"bulk-select","list-check","bookmarks.bulk.toggle"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,"th"],[14,0,"topic-list-data"],[12],[1,"\\n\\n"],[41,[30,0,["bulkSelectEnabled"]],[[[1," "],[10,1],[14,0,"bulk-select-topics"],[12],[41,[30,0,["canDoBulkActions"]],[[[1," "],[10,0],[14,0,"bulk-select-bookmarks-dropdown"],[12],[1,"\\n "],[10,1],[14,0,"bulk-select-bookmark-dropdown__count"],[12],[1,"\\n "],[1,[28,[32,4],["bookmarks.bulk.selected_count"],[["count"],[[30,0,["selectedCount"]]]]]],[1,"\\n "],[13],[1,"\\n "],[8,[32,5],null,[["@bulkSelectHelper"],[[30,0,["bulkSelectHelper"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"]],[]],null],[8,[32,6],[[24,0,"btn btn-default bulk-select-all"]],[["@action","@label"],[[30,0,["selectAll"]],"bookmarks.bulk.select_all"]],null],[1,"\\n "],[8,[32,6],[[24,0,"btn btn-default bulk-clear-all"]],[["@action","@label"],[[30,0,["clearAll"]],"bookmarks.bulk.clear_all"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,3],null,[["@action","@class","@icon","@title"],[[30,0,["toggleBulkSelect"]],"bulk-select","list-check","bookmarks.bulk.toggle"]],null],[1,"\\n "],[1,[28,[32,4],["topic.title"],null]],[1,"\\n"]],[]]],[13],[1,"\\n "],[10,"th"],[14,0,"topic-list-data"],[12],[1," "],[13],[1,"\\n "],[10,"th"],[14,0,"post-metadata topic-list-data"],[12],[1,[28,[32,4],["post.bookmarks.updated"],null]],[13],[1,"\\n "],[10,"th"],[14,0,"post-metadata topic-list-data"],[12],[1,[28,[32,4],["activity"],null]],[13],[1,"\\n "],[10,"th"],[12],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,"tbody"],[14,0,"topic-list-body"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["content"]]],null]],null],null,[[[1," "],[10,"tr"],[15,0,[28,[32,7],["topic-list-item bookmark-list-item",[52,[30,1,["excerpt"]],"excerpt-expanded",""],[52,[30,1,["hasMetadata"]],"has-metadata",""]],null]],[12],[1,"\\n"],[41,[30,0,["bulkSelectEnabled"]],[[[1," "],[10,"td"],[14,0,"bulk-select bookmark-list-data"],[12],[1,"\\n "],[10,"label"],[15,"for",[29,["bulk-select-",[30,1,["id"]]]]],[12],[1,"\\n "],[10,"input"],[14,0,"bulk-select"],[15,1,[29,["bulk-select-",[30,1,["id"]]]]],[15,"data-id",[30,1,["id"]]],[14,4,"checkbox"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,"td"],[14,0,"main-link topic-list-data"],[12],[1,"\\n "],[8,[32,2],null,[["@name","@outletArgs"],["bookmark-list-before-link",[28,[32,8],null,[["bookmark"],[[30,1]]]]]],null],[1,"\\n\\n "],[10,1],[14,0,"link-top-line"],[12],[1,"\\n"],[41,[30,1,["hasMetadata"]],[[[1," "],[10,0],[14,0,"bookmark-metadata"],[12],[1,"\\n"],[41,[30,1,["reminder_at"]],[[[1," "],[10,1],[15,0,[29,["bookmark-metadata-item bookmark-reminder\\n ",[52,[30,1,["reminderAtExpired"]],"bookmark-expired-reminder"]]]],[12],[1,"\\n "],[1,[28,[32,9],["far-clock"],null]],[1,[30,1,["formattedReminder"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["name"]],[[[1," "],[10,1],[14,0,"bookmark-metadata-item"],[12],[1,"\\n "],[1,[28,[32,9],["circle-info"],null]],[10,1],[12],[1,[30,1,["name"]]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"bookmark-status-with-link"],[12],[1,"\\n"],[41,[30,1,["pinned"]],[[[1," "],[1,[28,[32,9],["thumbtack"],[["class"],["bookmark-pinned"]]]],[1,"\\n"]],[]],null],[41,[30,1,["bookmarkableTopicAlike"]],[[[1," "],[8,[32,10],null,[["@topic"],[[30,1,["topicStatus"]]]],null],[1,"\\n "],[1,[28,[32,11],[[30,1,["topicForList"]]],null]],[1,"\\n"]],[]],[[[1," "],[10,3],[15,6,[30,1,["bookmarkable_url"]]],[14,"role","heading"],[14,"aria-level","2"],[14,0,"title"],[12],[1,"\\n "],[1,[30,1,["fancy_title"]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["bookmarkableTopicAlike"]],[[[1," "],[10,0],[14,0,"link-bottom-line"],[12],[1,"\\n "],[1,[28,[32,12],[[30,1,["category"]]],null]],[1,"\\n "],[1,[28,[32,13],[[30,1]],[["mode","tagsForUser"],["list",[30,0,["tagsForUser"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[28,[32,14],[[30,0,["site","mobileView"]],[30,1,["excerpt"]],[30,1,["user","avatar_template"]]],null],[[[1," "],[10,3],[15,6,[30,1,["bookmarkableUser","path"]]],[15,"data-user-card",[30,1,["user","username"]]],[14,0,"avatar"],[12],[1,"\\n "],[1,[28,[32,15],[[30,1,["bookmarkableUser"]]],[["avatarTemplatePath","usernamePath","namePath","imageSize"],["avatar_template","username","name","large"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["excerpt"]],[[[1," "],[11,2],[24,0,"post-excerpt"],[4,[32,16],["click",[30,0,["screenExcerptForExternalLink"]]],null],[12],[1,[28,[32,17],[[30,1,["excerpt"]]],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"],[41,[30,0,["site","desktopView"]],[[[1," "],[10,"td"],[14,0,"author-avatar topic-list-data"],[12],[1,"\\n"],[41,[30,1,["user","avatar_template"]],[[[1," "],[10,3],[15,6,[30,1,["user","path"]]],[15,"data-user-card",[30,1,["user","username"]]],[14,0,"avatar"],[12],[1,"\\n "],[1,[28,[32,15],[[30,1,["user"]]],[["avatarTemplatePath","usernamePath","namePath","imageSize"],["avatar_template","username","name","large"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,"td"],[14,0,"post-metadata topic-list-data updated-at"],[12],[1,[28,[32,18],[[30,1,["updated_at"]]],[["format"],["tiny"]]]],[13],[1,"\\n "],[8,[32,19],[[24,0,"post-metadata"]],[["@topic"],[[30,1]]],null],[1,"\\n"]],[]],null],[1," "],[10,"td"],[14,0,"topic-list-data"],[12],[1,"\\n "],[8,[32,20],null,[["@bookmark","@removeBookmark","@editBookmark","@clearBookmarkReminder","@togglePinBookmark"],[[30,1],[30,0,["removeBookmark"]],[30,0,["editBookmark"]],[30,0,["clearBookmarkReminder"]],[30,0,["togglePinBookmark"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,0],null,[["@condition"],[[30,0,["loadingMore"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["bookmark"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/bookmark-list.js",scope:()=>[h.default,f.default,y.default,g.default,F.i18n,I.default,m.default,S.default,M.default,C.default,w.default,x.default,T.default,A.default,c.and,k.default,n.on,l.htmlSafe,D.default,b.default,p.default],isStrictMode:!0}),this))()},[(0,u.classNames)("bookmark-list-wrapper")])},30526:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var s=i(56589),n=i(99356),r=i(76426),a=i(8705);function o(e){var t,i=e.reference,o=e.element,l=e.placement,u=l?(0,s.A)(l):null,d=l?(0,n.A)(l):null,c=i.x+i.width/2-o.width/2,p=i.y+i.height/2-o.height/2;switch(u){case a.Mn:t={x:c,y:i.y-o.height};break;case a.sQ:t={x:c,y:i.y+i.height};break;case a.pG:t={x:i.x+i.width,y:p};break;case a.kb:t={x:i.x-o.width,y:p};break;default:t={x:i.x,y:i.y}}var h=u?(0,r.A)(u):null;if(null!=h){var m="y"===h?"height":"width";switch(d){case a.ni:t[h]=t[h]-(i[m]/2-o[m]/2);break;case a._N:t[h]=t[h]+(i[m]/2-o[m]/2)}}return t}},30587:function(e,t){var i;!function(t,i){"use strict";"object"==typeof e.exports?e.exports=t.document?i(t,!0):function(e){if(!e.document)throw Error("jQuery requires a window with a document");return i(e)}:i(t)}("undefined"!=typeof window?window:this,function(s,n){"use strict";var r=[],a=Object.getPrototypeOf,o=r.slice,l=r.flat?function(e){return r.flat.call(e)}:function(e){return r.concat.apply([],e)},u=r.push,d=r.indexOf,c={},p=c.toString,h=c.hasOwnProperty,m=h.toString,g=m.call(Object),f={},_=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=s.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function k(e,t,i){var s,n,r=(i=i||b).createElement("script");if(r.text=e,t)for(s in w)(n=t[s]||t.getAttribute&&t.getAttribute(s))&&r.setAttribute(s,n);i.head.appendChild(r).parentNode.removeChild(r)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[p.call(e)]||"object":typeof e}var S="3.7.1",C=/HTML$/i,A=function(e,t){return new A.fn.init(e,t)};function D(e){var t=!!e&&"length"in e&&e.length,i=T(e);return!(_(e)||y(e))&&("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e)}function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}A.fn=A.prototype={jquery:S,constructor:A,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=A.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return A.each(this,e)},map:function(e){return this.pushStack(A.map(this,function(t,i){return e.call(t,i,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(A.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(A.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(i>=0&&i+~]|"+P+")"+P+"*"),Y=RegExp(P+"|>"),q=new RegExp(R),$=RegExp("^"+O+"$"),z={ID:RegExp("^#("+O+")"),CLASS:RegExp("^\\.("+O+")"),TAG:RegExp("^("+O+"|[*])"),ATTR:RegExp("^"+j),PSEUDO:RegExp("^"+R),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+N+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},V=/^(?:input|select|textarea|button)$/i,W=/^h\d$/i,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,J=RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),Q=function(e,t){var i="0x"+e.slice(1)-65536;return t||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},X=function(){eo()},Z=ec(function(e){return!0===e.disabled&&M(e,"fieldset")},{dir:"parentNode",next:"legend"});try{_.apply(r=o.call(b.childNodes),b.childNodes),r[b.childNodes.length].nodeType}catch(e){_={apply:function(e,t){u.apply(e,o.call(t))},call:function(e){u.apply(e,o.call(arguments,1))}}}function ee(e,t,i,s){var n,r,a,o,u,d,c,h=t&&t.ownerDocument,g=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return i;if(!s&&(eo(t),t=t||l,p)){if(11!==g&&(u=K.exec(e))){if(n=u[1]){if(9===g){if(!(a=t.getElementById(n)))return i;else if(a.id===n)return _.call(i,a),i}else if(h&&(a=h.getElementById(n))&&ee.contains(t,a)&&a.id===n)return _.call(i,a),i}else if(u[2])return _.apply(i,t.getElementsByTagName(e)),i;else if((n=u[3])&&t.getElementsByClassName)return _.apply(i,t.getElementsByClassName(n)),i}if(!D[e+" "]&&(!m||!m.test(e))){if(c=e,h=t,1===g&&(Y.test(e)||H.test(e))){for((h=G.test(e)&&ea(t.parentNode)||t)==t&&f.scope||((o=t.getAttribute("id"))?o=A.escapeSelector(o):t.setAttribute("id",o=y)),r=(d=eu(e)).length;r--;)d[r]=(o?"#"+o:":scope")+" "+ed(d[r]);c=d.join(",")}try{return _.apply(i,h.querySelectorAll(c)),i}catch(t){D(e,!0)}finally{o===y&&t.removeAttribute("id")}}}return eg(e.replace(F,"$1"),t,i,s)}function et(){var e=[];function i(s,n){return e.push(s+" ")>t.cacheLength&&delete i[e.shift()],i[s+" "]=n}return i}function ei(e){return e[y]=!0,e}function es(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function en(e){return function(t){if("form"in t){if(t.parentNode&&!1===t.disabled){if("label"in t)if("label"in t.parentNode)return t.parentNode.disabled===e;else return t.disabled===e;return t.isDisabled===e||!e!==t.isDisabled&&Z(t)===e}return t.disabled===e}return"label"in t&&t.disabled===e}}function er(e){return ei(function(t){return t*=1,ei(function(i,s){for(var n,r=e([],i.length,t),a=r.length;a--;)i[n=r[a]]&&(i[n]=!(s[n]=i[n]))})})}function ea(e){return e&&void 0!==e.getElementsByTagName&&e}function eo(e){var i,s=e?e.ownerDocument||e:b;return s!=l&&9===s.nodeType&&s.documentElement&&(c=(l=s).documentElement,p=!A.isXMLDoc(l),g=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&b!=l&&(i=l.defaultView)&&i.top!==i&&i.addEventListener("unload",X),f.getById=es(function(e){return c.appendChild(e).id=A.expando,!l.getElementsByName||!l.getElementsByName(A.expando).length}),f.disconnectedMatch=es(function(e){return g.call(e,"*")}),f.scope=es(function(){return l.querySelectorAll(":scope")}),f.cssHas=es(function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),f.getById?(t.filter.ID=function(e){var t=e.replace(J,Q);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var i=t.getElementById(e);return i?[i]:[]}}):(t.filter.ID=function(e){var t=e.replace(J,Q);return function(e){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var i,s,n,r=t.getElementById(e);if(r){if((i=r.getAttributeNode("id"))&&i.value===e)return[r];for(n=t.getElementsByName(e),s=0;r=n[s++];)if((i=r.getAttributeNode("id"))&&i.value===e)return[r]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},m=[],es(function(e){var t;c.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||m.push("\\["+P+"*(?:value|"+N+")"),e.querySelectorAll("[id~="+y+"-]").length||m.push("~="),e.querySelectorAll("a#"+y+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll(":checked").length||m.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")")}),f.cssHas||m.push(":has"),m=m.length&&new RegExp(m.join("|")),I=function(e,t){if(e===t)return a=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i?i:1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===i?e===l||e.ownerDocument==b&&ee.contains(b,e)?-1:t===l||t.ownerDocument==b&&ee.contains(b,t)?1:n?d.call(n,e)-d.call(n,t):0:4&i?-1:1}),l}for(e in ee.matches=function(e,t){return ee(e,null,null,t)},ee.matchesSelector=function(e,t){if(eo(e),p&&!D[t+" "]&&(!m||!m.test(t)))try{var i=g.call(e,t);if(i||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){D(t,!0)}return ee(t,l,null,[e]).length>0},ee.contains=function(e,t){return(e.ownerDocument||e)!=l&&eo(e),A.contains(e,t)},ee.attr=function(e,i){(e.ownerDocument||e)!=l&&eo(e);var s=t.attrHandle[i.toLowerCase()],n=s&&h.call(t.attrHandle,i.toLowerCase())?s(e,i,!p):void 0;return void 0!==n?n:e.getAttribute(i)},ee.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},A.uniqueSort=function(e){var t,i=[],s=0,r=0;if(a=!f.sortStable,n=!f.sortStable&&o.call(e,0),E.call(e,I),a){for(;t=e[r++];)t===e[r]&&(s=i.push(r));for(;s--;)L.call(e,i[s],1)}return n=null,e},A.fn.uniqueSort=function(){return this.pushStack(A.uniqueSort(o.apply(this)))},(t=A.expr={cacheLength:50,createPseudo:ei,match:z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(J,Q),e[3]=(e[3]||e[4]||e[5]||"").replace(J,Q),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ee.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ee.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&q.test(i)&&(t=eu(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(J,Q).toLowerCase();return"*"===e?function(){return!0}:function(e){return M(e,t)}},CLASS:function(e){var t=T[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&T(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,i){return function(s){var n=ee.attr(s,e);return null==n?"!="===t:!t||((n+="","="===t)?n===i:"!="===t?n!==i:"^="===t?i&&0===n.indexOf(i):"*="===t?i&&n.indexOf(i)>-1:"$="===t?i&&n.slice(-i.length)===i:"~="===t?(" "+n.replace(U," ")+" ").indexOf(i)>-1:"|="===t&&(n===i||n.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,i,s,n){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),o="of-type"===t;return 1===s&&0===n?function(e){return!!e.parentNode}:function(t,i,l){var u,d,c,p,h,m=r!==a?"nextSibling":"previousSibling",g=t.parentNode,f=o&&t.nodeName.toLowerCase(),_=!l&&!o,b=!1;if(g){if(r){for(;m;){for(c=t;c=c[m];)if(o?M(c,f):1===c.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&_){for(b=(p=(u=(d=g[y]||(g[y]={}))[e]||[])[0]===w&&u[1])&&u[2],c=p&&g.childNodes[p];c=++p&&c&&c[m]||(b=p=0)||h.pop();)if(1===c.nodeType&&++b&&c===t){d[e]=[w,p,b];break}}else if(_&&(b=p=(u=(d=t[y]||(t[y]={}))[e]||[])[0]===w&&u[1]),!1===b)for(;(c=++p&&c&&c[m]||(b=p=0)||h.pop())&&(!((o?M(c,f):1===c.nodeType)&&++b)||(_&&((d=c[y]||(c[y]={}))[e]=[w,b]),c!==t)););return(b-=n)===s||b%s==0&&b/s>=0}}},PSEUDO:function(e,i){var s,n=t.pseudos[e]||t.setFilters[e.toLowerCase()]||ee.error("unsupported pseudo: "+e);return n[y]?n(i):n.length>1?(s=[e,e,"",i],t.setFilters.hasOwnProperty(e.toLowerCase())?ei(function(e,t){for(var s,r=n(e,i),a=r.length;a--;)s=d.call(e,r[a]),e[s]=!(t[s]=r[a])}):function(e){return n(e,0,s)}):n}},pseudos:{not:ei(function(e){var t=[],i=[],s=em(e.replace(F,"$1"));return s[y]?ei(function(e,t,i,n){for(var r,a=s(e,null,n,[]),o=e.length;o--;)(r=a[o])&&(e[o]=!(t[o]=r))}):function(e,n,r){return t[0]=e,s(t,null,r,i),t[0]=null,!i.pop()}}),has:ei(function(e){return function(t){return ee(e,t).length>0}}),contains:ei(function(e){return e=e.replace(J,Q),function(t){return(t.textContent||A.text(t)).indexOf(e)>-1}}),lang:ei(function(e){return $.test(e||"")||ee.error("unsupported lang: "+e),e=e.replace(J,Q).toLowerCase(),function(t){var i;do if(i=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType)return!1}}),target:function(e){var t=s.location&&s.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:en(!1),disabled:en(!0),checked:function(e){return M(e,"input")&&!!e.checked||M(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return W.test(e.nodeName)},input:function(e){return V.test(e.nodeName)},button:function(e){return M(e,"input")&&"button"===e.type||M(e,"button")},text:function(e){var t;return M(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:er(function(){return[0]}),last:er(function(e,t){return[t-1]}),eq:er(function(e,t,i){return[i<0?i+t:i]}),even:er(function(e,t){for(var i=0;it?t:i;--s>=0;)e.push(s);return e}),gt:er(function(e,t,i){for(var s=i<0?i+t:i;++s1?function(t,i,s){for(var n=e.length;n--;)if(!e[n](t,i,s))return!1;return!0}:e[0]}function eh(e,t,i,s,n){for(var r,a=[],o=0,l=e.length,u=null!=t;o-1},u,!0),m=[function(e,t,s){var r=!l&&(s||t!=i)||((n=t).nodeType?p(e,t,s):h(e,t,s));return n=null,r}];c-1&&(e[u]=!(a[u]=p))}}else h=eh(h===a?h.splice(f,h.length):h),r?r(null,a,h,l):_.apply(a,h)})}(c>1&&ep(m),c>1&&ed(s.slice(0,c-1).concat({value:" "===s[c-2].type?"*":""})).replace(F,"$1"),r,c0,r=e.length>0,a=function(a,o,u,d,c){var h,m,g,f=0,y="0",b=a&&[],k=[],T=i,S=a||r&&t.find.TAG("*",c),C=w+=null==T?1:Math.random()||.1,D=S.length;for(c&&(i=o==l||o||c);y!==D&&null!=(h=S[y]);y++){if(r&&h){for(m=0,o||h.ownerDocument==l||(eo(h),u=!p);g=e[m++];)if(g(h,o||l,u)){_.call(d,h);break}c&&(w=C)}n&&((h=!g&&h)&&f--,a&&b.push(h))}if(f+=y,n&&y!==f){for(m=0;g=s[m++];)g(b,k,o,u);if(a){if(f>0)for(;y--;)b[y]||k[y]||(k[y]=x.call(d));k=eh(k)}_.apply(d,k),c&&!a&&k.length>0&&f+s.length>1&&A.uniqueSort(d)}return c&&(w=C,i=T),b};return n?ei(a):a}(a,r))).selector=e}return o}function eg(e,i,s,n){var r,a,o,l,u,d="function"==typeof e&&e,c=!n&&eu(e=d.selector||e);if(s=s||[],1===c.length){if((a=c[0]=c[0].slice(0)).length>2&&"ID"===(o=a[0]).type&&9===i.nodeType&&p&&t.relative[a[1].type]){if(!(i=(t.find.ID(o.matches[0].replace(J,Q),i)||[])[0]))return s;d&&(i=i.parentNode),e=e.slice(a.shift().value.length)}for(r=z.needsContext.test(e)?0:a.length;r--&&(o=a[r],!t.relative[l=o.type]);)if((u=t.find[l])&&(n=u(o.matches[0].replace(J,Q),G.test(a[0].type)&&ea(i.parentNode)||i))){if(a.splice(r,1),!(e=n.length&&ed(a)))return _.apply(s,n),s;break}}return(d||em(e,c))(n,i,!p,s,!i||G.test(e)&&ea(i.parentNode)||i),s}el.prototype=t.filters=t.pseudos,t.setFilters=new el,f.sortStable=y.split("").sort(I).join("")===y,eo(),f.sortDetached=es(function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))}),A.find=ee,A.expr[":"]=A.expr.pseudos,A.unique=A.uniqueSort,ee.compile=em,ee.select=eg,ee.setDocument=eo,ee.tokenize=eu,ee.escape=A.escapeSelector,ee.getText=A.text,ee.isXML=A.isXMLDoc,ee.selectors=A.expr,ee.support=A.support,ee.uniqueSort=A.uniqueSort}();var O=function(e,t,i){for(var s=[],n=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(n&&A(e).is(i))break;s.push(e)}return s},j=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},R=A.expr.match.needsContext,U=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function B(e,t,i){return _(t)?A.grep(e,function(e,s){return!!t.call(e,s,e)!==i}):t.nodeType?A.grep(e,function(e){return e===t!==i}):"string"!=typeof t?A.grep(e,function(e){return d.call(t,e)>-1!==i}):A.filter(t,e,i)}A.filter=function(e,t,i){var s=t[0];return(i&&(e=":not("+e+")"),1===t.length&&1===s.nodeType)?A.find.matchesSelector(s,e)?[s]:[]:A.find.matches(e,A.grep(t,function(e){return 1===e.nodeType}))},A.fn.extend({find:function(e){var t,i,s=this.length,n=this;if("string"!=typeof e)return this.pushStack(A(e).filter(function(){for(t=0;t1?A.uniqueSort(i):i},filter:function(e){return this.pushStack(B(this,e||[],!1))},not:function(e){return this.pushStack(B(this,e||[],!0))},is:function(e){return!!B(this,"string"==typeof e&&R.test(e)?A(e):e||[],!1).length}});var H,Y=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(e,t,i){var s,n;if(!e)return this;if(i=i||H,"string"==typeof e){if((s="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Y.exec(e))&&(s[1]||!t))if(!s[1])return(n=b.getElementById(s[2]))&&(this[0]=n,this.length=1),this;else{if(t=t instanceof A?t[0]:t,A.merge(this,A.parseHTML(s[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),U.test(s[1])&&A.isPlainObject(t))for(s in t)_(this[s])?this[s](t[s]):this.attr(s,t[s]);return this}return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e)}return e.nodeType?(this[0]=e,this.length=1,this):_(e)?void 0!==i.ready?i.ready(e):e(A):A.makeArray(e,this)}).prototype=A.fn,H=A(b);var q=/^(?:parents|prev(?:Until|All))/,$={children:!0,contents:!0,next:!0,prev:!0};function z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}A.fn.extend({has:function(e){var t=A(e,this),i=t.length;return this.filter(function(){for(var e=0;e-1:1===i.nodeType&&A.find.matchesSelector(i,e))){r.push(i);break}}return this.pushStack(r.length>1?A.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?d.call(A(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(A.uniqueSort(A.merge(this.get(),A(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),A.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return O(e,"parentNode")},parentsUntil:function(e,t,i){return O(e,"parentNode",i)},next:function(e){return z(e,"nextSibling")},prev:function(e){return z(e,"previousSibling")},nextAll:function(e){return O(e,"nextSibling")},prevAll:function(e){return O(e,"previousSibling")},nextUntil:function(e,t,i){return O(e,"nextSibling",i)},prevUntil:function(e,t,i){return O(e,"previousSibling",i)},siblings:function(e){return j((e.parentNode||{}).firstChild,e)},children:function(e){return j(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(M(e,"template")&&(e=e.content||e),A.merge([],e.childNodes))}},function(e,t){A.fn[e]=function(i,s){var n=A.map(this,t,i);return"Until"!==e.slice(-5)&&(s=i),s&&"string"==typeof s&&(n=A.filter(s,n)),this.length>1&&($[e]||A.uniqueSort(n),q.test(e)&&n.reverse()),this.pushStack(n)}});var V=/[^\x20\t\r\n\f]+/g;function W(e){return e}function K(e){throw e}function G(e,t,i,s){var n;try{e&&_(n=e.promise)?n.call(e).done(t).fail(i):e&&_(n=e.then)?n.call(e,t,i):t.apply(void 0,[e].slice(s))}catch(e){i.apply(void 0,[e])}}A.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return A.each(e.match(V)||[],function(e,i){t[i]=!0}),t}(e):A.extend({},e);var t,i,s,n,r=[],a=[],o=-1,l=function(){for(n=n||e.once,s=t=!0;a.length;o=-1)for(i=a.shift();++o-1;)r.splice(i,1),i<=o&&o--}),this},has:function(e){return e?A.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return n=a=[],r=i="",this},disabled:function(){return!r},lock:function(){return n=a=[],i||t||(r=i=""),this},locked:function(){return!!n},fireWith:function(e,i){return!n&&(i=[e,(i=i||[]).slice?i.slice():i],a.push(i),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!s}};return u},A.extend({Deferred:function(e){var t=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return n.then(null,e)},pipe:function(){var e=arguments;return A.Deferred(function(i){A.each(t,function(t,s){var n=_(e[s[4]])&&e[s[4]];r[s[1]](function(){var e=n&&n.apply(this,arguments);e&&_(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[s[0]+"With"](this,n?[e]:arguments)})}),e=null}).promise()},then:function(e,i,n){var r=0;function a(e,t,i,n){return function(){var o=this,l=arguments,u=function(){var s,u;if(!(e=r&&(i!==K&&(o=void 0,l=[s]),t.rejectWith(o,l))}};e?d():(A.Deferred.getErrorHook?d.error=A.Deferred.getErrorHook():A.Deferred.getStackHook&&(d.error=A.Deferred.getStackHook()),s.setTimeout(d))}}return A.Deferred(function(s){t[0][3].add(a(0,s,_(n)?n:W,s.notifyWith)),t[1][3].add(a(0,s,_(e)?e:W)),t[2][3].add(a(0,s,_(i)?i:K))}).promise()},promise:function(e){return null!=e?A.extend(e,n):n}},r={};return A.each(t,function(e,s){var a=s[2],o=s[5];n[s[1]]=a.add,o&&a.add(function(){i=o},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(s[3].fire),r[s[0]]=function(){return r[s[0]+"With"](this===r?void 0:this,arguments),this},r[s[0]+"With"]=a.fireWith}),n.promise(r),e&&e.call(r,r),r},when:function(e){var t=arguments.length,i=t,s=Array(i),n=o.call(arguments),r=A.Deferred(),a=function(e){return function(i){s[e]=this,n[e]=arguments.length>1?o.call(arguments):i,--t||r.resolveWith(s,n)}};if(t<=1&&(G(e,r.done(a(i)).resolve,r.reject,!t),"pending"===r.state()||_(n[i]&&n[i].then)))return r.then();for(;i--;)G(n[i],a(i),r.reject);return r.promise()}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.Deferred.exceptionHook=function(e,t){s.console&&s.console.warn&&e&&J.test(e.name)&&s.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},A.readyException=function(e){s.setTimeout(function(){throw e})};var Q=A.Deferred();function X(){b.removeEventListener("DOMContentLoaded",X),s.removeEventListener("load",X),A.ready()}A.fn.ready=function(e){return Q.then(e).catch(function(e){A.readyException(e)}),this},A.extend({isReady:!1,readyWait:1,ready:function(e){!(!0===e?--A.readyWait:A.isReady)&&(A.isReady=!0,!0!==e&&--A.readyWait>0||Q.resolveWith(b,[A]))}}),A.ready.then=Q.then,"complete"!==b.readyState&&("loading"===b.readyState||b.documentElement.doScroll)?(b.addEventListener("DOMContentLoaded",X),s.addEventListener("load",X)):s.setTimeout(A.ready);var Z=function(e,t,i,s,n,r,a){var o=0,l=e.length,u=null==i;if("object"===T(i))for(o in n=!0,i)Z(e,t,o,i[o],!0,r,a);else if(void 0!==s&&(n=!0,_(s)||(a=!0),u&&(a?(t.call(e,s),t=null):(u=t,t=function(e,t,i){return u.call(A(e),i)})),t))for(;o1,null,!0)},removeData:function(e){return this.each(function(){eo.remove(this,e)})}}),A.extend({queue:function(e,t,i){var s;if(e)return t=(t||"fx")+"queue",s=ea.get(e,t),i&&(!s||Array.isArray(i)?s=ea.access(e,t,A.makeArray(i)):s.push(i)),s||[]},dequeue:function(e,t){t=t||"fx";var i=A.queue(e,t),s=i.length,n=i.shift(),r=A._queueHooks(e,t);"inprogress"===n&&(n=i.shift(),s--),n&&("fx"===t&&i.unshift("inprogress"),delete r.stop,n.call(e,function(){A.dequeue(e,t)},r)),!s&&r&&r.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return ea.get(e,i)||ea.access(e,i,{empty:A.Callbacks("once memory").add(function(){ea.remove(e,[t+"queue",i])})})}}),A.fn.extend({queue:function(e,t){var i=2;return("string"!=typeof e&&(t=e,e="fx",i--),arguments.length\x20\t\r\n\f]*)/i,eT=/^$|^module$|\/(?:java|ecma)script/i;!function(){var e=b.createDocumentFragment().appendChild(b.createElement("div")),t=b.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),f.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",f.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="",f.option=!!e.lastChild}();var eS={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function eC(e,t){var i;return(i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&M(e,t))?A.merge([e],i):i}function eA(e,t){for(var i=0,s=e.length;i",""]);var eD=/<|&#?\w+;/;function eM(e,t,i,s,n){for(var r,a,o,l,u,d=t.createDocumentFragment(),c=[],p=0,h=e.length;p-1){n&&n.push(r);continue}if(l=eg(r),a=eC(d.appendChild(r),"script"),l&&eA(a),i)for(u=0;r=a[u++];)eT.test(r.type||"")&&i.push(r)}return d}var ex=/^([^.]*)(?:\.(.+)|)/;function eE(){return!0}function eL(){return!1}function eP(e,t,i,s,n,r){var a,o;if("object"==typeof t){for(o in"string"!=typeof i&&(s=s||i,i=void 0),t)eP(e,o,i,s,t[o],r);return e}if(null==s&&null==n?(n=i,s=i=void 0):null==n&&("string"==typeof i?(n=s,s=void 0):(n=s,s=i,i=void 0)),!1===n)n=eL;else if(!n)return e;return 1===r&&(a=n,(n=function(e){return A().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=A.guid++)),e.each(function(){A.event.add(this,t,n,s,i)})}function eF(e,t,i){if(!i){void 0===ea.get(e,t)&&A.event.add(e,t,eE);return}ea.set(e,t,!1),A.event.add(e,t,{namespace:!1,handler:function(e){var i,s=ea.get(this,t);if(1&e.isTrigger&&this[t]){if(s)(A.event.special[t]||{}).delegateType&&e.stopPropagation();else if(s=o.call(arguments),ea.set(this,t,s),this[t](),i=ea.get(this,t),ea.set(this,t,!1),s!==i)return e.stopImmediatePropagation(),e.preventDefault(),i}else s&&(ea.set(this,t,A.event.trigger(s[0],s.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=eE)}})}A.event={global:{},add:function(e,t,i,s,n){var r,a,o,l,u,d,c,p,h,m,g,f=ea.get(e);if(en(e))for(i.handler&&(i=(r=i).handler,n=r.selector),n&&A.find.matchesSelector(em,n),i.guid||(i.guid=A.guid++),(l=f.events)||(l=f.events=Object.create(null)),(a=f.handle)||(a=f.handle=function(t){return A.event.triggered!==t.type?A.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(V)||[""]).length;u--;)h=g=(o=ex.exec(t[u])||[])[1],m=(o[2]||"").split(".").sort(),h&&(c=A.event.special[h]||{},h=(n?c.delegateType:c.bindType)||h,c=A.event.special[h]||{},d=A.extend({type:h,origType:g,data:s,handler:i,guid:i.guid,selector:n,needsContext:n&&A.expr.match.needsContext.test(n),namespace:m.join(".")},r),(p=l[h])||((p=l[h]=[]).delegateCount=0,(!c.setup||!1===c.setup.call(e,s,m,a))&&e.addEventListener&&e.addEventListener(h,a)),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=i.guid)),n?p.splice(p.delegateCount++,0,d):p.push(d),A.event.global[h]=!0)},remove:function(e,t,i,s,n){var r,a,o,l,u,d,c,p,h,m,g,f=ea.hasData(e)&&ea.get(e);if(f&&(l=f.events)){for(u=(t=(t||"").match(V)||[""]).length;u--;){if(h=g=(o=ex.exec(t[u])||[])[1],m=(o[2]||"").split(".").sort(),!h){for(h in l)A.event.remove(e,h+t[u],i,s,!0);continue}for(c=A.event.special[h]||{},p=l[h=(s?c.delegateType:c.bindType)||h]||[],o=o[2]&&RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=p.length;r--;)d=p[r],(n||g===d.origType)&&(!i||i.guid===d.guid)&&(!o||o.test(d.namespace))&&(!s||s===d.selector||"**"===s&&d.selector)&&(p.splice(r,1),d.selector&&p.delegateCount--,c.remove&&c.remove.call(e,d));a&&!p.length&&(c.teardown&&!1!==c.teardown.call(e,m,f.handle)||A.removeEvent(e,h,f.handle),delete l[h])}A.isEmptyObject(l)&&ea.remove(e,"handle events")}},dispatch:function(e){var t,i,s,n,r,a,o=Array(arguments.length),l=A.event.fix(e),u=(ea.get(this,"events")||Object.create(null))[l.type]||[],d=A.event.special[l.type]||{};for(t=1,o[0]=l;t=1)){for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=0,r=[],a={};i-1:A.find(n,this,null,[u]).length),a[n]&&r.push(s);r.length&&o.push({elem:u,handlers:r})}}return u=this,l\s*$/g;function ej(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&A(e).children("tbody")[0]||e}function eR(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function eU(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function eB(e,t){var i,s,n,r,a,o;if(1===t.nodeType){if(ea.hasData(e)&&(o=ea.get(e).events))for(n in ea.remove(t,"handle events"),o)for(i=0,s=o[n].length;i1&&"string"==typeof m&&!f.checkClone&&eN.test(m))return e.each(function(n){var r=e.eq(n);g&&(t[0]=m.call(this,n,r.html())),eH(r,t,i,s)});if(p&&(r=(n=eM(t,e[0].ownerDocument,!1,e,s)).firstChild,1===n.childNodes.length&&(n=r),r||s)){for(o=(a=A.map(eC(n,"script"),eR)).length;c0&&eA(a,!l&&eC(e,"script")),o},cleanData:function(e){for(var t,i,s,n=A.event.special,r=0;void 0!==(i=e[r]);r++)if(en(i)){if(t=i[ea.expando]){if(t.events)for(s in t.events)n[s]?A.event.remove(i,s):A.removeEvent(i,s,t.handle);i[ea.expando]=void 0}i[eo.expando]&&(i[eo.expando]=void 0)}}}),A.fn.extend({detach:function(e){return eY(this,e,!0)},remove:function(e){return eY(this,e)},text:function(e){return Z(this,function(e){return void 0===e?A.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return eH(this,arguments,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&ej(this,e).appendChild(e)})},prepend:function(){return eH(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ej(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return eH(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return eH(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(A.cleanData(eC(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return A.clone(this,e,t)})},html:function(e){return Z(this,function(e){var t=this[0]||{},i=0,s=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!eI.test(e)&&!eS[(ek.exec(e)||["",""])[1].toLowerCase()]){e=A.htmlPrefilter(e);try{for(;iA.inArray(this,e)&&(A.cleanData(eC(this)),i&&i.replaceChild(t,this))},e)}}),A.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){A.fn[e]=function(e){for(var i,s=[],n=A(e),r=n.length-1,a=0;a<=r;a++)i=a===r?this:this.clone(!0),A(n[a])[t](i),u.apply(s,i.get());return this.pushStack(s)}});var eq=RegExp("^("+ec+")(?!px)[a-z%]+$","i"),e$=/^--/,ez=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=s),t.getComputedStyle(e)},eV=function(e,t,i){var s,n,r={};for(n in t)r[n]=e.style[n],e.style[n]=t[n];for(n in s=i.call(e),t)e.style[n]=r[n];return s},eW=RegExp(eh.join("|"),"i");function eK(e,t,i){var s,n,r,a,o=e$.test(t),l=e.style;return(i=i||ez(e))&&(a=i.getPropertyValue(t)||i[t],o&&a&&(a=a.replace(F,"$1")||void 0),""!==a||eg(e)||(a=A.style(e,t)),!f.pixelBoxStyles()&&eq.test(a)&&eW.test(t)&&(s=l.width,n=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=i.width,l.width=s,l.minWidth=n,l.maxWidth=r)),void 0!==a?a+"":a}function eG(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}!function(){function e(){if(d){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",em.appendChild(u).appendChild(d);var e=s.getComputedStyle(d);i="1%"!==e.top,l=12===t(e.marginLeft),d.style.right="60%",a=36===t(e.right),n=36===t(e.width),d.style.position="absolute",r=12===t(d.offsetWidth/3),em.removeChild(u),d=null}}function t(e){return Math.round(parseFloat(e))}var i,n,r,a,o,l,u=b.createElement("div"),d=b.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===d.style.backgroundClip,A.extend(f,{boxSizingReliable:function(){return e(),n},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),r},reliableTrDimensions:function(){var e,t,i,n;return null==o&&(e=b.createElement("table"),t=b.createElement("tr"),i=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",i.style.height="9px",i.style.display="block",em.appendChild(e).appendChild(t).appendChild(i),o=parseInt((n=s.getComputedStyle(t)).height,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10)===t.offsetHeight,em.removeChild(e)),o}}))}();var eJ=["Webkit","Moz","ms"],eQ=b.createElement("div").style,eX={};function eZ(e){var t=A.cssProps[e]||eX[e];return t||(e in eQ?e:eX[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),i=eJ.length;i--;)if((e=eJ[i]+t)in eQ)return e}(e)||e)}var e1=/^(none|table(?!-c[ea]).+)/,e0={position:"absolute",visibility:"hidden",display:"block"},e3={letterSpacing:"0",fontWeight:"400"};function e2(e,t,i){var s=ep.exec(t);return s?Math.max(0,s[2]-(i||0))+(s[3]||"px"):t}function e8(e,t,i,s,n,r){var a=+("width"===t),o=0,l=0,u=0;if(i===(s?"border":"content"))return 0;for(;a<4;a+=2)"margin"===i&&(u+=A.css(e,i+eh[a],!0,n)),s?("content"===i&&(l-=A.css(e,"padding"+eh[a],!0,n)),"margin"!==i&&(l-=A.css(e,"border"+eh[a]+"Width",!0,n))):(l+=A.css(e,"padding"+eh[a],!0,n),"padding"!==i?l+=A.css(e,"border"+eh[a]+"Width",!0,n):o+=A.css(e,"border"+eh[a]+"Width",!0,n));return!s&&r>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-o-.5))||0),l+u}function e4(e,t,i){var s=ez(e),n=(!f.boxSizingReliable()||i)&&"border-box"===A.css(e,"boxSizing",!1,s),r=n,a=eK(e,t,s),o="offset"+t[0].toUpperCase()+t.slice(1);if(eq.test(a)){if(!i)return a;a="auto"}return(!f.boxSizingReliable()&&n||!f.reliableTrDimensions()&&M(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===A.css(e,"display",!1,s))&&e.getClientRects().length&&(n="border-box"===A.css(e,"boxSizing",!1,s),(r=o in e)&&(a=e[o])),(a=parseFloat(a)||0)+e8(e,t,i||(n?"border":"content"),r,s,a)+"px"}function e7(e,t,i,s,n){return new e7.prototype.init(e,t,i,s,n)}A.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=eK(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,i,s){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var n,r,a,o=es(t),l=e$.test(t),u=e.style;if(l||(t=eZ(o)),a=A.cssHooks[t]||A.cssHooks[o],void 0===i)return a&&"get"in a&&void 0!==(n=a.get(e,!1,s))?n:u[t];if("string"==(r=typeof i)&&(n=ep.exec(i))&&n[1]&&(i=ey(e,t,n),r="number"),null!=i&&i==i)"number"!==r||l||(i+=n&&n[3]||(A.cssNumber[o]?"":"px")),f.clearCloneStyle||""!==i||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(i=a.set(e,i,s))||(l?u.setProperty(t,i):u[t]=i)}},css:function(e,t,i,s){var n,r,a,o=es(t);return(e$.test(t)||(t=eZ(o)),(a=A.cssHooks[t]||A.cssHooks[o])&&"get"in a&&(n=a.get(e,!0,i)),void 0===n&&(n=eK(e,t,s)),"normal"===n&&t in e3&&(n=e3[t]),""===i||i)?(r=parseFloat(n),!0===i||isFinite(r)?r||0:n):n}}),A.each(["height","width"],function(e,t){A.cssHooks[t]={get:function(e,i,s){if(i)return!e1.test(A.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?e4(e,t,s):eV(e,e0,function(){return e4(e,t,s)})},set:function(e,i,s){var n,r=ez(e),a=!f.scrollboxSize()&&"absolute"===r.position,o=(a||s)&&"border-box"===A.css(e,"boxSizing",!1,r),l=s?e8(e,t,s,o,r):0;return o&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-e8(e,t,"border",!1,r)-.5)),l&&(n=ep.exec(i))&&"px"!==(n[3]||"px")&&(e.style[t]=i,i=A.css(e,t)),e2(e,i,l)}}}),A.cssHooks.marginLeft=eG(f.reliableMarginLeft,function(e,t){if(t)return(parseFloat(eK(e,"marginLeft"))||e.getBoundingClientRect().left-eV(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),A.each({margin:"",padding:"",border:"Width"},function(e,t){A.cssHooks[e+t]={expand:function(i){for(var s=0,n={},r="string"==typeof i?i.split(" "):[i];s<4;s++)n[e+eh[s]+t]=r[s]||r[s-2]||r[0];return n}},"margin"!==e&&(A.cssHooks[e+t].set=e2)}),A.fn.extend({css:function(e,t){return Z(this,function(e,t,i){var s,n,r={},a=0;if(Array.isArray(t)){for(s=ez(e),n=t.length;a1)}}),A.Tween=e7,e7.prototype={constructor:e7,init:function(e,t,i,s,n,r){this.elem=e,this.prop=i,this.easing=n||A.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=s,this.unit=r||(A.cssNumber[i]?"":"px")},cur:function(){var e=e7.propHooks[this.prop];return e&&e.get?e.get(this):e7.propHooks._default.get(this)},run:function(e){var t,i=e7.propHooks[this.prop];return this.options.duration?this.pos=t=A.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):e7.propHooks._default.set(this),this}},e7.prototype.init.prototype=e7.prototype,e7.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=A.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){A.fx.step[e.prop]?A.fx.step[e.prop](e):1===e.elem.nodeType&&(A.cssHooks[e.prop]||null!=e.elem.style[eZ(e.prop)])?A.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},e7.propHooks.scrollTop=e7.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},A.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},A.fx=e7.prototype.init,A.fx.step={};var e9,e5,e6=/^(?:toggle|show|hide)$/,te=/queueHooks$/;function tt(){return s.setTimeout(function(){e9=void 0}),e9=Date.now()}function ti(e,t){var i,s=0,n={height:e};for(t=+!!t;s<4;s+=2-t)n["margin"+(i=eh[s])]=n["padding"+i]=e;return t&&(n.opacity=n.width=e),n}function ts(e,t,i){for(var s,n=(tn.tweeners[t]||[]).concat(tn.tweeners["*"]),r=0,a=n.length;r1)},removeAttr:function(e){return this.each(function(){A.removeAttr(this,e)})}}),A.extend({attr:function(e,t,i){var s,n,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?A.prop(e,t,i):(1===r&&A.isXMLDoc(e)||(n=A.attrHooks[t.toLowerCase()]||(A.expr.match.bool.test(t)?tr:void 0)),void 0!==i)?null===i?void A.removeAttr(e,t):n&&"set"in n&&void 0!==(s=n.set(e,i,t))?s:(e.setAttribute(t,i+""),i):n&&"get"in n&&null!==(s=n.get(e,t))?s:null==(s=A.find.attr(e,t))?void 0:s},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&M(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,s=0,n=t&&t.match(V);if(n&&1===e.nodeType)for(;i=n[s++];)e.removeAttribute(i)}}),tr={set:function(e,t,i){return!1===t?A.removeAttr(e,i):e.setAttribute(i,i),i}},A.each(A.expr.match.bool.source.match(/\w+/g),function(e,t){var i=ta[t]||A.find.attr;ta[t]=function(e,t,s){var n,r,a=t.toLowerCase();return s||(r=ta[a],ta[a]=n,n=null!=i(e,t,s)?a:null,ta[a]=r),n}});var to=/^(?:input|select|textarea|button)$/i,tl=/^(?:a|area)$/i;function tu(e){return(e.match(V)||[]).join(" ")}function td(e){return e.getAttribute&&e.getAttribute("class")||""}function tc(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(V)||[]}A.fn.extend({prop:function(e,t){return Z(this,A.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[A.propFix[e]||e]})}}),A.extend({prop:function(e,t,i){var s,n,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return(1===r&&A.isXMLDoc(e)||(t=A.propFix[t]||t,n=A.propHooks[t]),void 0!==i)?n&&"set"in n&&void 0!==(s=n.set(e,i,t))?s:e[t]=i:n&&"get"in n&&null!==(s=n.get(e,t))?s:e[t]},propHooks:{tabIndex:{get:function(e){var t=A.find.attr(e,"tabindex");return t?parseInt(t,10):to.test(e.nodeName)||tl.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(A.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){A.propFix[this.toLowerCase()]=this}),A.fn.extend({addClass:function(e){var t,i,s,n,r,a;return _(e)?this.each(function(t){A(this).addClass(e.call(this,t,td(this)))}):(t=tc(e)).length?this.each(function(){if(s=td(this),i=1===this.nodeType&&" "+tu(s)+" "){for(r=0;ri.indexOf(" "+n+" ")&&(i+=n+" ");s!==(a=tu(i))&&this.setAttribute("class",a)}}):this},removeClass:function(e){var t,i,s,n,r,a;return _(e)?this.each(function(t){A(this).removeClass(e.call(this,t,td(this)))}):arguments.length?(t=tc(e)).length?this.each(function(){if(s=td(this),i=1===this.nodeType&&" "+tu(s)+" "){for(r=0;r-1;)i=i.replace(" "+n+" "," ");s!==(a=tu(i))&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,t){var i,s,n,r,a=typeof e,o="string"===a||Array.isArray(e);return _(e)?this.each(function(i){A(this).toggleClass(e.call(this,i,td(this),t),t)}):"boolean"==typeof t&&o?t?this.addClass(e):this.removeClass(e):(i=tc(e),this.each(function(){if(o)for(n=0,r=A(this);n-1)return!0;return!1}});var tp=/\r/g;A.fn.extend({val:function(e){var t,i,s,n=this[0];if(!arguments.length)return n?(t=A.valHooks[n.type]||A.valHooks[n.nodeName.toLowerCase()])&&"get"in t&&void 0!==(i=t.get(n,"value"))?i:"string"==typeof(i=n.value)?i.replace(tp,""):null==i?"":i:void 0;return s=_(e),this.each(function(i){var n;1===this.nodeType&&(null==(n=s?e.call(this,i,A(this).val()):e)?n="":"number"==typeof n?n+="":Array.isArray(n)&&(n=A.map(n,function(e){return null==e?"":e+""})),(t=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,n,"value")||(this.value=n))})}}),A.extend({valHooks:{option:{get:function(e){var t=A.find.attr(e,"value");return null!=t?t:tu(A.text(e))}},select:{get:function(e){var t,i,s,n=e.options,r=e.selectedIndex,a="select-one"===e.type,o=a?null:[],l=a?r+1:n.length;for(s=r<0?l:a?r:0;s-1)&&(i=!0);return i||(e.selectedIndex=-1),r}}}}),A.each(["radio","checkbox"],function(){A.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=A.inArray(A(e).val(),t)>-1}},f.checkOn||(A.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var th=s.location,tm={guid:Date.now()},tg=/\?/;A.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{t=new s.DOMParser().parseFromString(e,"text/xml")}catch(e){}return i=t&&t.getElementsByTagName("parsererror")[0],(!t||i)&&A.error("Invalid XML: "+(i?A.map(i.childNodes,function(e){return e.textContent}).join(` `):e)),t};var tf=/^(?:focusinfocus|focusoutblur)$/,t_=function(e){e.stopPropagation()};A.extend(A.event,{trigger:function(e,t,i,n){var r,a,o,l,u,d,c,p,m=[i||b],g=h.call(e,"type")?e.type:e,f=h.call(e,"namespace")?e.namespace.split("."):[];if((a=p=o=i=i||b,!(3===i.nodeType||8===i.nodeType||tf.test(g+A.event.triggered)))&&(g.indexOf(".")>-1&&(g=(f=g.split(".")).shift(),f.sort()),u=0>g.indexOf(":")&&"on"+g,(e=e[A.expando]?e:new A.Event(g,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:A.makeArray(t,[e]),c=A.event.special[g]||{},n||!c.trigger||!1!==c.trigger.apply(i,t))){if(!n&&!c.noBubble&&!y(i)){for(l=c.delegateType||g,tf.test(l+g)||(a=a.parentNode);a;a=a.parentNode)m.push(a),o=a;o===(i.ownerDocument||b)&&m.push(o.defaultView||o.parentWindow||s)}for(r=0;(a=m[r++])&&!e.isPropagationStopped();)p=a,e.type=r>1?l:c.bindType||g,(d=(ea.get(a,"events")||Object.create(null))[e.type]&&ea.get(a,"handle"))&&d.apply(a,t),(d=u&&a[u])&&d.apply&&en(a)&&(e.result=d.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,!n&&!e.isDefaultPrevented()&&(!c._default||!1===c._default.apply(m.pop(),t))&&en(i)&&u&&_(i[g])&&!y(i)&&((o=i[u])&&(i[u]=null),A.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,t_),i[g](),e.isPropagationStopped()&&p.removeEventListener(g,t_),A.event.triggered=void 0,o&&(i[u]=o)),e.result}},simulate:function(e,t,i){var s=A.extend(new A.Event,i,{type:e,isSimulated:!0});A.event.trigger(s,null,t)}}),A.fn.extend({trigger:function(e,t){return this.each(function(){A.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return A.event.trigger(e,t,i,!0)}});var ty=/\[\]$/,tb=/\r?\n/g,tv=/^(?:submit|button|image|reset|file)$/i,tw=/^(?:input|select|textarea|keygen)/i;A.param=function(e,t){var i,s=[],n=function(e,t){var i=_(t)?t():t;s[s.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==i?"":i)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!A.isPlainObject(e))A.each(e,function(){n(this.name,this.value)});else for(i in e)!function e(t,i,s,n){var r;if(Array.isArray(i))A.each(i,function(i,r){s||ty.test(t)?n(t,r):e(t+"["+("object"==typeof r&&null!=r?i:"")+"]",r,s,n)});else if(s||"object"!==T(i))n(t,i);else for(r in i)e(t+"["+r+"]",i[r],s,n)}(i,e[i],t,n);return s.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=A.prop(this,"elements");return e?A.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!A(this).is(":disabled")&&tw.test(this.nodeName)&&!tv.test(e)&&(this.checked||!ew.test(e))}).map(function(e,t){var i=A(this).val();return null==i?null:Array.isArray(i)?A.map(i,function(e){return{name:t.name,value:e.replace(tb,`\r `)}}):{name:t.name,value:i.replace(tb,`\r `)}}).get()}});var tk=/%20/g,tT=/#.*$/,tS=/([?&])_=[^&]*/,tC=/^(.*?):[ \t]*([^\r\n]*)$/mg,tA=/^(?:GET|HEAD)$/,tD=/^\/\//,tM={},tx={},tE="*/".concat("*"),tL=b.createElement("a");function tP(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var s,n=0,r=t.toLowerCase().match(V)||[];if(_(i))for(;s=r[n++];)"+"===s[0]?(e[s=s.slice(1)||"*"]=e[s]||[]).unshift(i):(e[s]=e[s]||[]).push(i)}}function tF(e,t,i,s){var n={},r=e===tx;function a(o){var l;return n[o]=!0,A.each(e[o]||[],function(e,o){var u=o(t,i,s);return"string"!=typeof u||r||n[u]?r?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)}),l}return a(t.dataTypes[0])||!n["*"]&&a("*")}function tI(e,t){var i,s,n=A.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((n[i]?e:s||(s={}))[i]=t[i]);return s&&A.extend(!0,e,s),e}tL.href=th.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:th.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(th.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":tE,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":A.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?tI(tI(e,A.ajaxSettings),t):tI(A.ajaxSettings,e)},ajaxPrefilter:tP(tM),ajaxTransport:tP(tx),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,n,r,a,o,l,u,d,c,p,h=A.ajaxSetup({},t),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?A(m):A.event,f=A.Deferred(),_=A.Callbacks("once memory"),y=h.statusCode||{},w={},k={},T="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=tC.exec(r);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?r:null},setRequestHeader:function(e,t){return null==u&&(w[e=k[e.toLowerCase()]=k[e.toLowerCase()]||e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||T;return i&&i.abort(t),C(0,t),this}};if(f.promise(S),h.url=((e||h.url||th.href)+"").replace(tD,th.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(V)||[""],null==h.crossDomain){l=b.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=tL.protocol+"//"+tL.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=A.param(h.data,h.traditional)),tF(tM,h,t,S),u)return S;for(c in(d=A.event&&h.global)&&0==A.active++&&A.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!tA.test(h.type),n=h.url.replace(tT,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(tk,"+")):(p=h.url.slice(n.length),h.data&&(h.processData||"string"==typeof h.data)&&(n+=(tg.test(n)?"&":"?")+h.data,delete h.data),!1===h.cache&&(n=n.replace(tS,"$1"),p=(tg.test(n)?"&":"?")+"_="+tm.guid+++p),h.url=n+p),h.ifModified&&(A.lastModified[n]&&S.setRequestHeader("If-Modified-Since",A.lastModified[n]),A.etag[n]&&S.setRequestHeader("If-None-Match",A.etag[n])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+tE+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(c,h.headers[c]);if(h.beforeSend&&(!1===h.beforeSend.call(m,S,h)||u))return S.abort();if(T="abort",_.add(h.complete),S.done(h.success),S.fail(h.error),i=tF(tx,h,t,S)){if(S.readyState=1,d&&g.trigger("ajaxSend",[S,h]),u)return S;h.async&&h.timeout>0&&(o=s.setTimeout(function(){S.abort("timeout")},h.timeout));try{u=!1,i.send(w,C)}catch(e){if(u)throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,t,a,l){var c,p,b,w,k,T=t;!u&&(u=!0,o&&s.clearTimeout(o),i=void 0,r=l||"",S.readyState=4*(e>0),c=e>=200&&e<300||304===e,a&&(w=function(e,t,i){for(var s,n,r,a,o=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===s&&(s=e.mimeType||t.getResponseHeader("Content-Type"));if(s){for(n in o)if(o[n]&&o[n].test(s)){l.unshift(n);break}}if(l[0]in i)r=l[0];else{for(n in i){if(!l[0]||e.converters[n+" "+l[0]]){r=n;break}a||(a=n)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),i[r]}(h,S,a)),!c&&A.inArray("script",h.dataTypes)>-1&&0>A.inArray("json",h.dataTypes)&&(h.converters["text script"]=function(){}),w=function(e,t,i,s){var n,r,a,o,l,u={},d=e.dataTypes.slice();if(d[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(r=d.shift();r;)if(e.responseFields[r]&&(i[e.responseFields[r]]=t),!l&&s&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=d.shift()){if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=u[l+" "+r]||u["* "+r])){for(n in u)if((o=n.split(" "))[1]===r&&(a=u[l+" "+o[0]]||u["* "+o[0]])){!0===a?a=u[n]:!0!==u[n]&&(r=o[0],d.unshift(o[1]));break}}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+r}}}}return{state:"success",data:t}}(h,w,S,c),c?(h.ifModified&&((k=S.getResponseHeader("Last-Modified"))&&(A.lastModified[n]=k),(k=S.getResponseHeader("etag"))&&(A.etag[n]=k)),204===e||"HEAD"===h.type?T="nocontent":304===e?T="notmodified":(T=w.state,p=w.data,c=!(b=w.error))):(b=T,(e||!T)&&(T="error",e<0&&(e=0))),S.status=e,S.statusText=(t||T)+"",c?f.resolveWith(m,[p,T,S]):f.rejectWith(m,[S,T,b]),S.statusCode(y),y=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[S,h,c?p:b]),_.fireWith(m,[S,T]),d&&(g.trigger("ajaxComplete",[S,h]),--A.active||A.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,i){return A.get(e,t,i,"json")},getScript:function(e,t){return A.get(e,void 0,t,"script")}}),A.each(["get","post"],function(e,t){A[t]=function(e,i,s,n){return _(i)&&(n=n||s,s=i,i=void 0),A.ajax(A.extend({url:e,type:t,dataType:n,data:i,success:s},A.isPlainObject(e)&&e))}}),A.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),A._evalUrl=function(e,t,i){return A.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){A.globalEval(e,t,i)}})},A.fn.extend({wrapAll:function(e){var t;return this[0]&&(_(e)&&(e=e.call(this[0])),t=A(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return _(e)?this.each(function(t){A(this).wrapInner(e.call(this,t))}):this.each(function(){var t=A(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)})},wrap:function(e){var t=_(e);return this.each(function(i){A(this).wrapAll(t?e.call(this,i):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){A(this).replaceWith(this.childNodes)}),this}}),A.expr.pseudos.hidden=function(e){return!A.expr.pseudos.visible(e)},A.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new s.XMLHttpRequest}catch(e){}};var tN={0:200,1223:204},tO=A.ajaxSettings.xhr();f.cors=!!tO&&"withCredentials"in tO,f.ajax=tO=!!tO,A.ajaxTransport(function(e){var t,i;if(f.cors||tO&&!e.crossDomain)return{send:function(n,r){var a,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)o[a]=e.xhrFields[a];for(a in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)o.setRequestHeader(a,n[a]);t=function(e){return function(){t&&(t=i=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===e?o.abort():"error"===e?"number"!=typeof o.status?r(0,"error"):r(o.status,o.statusText):r(tN[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=t(),i=o.onerror=o.ontimeout=t("error"),void 0!==o.onabort?o.onabort=i:o.onreadystatechange=function(){4===o.readyState&&s.setTimeout(function(){t&&i()})},t=t("abort");try{o.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),A.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),A.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return A.globalEval(e),e}}}),A.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),A.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var t,i;return{send:function(s,n){t=A("