module.exports=[99239,55976,a=>{"use strict";var b=a.i(87924),c=a.i(72131);let d={xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",style:{display:"inline",verticalAlign:"middle"}};function e({name:a,size:c=16,...g}){return(0,b.jsx)("svg",{...d,width:c,height:c,...g,children:f[a]||null})}let f={message:(0,b.jsx)(b.Fragment,{children:(0,b.jsx)("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})}),reply:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M9 14l-4-4 4-4"}),(0,b.jsx)("path",{d:"M5 10h11a4 4 0 0 1 4 4v0"})]}),chevronDown:(0,b.jsx)(b.Fragment,{children:(0,b.jsx)("path",{d:"M6 9l6 6 6-6"})}),settings:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),(0,b.jsx)("circle",{cx:"12",cy:"12",r:"3"})]}),shieldAlert:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"}),(0,b.jsx)("path",{d:"M12 8v4"}),(0,b.jsx)("path",{d:"M12 16h.01"})]}),user:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),(0,b.jsx)("circle",{cx:"12",cy:"7",r:"4"})]}),lock:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),(0,b.jsx)("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]}),moon:(0,b.jsx)(b.Fragment,{children:(0,b.jsx)("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}),sun:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,b.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,b.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,b.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,b.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,b.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,b.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,b.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,b.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]}),logout:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),(0,b.jsx)("polyline",{points:"16 17 21 12 16 7"}),(0,b.jsx)("line",{x1:"21",y1:"12",x2:"9",y2:"12"})]}),book:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M21 12V7H5a2 2 0 0 1 0-4h14v4"}),(0,b.jsx)("path",{d:"M3 5v14a2 2 0 0 0 2 2h16v-5"}),(0,b.jsx)("line",{x1:"18",y1:"12",x2:"18",y2:"12"})]}),link:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}),(0,b.jsx)("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"})]}),plus:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,b.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]}),shield:(0,b.jsx)(b.Fragment,{children:(0,b.jsx)("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"})}),users:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),(0,b.jsx)("circle",{cx:"9",cy:"7",r:"4"}),(0,b.jsx)("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),(0,b.jsx)("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]}),file:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),(0,b.jsx)("polyline",{points:"14 2 14 8 20 8"}),(0,b.jsx)("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),(0,b.jsx)("line",{x1:"16",y1:"17",x2:"8",y2:"17"}),(0,b.jsx)("polyline",{points:"10 9 9 9 8 9"})]}),plus2:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M12 5v14"}),(0,b.jsx)("path",{d:"M5 12h14"})]}),back:(0,b.jsx)(b.Fragment,{children:(0,b.jsx)("polyline",{points:"15 18 9 12 15 6"})}),close:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,b.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),trash:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("polyline",{points:"3 6 5 6 21 6"}),(0,b.jsx)("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]}),success:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),(0,b.jsx)("polyline",{points:"22 4 12 14.01 9 11.01"})]}),error:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,b.jsx)("line",{x1:"15",y1:"9",x2:"9",y2:"15"}),(0,b.jsx)("line",{x1:"9",y1:"9",x2:"15",y2:"15"})]}),warning:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M12 9v4"}),(0,b.jsx)("path",{d:"M12 17h.01"}),(0,b.jsx)("circle",{cx:"12",cy:"12",r:"10"})]}),pending:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,b.jsx)("polyline",{points:"12 6 12 12 16 14"})]}),edit:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),(0,b.jsx)("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]}),pin:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8.5"}),(0,b.jsx)("polyline",{points:"16 2 22 8 16 8"}),(0,b.jsx)("line",{x1:"10",y1:"14",x2:"18",y2:"14"}),(0,b.jsx)("line",{x1:"10",y1:"18",x2:"14",y2:"18"})]}),camera:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),(0,b.jsx)("circle",{cx:"12",cy:"13",r:"4"})]}),image:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),(0,b.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),(0,b.jsx)("polyline",{points:"21 15 16 10 5 21"})]}),key:(0,b.jsx)(b.Fragment,{children:(0,b.jsx)("path",{d:"M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"})}),calendar:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),(0,b.jsx)("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),(0,b.jsx)("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),(0,b.jsx)("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]}),refresh:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("polyline",{points:"23 4 23 10 17 10"}),(0,b.jsx)("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"})]}),list:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("line",{x1:"8",y1:"6",x2:"21",y2:"6"}),(0,b.jsx)("line",{x1:"8",y1:"12",x2:"21",y2:"12"}),(0,b.jsx)("line",{x1:"8",y1:"18",x2:"21",y2:"18"}),(0,b.jsx)("line",{x1:"3",y1:"6",x2:"3.01",y2:"6"}),(0,b.jsx)("line",{x1:"3",y1:"12",x2:"3.01",y2:"12"}),(0,b.jsx)("line",{x1:"3",y1:"18",x2:"3.01",y2:"18"})]}),megaphone:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M17 18.5c0 1.5-1.5 3-3.5 3s-3.5-1.5-3.5-3c0-.5.5-1 1-1h5c.5 0 1 .5 1 1z"}),(0,b.jsx)("path",{d:"M4 11h16v6H4z"}),(0,b.jsx)("path",{d:"M8 17v3"}),(0,b.jsx)("path",{d:"M16 17v3"}),(0,b.jsx)("path",{d:"M9 11V7a3 3 0 0 1 6 0v4"})]}),code:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("polyline",{points:"16 18 22 12 16 6"}),(0,b.jsx)("polyline",{points:"8 6 2 12 8 18"})]}),upload:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),(0,b.jsx)("polyline",{points:"17 8 12 3 7 8"}),(0,b.jsx)("line",{x1:"12",y1:"3",x2:"12",y2:"15"})]}),save:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),(0,b.jsx)("polyline",{points:"17 21 17 13 7 13 7 21"}),(0,b.jsx)("polyline",{points:"7 3 7 8 15 8"})]}),flag:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z"}),(0,b.jsx)("line",{x1:"4",y1:"22",x2:"4",y2:"15"})]})};a.s(["Icon",0,e],55976);let g=(0,c.createContext)(null),h=0;a.s(["ToastProvider",0,function({children:a}){let[d,f]=(0,c.useState)([]),[i,j]=(0,c.useState)(null),k=(0,c.useRef)({}),l=(0,c.useRef)(null),m=(0,c.useRef)(null),n=(0,c.useCallback)(a=>{f(b=>b.filter(b=>b.id!==a)),delete k.current[a]},[]),o=(0,c.useCallback)(a=>{k.current[a]&&clearTimeout(k.current[a]),f(b=>b.map(b=>b.id===a?{...b,closing:!0}:b)),k.current[a]=setTimeout(()=>n(a),220)},[n]),p=(0,c.useCallback)((a,b="success",c=3e3)=>{let d=++h;f(c=>[...c,{id:d,message:a,type:b,closing:!1}]),k.current[d]&&clearTimeout(k.current[d]),k.current[d]=setTimeout(()=>o(d),c)},[o]),q=(0,c.useCallback)((a,b={})=>{m.current&&m.current(!1);let c="en"===localStorage.getItem("forumlify-lang");return j({message:a,title:b.title||(c?"Confirm action":"确认操作"),confirmLabel:b.confirmLabel||(c?"Confirm":"确定"),cancelLabel:b.cancelLabel||(c?"Cancel":"取消"),danger:!1!==b.danger,closing:!1}),new Promise(a=>{m.current=a})},[]),r=(0,c.useCallback)(a=>{j(a=>a?{...a,closing:!0}:a),l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{j(null);let b=m.current;m.current=null,b&&b(a)},340)},[]);return(0,c.useEffect)(()=>()=>{Object.values(k.current).forEach(clearTimeout),l.current&&clearTimeout(l.current),m.current&&m.current(!1)},[]),(0,b.jsxs)(g.Provider,{value:{toast:p,confirmAction:q},children:[a,(0,b.jsx)("div",{className:"toast-container",children:d.map(a=>(0,b.jsxs)("div",{className:"toast toast-"+a.type+(a.closing?" closing":""),onClick:()=>o(a.id),role:"status",children:[(0,b.jsx)(e,{name:"error"===a.type?"error":"warning"===a.type?"warning":"success",size:16}),(0,b.jsx)("span",{children:a.message})]},a.id))}),i&&(0,b.jsx)("div",{className:"modal active feedback-confirm"+(i.closing?" closing":""),onClick:a=>{a.target===a.currentTarget&&r(!1)},children:(0,b.jsxs)("div",{className:"modal-content",role:"alertdialog","aria-modal":"true","aria-labelledby":"feedbackConfirmTitle","aria-describedby":"feedbackConfirmMessage",children:[(0,b.jsxs)("h2",{id:"feedbackConfirmTitle",children:[(0,b.jsx)(e,{name:"warning",size:20})," ",i.title]}),(0,b.jsx)("p",{id:"feedbackConfirmMessage",children:i.message}),(0,b.jsxs)("div",{className:"feedback-confirm-actions",children:[(0,b.jsx)("button",{className:i.danger?"btn-danger":"btn-primary",onClick:()=>r(!0),children:i.confirmLabel}),(0,b.jsx)("button",{className:"btn-secondary",onClick:()=>r(!1),children:i.cancelLabel})]})]})})]})},"useToast",0,function(){return(0,c.useContext)(g)}],99239)},62513,(a,b,c)=>{b.exports={appName:"Forumlify",nav:{home:"首页",messages:"消息",settings:"设置",admin:"管理后台",login:"登录",register:"注册",logout:"退出",darkMode:"暗色模式",lightMode:"亮色模式",logoutConfirm:"确定要退出吗?"},feed:{latest:"最新发布",hot:"最新回复",newPost:"发布新帖",loading:"加载中...",empty:"还没有帖子,快来发布第一条吧!",pinned:"置顶",deleted:"(已编辑)",report:"举报",delete:"删除",confirmDelete:"确定要删除这条帖子吗?",deleteFailed:"删除失败:{{msg}}",noTitle:"无标题",anonymous:"匿名用户"},post:{title:"帖子详情",back:"← 返回",edit:"编辑",save:"保存",cancel:"取消",editFailed:"加载失败:{{msg}}",contentRequired:"请填写内容",reply:"回复",replyCount:"{{count}} 条回复",reportReason:"举报原因",confirmDelete:"确定要删除这条帖子吗?",reportTitle:"举报帖子",submitReport:"提交举报"},newPost:{title:"标题",content:"说点什么...",publish:"发布帖子",uploading:"上传中...",pleaseLogin:"请先登录",captchaError:"验证码错误,请重新计算",publishSuccess:"发布成功",publishFailed:"发布失败:{{msg}}",answer:"答案",captchaLoading:"验证码加载中...",drop:"松开上传",dropHint:"点击或拖拽上传图片"},reply:{submit:"提交回复",placeholder:"写下你的回复...",empty:"还没有回复,快来发表第一条回复吧",replyFailed:"回复失败:{{msg}}",delete:"删除",confirmDelete:"确定要删除这条回复吗?",deleteFailed:"删除失败:{{msg}}"},auth:{email:"邮箱",password:"密码",username:"用户名",passwordHint:"密码(至少6位)",forgotPassword:"忘记密码?",captchaError:"验证码错误,请重新计算",registerSuccess:"注册成功",loginSuccess:"登录成功",logoutSuccess:"已退出登录",login:"登录",register:"注册"},settings:{title:"设置",profile:"个人资料",security:"安全设置",recovery:"恢复码",language:"语言",languageZh:"中文",languageEn:"English",username:"用户名",bio:"个人简介",signature:"个性签名",signatureHint:"显示在每篇帖子底部,支持 Markdown",signaturePlaceholder:"签名...",avatarFileRequired:"请选择图片文件",avatarTooLarge:"图片不能超过 5MB",avatarUpdated:"头像已更新",changeAvatar:"更换头像",save:"保存设置",saved:"保存成功!",saveFailed:"保存失败:{{msg}}",usernameRequired:"用户名不能为空",pleaseLogin:"请先登录"},user:{title:"用户主页",bioEmpty:"这个人很懒,什么都没写",sendMessage:"发私信",joined:"加入于 {{date}}",posts:"发了 {{count}} 个帖子",admin:"管理员",noPosts:"还没有发帖",notFound:"用户不存在",loading:"加载中..."},stats:{topics:"主题",posts:"帖子",users:"用户",links:"友情链接"},loading:"加载中...",common:{confirm:"确定",cancel:"取消",close:"关闭"},report:{spam:"垃圾广告",abuse:"人身攻击",illegal:"违法内容",nsfw:"不适当内容",other:"其他"},security:{title:"账户安全",currentPw:"当前密码",newPw:"新密码",changePw:"修改密码",currentPwVerify:"当前密码(验证身份)",newEmail:"新邮箱",changeEmail:"修改邮箱",fillAll:"请填写完整信息",pwMin:"新密码至少6位",pwChanged:"密码修改成功",emailChanged:"邮箱修改成功"},recovery:{title:"恢复码",desc:"用于忘记密码时重置账户。每个恢复码只能使用一次。",view:"查看恢复码",regenerate:"重新生成",remaining:"剩余 {{count}} 个可用恢复码",confirmRegenerate:"重新生成将使所有旧恢复码失效,确定继续吗?",genFailed:"生成失败:{{msg}}",fetchFailed:"获取失败:{{msg}}",newCodes:"新恢复码",saveWarning:"请妥善保存这些恢复码,关闭窗口后无法再次查看。",saved:"我已保存"},admin:{title:"管理后台",reports:"举报处理",users:"用户管理",logs:"事件日志",links:"友情链接",forumSettings:"论坛设置",customPages:"自定义页面",customCss:"自定义 CSS",common:{loading:"加载中...",loadFailed:"加载失败:{{msg}}",operationFailed:"操作失败:{{msg}}",deleteFailed:"删除失败:{{msg}}",saveFailed:"保存失败:{{msg}}",delete:"删除",save:"保存",cancel:"取消",actions:"操作",status:"状态",enabled:"启用",disabled:"禁用"},report:{statusPending:"待处理",statusApproved:"已删除",statusRejected:"已驳回",approvedNote:"已删除违规帖子",rejectedNote:"举报不成立",confirmApprove:"确定要删除该帖子并标记举报为已处理吗?",empty:"暂无举报",anonymous:"匿名",reportedPost:"{{name}} 举报了帖子",reason:"原因:{{reason}}",post:"帖子:{{title}} — {{content}}",untitled:"无标题",handler:"处理人:{{name}}",deletePost:"删除帖子",reject:"驳回举报"},user:{roleAdmin:"管理员",roleUser:"普通用户",confirmRole:"确定要将该用户设为「{{role}}」吗?",count:"共 {{count}} 位用户",user:"用户",role:"角色",registeredAt:"注册时间",you:"你",cannotSelf:"不可操作自己",makeUser:"设为普通用户",makeAdmin:"设为管理员",roleSuper:"超级管理员"},log:{empty:"暂无日志",time:"时间",user:"用户",action:"操作",system:"系统"},link:{add:"添加链接",empty:"暂无链接",incomplete:"请填写完整信息",addFailed:"添加失败:{{msg}}",confirmDelete:"确定要删除这个链接吗?",namePlaceholder:"链接名称",urlPlaceholder:"链接地址"},page:{confirmDelete:"确定要删除这个页面吗?",title:"自定义页面",add:"添加页面",empty:"暂无自定义页面",name:"名称",columnTitle:"标题",url:"URL",edit:"编辑页面",delete:"删除页面",editTitle:"编辑页面",addTitle:"添加页面",nameRequired:"请输入页面名称",titleRequired:"请输入导航栏显示名称",contentRequired:"请输入页面内容",nameInvalid:"页面名称只允许字母、数字、短横线和下划线",nameLabel:"页面名称",namePlaceholder:"about(用于 URL:?custom=about)",nameLocked:"名称不可修改",nameHint:"只允许字母、数字、短横线和下划线",navTitleLabel:"导航栏显示名称",navTitlePlaceholder:"关于我们",contentLabel:"页面内容(HTML + CSS + JS)",contentHelp:"支持 HTML、CSS(