diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a0b9b7c3..944273971 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. +## [0.29.21] + +### Performance + +- 会话消息没有接收人时已读进度优化 +- 优化拖拽文件夹上传提示 +- 深色模式硬件加速 +- 优化Android弹出键盘后聊天内容被覆盖的问题 + ## [0.29.11] ### Bug Fixes diff --git a/package.json b/package.json index 5aa96de7f..348b13ac3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "DooTask", - "version": "0.29.11", + "version": "0.29.21", "description": "DooTask is task management system.", "scripts": { "start": "./cmd dev", diff --git a/public/js/build/404.b03fee8e.js b/public/js/build/404.29a1e4db.js similarity index 87% rename from public/js/build/404.b03fee8e.js rename to public/js/build/404.29a1e4db.js index adcf8370e..3fb193894 100644 --- a/public/js/build/404.b03fee8e.js +++ b/public/js/build/404.29a1e4db.js @@ -1 +1 @@ -import{n}from"./app.92886a13.js";var r=function(){var e=this,t=e.$createElement;return e._self._c,e._m(0)},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"page-404"},[s("div",{staticClass:"flex-center position-ref full-height"},[s("div",{staticClass:"code"},[e._v("404")]),s("div",{staticClass:"message"},[e._v("Not Found")])])])}];const i={},_={};var o=n(i,r,a,!1,c,"7d7154a8",null,null);function c(e){for(let t in _)this[t]=_[t]}var v=function(){return o.exports}();export{v as default}; +import{n}from"./app.6cefc0c3.js";var r=function(){var e=this,t=e.$createElement;return e._self._c,e._m(0)},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"page-404"},[s("div",{staticClass:"flex-center position-ref full-height"},[s("div",{staticClass:"code"},[e._v("404")]),s("div",{staticClass:"message"},[e._v("Not Found")])])])}];const i={},_={};var o=n(i,r,a,!1,c,"7d7154a8",null,null);function c(e){for(let t in _)this[t]=_[t]}var v=function(){return o.exports}();export{v as default}; diff --git a/public/js/build/AceEditor.4b8056b9.js b/public/js/build/AceEditor.ef181b69.js similarity index 98% rename from public/js/build/AceEditor.4b8056b9.js rename to public/js/build/AceEditor.ef181b69.js index e0c46a912..f42da4998 100644 --- a/public/js/build/AceEditor.4b8056b9.js +++ b/public/js/build/AceEditor.ef181b69.js @@ -1 +1 @@ -import{m as h,n as l}from"./app.92886a13.js";const d={name:"AceEditor",props:{value:{default:""},options:{type:Object,default:()=>({})},theme:{type:String,default:"auto"},ext:{type:String,default:"txt"},height:{type:Number||null,default:null},width:{type:Number||null,default:null},wrap:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1}},render(e){return e("div",{class:"no-dark-content"})},data:()=>({code:"",editor:null,cursorPosition:{row:0,column:0},supportedModes:{Apache_Conf:["^htaccess|^htgroups|^htpasswd|^conf|htaccess|htgroups|htpasswd"],BatchFile:["bat|cmd"],C_Cpp:["cpp|c|cc|cxx|h|hh|hpp|ino"],CSharp:["cs"],CSS:["css"],Dockerfile:["^Dockerfile"],golang:["go|golang"],HTML:["html|htm|xhtml|vue|we|wpy"],Java:["java"],JavaScript:["js|jsm|jsx"],JSON:["json"],JSP:["jsp"],LESS:["less"],Lua:["lua"],Makefile:["^Makefile|^GNUmakefile|^makefile|^OCamlMakefile|make"],Markdown:["md|markdown"],MySQL:["mysql"],Nginx:["nginx|conf"],INI:["ini|conf|cfg|prefs"],ObjectiveC:["m|mm"],Perl:["pl|pm"],Perl6:["p6|pl6|pm6"],pgSQL:["pgsql"],PHP_Laravel_blade:["blade.php"],PHP:["php|inc|phtml|shtml|php3|php4|php5|phps|phpt|aw|ctp|module"],Powershell:["ps1"],Python:["py"],R:["r"],Ruby:["rb|ru|gemspec|rake|^Guardfile|^Rakefile|^Gemfile"],Rust:["rs"],SASS:["sass"],SCSS:["scss"],SH:["sh|bash|^.bashrc"],SQL:["sql"],SQLServer:["sqlserver"],Swift:["swift"],Text:["txt"],Typescript:["ts|typescript|str"],VBScript:["vbs|vb"],Verilog:["v|vh|sv|svh"],XML:["xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl|xaml|plist"],YAML:["yaml|yml"],Compress:["tar|zip|7z|rar|gz|arj|z"],images:["icon|jpg|jpeg|webp|png|bmp|gif|tif|emf"]}}),mounted(){$A.loadScriptS(["js/ace/ace.js","js/ace/mode-json.js"]).then(e=>{this.setSize(this.$el,{height:this.height,width:this.width}),this.editor=window.ace.edit(this.$el,{wrap:this.wrap,showPrintMargin:!1,readOnly:this.readOnly,keyboardHandler:"vscode"}),this.editor.session.setMode(`ace/mode/${this.getFileMode()}`),this.$emit("mounted",this.editor),this.editor.session.$worker&&this.editor.session.$worker.addEventListener("annotate",this.workerMessage,!1),this.setValue(this.value),this.editor.setOptions(this.options),this.editTheme&&this.editor.setTheme(`ace/theme/${this.editTheme}`),this.editor.commands.addCommand({name:"\u4FDD\u5B58\u6587\u4EF6",bindKey:{win:"Ctrl-S",mac:"Command-S"},exec:()=>{this.$emit("saveData")},readOnly:!1}),this.editor.getSession().on("change",()=>{this.code=this.editor.getValue(),this.$emit("input",this.code)})})},methods:{workerMessage({data:e}){this.cursorPosition=this.editor.selection.getCursor();const[t]=e;t&&t.type==="error"?this.$emit("validationFailed",t):this.$emit("change",this.editor.getValue())},setSize(e,{width:t=this.width,height:s=this.height}){e.style.width=t&&typeof t=="number"?`${t}px`:"100%",e.style.height=s&&typeof s=="number"?`${s}px`:"100%",this.$nextTick(()=>this.editor&&this.editor.resize())},setValue(e){typeof e=="string"&&this.editor&&(this.editor.setValue(e),this.editor.clearSelection())},getFileMode(){var e=this.ext||"text";for(var t in this.supportedModes)for(var s=this.supportedModes[t],r=s[0].split("|"),a=t.toLowerCase(),i=0;i({})},theme:{type:String,default:"auto"},ext:{type:String,default:"txt"},height:{type:Number||null,default:null},width:{type:Number||null,default:null},wrap:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1}},render(e){return e("div",{class:"no-dark-content"})},data:()=>({code:"",editor:null,cursorPosition:{row:0,column:0},supportedModes:{Apache_Conf:["^htaccess|^htgroups|^htpasswd|^conf|htaccess|htgroups|htpasswd"],BatchFile:["bat|cmd"],C_Cpp:["cpp|c|cc|cxx|h|hh|hpp|ino"],CSharp:["cs"],CSS:["css"],Dockerfile:["^Dockerfile"],golang:["go|golang"],HTML:["html|htm|xhtml|vue|we|wpy"],Java:["java"],JavaScript:["js|jsm|jsx"],JSON:["json"],JSP:["jsp"],LESS:["less"],Lua:["lua"],Makefile:["^Makefile|^GNUmakefile|^makefile|^OCamlMakefile|make"],Markdown:["md|markdown"],MySQL:["mysql"],Nginx:["nginx|conf"],INI:["ini|conf|cfg|prefs"],ObjectiveC:["m|mm"],Perl:["pl|pm"],Perl6:["p6|pl6|pm6"],pgSQL:["pgsql"],PHP_Laravel_blade:["blade.php"],PHP:["php|inc|phtml|shtml|php3|php4|php5|phps|phpt|aw|ctp|module"],Powershell:["ps1"],Python:["py"],R:["r"],Ruby:["rb|ru|gemspec|rake|^Guardfile|^Rakefile|^Gemfile"],Rust:["rs"],SASS:["sass"],SCSS:["scss"],SH:["sh|bash|^.bashrc"],SQL:["sql"],SQLServer:["sqlserver"],Swift:["swift"],Text:["txt"],Typescript:["ts|typescript|str"],VBScript:["vbs|vb"],Verilog:["v|vh|sv|svh"],XML:["xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl|xaml|plist"],YAML:["yaml|yml"],Compress:["tar|zip|7z|rar|gz|arj|z"],images:["icon|jpg|jpeg|webp|png|bmp|gif|tif|emf"]}}),mounted(){$A.loadScriptS(["js/ace/ace.js","js/ace/mode-json.js"]).then(e=>{this.setSize(this.$el,{height:this.height,width:this.width}),this.editor=window.ace.edit(this.$el,{wrap:this.wrap,showPrintMargin:!1,readOnly:this.readOnly,keyboardHandler:"vscode"}),this.editor.session.setMode(`ace/mode/${this.getFileMode()}`),this.$emit("mounted",this.editor),this.editor.session.$worker&&this.editor.session.$worker.addEventListener("annotate",this.workerMessage,!1),this.setValue(this.value),this.editor.setOptions(this.options),this.editTheme&&this.editor.setTheme(`ace/theme/${this.editTheme}`),this.editor.commands.addCommand({name:"\u4FDD\u5B58\u6587\u4EF6",bindKey:{win:"Ctrl-S",mac:"Command-S"},exec:()=>{this.$emit("saveData")},readOnly:!1}),this.editor.getSession().on("change",()=>{this.code=this.editor.getValue(),this.$emit("input",this.code)})})},methods:{workerMessage({data:e}){this.cursorPosition=this.editor.selection.getCursor();const[t]=e;t&&t.type==="error"?this.$emit("validationFailed",t):this.$emit("change",this.editor.getValue())},setSize(e,{width:t=this.width,height:s=this.height}){e.style.width=t&&typeof t=="number"?`${t}px`:"100%",e.style.height=s&&typeof s=="number"?`${s}px`:"100%",this.$nextTick(()=>this.editor&&this.editor.resize())},setValue(e){typeof e=="string"&&this.editor&&(this.editor.setValue(e),this.editor.clearSelection())},getFileMode(){var e=this.ext||"text";for(var t in this.supportedModes)for(var s=this.supportedModes[t],r=s[0].split("|"),a=t.toLowerCase(),i=0;i0?e("Loading"):t._e()],1)]),e("div",{staticClass:"management-box",class:{"min-box":t.minBox}},[e("div",{staticClass:"management-department"},[e("ul",[e("li",{class:["level-1",t.departmentSelect===0?"active":""],on:{click:function(a){return t.onSelectDepartment(0)}}},[e("i",{staticClass:"taskfont department-icon"},[t._v("\uE766")]),e("div",{staticClass:"department-title"},[t._v(t._s(t.$L("\u9ED8\u8BA4\u90E8\u95E8")))]),e("EDropdown",{attrs:{size:"medium",trigger:"click"},on:{command:t.onOpDepartment}},[e("i",{staticClass:"taskfont department-menu",on:{click:function(a){a.stopPropagation()}}},[t._v("\uE6E9")]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e("EDropdownItem",{attrs:{command:"add_0"}},[e("div",[t._v(t._s(t.$L("\u6DFB\u52A0\u5B50\u90E8\u95E8")))])])],1)],1)],1),t._l(t.departmentList,function(a){return e("li",{key:a.id,class:[`level-${a.level}`,t.departmentSelect===a.id?"active":""],on:{click:function(i){return t.onSelectDepartment(a.id)}}},[e("UserAvatar",{staticClass:"department-icon",attrs:{userid:a.owner_userid,size:20}},[e("p",[e("strong",[t._v(t._s(t.$L("\u90E8\u95E8\u8D1F\u8D23\u4EBA")))])])]),e("div",{staticClass:"department-title"},[t._v(t._s(a.name))]),e("EDropdown",{attrs:{size:"medium",trigger:"click"},on:{command:t.onOpDepartment}},[e("i",{staticClass:"taskfont department-menu",on:{click:function(i){i.stopPropagation()}}},[t._v("\uE6E9")]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a.level<=2?e("EDropdownItem",{attrs:{command:`add_${a.id}`}},[e("div",[t._v(t._s(t.$L("\u6DFB\u52A0\u5B50\u90E8\u95E8")))])]):t._e(),e("EDropdownItem",{attrs:{command:`edit_${a.id}`}},[e("div",[t._v(t._s(t.$L("\u7F16\u8F91")))])]),e("EDropdownItem",{attrs:{command:`del_${a.id}`}},[e("div",{staticStyle:{color:"#f00"}},[t._v(t._s(t.$L("\u5220\u9664")))])])],1)],1)],1)})],2),e("div",{staticClass:"department-buttons"},[e("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:function(a){return t.onShowDepartment(null)}}},[t._v(t._s(t.$L("\u65B0\u5EFA\u90E8\u95E8")))])],1)]),e("div",{staticClass:"management-user",style:t.userStyle},[e("div",{staticClass:"search-container lr"},[e("ul",[e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u5173\u952E\u8BCD"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{placeholder:t.$L("\u90AE\u7BB1\u3001\u6635\u79F0\u3001\u804C\u4F4D"),clearable:""},model:{value:t.keys.key,callback:function(a){t.$set(t.keys,"key",a)},expression:"keys.key"}})],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u8EAB\u4EFD"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5168\u90E8")},model:{value:t.keys.identity,callback:function(a){t.$set(t.keys,"identity",a)},expression:"keys.identity"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u5168\u90E8")))]),e("Option",{attrs:{value:"admin"}},[t._v(t._s(t.$L("\u7BA1\u7406\u5458")))]),e("Option",{attrs:{value:"noadmin"}},[t._v(t._s(t.$L("\u975E\u7BA1\u7406\u5458")))]),e("Option",{attrs:{value:"temp"}},[t._v(t._s(t.$L("\u4E34\u65F6\u5E10\u53F7")))]),e("Option",{attrs:{value:"notemp"}},[t._v(t._s(t.$L("\u975E\u4E34\u65F6\u5E10\u53F7")))])],1)],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u5728\u804C\u72B6\u6001"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5728\u804C")},model:{value:t.keys.disable,callback:function(a){t.$set(t.keys,"disable",a)},expression:"keys.disable"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u5728\u804C")))]),e("Option",{attrs:{value:"yes"}},[t._v(t._s(t.$L("\u79BB\u804C")))]),e("Option",{attrs:{value:"all"}},[t._v(t._s(t.$L("\u5168\u90E8")))])],1)],1)]),t.checkinMac?e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("MAC\u5730\u5740"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{placeholder:t.$L("MAC\u5730\u5740"),clearable:""},model:{value:t.keys.checkin_mac,callback:function(a){t.$set(t.keys,"checkin_mac",a)},expression:"keys.checkin_mac"}})],1)]):e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u90AE\u7BB1\u8BA4\u8BC1"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5168\u90E8")},model:{value:t.keys.email_verity,callback:function(a){t.$set(t.keys,"email_verity",a)},expression:"keys.email_verity"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u5168\u90E8")))]),e("Option",{attrs:{value:"yes"}},[t._v(t._s(t.$L("\u5DF2\u90AE\u7BB1\u8BA4\u8BC1")))]),e("Option",{attrs:{value:"no"}},[t._v(t._s(t.$L("\u672A\u90AE\u7BB1\u8BA4\u8BC1")))])],1)],1)]),e("li",{staticClass:"search-button"},[e("Tooltip",{attrs:{theme:"light",placement:"bottom","transfer-class-name":"search-button-clear",transfer:""}},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("\u641C\u7D22")))]),e("div",{attrs:{slot:"content"},slot:"content"},[t.keyIs?e("Button",{attrs:{type:"text"},on:{click:function(a){t.keyIs=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u7B5B\u9009")))]):e("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("\u5237\u65B0")))])],1)],1)],1)])]),e("div",{staticClass:"table-page-box"},[e("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),e("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowPortrait,"page-size-opts":[10,20,30,50,100],"show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":t.setPage,"on-page-size-change":t.setPageSize}})],1)])]),e("Modal",{attrs:{title:t.$L(t.departmentData.id>0?"\u4FEE\u6539\u90E8\u95E8":"\u65B0\u5EFA\u90E8\u95E8"),"mask-closable":!1},model:{value:t.departmentShow,callback:function(a){t.departmentShow=a},expression:"departmentShow"}},[e("Form",{ref:"addProject",attrs:{model:t.departmentData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{prop:"name",label:t.$L("\u90E8\u95E8\u540D\u79F0")}},[e("Input",{attrs:{type:"text",placeholder:t.$L("\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0")},model:{value:t.departmentData.name,callback:function(a){t.$set(t.departmentData,"name",a)},expression:"departmentData.name"}})],1),e("FormItem",{attrs:{prop:"parent_id",label:t.$L("\u4E0A\u7EA7\u90E8\u95E8")}},[e("Select",{attrs:{disabled:t.departmentParentDisabled,placeholder:t.$L("\u8BF7\u9009\u62E9\u4E0A\u7EA7\u90E8\u95E8")},model:{value:t.departmentData.parent_id,callback:function(a){t.$set(t.departmentData,"parent_id",a)},expression:"departmentData.parent_id"}},[e("Option",{attrs:{value:0}},[t._v(t._s(t.$L("\u9ED8\u8BA4\u90E8\u95E8")))]),t._l(t.departmentList,function(a,i){return a.parent_id==0&&a.id!=t.departmentData.id?e("Option",{key:i,attrs:{value:a.id,label:a.name}},[t._v("\xA0\xA0\xA0\xA0"+t._s(a.name))]):t._e()})],2),t.departmentParentDisabled?e("div",{staticClass:"form-tip",staticStyle:{"margin-bottom":"-16px"}},[t._v(t._s(t.$L("\u542B\u6709\u5B50\u90E8\u95E8\u65E0\u6CD5\u4FEE\u6539\u4E0A\u7EA7\u90E8\u95E8")))]):t._e()],1),e("FormItem",{attrs:{prop:"owner_userid",label:t.$L("\u90E8\u95E8\u8D1F\u8D23\u4EBA")}},[e("UserSelect",{attrs:{"multiple-max":1,title:t.$L("\u8BF7\u9009\u62E9\u90E8\u95E8\u8D1F\u8D23\u4EBA")},model:{value:t.departmentData.owner_userid,callback:function(a){t.$set(t.departmentData,"owner_userid",a)},expression:"departmentData.owner_userid"}})],1),t.departmentData.id==0?[e("Divider",{attrs:{orientation:"left"}},[t._v(t._s(t.$L("\u7FA4\u7EC4\u8BBE\u7F6E")))]),e("FormItem",{attrs:{prop:"dialog_group",label:t.$L("\u90E8\u95E8\u7FA4\u804A")}},[e("RadioGroup",{model:{value:t.departmentData.dialog_group,callback:function(a){t.$set(t.departmentData,"dialog_group",a)},expression:"departmentData.dialog_group"}},[e("Radio",{attrs:{label:"new"}},[t._v(t._s(t.$L("\u521B\u5EFA\u90E8\u95E8\u7FA4")))]),e("Radio",{attrs:{label:"use"}},[t._v(t._s(t.$L("\u4F7F\u7528\u73B0\u6709\u7FA4")))])],1)],1),t.departmentData.dialog_group==="use"?e("FormItem",{attrs:{prop:"dialog_useid",label:t.$L("\u9009\u62E9\u7FA4\u7EC4")}},[e("Select",{attrs:{filterable:"","remote-method":t.dialogRemote,placeholder:t.$L("\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22\u7FA4"),loading:t.dialogLoad},model:{value:t.departmentData.dialog_useid,callback:function(a){t.$set(t.departmentData,"dialog_useid",a)},expression:"departmentData.dialog_useid"}},t._l(t.dialogList,function(a,i){return e("Option",{key:i,attrs:{value:a.id,label:a.name}},[e("div",{staticClass:"team-department-add-dialog-group"},[e("div",{staticClass:"dialog-name"},[t._v(t._s(a.name))]),e("UserAvatar",{attrs:{userid:a.owner_id,size:20}})],1)])}),1),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u4EC5\u652F\u6301\u9009\u62E9\u4E2A\u4EBA\u7FA4\u8F6C\u4E3A\u90E8\u95E8\u7FA4")))])],1):t._e()]:t._e()],2),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.departmentShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.departmentLoading>0},on:{click:t.onSaveDepartment}},[t._v(t._s(t.$L(t.departmentData.id>0?"\u4FDD\u5B58":"\u65B0\u5EFA")))])],1)],1),e("Modal",{attrs:{title:t.$L("\u4FEE\u6539\u7B7E\u5230MAC\u5730\u5740")},model:{value:t.checkinMacEditShow,callback:function(a){t.checkinMacEditShow=a},expression:"checkinMacEditShow"}},[e("Form",{attrs:{model:t.checkinMacEditData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[t._v(t._s(t.$L(`\u6B63\u5728\u8FDB\u884C\u5E10\u53F7\u3010ID:${t.checkinMacEditData.userid}\uFF0C${t.checkinMacEditData.nickname}\u3011MAC\u5730\u5740\u4FEE\u6539\u3002`)))]),e("Row",{staticClass:"team-department-checkin-item"},[e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u8BBE\u5907MAC\u5730\u5740")))]),e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u5907\u6CE8")))])],1),t._l(t.checkinMacEditData.checkin_macs,function(a,i){return e("Row",{key:i,staticClass:"team-department-checkin-item"},[e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u8BBE\u5907MAC\u5730\u5740"),clearable:""},on:{"on-clear":function(n){return t.delCheckinDatum(i)}},model:{value:a.mac,callback:function(n){t.$set(a,"mac",n)},expression:"item.mac"}})],1),e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:100,placeholder:t.$L("\u5907\u6CE8")},model:{value:a.remark,callback:function(n){t.$set(a,"remark",n)},expression:"item.remark"}})],1)],1)}),e("Button",{attrs:{type:"default",icon:"md-add"},on:{click:t.addCheckinDatum}},[t._v(t._s(t.$L("\u6DFB\u52A0\u8BBE\u5907")))])],2),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.checkinMacEditShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.checkinMacEditLoading>0},on:{click:function(a){return t.operationUser(t.checkinMacEditData,!0)}}},[t._v(t._s(t.$L("\u786E\u5B9A\u4FEE\u6539")))])],1)],1),e("Modal",{attrs:{title:t.$L("\u4FEE\u6539\u90E8\u95E8")},model:{value:t.departmentEditShow,callback:function(a){t.departmentEditShow=a},expression:"departmentEditShow"}},[e("Form",{attrs:{model:t.departmentEditData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[t._v(t._s(t.$L(`\u6B63\u5728\u8FDB\u884C\u5E10\u53F7\u3010ID:${t.departmentEditData.userid}\uFF0C${t.departmentEditData.nickname}\u3011\u90E8\u95E8\u4FEE\u6539\u3002`)))]),e("FormItem",{attrs:{label:t.$L("\u4FEE\u6539\u90E8\u95E8")}},[e("Select",{attrs:{multiple:"","multiple-max":10,placeholder:t.$L("\u7559\u7A7A\u4E3A\u9ED8\u8BA4\u90E8\u95E8")},model:{value:t.departmentEditData.department,callback:function(a){t.$set(t.departmentEditData,"department",a)},expression:"departmentEditData.department"}},t._l(t.departmentList,function(a,i){return e("Option",{key:i,attrs:{value:a.id}},[t._v(t._s(a.name))])}),1)],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.departmentEditShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.departmentEditLoading>0},on:{click:function(a){return t.operationUser(t.departmentEditData,!0)}}},[t._v(t._s(t.$L("\u786E\u5B9A\u4FEE\u6539")))])],1)],1),e("Modal",{attrs:{title:t.$L("\u64CD\u4F5C\u79BB\u804C")},model:{value:t.disableShow,callback:function(a){t.disableShow=a},expression:"disableShow"}},[e("Form",{attrs:{model:t.disableData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[t._v(t._s(t.$L(`\u6B63\u5728\u8FDB\u884C\u5E10\u53F7\u3010ID:${t.disableData.userid}\uFF0C${t.disableData.nickname}\u3011\u79BB\u804C\u64CD\u4F5C\u3002`)))]),e("FormItem",{attrs:{label:t.$L("\u79BB\u804C\u65F6\u95F4")}},[e("DatePicker",{ref:"disableTime",staticStyle:{width:"100%"},attrs:{editable:!1,placeholder:t.$L("\u9009\u62E9\u79BB\u804C\u65F6\u95F4"),options:t.disableOptions,format:"yyyy/MM/dd HH:mm",type:"datetime"},model:{value:t.disableData.disable_time,callback:function(a){t.$set(t.disableData,"disable_time",a)},expression:"disableData.disable_time"}})],1),e("FormItem",{attrs:{label:t.$L("\u4EA4\u63A5\u4EBA")}},[e("UserSelect",{attrs:{"disabled-choice":[t.disableData.userid],"multiple-max":1,title:t.$L("\u9009\u62E9\u4EA4\u63A5\u4EBA")},model:{value:t.disableData.transfer_userid,callback:function(a){t.$set(t.disableData,"transfer_userid",a)},expression:"disableData.transfer_userid"}}),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L(`${t.disableData.nickname} \u8D1F\u8D23\u7684\u90E8\u95E8\u3001\u9879\u76EE\u3001\u4EFB\u52A1\u548C\u6587\u4EF6\u5C06\u79FB\u4EA4\u7ED9\u4EA4\u63A5\u4EBA\uFF1B\u540C\u65F6\u9000\u51FA\u6240\u6709\u7FA4\uFF08\u5982\u679C\u662F\u7FA4\u4E3B\u5219\u8F6C\u8BA9\u7ED9\u4EA4\u63A5\u4EBA\uFF09`)))])],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.disableShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Poptip",{staticStyle:{"margin-left":"8px"},attrs:{confirm:"",placement:"bottom","ok-text":t.$L("\u786E\u5B9A"),"cancel-text":t.$L("\u53D6\u6D88"),transfer:""},on:{"on-ok":function(a){return t.operationUser(t.disableData,!0)}}},[e("div",{attrs:{slot:"title"},slot:"title"},[e("p",[t._v(t._s(t.$L("\u6CE8\u610F\uFF1A\u79BB\u804C\u64CD\u4F5C\u4E0D\u53EF\u9006\uFF01")))])]),e("Button",{attrs:{type:"primary",loading:t.disableLoading>0}},[t._v(t._s(t.$L("\u786E\u5B9A\u79BB\u804C")))])],1)],1)],1)],1)},m=[];const u={name:"TeamManagement",components:{UserSelect:l},props:{checkinMac:{type:Boolean,default:!1}},data(){return{loadIng:0,minBox:!1,minWidth:0,keys:{},keyIs:!1,columns:[{title:"ID",key:"userid",width:80,render:(t,{row:s,column:e})=>t("TableAction",{props:{column:e,align:"left"}},[t("div",s.userid)])},{title:this.$L("\u90AE\u7BB1"),key:"email",minWidth:160,render:(t,{row:s})=>{const e=[t("AutoTip",s.email)],{email_verity:a,identity:i,disable_at:n,is_principal:c}=s;return a&&e.push(t("Icon",{props:{type:"md-mail"}})),c&&e.push(t("Tag",{props:{color:"blue"}},this.$L("\u8D1F\u8D23\u4EBA"))),i.includes("ldap")&&e.push(t("Tag",{props:{color:"orange"}},"LDAP")),i.includes("admin")&&e.push(t("Tag",{props:{color:"warning"}},this.$L("\u7BA1\u7406\u5458"))),i.includes("temp")&&e.push(t("Tag",{props:{color:"success"}},this.$L("\u4E34\u65F6"))),i.includes("disable")&&e.push(t("Tooltip",{props:{content:this.$L("\u79BB\u804C\u65F6\u95F4")+": "+n}},[t("Tag",{props:{color:"error"}},this.$L("\u79BB\u804C"))])),t("div",{class:"team-email"},e)}},{title:this.$L("\u7535\u8BDD"),key:"tel",minWidth:80,render:(t,{row:s})=>t("QuickEdit",{props:{value:s.tel},on:{"on-update":(e,a)=>{this.operationUser({userid:s.userid,tel:e},!0).finally(a)}}},[t("AutoTip",s.tel||"-")])},{title:this.$L("\u6635\u79F0"),key:"nickname",minWidth:80,render:(t,{row:s})=>t("QuickEdit",{props:{value:s.nickname_original},on:{"on-update":(e,a)=>{this.operationUser({userid:s.userid,nickname:e},!0).finally(a)}}},[t("AutoTip",s.nickname_original||"-")])},{title:this.$L("\u804C\u4F4D/\u804C\u79F0"),key:"profession",minWidth:80,render:(t,{row:s})=>t("QuickEdit",{props:{value:s.profession},on:{"on-update":(e,a)=>{this.operationUser({userid:s.userid,profession:e},!0).finally(a)}}},[t("AutoTip",s.profession||"-")])},{title:this.$L("\u90E8\u95E8"),key:"department",minWidth:80,render:(t,{row:s})=>{let e=[];if(s.department.some(a=>{const i=this.departmentList.find(n=>n.id==a);i&&e.push(i.name)}),e.length===0)return t("div",this.$L("\u9ED8\u8BA4\u90E8\u95E8"));{const a=[];return a.push(t("span",{domProps:{title:e[0]}},e[0])),e.length>1&&(e=e.splice(1),a.push(t("ETooltip",[t("div",{slot:"content",domProps:{innerHTML:e.join("
")}}),t("div",{class:"department-tag-num"},` +${e.length}`)]))),t("div",{class:"team-table-department-warp"},a)}}},{title:this.$L("\u6700\u540E\u5728\u7EBF"),key:"line_at",width:168},{title:this.$L("\u64CD\u4F5C"),align:"center",width:100,render:(t,s)=>{const e=s.row.identity,a=[];e.includes("admin")?a.push(t("EDropdownItem",{props:{command:"clearadmin"}},[t("div",this.$L("\u53D6\u6D88\u7BA1\u7406\u5458"))])):a.push(t("EDropdownItem",{props:{command:"setadmin"}},[t("div",this.$L("\u8BBE\u4E3A\u7BA1\u7406\u5458"))])),e.includes("temp")?a.push(t("EDropdownItem",{props:{command:"cleartemp"}},[t("div",this.$L("\u53D6\u6D88\u4E34\u65F6\u8EAB\u4EFD"))])):a.push(t("EDropdownItem",{props:{command:"settemp"}},[t("div",this.$L("\u8BBE\u4E3A\u4E34\u65F6\u5E10\u53F7"))])),a.push(t("EDropdownItem",{props:{command:"email"}},[t("div",this.$L("\u4FEE\u6539\u90AE\u7BB1"))])),a.push(t("EDropdownItem",{props:{command:"password"}},[t("div",this.$L("\u4FEE\u6539\u5BC6\u7801"))])),this.checkinMac&&a.push(t("EDropdownItem",{props:{command:"checkin_mac"}},[t("div",this.$L("\u4FEE\u6539MAC"))])),a.push(t("EDropdownItem",{props:{command:"department"}},[t("div",this.$L("\u4FEE\u6539\u90E8\u95E8"))])),e.includes("disable")?a.push(t("EDropdownItem",{props:{command:"cleardisable"},style:{color:"#f90"}},[t("div",this.$L("\u6062\u590D\u5E10\u53F7\uFF08\u5DF2\u79BB\u804C\uFF09"))])):a.push(t("EDropdownItem",{props:{command:"setdisable"},style:{color:"#f90"}},[t("div",this.$L("\u64CD\u4F5C\u79BB\u804C"))])),a.push(t("EDropdownItem",{props:{command:"delete"},style:{color:"red"}},[t("div",this.$L("\u5220\u9664"))]));const i=t("EDropdown",{props:{size:"small",trigger:"click"},on:{command:n=>{this.dropUser(n,s.row)}}},[t("Button",{props:{type:"primary",size:"small"},style:{fontSize:"12px"}},this.$L("\u64CD\u4F5C")),t("EDropdownMenu",{slot:"dropdown"},[a])]);return t("TableAction",{props:{column:s.column}},[i])}}],list:[],page:1,pageSize:20,total:0,noText:"",checkinMacEditShow:!1,checkinMacEditLoading:0,checkinMacEditData:{},departmentEditShow:!1,departmentEditLoading:0,departmentEditData:{},disableShow:!1,disableLoading:0,disableData:{},disableOptions:{shortcuts:[{text:this.$L("12:00"),value(){return $A.Date($A.formatDate("Y-m-d 12:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("17:00"),value(){return $A.Date($A.formatDate("Y-m-d 17:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("18:00"),value(){return $A.Date($A.formatDate("Y-m-d 18:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("19:00"),value(){return $A.Date($A.formatDate("Y-m-d 19:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("\u73B0\u5728"),value(){return new Date},onClick:t=>{t.handlePickSuccess()}}]},departmentShow:!1,departmentLoading:0,departmentSelect:-1,departmentData:{id:0,name:"",parent_id:0,owner_userid:[],dialog_group:"new",dialog_useid:0},departmentList:[],dialogLoad:!1,dialogList:[],nullCheckinDatum:{mac:"",remark:""}}},created(){this.checkinMac&&this.columns.splice(5,0,{title:this.$L("MAC\u5730\u5740"),key:"checkin_mac",minWidth:80,render:(t,{row:s})=>{let e=$A.cloneJSON(s.checkin_macs||[]);if(e.length===0)return t("div","-");{const a=n=>n.remark?`${n.mac} (${n.remark})`:n.mac,i=[];return i.push(t("AutoTip",a(e[0]))),e.length>1&&(e=e.splice(1),i.push(t("ETooltip",[t("div",{slot:"content",domProps:{innerHTML:e.map(n=>a(n)).join("
")}}),t("div",{class:"department-tag-num"},` +${e.length}`)]))),t("div",{class:"team-table-department-warp"},i)}}})},mounted(){this.getLists(),this.getDepartmentLists()},watch:{keyIs(t){t||(this.keys={},this.setPage(1))},departmentSelect(){this.setPage(1)},windowPortrait:{handler(t){this.minBox=t},immediate:!0},minBox:{handler(){this.$nextTick(t=>{this.$el&&this.$el.clientWidth>0&&(this.minWidth=this.$el.clientWidth)})},immediate:!0}},computed:{departmentParentDisabled(){return!!(this.departmentData.id>0&&this.departmentList.find(({parent_id:t})=>t==this.departmentData.id))},userStyle({minWidth:t,windowPortrait:s}){const e={};return t>0&&s&&(e.minWidth=t-40+"px"),e}},methods:{onSearch(){this.page=1,this.getLists()},getLists(){this.loadIng++,this.keyIs=$A.objImplode(this.keys)!="";let t=$A.cloneJSON(this.keys);this.departmentSelect>-1&&(t=Object.assign(t,{department:this.departmentSelect})),this.$store.dispatch("call",{url:"users/lists",data:{keys:t,get_checkin_mac:this.checkinMac?1:0,page:Math.max(this.page,1),pagesize:Math.max($A.runNum(this.pageSize),10)}}).then(({data:s})=>{this.page=s.current_page,this.total=s.total,this.list=s.data,this.noText="\u6CA1\u6709\u76F8\u5173\u7684\u6210\u5458"}).catch(()=>{this.noText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(s=>{this.loadIng--})},setPage(t){this.page=t,this.getLists()},setPageSize(t){this.page=1,this.pageSize=t,this.getLists()},dropUser(t,s){switch(t){case"settemp":$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u5C06\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011\u8BBE\u4E3A\u4E34\u65F6\u5E10\u53F7\u5417\uFF1F\uFF08\u6CE8\uFF1A\u4E34\u65F6\u5E10\u53F7\u9650\u5236\u8BF7\u67E5\u770B\u7CFB\u7EDF\u8BBE\u7F6E\uFF09`,loading:!0,onOk:()=>this.operationUser({userid:s.userid,type:t})});break;case"cleartemp":$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u53D6\u6D88\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011\u4E34\u65F6\u8EAB\u4EFD\u5417\uFF1F`,loading:!0,onOk:()=>this.operationUser({userid:s.userid,type:t})});break;case"email":$A.modalInput({title:"\u4FEE\u6539\u90AE\u7BB1",placeholder:`\u8BF7\u8F93\u5165\u65B0\u7684\u90AE\u7BB1\uFF08${s.email}\uFF09`,onOk:a=>a?this.operationUser({userid:s.userid,email:a}):"\u8BF7\u8F93\u5165\u65B0\u7684\u90AE\u7BB1\u5730\u5740"});break;case"password":$A.modalInput({title:"\u4FEE\u6539\u5BC6\u7801",placeholder:"\u8BF7\u8F93\u5165\u65B0\u7684\u5BC6\u7801",onOk:a=>a?this.operationUser({userid:s.userid,password:a}):"\u8BF7\u8F93\u5165\u65B0\u7684\u5BC6\u7801"});break;case"checkin_mac":this.checkinMacEditData={type:"checkin_macs",userid:s.userid,nickname:s.nickname,checkin_macs:s.checkin_macs},this.checkinMacEditData.checkin_macs.length===0&&this.addCheckinDatum(),this.checkinMacEditShow=!0;break;case"department":let e=[];s.department.some(a=>{const i=this.departmentList.find(n=>n.id==a);i&&e.push(i.owner_userid===s.userid?`${i.name} (${this.$L("\u8D1F\u8D23\u4EBA")})`:i.name)}),this.departmentEditData={type:"department",userid:s.userid,nickname:s.nickname,department:s.department.map(a=>parseInt(a))},this.departmentEditShow=!0;break;case"setdisable":this.disableData={type:"setdisable",userid:s.userid,nickname:s.nickname},this.disableShow=!0;break;case"cleardisable":$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u6062\u590D\u5DF2\u79BB\u804C\u5E10\u53F7\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011\u5417\uFF1F\uFF08\u6CE8\uFF1A\u6B64\u64CD\u4F5C\u4EC5\u6062\u590D\u5E10\u53F7\u72B6\u6001\uFF0C\u65E0\u6CD5\u6062\u590D\u64CD\u4F5C\u79BB\u804C\u65F6\u79FB\u4EA4\u7684\u6570\u636E\uFF09`,loading:!0,onOk:()=>this.operationUser({userid:s.userid,type:t})});break;case"delete":$A.modalInput({title:`\u5220\u9664\u5E10\u53F7\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011`,placeholder:"\u8BF7\u8F93\u5165\u5220\u9664\u539F\u56E0",okText:"\u786E\u5B9A\u5220\u9664",onOk:a=>a?this.operationUser({userid:s.userid,type:t,delete_reason:a}):"\u5220\u9664\u539F\u56E0\u4E0D\u80FD\u4E3A\u7A7A"});break;default:this.operationUser({userid:s.userid,type:t},!0);break}},operationUser(t,s){return new Promise((e,a)=>{t.type=="checkin_macs"?this.checkinMacEditLoading++:t.type=="department"?this.departmentEditLoading++:t.type=="setdisable"?this.disableLoading++:this.loadIng++,this.$store.dispatch("call",{url:"users/operation",data:t}).then(({msg:i})=>{$A.messageSuccess(i),this.getLists(),e(),t.type=="checkin_macs"?this.checkinMacEditShow=!1:t.type=="department"?this.departmentEditShow=!1:t.type=="setdisable"&&(this.disableShow=!1)}).catch(({msg:i})=>{s===!0&&$A.modalError(i),this.getLists(),a(i)}).finally(i=>{t.type=="checkin_macs"?this.checkinMacEditLoading--:t.type=="department"?this.departmentEditLoading--:t.type=="setdisable"?this.disableLoading--:this.loadIng--})})},getDepartmentLists(){this.departmentLoading++,this.$store.dispatch("call",{url:"users/department/list"}).then(({data:t})=>{this.departmentList=[],this.generateDepartmentList(t,0,1)}).finally(t=>{this.departmentLoading--})},generateDepartmentList(t,s,e){t.some(a=>{a.parent_id==s&&(this.departmentList.push(Object.assign(a,{level:e+1})),this.generateDepartmentList(t,a.id,e+1))})},onShowDepartment(t){this.departmentData=Object.assign({id:0,name:"",parent_id:0,owner_userid:[],dialog_group:"new"},t||{}),this.departmentShow=!0},onSaveDepartment(){this.departmentLoading++,this.$store.dispatch("call",{url:"users/department/add",data:Object.assign(this.departmentData,{owner_userid:this.departmentData.owner_userid[0]})}).then(({msg:t})=>{$A.messageSuccess(t),this.getDepartmentLists(),this.getLists(),this.departmentShow=!1}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.departmentLoading--})},onSelectDepartment(t){if(this.windowPortrait&&(this.minBox=!0),this.departmentSelect===t){this.departmentSelect=-1;return}this.departmentSelect=t},onOpDepartment(t){if($A.leftExists(t,"add_"))this.onShowDepartment({parent_id:parseInt(t.substr(4))});else if($A.leftExists(t,"edit_")){const s=this.departmentList.find(({id:e})=>e===parseInt(t.substr(5)));s&&this.onShowDepartment(s)}else if($A.leftExists(t,"del_")){const s=this.departmentList.find(({id:e})=>e===parseInt(t.substr(4)));s&&$A.modalConfirm({title:this.$L("\u5220\u9664\u90E8\u95E8"),content:`
${this.$L(`\u4F60\u786E\u5B9A\u8981\u5220\u9664\u3010${s.name}\u3011\u90E8\u95E8\u5417\uFF1F`)}
${this.$L("\u6CE8\u610F\uFF1A\u6B64\u64CD\u4F5C\u4E0D\u53EF\u6062\u590D\uFF0C\u90E8\u95E8\u4E0B\u7684\u6210\u5458\u5C06\u79FB\u81F3\u9ED8\u8BA4\u90E8\u95E8\u3002")}
`,language:!1,loading:!0,onOk:()=>new Promise((e,a)=>{this.$store.dispatch("call",{url:"users/department/del",data:{id:s.id}}).then(({msg:i})=>{s.id===this.departmentSelect&&(this.departmentSelect=-1),e(i),this.getDepartmentLists()}).catch(({msg:i})=>{a(i)})})})}},dialogRemote(t){t!==""?(this.dialogLoad=!0,this.$store.dispatch("call",{url:"dialog/group/searchuser",data:{key:t}}).then(({data:s})=>{this.dialogList=s.list}).finally(s=>{this.dialogLoad=!1})):this.dialogList=[]},addCheckinDatum(){this.checkinMacEditData.checkin_macs.push($A.cloneJSON(this.nullCheckinDatum))},delCheckinDatum(t){this.checkinMacEditData.checkin_macs.splice(t,1),this.checkinMacEditData.checkin_macs.length===0&&this.addCheckinDatum()}}},r={};var h=d(u,p,m,!1,_,null,null,null);function _(t){for(let s in r)this[s]=r[s]}var b=function(){return h.exports}(),f=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("Modal",{attrs:{title:t.$L("\u5BFC\u51FA\u7B7E\u5230\u6570\u636E"),"mask-closable":!1},model:{value:t.show,callback:function(a){t.show=a},expression:"show"}},[e("Form",{ref:"export",attrs:{model:t.formData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u5BFC\u51FA\u6210\u5458")}},[e("UserSelect",{attrs:{"multiple-max":100,"avatar-name":"","show-disable":"",title:t.$L("\u8BF7\u9009\u62E9\u6210\u5458")},model:{value:t.formData.userid,callback:function(a){t.$set(t.formData,"userid",a)},expression:"formData.userid"}}),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6BCF\u6B21\u6700\u591A\u9009\u62E9\u5BFC\u51FA100\u4E2A\u6210\u5458")))])],1),e("FormItem",{attrs:{label:t.$L("\u7B7E\u5230\u65E5\u671F")}},[e("DatePicker",{staticStyle:{width:"100%"},attrs:{type:"daterange",format:"yyyy/MM/dd",placeholder:t.$L("\u8BF7\u9009\u62E9\u7B7E\u5230\u65E5\u671F")},model:{value:t.formData.date,callback:function(a){t.$set(t.formData,"date",a)},expression:"formData.date"}}),e("div",{staticClass:"form-tip checkin-export-quick-select"},[e("span",[t._v(t._s(t.$L("\u5FEB\u6377\u9009\u62E9"))+":")]),e("em",{on:{click:function(a){t.formData.date=t.dateShortcuts("prev")}}},[t._v(t._s(t.$L("\u4E0A\u4E2A\u6708")))]),e("em",{on:{click:function(a){t.formData.date=t.dateShortcuts("this")}}},[t._v(t._s(t.$L("\u8FD9\u4E2A\u6708")))])])],1),e("FormItem",{attrs:{label:t.$L("\u73ED\u6B21\u65F6\u95F4")}},[e("TimePicker",{staticStyle:{width:"100%"},attrs:{type:"timerange",format:"HH:mm",placeholder:t.$L("\u8BF7\u9009\u62E9\u73ED\u6B21\u65F6\u95F4")},model:{value:t.formData.time,callback:function(a){t.$set(t.formData,"time",a)},expression:"formData.time"}}),e("div",{staticClass:"form-tip checkin-export-quick-select"},[e("span",[t._v(t._s(t.$L("\u5FEB\u6377\u9009\u62E9"))+":")]),e("em",{on:{click:function(a){t.formData.time=["8:30","18:00"]}}},[t._v("8:30-18:00")]),e("em",{on:{click:function(a){t.formData.time=["9:00","18:00"]}}},[t._v("9:00-18:00")]),e("em",{on:{click:function(a){t.formData.time=["9:30","18:00"]}}},[t._v("9:30-18:30")])])],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.show=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onExport}},[t._v(t._s(t.$L("\u5BFC\u51FA")))])],1)],1)},v=[];const $={name:"CheckinExport",components:{UserSelect:l},props:{value:{type:Boolean,default:!1}},data(){return{show:this.value,loadIng:0,formData:{userid:[],date:[],time:[]}}},watch:{value(t){this.show=t},show(t){this.value!==t&&this.$emit("input",t)}},methods:{dateShortcuts(t){if(t==="prev")return[$A.getSpecifyDate("\u4E0A\u4E2A\u6708"),$A.getSpecifyDate("\u4E0A\u4E2A\u6708\u7ED3\u675F")];if(t==="this")return[$A.getSpecifyDate("\u672C\u6708"),$A.getSpecifyDate("\u672C\u6708\u7ED3\u675F")]},onExport(){this.loadIng>0||(this.loadIng++,this.$store.dispatch("call",{url:"system/checkin/export",data:this.formData}).then(({data:t})=>{this.show=!1,this.$store.dispatch("downUrl",{url:t.url})}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.loadIng--}))}}},o={};var k=d($,f,v,!1,g,null,null,null);function g(t){for(let s in o)this[s]=o[s]}var y=function(){return k.exports}();export{y as C,b as T}; +import{U as l}from"./UserSelect.eb1bd6e3.js";import{n as d}from"./app.6cefc0c3.js";var p=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"team-management"},[e("div",{staticClass:"management-title"},[t._v(" "+t._s(t.$L("\u56E2\u961F\u7BA1\u7406"))+" "),e("div",{staticClass:"title-zoom",on:{click:function(a){t.minBox=!t.minBox}}},[t.minBox?e("i",{staticClass:"taskfont"},[t._v("\uE7D4")]):e("i",{staticClass:"taskfont"},[t._v("\uE7D3")])]),e("div",{staticClass:"title-icon"},[t.loadIng>0?e("Loading"):t._e()],1)]),e("div",{staticClass:"management-box",class:{"min-box":t.minBox}},[e("div",{staticClass:"management-department"},[e("ul",[e("li",{class:["level-1",t.departmentSelect===0?"active":""],on:{click:function(a){return t.onSelectDepartment(0)}}},[e("i",{staticClass:"taskfont department-icon"},[t._v("\uE766")]),e("div",{staticClass:"department-title"},[t._v(t._s(t.$L("\u9ED8\u8BA4\u90E8\u95E8")))]),e("EDropdown",{attrs:{size:"medium",trigger:"click"},on:{command:t.onOpDepartment}},[e("i",{staticClass:"taskfont department-menu",on:{click:function(a){a.stopPropagation()}}},[t._v("\uE6E9")]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e("EDropdownItem",{attrs:{command:"add_0"}},[e("div",[t._v(t._s(t.$L("\u6DFB\u52A0\u5B50\u90E8\u95E8")))])])],1)],1)],1),t._l(t.departmentList,function(a){return e("li",{key:a.id,class:[`level-${a.level}`,t.departmentSelect===a.id?"active":""],on:{click:function(i){return t.onSelectDepartment(a.id)}}},[e("UserAvatar",{staticClass:"department-icon",attrs:{userid:a.owner_userid,size:20}},[e("p",[e("strong",[t._v(t._s(t.$L("\u90E8\u95E8\u8D1F\u8D23\u4EBA")))])])]),e("div",{staticClass:"department-title"},[t._v(t._s(a.name))]),e("EDropdown",{attrs:{size:"medium",trigger:"click"},on:{command:t.onOpDepartment}},[e("i",{staticClass:"taskfont department-menu",on:{click:function(i){i.stopPropagation()}}},[t._v("\uE6E9")]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a.level<=2?e("EDropdownItem",{attrs:{command:`add_${a.id}`}},[e("div",[t._v(t._s(t.$L("\u6DFB\u52A0\u5B50\u90E8\u95E8")))])]):t._e(),e("EDropdownItem",{attrs:{command:`edit_${a.id}`}},[e("div",[t._v(t._s(t.$L("\u7F16\u8F91")))])]),e("EDropdownItem",{attrs:{command:`del_${a.id}`}},[e("div",{staticStyle:{color:"#f00"}},[t._v(t._s(t.$L("\u5220\u9664")))])])],1)],1)],1)})],2),e("div",{staticClass:"department-buttons"},[e("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:function(a){return t.onShowDepartment(null)}}},[t._v(t._s(t.$L("\u65B0\u5EFA\u90E8\u95E8")))])],1)]),e("div",{staticClass:"management-user",style:t.userStyle},[e("div",{staticClass:"search-container lr"},[e("ul",[e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u5173\u952E\u8BCD"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{placeholder:t.$L("\u90AE\u7BB1\u3001\u6635\u79F0\u3001\u804C\u4F4D"),clearable:""},model:{value:t.keys.key,callback:function(a){t.$set(t.keys,"key",a)},expression:"keys.key"}})],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u8EAB\u4EFD"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5168\u90E8")},model:{value:t.keys.identity,callback:function(a){t.$set(t.keys,"identity",a)},expression:"keys.identity"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u5168\u90E8")))]),e("Option",{attrs:{value:"admin"}},[t._v(t._s(t.$L("\u7BA1\u7406\u5458")))]),e("Option",{attrs:{value:"noadmin"}},[t._v(t._s(t.$L("\u975E\u7BA1\u7406\u5458")))]),e("Option",{attrs:{value:"temp"}},[t._v(t._s(t.$L("\u4E34\u65F6\u5E10\u53F7")))]),e("Option",{attrs:{value:"notemp"}},[t._v(t._s(t.$L("\u975E\u4E34\u65F6\u5E10\u53F7")))])],1)],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u5728\u804C\u72B6\u6001"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5728\u804C")},model:{value:t.keys.disable,callback:function(a){t.$set(t.keys,"disable",a)},expression:"keys.disable"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u5728\u804C")))]),e("Option",{attrs:{value:"yes"}},[t._v(t._s(t.$L("\u79BB\u804C")))]),e("Option",{attrs:{value:"all"}},[t._v(t._s(t.$L("\u5168\u90E8")))])],1)],1)]),t.checkinMac?e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("MAC\u5730\u5740"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{placeholder:t.$L("MAC\u5730\u5740"),clearable:""},model:{value:t.keys.checkin_mac,callback:function(a){t.$set(t.keys,"checkin_mac",a)},expression:"keys.checkin_mac"}})],1)]):e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u90AE\u7BB1\u8BA4\u8BC1"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5168\u90E8")},model:{value:t.keys.email_verity,callback:function(a){t.$set(t.keys,"email_verity",a)},expression:"keys.email_verity"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u5168\u90E8")))]),e("Option",{attrs:{value:"yes"}},[t._v(t._s(t.$L("\u5DF2\u90AE\u7BB1\u8BA4\u8BC1")))]),e("Option",{attrs:{value:"no"}},[t._v(t._s(t.$L("\u672A\u90AE\u7BB1\u8BA4\u8BC1")))])],1)],1)]),e("li",{staticClass:"search-button"},[e("Tooltip",{attrs:{theme:"light",placement:"bottom","transfer-class-name":"search-button-clear",transfer:""}},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("\u641C\u7D22")))]),e("div",{attrs:{slot:"content"},slot:"content"},[t.keyIs?e("Button",{attrs:{type:"text"},on:{click:function(a){t.keyIs=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u7B5B\u9009")))]):e("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("\u5237\u65B0")))])],1)],1)],1)])]),e("div",{staticClass:"table-page-box"},[e("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),e("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowPortrait,"page-size-opts":[10,20,30,50,100],"show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":t.setPage,"on-page-size-change":t.setPageSize}})],1)])]),e("Modal",{attrs:{title:t.$L(t.departmentData.id>0?"\u4FEE\u6539\u90E8\u95E8":"\u65B0\u5EFA\u90E8\u95E8"),"mask-closable":!1},model:{value:t.departmentShow,callback:function(a){t.departmentShow=a},expression:"departmentShow"}},[e("Form",{ref:"addProject",attrs:{model:t.departmentData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{prop:"name",label:t.$L("\u90E8\u95E8\u540D\u79F0")}},[e("Input",{attrs:{type:"text",placeholder:t.$L("\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0")},model:{value:t.departmentData.name,callback:function(a){t.$set(t.departmentData,"name",a)},expression:"departmentData.name"}})],1),e("FormItem",{attrs:{prop:"parent_id",label:t.$L("\u4E0A\u7EA7\u90E8\u95E8")}},[e("Select",{attrs:{disabled:t.departmentParentDisabled,placeholder:t.$L("\u8BF7\u9009\u62E9\u4E0A\u7EA7\u90E8\u95E8")},model:{value:t.departmentData.parent_id,callback:function(a){t.$set(t.departmentData,"parent_id",a)},expression:"departmentData.parent_id"}},[e("Option",{attrs:{value:0}},[t._v(t._s(t.$L("\u9ED8\u8BA4\u90E8\u95E8")))]),t._l(t.departmentList,function(a,i){return a.parent_id==0&&a.id!=t.departmentData.id?e("Option",{key:i,attrs:{value:a.id,label:a.name}},[t._v("\xA0\xA0\xA0\xA0"+t._s(a.name))]):t._e()})],2),t.departmentParentDisabled?e("div",{staticClass:"form-tip",staticStyle:{"margin-bottom":"-16px"}},[t._v(t._s(t.$L("\u542B\u6709\u5B50\u90E8\u95E8\u65E0\u6CD5\u4FEE\u6539\u4E0A\u7EA7\u90E8\u95E8")))]):t._e()],1),e("FormItem",{attrs:{prop:"owner_userid",label:t.$L("\u90E8\u95E8\u8D1F\u8D23\u4EBA")}},[e("UserSelect",{attrs:{"multiple-max":1,title:t.$L("\u8BF7\u9009\u62E9\u90E8\u95E8\u8D1F\u8D23\u4EBA")},model:{value:t.departmentData.owner_userid,callback:function(a){t.$set(t.departmentData,"owner_userid",a)},expression:"departmentData.owner_userid"}})],1),t.departmentData.id==0?[e("Divider",{attrs:{orientation:"left"}},[t._v(t._s(t.$L("\u7FA4\u7EC4\u8BBE\u7F6E")))]),e("FormItem",{attrs:{prop:"dialog_group",label:t.$L("\u90E8\u95E8\u7FA4\u804A")}},[e("RadioGroup",{model:{value:t.departmentData.dialog_group,callback:function(a){t.$set(t.departmentData,"dialog_group",a)},expression:"departmentData.dialog_group"}},[e("Radio",{attrs:{label:"new"}},[t._v(t._s(t.$L("\u521B\u5EFA\u90E8\u95E8\u7FA4")))]),e("Radio",{attrs:{label:"use"}},[t._v(t._s(t.$L("\u4F7F\u7528\u73B0\u6709\u7FA4")))])],1)],1),t.departmentData.dialog_group==="use"?e("FormItem",{attrs:{prop:"dialog_useid",label:t.$L("\u9009\u62E9\u7FA4\u7EC4")}},[e("Select",{attrs:{filterable:"","remote-method":t.dialogRemote,placeholder:t.$L("\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22\u7FA4"),loading:t.dialogLoad},model:{value:t.departmentData.dialog_useid,callback:function(a){t.$set(t.departmentData,"dialog_useid",a)},expression:"departmentData.dialog_useid"}},t._l(t.dialogList,function(a,i){return e("Option",{key:i,attrs:{value:a.id,label:a.name}},[e("div",{staticClass:"team-department-add-dialog-group"},[e("div",{staticClass:"dialog-name"},[t._v(t._s(a.name))]),e("UserAvatar",{attrs:{userid:a.owner_id,size:20}})],1)])}),1),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u4EC5\u652F\u6301\u9009\u62E9\u4E2A\u4EBA\u7FA4\u8F6C\u4E3A\u90E8\u95E8\u7FA4")))])],1):t._e()]:t._e()],2),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.departmentShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.departmentLoading>0},on:{click:t.onSaveDepartment}},[t._v(t._s(t.$L(t.departmentData.id>0?"\u4FDD\u5B58":"\u65B0\u5EFA")))])],1)],1),e("Modal",{attrs:{title:t.$L("\u4FEE\u6539\u7B7E\u5230MAC\u5730\u5740")},model:{value:t.checkinMacEditShow,callback:function(a){t.checkinMacEditShow=a},expression:"checkinMacEditShow"}},[e("Form",{attrs:{model:t.checkinMacEditData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[t._v(t._s(t.$L(`\u6B63\u5728\u8FDB\u884C\u5E10\u53F7\u3010ID:${t.checkinMacEditData.userid}\uFF0C${t.checkinMacEditData.nickname}\u3011MAC\u5730\u5740\u4FEE\u6539\u3002`)))]),e("Row",{staticClass:"team-department-checkin-item"},[e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u8BBE\u5907MAC\u5730\u5740")))]),e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u5907\u6CE8")))])],1),t._l(t.checkinMacEditData.checkin_macs,function(a,i){return e("Row",{key:i,staticClass:"team-department-checkin-item"},[e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u8BBE\u5907MAC\u5730\u5740"),clearable:""},on:{"on-clear":function(n){return t.delCheckinDatum(i)}},model:{value:a.mac,callback:function(n){t.$set(a,"mac",n)},expression:"item.mac"}})],1),e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:100,placeholder:t.$L("\u5907\u6CE8")},model:{value:a.remark,callback:function(n){t.$set(a,"remark",n)},expression:"item.remark"}})],1)],1)}),e("Button",{attrs:{type:"default",icon:"md-add"},on:{click:t.addCheckinDatum}},[t._v(t._s(t.$L("\u6DFB\u52A0\u8BBE\u5907")))])],2),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.checkinMacEditShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.checkinMacEditLoading>0},on:{click:function(a){return t.operationUser(t.checkinMacEditData,!0)}}},[t._v(t._s(t.$L("\u786E\u5B9A\u4FEE\u6539")))])],1)],1),e("Modal",{attrs:{title:t.$L("\u4FEE\u6539\u90E8\u95E8")},model:{value:t.departmentEditShow,callback:function(a){t.departmentEditShow=a},expression:"departmentEditShow"}},[e("Form",{attrs:{model:t.departmentEditData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[t._v(t._s(t.$L(`\u6B63\u5728\u8FDB\u884C\u5E10\u53F7\u3010ID:${t.departmentEditData.userid}\uFF0C${t.departmentEditData.nickname}\u3011\u90E8\u95E8\u4FEE\u6539\u3002`)))]),e("FormItem",{attrs:{label:t.$L("\u4FEE\u6539\u90E8\u95E8")}},[e("Select",{attrs:{multiple:"","multiple-max":10,placeholder:t.$L("\u7559\u7A7A\u4E3A\u9ED8\u8BA4\u90E8\u95E8")},model:{value:t.departmentEditData.department,callback:function(a){t.$set(t.departmentEditData,"department",a)},expression:"departmentEditData.department"}},t._l(t.departmentList,function(a,i){return e("Option",{key:i,attrs:{value:a.id}},[t._v(t._s(a.name))])}),1)],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.departmentEditShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.departmentEditLoading>0},on:{click:function(a){return t.operationUser(t.departmentEditData,!0)}}},[t._v(t._s(t.$L("\u786E\u5B9A\u4FEE\u6539")))])],1)],1),e("Modal",{attrs:{title:t.$L("\u64CD\u4F5C\u79BB\u804C")},model:{value:t.disableShow,callback:function(a){t.disableShow=a},expression:"disableShow"}},[e("Form",{attrs:{model:t.disableData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[t._v(t._s(t.$L(`\u6B63\u5728\u8FDB\u884C\u5E10\u53F7\u3010ID:${t.disableData.userid}\uFF0C${t.disableData.nickname}\u3011\u79BB\u804C\u64CD\u4F5C\u3002`)))]),e("FormItem",{attrs:{label:t.$L("\u79BB\u804C\u65F6\u95F4")}},[e("DatePicker",{ref:"disableTime",staticStyle:{width:"100%"},attrs:{editable:!1,placeholder:t.$L("\u9009\u62E9\u79BB\u804C\u65F6\u95F4"),options:t.disableOptions,format:"yyyy/MM/dd HH:mm",type:"datetime"},model:{value:t.disableData.disable_time,callback:function(a){t.$set(t.disableData,"disable_time",a)},expression:"disableData.disable_time"}})],1),e("FormItem",{attrs:{label:t.$L("\u4EA4\u63A5\u4EBA")}},[e("UserSelect",{attrs:{"disabled-choice":[t.disableData.userid],"multiple-max":1,title:t.$L("\u9009\u62E9\u4EA4\u63A5\u4EBA")},model:{value:t.disableData.transfer_userid,callback:function(a){t.$set(t.disableData,"transfer_userid",a)},expression:"disableData.transfer_userid"}}),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L(`${t.disableData.nickname} \u8D1F\u8D23\u7684\u90E8\u95E8\u3001\u9879\u76EE\u3001\u4EFB\u52A1\u548C\u6587\u4EF6\u5C06\u79FB\u4EA4\u7ED9\u4EA4\u63A5\u4EBA\uFF1B\u540C\u65F6\u9000\u51FA\u6240\u6709\u7FA4\uFF08\u5982\u679C\u662F\u7FA4\u4E3B\u5219\u8F6C\u8BA9\u7ED9\u4EA4\u63A5\u4EBA\uFF09`)))])],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.disableShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Poptip",{staticStyle:{"margin-left":"8px"},attrs:{confirm:"",placement:"bottom","ok-text":t.$L("\u786E\u5B9A"),"cancel-text":t.$L("\u53D6\u6D88"),transfer:""},on:{"on-ok":function(a){return t.operationUser(t.disableData,!0)}}},[e("div",{attrs:{slot:"title"},slot:"title"},[e("p",[t._v(t._s(t.$L("\u6CE8\u610F\uFF1A\u79BB\u804C\u64CD\u4F5C\u4E0D\u53EF\u9006\uFF01")))])]),e("Button",{attrs:{type:"primary",loading:t.disableLoading>0}},[t._v(t._s(t.$L("\u786E\u5B9A\u79BB\u804C")))])],1)],1)],1)],1)},m=[];const u={name:"TeamManagement",components:{UserSelect:l},props:{checkinMac:{type:Boolean,default:!1}},data(){return{loadIng:0,minBox:!1,minWidth:0,keys:{},keyIs:!1,columns:[{title:"ID",key:"userid",width:80,render:(t,{row:s,column:e})=>t("TableAction",{props:{column:e,align:"left"}},[t("div",s.userid)])},{title:this.$L("\u90AE\u7BB1"),key:"email",minWidth:160,render:(t,{row:s})=>{const e=[t("AutoTip",s.email)],{email_verity:a,identity:i,disable_at:n,is_principal:c}=s;return a&&e.push(t("Icon",{props:{type:"md-mail"}})),c&&e.push(t("Tag",{props:{color:"blue"}},this.$L("\u8D1F\u8D23\u4EBA"))),i.includes("ldap")&&e.push(t("Tag",{props:{color:"orange"}},"LDAP")),i.includes("admin")&&e.push(t("Tag",{props:{color:"warning"}},this.$L("\u7BA1\u7406\u5458"))),i.includes("temp")&&e.push(t("Tag",{props:{color:"success"}},this.$L("\u4E34\u65F6"))),i.includes("disable")&&e.push(t("Tooltip",{props:{content:this.$L("\u79BB\u804C\u65F6\u95F4")+": "+n}},[t("Tag",{props:{color:"error"}},this.$L("\u79BB\u804C"))])),t("div",{class:"team-email"},e)}},{title:this.$L("\u7535\u8BDD"),key:"tel",minWidth:80,render:(t,{row:s})=>t("QuickEdit",{props:{value:s.tel},on:{"on-update":(e,a)=>{this.operationUser({userid:s.userid,tel:e},!0).finally(a)}}},[t("AutoTip",s.tel||"-")])},{title:this.$L("\u6635\u79F0"),key:"nickname",minWidth:80,render:(t,{row:s})=>t("QuickEdit",{props:{value:s.nickname_original},on:{"on-update":(e,a)=>{this.operationUser({userid:s.userid,nickname:e},!0).finally(a)}}},[t("AutoTip",s.nickname_original||"-")])},{title:this.$L("\u804C\u4F4D/\u804C\u79F0"),key:"profession",minWidth:80,render:(t,{row:s})=>t("QuickEdit",{props:{value:s.profession},on:{"on-update":(e,a)=>{this.operationUser({userid:s.userid,profession:e},!0).finally(a)}}},[t("AutoTip",s.profession||"-")])},{title:this.$L("\u90E8\u95E8"),key:"department",minWidth:80,render:(t,{row:s})=>{let e=[];if(s.department.some(a=>{const i=this.departmentList.find(n=>n.id==a);i&&e.push(i.name)}),e.length===0)return t("div",this.$L("\u9ED8\u8BA4\u90E8\u95E8"));{const a=[];return a.push(t("span",{domProps:{title:e[0]}},e[0])),e.length>1&&(e=e.splice(1),a.push(t("ETooltip",[t("div",{slot:"content",domProps:{innerHTML:e.join("
")}}),t("div",{class:"department-tag-num"},` +${e.length}`)]))),t("div",{class:"team-table-department-warp"},a)}}},{title:this.$L("\u6700\u540E\u5728\u7EBF"),key:"line_at",width:168},{title:this.$L("\u64CD\u4F5C"),align:"center",width:100,render:(t,s)=>{const e=s.row.identity,a=[];e.includes("admin")?a.push(t("EDropdownItem",{props:{command:"clearadmin"}},[t("div",this.$L("\u53D6\u6D88\u7BA1\u7406\u5458"))])):a.push(t("EDropdownItem",{props:{command:"setadmin"}},[t("div",this.$L("\u8BBE\u4E3A\u7BA1\u7406\u5458"))])),e.includes("temp")?a.push(t("EDropdownItem",{props:{command:"cleartemp"}},[t("div",this.$L("\u53D6\u6D88\u4E34\u65F6\u8EAB\u4EFD"))])):a.push(t("EDropdownItem",{props:{command:"settemp"}},[t("div",this.$L("\u8BBE\u4E3A\u4E34\u65F6\u5E10\u53F7"))])),a.push(t("EDropdownItem",{props:{command:"email"}},[t("div",this.$L("\u4FEE\u6539\u90AE\u7BB1"))])),a.push(t("EDropdownItem",{props:{command:"password"}},[t("div",this.$L("\u4FEE\u6539\u5BC6\u7801"))])),this.checkinMac&&a.push(t("EDropdownItem",{props:{command:"checkin_mac"}},[t("div",this.$L("\u4FEE\u6539MAC"))])),a.push(t("EDropdownItem",{props:{command:"department"}},[t("div",this.$L("\u4FEE\u6539\u90E8\u95E8"))])),e.includes("disable")?a.push(t("EDropdownItem",{props:{command:"cleardisable"},style:{color:"#f90"}},[t("div",this.$L("\u6062\u590D\u5E10\u53F7\uFF08\u5DF2\u79BB\u804C\uFF09"))])):a.push(t("EDropdownItem",{props:{command:"setdisable"},style:{color:"#f90"}},[t("div",this.$L("\u64CD\u4F5C\u79BB\u804C"))])),a.push(t("EDropdownItem",{props:{command:"delete"},style:{color:"red"}},[t("div",this.$L("\u5220\u9664"))]));const i=t("EDropdown",{props:{size:"small",trigger:"click"},on:{command:n=>{this.dropUser(n,s.row)}}},[t("Button",{props:{type:"primary",size:"small"},style:{fontSize:"12px"}},this.$L("\u64CD\u4F5C")),t("EDropdownMenu",{slot:"dropdown"},[a])]);return t("TableAction",{props:{column:s.column}},[i])}}],list:[],page:1,pageSize:20,total:0,noText:"",checkinMacEditShow:!1,checkinMacEditLoading:0,checkinMacEditData:{},departmentEditShow:!1,departmentEditLoading:0,departmentEditData:{},disableShow:!1,disableLoading:0,disableData:{},disableOptions:{shortcuts:[{text:"12:00",value(){return $A.Date($A.formatDate("Y-m-d 12:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:"17:00",value(){return $A.Date($A.formatDate("Y-m-d 17:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:"18:00",value(){return $A.Date($A.formatDate("Y-m-d 18:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:"19:00",value(){return $A.Date($A.formatDate("Y-m-d 19:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("\u73B0\u5728"),value(){return new Date},onClick:t=>{t.handlePickSuccess()}}]},departmentShow:!1,departmentLoading:0,departmentSelect:-1,departmentData:{id:0,name:"",parent_id:0,owner_userid:[],dialog_group:"new",dialog_useid:0},departmentList:[],dialogLoad:!1,dialogList:[],nullCheckinDatum:{mac:"",remark:""}}},created(){this.checkinMac&&this.columns.splice(5,0,{title:this.$L("MAC\u5730\u5740"),key:"checkin_mac",minWidth:80,render:(t,{row:s})=>{let e=$A.cloneJSON(s.checkin_macs||[]);if(e.length===0)return t("div","-");{const a=n=>n.remark?`${n.mac} (${n.remark})`:n.mac,i=[];return i.push(t("AutoTip",a(e[0]))),e.length>1&&(e=e.splice(1),i.push(t("ETooltip",[t("div",{slot:"content",domProps:{innerHTML:e.map(n=>a(n)).join("
")}}),t("div",{class:"department-tag-num"},` +${e.length}`)]))),t("div",{class:"team-table-department-warp"},i)}}})},mounted(){this.getLists(),this.getDepartmentLists()},watch:{keyIs(t){t||(this.keys={},this.setPage(1))},departmentSelect(){this.setPage(1)},windowPortrait:{handler(t){this.minBox=t},immediate:!0},minBox:{handler(){this.$nextTick(t=>{this.$el&&this.$el.clientWidth>0&&(this.minWidth=this.$el.clientWidth)})},immediate:!0}},computed:{departmentParentDisabled(){return!!(this.departmentData.id>0&&this.departmentList.find(({parent_id:t})=>t==this.departmentData.id))},userStyle({minWidth:t,windowPortrait:s}){const e={};return t>0&&s&&(e.minWidth=t-40+"px"),e}},methods:{onSearch(){this.page=1,this.getLists()},getLists(){this.loadIng++,this.keyIs=$A.objImplode(this.keys)!="";let t=$A.cloneJSON(this.keys);this.departmentSelect>-1&&(t=Object.assign(t,{department:this.departmentSelect})),this.$store.dispatch("call",{url:"users/lists",data:{keys:t,get_checkin_mac:this.checkinMac?1:0,page:Math.max(this.page,1),pagesize:Math.max($A.runNum(this.pageSize),10)}}).then(({data:s})=>{this.page=s.current_page,this.total=s.total,this.list=s.data,this.noText="\u6CA1\u6709\u76F8\u5173\u7684\u6210\u5458"}).catch(()=>{this.noText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(s=>{this.loadIng--})},setPage(t){this.page=t,this.getLists()},setPageSize(t){this.page=1,this.pageSize=t,this.getLists()},dropUser(t,s){switch(t){case"settemp":$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u5C06\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011\u8BBE\u4E3A\u4E34\u65F6\u5E10\u53F7\u5417\uFF1F\uFF08\u6CE8\uFF1A\u4E34\u65F6\u5E10\u53F7\u9650\u5236\u8BF7\u67E5\u770B\u7CFB\u7EDF\u8BBE\u7F6E\uFF09`,loading:!0,onOk:()=>this.operationUser({userid:s.userid,type:t})});break;case"cleartemp":$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u53D6\u6D88\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011\u4E34\u65F6\u8EAB\u4EFD\u5417\uFF1F`,loading:!0,onOk:()=>this.operationUser({userid:s.userid,type:t})});break;case"email":$A.modalInput({title:"\u4FEE\u6539\u90AE\u7BB1",placeholder:`\u8BF7\u8F93\u5165\u65B0\u7684\u90AE\u7BB1\uFF08${s.email}\uFF09`,onOk:a=>a?this.operationUser({userid:s.userid,email:a}):"\u8BF7\u8F93\u5165\u65B0\u7684\u90AE\u7BB1\u5730\u5740"});break;case"password":$A.modalInput({title:"\u4FEE\u6539\u5BC6\u7801",placeholder:"\u8BF7\u8F93\u5165\u65B0\u7684\u5BC6\u7801",onOk:a=>a?this.operationUser({userid:s.userid,password:a}):"\u8BF7\u8F93\u5165\u65B0\u7684\u5BC6\u7801"});break;case"checkin_mac":this.checkinMacEditData={type:"checkin_macs",userid:s.userid,nickname:s.nickname,checkin_macs:s.checkin_macs},this.checkinMacEditData.checkin_macs.length===0&&this.addCheckinDatum(),this.checkinMacEditShow=!0;break;case"department":let e=[];s.department.some(a=>{const i=this.departmentList.find(n=>n.id==a);i&&e.push(i.owner_userid===s.userid?`${i.name} (${this.$L("\u8D1F\u8D23\u4EBA")})`:i.name)}),this.departmentEditData={type:"department",userid:s.userid,nickname:s.nickname,department:s.department.map(a=>parseInt(a))},this.departmentEditShow=!0;break;case"setdisable":this.disableData={type:"setdisable",userid:s.userid,nickname:s.nickname},this.disableShow=!0;break;case"cleardisable":$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u6062\u590D\u5DF2\u79BB\u804C\u5E10\u53F7\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011\u5417\uFF1F\uFF08\u6CE8\uFF1A\u6B64\u64CD\u4F5C\u4EC5\u6062\u590D\u5E10\u53F7\u72B6\u6001\uFF0C\u65E0\u6CD5\u6062\u590D\u64CD\u4F5C\u79BB\u804C\u65F6\u79FB\u4EA4\u7684\u6570\u636E\uFF09`,loading:!0,onOk:()=>this.operationUser({userid:s.userid,type:t})});break;case"delete":$A.modalInput({title:`\u5220\u9664\u5E10\u53F7\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011`,placeholder:"\u8BF7\u8F93\u5165\u5220\u9664\u539F\u56E0",okText:"\u786E\u5B9A\u5220\u9664",onOk:a=>a?this.operationUser({userid:s.userid,type:t,delete_reason:a}):"\u5220\u9664\u539F\u56E0\u4E0D\u80FD\u4E3A\u7A7A"});break;default:this.operationUser({userid:s.userid,type:t},!0);break}},operationUser(t,s){return new Promise((e,a)=>{t.type=="checkin_macs"?this.checkinMacEditLoading++:t.type=="department"?this.departmentEditLoading++:t.type=="setdisable"?this.disableLoading++:this.loadIng++,this.$store.dispatch("call",{url:"users/operation",data:t}).then(({msg:i})=>{$A.messageSuccess(i),this.getLists(),e(),t.type=="checkin_macs"?this.checkinMacEditShow=!1:t.type=="department"?this.departmentEditShow=!1:t.type=="setdisable"&&(this.disableShow=!1)}).catch(({msg:i})=>{s===!0&&$A.modalError(i),this.getLists(),a(i)}).finally(i=>{t.type=="checkin_macs"?this.checkinMacEditLoading--:t.type=="department"?this.departmentEditLoading--:t.type=="setdisable"?this.disableLoading--:this.loadIng--})})},getDepartmentLists(){this.departmentLoading++,this.$store.dispatch("call",{url:"users/department/list"}).then(({data:t})=>{this.departmentList=[],this.generateDepartmentList(t,0,1)}).finally(t=>{this.departmentLoading--})},generateDepartmentList(t,s,e){t.some(a=>{a.parent_id==s&&(this.departmentList.push(Object.assign(a,{level:e+1})),this.generateDepartmentList(t,a.id,e+1))})},onShowDepartment(t){this.departmentData=Object.assign({id:0,name:"",parent_id:0,owner_userid:[],dialog_group:"new"},t||{}),this.departmentShow=!0},onSaveDepartment(){this.departmentLoading++,this.$store.dispatch("call",{url:"users/department/add",data:Object.assign(this.departmentData,{owner_userid:this.departmentData.owner_userid[0]})}).then(({msg:t})=>{$A.messageSuccess(t),this.getDepartmentLists(),this.getLists(),this.departmentShow=!1}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.departmentLoading--})},onSelectDepartment(t){if(this.windowPortrait&&(this.minBox=!0),this.departmentSelect===t){this.departmentSelect=-1;return}this.departmentSelect=t},onOpDepartment(t){if($A.leftExists(t,"add_"))this.onShowDepartment({parent_id:parseInt(t.substr(4))});else if($A.leftExists(t,"edit_")){const s=this.departmentList.find(({id:e})=>e===parseInt(t.substr(5)));s&&this.onShowDepartment(s)}else if($A.leftExists(t,"del_")){const s=this.departmentList.find(({id:e})=>e===parseInt(t.substr(4)));s&&$A.modalConfirm({title:this.$L("\u5220\u9664\u90E8\u95E8"),content:`
${this.$L(`\u4F60\u786E\u5B9A\u8981\u5220\u9664\u3010${s.name}\u3011\u90E8\u95E8\u5417\uFF1F`)}
${this.$L("\u6CE8\u610F\uFF1A\u6B64\u64CD\u4F5C\u4E0D\u53EF\u6062\u590D\uFF0C\u90E8\u95E8\u4E0B\u7684\u6210\u5458\u5C06\u79FB\u81F3\u9ED8\u8BA4\u90E8\u95E8\u3002")}
`,language:!1,loading:!0,onOk:()=>new Promise((e,a)=>{this.$store.dispatch("call",{url:"users/department/del",data:{id:s.id}}).then(({msg:i})=>{s.id===this.departmentSelect&&(this.departmentSelect=-1),e(i),this.getDepartmentLists()}).catch(({msg:i})=>{a(i)})})})}},dialogRemote(t){t!==""?(this.dialogLoad=!0,this.$store.dispatch("call",{url:"dialog/group/searchuser",data:{key:t}}).then(({data:s})=>{this.dialogList=s.list}).finally(s=>{this.dialogLoad=!1})):this.dialogList=[]},addCheckinDatum(){this.checkinMacEditData.checkin_macs.push($A.cloneJSON(this.nullCheckinDatum))},delCheckinDatum(t){this.checkinMacEditData.checkin_macs.splice(t,1),this.checkinMacEditData.checkin_macs.length===0&&this.addCheckinDatum()}}},r={};var h=d(u,p,m,!1,_,null,null,null);function _(t){for(let s in r)this[s]=r[s]}var b=function(){return h.exports}(),f=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("Modal",{attrs:{title:t.$L("\u5BFC\u51FA\u7B7E\u5230\u6570\u636E"),"mask-closable":!1},model:{value:t.show,callback:function(a){t.show=a},expression:"show"}},[e("Form",{ref:"export",attrs:{model:t.formData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u5BFC\u51FA\u6210\u5458")}},[e("UserSelect",{attrs:{"multiple-max":100,"avatar-name":"","show-disable":"",title:t.$L("\u8BF7\u9009\u62E9\u6210\u5458")},model:{value:t.formData.userid,callback:function(a){t.$set(t.formData,"userid",a)},expression:"formData.userid"}}),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6BCF\u6B21\u6700\u591A\u9009\u62E9\u5BFC\u51FA100\u4E2A\u6210\u5458")))])],1),e("FormItem",{attrs:{label:t.$L("\u7B7E\u5230\u65E5\u671F")}},[e("DatePicker",{staticStyle:{width:"100%"},attrs:{type:"daterange",format:"yyyy/MM/dd",placeholder:t.$L("\u8BF7\u9009\u62E9\u7B7E\u5230\u65E5\u671F")},model:{value:t.formData.date,callback:function(a){t.$set(t.formData,"date",a)},expression:"formData.date"}}),e("div",{staticClass:"form-tip checkin-export-quick-select"},[e("span",[t._v(t._s(t.$L("\u5FEB\u6377\u9009\u62E9"))+":")]),e("em",{on:{click:function(a){t.formData.date=t.dateShortcuts("prev")}}},[t._v(t._s(t.$L("\u4E0A\u4E2A\u6708")))]),e("em",{on:{click:function(a){t.formData.date=t.dateShortcuts("this")}}},[t._v(t._s(t.$L("\u8FD9\u4E2A\u6708")))])])],1),e("FormItem",{attrs:{label:t.$L("\u73ED\u6B21\u65F6\u95F4")}},[e("TimePicker",{staticStyle:{width:"100%"},attrs:{type:"timerange",format:"HH:mm",placeholder:t.$L("\u8BF7\u9009\u62E9\u73ED\u6B21\u65F6\u95F4")},model:{value:t.formData.time,callback:function(a){t.$set(t.formData,"time",a)},expression:"formData.time"}}),e("div",{staticClass:"form-tip checkin-export-quick-select"},[e("span",[t._v(t._s(t.$L("\u5FEB\u6377\u9009\u62E9"))+":")]),e("em",{on:{click:function(a){t.formData.time=["8:30","18:00"]}}},[t._v("8:30-18:00")]),e("em",{on:{click:function(a){t.formData.time=["9:00","18:00"]}}},[t._v("9:00-18:00")]),e("em",{on:{click:function(a){t.formData.time=["9:30","18:00"]}}},[t._v("9:30-18:30")])])],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.show=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onExport}},[t._v(t._s(t.$L("\u5BFC\u51FA")))])],1)],1)},v=[];const $={name:"CheckinExport",components:{UserSelect:l},props:{value:{type:Boolean,default:!1}},data(){return{show:this.value,loadIng:0,formData:{userid:[],date:[],time:[]}}},watch:{value(t){this.show=t},show(t){this.value!==t&&this.$emit("input",t)}},methods:{dateShortcuts(t){if(t==="prev")return[$A.getSpecifyDate("\u4E0A\u4E2A\u6708"),$A.getSpecifyDate("\u4E0A\u4E2A\u6708\u7ED3\u675F")];if(t==="this")return[$A.getSpecifyDate("\u672C\u6708"),$A.getSpecifyDate("\u672C\u6708\u7ED3\u675F")]},onExport(){this.loadIng>0||(this.loadIng++,this.$store.dispatch("call",{url:"system/checkin/export",data:this.formData}).then(({data:t})=>{this.show=!1,this.$store.dispatch("downUrl",{url:t.url})}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.loadIng--}))}}},o={};var k=d($,f,v,!1,g,null,null,null);function g(t){for(let s in o)this[s]=o[s]}var y=function(){return k.exports}();export{y as C,b as T}; diff --git a/public/js/build/DialogWrapper.6fc580d0.css b/public/js/build/DialogWrapper.5e691503.css similarity index 99% rename from public/js/build/DialogWrapper.6fc580d0.css rename to public/js/build/DialogWrapper.5e691503.css index 3ce8f57fa..dbe76c86e 100644 --- a/public/js/build/DialogWrapper.6fc580d0.css +++ b/public/js/build/DialogWrapper.5e691503.css @@ -1 +1 @@ -body.dark-mode-reverse .markdown-body pre code.hljs{display:block;overflow-x:auto}body.dark-mode-reverse .markdown-body .hljs{color:#abb2bf;background:#282c34}body.dark-mode-reverse .markdown-body .hljs-keyword,body.dark-mode-reverse .markdown-body .hljs-operator,body.dark-mode-reverse .markdown-body .hljs-pattern-match{color:#f92672}body.dark-mode-reverse .markdown-body .hljs-function,body.dark-mode-reverse .markdown-body .hljs-pattern-match .hljs-constructor{color:#61aeee}body.dark-mode-reverse .markdown-body .hljs-function .hljs-params{color:#a6e22e}body.dark-mode-reverse .markdown-body .hljs-function .hljs-params .hljs-typing{color:#fd971f}body.dark-mode-reverse .markdown-body .hljs-module-access .hljs-module{color:#7e57c2}body.dark-mode-reverse .markdown-body .hljs-constructor{color:#e2b93d}body.dark-mode-reverse .markdown-body .hljs-constructor .hljs-string{color:#9ccc65}body.dark-mode-reverse .markdown-body .hljs-comment,body.dark-mode-reverse .markdown-body .hljs-quote{color:#b18eb1;font-style:italic}body.dark-mode-reverse .markdown-body .hljs-doctag,body.dark-mode-reverse .markdown-body .hljs-formula{color:#c678dd}body.dark-mode-reverse .markdown-body .hljs-deletion,body.dark-mode-reverse .markdown-body .hljs-name,body.dark-mode-reverse .markdown-body .hljs-section,body.dark-mode-reverse .markdown-body .hljs-selector-tag,body.dark-mode-reverse .markdown-body .hljs-subst{color:#e06c75}body.dark-mode-reverse .markdown-body .hljs-literal{color:#56b6c2}body.dark-mode-reverse .markdown-body .hljs-addition,body.dark-mode-reverse .markdown-body .hljs-attribute,body.dark-mode-reverse .markdown-body .hljs-meta .hljs-string,body.dark-mode-reverse .markdown-body .hljs-regexp,body.dark-mode-reverse .markdown-body .hljs-string{color:#98c379}body.dark-mode-reverse .markdown-body .hljs-built_in,body.dark-mode-reverse .markdown-body .hljs-class .hljs-title,body.dark-mode-reverse .markdown-body .hljs-title.class_{color:#e6c07b}body.dark-mode-reverse .markdown-body .hljs-attr,body.dark-mode-reverse .markdown-body .hljs-number,body.dark-mode-reverse .markdown-body .hljs-selector-attr,body.dark-mode-reverse .markdown-body .hljs-selector-class,body.dark-mode-reverse .markdown-body .hljs-selector-pseudo,body.dark-mode-reverse .markdown-body .hljs-template-variable,body.dark-mode-reverse .markdown-body .hljs-type,body.dark-mode-reverse .markdown-body .hljs-variable{color:#d19a66}body.dark-mode-reverse .markdown-body .hljs-bullet,body.dark-mode-reverse .markdown-body .hljs-link,body.dark-mode-reverse .markdown-body .hljs-meta,body.dark-mode-reverse .markdown-body .hljs-selector-id,body.dark-mode-reverse .markdown-body .hljs-symbol,body.dark-mode-reverse .markdown-body .hljs-title{color:#61aeee}body.dark-mode-reverse .markdown-body .hljs-emphasis{font-style:italic}body.dark-mode-reverse .markdown-body .hljs-strong{font-weight:700}body.dark-mode-reverse .markdown-body .hljs-link{text-decoration:underline}body .markdown-body pre code.hljs{display:block;overflow-x:auto}body .markdown-body code.hljs::-webkit-scrollbar{height:4px}body .markdown-body .hljs{color:#383a42;background:#ffffff}body .markdown-body .hljs-comment,body .markdown-body .hljs-quote{color:#a0a1a7;font-style:italic}body .markdown-body .hljs-doctag,body .markdown-body .hljs-formula,body .markdown-body .hljs-keyword{color:#a626a4}body .markdown-body .hljs-deletion,body .markdown-body .hljs-name,body .markdown-body .hljs-section,body .markdown-body .hljs-selector-tag,body .markdown-body .hljs-subst{color:#e45649}body .markdown-body .hljs-literal{color:#0184bb}body .markdown-body .hljs-addition,body .markdown-body .hljs-attribute,body .markdown-body .hljs-meta .hljs-string,body .markdown-body .hljs-regexp,body .markdown-body .hljs-string{color:#50a14f}body .markdown-body .hljs-attr,body .markdown-body .hljs-number,body .markdown-body .hljs-selector-attr,body .markdown-body .hljs-selector-class,body .markdown-body .hljs-selector-pseudo,body .markdown-body .hljs-template-variable,body .markdown-body .hljs-type,body .markdown-body .hljs-variable{color:#986801}body .markdown-body .hljs-bullet,body .markdown-body .hljs-link,body .markdown-body .hljs-meta,body .markdown-body .hljs-selector-id,body .markdown-body .hljs-symbol,body .markdown-body .hljs-title{color:#4078f2}body .markdown-body .hljs-built_in,body .markdown-body .hljs-class .hljs-title,body .markdown-body .hljs-title.class_{color:#c18401}body .markdown-body .hljs-emphasis{font-style:italic}body .markdown-body .hljs-strong{font-weight:700}body .markdown-body .hljs-link{text-decoration:underline}body.dark-mode-reverse .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(80, 80, 80, .3);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}body .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(125, 125, 125, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);background-color:var(--color-canvas-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;appearance:none}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type=a]{list-style-type:lower-alpha}.markdown-body ol[type=A]{list-style-type:upper-alpha}.markdown-body ol[type=i]{list-style-type:lower-roman}.markdown-body ol[type=I]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}body.dark-mode-reverse .markdown-body{color:#fff}body.dark-mode-reverse .markdown-body .highlight pre,body.dark-mode-reverse .markdown-body pre{background-color:#282c34}body .markdown-body{color:#303133;background-color:transparent;font-size:14px;overflow:auto}body .markdown-body p{white-space:pre-wrap}body .markdown-body ol{list-style-type:decimal}body .markdown-body ul{list-style-type:disc}body .markdown-body pre code,body .markdown-body pre tt{line-height:1.65}body .markdown-body .highlight pre,body .markdown-body pre{background-color:#fff}body .markdown-body code.hljs{padding:0}body .markdown-body .code-block-wrapper{position:relative;padding-top:24px}body .markdown-body .code-block-header{position:absolute;top:5px;right:0;width:100%;padding:0 1rem;display:flex;justify-content:flex-end;align-items:center;color:#b3b3b3}body .markdown-body .code-block-header__copy{cursor:pointer;margin-left:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}body .markdown-body .code-block-header__copy:hover{color:#65a665}body .markdown-body .input-blink{width:3px;animation:blink-animate 1.2s infinite steps(1,start)}body .self .markdown-body{color:#fff}@keyframes blink-animate{0%,to{background-color:currentColor}50%{background-color:transparent}} +body.dark-mode-reverse .markdown-body pre code.hljs{display:block;overflow-x:auto}body.dark-mode-reverse .markdown-body .hljs{color:#abb2bf;background:#282c34}body.dark-mode-reverse .markdown-body .hljs-keyword,body.dark-mode-reverse .markdown-body .hljs-operator,body.dark-mode-reverse .markdown-body .hljs-pattern-match{color:#f92672}body.dark-mode-reverse .markdown-body .hljs-function,body.dark-mode-reverse .markdown-body .hljs-pattern-match .hljs-constructor{color:#61aeee}body.dark-mode-reverse .markdown-body .hljs-function .hljs-params{color:#a6e22e}body.dark-mode-reverse .markdown-body .hljs-function .hljs-params .hljs-typing{color:#fd971f}body.dark-mode-reverse .markdown-body .hljs-module-access .hljs-module{color:#7e57c2}body.dark-mode-reverse .markdown-body .hljs-constructor{color:#e2b93d}body.dark-mode-reverse .markdown-body .hljs-constructor .hljs-string{color:#9ccc65}body.dark-mode-reverse .markdown-body .hljs-comment,body.dark-mode-reverse .markdown-body .hljs-quote{color:#b18eb1;font-style:italic}body.dark-mode-reverse .markdown-body .hljs-doctag,body.dark-mode-reverse .markdown-body .hljs-formula{color:#c678dd}body.dark-mode-reverse .markdown-body .hljs-deletion,body.dark-mode-reverse .markdown-body .hljs-name,body.dark-mode-reverse .markdown-body .hljs-section,body.dark-mode-reverse .markdown-body .hljs-selector-tag,body.dark-mode-reverse .markdown-body .hljs-subst{color:#e06c75}body.dark-mode-reverse .markdown-body .hljs-literal{color:#56b6c2}body.dark-mode-reverse .markdown-body .hljs-addition,body.dark-mode-reverse .markdown-body .hljs-attribute,body.dark-mode-reverse .markdown-body .hljs-meta .hljs-string,body.dark-mode-reverse .markdown-body .hljs-regexp,body.dark-mode-reverse .markdown-body .hljs-string{color:#98c379}body.dark-mode-reverse .markdown-body .hljs-built_in,body.dark-mode-reverse .markdown-body .hljs-class .hljs-title,body.dark-mode-reverse .markdown-body .hljs-title.class_{color:#e6c07b}body.dark-mode-reverse .markdown-body .hljs-attr,body.dark-mode-reverse .markdown-body .hljs-number,body.dark-mode-reverse .markdown-body .hljs-selector-attr,body.dark-mode-reverse .markdown-body .hljs-selector-class,body.dark-mode-reverse .markdown-body .hljs-selector-pseudo,body.dark-mode-reverse .markdown-body .hljs-template-variable,body.dark-mode-reverse .markdown-body .hljs-type,body.dark-mode-reverse .markdown-body .hljs-variable{color:#d19a66}body.dark-mode-reverse .markdown-body .hljs-bullet,body.dark-mode-reverse .markdown-body .hljs-link,body.dark-mode-reverse .markdown-body .hljs-meta,body.dark-mode-reverse .markdown-body .hljs-selector-id,body.dark-mode-reverse .markdown-body .hljs-symbol,body.dark-mode-reverse .markdown-body .hljs-title{color:#61aeee}body.dark-mode-reverse .markdown-body .hljs-emphasis{font-style:italic}body.dark-mode-reverse .markdown-body .hljs-strong{font-weight:700}body.dark-mode-reverse .markdown-body .hljs-link{text-decoration:underline}body .markdown-body pre code.hljs{display:block;overflow-x:auto}body .markdown-body code.hljs::-webkit-scrollbar{height:4px}body .markdown-body .hljs{color:#383a42;background:#ffffff}body .markdown-body .hljs-comment,body .markdown-body .hljs-quote{color:#a0a1a7;font-style:italic}body .markdown-body .hljs-doctag,body .markdown-body .hljs-formula,body .markdown-body .hljs-keyword{color:#a626a4}body .markdown-body .hljs-deletion,body .markdown-body .hljs-name,body .markdown-body .hljs-section,body .markdown-body .hljs-selector-tag,body .markdown-body .hljs-subst{color:#e45649}body .markdown-body .hljs-literal{color:#0184bb}body .markdown-body .hljs-addition,body .markdown-body .hljs-attribute,body .markdown-body .hljs-meta .hljs-string,body .markdown-body .hljs-regexp,body .markdown-body .hljs-string{color:#50a14f}body .markdown-body .hljs-attr,body .markdown-body .hljs-number,body .markdown-body .hljs-selector-attr,body .markdown-body .hljs-selector-class,body .markdown-body .hljs-selector-pseudo,body .markdown-body .hljs-template-variable,body .markdown-body .hljs-type,body .markdown-body .hljs-variable{color:#986801}body .markdown-body .hljs-bullet,body .markdown-body .hljs-link,body .markdown-body .hljs-meta,body .markdown-body .hljs-selector-id,body .markdown-body .hljs-symbol,body .markdown-body .hljs-title{color:#4078f2}body .markdown-body .hljs-built_in,body .markdown-body .hljs-class .hljs-title,body .markdown-body .hljs-title.class_{color:#c18401}body .markdown-body .hljs-emphasis{font-style:italic}body .markdown-body .hljs-strong{font-weight:700}body .markdown-body .hljs-link{text-decoration:underline}body.dark-mode-reverse .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(80, 80, 80, .3);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}body .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(125, 125, 125, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);background-color:var(--color-canvas-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;appearance:none}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type=a]{list-style-type:lower-alpha}.markdown-body ol[type=A]{list-style-type:upper-alpha}.markdown-body ol[type=i]{list-style-type:lower-roman}.markdown-body ol[type=I]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}body.dark-mode-reverse .markdown-body{color:#fff}body.dark-mode-reverse .markdown-body .highlight pre,body.dark-mode-reverse .markdown-body pre{background-color:#282c34}body .markdown-body{color:#303133;background-color:transparent;font-size:14px;overflow:auto}body .markdown-body p{white-space:pre-wrap}body .markdown-body ol{list-style-type:decimal}body .markdown-body ul{list-style-type:disc}body .markdown-body pre code,body .markdown-body pre tt{line-height:1.65}body .markdown-body .highlight pre,body .markdown-body pre{background-color:#fff}body .markdown-body code.hljs{padding:0}body .markdown-body .code-block-wrapper{position:relative;padding-top:24px}body .markdown-body .code-block-header{position:absolute;top:5px;right:0;width:100%;padding:0 1rem;display:flex;justify-content:flex-end;align-items:center;color:#b3b3b3}body .markdown-body .code-block-header__copy{cursor:pointer;margin-left:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}body .markdown-body .code-block-header__copy:hover{color:#65a665}body .markdown-body .input-blink{width:2px;transform:scaleY(.8);animation:blink-animate 1.2s infinite steps(1,start)}body .self .markdown-body{color:#fff}@keyframes blink-animate{0%,to{background-color:currentColor}50%{background-color:transparent}} diff --git a/public/js/build/DialogWrapper.3d496047.js b/public/js/build/DialogWrapper.82ad3d72.js similarity index 98% rename from public/js/build/DialogWrapper.3d496047.js rename to public/js/build/DialogWrapper.82ad3d72.js index 2128a9b28..f3a6c47f0 100644 --- a/public/js/build/DialogWrapper.3d496047.js +++ b/public/js/build/DialogWrapper.82ad3d72.js @@ -1,4 +1,4 @@ -import{n as Qt,g as qu,c as Ya,m as Wn,a as Nl,b as _i,d as Yu,e as zu,r as $u,V as Hu,i as Vu}from"./app.92886a13.js";import{l as za}from"./longpress.43ca7fd9.js";import{D as Wu}from"./index.59fcdb40.js";import{U as Ol}from"./UserSelect.b15e51af.js";import{I as Ku}from"./ImgUpload.93ec23c5.js";import Qu from"./details.5089c029.js";var Xu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"common-circle",style:e.style,attrs:{"data-id":e.percent}},[n("svg",{attrs:{viewBox:"0 0 28 28"}},[n("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[n("path",{staticClass:"common-circle-path",attrs:{d:"M-500-100h997V48h-997z"}}),n("g",{attrs:{"fill-rule":"nonzero"}},[n("path",{staticClass:"common-circle-g-path-ring",attrs:{"stroke-width":"3",d:"M14 25.5c6.351 0 11.5-5.149 11.5-11.5S20.351 2.5 14 2.5 2.5 7.649 2.5 14 7.649 25.5 14 25.5z"}}),n("path",{staticClass:"common-circle-g-path-core",attrs:{d:e.arc(e.args)}})])])])])},ju=[];const Zu={name:"WCircle",props:{percent:{type:Number,default:0},size:{type:Number,default:120}},computed:{style(){let{size:e}=this;return this.isNumeric(e)&&(e+="px"),{width:e,height:e}},args(){const{percent:e}=this;let t=Math.min(360,360/100*e);return t==360?t=0:t==0&&(t=360),{x:14,y:14,r:14,start:360,end:t}}},methods:{isNumeric(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)},point(e,t,n,r){return[(e+Math.sin(r)*n).toFixed(2),(t-Math.cos(r)*n).toFixed(2)]},full(e,t,n,r){return r<=0?`M ${e-n} ${t} A ${n} ${n} 0 1 1 ${e+n} ${t} A ${n} ${n} 1 1 1 ${e-n} ${t} Z`:`M ${e-n} ${t} A ${n} ${n} 0 1 1 ${e+n} ${t} A ${n} ${n} 1 1 1 ${e-n} ${t} M ${e-r} ${t} A ${r} ${r} 0 1 1 ${e+r} ${t} A ${r} ${r} 1 1 1 ${e-r} ${t} Z`},part(e,t,n,r,a,l){const[u,c]=[a/360*2*Math.PI,l/360*2*Math.PI],d=[this.point(e,t,r,u),this.point(e,t,n,u),this.point(e,t,n,c),this.point(e,t,r,c)],f=c-u>Math.PI?"1":"0";return`M ${d[0][0]} ${d[0][1]} L ${d[1][0]} ${d[1][1]} A ${n} ${n} 0 ${f} 1 ${d[2][0]} ${d[2][1]} L ${d[3][0]} ${d[3][1]} A ${r} ${r} 0 ${f} 0 ${d[0][0]} ${d[0][1]} Z`},arc(e){const{x:t=0,y:n=0}=e;let{R:r=0,r:a=0,start:l,end:u}=e;return[r,a]=[Math.max(r,a),Math.min(r,a)],r<=0?"":l!==+l||u!==+u?this.full(t,n,r,a):Math.abs(l-u)<1e-6?"":Math.abs(l-u)%360<1e-6?this.full(t,n,r,a):([l,u]=[l%360,u%360],l>u&&(u+=360),this.part(t,n,r,a,l,u))}}},vs={};var Ju=Qt(Zu,Xu,ju,!1,ed,null,null,null);function ed(e){for(let t in vs)this[t]=vs[t]}var td=function(){return Ju.exports}();var Je={};const nd="\xC1",rd="\xE1",id="\u0102",ad="\u0103",od="\u223E",sd="\u223F",ld="\u223E\u0333",cd="\xC2",ud="\xE2",dd="\xB4",_d="\u0410",pd="\u0430",md="\xC6",fd="\xE6",gd="\u2061",hd="\u{1D504}",Ed="\u{1D51E}",Sd="\xC0",bd="\xE0",vd="\u2135",Td="\u2135",yd="\u0391",Cd="\u03B1",Rd="\u0100",Nd="\u0101",Od="\u2A3F",Ad="&",Id="&",Dd="\u2A55",xd="\u2A53",wd="\u2227",Md="\u2A5C",Ld="\u2A58",kd="\u2A5A",Pd="\u2220",Bd="\u29A4",Fd="\u2220",Ud="\u29A8",Gd="\u29A9",qd="\u29AA",Yd="\u29AB",zd="\u29AC",$d="\u29AD",Hd="\u29AE",Vd="\u29AF",Wd="\u2221",Kd="\u221F",Qd="\u22BE",Xd="\u299D",jd="\u2222",Zd="\xC5",Jd="\u237C",e_="\u0104",t_="\u0105",n_="\u{1D538}",r_="\u{1D552}",i_="\u2A6F",a_="\u2248",o_="\u2A70",s_="\u224A",l_="\u224B",c_="'",u_="\u2061",d_="\u2248",__="\u224A",p_="\xC5",m_="\xE5",f_="\u{1D49C}",g_="\u{1D4B6}",h_="\u2254",E_="*",S_="\u2248",b_="\u224D",v_="\xC3",T_="\xE3",y_="\xC4",C_="\xE4",R_="\u2233",N_="\u2A11",O_="\u224C",A_="\u03F6",I_="\u2035",D_="\u223D",x_="\u22CD",w_="\u2216",M_="\u2AE7",L_="\u22BD",k_="\u2305",P_="\u2306",B_="\u2305",F_="\u23B5",U_="\u23B6",G_="\u224C",q_="\u0411",Y_="\u0431",z_="\u201E",$_="\u2235",H_="\u2235",V_="\u2235",W_="\u29B0",K_="\u03F6",Q_="\u212C",X_="\u212C",j_="\u0392",Z_="\u03B2",J_="\u2136",ep="\u226C",tp="\u{1D505}",np="\u{1D51F}",rp="\u22C2",ip="\u25EF",ap="\u22C3",op="\u2A00",sp="\u2A01",lp="\u2A02",cp="\u2A06",up="\u2605",dp="\u25BD",_p="\u25B3",pp="\u2A04",mp="\u22C1",fp="\u22C0",gp="\u290D",hp="\u29EB",Ep="\u25AA",Sp="\u25B4",bp="\u25BE",vp="\u25C2",Tp="\u25B8",yp="\u2423",Cp="\u2592",Rp="\u2591",Np="\u2593",Op="\u2588",Ap="=\u20E5",Ip="\u2261\u20E5",Dp="\u2AED",xp="\u2310",wp="\u{1D539}",Mp="\u{1D553}",Lp="\u22A5",kp="\u22A5",Pp="\u22C8",Bp="\u29C9",Fp="\u2510",Up="\u2555",Gp="\u2556",qp="\u2557",Yp="\u250C",zp="\u2552",$p="\u2553",Hp="\u2554",Vp="\u2500",Wp="\u2550",Kp="\u252C",Qp="\u2564",Xp="\u2565",jp="\u2566",Zp="\u2534",Jp="\u2567",em="\u2568",tm="\u2569",nm="\u229F",rm="\u229E",im="\u22A0",am="\u2518",om="\u255B",sm="\u255C",lm="\u255D",cm="\u2514",um="\u2558",dm="\u2559",_m="\u255A",pm="\u2502",mm="\u2551",fm="\u253C",gm="\u256A",hm="\u256B",Em="\u256C",Sm="\u2524",bm="\u2561",vm="\u2562",Tm="\u2563",ym="\u251C",Cm="\u255E",Rm="\u255F",Nm="\u2560",Om="\u2035",Am="\u02D8",Im="\u02D8",Dm="\xA6",xm="\u{1D4B7}",wm="\u212C",Mm="\u204F",Lm="\u223D",km="\u22CD",Pm="\u29C5",Bm="\\",Fm="\u27C8",Um="\u2022",Gm="\u2022",qm="\u224E",Ym="\u2AAE",zm="\u224F",$m="\u224E",Hm="\u224F",Vm="\u0106",Wm="\u0107",Km="\u2A44",Qm="\u2A49",Xm="\u2A4B",jm="\u2229",Zm="\u22D2",Jm="\u2A47",ef="\u2A40",tf="\u2145",nf="\u2229\uFE00",rf="\u2041",af="\u02C7",of="\u212D",sf="\u2A4D",lf="\u010C",cf="\u010D",uf="\xC7",df="\xE7",_f="\u0108",pf="\u0109",mf="\u2230",ff="\u2A4C",gf="\u2A50",hf="\u010A",Ef="\u010B",Sf="\xB8",bf="\xB8",vf="\u29B2",Tf="\xA2",yf="\xB7",Cf="\xB7",Rf="\u{1D520}",Nf="\u212D",Of="\u0427",Af="\u0447",If="\u2713",Df="\u2713",xf="\u03A7",wf="\u03C7",Mf="\u02C6",Lf="\u2257",kf="\u21BA",Pf="\u21BB",Bf="\u229B",Ff="\u229A",Uf="\u229D",Gf="\u2299",qf="\xAE",Yf="\u24C8",zf="\u2296",$f="\u2295",Hf="\u2297",Vf="\u25CB",Wf="\u29C3",Kf="\u2257",Qf="\u2A10",Xf="\u2AEF",jf="\u29C2",Zf="\u2232",Jf="\u201D",e0="\u2019",t0="\u2663",n0="\u2663",r0=":",i0="\u2237",a0="\u2A74",o0="\u2254",s0="\u2254",l0=",",c0="@",u0="\u2201",d0="\u2218",_0="\u2201",p0="\u2102",m0="\u2245",f0="\u2A6D",g0="\u2261",h0="\u222E",E0="\u222F",S0="\u222E",b0="\u{1D554}",v0="\u2102",T0="\u2210",y0="\u2210",C0="\xA9",R0="\xA9",N0="\u2117",O0="\u2233",A0="\u21B5",I0="\u2717",D0="\u2A2F",x0="\u{1D49E}",w0="\u{1D4B8}",M0="\u2ACF",L0="\u2AD1",k0="\u2AD0",P0="\u2AD2",B0="\u22EF",F0="\u2938",U0="\u2935",G0="\u22DE",q0="\u22DF",Y0="\u21B6",z0="\u293D",$0="\u2A48",H0="\u2A46",V0="\u224D",W0="\u222A",K0="\u22D3",Q0="\u2A4A",X0="\u228D",j0="\u2A45",Z0="\u222A\uFE00",J0="\u21B7",eg="\u293C",tg="\u22DE",ng="\u22DF",rg="\u22CE",ig="\u22CF",ag="\xA4",og="\u21B6",sg="\u21B7",lg="\u22CE",cg="\u22CF",ug="\u2232",dg="\u2231",_g="\u232D",pg="\u2020",mg="\u2021",fg="\u2138",gg="\u2193",hg="\u21A1",Eg="\u21D3",Sg="\u2010",bg="\u2AE4",vg="\u22A3",Tg="\u290F",yg="\u02DD",Cg="\u010E",Rg="\u010F",Ng="\u0414",Og="\u0434",Ag="\u2021",Ig="\u21CA",Dg="\u2145",xg="\u2146",wg="\u2911",Mg="\u2A77",Lg="\xB0",kg="\u2207",Pg="\u0394",Bg="\u03B4",Fg="\u29B1",Ug="\u297F",Gg="\u{1D507}",qg="\u{1D521}",Yg="\u2965",zg="\u21C3",$g="\u21C2",Hg="\xB4",Vg="\u02D9",Wg="\u02DD",Kg="`",Qg="\u02DC",Xg="\u22C4",jg="\u22C4",Zg="\u22C4",Jg="\u2666",eh="\u2666",th="\xA8",nh="\u2146",rh="\u03DD",ih="\u22F2",ah="\xF7",oh="\xF7",sh="\u22C7",lh="\u22C7",ch="\u0402",uh="\u0452",dh="\u231E",_h="\u230D",ph="$",mh="\u{1D53B}",fh="\u{1D555}",gh="\xA8",hh="\u02D9",Eh="\u20DC",Sh="\u2250",bh="\u2251",vh="\u2250",Th="\u2238",yh="\u2214",Ch="\u22A1",Rh="\u2306",Nh="\u222F",Oh="\xA8",Ah="\u21D3",Ih="\u21D0",Dh="\u21D4",xh="\u2AE4",wh="\u27F8",Mh="\u27FA",Lh="\u27F9",kh="\u21D2",Ph="\u22A8",Bh="\u21D1",Fh="\u21D5",Uh="\u2225",Gh="\u2913",qh="\u2193",Yh="\u2193",zh="\u21D3",$h="\u21F5",Hh="\u0311",Vh="\u21CA",Wh="\u21C3",Kh="\u21C2",Qh="\u2950",Xh="\u295E",jh="\u2956",Zh="\u21BD",Jh="\u295F",eE="\u2957",tE="\u21C1",nE="\u21A7",rE="\u22A4",iE="\u2910",aE="\u231F",oE="\u230C",sE="\u{1D49F}",lE="\u{1D4B9}",cE="\u0405",uE="\u0455",dE="\u29F6",_E="\u0110",pE="\u0111",mE="\u22F1",fE="\u25BF",gE="\u25BE",hE="\u21F5",EE="\u296F",SE="\u29A6",bE="\u040F",vE="\u045F",TE="\u27FF",yE="\xC9",CE="\xE9",RE="\u2A6E",NE="\u011A",OE="\u011B",AE="\xCA",IE="\xEA",DE="\u2256",xE="\u2255",wE="\u042D",ME="\u044D",LE="\u2A77",kE="\u0116",PE="\u0117",BE="\u2251",FE="\u2147",UE="\u2252",GE="\u{1D508}",qE="\u{1D522}",YE="\u2A9A",zE="\xC8",$E="\xE8",HE="\u2A96",VE="\u2A98",WE="\u2A99",KE="\u2208",QE="\u23E7",XE="\u2113",jE="\u2A95",ZE="\u2A97",JE="\u0112",eS="\u0113",tS="\u2205",nS="\u2205",rS="\u25FB",iS="\u2205",aS="\u25AB",oS="\u2004",sS="\u2005",lS="\u2003",cS="\u014A",uS="\u014B",dS="\u2002",_S="\u0118",pS="\u0119",mS="\u{1D53C}",fS="\u{1D556}",gS="\u22D5",hS="\u29E3",ES="\u2A71",SS="\u03B5",bS="\u0395",vS="\u03B5",TS="\u03F5",yS="\u2256",CS="\u2255",RS="\u2242",NS="\u2A96",OS="\u2A95",AS="\u2A75",IS="=",DS="\u2242",xS="\u225F",wS="\u21CC",MS="\u2261",LS="\u2A78",kS="\u29E5",PS="\u2971",BS="\u2253",FS="\u212F",US="\u2130",GS="\u2250",qS="\u2A73",YS="\u2242",zS="\u0397",$S="\u03B7",HS="\xD0",VS="\xF0",WS="\xCB",KS="\xEB",QS="\u20AC",XS="!",jS="\u2203",ZS="\u2203",JS="\u2130",eb="\u2147",tb="\u2147",nb="\u2252",rb="\u0424",ib="\u0444",ab="\u2640",ob="\uFB03",sb="\uFB00",lb="\uFB04",cb="\u{1D509}",ub="\u{1D523}",db="\uFB01",_b="\u25FC",pb="\u25AA",mb="fj",fb="\u266D",gb="\uFB02",hb="\u25B1",Eb="\u0192",Sb="\u{1D53D}",bb="\u{1D557}",vb="\u2200",Tb="\u2200",yb="\u22D4",Cb="\u2AD9",Rb="\u2131",Nb="\u2A0D",Ob="\xBD",Ab="\u2153",Ib="\xBC",Db="\u2155",xb="\u2159",wb="\u215B",Mb="\u2154",Lb="\u2156",kb="\xBE",Pb="\u2157",Bb="\u215C",Fb="\u2158",Ub="\u215A",Gb="\u215D",qb="\u215E",Yb="\u2044",zb="\u2322",$b="\u{1D4BB}",Hb="\u2131",Vb="\u01F5",Wb="\u0393",Kb="\u03B3",Qb="\u03DC",Xb="\u03DD",jb="\u2A86",Zb="\u011E",Jb="\u011F",ev="\u0122",tv="\u011C",nv="\u011D",rv="\u0413",iv="\u0433",av="\u0120",ov="\u0121",sv="\u2265",lv="\u2267",cv="\u2A8C",uv="\u22DB",dv="\u2265",_v="\u2267",pv="\u2A7E",mv="\u2AA9",fv="\u2A7E",gv="\u2A80",hv="\u2A82",Ev="\u2A84",Sv="\u22DB\uFE00",bv="\u2A94",vv="\u{1D50A}",Tv="\u{1D524}",yv="\u226B",Cv="\u22D9",Rv="\u22D9",Nv="\u2137",Ov="\u0403",Av="\u0453",Iv="\u2AA5",Dv="\u2277",xv="\u2A92",wv="\u2AA4",Mv="\u2A8A",Lv="\u2A8A",kv="\u2A88",Pv="\u2269",Bv="\u2A88",Fv="\u2269",Uv="\u22E7",Gv="\u{1D53E}",qv="\u{1D558}",Yv="`",zv="\u2265",$v="\u22DB",Hv="\u2267",Vv="\u2AA2",Wv="\u2277",Kv="\u2A7E",Qv="\u2273",Xv="\u{1D4A2}",jv="\u210A",Zv="\u2273",Jv="\u2A8E",eT="\u2A90",tT="\u2AA7",nT="\u2A7A",rT=">",iT=">",aT="\u226B",oT="\u22D7",sT="\u2995",lT="\u2A7C",cT="\u2A86",uT="\u2978",dT="\u22D7",_T="\u22DB",pT="\u2A8C",mT="\u2277",fT="\u2273",gT="\u2269\uFE00",hT="\u2269\uFE00",ET="\u02C7",ST="\u200A",bT="\xBD",vT="\u210B",TT="\u042A",yT="\u044A",CT="\u2948",RT="\u2194",NT="\u21D4",OT="\u21AD",AT="^",IT="\u210F",DT="\u0124",xT="\u0125",wT="\u2665",MT="\u2665",LT="\u2026",kT="\u22B9",PT="\u{1D525}",BT="\u210C",FT="\u210B",UT="\u2925",GT="\u2926",qT="\u21FF",YT="\u223B",zT="\u21A9",$T="\u21AA",HT="\u{1D559}",VT="\u210D",WT="\u2015",KT="\u2500",QT="\u{1D4BD}",XT="\u210B",jT="\u210F",ZT="\u0126",JT="\u0127",ey="\u224E",ty="\u224F",ny="\u2043",ry="\u2010",iy="\xCD",ay="\xED",oy="\u2063",sy="\xCE",ly="\xEE",cy="\u0418",uy="\u0438",dy="\u0130",_y="\u0415",py="\u0435",my="\xA1",fy="\u21D4",gy="\u{1D526}",hy="\u2111",Ey="\xCC",Sy="\xEC",by="\u2148",vy="\u2A0C",Ty="\u222D",yy="\u29DC",Cy="\u2129",Ry="\u0132",Ny="\u0133",Oy="\u012A",Ay="\u012B",Iy="\u2111",Dy="\u2148",xy="\u2110",wy="\u2111",My="\u0131",Ly="\u2111",ky="\u22B7",Py="\u01B5",By="\u21D2",Fy="\u2105",Uy="\u221E",Gy="\u29DD",qy="\u0131",Yy="\u22BA",zy="\u222B",$y="\u222C",Hy="\u2124",Vy="\u222B",Wy="\u22BA",Ky="\u22C2",Qy="\u2A17",Xy="\u2A3C",jy="\u2063",Zy="\u2062",Jy="\u0401",e1="\u0451",t1="\u012E",n1="\u012F",r1="\u{1D540}",i1="\u{1D55A}",a1="\u0399",o1="\u03B9",s1="\u2A3C",l1="\xBF",c1="\u{1D4BE}",u1="\u2110",d1="\u2208",_1="\u22F5",p1="\u22F9",m1="\u22F4",f1="\u22F3",g1="\u2208",h1="\u2062",E1="\u0128",S1="\u0129",b1="\u0406",v1="\u0456",T1="\xCF",y1="\xEF",C1="\u0134",R1="\u0135",N1="\u0419",O1="\u0439",A1="\u{1D50D}",I1="\u{1D527}",D1="\u0237",x1="\u{1D541}",w1="\u{1D55B}",M1="\u{1D4A5}",L1="\u{1D4BF}",k1="\u0408",P1="\u0458",B1="\u0404",F1="\u0454",U1="\u039A",G1="\u03BA",q1="\u03F0",Y1="\u0136",z1="\u0137",$1="\u041A",H1="\u043A",V1="\u{1D50E}",W1="\u{1D528}",K1="\u0138",Q1="\u0425",X1="\u0445",j1="\u040C",Z1="\u045C",J1="\u{1D542}",eC="\u{1D55C}",tC="\u{1D4A6}",nC="\u{1D4C0}",rC="\u21DA",iC="\u0139",aC="\u013A",oC="\u29B4",sC="\u2112",lC="\u039B",cC="\u03BB",uC="\u27E8",dC="\u27EA",_C="\u2991",pC="\u27E8",mC="\u2A85",fC="\u2112",gC="\xAB",hC="\u21E4",EC="\u291F",SC="\u2190",bC="\u219E",vC="\u21D0",TC="\u291D",yC="\u21A9",CC="\u21AB",RC="\u2939",NC="\u2973",OC="\u21A2",AC="\u2919",IC="\u291B",DC="\u2AAB",xC="\u2AAD",wC="\u2AAD\uFE00",MC="\u290C",LC="\u290E",kC="\u2772",PC="{",BC="[",FC="\u298B",UC="\u298F",GC="\u298D",qC="\u013D",YC="\u013E",zC="\u013B",$C="\u013C",HC="\u2308",VC="{",WC="\u041B",KC="\u043B",QC="\u2936",XC="\u201C",jC="\u201E",ZC="\u2967",JC="\u294B",eR="\u21B2",tR="\u2264",nR="\u2266",rR="\u27E8",iR="\u21E4",aR="\u2190",oR="\u2190",sR="\u21D0",lR="\u21C6",cR="\u21A2",uR="\u2308",dR="\u27E6",_R="\u2961",pR="\u2959",mR="\u21C3",fR="\u230A",gR="\u21BD",hR="\u21BC",ER="\u21C7",SR="\u2194",bR="\u2194",vR="\u21D4",TR="\u21C6",yR="\u21CB",CR="\u21AD",RR="\u294E",NR="\u21A4",OR="\u22A3",AR="\u295A",IR="\u22CB",DR="\u29CF",xR="\u22B2",wR="\u22B4",MR="\u2951",LR="\u2960",kR="\u2958",PR="\u21BF",BR="\u2952",FR="\u21BC",UR="\u2A8B",GR="\u22DA",qR="\u2264",YR="\u2266",zR="\u2A7D",$R="\u2AA8",HR="\u2A7D",VR="\u2A7F",WR="\u2A81",KR="\u2A83",QR="\u22DA\uFE00",XR="\u2A93",jR="\u2A85",ZR="\u22D6",JR="\u22DA",eN="\u2A8B",tN="\u22DA",nN="\u2266",rN="\u2276",iN="\u2276",aN="\u2AA1",oN="\u2272",sN="\u2A7D",lN="\u2272",cN="\u297C",uN="\u230A",dN="\u{1D50F}",_N="\u{1D529}",pN="\u2276",mN="\u2A91",fN="\u2962",gN="\u21BD",hN="\u21BC",EN="\u296A",SN="\u2584",bN="\u0409",vN="\u0459",TN="\u21C7",yN="\u226A",CN="\u22D8",RN="\u231E",NN="\u21DA",ON="\u296B",AN="\u25FA",IN="\u013F",DN="\u0140",xN="\u23B0",wN="\u23B0",MN="\u2A89",LN="\u2A89",kN="\u2A87",PN="\u2268",BN="\u2A87",FN="\u2268",UN="\u22E6",GN="\u27EC",qN="\u21FD",YN="\u27E6",zN="\u27F5",$N="\u27F5",HN="\u27F8",VN="\u27F7",WN="\u27F7",KN="\u27FA",QN="\u27FC",XN="\u27F6",jN="\u27F6",ZN="\u27F9",JN="\u21AB",eO="\u21AC",tO="\u2985",nO="\u{1D543}",rO="\u{1D55D}",iO="\u2A2D",aO="\u2A34",oO="\u2217",sO="_",lO="\u2199",cO="\u2198",uO="\u25CA",dO="\u25CA",_O="\u29EB",pO="(",mO="\u2993",fO="\u21C6",gO="\u231F",hO="\u21CB",EO="\u296D",SO="\u200E",bO="\u22BF",vO="\u2039",TO="\u{1D4C1}",yO="\u2112",CO="\u21B0",RO="\u21B0",NO="\u2272",OO="\u2A8D",AO="\u2A8F",IO="[",DO="\u2018",xO="\u201A",wO="\u0141",MO="\u0142",LO="\u2AA6",kO="\u2A79",PO="<",BO="<",FO="\u226A",UO="\u22D6",GO="\u22CB",qO="\u22C9",YO="\u2976",zO="\u2A7B",$O="\u25C3",HO="\u22B4",VO="\u25C2",WO="\u2996",KO="\u294A",QO="\u2966",XO="\u2268\uFE00",jO="\u2268\uFE00",ZO="\xAF",JO="\u2642",eA="\u2720",tA="\u2720",nA="\u21A6",rA="\u21A6",iA="\u21A7",aA="\u21A4",oA="\u21A5",sA="\u25AE",lA="\u2A29",cA="\u041C",uA="\u043C",dA="\u2014",_A="\u223A",pA="\u2221",mA="\u205F",fA="\u2133",gA="\u{1D510}",hA="\u{1D52A}",EA="\u2127",SA="\xB5",bA="*",vA="\u2AF0",TA="\u2223",yA="\xB7",CA="\u229F",RA="\u2212",NA="\u2238",OA="\u2A2A",AA="\u2213",IA="\u2ADB",DA="\u2026",xA="\u2213",wA="\u22A7",MA="\u{1D544}",LA="\u{1D55E}",kA="\u2213",PA="\u{1D4C2}",BA="\u2133",FA="\u223E",UA="\u039C",GA="\u03BC",qA="\u22B8",YA="\u22B8",zA="\u2207",HA="\u0143",VA="\u0144",WA="\u2220\u20D2",KA="\u2249",QA="\u2A70\u0338",XA="\u224B\u0338",jA="\u0149",ZA="\u2249",JA="\u266E",eI="\u2115",tI="\u266E",nI="\xA0",rI="\u224E\u0338",iI="\u224F\u0338",aI="\u2A43",oI="\u0147",sI="\u0148",lI="\u0145",cI="\u0146",uI="\u2247",dI="\u2A6D\u0338",_I="\u2A42",pI="\u041D",mI="\u043D",fI="\u2013",gI="\u2924",hI="\u2197",EI="\u21D7",SI="\u2197",bI="\u2260",vI="\u2250\u0338",TI="\u200B",yI="\u200B",CI="\u200B",RI="\u200B",NI="\u2262",OI="\u2928",AI="\u2242\u0338",II="\u226B",DI="\u226A",xI=` +import{n as Qt,g as qu,c as Ya,m as Wn,a as Nl,b as _i,d as Yu,e as zu,r as $u,V as Hu,i as Vu}from"./app.6cefc0c3.js";import{l as za}from"./longpress.43ca7fd9.js";import{D as Wu}from"./index.3aa9e3b4.js";import{U as Ol}from"./UserSelect.eb1bd6e3.js";import{I as Ku}from"./ImgUpload.030286eb.js";import Qu from"./details.bafc04c2.js";var Xu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"common-circle",style:e.style,attrs:{"data-id":e.percent}},[n("svg",{attrs:{viewBox:"0 0 28 28"}},[n("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[n("path",{staticClass:"common-circle-path",attrs:{d:"M-500-100h997V48h-997z"}}),n("g",{attrs:{"fill-rule":"nonzero"}},[n("path",{staticClass:"common-circle-g-path-ring",attrs:{"stroke-width":"3",d:"M14 25.5c6.351 0 11.5-5.149 11.5-11.5S20.351 2.5 14 2.5 2.5 7.649 2.5 14 7.649 25.5 14 25.5z"}}),n("path",{staticClass:"common-circle-g-path-core",attrs:{d:e.arc(e.args)}})])])])])},ju=[];const Zu={name:"WCircle",props:{percent:{type:Number,default:0},size:{type:Number,default:120}},computed:{style(){let{size:e}=this;return this.isNumeric(e)&&(e+="px"),{width:e,height:e}},args(){const{percent:e}=this;let t=Math.min(360,360/100*e);return t==360?t=0:t==0&&(t=360),{x:14,y:14,r:14,start:360,end:t}}},methods:{isNumeric(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)},point(e,t,n,r){return[(e+Math.sin(r)*n).toFixed(2),(t-Math.cos(r)*n).toFixed(2)]},full(e,t,n,r){return r<=0?`M ${e-n} ${t} A ${n} ${n} 0 1 1 ${e+n} ${t} A ${n} ${n} 1 1 1 ${e-n} ${t} Z`:`M ${e-n} ${t} A ${n} ${n} 0 1 1 ${e+n} ${t} A ${n} ${n} 1 1 1 ${e-n} ${t} M ${e-r} ${t} A ${r} ${r} 0 1 1 ${e+r} ${t} A ${r} ${r} 1 1 1 ${e-r} ${t} Z`},part(e,t,n,r,a,l){const[u,c]=[a/360*2*Math.PI,l/360*2*Math.PI],d=[this.point(e,t,r,u),this.point(e,t,n,u),this.point(e,t,n,c),this.point(e,t,r,c)],f=c-u>Math.PI?"1":"0";return`M ${d[0][0]} ${d[0][1]} L ${d[1][0]} ${d[1][1]} A ${n} ${n} 0 ${f} 1 ${d[2][0]} ${d[2][1]} L ${d[3][0]} ${d[3][1]} A ${r} ${r} 0 ${f} 0 ${d[0][0]} ${d[0][1]} Z`},arc(e){const{x:t=0,y:n=0}=e;let{R:r=0,r:a=0,start:l,end:u}=e;return[r,a]=[Math.max(r,a),Math.min(r,a)],r<=0?"":l!==+l||u!==+u?this.full(t,n,r,a):Math.abs(l-u)<1e-6?"":Math.abs(l-u)%360<1e-6?this.full(t,n,r,a):([l,u]=[l%360,u%360],l>u&&(u+=360),this.part(t,n,r,a,l,u))}}},vs={};var Ju=Qt(Zu,Xu,ju,!1,ed,null,null,null);function ed(e){for(let t in vs)this[t]=vs[t]}var td=function(){return Ju.exports}();var Je={};const nd="\xC1",rd="\xE1",id="\u0102",ad="\u0103",od="\u223E",sd="\u223F",ld="\u223E\u0333",cd="\xC2",ud="\xE2",dd="\xB4",_d="\u0410",pd="\u0430",md="\xC6",fd="\xE6",gd="\u2061",hd="\u{1D504}",Ed="\u{1D51E}",Sd="\xC0",bd="\xE0",vd="\u2135",Td="\u2135",yd="\u0391",Cd="\u03B1",Rd="\u0100",Nd="\u0101",Od="\u2A3F",Ad="&",Id="&",Dd="\u2A55",xd="\u2A53",wd="\u2227",Md="\u2A5C",Ld="\u2A58",kd="\u2A5A",Pd="\u2220",Bd="\u29A4",Fd="\u2220",Ud="\u29A8",Gd="\u29A9",qd="\u29AA",Yd="\u29AB",zd="\u29AC",$d="\u29AD",Hd="\u29AE",Vd="\u29AF",Wd="\u2221",Kd="\u221F",Qd="\u22BE",Xd="\u299D",jd="\u2222",Zd="\xC5",Jd="\u237C",e_="\u0104",t_="\u0105",n_="\u{1D538}",r_="\u{1D552}",i_="\u2A6F",a_="\u2248",o_="\u2A70",s_="\u224A",l_="\u224B",c_="'",u_="\u2061",d_="\u2248",__="\u224A",p_="\xC5",m_="\xE5",f_="\u{1D49C}",g_="\u{1D4B6}",h_="\u2254",E_="*",S_="\u2248",b_="\u224D",v_="\xC3",T_="\xE3",y_="\xC4",C_="\xE4",R_="\u2233",N_="\u2A11",O_="\u224C",A_="\u03F6",I_="\u2035",D_="\u223D",x_="\u22CD",w_="\u2216",M_="\u2AE7",L_="\u22BD",k_="\u2305",P_="\u2306",B_="\u2305",F_="\u23B5",U_="\u23B6",G_="\u224C",q_="\u0411",Y_="\u0431",z_="\u201E",$_="\u2235",H_="\u2235",V_="\u2235",W_="\u29B0",K_="\u03F6",Q_="\u212C",X_="\u212C",j_="\u0392",Z_="\u03B2",J_="\u2136",ep="\u226C",tp="\u{1D505}",np="\u{1D51F}",rp="\u22C2",ip="\u25EF",ap="\u22C3",op="\u2A00",sp="\u2A01",lp="\u2A02",cp="\u2A06",up="\u2605",dp="\u25BD",_p="\u25B3",pp="\u2A04",mp="\u22C1",fp="\u22C0",gp="\u290D",hp="\u29EB",Ep="\u25AA",Sp="\u25B4",bp="\u25BE",vp="\u25C2",Tp="\u25B8",yp="\u2423",Cp="\u2592",Rp="\u2591",Np="\u2593",Op="\u2588",Ap="=\u20E5",Ip="\u2261\u20E5",Dp="\u2AED",xp="\u2310",wp="\u{1D539}",Mp="\u{1D553}",Lp="\u22A5",kp="\u22A5",Pp="\u22C8",Bp="\u29C9",Fp="\u2510",Up="\u2555",Gp="\u2556",qp="\u2557",Yp="\u250C",zp="\u2552",$p="\u2553",Hp="\u2554",Vp="\u2500",Wp="\u2550",Kp="\u252C",Qp="\u2564",Xp="\u2565",jp="\u2566",Zp="\u2534",Jp="\u2567",em="\u2568",tm="\u2569",nm="\u229F",rm="\u229E",im="\u22A0",am="\u2518",om="\u255B",sm="\u255C",lm="\u255D",cm="\u2514",um="\u2558",dm="\u2559",_m="\u255A",pm="\u2502",mm="\u2551",fm="\u253C",gm="\u256A",hm="\u256B",Em="\u256C",Sm="\u2524",bm="\u2561",vm="\u2562",Tm="\u2563",ym="\u251C",Cm="\u255E",Rm="\u255F",Nm="\u2560",Om="\u2035",Am="\u02D8",Im="\u02D8",Dm="\xA6",xm="\u{1D4B7}",wm="\u212C",Mm="\u204F",Lm="\u223D",km="\u22CD",Pm="\u29C5",Bm="\\",Fm="\u27C8",Um="\u2022",Gm="\u2022",qm="\u224E",Ym="\u2AAE",zm="\u224F",$m="\u224E",Hm="\u224F",Vm="\u0106",Wm="\u0107",Km="\u2A44",Qm="\u2A49",Xm="\u2A4B",jm="\u2229",Zm="\u22D2",Jm="\u2A47",ef="\u2A40",tf="\u2145",nf="\u2229\uFE00",rf="\u2041",af="\u02C7",of="\u212D",sf="\u2A4D",lf="\u010C",cf="\u010D",uf="\xC7",df="\xE7",_f="\u0108",pf="\u0109",mf="\u2230",ff="\u2A4C",gf="\u2A50",hf="\u010A",Ef="\u010B",Sf="\xB8",bf="\xB8",vf="\u29B2",Tf="\xA2",yf="\xB7",Cf="\xB7",Rf="\u{1D520}",Nf="\u212D",Of="\u0427",Af="\u0447",If="\u2713",Df="\u2713",xf="\u03A7",wf="\u03C7",Mf="\u02C6",Lf="\u2257",kf="\u21BA",Pf="\u21BB",Bf="\u229B",Ff="\u229A",Uf="\u229D",Gf="\u2299",qf="\xAE",Yf="\u24C8",zf="\u2296",$f="\u2295",Hf="\u2297",Vf="\u25CB",Wf="\u29C3",Kf="\u2257",Qf="\u2A10",Xf="\u2AEF",jf="\u29C2",Zf="\u2232",Jf="\u201D",e0="\u2019",t0="\u2663",n0="\u2663",r0=":",i0="\u2237",a0="\u2A74",o0="\u2254",s0="\u2254",l0=",",c0="@",u0="\u2201",d0="\u2218",_0="\u2201",p0="\u2102",m0="\u2245",f0="\u2A6D",g0="\u2261",h0="\u222E",E0="\u222F",S0="\u222E",b0="\u{1D554}",v0="\u2102",T0="\u2210",y0="\u2210",C0="\xA9",R0="\xA9",N0="\u2117",O0="\u2233",A0="\u21B5",I0="\u2717",D0="\u2A2F",x0="\u{1D49E}",w0="\u{1D4B8}",M0="\u2ACF",L0="\u2AD1",k0="\u2AD0",P0="\u2AD2",B0="\u22EF",F0="\u2938",U0="\u2935",G0="\u22DE",q0="\u22DF",Y0="\u21B6",z0="\u293D",$0="\u2A48",H0="\u2A46",V0="\u224D",W0="\u222A",K0="\u22D3",Q0="\u2A4A",X0="\u228D",j0="\u2A45",Z0="\u222A\uFE00",J0="\u21B7",eg="\u293C",tg="\u22DE",ng="\u22DF",rg="\u22CE",ig="\u22CF",ag="\xA4",og="\u21B6",sg="\u21B7",lg="\u22CE",cg="\u22CF",ug="\u2232",dg="\u2231",_g="\u232D",pg="\u2020",mg="\u2021",fg="\u2138",gg="\u2193",hg="\u21A1",Eg="\u21D3",Sg="\u2010",bg="\u2AE4",vg="\u22A3",Tg="\u290F",yg="\u02DD",Cg="\u010E",Rg="\u010F",Ng="\u0414",Og="\u0434",Ag="\u2021",Ig="\u21CA",Dg="\u2145",xg="\u2146",wg="\u2911",Mg="\u2A77",Lg="\xB0",kg="\u2207",Pg="\u0394",Bg="\u03B4",Fg="\u29B1",Ug="\u297F",Gg="\u{1D507}",qg="\u{1D521}",Yg="\u2965",zg="\u21C3",$g="\u21C2",Hg="\xB4",Vg="\u02D9",Wg="\u02DD",Kg="`",Qg="\u02DC",Xg="\u22C4",jg="\u22C4",Zg="\u22C4",Jg="\u2666",eh="\u2666",th="\xA8",nh="\u2146",rh="\u03DD",ih="\u22F2",ah="\xF7",oh="\xF7",sh="\u22C7",lh="\u22C7",ch="\u0402",uh="\u0452",dh="\u231E",_h="\u230D",ph="$",mh="\u{1D53B}",fh="\u{1D555}",gh="\xA8",hh="\u02D9",Eh="\u20DC",Sh="\u2250",bh="\u2251",vh="\u2250",Th="\u2238",yh="\u2214",Ch="\u22A1",Rh="\u2306",Nh="\u222F",Oh="\xA8",Ah="\u21D3",Ih="\u21D0",Dh="\u21D4",xh="\u2AE4",wh="\u27F8",Mh="\u27FA",Lh="\u27F9",kh="\u21D2",Ph="\u22A8",Bh="\u21D1",Fh="\u21D5",Uh="\u2225",Gh="\u2913",qh="\u2193",Yh="\u2193",zh="\u21D3",$h="\u21F5",Hh="\u0311",Vh="\u21CA",Wh="\u21C3",Kh="\u21C2",Qh="\u2950",Xh="\u295E",jh="\u2956",Zh="\u21BD",Jh="\u295F",eE="\u2957",tE="\u21C1",nE="\u21A7",rE="\u22A4",iE="\u2910",aE="\u231F",oE="\u230C",sE="\u{1D49F}",lE="\u{1D4B9}",cE="\u0405",uE="\u0455",dE="\u29F6",_E="\u0110",pE="\u0111",mE="\u22F1",fE="\u25BF",gE="\u25BE",hE="\u21F5",EE="\u296F",SE="\u29A6",bE="\u040F",vE="\u045F",TE="\u27FF",yE="\xC9",CE="\xE9",RE="\u2A6E",NE="\u011A",OE="\u011B",AE="\xCA",IE="\xEA",DE="\u2256",xE="\u2255",wE="\u042D",ME="\u044D",LE="\u2A77",kE="\u0116",PE="\u0117",BE="\u2251",FE="\u2147",UE="\u2252",GE="\u{1D508}",qE="\u{1D522}",YE="\u2A9A",zE="\xC8",$E="\xE8",HE="\u2A96",VE="\u2A98",WE="\u2A99",KE="\u2208",QE="\u23E7",XE="\u2113",jE="\u2A95",ZE="\u2A97",JE="\u0112",eS="\u0113",tS="\u2205",nS="\u2205",rS="\u25FB",iS="\u2205",aS="\u25AB",oS="\u2004",sS="\u2005",lS="\u2003",cS="\u014A",uS="\u014B",dS="\u2002",_S="\u0118",pS="\u0119",mS="\u{1D53C}",fS="\u{1D556}",gS="\u22D5",hS="\u29E3",ES="\u2A71",SS="\u03B5",bS="\u0395",vS="\u03B5",TS="\u03F5",yS="\u2256",CS="\u2255",RS="\u2242",NS="\u2A96",OS="\u2A95",AS="\u2A75",IS="=",DS="\u2242",xS="\u225F",wS="\u21CC",MS="\u2261",LS="\u2A78",kS="\u29E5",PS="\u2971",BS="\u2253",FS="\u212F",US="\u2130",GS="\u2250",qS="\u2A73",YS="\u2242",zS="\u0397",$S="\u03B7",HS="\xD0",VS="\xF0",WS="\xCB",KS="\xEB",QS="\u20AC",XS="!",jS="\u2203",ZS="\u2203",JS="\u2130",eb="\u2147",tb="\u2147",nb="\u2252",rb="\u0424",ib="\u0444",ab="\u2640",ob="\uFB03",sb="\uFB00",lb="\uFB04",cb="\u{1D509}",ub="\u{1D523}",db="\uFB01",_b="\u25FC",pb="\u25AA",mb="fj",fb="\u266D",gb="\uFB02",hb="\u25B1",Eb="\u0192",Sb="\u{1D53D}",bb="\u{1D557}",vb="\u2200",Tb="\u2200",yb="\u22D4",Cb="\u2AD9",Rb="\u2131",Nb="\u2A0D",Ob="\xBD",Ab="\u2153",Ib="\xBC",Db="\u2155",xb="\u2159",wb="\u215B",Mb="\u2154",Lb="\u2156",kb="\xBE",Pb="\u2157",Bb="\u215C",Fb="\u2158",Ub="\u215A",Gb="\u215D",qb="\u215E",Yb="\u2044",zb="\u2322",$b="\u{1D4BB}",Hb="\u2131",Vb="\u01F5",Wb="\u0393",Kb="\u03B3",Qb="\u03DC",Xb="\u03DD",jb="\u2A86",Zb="\u011E",Jb="\u011F",ev="\u0122",tv="\u011C",nv="\u011D",rv="\u0413",iv="\u0433",av="\u0120",ov="\u0121",sv="\u2265",lv="\u2267",cv="\u2A8C",uv="\u22DB",dv="\u2265",_v="\u2267",pv="\u2A7E",mv="\u2AA9",fv="\u2A7E",gv="\u2A80",hv="\u2A82",Ev="\u2A84",Sv="\u22DB\uFE00",bv="\u2A94",vv="\u{1D50A}",Tv="\u{1D524}",yv="\u226B",Cv="\u22D9",Rv="\u22D9",Nv="\u2137",Ov="\u0403",Av="\u0453",Iv="\u2AA5",Dv="\u2277",xv="\u2A92",wv="\u2AA4",Mv="\u2A8A",Lv="\u2A8A",kv="\u2A88",Pv="\u2269",Bv="\u2A88",Fv="\u2269",Uv="\u22E7",Gv="\u{1D53E}",qv="\u{1D558}",Yv="`",zv="\u2265",$v="\u22DB",Hv="\u2267",Vv="\u2AA2",Wv="\u2277",Kv="\u2A7E",Qv="\u2273",Xv="\u{1D4A2}",jv="\u210A",Zv="\u2273",Jv="\u2A8E",eT="\u2A90",tT="\u2AA7",nT="\u2A7A",rT=">",iT=">",aT="\u226B",oT="\u22D7",sT="\u2995",lT="\u2A7C",cT="\u2A86",uT="\u2978",dT="\u22D7",_T="\u22DB",pT="\u2A8C",mT="\u2277",fT="\u2273",gT="\u2269\uFE00",hT="\u2269\uFE00",ET="\u02C7",ST="\u200A",bT="\xBD",vT="\u210B",TT="\u042A",yT="\u044A",CT="\u2948",RT="\u2194",NT="\u21D4",OT="\u21AD",AT="^",IT="\u210F",DT="\u0124",xT="\u0125",wT="\u2665",MT="\u2665",LT="\u2026",kT="\u22B9",PT="\u{1D525}",BT="\u210C",FT="\u210B",UT="\u2925",GT="\u2926",qT="\u21FF",YT="\u223B",zT="\u21A9",$T="\u21AA",HT="\u{1D559}",VT="\u210D",WT="\u2015",KT="\u2500",QT="\u{1D4BD}",XT="\u210B",jT="\u210F",ZT="\u0126",JT="\u0127",ey="\u224E",ty="\u224F",ny="\u2043",ry="\u2010",iy="\xCD",ay="\xED",oy="\u2063",sy="\xCE",ly="\xEE",cy="\u0418",uy="\u0438",dy="\u0130",_y="\u0415",py="\u0435",my="\xA1",fy="\u21D4",gy="\u{1D526}",hy="\u2111",Ey="\xCC",Sy="\xEC",by="\u2148",vy="\u2A0C",Ty="\u222D",yy="\u29DC",Cy="\u2129",Ry="\u0132",Ny="\u0133",Oy="\u012A",Ay="\u012B",Iy="\u2111",Dy="\u2148",xy="\u2110",wy="\u2111",My="\u0131",Ly="\u2111",ky="\u22B7",Py="\u01B5",By="\u21D2",Fy="\u2105",Uy="\u221E",Gy="\u29DD",qy="\u0131",Yy="\u22BA",zy="\u222B",$y="\u222C",Hy="\u2124",Vy="\u222B",Wy="\u22BA",Ky="\u22C2",Qy="\u2A17",Xy="\u2A3C",jy="\u2063",Zy="\u2062",Jy="\u0401",e1="\u0451",t1="\u012E",n1="\u012F",r1="\u{1D540}",i1="\u{1D55A}",a1="\u0399",o1="\u03B9",s1="\u2A3C",l1="\xBF",c1="\u{1D4BE}",u1="\u2110",d1="\u2208",_1="\u22F5",p1="\u22F9",m1="\u22F4",f1="\u22F3",g1="\u2208",h1="\u2062",E1="\u0128",S1="\u0129",b1="\u0406",v1="\u0456",T1="\xCF",y1="\xEF",C1="\u0134",R1="\u0135",N1="\u0419",O1="\u0439",A1="\u{1D50D}",I1="\u{1D527}",D1="\u0237",x1="\u{1D541}",w1="\u{1D55B}",M1="\u{1D4A5}",L1="\u{1D4BF}",k1="\u0408",P1="\u0458",B1="\u0404",F1="\u0454",U1="\u039A",G1="\u03BA",q1="\u03F0",Y1="\u0136",z1="\u0137",$1="\u041A",H1="\u043A",V1="\u{1D50E}",W1="\u{1D528}",K1="\u0138",Q1="\u0425",X1="\u0445",j1="\u040C",Z1="\u045C",J1="\u{1D542}",eC="\u{1D55C}",tC="\u{1D4A6}",nC="\u{1D4C0}",rC="\u21DA",iC="\u0139",aC="\u013A",oC="\u29B4",sC="\u2112",lC="\u039B",cC="\u03BB",uC="\u27E8",dC="\u27EA",_C="\u2991",pC="\u27E8",mC="\u2A85",fC="\u2112",gC="\xAB",hC="\u21E4",EC="\u291F",SC="\u2190",bC="\u219E",vC="\u21D0",TC="\u291D",yC="\u21A9",CC="\u21AB",RC="\u2939",NC="\u2973",OC="\u21A2",AC="\u2919",IC="\u291B",DC="\u2AAB",xC="\u2AAD",wC="\u2AAD\uFE00",MC="\u290C",LC="\u290E",kC="\u2772",PC="{",BC="[",FC="\u298B",UC="\u298F",GC="\u298D",qC="\u013D",YC="\u013E",zC="\u013B",$C="\u013C",HC="\u2308",VC="{",WC="\u041B",KC="\u043B",QC="\u2936",XC="\u201C",jC="\u201E",ZC="\u2967",JC="\u294B",eR="\u21B2",tR="\u2264",nR="\u2266",rR="\u27E8",iR="\u21E4",aR="\u2190",oR="\u2190",sR="\u21D0",lR="\u21C6",cR="\u21A2",uR="\u2308",dR="\u27E6",_R="\u2961",pR="\u2959",mR="\u21C3",fR="\u230A",gR="\u21BD",hR="\u21BC",ER="\u21C7",SR="\u2194",bR="\u2194",vR="\u21D4",TR="\u21C6",yR="\u21CB",CR="\u21AD",RR="\u294E",NR="\u21A4",OR="\u22A3",AR="\u295A",IR="\u22CB",DR="\u29CF",xR="\u22B2",wR="\u22B4",MR="\u2951",LR="\u2960",kR="\u2958",PR="\u21BF",BR="\u2952",FR="\u21BC",UR="\u2A8B",GR="\u22DA",qR="\u2264",YR="\u2266",zR="\u2A7D",$R="\u2AA8",HR="\u2A7D",VR="\u2A7F",WR="\u2A81",KR="\u2A83",QR="\u22DA\uFE00",XR="\u2A93",jR="\u2A85",ZR="\u22D6",JR="\u22DA",eN="\u2A8B",tN="\u22DA",nN="\u2266",rN="\u2276",iN="\u2276",aN="\u2AA1",oN="\u2272",sN="\u2A7D",lN="\u2272",cN="\u297C",uN="\u230A",dN="\u{1D50F}",_N="\u{1D529}",pN="\u2276",mN="\u2A91",fN="\u2962",gN="\u21BD",hN="\u21BC",EN="\u296A",SN="\u2584",bN="\u0409",vN="\u0459",TN="\u21C7",yN="\u226A",CN="\u22D8",RN="\u231E",NN="\u21DA",ON="\u296B",AN="\u25FA",IN="\u013F",DN="\u0140",xN="\u23B0",wN="\u23B0",MN="\u2A89",LN="\u2A89",kN="\u2A87",PN="\u2268",BN="\u2A87",FN="\u2268",UN="\u22E6",GN="\u27EC",qN="\u21FD",YN="\u27E6",zN="\u27F5",$N="\u27F5",HN="\u27F8",VN="\u27F7",WN="\u27F7",KN="\u27FA",QN="\u27FC",XN="\u27F6",jN="\u27F6",ZN="\u27F9",JN="\u21AB",eO="\u21AC",tO="\u2985",nO="\u{1D543}",rO="\u{1D55D}",iO="\u2A2D",aO="\u2A34",oO="\u2217",sO="_",lO="\u2199",cO="\u2198",uO="\u25CA",dO="\u25CA",_O="\u29EB",pO="(",mO="\u2993",fO="\u21C6",gO="\u231F",hO="\u21CB",EO="\u296D",SO="\u200E",bO="\u22BF",vO="\u2039",TO="\u{1D4C1}",yO="\u2112",CO="\u21B0",RO="\u21B0",NO="\u2272",OO="\u2A8D",AO="\u2A8F",IO="[",DO="\u2018",xO="\u201A",wO="\u0141",MO="\u0142",LO="\u2AA6",kO="\u2A79",PO="<",BO="<",FO="\u226A",UO="\u22D6",GO="\u22CB",qO="\u22C9",YO="\u2976",zO="\u2A7B",$O="\u25C3",HO="\u22B4",VO="\u25C2",WO="\u2996",KO="\u294A",QO="\u2966",XO="\u2268\uFE00",jO="\u2268\uFE00",ZO="\xAF",JO="\u2642",eA="\u2720",tA="\u2720",nA="\u21A6",rA="\u21A6",iA="\u21A7",aA="\u21A4",oA="\u21A5",sA="\u25AE",lA="\u2A29",cA="\u041C",uA="\u043C",dA="\u2014",_A="\u223A",pA="\u2221",mA="\u205F",fA="\u2133",gA="\u{1D510}",hA="\u{1D52A}",EA="\u2127",SA="\xB5",bA="*",vA="\u2AF0",TA="\u2223",yA="\xB7",CA="\u229F",RA="\u2212",NA="\u2238",OA="\u2A2A",AA="\u2213",IA="\u2ADB",DA="\u2026",xA="\u2213",wA="\u22A7",MA="\u{1D544}",LA="\u{1D55E}",kA="\u2213",PA="\u{1D4C2}",BA="\u2133",FA="\u223E",UA="\u039C",GA="\u03BC",qA="\u22B8",YA="\u22B8",zA="\u2207",HA="\u0143",VA="\u0144",WA="\u2220\u20D2",KA="\u2249",QA="\u2A70\u0338",XA="\u224B\u0338",jA="\u0149",ZA="\u2249",JA="\u266E",eI="\u2115",tI="\u266E",nI="\xA0",rI="\u224E\u0338",iI="\u224F\u0338",aI="\u2A43",oI="\u0147",sI="\u0148",lI="\u0145",cI="\u0146",uI="\u2247",dI="\u2A6D\u0338",_I="\u2A42",pI="\u041D",mI="\u043D",fI="\u2013",gI="\u2924",hI="\u2197",EI="\u21D7",SI="\u2197",bI="\u2260",vI="\u2250\u0338",TI="\u200B",yI="\u200B",CI="\u200B",RI="\u200B",NI="\u2262",OI="\u2928",AI="\u2242\u0338",II="\u226B",DI="\u226A",xI=` `,wI="\u2204",MI="\u2204",LI="\u{1D511}",kI="\u{1D52B}",PI="\u2267\u0338",BI="\u2271",FI="\u2271",UI="\u2267\u0338",GI="\u2A7E\u0338",qI="\u2A7E\u0338",YI="\u22D9\u0338",zI="\u2275",$I="\u226B\u20D2",HI="\u226F",VI="\u226F",WI="\u226B\u0338",KI="\u21AE",QI="\u21CE",XI="\u2AF2",jI="\u220B",ZI="\u22FC",JI="\u22FA",eD="\u220B",tD="\u040A",nD="\u045A",rD="\u219A",iD="\u21CD",aD="\u2025",oD="\u2266\u0338",sD="\u2270",lD="\u219A",cD="\u21CD",uD="\u21AE",dD="\u21CE",_D="\u2270",pD="\u2266\u0338",mD="\u2A7D\u0338",fD="\u2A7D\u0338",gD="\u226E",hD="\u22D8\u0338",ED="\u2274",SD="\u226A\u20D2",bD="\u226E",vD="\u22EA",TD="\u22EC",yD="\u226A\u0338",CD="\u2224",RD="\u2060",ND="\xA0",OD="\u{1D55F}",AD="\u2115",ID="\u2AEC",DD="\xAC",xD="\u2262",wD="\u226D",MD="\u2226",LD="\u2209",kD="\u2260",PD="\u2242\u0338",BD="\u2204",FD="\u226F",UD="\u2271",GD="\u2267\u0338",qD="\u226B\u0338",YD="\u2279",zD="\u2A7E\u0338",$D="\u2275",HD="\u224E\u0338",VD="\u224F\u0338",WD="\u2209",KD="\u22F5\u0338",QD="\u22F9\u0338",XD="\u2209",jD="\u22F7",ZD="\u22F6",JD="\u29CF\u0338",ex="\u22EA",tx="\u22EC",nx="\u226E",rx="\u2270",ix="\u2278",ax="\u226A\u0338",ox="\u2A7D\u0338",sx="\u2274",lx="\u2AA2\u0338",cx="\u2AA1\u0338",ux="\u220C",dx="\u220C",_x="\u22FE",px="\u22FD",mx="\u2280",fx="\u2AAF\u0338",gx="\u22E0",hx="\u220C",Ex="\u29D0\u0338",Sx="\u22EB",bx="\u22ED",vx="\u228F\u0338",Tx="\u22E2",yx="\u2290\u0338",Cx="\u22E3",Rx="\u2282\u20D2",Nx="\u2288",Ox="\u2281",Ax="\u2AB0\u0338",Ix="\u22E1",Dx="\u227F\u0338",xx="\u2283\u20D2",wx="\u2289",Mx="\u2241",Lx="\u2244",kx="\u2247",Px="\u2249",Bx="\u2224",Fx="\u2226",Ux="\u2226",Gx="\u2AFD\u20E5",qx="\u2202\u0338",Yx="\u2A14",zx="\u2280",$x="\u22E0",Hx="\u2280",Vx="\u2AAF\u0338",Wx="\u2AAF\u0338",Kx="\u2933\u0338",Qx="\u219B",Xx="\u21CF",jx="\u219D\u0338",Zx="\u219B",Jx="\u21CF",ew="\u22EB",tw="\u22ED",nw="\u2281",rw="\u22E1",iw="\u2AB0\u0338",aw="\u{1D4A9}",ow="\u{1D4C3}",sw="\u2224",lw="\u2226",cw="\u2241",uw="\u2244",dw="\u2244",_w="\u2224",pw="\u2226",mw="\u22E2",fw="\u22E3",gw="\u2284",hw="\u2AC5\u0338",Ew="\u2288",Sw="\u2282\u20D2",bw="\u2288",vw="\u2AC5\u0338",Tw="\u2281",yw="\u2AB0\u0338",Cw="\u2285",Rw="\u2AC6\u0338",Nw="\u2289",Ow="\u2283\u20D2",Aw="\u2289",Iw="\u2AC6\u0338",Dw="\u2279",xw="\xD1",ww="\xF1",Mw="\u2278",Lw="\u22EA",kw="\u22EC",Pw="\u22EB",Bw="\u22ED",Fw="\u039D",Uw="\u03BD",Gw="#",qw="\u2116",Yw="\u2007",zw="\u224D\u20D2",$w="\u22AC",Hw="\u22AD",Vw="\u22AE",Ww="\u22AF",Kw="\u2265\u20D2",Qw=">\u20D2",Xw="\u2904",jw="\u29DE",Zw="\u2902",Jw="\u2264\u20D2",e2="<\u20D2",t2="\u22B4\u20D2",n2="\u2903",r2="\u22B5\u20D2",i2="\u223C\u20D2",a2="\u2923",o2="\u2196",s2="\u21D6",l2="\u2196",c2="\u2927",u2="\xD3",d2="\xF3",_2="\u229B",p2="\xD4",m2="\xF4",f2="\u229A",g2="\u041E",h2="\u043E",E2="\u229D",S2="\u0150",b2="\u0151",v2="\u2A38",T2="\u2299",y2="\u29BC",C2="\u0152",R2="\u0153",N2="\u29BF",O2="\u{1D512}",A2="\u{1D52C}",I2="\u02DB",D2="\xD2",x2="\xF2",w2="\u29C1",M2="\u29B5",L2="\u03A9",k2="\u222E",P2="\u21BA",B2="\u29BE",F2="\u29BB",U2="\u203E",G2="\u29C0",q2="\u014C",Y2="\u014D",z2="\u03A9",$2="\u03C9",H2="\u039F",V2="\u03BF",W2="\u29B6",K2="\u2296",Q2="\u{1D546}",X2="\u{1D560}",j2="\u29B7",Z2="\u201C",J2="\u2018",eM="\u29B9",tM="\u2295",nM="\u21BB",rM="\u2A54",iM="\u2228",aM="\u2A5D",oM="\u2134",sM="\u2134",lM="\xAA",cM="\xBA",uM="\u22B6",dM="\u2A56",_M="\u2A57",pM="\u2A5B",mM="\u24C8",fM="\u{1D4AA}",gM="\u2134",hM="\xD8",EM="\xF8",SM="\u2298",bM="\xD5",vM="\xF5",TM="\u2A36",yM="\u2A37",CM="\u2297",RM="\xD6",NM="\xF6",OM="\u233D",AM="\u203E",IM="\u23DE",DM="\u23B4",xM="\u23DC",wM="\xB6",MM="\u2225",LM="\u2225",kM="\u2AF3",PM="\u2AFD",BM="\u2202",FM="\u2202",UM="\u041F",GM="\u043F",qM="%",YM=".",zM="\u2030",$M="\u22A5",HM="\u2031",VM="\u{1D513}",WM="\u{1D52D}",KM="\u03A6",QM="\u03C6",XM="\u03D5",jM="\u2133",ZM="\u260E",JM="\u03A0",e4="\u03C0",t4="\u22D4",n4="\u03D6",r4="\u210F",i4="\u210E",a4="\u210F",o4="\u2A23",s4="\u229E",l4="\u2A22",c4="+",u4="\u2214",d4="\u2A25",_4="\u2A72",p4="\xB1",m4="\xB1",f4="\u2A26",g4="\u2A27",h4="\xB1",E4="\u210C",S4="\u2A15",b4="\u{1D561}",v4="\u2119",T4="\xA3",y4="\u2AB7",C4="\u2ABB",R4="\u227A",N4="\u227C",O4="\u2AB7",A4="\u227A",I4="\u227C",D4="\u227A",x4="\u2AAF",w4="\u227C",M4="\u227E",L4="\u2AAF",k4="\u2AB9",P4="\u2AB5",B4="\u22E8",F4="\u2AAF",U4="\u2AB3",G4="\u227E",q4="\u2032",Y4="\u2033",z4="\u2119",$4="\u2AB9",H4="\u2AB5",V4="\u22E8",W4="\u220F",K4="\u220F",Q4="\u232E",X4="\u2312",j4="\u2313",Z4="\u221D",J4="\u221D",eL="\u2237",tL="\u221D",nL="\u227E",rL="\u22B0",iL="\u{1D4AB}",aL="\u{1D4C5}",oL="\u03A8",sL="\u03C8",lL="\u2008",cL="\u{1D514}",uL="\u{1D52E}",dL="\u2A0C",_L="\u{1D562}",pL="\u211A",mL="\u2057",fL="\u{1D4AC}",gL="\u{1D4C6}",hL="\u210D",EL="\u2A16",SL="?",bL="\u225F",vL='"',TL='"',yL="\u21DB",CL="\u223D\u0331",RL="\u0154",NL="\u0155",OL="\u221A",AL="\u29B3",IL="\u27E9",DL="\u27EB",xL="\u2992",wL="\u29A5",ML="\u27E9",LL="\xBB",kL="\u2975",PL="\u21E5",BL="\u2920",FL="\u2933",UL="\u2192",GL="\u21A0",qL="\u21D2",YL="\u291E",zL="\u21AA",$L="\u21AC",HL="\u2945",VL="\u2974",WL="\u2916",KL="\u21A3",QL="\u219D",XL="\u291A",jL="\u291C",ZL="\u2236",JL="\u211A",ek="\u290D",tk="\u290F",nk="\u2910",rk="\u2773",ik="}",ak="]",ok="\u298C",sk="\u298E",lk="\u2990",ck="\u0158",uk="\u0159",dk="\u0156",_k="\u0157",pk="\u2309",mk="}",fk="\u0420",gk="\u0440",hk="\u2937",Ek="\u2969",Sk="\u201D",bk="\u201D",vk="\u21B3",Tk="\u211C",yk="\u211B",Ck="\u211C",Rk="\u211D",Nk="\u211C",Ok="\u25AD",Ak="\xAE",Ik="\xAE",Dk="\u220B",xk="\u21CB",wk="\u296F",Mk="\u297D",Lk="\u230B",kk="\u{1D52F}",Pk="\u211C",Bk="\u2964",Fk="\u21C1",Uk="\u21C0",Gk="\u296C",qk="\u03A1",Yk="\u03C1",zk="\u03F1",$k="\u27E9",Hk="\u21E5",Vk="\u2192",Wk="\u2192",Kk="\u21D2",Qk="\u21C4",Xk="\u21A3",jk="\u2309",Zk="\u27E7",Jk="\u295D",e3="\u2955",t3="\u21C2",n3="\u230B",r3="\u21C1",i3="\u21C0",a3="\u21C4",o3="\u21CC",s3="\u21C9",l3="\u219D",c3="\u21A6",u3="\u22A2",d3="\u295B",_3="\u22CC",p3="\u29D0",m3="\u22B3",f3="\u22B5",g3="\u294F",h3="\u295C",E3="\u2954",S3="\u21BE",b3="\u2953",v3="\u21C0",T3="\u02DA",y3="\u2253",C3="\u21C4",R3="\u21CC",N3="\u200F",O3="\u23B1",A3="\u23B1",I3="\u2AEE",D3="\u27ED",x3="\u21FE",w3="\u27E7",M3="\u2986",L3="\u{1D563}",k3="\u211D",P3="\u2A2E",B3="\u2A35",F3="\u2970",U3=")",G3="\u2994",q3="\u2A12",Y3="\u21C9",z3="\u21DB",$3="\u203A",H3="\u{1D4C7}",V3="\u211B",W3="\u21B1",K3="\u21B1",Q3="]",X3="\u2019",j3="\u2019",Z3="\u22CC",J3="\u22CA",e5="\u25B9",t5="\u22B5",n5="\u25B8",r5="\u29CE",i5="\u29F4",a5="\u2968",o5="\u211E",s5="\u015A",l5="\u015B",c5="\u201A",u5="\u2AB8",d5="\u0160",_5="\u0161",p5="\u2ABC",m5="\u227B",f5="\u227D",g5="\u2AB0",h5="\u2AB4",E5="\u015E",S5="\u015F",b5="\u015C",v5="\u015D",T5="\u2ABA",y5="\u2AB6",C5="\u22E9",R5="\u2A13",N5="\u227F",O5="\u0421",A5="\u0441",I5="\u22A1",D5="\u22C5",x5="\u2A66",w5="\u2925",M5="\u2198",L5="\u21D8",k5="\u2198",P5="\xA7",B5=";",F5="\u2929",U5="\u2216",G5="\u2216",q5="\u2736",Y5="\u{1D516}",z5="\u{1D530}",$5="\u2322",H5="\u266F",V5="\u0429",W5="\u0449",K5="\u0428",Q5="\u0448",X5="\u2193",j5="\u2190",Z5="\u2223",J5="\u2225",eP="\u2192",tP="\u2191",nP="\xAD",rP="\u03A3",iP="\u03C3",aP="\u03C2",oP="\u03C2",sP="\u223C",lP="\u2A6A",cP="\u2243",uP="\u2243",dP="\u2A9E",_P="\u2AA0",pP="\u2A9D",mP="\u2A9F",fP="\u2246",gP="\u2A24",hP="\u2972",EP="\u2190",SP="\u2218",bP="\u2216",vP="\u2A33",TP="\u29E4",yP="\u2223",CP="\u2323",RP="\u2AAA",NP="\u2AAC",OP="\u2AAC\uFE00",AP="\u042C",IP="\u044C",DP="\u233F",xP="\u29C4",wP="/",MP="\u{1D54A}",LP="\u{1D564}",kP="\u2660",PP="\u2660",BP="\u2225",FP="\u2293",UP="\u2293\uFE00",GP="\u2294",qP="\u2294\uFE00",YP="\u221A",zP="\u228F",$P="\u2291",HP="\u228F",VP="\u2291",WP="\u2290",KP="\u2292",QP="\u2290",XP="\u2292",jP="\u25A1",ZP="\u25A1",JP="\u2293",e6="\u228F",t6="\u2291",n6="\u2290",r6="\u2292",i6="\u2294",a6="\u25AA",o6="\u25A1",s6="\u25AA",l6="\u2192",c6="\u{1D4AE}",u6="\u{1D4C8}",d6="\u2216",_6="\u2323",p6="\u22C6",m6="\u22C6",f6="\u2606",g6="\u2605",h6="\u03F5",E6="\u03D5",S6="\xAF",b6="\u2282",v6="\u22D0",T6="\u2ABD",y6="\u2AC5",C6="\u2286",R6="\u2AC3",N6="\u2AC1",O6="\u2ACB",A6="\u228A",I6="\u2ABF",D6="\u2979",x6="\u2282",w6="\u22D0",M6="\u2286",L6="\u2AC5",k6="\u2286",P6="\u228A",B6="\u2ACB",F6="\u2AC7",U6="\u2AD5",G6="\u2AD3",q6="\u2AB8",Y6="\u227B",z6="\u227D",$6="\u227B",H6="\u2AB0",V6="\u227D",W6="\u227F",K6="\u2AB0",Q6="\u2ABA",X6="\u2AB6",j6="\u22E9",Z6="\u227F",J6="\u220B",e7="\u2211",t7="\u2211",n7="\u266A",r7="\xB9",i7="\xB2",a7="\xB3",o7="\u2283",s7="\u22D1",l7="\u2ABE",c7="\u2AD8",u7="\u2AC6",d7="\u2287",_7="\u2AC4",p7="\u2283",m7="\u2287",f7="\u27C9",g7="\u2AD7",h7="\u297B",E7="\u2AC2",S7="\u2ACC",b7="\u228B",v7="\u2AC0",T7="\u2283",y7="\u22D1",C7="\u2287",R7="\u2AC6",N7="\u228B",O7="\u2ACC",A7="\u2AC8",I7="\u2AD4",D7="\u2AD6",x7="\u2926",w7="\u2199",M7="\u21D9",L7="\u2199",k7="\u292A",P7="\xDF",B7=" ",F7="\u2316",U7="\u03A4",G7="\u03C4",q7="\u23B4",Y7="\u0164",z7="\u0165",$7="\u0162",H7="\u0163",V7="\u0422",W7="\u0442",K7="\u20DB",Q7="\u2315",X7="\u{1D517}",j7="\u{1D531}",Z7="\u2234",J7="\u2234",e8="\u2234",t8="\u0398",n8="\u03B8",r8="\u03D1",i8="\u03D1",a8="\u2248",o8="\u223C",s8="\u205F\u200A",l8="\u2009",c8="\u2009",u8="\u2248",d8="\u223C",_8="\xDE",p8="\xFE",m8="\u02DC",f8="\u223C",g8="\u2243",h8="\u2245",E8="\u2248",S8="\u2A31",b8="\u22A0",v8="\xD7",T8="\u2A30",y8="\u222D",C8="\u2928",R8="\u2336",N8="\u2AF1",O8="\u22A4",A8="\u{1D54B}",I8="\u{1D565}",D8="\u2ADA",x8="\u2929",w8="\u2034",M8="\u2122",L8="\u2122",k8="\u25B5",P8="\u25BF",B8="\u25C3",F8="\u22B4",U8="\u225C",G8="\u25B9",q8="\u22B5",Y8="\u25EC",z8="\u225C",$8="\u2A3A",H8="\u20DB",V8="\u2A39",W8="\u29CD",K8="\u2A3B",Q8="\u23E2",X8="\u{1D4AF}",j8="\u{1D4C9}",Z8="\u0426",J8="\u0446",e9="\u040B",t9="\u045B",n9="\u0166",r9="\u0167",i9="\u226C",a9="\u219E",o9="\u21A0",s9="\xDA",l9="\xFA",c9="\u2191",u9="\u219F",d9="\u21D1",_9="\u2949",p9="\u040E",m9="\u045E",f9="\u016C",g9="\u016D",h9="\xDB",E9="\xFB",S9="\u0423",b9="\u0443",v9="\u21C5",T9="\u0170",y9="\u0171",C9="\u296E",R9="\u297E",N9="\u{1D518}",O9="\u{1D532}",A9="\xD9",I9="\xF9",D9="\u2963",x9="\u21BF",w9="\u21BE",M9="\u2580",L9="\u231C",k9="\u231C",P9="\u230F",B9="\u25F8",F9="\u016A",U9="\u016B",G9="\xA8",q9="_",Y9="\u23DF",z9="\u23B5",$9="\u23DD",H9="\u22C3",V9="\u228E",W9="\u0172",K9="\u0173",Q9="\u{1D54C}",X9="\u{1D566}",j9="\u2912",Z9="\u2191",J9="\u2191",eB="\u21D1",tB="\u21C5",nB="\u2195",rB="\u2195",iB="\u21D5",aB="\u296E",oB="\u21BF",sB="\u21BE",lB="\u228E",cB="\u2196",uB="\u2197",dB="\u03C5",_B="\u03D2",pB="\u03D2",mB="\u03A5",fB="\u03C5",gB="\u21A5",hB="\u22A5",EB="\u21C8",SB="\u231D",bB="\u231D",vB="\u230E",TB="\u016E",yB="\u016F",CB="\u25F9",RB="\u{1D4B0}",NB="\u{1D4CA}",OB="\u22F0",AB="\u0168",IB="\u0169",DB="\u25B5",xB="\u25B4",wB="\u21C8",MB="\xDC",LB="\xFC",kB="\u29A7",PB="\u299C",BB="\u03F5",FB="\u03F0",UB="\u2205",GB="\u03D5",qB="\u03D6",YB="\u221D",zB="\u2195",$B="\u21D5",HB="\u03F1",VB="\u03C2",WB="\u228A\uFE00",KB="\u2ACB\uFE00",QB="\u228B\uFE00",XB="\u2ACC\uFE00",jB="\u03D1",ZB="\u22B2",JB="\u22B3",eF="\u2AE8",tF="\u2AEB",nF="\u2AE9",rF="\u0412",iF="\u0432",aF="\u22A2",oF="\u22A8",sF="\u22A9",lF="\u22AB",cF="\u2AE6",uF="\u22BB",dF="\u2228",_F="\u22C1",pF="\u225A",mF="\u22EE",fF="|",gF="\u2016",hF="|",EF="\u2016",SF="\u2223",bF="|",vF="\u2758",TF="\u2240",yF="\u200A",CF="\u{1D519}",RF="\u{1D533}",NF="\u22B2",OF="\u2282\u20D2",AF="\u2283\u20D2",IF="\u{1D54D}",DF="\u{1D567}",xF="\u221D",wF="\u22B3",MF="\u{1D4B1}",LF="\u{1D4CB}",kF="\u2ACB\uFE00",PF="\u228A\uFE00",BF="\u2ACC\uFE00",FF="\u228B\uFE00",UF="\u22AA",GF="\u299A",qF="\u0174",YF="\u0175",zF="\u2A5F",$F="\u2227",HF="\u22C0",VF="\u2259",WF="\u2118",KF="\u{1D51A}",QF="\u{1D534}",XF="\u{1D54E}",jF="\u{1D568}",ZF="\u2118",JF="\u2240",eU="\u2240",tU="\u{1D4B2}",nU="\u{1D4CC}",rU="\u22C2",iU="\u25EF",aU="\u22C3",oU="\u25BD",sU="\u{1D51B}",lU="\u{1D535}",cU="\u27F7",uU="\u27FA",dU="\u039E",_U="\u03BE",pU="\u27F5",mU="\u27F8",fU="\u27FC",gU="\u22FB",hU="\u2A00",EU="\u{1D54F}",SU="\u{1D569}",bU="\u2A01",vU="\u2A02",TU="\u27F6",yU="\u27F9",CU="\u{1D4B3}",RU="\u{1D4CD}",NU="\u2A06",OU="\u2A04",AU="\u25B3",IU="\u22C1",DU="\u22C0",xU="\xDD",wU="\xFD",MU="\u042F",LU="\u044F",kU="\u0176",PU="\u0177",BU="\u042B",FU="\u044B",UU="\xA5",GU="\u{1D51C}",qU="\u{1D536}",YU="\u0407",zU="\u0457",$U="\u{1D550}",HU="\u{1D56A}",VU="\u{1D4B4}",WU="\u{1D4CE}",KU="\u042E",QU="\u044E",XU="\xFF",jU="\u0178",ZU="\u0179",JU="\u017A",eG="\u017D",tG="\u017E",nG="\u0417",rG="\u0437",iG="\u017B",aG="\u017C",oG="\u2128",sG="\u200B",lG="\u0396",cG="\u03B6",uG="\u{1D537}",dG="\u2128",_G="\u0416",pG="\u0436",mG="\u21DD",fG="\u{1D56B}",gG="\u2124",hG="\u{1D4B5}",EG="\u{1D4CF}",SG="\u200D",bG="\u200C";var vG={Aacute:nd,aacute:rd,Abreve:id,abreve:ad,ac:od,acd:sd,acE:ld,Acirc:cd,acirc:ud,acute:dd,Acy:_d,acy:pd,AElig:md,aelig:fd,af:gd,Afr:hd,afr:Ed,Agrave:Sd,agrave:bd,alefsym:vd,aleph:Td,Alpha:yd,alpha:Cd,Amacr:Rd,amacr:Nd,amalg:Od,amp:Ad,AMP:Id,andand:Dd,And:xd,and:wd,andd:Md,andslope:Ld,andv:kd,ang:Pd,ange:Bd,angle:Fd,angmsdaa:Ud,angmsdab:Gd,angmsdac:qd,angmsdad:Yd,angmsdae:zd,angmsdaf:$d,angmsdag:Hd,angmsdah:Vd,angmsd:Wd,angrt:Kd,angrtvb:Qd,angrtvbd:Xd,angsph:jd,angst:Zd,angzarr:Jd,Aogon:e_,aogon:t_,Aopf:n_,aopf:r_,apacir:i_,ap:a_,apE:o_,ape:s_,apid:l_,apos:c_,ApplyFunction:u_,approx:d_,approxeq:__,Aring:p_,aring:m_,Ascr:f_,ascr:g_,Assign:h_,ast:E_,asymp:S_,asympeq:b_,Atilde:v_,atilde:T_,Auml:y_,auml:C_,awconint:R_,awint:N_,backcong:O_,backepsilon:A_,backprime:I_,backsim:D_,backsimeq:x_,Backslash:w_,Barv:M_,barvee:L_,barwed:k_,Barwed:P_,barwedge:B_,bbrk:F_,bbrktbrk:U_,bcong:G_,Bcy:q_,bcy:Y_,bdquo:z_,becaus:$_,because:H_,Because:V_,bemptyv:W_,bepsi:K_,bernou:Q_,Bernoullis:X_,Beta:j_,beta:Z_,beth:J_,between:ep,Bfr:tp,bfr:np,bigcap:rp,bigcirc:ip,bigcup:ap,bigodot:op,bigoplus:sp,bigotimes:lp,bigsqcup:cp,bigstar:up,bigtriangledown:dp,bigtriangleup:_p,biguplus:pp,bigvee:mp,bigwedge:fp,bkarow:gp,blacklozenge:hp,blacksquare:Ep,blacktriangle:Sp,blacktriangledown:bp,blacktriangleleft:vp,blacktriangleright:Tp,blank:yp,blk12:Cp,blk14:Rp,blk34:Np,block:Op,bne:Ap,bnequiv:Ip,bNot:Dp,bnot:xp,Bopf:wp,bopf:Mp,bot:Lp,bottom:kp,bowtie:Pp,boxbox:Bp,boxdl:Fp,boxdL:Up,boxDl:Gp,boxDL:qp,boxdr:Yp,boxdR:zp,boxDr:$p,boxDR:Hp,boxh:Vp,boxH:Wp,boxhd:Kp,boxHd:Qp,boxhD:Xp,boxHD:jp,boxhu:Zp,boxHu:Jp,boxhU:em,boxHU:tm,boxminus:nm,boxplus:rm,boxtimes:im,boxul:am,boxuL:om,boxUl:sm,boxUL:lm,boxur:cm,boxuR:um,boxUr:dm,boxUR:_m,boxv:pm,boxV:mm,boxvh:fm,boxvH:gm,boxVh:hm,boxVH:Em,boxvl:Sm,boxvL:bm,boxVl:vm,boxVL:Tm,boxvr:ym,boxvR:Cm,boxVr:Rm,boxVR:Nm,bprime:Om,breve:Am,Breve:Im,brvbar:Dm,bscr:xm,Bscr:wm,bsemi:Mm,bsim:Lm,bsime:km,bsolb:Pm,bsol:Bm,bsolhsub:Fm,bull:Um,bullet:Gm,bump:qm,bumpE:Ym,bumpe:zm,Bumpeq:$m,bumpeq:Hm,Cacute:Vm,cacute:Wm,capand:Km,capbrcup:Qm,capcap:Xm,cap:jm,Cap:Zm,capcup:Jm,capdot:ef,CapitalDifferentialD:tf,caps:nf,caret:rf,caron:af,Cayleys:of,ccaps:sf,Ccaron:lf,ccaron:cf,Ccedil:uf,ccedil:df,Ccirc:_f,ccirc:pf,Cconint:mf,ccups:ff,ccupssm:gf,Cdot:hf,cdot:Ef,cedil:Sf,Cedilla:bf,cemptyv:vf,cent:Tf,centerdot:yf,CenterDot:Cf,cfr:Rf,Cfr:Nf,CHcy:Of,chcy:Af,check:If,checkmark:Df,Chi:xf,chi:wf,circ:Mf,circeq:Lf,circlearrowleft:kf,circlearrowright:Pf,circledast:Bf,circledcirc:Ff,circleddash:Uf,CircleDot:Gf,circledR:qf,circledS:Yf,CircleMinus:zf,CirclePlus:$f,CircleTimes:Hf,cir:Vf,cirE:Wf,cire:Kf,cirfnint:Qf,cirmid:Xf,cirscir:jf,ClockwiseContourIntegral:Zf,CloseCurlyDoubleQuote:Jf,CloseCurlyQuote:e0,clubs:t0,clubsuit:n0,colon:r0,Colon:i0,Colone:a0,colone:o0,coloneq:s0,comma:l0,commat:c0,comp:u0,compfn:d0,complement:_0,complexes:p0,cong:m0,congdot:f0,Congruent:g0,conint:h0,Conint:E0,ContourIntegral:S0,copf:b0,Copf:v0,coprod:T0,Coproduct:y0,copy:C0,COPY:R0,copysr:N0,CounterClockwiseContourIntegral:O0,crarr:A0,cross:I0,Cross:D0,Cscr:x0,cscr:w0,csub:M0,csube:L0,csup:k0,csupe:P0,ctdot:B0,cudarrl:F0,cudarrr:U0,cuepr:G0,cuesc:q0,cularr:Y0,cularrp:z0,cupbrcap:$0,cupcap:H0,CupCap:V0,cup:W0,Cup:K0,cupcup:Q0,cupdot:X0,cupor:j0,cups:Z0,curarr:J0,curarrm:eg,curlyeqprec:tg,curlyeqsucc:ng,curlyvee:rg,curlywedge:ig,curren:ag,curvearrowleft:og,curvearrowright:sg,cuvee:lg,cuwed:cg,cwconint:ug,cwint:dg,cylcty:_g,dagger:pg,Dagger:mg,daleth:fg,darr:gg,Darr:hg,dArr:Eg,dash:Sg,Dashv:bg,dashv:vg,dbkarow:Tg,dblac:yg,Dcaron:Cg,dcaron:Rg,Dcy:Ng,dcy:Og,ddagger:Ag,ddarr:Ig,DD:Dg,dd:xg,DDotrahd:wg,ddotseq:Mg,deg:Lg,Del:kg,Delta:Pg,delta:Bg,demptyv:Fg,dfisht:Ug,Dfr:Gg,dfr:qg,dHar:Yg,dharl:zg,dharr:$g,DiacriticalAcute:Hg,DiacriticalDot:Vg,DiacriticalDoubleAcute:Wg,DiacriticalGrave:Kg,DiacriticalTilde:Qg,diam:Xg,diamond:jg,Diamond:Zg,diamondsuit:Jg,diams:eh,die:th,DifferentialD:nh,digamma:rh,disin:ih,div:ah,divide:oh,divideontimes:sh,divonx:lh,DJcy:ch,djcy:uh,dlcorn:dh,dlcrop:_h,dollar:ph,Dopf:mh,dopf:fh,Dot:gh,dot:hh,DotDot:Eh,doteq:Sh,doteqdot:bh,DotEqual:vh,dotminus:Th,dotplus:yh,dotsquare:Ch,doublebarwedge:Rh,DoubleContourIntegral:Nh,DoubleDot:Oh,DoubleDownArrow:Ah,DoubleLeftArrow:Ih,DoubleLeftRightArrow:Dh,DoubleLeftTee:xh,DoubleLongLeftArrow:wh,DoubleLongLeftRightArrow:Mh,DoubleLongRightArrow:Lh,DoubleRightArrow:kh,DoubleRightTee:Ph,DoubleUpArrow:Bh,DoubleUpDownArrow:Fh,DoubleVerticalBar:Uh,DownArrowBar:Gh,downarrow:qh,DownArrow:Yh,Downarrow:zh,DownArrowUpArrow:$h,DownBreve:Hh,downdownarrows:Vh,downharpoonleft:Wh,downharpoonright:Kh,DownLeftRightVector:Qh,DownLeftTeeVector:Xh,DownLeftVectorBar:jh,DownLeftVector:Zh,DownRightTeeVector:Jh,DownRightVectorBar:eE,DownRightVector:tE,DownTeeArrow:nE,DownTee:rE,drbkarow:iE,drcorn:aE,drcrop:oE,Dscr:sE,dscr:lE,DScy:cE,dscy:uE,dsol:dE,Dstrok:_E,dstrok:pE,dtdot:mE,dtri:fE,dtrif:gE,duarr:hE,duhar:EE,dwangle:SE,DZcy:bE,dzcy:vE,dzigrarr:TE,Eacute:yE,eacute:CE,easter:RE,Ecaron:NE,ecaron:OE,Ecirc:AE,ecirc:IE,ecir:DE,ecolon:xE,Ecy:wE,ecy:ME,eDDot:LE,Edot:kE,edot:PE,eDot:BE,ee:FE,efDot:UE,Efr:GE,efr:qE,eg:YE,Egrave:zE,egrave:$E,egs:HE,egsdot:VE,el:WE,Element:KE,elinters:QE,ell:XE,els:jE,elsdot:ZE,Emacr:JE,emacr:eS,empty:tS,emptyset:nS,EmptySmallSquare:rS,emptyv:iS,EmptyVerySmallSquare:aS,emsp13:oS,emsp14:sS,emsp:lS,ENG:cS,eng:uS,ensp:dS,Eogon:_S,eogon:pS,Eopf:mS,eopf:fS,epar:gS,eparsl:hS,eplus:ES,epsi:SS,Epsilon:bS,epsilon:vS,epsiv:TS,eqcirc:yS,eqcolon:CS,eqsim:RS,eqslantgtr:NS,eqslantless:OS,Equal:AS,equals:IS,EqualTilde:DS,equest:xS,Equilibrium:wS,equiv:MS,equivDD:LS,eqvparsl:kS,erarr:PS,erDot:BS,escr:FS,Escr:US,esdot:GS,Esim:qS,esim:YS,Eta:zS,eta:$S,ETH:HS,eth:VS,Euml:WS,euml:KS,euro:QS,excl:XS,exist:jS,Exists:ZS,expectation:JS,exponentiale:eb,ExponentialE:tb,fallingdotseq:nb,Fcy:rb,fcy:ib,female:ab,ffilig:ob,fflig:sb,ffllig:lb,Ffr:cb,ffr:ub,filig:db,FilledSmallSquare:_b,FilledVerySmallSquare:pb,fjlig:mb,flat:fb,fllig:gb,fltns:hb,fnof:Eb,Fopf:Sb,fopf:bb,forall:vb,ForAll:Tb,fork:yb,forkv:Cb,Fouriertrf:Rb,fpartint:Nb,frac12:Ob,frac13:Ab,frac14:Ib,frac15:Db,frac16:xb,frac18:wb,frac23:Mb,frac25:Lb,frac34:kb,frac35:Pb,frac38:Bb,frac45:Fb,frac56:Ub,frac58:Gb,frac78:qb,frasl:Yb,frown:zb,fscr:$b,Fscr:Hb,gacute:Vb,Gamma:Wb,gamma:Kb,Gammad:Qb,gammad:Xb,gap:jb,Gbreve:Zb,gbreve:Jb,Gcedil:ev,Gcirc:tv,gcirc:nv,Gcy:rv,gcy:iv,Gdot:av,gdot:ov,ge:sv,gE:lv,gEl:cv,gel:uv,geq:dv,geqq:_v,geqslant:pv,gescc:mv,ges:fv,gesdot:gv,gesdoto:hv,gesdotol:Ev,gesl:Sv,gesles:bv,Gfr:vv,gfr:Tv,gg:yv,Gg:Cv,ggg:Rv,gimel:Nv,GJcy:Ov,gjcy:Av,gla:Iv,gl:Dv,glE:xv,glj:wv,gnap:Mv,gnapprox:Lv,gne:kv,gnE:Pv,gneq:Bv,gneqq:Fv,gnsim:Uv,Gopf:Gv,gopf:qv,grave:Yv,GreaterEqual:zv,GreaterEqualLess:$v,GreaterFullEqual:Hv,GreaterGreater:Vv,GreaterLess:Wv,GreaterSlantEqual:Kv,GreaterTilde:Qv,Gscr:Xv,gscr:jv,gsim:Zv,gsime:Jv,gsiml:eT,gtcc:tT,gtcir:nT,gt:rT,GT:iT,Gt:aT,gtdot:oT,gtlPar:sT,gtquest:lT,gtrapprox:cT,gtrarr:uT,gtrdot:dT,gtreqless:_T,gtreqqless:pT,gtrless:mT,gtrsim:fT,gvertneqq:gT,gvnE:hT,Hacek:ET,hairsp:ST,half:bT,hamilt:vT,HARDcy:TT,hardcy:yT,harrcir:CT,harr:RT,hArr:NT,harrw:OT,Hat:AT,hbar:IT,Hcirc:DT,hcirc:xT,hearts:wT,heartsuit:MT,hellip:LT,hercon:kT,hfr:PT,Hfr:BT,HilbertSpace:FT,hksearow:UT,hkswarow:GT,hoarr:qT,homtht:YT,hookleftarrow:zT,hookrightarrow:$T,hopf:HT,Hopf:VT,horbar:WT,HorizontalLine:KT,hscr:QT,Hscr:XT,hslash:jT,Hstrok:ZT,hstrok:JT,HumpDownHump:ey,HumpEqual:ty,hybull:ny,hyphen:ry,Iacute:iy,iacute:ay,ic:oy,Icirc:sy,icirc:ly,Icy:cy,icy:uy,Idot:dy,IEcy:_y,iecy:py,iexcl:my,iff:fy,ifr:gy,Ifr:hy,Igrave:Ey,igrave:Sy,ii:by,iiiint:vy,iiint:Ty,iinfin:yy,iiota:Cy,IJlig:Ry,ijlig:Ny,Imacr:Oy,imacr:Ay,image:Iy,ImaginaryI:Dy,imagline:xy,imagpart:wy,imath:My,Im:Ly,imof:ky,imped:Py,Implies:By,incare:Fy,in:"\u2208",infin:Uy,infintie:Gy,inodot:qy,intcal:Yy,int:zy,Int:$y,integers:Hy,Integral:Vy,intercal:Wy,Intersection:Ky,intlarhk:Qy,intprod:Xy,InvisibleComma:jy,InvisibleTimes:Zy,IOcy:Jy,iocy:e1,Iogon:t1,iogon:n1,Iopf:r1,iopf:i1,Iota:a1,iota:o1,iprod:s1,iquest:l1,iscr:c1,Iscr:u1,isin:d1,isindot:_1,isinE:p1,isins:m1,isinsv:f1,isinv:g1,it:h1,Itilde:E1,itilde:S1,Iukcy:b1,iukcy:v1,Iuml:T1,iuml:y1,Jcirc:C1,jcirc:R1,Jcy:N1,jcy:O1,Jfr:A1,jfr:I1,jmath:D1,Jopf:x1,jopf:w1,Jscr:M1,jscr:L1,Jsercy:k1,jsercy:P1,Jukcy:B1,jukcy:F1,Kappa:U1,kappa:G1,kappav:q1,Kcedil:Y1,kcedil:z1,Kcy:$1,kcy:H1,Kfr:V1,kfr:W1,kgreen:K1,KHcy:Q1,khcy:X1,KJcy:j1,kjcy:Z1,Kopf:J1,kopf:eC,Kscr:tC,kscr:nC,lAarr:rC,Lacute:iC,lacute:aC,laemptyv:oC,lagran:sC,Lambda:lC,lambda:cC,lang:uC,Lang:dC,langd:_C,langle:pC,lap:mC,Laplacetrf:fC,laquo:gC,larrb:hC,larrbfs:EC,larr:SC,Larr:bC,lArr:vC,larrfs:TC,larrhk:yC,larrlp:CC,larrpl:RC,larrsim:NC,larrtl:OC,latail:AC,lAtail:IC,lat:DC,late:xC,lates:wC,lbarr:MC,lBarr:LC,lbbrk:kC,lbrace:PC,lbrack:BC,lbrke:FC,lbrksld:UC,lbrkslu:GC,Lcaron:qC,lcaron:YC,Lcedil:zC,lcedil:$C,lceil:HC,lcub:VC,Lcy:WC,lcy:KC,ldca:QC,ldquo:XC,ldquor:jC,ldrdhar:ZC,ldrushar:JC,ldsh:eR,le:tR,lE:nR,LeftAngleBracket:rR,LeftArrowBar:iR,leftarrow:aR,LeftArrow:oR,Leftarrow:sR,LeftArrowRightArrow:lR,leftarrowtail:cR,LeftCeiling:uR,LeftDoubleBracket:dR,LeftDownTeeVector:_R,LeftDownVectorBar:pR,LeftDownVector:mR,LeftFloor:fR,leftharpoondown:gR,leftharpoonup:hR,leftleftarrows:ER,leftrightarrow:SR,LeftRightArrow:bR,Leftrightarrow:vR,leftrightarrows:TR,leftrightharpoons:yR,leftrightsquigarrow:CR,LeftRightVector:RR,LeftTeeArrow:NR,LeftTee:OR,LeftTeeVector:AR,leftthreetimes:IR,LeftTriangleBar:DR,LeftTriangle:xR,LeftTriangleEqual:wR,LeftUpDownVector:MR,LeftUpTeeVector:LR,LeftUpVectorBar:kR,LeftUpVector:PR,LeftVectorBar:BR,LeftVector:FR,lEg:UR,leg:GR,leq:qR,leqq:YR,leqslant:zR,lescc:$R,les:HR,lesdot:VR,lesdoto:WR,lesdotor:KR,lesg:QR,lesges:XR,lessapprox:jR,lessdot:ZR,lesseqgtr:JR,lesseqqgtr:eN,LessEqualGreater:tN,LessFullEqual:nN,LessGreater:rN,lessgtr:iN,LessLess:aN,lesssim:oN,LessSlantEqual:sN,LessTilde:lN,lfisht:cN,lfloor:uN,Lfr:dN,lfr:_N,lg:pN,lgE:mN,lHar:fN,lhard:gN,lharu:hN,lharul:EN,lhblk:SN,LJcy:bN,ljcy:vN,llarr:TN,ll:yN,Ll:CN,llcorner:RN,Lleftarrow:NN,llhard:ON,lltri:AN,Lmidot:IN,lmidot:DN,lmoustache:xN,lmoust:wN,lnap:MN,lnapprox:LN,lne:kN,lnE:PN,lneq:BN,lneqq:FN,lnsim:UN,loang:GN,loarr:qN,lobrk:YN,longleftarrow:zN,LongLeftArrow:$N,Longleftarrow:HN,longleftrightarrow:VN,LongLeftRightArrow:WN,Longleftrightarrow:KN,longmapsto:QN,longrightarrow:XN,LongRightArrow:jN,Longrightarrow:ZN,looparrowleft:JN,looparrowright:eO,lopar:tO,Lopf:nO,lopf:rO,loplus:iO,lotimes:aO,lowast:oO,lowbar:sO,LowerLeftArrow:lO,LowerRightArrow:cO,loz:uO,lozenge:dO,lozf:_O,lpar:pO,lparlt:mO,lrarr:fO,lrcorner:gO,lrhar:hO,lrhard:EO,lrm:SO,lrtri:bO,lsaquo:vO,lscr:TO,Lscr:yO,lsh:CO,Lsh:RO,lsim:NO,lsime:OO,lsimg:AO,lsqb:IO,lsquo:DO,lsquor:xO,Lstrok:wO,lstrok:MO,ltcc:LO,ltcir:kO,lt:PO,LT:BO,Lt:FO,ltdot:UO,lthree:GO,ltimes:qO,ltlarr:YO,ltquest:zO,ltri:$O,ltrie:HO,ltrif:VO,ltrPar:WO,lurdshar:KO,luruhar:QO,lvertneqq:XO,lvnE:jO,macr:ZO,male:JO,malt:eA,maltese:tA,Map:"\u2905",map:nA,mapsto:rA,mapstodown:iA,mapstoleft:aA,mapstoup:oA,marker:sA,mcomma:lA,Mcy:cA,mcy:uA,mdash:dA,mDDot:_A,measuredangle:pA,MediumSpace:mA,Mellintrf:fA,Mfr:gA,mfr:hA,mho:EA,micro:SA,midast:bA,midcir:vA,mid:TA,middot:yA,minusb:CA,minus:RA,minusd:NA,minusdu:OA,MinusPlus:AA,mlcp:IA,mldr:DA,mnplus:xA,models:wA,Mopf:MA,mopf:LA,mp:kA,mscr:PA,Mscr:BA,mstpos:FA,Mu:UA,mu:GA,multimap:qA,mumap:YA,nabla:zA,Nacute:HA,nacute:VA,nang:WA,nap:KA,napE:QA,napid:XA,napos:jA,napprox:ZA,natural:JA,naturals:eI,natur:tI,nbsp:nI,nbump:rI,nbumpe:iI,ncap:aI,Ncaron:oI,ncaron:sI,Ncedil:lI,ncedil:cI,ncong:uI,ncongdot:dI,ncup:_I,Ncy:pI,ncy:mI,ndash:fI,nearhk:gI,nearr:hI,neArr:EI,nearrow:SI,ne:bI,nedot:vI,NegativeMediumSpace:TI,NegativeThickSpace:yI,NegativeThinSpace:CI,NegativeVeryThinSpace:RI,nequiv:NI,nesear:OI,nesim:AI,NestedGreaterGreater:II,NestedLessLess:DI,NewLine:xI,nexist:wI,nexists:MI,Nfr:LI,nfr:kI,ngE:PI,nge:BI,ngeq:FI,ngeqq:UI,ngeqslant:GI,nges:qI,nGg:YI,ngsim:zI,nGt:$I,ngt:HI,ngtr:VI,nGtv:WI,nharr:KI,nhArr:QI,nhpar:XI,ni:jI,nis:ZI,nisd:JI,niv:eD,NJcy:tD,njcy:nD,nlarr:rD,nlArr:iD,nldr:aD,nlE:oD,nle:sD,nleftarrow:lD,nLeftarrow:cD,nleftrightarrow:uD,nLeftrightarrow:dD,nleq:_D,nleqq:pD,nleqslant:mD,nles:fD,nless:gD,nLl:hD,nlsim:ED,nLt:SD,nlt:bD,nltri:vD,nltrie:TD,nLtv:yD,nmid:CD,NoBreak:RD,NonBreakingSpace:ND,nopf:OD,Nopf:AD,Not:ID,not:DD,NotCongruent:xD,NotCupCap:wD,NotDoubleVerticalBar:MD,NotElement:LD,NotEqual:kD,NotEqualTilde:PD,NotExists:BD,NotGreater:FD,NotGreaterEqual:UD,NotGreaterFullEqual:GD,NotGreaterGreater:qD,NotGreaterLess:YD,NotGreaterSlantEqual:zD,NotGreaterTilde:$D,NotHumpDownHump:HD,NotHumpEqual:VD,notin:WD,notindot:KD,notinE:QD,notinva:XD,notinvb:jD,notinvc:ZD,NotLeftTriangleBar:JD,NotLeftTriangle:ex,NotLeftTriangleEqual:tx,NotLess:nx,NotLessEqual:rx,NotLessGreater:ix,NotLessLess:ax,NotLessSlantEqual:ox,NotLessTilde:sx,NotNestedGreaterGreater:lx,NotNestedLessLess:cx,notni:ux,notniva:dx,notnivb:_x,notnivc:px,NotPrecedes:mx,NotPrecedesEqual:fx,NotPrecedesSlantEqual:gx,NotReverseElement:hx,NotRightTriangleBar:Ex,NotRightTriangle:Sx,NotRightTriangleEqual:bx,NotSquareSubset:vx,NotSquareSubsetEqual:Tx,NotSquareSuperset:yx,NotSquareSupersetEqual:Cx,NotSubset:Rx,NotSubsetEqual:Nx,NotSucceeds:Ox,NotSucceedsEqual:Ax,NotSucceedsSlantEqual:Ix,NotSucceedsTilde:Dx,NotSuperset:xx,NotSupersetEqual:wx,NotTilde:Mx,NotTildeEqual:Lx,NotTildeFullEqual:kx,NotTildeTilde:Px,NotVerticalBar:Bx,nparallel:Fx,npar:Ux,nparsl:Gx,npart:qx,npolint:Yx,npr:zx,nprcue:$x,nprec:Hx,npreceq:Vx,npre:Wx,nrarrc:Kx,nrarr:Qx,nrArr:Xx,nrarrw:jx,nrightarrow:Zx,nRightarrow:Jx,nrtri:ew,nrtrie:tw,nsc:nw,nsccue:rw,nsce:iw,Nscr:aw,nscr:ow,nshortmid:sw,nshortparallel:lw,nsim:cw,nsime:uw,nsimeq:dw,nsmid:_w,nspar:pw,nsqsube:mw,nsqsupe:fw,nsub:gw,nsubE:hw,nsube:Ew,nsubset:Sw,nsubseteq:bw,nsubseteqq:vw,nsucc:Tw,nsucceq:yw,nsup:Cw,nsupE:Rw,nsupe:Nw,nsupset:Ow,nsupseteq:Aw,nsupseteqq:Iw,ntgl:Dw,Ntilde:xw,ntilde:ww,ntlg:Mw,ntriangleleft:Lw,ntrianglelefteq:kw,ntriangleright:Pw,ntrianglerighteq:Bw,Nu:Fw,nu:Uw,num:Gw,numero:qw,numsp:Yw,nvap:zw,nvdash:$w,nvDash:Hw,nVdash:Vw,nVDash:Ww,nvge:Kw,nvgt:Qw,nvHarr:Xw,nvinfin:jw,nvlArr:Zw,nvle:Jw,nvlt:e2,nvltrie:t2,nvrArr:n2,nvrtrie:r2,nvsim:i2,nwarhk:a2,nwarr:o2,nwArr:s2,nwarrow:l2,nwnear:c2,Oacute:u2,oacute:d2,oast:_2,Ocirc:p2,ocirc:m2,ocir:f2,Ocy:g2,ocy:h2,odash:E2,Odblac:S2,odblac:b2,odiv:v2,odot:T2,odsold:y2,OElig:C2,oelig:R2,ofcir:N2,Ofr:O2,ofr:A2,ogon:I2,Ograve:D2,ograve:x2,ogt:w2,ohbar:M2,ohm:L2,oint:k2,olarr:P2,olcir:B2,olcross:F2,oline:U2,olt:G2,Omacr:q2,omacr:Y2,Omega:z2,omega:$2,Omicron:H2,omicron:V2,omid:W2,ominus:K2,Oopf:Q2,oopf:X2,opar:j2,OpenCurlyDoubleQuote:Z2,OpenCurlyQuote:J2,operp:eM,oplus:tM,orarr:nM,Or:rM,or:iM,ord:aM,order:oM,orderof:sM,ordf:lM,ordm:cM,origof:uM,oror:dM,orslope:_M,orv:pM,oS:mM,Oscr:fM,oscr:gM,Oslash:hM,oslash:EM,osol:SM,Otilde:bM,otilde:vM,otimesas:TM,Otimes:yM,otimes:CM,Ouml:RM,ouml:NM,ovbar:OM,OverBar:AM,OverBrace:IM,OverBracket:DM,OverParenthesis:xM,para:wM,parallel:MM,par:LM,parsim:kM,parsl:PM,part:BM,PartialD:FM,Pcy:UM,pcy:GM,percnt:qM,period:YM,permil:zM,perp:$M,pertenk:HM,Pfr:VM,pfr:WM,Phi:KM,phi:QM,phiv:XM,phmmat:jM,phone:ZM,Pi:JM,pi:e4,pitchfork:t4,piv:n4,planck:r4,planckh:i4,plankv:a4,plusacir:o4,plusb:s4,pluscir:l4,plus:c4,plusdo:u4,plusdu:d4,pluse:_4,PlusMinus:p4,plusmn:m4,plussim:f4,plustwo:g4,pm:h4,Poincareplane:E4,pointint:S4,popf:b4,Popf:v4,pound:T4,prap:y4,Pr:C4,pr:R4,prcue:N4,precapprox:O4,prec:A4,preccurlyeq:I4,Precedes:D4,PrecedesEqual:x4,PrecedesSlantEqual:w4,PrecedesTilde:M4,preceq:L4,precnapprox:k4,precneqq:P4,precnsim:B4,pre:F4,prE:U4,precsim:G4,prime:q4,Prime:Y4,primes:z4,prnap:$4,prnE:H4,prnsim:V4,prod:W4,Product:K4,profalar:Q4,profline:X4,profsurf:j4,prop:Z4,Proportional:J4,Proportion:eL,propto:tL,prsim:nL,prurel:rL,Pscr:iL,pscr:aL,Psi:oL,psi:sL,puncsp:lL,Qfr:cL,qfr:uL,qint:dL,qopf:_L,Qopf:pL,qprime:mL,Qscr:fL,qscr:gL,quaternions:hL,quatint:EL,quest:SL,questeq:bL,quot:vL,QUOT:TL,rAarr:yL,race:CL,Racute:RL,racute:NL,radic:OL,raemptyv:AL,rang:IL,Rang:DL,rangd:xL,range:wL,rangle:ML,raquo:LL,rarrap:kL,rarrb:PL,rarrbfs:BL,rarrc:FL,rarr:UL,Rarr:GL,rArr:qL,rarrfs:YL,rarrhk:zL,rarrlp:$L,rarrpl:HL,rarrsim:VL,Rarrtl:WL,rarrtl:KL,rarrw:QL,ratail:XL,rAtail:jL,ratio:ZL,rationals:JL,rbarr:ek,rBarr:tk,RBarr:nk,rbbrk:rk,rbrace:ik,rbrack:ak,rbrke:ok,rbrksld:sk,rbrkslu:lk,Rcaron:ck,rcaron:uk,Rcedil:dk,rcedil:_k,rceil:pk,rcub:mk,Rcy:fk,rcy:gk,rdca:hk,rdldhar:Ek,rdquo:Sk,rdquor:bk,rdsh:vk,real:Tk,realine:yk,realpart:Ck,reals:Rk,Re:Nk,rect:Ok,reg:Ak,REG:Ik,ReverseElement:Dk,ReverseEquilibrium:xk,ReverseUpEquilibrium:wk,rfisht:Mk,rfloor:Lk,rfr:kk,Rfr:Pk,rHar:Bk,rhard:Fk,rharu:Uk,rharul:Gk,Rho:qk,rho:Yk,rhov:zk,RightAngleBracket:$k,RightArrowBar:Hk,rightarrow:Vk,RightArrow:Wk,Rightarrow:Kk,RightArrowLeftArrow:Qk,rightarrowtail:Xk,RightCeiling:jk,RightDoubleBracket:Zk,RightDownTeeVector:Jk,RightDownVectorBar:e3,RightDownVector:t3,RightFloor:n3,rightharpoondown:r3,rightharpoonup:i3,rightleftarrows:a3,rightleftharpoons:o3,rightrightarrows:s3,rightsquigarrow:l3,RightTeeArrow:c3,RightTee:u3,RightTeeVector:d3,rightthreetimes:_3,RightTriangleBar:p3,RightTriangle:m3,RightTriangleEqual:f3,RightUpDownVector:g3,RightUpTeeVector:h3,RightUpVectorBar:E3,RightUpVector:S3,RightVectorBar:b3,RightVector:v3,ring:T3,risingdotseq:y3,rlarr:C3,rlhar:R3,rlm:N3,rmoustache:O3,rmoust:A3,rnmid:I3,roang:D3,roarr:x3,robrk:w3,ropar:M3,ropf:L3,Ropf:k3,roplus:P3,rotimes:B3,RoundImplies:F3,rpar:U3,rpargt:G3,rppolint:q3,rrarr:Y3,Rrightarrow:z3,rsaquo:$3,rscr:H3,Rscr:V3,rsh:W3,Rsh:K3,rsqb:Q3,rsquo:X3,rsquor:j3,rthree:Z3,rtimes:J3,rtri:e5,rtrie:t5,rtrif:n5,rtriltri:r5,RuleDelayed:i5,ruluhar:a5,rx:o5,Sacute:s5,sacute:l5,sbquo:c5,scap:u5,Scaron:d5,scaron:_5,Sc:p5,sc:m5,sccue:f5,sce:g5,scE:h5,Scedil:E5,scedil:S5,Scirc:b5,scirc:v5,scnap:T5,scnE:y5,scnsim:C5,scpolint:R5,scsim:N5,Scy:O5,scy:A5,sdotb:I5,sdot:D5,sdote:x5,searhk:w5,searr:M5,seArr:L5,searrow:k5,sect:P5,semi:B5,seswar:F5,setminus:U5,setmn:G5,sext:q5,Sfr:Y5,sfr:z5,sfrown:$5,sharp:H5,SHCHcy:V5,shchcy:W5,SHcy:K5,shcy:Q5,ShortDownArrow:X5,ShortLeftArrow:j5,shortmid:Z5,shortparallel:J5,ShortRightArrow:eP,ShortUpArrow:tP,shy:nP,Sigma:rP,sigma:iP,sigmaf:aP,sigmav:oP,sim:sP,simdot:lP,sime:cP,simeq:uP,simg:dP,simgE:_P,siml:pP,simlE:mP,simne:fP,simplus:gP,simrarr:hP,slarr:EP,SmallCircle:SP,smallsetminus:bP,smashp:vP,smeparsl:TP,smid:yP,smile:CP,smt:RP,smte:NP,smtes:OP,SOFTcy:AP,softcy:IP,solbar:DP,solb:xP,sol:wP,Sopf:MP,sopf:LP,spades:kP,spadesuit:PP,spar:BP,sqcap:FP,sqcaps:UP,sqcup:GP,sqcups:qP,Sqrt:YP,sqsub:zP,sqsube:$P,sqsubset:HP,sqsubseteq:VP,sqsup:WP,sqsupe:KP,sqsupset:QP,sqsupseteq:XP,square:jP,Square:ZP,SquareIntersection:JP,SquareSubset:e6,SquareSubsetEqual:t6,SquareSuperset:n6,SquareSupersetEqual:r6,SquareUnion:i6,squarf:a6,squ:o6,squf:s6,srarr:l6,Sscr:c6,sscr:u6,ssetmn:d6,ssmile:_6,sstarf:p6,Star:m6,star:f6,starf:g6,straightepsilon:h6,straightphi:E6,strns:S6,sub:b6,Sub:v6,subdot:T6,subE:y6,sube:C6,subedot:R6,submult:N6,subnE:O6,subne:A6,subplus:I6,subrarr:D6,subset:x6,Subset:w6,subseteq:M6,subseteqq:L6,SubsetEqual:k6,subsetneq:P6,subsetneqq:B6,subsim:F6,subsub:U6,subsup:G6,succapprox:q6,succ:Y6,succcurlyeq:z6,Succeeds:$6,SucceedsEqual:H6,SucceedsSlantEqual:V6,SucceedsTilde:W6,succeq:K6,succnapprox:Q6,succneqq:X6,succnsim:j6,succsim:Z6,SuchThat:J6,sum:e7,Sum:t7,sung:n7,sup1:r7,sup2:i7,sup3:a7,sup:o7,Sup:s7,supdot:l7,supdsub:c7,supE:u7,supe:d7,supedot:_7,Superset:p7,SupersetEqual:m7,suphsol:f7,suphsub:g7,suplarr:h7,supmult:E7,supnE:S7,supne:b7,supplus:v7,supset:T7,Supset:y7,supseteq:C7,supseteqq:R7,supsetneq:N7,supsetneqq:O7,supsim:A7,supsub:I7,supsup:D7,swarhk:x7,swarr:w7,swArr:M7,swarrow:L7,swnwar:k7,szlig:P7,Tab:B7,target:F7,Tau:U7,tau:G7,tbrk:q7,Tcaron:Y7,tcaron:z7,Tcedil:$7,tcedil:H7,Tcy:V7,tcy:W7,tdot:K7,telrec:Q7,Tfr:X7,tfr:j7,there4:Z7,therefore:J7,Therefore:e8,Theta:t8,theta:n8,thetasym:r8,thetav:i8,thickapprox:a8,thicksim:o8,ThickSpace:s8,ThinSpace:l8,thinsp:c8,thkap:u8,thksim:d8,THORN:_8,thorn:p8,tilde:m8,Tilde:f8,TildeEqual:g8,TildeFullEqual:h8,TildeTilde:E8,timesbar:S8,timesb:b8,times:v8,timesd:T8,tint:y8,toea:C8,topbot:R8,topcir:N8,top:O8,Topf:A8,topf:I8,topfork:D8,tosa:x8,tprime:w8,trade:M8,TRADE:L8,triangle:k8,triangledown:P8,triangleleft:B8,trianglelefteq:F8,triangleq:U8,triangleright:G8,trianglerighteq:q8,tridot:Y8,trie:z8,triminus:$8,TripleDot:H8,triplus:V8,trisb:W8,tritime:K8,trpezium:Q8,Tscr:X8,tscr:j8,TScy:Z8,tscy:J8,TSHcy:e9,tshcy:t9,Tstrok:n9,tstrok:r9,twixt:i9,twoheadleftarrow:a9,twoheadrightarrow:o9,Uacute:s9,uacute:l9,uarr:c9,Uarr:u9,uArr:d9,Uarrocir:_9,Ubrcy:p9,ubrcy:m9,Ubreve:f9,ubreve:g9,Ucirc:h9,ucirc:E9,Ucy:S9,ucy:b9,udarr:v9,Udblac:T9,udblac:y9,udhar:C9,ufisht:R9,Ufr:N9,ufr:O9,Ugrave:A9,ugrave:I9,uHar:D9,uharl:x9,uharr:w9,uhblk:M9,ulcorn:L9,ulcorner:k9,ulcrop:P9,ultri:B9,Umacr:F9,umacr:U9,uml:G9,UnderBar:q9,UnderBrace:Y9,UnderBracket:z9,UnderParenthesis:$9,Union:H9,UnionPlus:V9,Uogon:W9,uogon:K9,Uopf:Q9,uopf:X9,UpArrowBar:j9,uparrow:Z9,UpArrow:J9,Uparrow:eB,UpArrowDownArrow:tB,updownarrow:nB,UpDownArrow:rB,Updownarrow:iB,UpEquilibrium:aB,upharpoonleft:oB,upharpoonright:sB,uplus:lB,UpperLeftArrow:cB,UpperRightArrow:uB,upsi:dB,Upsi:_B,upsih:pB,Upsilon:mB,upsilon:fB,UpTeeArrow:gB,UpTee:hB,upuparrows:EB,urcorn:SB,urcorner:bB,urcrop:vB,Uring:TB,uring:yB,urtri:CB,Uscr:RB,uscr:NB,utdot:OB,Utilde:AB,utilde:IB,utri:DB,utrif:xB,uuarr:wB,Uuml:MB,uuml:LB,uwangle:kB,vangrt:PB,varepsilon:BB,varkappa:FB,varnothing:UB,varphi:GB,varpi:qB,varpropto:YB,varr:zB,vArr:$B,varrho:HB,varsigma:VB,varsubsetneq:WB,varsubsetneqq:KB,varsupsetneq:QB,varsupsetneqq:XB,vartheta:jB,vartriangleleft:ZB,vartriangleright:JB,vBar:eF,Vbar:tF,vBarv:nF,Vcy:rF,vcy:iF,vdash:aF,vDash:oF,Vdash:sF,VDash:lF,Vdashl:cF,veebar:uF,vee:dF,Vee:_F,veeeq:pF,vellip:mF,verbar:fF,Verbar:gF,vert:hF,Vert:EF,VerticalBar:SF,VerticalLine:bF,VerticalSeparator:vF,VerticalTilde:TF,VeryThinSpace:yF,Vfr:CF,vfr:RF,vltri:NF,vnsub:OF,vnsup:AF,Vopf:IF,vopf:DF,vprop:xF,vrtri:wF,Vscr:MF,vscr:LF,vsubnE:kF,vsubne:PF,vsupnE:BF,vsupne:FF,Vvdash:UF,vzigzag:GF,Wcirc:qF,wcirc:YF,wedbar:zF,wedge:$F,Wedge:HF,wedgeq:VF,weierp:WF,Wfr:KF,wfr:QF,Wopf:XF,wopf:jF,wp:ZF,wr:JF,wreath:eU,Wscr:tU,wscr:nU,xcap:rU,xcirc:iU,xcup:aU,xdtri:oU,Xfr:sU,xfr:lU,xharr:cU,xhArr:uU,Xi:dU,xi:_U,xlarr:pU,xlArr:mU,xmap:fU,xnis:gU,xodot:hU,Xopf:EU,xopf:SU,xoplus:bU,xotime:vU,xrarr:TU,xrArr:yU,Xscr:CU,xscr:RU,xsqcup:NU,xuplus:OU,xutri:AU,xvee:IU,xwedge:DU,Yacute:xU,yacute:wU,YAcy:MU,yacy:LU,Ycirc:kU,ycirc:PU,Ycy:BU,ycy:FU,yen:UU,Yfr:GU,yfr:qU,YIcy:YU,yicy:zU,Yopf:$U,yopf:HU,Yscr:VU,yscr:WU,YUcy:KU,yucy:QU,yuml:XU,Yuml:jU,Zacute:ZU,zacute:JU,Zcaron:eG,zcaron:tG,Zcy:nG,zcy:rG,Zdot:iG,zdot:aG,zeetrf:oG,ZeroWidthSpace:sG,Zeta:lG,zeta:cG,zfr:uG,Zfr:dG,ZHcy:_G,zhcy:pG,zigrarr:mG,zopf:fG,Zopf:gG,Zscr:hG,zscr:EG,zwj:SG,zwnj:bG},Al=vG,$a=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Kn={},Ts={};function TG(e){var t,n,r=Ts[e];if(r)return r;for(r=Ts[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&l<=57343){if(l>=55296&&l<=56319&&r+1=56320&&u<=57343)){d+=encodeURIComponent(e[r]+e[r+1]),r++;continue}d+="%EF%BF%BD";continue}d+=encodeURIComponent(e[r])}return d}Si.defaultChars=";/?:@&=+$,-_.!~*'()#";Si.componentChars="-_.!~*'()";var yG=Si,ys={};function CG(e){var t,n,r=ys[e];if(r)return r;for(r=ys[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&g<=57343?h+="\uFFFD\uFFFD\uFFFD":h+=String.fromCharCode(g),a+=6;continue}if((u&248)===240&&a+91114111?h+="\uFFFD\uFFFD\uFFFD\uFFFD":(g-=65536,h+=String.fromCharCode(55296+(g>>10),56320+(g&1023))),a+=9;continue}h+="\uFFFD"}return h})}bi.defaultChars=";/?:@&=+$,#";bi.componentChars="";var RG=bi,NG=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",n+=t.search||"",n+=t.hash||"",n};function pi(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var OG=/^([a-z0-9.+-]+:)/i,AG=/:[0-9]*$/,IG=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,DG=["<",">",'"',"`"," ","\r",` `," "],xG=["{","}","|","\\","^","`"].concat(DG),wG=["'"].concat(xG),Cs=["%","/","?",";","#"].concat(wG),Rs=["/","?","#"],MG=255,Ns=/^[+a-z0-9A-Z_-]{0,63}$/,LG=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Os={javascript:!0,"javascript:":!0},As={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function kG(e,t){if(e&&e instanceof pi)return e;var n=new pi;return n.parse(e,t),n}pi.prototype.parse=function(e,t){var n,r,a,l,u,c=e;if(c=c.trim(),!t&&e.split("#").length===1){var d=IG.exec(c);if(d)return this.pathname=d[1],d[2]&&(this.search=d[2]),this}var f=OG.exec(c);if(f&&(f=f[0],a=f.toLowerCase(),this.protocol=f,c=c.substr(f.length)),(t||f||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(u=c.substr(0,2)==="//",u&&!(f&&Os[f])&&(c=c.substr(2),this.slashes=!0)),!Os[f]&&(u||f&&!As[f])){var g=-1;for(n=0;n127?E+="x":E+=C[v];if(!E.match(Ns)){var S=b.slice(0,n),A=b.slice(n+1),P=C.match(LG);P&&(S.push(P[1]),A.unshift(P[2])),A.length&&(c=A.join(".")+c),this.hostname=S.join(".");break}}}}this.hostname.length>MG&&(this.hostname=""),y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var F=c.indexOf("#");F!==-1&&(this.hash=c.substr(F),c=c.slice(0,F));var G=c.indexOf("?");return G!==-1&&(this.search=c.substr(G),c=c.slice(0,G)),c&&(this.pathname=c),As[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this};pi.prototype.parseHost=function(e){var t=AG.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var PG=kG;Kn.encode=yG;Kn.decode=RG;Kn.format=NG;Kn.parse=PG;var Qn={},Il=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Dl=/[\0-\x1F\x7F-\x9F]/,BG=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,xl=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;Qn.Any=Il;Qn.Cc=Dl;Qn.Cf=BG;Qn.P=$a;Qn.Z=xl;(function(e){function t(x){return Object.prototype.toString.call(x)}function n(x){return t(x)==="[object String]"}var r=Object.prototype.hasOwnProperty;function a(x,Y){return r.call(x,Y)}function l(x){var Y=Array.prototype.slice.call(arguments,1);return Y.forEach(function(W){if(!!W){if(typeof W!="object")throw new TypeError(W+"must be object");Object.keys(W).forEach(function(Z){x[Z]=W[Z]})}}),x}function u(x,Y,W){return[].concat(x.slice(0,Y),W,x.slice(Y+1))}function c(x){return!(x>=55296&&x<=57343||x>=64976&&x<=65007||(x&65535)===65535||(x&65535)===65534||x>=0&&x<=8||x===11||x>=14&&x<=31||x>=127&&x<=159||x>1114111)}function d(x){if(x>65535){x-=65536;var Y=55296+(x>>10),W=56320+(x&1023);return String.fromCharCode(Y,W)}return String.fromCharCode(x)}var f=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,g=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(f.source+"|"+g.source,"gi"),p=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,m=Al;function y(x,Y){var W=0;return a(m,Y)?m[Y]:Y.charCodeAt(0)===35&&p.test(Y)&&(W=Y[1].toLowerCase()==="x"?parseInt(Y.slice(2),16):parseInt(Y.slice(1),10),c(W))?d(W):x}function b(x){return x.indexOf("\\")<0?x:x.replace(f,"$1")}function C(x){return x.indexOf("\\")<0&&x.indexOf("&")<0?x:x.replace(h,function(Y,W,Z){return W||y(Y,Z)})}var E=/[&<>"]/,v=/[&<>"]/g,N={"&":"&","<":"<",">":">",'"':"""};function S(x){return N[x]}function A(x){return E.test(x)?x.replace(v,S):x}var P=/[.?*+^$[\]\\(){}|-]/g;function F(x){return x.replace(P,"\\$&")}function G(x){switch(x){case 9:case 32:return!0}return!1}function z(x){if(x>=8192&&x<=8202)return!0;switch(x){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var k=$a;function L(x){return k.test(x)}function w(x){switch(x){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function M(x){return x=x.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(x=x.replace(/ẞ/g,"\xDF")),x.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Kn,e.lib.ucmicro=Qn,e.assign=l,e.isString=n,e.has=a,e.unescapeMd=b,e.unescapeAll=C,e.isValidEntityCode=c,e.fromCodePoint=d,e.escapeHtml=A,e.arrayReplaceAt=u,e.isSpace=G,e.isWhiteSpace=z,e.isMdAsciiPunct=w,e.isPunctChar=L,e.escapeRE=F,e.normalizeReference=M})(Je);var vi={},FG=function(t,n,r){var a,l,u,c,d=-1,f=t.posMax,g=t.pos;for(t.pos=n+1,a=1;t.pos32))return d;if(a===41){if(l===0)break;l--}n++}return c===n||l!==0||(d.str=Is(t.slice(c,n)),d.lines=u,d.pos=n,d.ok=!0),d},GG=Je.unescapeAll,qG=function(t,n,r){var a,l,u=0,c=n,d={ok:!1,pos:0,lines:0,str:""};if(n>=r||(l=t.charCodeAt(n),l!==34&&l!==39&&l!==40))return d;for(n++,l===40&&(l=41);n"+Cn(e[t].content)+""};Xt.code_block=function(e,t,n,r,a){var l=e[t];return""+Cn(e[t].content)+` `};Xt.fence=function(e,t,n,r,a){var l=e[t],u=l.info?zG(l.info).trim():"",c="",d="",f,g,h,p,m;return u&&(h=u.split(/(\s+)/g),c=h[0],d=h.slice(2).join("")),n.highlight?f=n.highlight(l.content,c,d)||Cn(l.content):f=Cn(l.content),f.indexOf("({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),sj=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],lj=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],cj=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],uj=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],dj=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function _j(e){const t=oj(e),n="and or not only",r={className:"variable",begin:"\\$"+e.IDENT_RE},a=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],l="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+l,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+l,className:"selector-id"},{begin:"\\b("+sj.join("|")+")"+l,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+cj.join("|")+")"+l},{className:"selector-pseudo",begin:"&?:(:)?("+uj.join("|")+")"+l},t.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:n,attribute:lj.join(" ")},contains:[t.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+a.join("|")+"))\\b"},r,t.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[t.HEXCOLOR,r,e.APOS_STRING_MODE,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE]}]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+dj.join("|")+")\\b",starts:{end:/;|$/,contains:[t.HEXCOLOR,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,t.CSS_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},t.FUNCTION_DISPATCH]}}var pj=_j;function mj(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ (multipart)?`,end:`\\] -`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}var fj=mj;function mc(e){return e?typeof e=="string"?e:e.source:null}function ui(e){return it("(?=",e,")")}function it(...e){return e.map(n=>mc(n)).join("")}function gj(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Rt(...e){const t=gj(e);return"("+(t.capture?"":"?:")+e.map(r=>mc(r)).join("|")+")"}const oo=e=>it(/\b/,e,/\w$/.test(e)?/\b/:/\B/),hj=["Protocol","Type"].map(oo),cl=["init","self"].map(oo),Ej=["Any","Self"],Ma=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],ul=["false","nil","true"],Sj=["assignment","associativity","higherThan","left","lowerThan","none","right"],bj=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],dl=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],fc=Rt(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),gc=Rt(fc,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),La=it(fc,gc,"*"),hc=Rt(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),gi=Rt(hc,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),an=it(hc,gi,"*"),ka=it(/[A-Z]/,gi,"*"),vj=["autoclosure",it(/convention\(/,Rt("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",it(/objc\(/,an,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],Tj=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function yj(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],a={match:[/\./,Rt(...hj,...cl)],className:{2:"keyword"}},l={match:it(/\./,Rt(...Ma)),relevance:0},u=Ma.filter(ue=>typeof ue=="string").concat(["_|0"]),c=Ma.filter(ue=>typeof ue!="string").concat(Ej).map(oo),d={variants:[{className:"keyword",match:Rt(...c,...cl)}]},f={$pattern:Rt(/\b\w+/,/#\w+/),keyword:u.concat(bj),literal:ul},g=[a,l,d],h={match:it(/\./,Rt(...dl)),relevance:0},p={className:"built_in",match:it(/\b/,Rt(...dl),/(?=\()/)},m=[h,p],y={match:/->/,relevance:0},b={className:"operator",relevance:0,variants:[{match:La},{match:`\\.(\\.|${gc})+`}]},C=[y,b],E="([0-9]_*)+",v="([0-9a-fA-F]_*)+",N={className:"number",relevance:0,variants:[{match:`\\b(${E})(\\.(${E}))?([eE][+-]?(${E}))?\\b`},{match:`\\b0x(${v})(\\.(${v}))?([pP][+-]?(${E}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},S=(ue="")=>({className:"subst",variants:[{match:it(/\\/,ue,/[0\\tnr"']/)},{match:it(/\\/,ue,/u\{[0-9a-fA-F]{1,8}\}/)}]}),A=(ue="")=>({className:"subst",match:it(/\\/,ue,/[\t ]*(?:[\r\n]|\r\n)/)}),P=(ue="")=>({className:"subst",label:"interpol",begin:it(/\\/,ue,/\(/),end:/\)/}),F=(ue="")=>({begin:it(ue,/"""/),end:it(/"""/,ue),contains:[S(ue),A(ue),P(ue)]}),G=(ue="")=>({begin:it(ue,/"/),end:it(/"/,ue),contains:[S(ue),P(ue)]}),z={className:"string",variants:[F(),F("#"),F("##"),F("###"),G(),G("#"),G("##"),G("###")]},k={match:it(/`/,an,/`/)},L={className:"variable",match:/\$\d+/},w={className:"variable",match:`\\$${gi}+`},M=[k,L,w],x={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Tj,contains:[...C,N,z]}]}},Y={className:"keyword",match:it(/@/,Rt(...vj))},W={className:"meta",match:it(/@/,an)},Z=[x,Y,W],ce={match:ui(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:it(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,gi,"+")},{className:"type",match:ka,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:it(/\s+&\s+/,ui(ka)),relevance:0}]},te={begin://,keywords:f,contains:[...r,...g,...Z,y,ce]};ce.contains.push(te);const j={match:it(an,/\s*:/),keywords:"_|0",relevance:0},U={begin:/\(/,end:/\)/,relevance:0,keywords:f,contains:["self",j,...r,...g,...m,...C,N,z,...M,...Z,ce]},X={begin://,contains:[...r,ce]},J={begin:Rt(ui(it(an,/\s*:/)),ui(it(an,/\s+/,an,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:an}]},ae={begin:/\(/,end:/\)/,keywords:f,contains:[J,...r,...g,...C,N,z,...Z,ce,U],endsParent:!0,illegal:/["']/},le={match:[/func/,/\s+/,Rt(k.match,an,La)],className:{1:"keyword",3:"title.function"},contains:[X,ae,t],illegal:[/\[/,/%/]},Q={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[X,ae,t],illegal:/\[|%/},ie={match:[/operator/,/\s+/,La],className:{1:"keyword",3:"title"}},_e={begin:[/precedencegroup/,/\s+/,ka],className:{1:"keyword",3:"title"},contains:[ce],keywords:[...Sj,...ul],end:/}/};for(const ue of z.variants){const Ee=ue.contains.find(ke=>ke.label==="interpol");Ee.keywords=f;const Ie=[...g,...m,...C,N,z,...M];Ee.contains=[...Ie,{begin:/\(/,end:/\)/,contains:["self",...Ie]}]}return{name:"Swift",keywords:f,contains:[...r,le,Q,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:f,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...g]},ie,_e,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},...g,...m,...C,N,z,...M,...Z,ce,U]}}var Cj=yj;function Rj(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}var Nj=Rj;function Oj(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},a={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},l={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,a]},u=e.inherit(l,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c="[0-9]{4}(-[0-9][0-9]){0,2}",d="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",f="(\\.[0-9]*)?",g="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",h={className:"number",begin:"\\b"+c+d+f+g+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},m={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},y={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},b=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},h,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},m,y,l],C=[...b];return C.pop(),C.push(u),p.contains=C,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:b}}var Aj=Oj;function Ij(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}var Dj=Ij;function xj(e){const t=e.regex,n=/[a-zA-Z_][a-zA-Z0-9_]*/,r={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[r]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},r]}}var wj=xj;function Mj(e){const t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}}var Lj=Mj;function kj(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"},r={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,n]},a={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,n]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[r,a,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}var Pj=kj;function Bj(e){const t=e.regex,n=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],r=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let a=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];a=a.concat(a.map(y=>`end${y}`));const l={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},u={scope:"number",match:/\d+/},c={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[l,u]},d={beginKeywords:n.join(" "),keywords:{name:n},relevance:0,contains:[c]},f={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:r}]},g=(y,{relevance:b})=>({beginScope:{1:"template-tag",3:"name"},relevance:b||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either(...y)],end:/%\}/,keywords:"in",contains:[f,d,l,u]}),h=/[a-z_]+/,p=g(a,{relevance:2}),m=g([h],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),p,m,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",f,d,l,u]}]}}var Fj=Bj;const hi="[A-Za-z$_][0-9A-Za-z$_]*",Ec=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Sc=["true","false","null","undefined","NaN","Infinity"],bc=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],vc=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Tc=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],yc=["arguments","this","super","console","window","document","localStorage","module","global"],Cc=[].concat(Tc,bc,vc);function Uj(e){const t=e.regex,n=(Z,{after:ce})=>{const te="",end:""},l=/<[A-Za-z0-9\\._:-]+\s*\/>/,u={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Z,ce)=>{const te=Z[0].length+Z.index,j=Z.input[te];if(j==="<"||j===","){ce.ignoreMatch();return}j===">"&&(n(Z,{after:te})||ce.ignoreMatch());let U;const X=Z.input.substring(te);if(U=X.match(/^\s*=/)){ce.ignoreMatch();return}if((U=X.match(/^\s+extends\s+/))&&U.index===0){ce.ignoreMatch();return}}},c={$pattern:hi,keyword:Ec,literal:Sc,built_in:Cc,"variable.language":yc},d="[0-9](_?[0-9])*",f=`\\.(${d})`,g="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",h={className:"number",variants:[{begin:`(\\b(${g})((${f})|\\.)?|(${f}))[eE][+-]?(${d})\\b`},{begin:`\\b(${g})\\b((${f})\\b|\\.)?|(${f})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:c,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"css"}},b={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},C=e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),E={className:"comment",variants:[C,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,y,b,{match:/\$\d+/},h];p.contains=v.concat({begin:/\{/,end:/\}/,keywords:c,contains:["self"].concat(v)});const N=[].concat(E,p.contains),S=N.concat([{begin:/\(/,end:/\)/,keywords:c,contains:["self"].concat(N)}]),A={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:S},P={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},F={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...bc,...vc]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},z={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[A],illegal:/%/},k={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function L(Z){return t.concat("(?!",Z.join("|"),")")}const w={match:t.concat(/\b/,L([...Tc,"super","import"]),r,t.lookahead(/\(/)),className:"title.function",relevance:0},M={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},x={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},A]},Y="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",W={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(Y)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[A]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:S,CLASS_REFERENCE:F},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,y,b,E,{match:/\$\d+/},h,F,{className:"attr",begin:r+t.lookahead(":"),relevance:0},W,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,e.REGEXP_MODE,{className:"function",begin:Y,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:S}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:a.begin,end:a.end},{match:l},{begin:u.begin,"on:begin":u.isTrulyOpeningTag,end:u.end}],subLanguage:"xml",contains:[{begin:u.begin,end:u.end,skip:!0,contains:["self"]}]}]},z,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[A,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},M,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[A]},w,k,P,x,{match:/\$[(.]/}]}}function Gj(e){const t=Uj(e),n=hi,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],a={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},l={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[t.exports.CLASS_REFERENCE]},u={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},c=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],d={$pattern:hi,keyword:Ec.concat(c),literal:Sc,built_in:Cc.concat(r),"variable.language":yc},f={className:"meta",begin:"@"+n},g=(p,m,y)=>{const b=p.contains.findIndex(C=>C.label===m);if(b===-1)throw new Error("can not find mode to replace");p.contains.splice(b,1,y)};Object.assign(t.keywords,d),t.exports.PARAMS_CONTAINS.push(f),t.contains=t.contains.concat([f,a,l]),g(t,"shebang",e.SHEBANG()),g(t,"use_strict",u);const h=t.contains.find(p=>p.label==="func.def");return h.relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx"]}),t}var qj=Gj;function Yj(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}var zj=Yj;function $j(e){const t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},r={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},a=/\d{1,2}\/\d{1,2}\/\d{4}/,l=/\d{4}-\d{1,2}-\d{1,2}/,u=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,c=/\d{1,2}(:\d{1,2}){1,2}/,d={className:"literal",variants:[{begin:t.concat(/# */,t.either(l,a),/ *#/)},{begin:t.concat(/# */,c,/ *#/)},{begin:t.concat(/# */,u,/ *#/)},{begin:t.concat(/# */,t.either(l,a),/ +/,t.either(u,c),/ *#/)}]},f={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},g={className:"label",begin:/^\w+:/},h=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),p=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,r,d,f,g,h,p,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[p]}]}}var Hj=$j;function Vj(e){const t=e.regex,n=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],r=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],a={begin:t.concat(t.either(...n),"\\s*\\("),relevance:0,keywords:{built_in:n}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:r,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[a,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}var Wj=Vj;function Kj(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}var Qj=Kj;function Xj(e){const t=e.regex,n={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},r=["__FILE__","__LINE__"],a=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:n,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either(...r))},{scope:"meta",begin:t.concat(/`/,t.either(...a)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:a}]}}var jj=Xj;function Zj(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,r=t+"(\\."+t+")?("+n+")?",a="\\w+",l=t+"#"+a+"(\\."+a+")?#("+n+")?",u="\\b("+l+"|"+r+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:u,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}var Jj=Zj;function eZ(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}var tZ=eZ;function nZ(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const n=e.COMMENT(/;;/,/$/),r=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],a={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},l={className:"variable",begin:/\$[\w_]+/},u={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},c={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},d={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},f={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:r},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},l,u,a,e.QUOTE_STRING_MODE,d,f,c]}}var rZ=nZ;function iZ(e){const t=e.regex,n=/[a-zA-Z]\w*/,r=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],a=["true","false","null"],l=["this","super"],u=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],c=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],d={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,n,/(?=\s*[({])/),className:"title.function"},f={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,n),t.either(...c)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:n}]}]}},g={variants:[{match:[/class\s+/,n,/\s+is\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r},h={relevance:0,match:t.either(...c),className:"operator"},p={className:"string",begin:/"""/,end:/"""/},m={className:"property",begin:t.concat(/\./,t.lookahead(n)),end:n,excludeBegin:!0,relevance:0},y={relevance:0,match:t.concat(/\b_/,n),scope:"variable"},b={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:u}},C=e.C_NUMBER_MODE,E={match:[n,/\s*/,/=/,/\s*/,/\(/,n,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},v=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),N={scope:"subst",begin:/%\(/,end:/\)/,contains:[C,b,d,y,h]},S={scope:"string",begin:/"/,end:/"/,contains:[N,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};N.contains.push(S);const A=[...r,...l,...a],P={relevance:0,match:t.concat("\\b(?!",A.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:r,"variable.language":l,literal:a},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:a},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},C,S,p,v,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,b,g,E,f,d,h,y,m,P]}}var aZ=iZ;function oZ(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}var sZ=oZ;function lZ(e){const t=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],n=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],r=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],l={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:t,literal:["true","false","nil"],built_in:n.concat(r)},u={className:"string",begin:'"',end:'"',illegal:"\\n"},c={className:"string",begin:"'",end:"'",illegal:"\\n"},d={className:"string",begin:"<<",end:">>"},f={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},g={beginKeywords:"import",end:"$",keywords:l,contains:[u]},h={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:l}})]};return{name:"XL",aliases:["tao"],keywords:l,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,u,c,d,h,g,f,e.NUMBER_MODE]}}var cZ=lZ;function uZ(e){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}var dZ=uZ;function _Z(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n=e.UNDERSCORE_TITLE_MODE,r={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},a="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:a,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:a,contains:["self",e.C_BLOCK_COMMENT_MODE,t,r]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},t,r]}}var pZ=_Z,oe=c$;oe.registerLanguage("1c",d$);oe.registerLanguage("abnf",p$);oe.registerLanguage("accesslog",f$);oe.registerLanguage("actionscript",h$);oe.registerLanguage("ada",S$);oe.registerLanguage("angelscript",v$);oe.registerLanguage("apache",y$);oe.registerLanguage("applescript",R$);oe.registerLanguage("arcade",O$);oe.registerLanguage("arduino",D$);oe.registerLanguage("armasm",w$);oe.registerLanguage("xml",L$);oe.registerLanguage("asciidoc",P$);oe.registerLanguage("aspectj",F$);oe.registerLanguage("autohotkey",G$);oe.registerLanguage("autoit",Y$);oe.registerLanguage("avrasm",$$);oe.registerLanguage("awk",V$);oe.registerLanguage("axapta",K$);oe.registerLanguage("bash",X$);oe.registerLanguage("basic",Z$);oe.registerLanguage("bnf",eH);oe.registerLanguage("brainfuck",nH);oe.registerLanguage("c",iH);oe.registerLanguage("cal",oH);oe.registerLanguage("capnproto",lH);oe.registerLanguage("ceylon",uH);oe.registerLanguage("clean",_H);oe.registerLanguage("clojure",mH);oe.registerLanguage("clojure-repl",gH);oe.registerLanguage("cmake",EH);oe.registerLanguage("coffeescript",NH);oe.registerLanguage("coq",AH);oe.registerLanguage("cos",DH);oe.registerLanguage("cpp",wH);oe.registerLanguage("crmsh",LH);oe.registerLanguage("crystal",PH);oe.registerLanguage("csharp",FH);oe.registerLanguage("csp",GH);oe.registerLanguage("css",KH);oe.registerLanguage("d",XH);oe.registerLanguage("markdown",ZH);oe.registerLanguage("dart",eV);oe.registerLanguage("delphi",nV);oe.registerLanguage("diff",iV);oe.registerLanguage("django",oV);oe.registerLanguage("dns",lV);oe.registerLanguage("dockerfile",uV);oe.registerLanguage("dos",_V);oe.registerLanguage("dsconfig",mV);oe.registerLanguage("dts",gV);oe.registerLanguage("dust",EV);oe.registerLanguage("ebnf",bV);oe.registerLanguage("elixir",TV);oe.registerLanguage("elm",CV);oe.registerLanguage("ruby",NV);oe.registerLanguage("erb",AV);oe.registerLanguage("erlang-repl",DV);oe.registerLanguage("erlang",wV);oe.registerLanguage("excel",LV);oe.registerLanguage("fix",PV);oe.registerLanguage("flix",FV);oe.registerLanguage("fortran",GV);oe.registerLanguage("fsharp",$V);oe.registerLanguage("gams",VV);oe.registerLanguage("gauss",KV);oe.registerLanguage("gcode",XV);oe.registerLanguage("gherkin",ZV);oe.registerLanguage("glsl",eW);oe.registerLanguage("gml",nW);oe.registerLanguage("go",iW);oe.registerLanguage("golo",oW);oe.registerLanguage("gradle",lW);oe.registerLanguage("graphql",uW);oe.registerLanguage("groovy",_W);oe.registerLanguage("haml",mW);oe.registerLanguage("handlebars",gW);oe.registerLanguage("haskell",EW);oe.registerLanguage("haxe",bW);oe.registerLanguage("hsp",TW);oe.registerLanguage("http",CW);oe.registerLanguage("hy",NW);oe.registerLanguage("inform7",AW);oe.registerLanguage("ini",DW);oe.registerLanguage("irpf90",wW);oe.registerLanguage("isbl",LW);oe.registerLanguage("java",PW);oe.registerLanguage("javascript",YW);oe.registerLanguage("jboss-cli",$W);oe.registerLanguage("json",VW);oe.registerLanguage("julia",KW);oe.registerLanguage("julia-repl",XW);oe.registerLanguage("kotlin",JW);oe.registerLanguage("lasso",tK);oe.registerLanguage("latex",rK);oe.registerLanguage("ldif",aK);oe.registerLanguage("leaf",sK);oe.registerLanguage("less",mK);oe.registerLanguage("lisp",gK);oe.registerLanguage("livecodeserver",EK);oe.registerLanguage("livescript",NK);oe.registerLanguage("llvm",AK);oe.registerLanguage("lsl",DK);oe.registerLanguage("lua",wK);oe.registerLanguage("makefile",LK);oe.registerLanguage("mathematica",BK);oe.registerLanguage("matlab",UK);oe.registerLanguage("maxima",qK);oe.registerLanguage("mel",zK);oe.registerLanguage("mercury",HK);oe.registerLanguage("mipsasm",WK);oe.registerLanguage("mizar",QK);oe.registerLanguage("perl",jK);oe.registerLanguage("mojolicious",JK);oe.registerLanguage("monkey",tQ);oe.registerLanguage("moonscript",rQ);oe.registerLanguage("n1ql",aQ);oe.registerLanguage("nestedtext",sQ);oe.registerLanguage("nginx",cQ);oe.registerLanguage("nim",dQ);oe.registerLanguage("nix",pQ);oe.registerLanguage("node-repl",fQ);oe.registerLanguage("nsis",hQ);oe.registerLanguage("objectivec",SQ);oe.registerLanguage("ocaml",vQ);oe.registerLanguage("openscad",yQ);oe.registerLanguage("oxygene",RQ);oe.registerLanguage("parser3",OQ);oe.registerLanguage("pf",IQ);oe.registerLanguage("pgsql",xQ);oe.registerLanguage("php",MQ);oe.registerLanguage("php-template",kQ);oe.registerLanguage("plaintext",BQ);oe.registerLanguage("pony",UQ);oe.registerLanguage("powershell",qQ);oe.registerLanguage("processing",zQ);oe.registerLanguage("profile",HQ);oe.registerLanguage("prolog",WQ);oe.registerLanguage("properties",QQ);oe.registerLanguage("protobuf",jQ);oe.registerLanguage("puppet",JQ);oe.registerLanguage("purebasic",tX);oe.registerLanguage("python",rX);oe.registerLanguage("python-repl",aX);oe.registerLanguage("q",sX);oe.registerLanguage("qml",cX);oe.registerLanguage("r",dX);oe.registerLanguage("reasonml",pX);oe.registerLanguage("rib",fX);oe.registerLanguage("roboconf",hX);oe.registerLanguage("routeros",SX);oe.registerLanguage("rsl",vX);oe.registerLanguage("ruleslanguage",yX);oe.registerLanguage("rust",RX);oe.registerLanguage("sas",OX);oe.registerLanguage("scala",IX);oe.registerLanguage("scheme",xX);oe.registerLanguage("scilab",MX);oe.registerLanguage("scss",qX);oe.registerLanguage("shell",zX);oe.registerLanguage("smali",HX);oe.registerLanguage("smalltalk",WX);oe.registerLanguage("sml",QX);oe.registerLanguage("sqf",jX);oe.registerLanguage("sql",JX);oe.registerLanguage("stan",tj);oe.registerLanguage("stata",rj);oe.registerLanguage("step21",aj);oe.registerLanguage("stylus",pj);oe.registerLanguage("subunit",fj);oe.registerLanguage("swift",Cj);oe.registerLanguage("taggerscript",Nj);oe.registerLanguage("yaml",Aj);oe.registerLanguage("tap",Dj);oe.registerLanguage("tcl",wj);oe.registerLanguage("thrift",Lj);oe.registerLanguage("tp",Pj);oe.registerLanguage("twig",Fj);oe.registerLanguage("typescript",qj);oe.registerLanguage("vala",zj);oe.registerLanguage("vbnet",Hj);oe.registerLanguage("vbscript",Wj);oe.registerLanguage("vbscript-html",Qj);oe.registerLanguage("verilog",jj);oe.registerLanguage("vhdl",Jj);oe.registerLanguage("vim",tZ);oe.registerLanguage("wasm",rZ);oe.registerLanguage("wren",aZ);oe.registerLanguage("x86asm",sZ);oe.registerLanguage("xl",cZ);oe.registerLanguage("xquery",dZ);oe.registerLanguage("zephir",pZ);oe.HighlightJS=oe;oe.default=oe;var mZ=oe,Pa=mZ,fZ=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"markdown-body",domProps:{innerHTML:e._s(e.html)},on:{click:e.onCLick}})},gZ=[];const hZ={name:"DialogMarkdown",props:{text:{type:String,default:""}},data(){return{mdi:null}},mounted(){this.copyCodeBlock()},updated(){this.copyCodeBlock()},computed:{html({text:e}){if(e==="...")return'';if(this.mdi===null){const{highlightBlock:t}=this;this.mdi=new cz({linkify:!0,highlight(n,r){if(!!(r&&Pa.getLanguage(r))){const l=r!=null?r:"";return t(Pa.highlight(n,{language:l}).value,l)}return t(Pa.highlightAuto(n).value,"")}}),this.mdi.use(fz,{attrs:{target:"_blank",rel:"noopener"}}),this.mdi.use(_z,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"})}return this.formatMsg(this.mdi.render(e))}},methods:{highlightBlock(e,t=""){return`
${t}${this.$L("\u590D\u5236\u4EE3\u7801")}
${e}
`},formatMsg(e){const t=e.match(/]*?>/g);return t&&t.some(n=>{e=e.replace(n,`
${n}
`)}),e},copyCodeBlock(){this.$el.querySelectorAll(".code-block-wrapper").forEach(t=>{const n=t.querySelector(".code-block-header__copy"),r=t.querySelector(".code-block-body");n&&r&&n.getAttribute("data-copy")!=="click"&&(n.setAttribute("data-copy","click"),n.addEventListener("click",()=>{var a,l,u;(a=navigator.clipboard)!=null&&a.writeText?navigator.clipboard.writeText((l=r.textContent)!=null?l:""):this.copyText({text:(u=r.textContent)!=null?u:"",origin:!0})}))})},copyText(e){const t={origin:!0,...e};let n;t.origin?n=document.createElement("textarea"):n=document.createElement("input"),n.setAttribute("readonly","readonly"),n.value=t.text,document.body.appendChild(n),n.select(),document.execCommand("copy")&&document.execCommand("copy"),document.body.removeChild(n)},onCLick(e){this.$emit("click",e)}}},_l={};var EZ=Qt(hZ,fZ,gZ,!1,SZ,null,null,null);function SZ(e){for(let t in _l)this[t]=_l[t]}var bZ=function(){return EZ.exports}(),vZ=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dialog-view",class:e.viewClass,attrs:{"data-id":e.msgData.id}},[e.dialogType==="group"?n("div",{staticClass:"dialog-username"},[n("UserAvatar",{attrs:{userid:e.msgData.userid,"show-icon":!1,"show-name":!0,"click-open-dialog":""}})],1):e._e(),n("div",{directives:[{name:"longpress",rawName:"v-longpress",value:{callback:e.handleLongpress,delay:300},expression:"{callback: handleLongpress, delay: 300}"}],staticClass:"dialog-head",class:e.headClass},[!e.hideReply&&e.msgData.reply_data?n("div",{staticClass:"dialog-reply no-dark-content",on:{click:e.viewReply}},[n("UserAvatar",{attrs:{userid:e.msgData.reply_data.userid,"show-icon":!1,"show-name":!0,"tooltip-disabled":!0}}),n("div",{staticClass:"reply-desc",domProps:{innerHTML:e._s(e.$A.getMsgSimpleDesc(e.msgData.reply_data,"image-preview"))}})],1):e._e(),n("div",{ref:"content",staticClass:"dialog-content",class:e.contentClass},[e.msgData.type==="text"?n("div",{staticClass:"content-text no-dark-content"},[e.msgData.msg.type==="md"?n("DialogMarkdown",{attrs:{text:e.msgData.msg.text},on:{click:e.viewText}}):n("pre",{domProps:{innerHTML:e._s(e.$A.formatTextMsg(e.msgData.msg.text,e.userId))},on:{click:e.viewText}})],1):e.msgData.type==="file"?n("div",{class:`content-file ${e.msgData.msg.type}`},[n("div",{staticClass:"dialog-file"},[e.msgData.msg.type==="img"?n("img",{staticClass:"file-img",style:e.imageStyle(e.msgData.msg),attrs:{src:e.msgData.msg.thumb},on:{click:e.viewFile}}):n("div",{staticClass:"file-box",on:{click:e.downFile}},[n("img",{staticClass:"file-thumb",attrs:{src:e.msgData.msg.thumb}}),n("div",{staticClass:"file-info"},[n("div",{staticClass:"file-name"},[e._v(e._s(e.msgData.msg.name))]),n("div",{staticClass:"file-size"},[e._v(e._s(e.$A.bytesToSize(e.msgData.msg.size)))])])])])]):e.msgData.type==="record"?n("div",{staticClass:"content-record no-dark-content"},[n("div",{staticClass:"dialog-record",class:{playing:e.audioPlaying===e.msgData.msg.path},style:e.recordStyle(e.msgData.msg),on:{click:e.playRecord}},[n("div",{staticClass:"record-time"},[e._v(e._s(e.recordDuration(e.msgData.msg.duration)))]),n("div",{staticClass:"record-icon taskfont"})])]):e.msgData.type==="meeting"?n("div",{staticClass:"content-meeting no-dark-content"},[n("ul",{staticClass:"dialog-meeting"},[n("li",[n("em",[e._v(e._s(e.$L("\u4F1A\u8BAE\u4E3B\u9898")))]),e._v(" "+e._s(e.msgData.msg.name)+" ")]),n("li",[n("em",[e._v(e._s(e.$L("\u4F1A\u8BAE\u521B\u5EFA\u4EBA")))]),n("UserAvatar",{attrs:{userid:e.msgData.msg.userid,"show-icon":!1,"show-name":!0,"tooltip-disabled":""}})],1),n("li",[n("em",[e._v(e._s(e.$L("\u9891\u9053ID")))]),e._v(" "+e._s(e.msgData.msg.meetingid.replace(/^(.{3})(.{3})(.*)$/,"$1 $2 $3"))+" ")]),n("li",{staticClass:"meeting-operation",on:{click:e.openMeeting}},[e._v(" "+e._s(e.$L("\u70B9\u51FB\u52A0\u5165\u4F1A\u8BAE"))+" "),n("i",{staticClass:"taskfont"},[e._v("\uE68B")])])])]):e.msgData.type==="loading"?n("div",{staticClass:"content-loading"},[e.msgData.error===!0?n("Icon",{attrs:{type:"ios-alert-outline"}}):n("Loading")],1):n("div",{staticClass:"content-unknown"},[e._v(e._s(e.$L("\u672A\u77E5\u7684\u6D88\u606F\u7C7B\u578B")))])]),e.$A.arrayLength(e.msgData.emoji)>0?n("ul",{staticClass:"dialog-emoji"},e._l(e.msgData.emoji,function(r,a){return n("li",{key:a,class:{hasme:r.userids.includes(e.userId)}},[n("div",{staticClass:"emoji-symbol no-dark-content",on:{click:function(l){return e.onEmoji(r.symbol)}}},[e._v(e._s(r.symbol))]),n("div",{staticClass:"emoji-users",on:{click:function(l){return e.onShowEmojiUser(r)}}},[n("ul",[e._l(r.userids,function(l,u){return[u0?n("div",{staticClass:"reply",on:{click:e.replyList}},[n("i",{staticClass:"taskfont"},[e._v("\uE6EB")]),e._v(" "+e._s(e.msgData.reply_num)+"\u6761\u56DE\u590D ")]):e._e(),e.msgData.tag?n("div",{staticClass:"tag"},[n("i",{staticClass:"taskfont"},[e._v("\uE61E")])]):e._e(),e.msgData.todo?n("div",{staticClass:"todo",on:{click:e.openTodo}},[n("EPopover",{ref:"todo",attrs:{"popper-class":"dialog-wrapper-read-poptip",placement:e.isRightMsg?"bottom-end":"bottom-start"},model:{value:e.todoShow,callback:function(r){e.todoShow=r},expression:"todoShow"}},[n("div",{staticClass:"read-poptip-content"},[n("Scrollbar",{attrs:{"class-name":"read"}},[n("div",{staticClass:"read-title"},[n("em",[e._v(e._s(e.todoDoneList.length))]),e._v(e._s(e.$L("\u5B8C\u6210")))]),n("ul",e._l(e.todoDoneList,function(r){return n("li",[n("UserAvatar",{attrs:{userid:r.userid,size:26,showName:"",tooltipDisabled:""}})],1)}),0)]),n("Scrollbar",{attrs:{"class-name":"unread"}},[n("div",{staticClass:"read-title"},[n("em",[e._v(e._s(e.todoUndoneList.length))]),e._v(e._s(e.$L("\u5F85\u529E")))]),n("ul",e._l(e.todoUndoneList,function(r){return n("li",[n("UserAvatar",{attrs:{userid:r.userid,size:26,showName:"",tooltipDisabled:""}})],1)}),0)])],1),n("div",{staticClass:"popover-reference",attrs:{slot:"reference"},slot:"reference"})]),e.todoLoad>0?n("Loading"):n("i",{staticClass:"taskfont"},[e._v("\uE7B7")])],1):e._e(),e.msgData.modify?n("div",{staticClass:"modify"},[n("i",{staticClass:"taskfont"},[e._v("\uE779")])]):e._e(),e.msgData.error===!0?n("div",{staticClass:"error",on:{click:e.onError}},[n("Icon",{attrs:{type:"ios-alert"}})],1):e.isLoading?n("Loading"):[e.timeShow?n("div",{staticClass:"time",on:{click:function(r){e.timeShow=!1}}},[e._v(e._s(e.msgData.created_at))]):n("div",{staticClass:"time",attrs:{title:e.msgData.created_at},on:{click:function(r){e.timeShow=!0}}},[e._v(e._s(e.$A.formatTime(e.msgData.created_at)))]),e.hidePercentage?e._e():[e.msgData.send>1||e.dialogType==="group"?n("div",{staticClass:"percent",on:{click:e.openReadPercentage}},[n("EPopover",{ref:"percent",attrs:{"popper-class":"dialog-wrapper-read-poptip",placement:e.isRightMsg?"bottom-end":"bottom-start"},model:{value:e.percentageShow,callback:function(r){e.percentageShow=r},expression:"percentageShow"}},[n("div",{staticClass:"read-poptip-content"},[n("Scrollbar",{attrs:{"class-name":"read"}},[n("div",{staticClass:"read-title"},[n("em",[e._v(e._s(e.readList.length))]),e._v(e._s(e.$L("\u5DF2\u8BFB")))]),n("ul",e._l(e.readList,function(r){return n("li",[n("UserAvatar",{attrs:{userid:r.userid,size:26,showName:"",tooltipDisabled:""}})],1)}),0)]),n("Scrollbar",{attrs:{"class-name":"unread"}},[n("div",{staticClass:"read-title"},[n("em",[e._v(e._s(e.unreadList.length))]),e._v(e._s(e.$L("\u672A\u8BFB")))]),n("ul",e._l(e.unreadList,function(r){return n("li",[n("UserAvatar",{attrs:{userid:r.userid,size:26,showName:"",tooltipDisabled:""}})],1)}),0)])],1),n("div",{staticClass:"popover-reference",attrs:{slot:"reference"},slot:"reference"})]),e.percentageLoad>0?n("Loading"):n("WCircle",{attrs:{percent:e.msgData.percentage,size:14}})],1):e.msgData.percentage===100?n("Icon",{staticClass:"done",attrs:{type:"md-done-all"}}):n("Icon",{staticClass:"done",attrs:{type:"md-checkmark"}})]]],2)])},TZ=[];const yZ={name:"DialogView",components:{DialogMarkdown:bZ,WCircle:td},directives:{longpress:za},props:{msgData:{type:Object,default:()=>({})},dialogType:{type:String,default:""},hidePercentage:{type:Boolean,default:!1},hideReply:{type:Boolean,default:!1},operateVisible:{type:Boolean,default:!1},operateAction:{type:Boolean,default:!1},isRightMsg:{type:Boolean,default:!1}},data(){return{timeShow:!1,operateEnter:!1,percentageLoad:0,percentageShow:!1,percentageList:[],todoLoad:0,todoShow:!1,todoList:[],emojiUsersNum:5}},mounted(){this.emojiUsersNum=Math.min(6,Math.max(2,Math.floor((this.windowWidth-180)/52)))},beforeDestroy(){this.$store.dispatch("audioStop",this.msgData.msg.path)},computed:{...Wn(["loads","audioPlaying"]),...Nl(["isLoad"]),isLoading(){return this.msgData.created_at?this.isLoad(`msg-${this.msgData.id}`):!0},viewClass(){const{msgData:e,operateAction:t,operateEnter:n}=this,r=[];return e.type&&r.push(e.type),e.reply_data&&r.push("reply-view"),t&&(r.push("operate-action"),n&&r.push("operate-enter")),r},readList(){return this.percentageList.filter(({read_at:e})=>e)},unreadList(){return this.percentageList.filter(({read_at:e})=>!e)},todoDoneList(){return this.todoList.filter(({done_at:e})=>e)},todoUndoneList(){return this.todoList.filter(({done_at:e})=>!e)},headClass(){const{reply_id:e,type:t,msg:n,emoji:r}=this.msgData,a=[];return e===0&&$A.arrayLength(r)===0&&t==="text"&&(/^]*?>$/.test(n.text)||/^\s*

\s*([\uD800-\uDBFF][\uDC00-\uDFFF]){1,3}\s*<\/p>\s*$/.test(n.text))&&a.push("transparent"),a},contentClass(){const{type:e,msg:t}=this.msgData,n=[];return e==="text"&&(/^]*?>$/.test(t.text)?n.push("an-emoticon"):/^\s*

\s*([\uD800-\uDBFF][\uDC00-\uDFFF]){3}\s*<\/p>\s*$/.test(t.text)?n.push("three-emoji"):/^\s*

\s*([\uD800-\uDBFF][\uDC00-\uDFFF]){2}\s*<\/p>\s*$/.test(t.text)?n.push("two-emoji"):/^\s*

\s*[\uD800-\uDBFF][\uDC00-\uDFFF]\s*<\/p>\s*$/.test(t.text)&&n.push("an-emoji")),n}},watch:{operateAction(e){this.operateEnter=!1,e&&setTimeout(t=>this.operateEnter=!0,500)}},methods:{handleLongpress(e,t){this.$emit("on-longpress",{event:e,el:t,msgData:this.msgData})},openTodo(){if(!(this.todoLoad>0)){if(this.todoShow){this.todoShow=!1;return}this.todoLoad++,this.$store.dispatch("call",{url:"dialog/msg/todolist",data:{msg_id:this.msgData.id}}).then(({data:e})=>{this.todoList=e}).catch(()=>{this.todoList=[]}).finally(e=>{setTimeout(()=>{this.todoLoad--,this.todoShow=!0},100)})}},openReadPercentage(){if(!(this.percentageLoad>0)){if(this.percentageShow){this.percentageShow=!1;return}this.percentageLoad++,this.$store.dispatch("call",{url:"dialog/msg/readlist",data:{msg_id:this.msgData.id}}).then(({data:e})=>{this.percentageList=e}).catch(()=>{this.percentageList=[]}).finally(e=>{setTimeout(()=>{this.percentageLoad--,this.percentageShow=!0},100)})}},recordStyle(e){const{duration:t}=e;return{width:50+Math.min(180,Math.floor(t/150))+"px"}},recordDuration(e){const t=Math.floor(e/6e4),n=Math.floor(e/1e3)%60;return t>0?`${t}:${n}\u2033`:`${Math.max(1,n)}\u2033`},imageStyle(e){const{width:t,height:n}=e;if(t&&n){let r=220,a=220,l=t,u=n;return(t>r||n>a)&&(t>n?(l=r,u=n*(r/t)):(l=t*(a/n),u=a)),{width:l+"px",height:u+"px"}}return{}},playRecord(){this.operateVisible||this.$store.dispatch("audioPlay",this.msgData.msg.path)},openMeeting(){this.operateVisible||_i.Store.set("addMeeting",{type:"join",name:this.msgData.msg.name,meetingid:this.msgData.msg.meetingid,meetingdisabled:!0})},viewReply(){this.$emit("on-view-reply",{msg_id:this.msgData.id,reply_id:this.msgData.reply_id})},viewText(e){this.$emit("on-view-text",e,this.$refs.content)},viewFile(){this.$emit("on-view-file",this.msgData)},downFile(){this.$emit("on-down-file",this.msgData)},replyList(){this.$emit("on-reply-list",{msg_id:this.msgData.id})},onError(){this.$emit("on-error",this.msgData)},onEmoji(e){this.$emit("on-emoji",{msg_id:this.msgData.id,symbol:e})},onShowEmojiUser(e){this.$emit("on-show-emoji-user",e)}}},pl={};var CZ=Qt(yZ,vZ,TZ,!1,RZ,null,null,null);function RZ(e){for(let t in pl)this[t]=pl[t]}var NZ=function(){return CZ.exports}(),OZ=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.classArray},[e.source.type==="tag"?n("div",{staticClass:"dialog-tag",on:{click:e.onViewTag}},[n("div",{staticClass:"tag-user"},[n("UserAvatar",{attrs:{userid:e.source.userid,tooltipDisabled:e.source.userid==e.userId,"show-name":!0,"show-icon":!1}})],1),e._v(" "+e._s(e.$L(e.source.msg.action==="remove"?"\u53D6\u6D88\u6807\u6CE8":"\u6807\u6CE8\u4E86"))+' "'+e._s(e.$A.getMsgSimpleDesc(e.source.msg.data))+'" ')]):e.source.type==="todo"?n("div",{staticClass:"dialog-todo",on:{click:e.onViewTodo}},[n("div",{staticClass:"todo-user"},[n("UserAvatar",{attrs:{userid:e.source.userid,tooltipDisabled:e.source.userid==e.userId,"show-name":!0,"show-icon":!1}})],1),e._v(" "+e._s(e.$L(e.source.msg.action==="remove"?"\u53D6\u6D88\u5F85\u529E":e.source.msg.action==="done"?"\u5B8C\u6210":"\u8BBE\u5F85\u529E"))+' "'+e._s(e.$A.getMsgSimpleDesc(e.source.msg.data))+'" '),e.formatTodoUser(e.source.msg.data).length>0?n("div",{staticClass:"todo-users"},[n("span",[e._v(e._s(e.$L("\u7ED9")))]),e._l(e.formatTodoUser(e.source.msg.data),function(r,a){return[a<3?n("div",{staticClass:"todo-user"},[n("UserAvatar",{attrs:{userid:r,tooltipDisabled:r==e.userId,"show-name":!0,"show-icon":!1}})],1):a==3?n("div",{staticClass:"todo-user"},[e._v("+"+e._s(e.formatTodoUser(e.source.msg.data).length-3))]):e._e()]})],2):e._e()]):e.source.type==="notice"?n("div",{staticClass:"dialog-notice"},[e._v(" "+e._s(e.source.msg.notice)+" ")]):[n("div",{staticClass:"dialog-avatar"},[n("UserAvatar",{directives:[{name:"longpress",rawName:"v-longpress",value:{callback:e.onMention,delay:300},expression:"{callback: onMention, delay: 300}"}],attrs:{userid:e.source.userid,size:30,"tooltip-disabled":""},on:{"open-dialog":e.onOpenDialog}})],1),n("DialogView",{attrs:{"msg-data":e.source,"dialog-type":e.dialogData.type,"hide-percentage":e.hidePercentage,"hide-reply":e.hideReply,"operate-visible":e.operateVisible,"operate-action":e.operateVisible&&e.source.id===e.operateItem.id,"is-right-msg":e.isRightMsg},on:{"on-longpress":e.onLongpress,"on-view-reply":e.onViewReply,"on-view-text":e.onViewText,"on-view-file":e.onViewFile,"on-down-file":e.onDownFile,"on-reply-list":e.onReplyList,"on-error":e.onError,"on-emoji":e.onEmoji,"on-show-emoji-user":e.onShowEmojiUser}})]],2)},AZ=[];const IZ={name:"DialogItem",components:{DialogView:NZ},directives:{longpress:za},props:{source:{type:Object,default(){return{}}},dialogData:{type:Object,default(){return{}}},operateVisible:{type:Boolean,default:!1},operateItem:{type:Object,default(){return{}}},simpleView:{type:Boolean,default:!1},isMyDialog:{type:Boolean,default:!1},msgId:{type:Number,default:0}},data(){return{subscribe:null}},computed:{...Wn(["userId"]),isRightMsg(){return this.source.userid==this.userId},isReply(){return this.simpleView||this.msgId===this.source.id},hidePercentage(){return this.simpleView||this.isMyDialog||this.isReply},hideReply(){return this.simpleView||this.msgId>0},classArray(){return{"dialog-item":!0,"reply-item":this.isReply,self:this.isRightMsg}}},watch:{source:{handler(){this.msgRead()},immediate:!0},windowActive(e){e&&this.msgRead()}},methods:{msgRead(){!this.windowActive||this.$store.dispatch("dialogMsgRead",this.source)},formatTodoUser(e){if($A.isJson(e)){const{userids:t}=e;if(t)return t.split(",")}return[]},onViewTag(){this.onViewReply({msg_id:this.source.id,reply_id:this.source.msg.data.id})},onViewTodo(){this.onViewReply({msg_id:this.source.id,reply_id:this.source.msg.data.id})},onOpenDialog(e){this.dialogData.type=="group"&&this.$store.dispatch("openDialogUserid",e).then(t=>{this.goForward({name:"manage-messenger"})}).catch(({msg:t})=>{$A.modalError(t)})},onMention(){this.dispatch("on-mention",this.source)},onLongpress(e){this.dispatch("on-longpress",e)},onViewReply(e){this.dispatch("on-view-reply",e)},onViewText(e,t){this.dispatch("on-view-text",e,t)},onViewFile(e){this.dispatch("on-view-file",e)},onDownFile(e){this.dispatch("on-down-file",e)},onReplyList(e){this.dispatch("on-reply-list",e)},onError(e){this.dispatch("on-error",e)},onEmoji(e){this.dispatch("on-emoji",e)},onShowEmojiUser(e){this.dispatch("on-show-emoji-user",e)},dispatch(e,...t){if(this.isReply){this.$emit(e,...t);return}let n=this.$parent,r=n.$options.name;for(;n&&(!r||r!=="virtual-list");)n=n.$parent,n&&(r=n.$options.name);n&&n.$emit(e,...t)}}},ml={};var DZ=Qt(IZ,OZ,AZ,!1,xZ,null,null,null);function xZ(e){for(let t in ml)this[t]=ml[t]}var fl=function(){return DZ.exports}(),wZ=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Upload",{ref:"upload",attrs:{name:"files",action:e.actionUrl,headers:e.headers,data:e.params,multiple:"",format:e.uploadFormat,"show-upload-list":!1,"max-size":e.maxSize,"on-progress":e.handleProgress,"on-success":e.handleSuccess,"on-format-error":e.handleFormatError,"on-exceeded-size":e.handleMaxSize}})},MZ=[];const LZ={name:"DialogUpload",props:{dialogId:{type:Number,default:0},maxSize:{type:Number,default:1024e3}},data(){return{uploadFormat:[],actionUrl:$A.apiUrl("dialog/msg/sendfile")}},computed:{...Wn(["cacheDialogs"]),headers(){return{fd:$A.getSessionStorageString("userWsFd"),token:this.userToken}},params(){return{dialog_id:this.dialogId,reply_id:this.dialogData.extra_quote_id||0}},dialogData(){return this.cacheDialogs.find(({id:e})=>e==this.dialogId)||{}}},methods:{handleProgress(e,t){t.tempId===void 0&&(this.$parent.$options.name==="DialogWrapper"?t.tempId=this.$parent.getTempId():t.tempId=$A.randNum(1e9,9999999999),this.$emit("on-progress",t))},handleSuccess(e,t){e.ret===1?(t.data=e.data,this.$emit("on-success",t),e.data.task_id&&this.$store.dispatch("getTaskFiles",e.data.task_id)):($A.modalWarning({title:"\u53D1\u9001\u5931\u8D25",content:"\u6587\u4EF6 "+t.name+" \u53D1\u9001\u5931\u8D25\uFF0C"+e.msg}),this.$emit("on-error",t),this.$refs.upload.fileList.pop())},handleFormatError(e){$A.modalWarning({title:"\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E",content:"\u6587\u4EF6 "+e.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u4EC5\u652F\u6301\u53D1\u9001\uFF1A"+this.uploadFormat.join(",")})},handleMaxSize(e){$A.modalWarning({title:"\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236",content:"\u6587\u4EF6 "+e.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u53D1\u9001\u8D85\u8FC7"+$A.bytesToSize(this.maxSize*1024)+"\u3002"})},handleClick(){this.$refs.upload.handleClick()},upload(e){this.$refs.upload.upload(e)}}},gl={};var kZ=Qt(LZ,wZ,MZ,!1,PZ,null,null,null);function PZ(e){for(let t in gl)this[t]=gl[t]}var BZ=function(){return kZ.exports}(),FZ=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dialog-group-info"},[n("div",{staticClass:"group-info-title"},[e._v(e._s(e.$L("\u7FA4\u540D")))]),n("div",{staticClass:"group-info-value"},[n("QuickEdit",{attrs:{value:e.dialogData.name,disabled:e.dialogData.owner_id!=e.userId},on:{"on-update":e.updateName}},[e._v(e._s(e.dialogData.name))])],1),n("div",{staticClass:"group-info-title"},[e._v(e._s(e.$L("\u7FA4\u7C7B\u578B")))]),n("div",{staticClass:"group-info-value"},[e._v(e._s(e.$L(e.groupType)))]),n("div",{staticClass:"group-info-search"},[n("Input",{attrs:{prefix:"ios-search",placeholder:e.$L("\u641C\u7D22\u6210\u5458"),clearable:""},model:{value:e.searchKey,callback:function(r){e.searchKey=r},expression:"searchKey"}})],1),n("div",{staticClass:"group-info-user"},[n("ul",[e._l(e.userList,function(r,a){return n("li",{key:a,on:{click:function(l){return e.openUser(r.userid)}}},[n("UserAvatar",{attrs:{userid:r.userid,size:32,showName:"",tooltipDisabled:""}}),r.userid===e.dialogData.owner_id?n("div",{staticClass:"user-tag"},[e._v(e._s(e.$L("\u7FA4\u4E3B")))]):e.operableExit(r)?n("div",{staticClass:"user-exit",on:{click:function(l){return l.stopPropagation(),e.onExit(r)}}},[n("Icon",{attrs:{type:"md-exit"}})],1):e._e()],1)}),e.userList.length===0?n("li",{staticClass:"no"},[e.loadIng>0?n("Loading"):n("span",[e._v(e._s(e.$L("\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6570\u636E")))])],1):e._e()],2)]),e.operableAdd?n("div",{staticClass:"group-info-button"},[e.dialogData.owner_id==e.userId||e.dialogData.owner_id==0?n("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:e.openAdd}},[e._v(e._s(e.$L("\u6DFB\u52A0\u6210\u5458")))]):e._e()],1):e._e(),n("Modal",{attrs:{title:e.$L("\u6DFB\u52A0\u7FA4\u6210\u5458"),"mask-closable":!1},model:{value:e.addShow,callback:function(r){e.addShow=r},expression:"addShow"}},[n("Form",{attrs:{model:e.addData,"label-width":"auto"},nativeOn:{submit:function(r){r.preventDefault()}}},[n("FormItem",{attrs:{prop:"userids",label:e.$L("\u65B0\u589E\u6210\u5458")}},[n("UserSelect",{attrs:{disabledChoice:e.addData.disabledChoice,"multiple-max":100,"show-bot":"",title:e.$L("\u9009\u62E9\u6210\u5458")},model:{value:e.addData.userids,callback:function(r){e.$set(e.addData,"userids",r)},expression:"addData.userids"}}),e.dialogData.group_type==="department"?n("div",{staticClass:"form-tip"},[e._v(e._s(e.$L("\u6B64\u64CD\u4F5C\u4EC5\u52A0\u5165\u7FA4\u6210\u5458\u5E76\u4E0D\u4F1A\u52A0\u5165\u90E8\u95E8")))]):e.dialogData.group_type==="project"?n("div",{staticClass:"form-tip"},[e._v(e._s(e.$L("\u6B64\u64CD\u4F5C\u4EC5\u52A0\u5165\u7FA4\u6210\u5458\u5E76\u4E0D\u4F1A\u52A0\u5165\u9879\u76EE")))]):e.dialogData.group_type==="task"?n("div",{staticClass:"form-tip"},[e._v(e._s(e.$L("\u6B64\u64CD\u4F5C\u4EC5\u52A0\u5165\u7FA4\u6210\u5458\u5E76\u4E0D\u4F1A\u52A0\u5165\u4EFB\u52A1\u8D1F\u8D23\u4EBA")))]):e._e()],1)],1),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(r){e.addShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),n("Button",{attrs:{type:"primary",loading:e.addLoad>0},on:{click:e.onAdd}},[e._v(e._s(e.$L("\u786E\u5B9A\u6DFB\u52A0")))])],1)],1)],1)},UZ=[];const GZ={name:"DialogGroupInfo",components:{UserSelect:Ol},props:{dialogId:{type:Number,default:0}},data(){return{searchKey:"",loadIng:0,dialogUser:[],addShow:!1,addData:{},addLoad:0,openIng:!1}},computed:{...Wn(["cacheDialogs","cacheUserBasic","userIsAdmin"]),dialogData(){return this.cacheDialogs.find(({id:e})=>e==this.dialogId)||{}},groupType(){const{group_type:e}=this.dialogData;return e==="department"?"\u90E8\u95E8\u7FA4\u7EC4":e==="project"?"\u9879\u76EE\u7FA4\u7EC4":e==="task"?"\u4EFB\u52A1\u7FA4\u7EC4":e==="user"?"\u4E2A\u4EBA\u7FA4\u7EC4":e==="all"?"\u5168\u5458\u7FA4\u7EC4":"\u672A\u77E5"},userList(){const{dialogUser:e,searchKey:t,cacheUserBasic:n,dialogData:r}=this;return e.map(l=>{const u=n.find(c=>c.userid==l.userid);return u&&(l.nickname=u.nickname,l.email=u.email),l}).filter(l=>!(t&&l.nickname&&!$A.strExists(l.nickname,t)&&!$A.strExists(l.email,t))).sort((l,u)=>l.userid===r.owner_id||u.userid===r.owner_id?(l.userid===r.owner_id?0:1)-(u.userid===r.owner_id?0:1):$A.Date(l.created_at)-$A.Date(u.created_at))}},watch:{dialogId:{handler(){this.getDialogUser()},immediate:!0}},methods:{updateName(e,t){if(!e){t();return}this.$store.dispatch("call",{url:"dialog/group/edit",data:{dialog_id:this.dialogId,chat_name:e}}).then(({data:n})=>{this.$store.dispatch("saveDialog",n),t()}).catch(({msg:n})=>{$A.modalError(n),t()})},getDialogUser(){this.dialogId<=0||(this.loadIng++,this.$store.dispatch("call",{url:"dialog/user",data:{dialog_id:this.dialogId}}).then(({data:e})=>{this.dialogUser=e,this.$store.dispatch("saveDialog",{id:this.dialogId,people:e.length})}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadIng--}))},operableAdd(){const{owner_id:e,group_type:t}=this.dialogData;return t=="all"?this.userIsAdmin:[0,this.userId].includes(e)},openAdd(){this.addData={dialog_id:this.dialogId,userids:[],disabledChoice:this.dialogUser.map(e=>e.userid)},this.addShow=!0},onAdd(){this.addLoad++,this.$store.dispatch("call",{url:"dialog/group/adduser",data:this.addData}).then(({msg:e})=>{$A.messageSuccess(e),this.addShow=!1,this.addData={},this.getDialogUser()}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.addLoad--})},operableExit(e){const{owner_id:t,group_type:n}=this.dialogData;return n=="all"?this.userIsAdmin:t==this.userId||e.inviter==this.userId},onExit(e){let t="\u4F60\u786E\u5B9A\u8981\u9000\u51FA\u7FA4\u7EC4\u5417\uFF1F",n=[];$A.isJson(e)&&e.userid!=this.userId&&(t=`\u4F60\u786E\u5B9A\u8981\u5C06\u3010${e.nickname}\u3011\u79FB\u51FA\u7FA4\u7EC4\u5417\uFF1F`,n=[e.userid]),$A.modalConfirm({content:t,loading:!0,onOk:()=>new Promise((r,a)=>{this.$store.dispatch("call",{url:"dialog/group/deluser",data:{dialog_id:this.dialogId,userids:n}}).then(({msg:l})=>{r(l),n.length>0?this.getDialogUser():(this.$store.dispatch("forgetDialog",this.dialogId),this.goForward({name:"manage-messenger"}))}).catch(({msg:l})=>{a(l)})})})},openUser(e){this.openIng||(this.openIng=!0,this.$store.dispatch("openDialogUserid",e).then(t=>{this.$emit("on-close")}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.openIng=!1}))}}},hl={};var qZ=Qt(GZ,FZ,UZ,!1,YZ,null,null,null);function YZ(e){for(let t in hl)this[t]=hl[t]}var zZ=function(){return qZ.exports}(),$Z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dialog-respond"},[n("div",{staticClass:"respond-title"},[n("em",[e._v(e._s(e.respondData.symbol))]),e._v(e._s(e.$L("\u56DE\u5E94\u8BE6\u60C5"))+" ("+e._s(e.respondData.userids.length)+")")]),n("div",{staticClass:"respond-user"},[n("ul",e._l(e.respondData.userids,function(r,a){return n("li",{key:a,on:{click:function(l){return e.openUser(r)}}},[n("UserAvatar",{attrs:{userid:r,size:32,showName:"",tooltipDisabled:""}})],1)}),0)])])},HZ=[];const VZ={name:"DialogRespond",props:{respondData:{type:Object,default:()=>({})}},data(){return{openIng:!1}},methods:{openUser(e){this.openIng||(this.openIng=!0,this.$store.dispatch("openDialogUserid",e).then(t=>{this.$emit("on-close")}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.openIng=!1}))}}},El={};var WZ=Qt(VZ,$Z,HZ,!1,KZ,null,null,null);function KZ(e){for(let t in El)this[t]=El[t]}var QZ=function(){return WZ.exports}(),Rc={exports:{}};/*! +`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}var fj=mj;function mc(e){return e?typeof e=="string"?e:e.source:null}function ui(e){return it("(?=",e,")")}function it(...e){return e.map(n=>mc(n)).join("")}function gj(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Rt(...e){const t=gj(e);return"("+(t.capture?"":"?:")+e.map(r=>mc(r)).join("|")+")"}const oo=e=>it(/\b/,e,/\w$/.test(e)?/\b/:/\B/),hj=["Protocol","Type"].map(oo),cl=["init","self"].map(oo),Ej=["Any","Self"],Ma=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],ul=["false","nil","true"],Sj=["assignment","associativity","higherThan","left","lowerThan","none","right"],bj=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],dl=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],fc=Rt(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),gc=Rt(fc,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),La=it(fc,gc,"*"),hc=Rt(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),gi=Rt(hc,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),an=it(hc,gi,"*"),ka=it(/[A-Z]/,gi,"*"),vj=["autoclosure",it(/convention\(/,Rt("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",it(/objc\(/,an,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],Tj=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function yj(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],a={match:[/\./,Rt(...hj,...cl)],className:{2:"keyword"}},l={match:it(/\./,Rt(...Ma)),relevance:0},u=Ma.filter(ue=>typeof ue=="string").concat(["_|0"]),c=Ma.filter(ue=>typeof ue!="string").concat(Ej).map(oo),d={variants:[{className:"keyword",match:Rt(...c,...cl)}]},f={$pattern:Rt(/\b\w+/,/#\w+/),keyword:u.concat(bj),literal:ul},g=[a,l,d],h={match:it(/\./,Rt(...dl)),relevance:0},p={className:"built_in",match:it(/\b/,Rt(...dl),/(?=\()/)},m=[h,p],y={match:/->/,relevance:0},b={className:"operator",relevance:0,variants:[{match:La},{match:`\\.(\\.|${gc})+`}]},C=[y,b],E="([0-9]_*)+",v="([0-9a-fA-F]_*)+",N={className:"number",relevance:0,variants:[{match:`\\b(${E})(\\.(${E}))?([eE][+-]?(${E}))?\\b`},{match:`\\b0x(${v})(\\.(${v}))?([pP][+-]?(${E}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},S=(ue="")=>({className:"subst",variants:[{match:it(/\\/,ue,/[0\\tnr"']/)},{match:it(/\\/,ue,/u\{[0-9a-fA-F]{1,8}\}/)}]}),A=(ue="")=>({className:"subst",match:it(/\\/,ue,/[\t ]*(?:[\r\n]|\r\n)/)}),P=(ue="")=>({className:"subst",label:"interpol",begin:it(/\\/,ue,/\(/),end:/\)/}),F=(ue="")=>({begin:it(ue,/"""/),end:it(/"""/,ue),contains:[S(ue),A(ue),P(ue)]}),G=(ue="")=>({begin:it(ue,/"/),end:it(/"/,ue),contains:[S(ue),P(ue)]}),z={className:"string",variants:[F(),F("#"),F("##"),F("###"),G(),G("#"),G("##"),G("###")]},k={match:it(/`/,an,/`/)},L={className:"variable",match:/\$\d+/},w={className:"variable",match:`\\$${gi}+`},M=[k,L,w],x={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Tj,contains:[...C,N,z]}]}},Y={className:"keyword",match:it(/@/,Rt(...vj))},W={className:"meta",match:it(/@/,an)},Z=[x,Y,W],ce={match:ui(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:it(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,gi,"+")},{className:"type",match:ka,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:it(/\s+&\s+/,ui(ka)),relevance:0}]},te={begin://,keywords:f,contains:[...r,...g,...Z,y,ce]};ce.contains.push(te);const j={match:it(an,/\s*:/),keywords:"_|0",relevance:0},U={begin:/\(/,end:/\)/,relevance:0,keywords:f,contains:["self",j,...r,...g,...m,...C,N,z,...M,...Z,ce]},X={begin://,contains:[...r,ce]},J={begin:Rt(ui(it(an,/\s*:/)),ui(it(an,/\s+/,an,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:an}]},ae={begin:/\(/,end:/\)/,keywords:f,contains:[J,...r,...g,...C,N,z,...Z,ce,U],endsParent:!0,illegal:/["']/},le={match:[/func/,/\s+/,Rt(k.match,an,La)],className:{1:"keyword",3:"title.function"},contains:[X,ae,t],illegal:[/\[/,/%/]},Q={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[X,ae,t],illegal:/\[|%/},ie={match:[/operator/,/\s+/,La],className:{1:"keyword",3:"title"}},_e={begin:[/precedencegroup/,/\s+/,ka],className:{1:"keyword",3:"title"},contains:[ce],keywords:[...Sj,...ul],end:/}/};for(const ue of z.variants){const Ee=ue.contains.find(ke=>ke.label==="interpol");Ee.keywords=f;const Ie=[...g,...m,...C,N,z,...M];Ee.contains=[...Ie,{begin:/\(/,end:/\)/,contains:["self",...Ie]}]}return{name:"Swift",keywords:f,contains:[...r,le,Q,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:f,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...g]},ie,_e,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},...g,...m,...C,N,z,...M,...Z,ce,U]}}var Cj=yj;function Rj(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}var Nj=Rj;function Oj(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},a={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},l={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,a]},u=e.inherit(l,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c="[0-9]{4}(-[0-9][0-9]){0,2}",d="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",f="(\\.[0-9]*)?",g="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",h={className:"number",begin:"\\b"+c+d+f+g+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},m={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},y={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},b=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},h,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},m,y,l],C=[...b];return C.pop(),C.push(u),p.contains=C,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:b}}var Aj=Oj;function Ij(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}var Dj=Ij;function xj(e){const t=e.regex,n=/[a-zA-Z_][a-zA-Z0-9_]*/,r={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[r]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},r]}}var wj=xj;function Mj(e){const t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}}var Lj=Mj;function kj(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"},r={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,n]},a={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,n]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[r,a,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}var Pj=kj;function Bj(e){const t=e.regex,n=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],r=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let a=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];a=a.concat(a.map(y=>`end${y}`));const l={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},u={scope:"number",match:/\d+/},c={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[l,u]},d={beginKeywords:n.join(" "),keywords:{name:n},relevance:0,contains:[c]},f={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:r}]},g=(y,{relevance:b})=>({beginScope:{1:"template-tag",3:"name"},relevance:b||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either(...y)],end:/%\}/,keywords:"in",contains:[f,d,l,u]}),h=/[a-z_]+/,p=g(a,{relevance:2}),m=g([h],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),p,m,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",f,d,l,u]}]}}var Fj=Bj;const hi="[A-Za-z$_][0-9A-Za-z$_]*",Ec=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Sc=["true","false","null","undefined","NaN","Infinity"],bc=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],vc=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Tc=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],yc=["arguments","this","super","console","window","document","localStorage","module","global"],Cc=[].concat(Tc,bc,vc);function Uj(e){const t=e.regex,n=(Z,{after:ce})=>{const te="",end:""},l=/<[A-Za-z0-9\\._:-]+\s*\/>/,u={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Z,ce)=>{const te=Z[0].length+Z.index,j=Z.input[te];if(j==="<"||j===","){ce.ignoreMatch();return}j===">"&&(n(Z,{after:te})||ce.ignoreMatch());let U;const X=Z.input.substring(te);if(U=X.match(/^\s*=/)){ce.ignoreMatch();return}if((U=X.match(/^\s+extends\s+/))&&U.index===0){ce.ignoreMatch();return}}},c={$pattern:hi,keyword:Ec,literal:Sc,built_in:Cc,"variable.language":yc},d="[0-9](_?[0-9])*",f=`\\.(${d})`,g="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",h={className:"number",variants:[{begin:`(\\b(${g})((${f})|\\.)?|(${f}))[eE][+-]?(${d})\\b`},{begin:`\\b(${g})\\b((${f})\\b|\\.)?|(${f})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:c,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"css"}},b={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},C=e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),E={className:"comment",variants:[C,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,y,b,{match:/\$\d+/},h];p.contains=v.concat({begin:/\{/,end:/\}/,keywords:c,contains:["self"].concat(v)});const N=[].concat(E,p.contains),S=N.concat([{begin:/\(/,end:/\)/,keywords:c,contains:["self"].concat(N)}]),A={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:S},P={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},F={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...bc,...vc]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},z={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[A],illegal:/%/},k={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function L(Z){return t.concat("(?!",Z.join("|"),")")}const w={match:t.concat(/\b/,L([...Tc,"super","import"]),r,t.lookahead(/\(/)),className:"title.function",relevance:0},M={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},x={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},A]},Y="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",W={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(Y)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[A]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:S,CLASS_REFERENCE:F},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,y,b,E,{match:/\$\d+/},h,F,{className:"attr",begin:r+t.lookahead(":"),relevance:0},W,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,e.REGEXP_MODE,{className:"function",begin:Y,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:S}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:a.begin,end:a.end},{match:l},{begin:u.begin,"on:begin":u.isTrulyOpeningTag,end:u.end}],subLanguage:"xml",contains:[{begin:u.begin,end:u.end,skip:!0,contains:["self"]}]}]},z,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[A,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},M,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[A]},w,k,P,x,{match:/\$[(.]/}]}}function Gj(e){const t=Uj(e),n=hi,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],a={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},l={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[t.exports.CLASS_REFERENCE]},u={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},c=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],d={$pattern:hi,keyword:Ec.concat(c),literal:Sc,built_in:Cc.concat(r),"variable.language":yc},f={className:"meta",begin:"@"+n},g=(p,m,y)=>{const b=p.contains.findIndex(C=>C.label===m);if(b===-1)throw new Error("can not find mode to replace");p.contains.splice(b,1,y)};Object.assign(t.keywords,d),t.exports.PARAMS_CONTAINS.push(f),t.contains=t.contains.concat([f,a,l]),g(t,"shebang",e.SHEBANG()),g(t,"use_strict",u);const h=t.contains.find(p=>p.label==="func.def");return h.relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx"]}),t}var qj=Gj;function Yj(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}var zj=Yj;function $j(e){const t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},r={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},a=/\d{1,2}\/\d{1,2}\/\d{4}/,l=/\d{4}-\d{1,2}-\d{1,2}/,u=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,c=/\d{1,2}(:\d{1,2}){1,2}/,d={className:"literal",variants:[{begin:t.concat(/# */,t.either(l,a),/ *#/)},{begin:t.concat(/# */,c,/ *#/)},{begin:t.concat(/# */,u,/ *#/)},{begin:t.concat(/# */,t.either(l,a),/ +/,t.either(u,c),/ *#/)}]},f={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},g={className:"label",begin:/^\w+:/},h=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),p=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,r,d,f,g,h,p,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[p]}]}}var Hj=$j;function Vj(e){const t=e.regex,n=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],r=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],a={begin:t.concat(t.either(...n),"\\s*\\("),relevance:0,keywords:{built_in:n}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:r,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[a,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}var Wj=Vj;function Kj(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}var Qj=Kj;function Xj(e){const t=e.regex,n={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},r=["__FILE__","__LINE__"],a=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:n,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either(...r))},{scope:"meta",begin:t.concat(/`/,t.either(...a)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:a}]}}var jj=Xj;function Zj(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,r=t+"(\\."+t+")?("+n+")?",a="\\w+",l=t+"#"+a+"(\\."+a+")?#("+n+")?",u="\\b("+l+"|"+r+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:u,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}var Jj=Zj;function eZ(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}var tZ=eZ;function nZ(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const n=e.COMMENT(/;;/,/$/),r=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],a={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},l={className:"variable",begin:/\$[\w_]+/},u={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},c={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},d={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},f={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:r},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},l,u,a,e.QUOTE_STRING_MODE,d,f,c]}}var rZ=nZ;function iZ(e){const t=e.regex,n=/[a-zA-Z]\w*/,r=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],a=["true","false","null"],l=["this","super"],u=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],c=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],d={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,n,/(?=\s*[({])/),className:"title.function"},f={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,n),t.either(...c)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:n}]}]}},g={variants:[{match:[/class\s+/,n,/\s+is\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r},h={relevance:0,match:t.either(...c),className:"operator"},p={className:"string",begin:/"""/,end:/"""/},m={className:"property",begin:t.concat(/\./,t.lookahead(n)),end:n,excludeBegin:!0,relevance:0},y={relevance:0,match:t.concat(/\b_/,n),scope:"variable"},b={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:u}},C=e.C_NUMBER_MODE,E={match:[n,/\s*/,/=/,/\s*/,/\(/,n,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},v=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),N={scope:"subst",begin:/%\(/,end:/\)/,contains:[C,b,d,y,h]},S={scope:"string",begin:/"/,end:/"/,contains:[N,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};N.contains.push(S);const A=[...r,...l,...a],P={relevance:0,match:t.concat("\\b(?!",A.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:r,"variable.language":l,literal:a},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:a},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},C,S,p,v,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,b,g,E,f,d,h,y,m,P]}}var aZ=iZ;function oZ(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}var sZ=oZ;function lZ(e){const t=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],n=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],r=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],l={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:t,literal:["true","false","nil"],built_in:n.concat(r)},u={className:"string",begin:'"',end:'"',illegal:"\\n"},c={className:"string",begin:"'",end:"'",illegal:"\\n"},d={className:"string",begin:"<<",end:">>"},f={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},g={beginKeywords:"import",end:"$",keywords:l,contains:[u]},h={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:l}})]};return{name:"XL",aliases:["tao"],keywords:l,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,u,c,d,h,g,f,e.NUMBER_MODE]}}var cZ=lZ;function uZ(e){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}var dZ=uZ;function _Z(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n=e.UNDERSCORE_TITLE_MODE,r={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},a="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:a,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:a,contains:["self",e.C_BLOCK_COMMENT_MODE,t,r]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},t,r]}}var pZ=_Z,oe=c$;oe.registerLanguage("1c",d$);oe.registerLanguage("abnf",p$);oe.registerLanguage("accesslog",f$);oe.registerLanguage("actionscript",h$);oe.registerLanguage("ada",S$);oe.registerLanguage("angelscript",v$);oe.registerLanguage("apache",y$);oe.registerLanguage("applescript",R$);oe.registerLanguage("arcade",O$);oe.registerLanguage("arduino",D$);oe.registerLanguage("armasm",w$);oe.registerLanguage("xml",L$);oe.registerLanguage("asciidoc",P$);oe.registerLanguage("aspectj",F$);oe.registerLanguage("autohotkey",G$);oe.registerLanguage("autoit",Y$);oe.registerLanguage("avrasm",$$);oe.registerLanguage("awk",V$);oe.registerLanguage("axapta",K$);oe.registerLanguage("bash",X$);oe.registerLanguage("basic",Z$);oe.registerLanguage("bnf",eH);oe.registerLanguage("brainfuck",nH);oe.registerLanguage("c",iH);oe.registerLanguage("cal",oH);oe.registerLanguage("capnproto",lH);oe.registerLanguage("ceylon",uH);oe.registerLanguage("clean",_H);oe.registerLanguage("clojure",mH);oe.registerLanguage("clojure-repl",gH);oe.registerLanguage("cmake",EH);oe.registerLanguage("coffeescript",NH);oe.registerLanguage("coq",AH);oe.registerLanguage("cos",DH);oe.registerLanguage("cpp",wH);oe.registerLanguage("crmsh",LH);oe.registerLanguage("crystal",PH);oe.registerLanguage("csharp",FH);oe.registerLanguage("csp",GH);oe.registerLanguage("css",KH);oe.registerLanguage("d",XH);oe.registerLanguage("markdown",ZH);oe.registerLanguage("dart",eV);oe.registerLanguage("delphi",nV);oe.registerLanguage("diff",iV);oe.registerLanguage("django",oV);oe.registerLanguage("dns",lV);oe.registerLanguage("dockerfile",uV);oe.registerLanguage("dos",_V);oe.registerLanguage("dsconfig",mV);oe.registerLanguage("dts",gV);oe.registerLanguage("dust",EV);oe.registerLanguage("ebnf",bV);oe.registerLanguage("elixir",TV);oe.registerLanguage("elm",CV);oe.registerLanguage("ruby",NV);oe.registerLanguage("erb",AV);oe.registerLanguage("erlang-repl",DV);oe.registerLanguage("erlang",wV);oe.registerLanguage("excel",LV);oe.registerLanguage("fix",PV);oe.registerLanguage("flix",FV);oe.registerLanguage("fortran",GV);oe.registerLanguage("fsharp",$V);oe.registerLanguage("gams",VV);oe.registerLanguage("gauss",KV);oe.registerLanguage("gcode",XV);oe.registerLanguage("gherkin",ZV);oe.registerLanguage("glsl",eW);oe.registerLanguage("gml",nW);oe.registerLanguage("go",iW);oe.registerLanguage("golo",oW);oe.registerLanguage("gradle",lW);oe.registerLanguage("graphql",uW);oe.registerLanguage("groovy",_W);oe.registerLanguage("haml",mW);oe.registerLanguage("handlebars",gW);oe.registerLanguage("haskell",EW);oe.registerLanguage("haxe",bW);oe.registerLanguage("hsp",TW);oe.registerLanguage("http",CW);oe.registerLanguage("hy",NW);oe.registerLanguage("inform7",AW);oe.registerLanguage("ini",DW);oe.registerLanguage("irpf90",wW);oe.registerLanguage("isbl",LW);oe.registerLanguage("java",PW);oe.registerLanguage("javascript",YW);oe.registerLanguage("jboss-cli",$W);oe.registerLanguage("json",VW);oe.registerLanguage("julia",KW);oe.registerLanguage("julia-repl",XW);oe.registerLanguage("kotlin",JW);oe.registerLanguage("lasso",tK);oe.registerLanguage("latex",rK);oe.registerLanguage("ldif",aK);oe.registerLanguage("leaf",sK);oe.registerLanguage("less",mK);oe.registerLanguage("lisp",gK);oe.registerLanguage("livecodeserver",EK);oe.registerLanguage("livescript",NK);oe.registerLanguage("llvm",AK);oe.registerLanguage("lsl",DK);oe.registerLanguage("lua",wK);oe.registerLanguage("makefile",LK);oe.registerLanguage("mathematica",BK);oe.registerLanguage("matlab",UK);oe.registerLanguage("maxima",qK);oe.registerLanguage("mel",zK);oe.registerLanguage("mercury",HK);oe.registerLanguage("mipsasm",WK);oe.registerLanguage("mizar",QK);oe.registerLanguage("perl",jK);oe.registerLanguage("mojolicious",JK);oe.registerLanguage("monkey",tQ);oe.registerLanguage("moonscript",rQ);oe.registerLanguage("n1ql",aQ);oe.registerLanguage("nestedtext",sQ);oe.registerLanguage("nginx",cQ);oe.registerLanguage("nim",dQ);oe.registerLanguage("nix",pQ);oe.registerLanguage("node-repl",fQ);oe.registerLanguage("nsis",hQ);oe.registerLanguage("objectivec",SQ);oe.registerLanguage("ocaml",vQ);oe.registerLanguage("openscad",yQ);oe.registerLanguage("oxygene",RQ);oe.registerLanguage("parser3",OQ);oe.registerLanguage("pf",IQ);oe.registerLanguage("pgsql",xQ);oe.registerLanguage("php",MQ);oe.registerLanguage("php-template",kQ);oe.registerLanguage("plaintext",BQ);oe.registerLanguage("pony",UQ);oe.registerLanguage("powershell",qQ);oe.registerLanguage("processing",zQ);oe.registerLanguage("profile",HQ);oe.registerLanguage("prolog",WQ);oe.registerLanguage("properties",QQ);oe.registerLanguage("protobuf",jQ);oe.registerLanguage("puppet",JQ);oe.registerLanguage("purebasic",tX);oe.registerLanguage("python",rX);oe.registerLanguage("python-repl",aX);oe.registerLanguage("q",sX);oe.registerLanguage("qml",cX);oe.registerLanguage("r",dX);oe.registerLanguage("reasonml",pX);oe.registerLanguage("rib",fX);oe.registerLanguage("roboconf",hX);oe.registerLanguage("routeros",SX);oe.registerLanguage("rsl",vX);oe.registerLanguage("ruleslanguage",yX);oe.registerLanguage("rust",RX);oe.registerLanguage("sas",OX);oe.registerLanguage("scala",IX);oe.registerLanguage("scheme",xX);oe.registerLanguage("scilab",MX);oe.registerLanguage("scss",qX);oe.registerLanguage("shell",zX);oe.registerLanguage("smali",HX);oe.registerLanguage("smalltalk",WX);oe.registerLanguage("sml",QX);oe.registerLanguage("sqf",jX);oe.registerLanguage("sql",JX);oe.registerLanguage("stan",tj);oe.registerLanguage("stata",rj);oe.registerLanguage("step21",aj);oe.registerLanguage("stylus",pj);oe.registerLanguage("subunit",fj);oe.registerLanguage("swift",Cj);oe.registerLanguage("taggerscript",Nj);oe.registerLanguage("yaml",Aj);oe.registerLanguage("tap",Dj);oe.registerLanguage("tcl",wj);oe.registerLanguage("thrift",Lj);oe.registerLanguage("tp",Pj);oe.registerLanguage("twig",Fj);oe.registerLanguage("typescript",qj);oe.registerLanguage("vala",zj);oe.registerLanguage("vbnet",Hj);oe.registerLanguage("vbscript",Wj);oe.registerLanguage("vbscript-html",Qj);oe.registerLanguage("verilog",jj);oe.registerLanguage("vhdl",Jj);oe.registerLanguage("vim",tZ);oe.registerLanguage("wasm",rZ);oe.registerLanguage("wren",aZ);oe.registerLanguage("x86asm",sZ);oe.registerLanguage("xl",cZ);oe.registerLanguage("xquery",dZ);oe.registerLanguage("zephir",pZ);oe.HighlightJS=oe;oe.default=oe;var mZ=oe,Pa=mZ,fZ=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"markdown-body",domProps:{innerHTML:e._s(e.html)},on:{click:e.onCLick}})},gZ=[];const hZ={name:"DialogMarkdown",props:{text:{type:String,default:""}},data(){return{mdi:null}},mounted(){this.copyCodeBlock()},updated(){this.copyCodeBlock()},computed:{html({text:e}){if(e==="...")return'

';if(this.mdi===null){const{highlightBlock:t}=this;this.mdi=new cz({linkify:!0,highlight(n,r){if(!!(r&&Pa.getLanguage(r))){const l=r!=null?r:"";return t(Pa.highlight(n,{language:l}).value,l)}return t(Pa.highlightAuto(n).value,"")}}),this.mdi.use(fz,{attrs:{target:"_blank",rel:"noopener"}}),this.mdi.use(_z,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"})}return this.formatMsg(this.mdi.render(e))}},methods:{highlightBlock(e,t=""){return`
${t}${this.$L("\u590D\u5236\u4EE3\u7801")}
${e}
`},formatMsg(e){const t=e.match(/]*?>/g);return t&&t.some(n=>{e=e.replace(n,`
${n}
`)}),e},copyCodeBlock(){this.$el.querySelectorAll(".code-block-wrapper").forEach(t=>{const n=t.querySelector(".code-block-header__copy"),r=t.querySelector(".code-block-body");n&&r&&n.getAttribute("data-copy")!=="click"&&(n.setAttribute("data-copy","click"),n.addEventListener("click",()=>{var a,l,u;(a=navigator.clipboard)!=null&&a.writeText?navigator.clipboard.writeText((l=r.textContent)!=null?l:""):this.copyText({text:(u=r.textContent)!=null?u:"",origin:!0})}))})},copyText(e){const t={origin:!0,...e};let n;t.origin?n=document.createElement("textarea"):n=document.createElement("input"),n.setAttribute("readonly","readonly"),n.value=t.text,document.body.appendChild(n),n.select(),document.execCommand("copy")&&document.execCommand("copy"),document.body.removeChild(n)},onCLick(e){this.$emit("click",e)}}},_l={};var EZ=Qt(hZ,fZ,gZ,!1,SZ,null,null,null);function SZ(e){for(let t in _l)this[t]=_l[t]}var bZ=function(){return EZ.exports}(),vZ=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dialog-view",class:e.viewClass,attrs:{"data-id":e.msgData.id}},[e.dialogType==="group"?n("div",{staticClass:"dialog-username"},[n("UserAvatar",{attrs:{userid:e.msgData.userid,"show-icon":!1,"show-name":!0,"click-open-dialog":""}})],1):e._e(),n("div",{directives:[{name:"longpress",rawName:"v-longpress",value:{callback:e.handleLongpress,delay:300},expression:"{callback: handleLongpress, delay: 300}"}],staticClass:"dialog-head",class:e.headClass},[!e.hideReply&&e.msgData.reply_data?n("div",{staticClass:"dialog-reply no-dark-content",on:{click:e.viewReply}},[n("UserAvatar",{attrs:{userid:e.msgData.reply_data.userid,"show-icon":!1,"show-name":!0,"tooltip-disabled":!0}}),n("div",{staticClass:"reply-desc",domProps:{innerHTML:e._s(e.$A.getMsgSimpleDesc(e.msgData.reply_data,"image-preview"))}})],1):e._e(),n("div",{ref:"content",staticClass:"dialog-content",class:e.contentClass},[e.msgData.type==="text"?n("div",{staticClass:"content-text no-dark-content"},[e.msgData.msg.type==="md"?n("DialogMarkdown",{attrs:{text:e.msgData.msg.text},on:{click:e.viewText}}):n("pre",{domProps:{innerHTML:e._s(e.$A.formatTextMsg(e.msgData.msg.text,e.userId))},on:{click:e.viewText}})],1):e.msgData.type==="file"?n("div",{class:`content-file ${e.msgData.msg.type}`},[n("div",{staticClass:"dialog-file"},[e.msgData.msg.type==="img"?n("img",{staticClass:"file-img",style:e.imageStyle(e.msgData.msg),attrs:{src:e.msgData.msg.thumb},on:{click:e.viewFile}}):n("div",{staticClass:"file-box",on:{click:e.downFile}},[n("img",{staticClass:"file-thumb",attrs:{src:e.msgData.msg.thumb}}),n("div",{staticClass:"file-info"},[n("div",{staticClass:"file-name"},[e._v(e._s(e.msgData.msg.name))]),n("div",{staticClass:"file-size"},[e._v(e._s(e.$A.bytesToSize(e.msgData.msg.size)))])])])])]):e.msgData.type==="record"?n("div",{staticClass:"content-record no-dark-content"},[n("div",{staticClass:"dialog-record",class:{playing:e.audioPlaying===e.msgData.msg.path},style:e.recordStyle(e.msgData.msg),on:{click:e.playRecord}},[n("div",{staticClass:"record-time"},[e._v(e._s(e.recordDuration(e.msgData.msg.duration)))]),n("div",{staticClass:"record-icon taskfont"})])]):e.msgData.type==="meeting"?n("div",{staticClass:"content-meeting no-dark-content"},[n("ul",{staticClass:"dialog-meeting"},[n("li",[n("em",[e._v(e._s(e.$L("\u4F1A\u8BAE\u4E3B\u9898")))]),e._v(" "+e._s(e.msgData.msg.name)+" ")]),n("li",[n("em",[e._v(e._s(e.$L("\u4F1A\u8BAE\u521B\u5EFA\u4EBA")))]),n("UserAvatar",{attrs:{userid:e.msgData.msg.userid,"show-icon":!1,"show-name":!0,"tooltip-disabled":""}})],1),n("li",[n("em",[e._v(e._s(e.$L("\u9891\u9053ID")))]),e._v(" "+e._s(e.msgData.msg.meetingid.replace(/^(.{3})(.{3})(.*)$/,"$1 $2 $3"))+" ")]),n("li",{staticClass:"meeting-operation",on:{click:e.openMeeting}},[e._v(" "+e._s(e.$L("\u70B9\u51FB\u52A0\u5165\u4F1A\u8BAE"))+" "),n("i",{staticClass:"taskfont"},[e._v("\uE68B")])])])]):e.msgData.type==="loading"?n("div",{staticClass:"content-loading"},[e.msgData.error===!0?n("Icon",{attrs:{type:"ios-alert-outline"}}):n("Loading")],1):n("div",{staticClass:"content-unknown"},[e._v(e._s(e.$L("\u672A\u77E5\u7684\u6D88\u606F\u7C7B\u578B")))])]),e.$A.arrayLength(e.msgData.emoji)>0?n("ul",{staticClass:"dialog-emoji"},e._l(e.msgData.emoji,function(r,a){return n("li",{key:a,class:{hasme:r.userids.includes(e.userId)}},[n("div",{staticClass:"emoji-symbol no-dark-content",on:{click:function(l){return e.onEmoji(r.symbol)}}},[e._v(e._s(r.symbol))]),n("div",{staticClass:"emoji-users",on:{click:function(l){return e.onShowEmojiUser(r)}}},[n("ul",[e._l(r.userids,function(l,u){return[u0?n("div",{staticClass:"reply",on:{click:e.replyList}},[n("i",{staticClass:"taskfont"},[e._v("\uE6EB")]),e._v(" "+e._s(e.msgData.reply_num)+"\u6761\u56DE\u590D ")]):e._e(),e.msgData.tag?n("div",{staticClass:"tag"},[n("i",{staticClass:"taskfont"},[e._v("\uE61E")])]):e._e(),e.msgData.todo?n("div",{staticClass:"todo",on:{click:e.openTodo}},[n("EPopover",{ref:"todo",attrs:{"popper-class":"dialog-wrapper-read-poptip",placement:e.isRightMsg?"bottom-end":"bottom-start"},model:{value:e.todoShow,callback:function(r){e.todoShow=r},expression:"todoShow"}},[n("div",{staticClass:"read-poptip-content"},[n("Scrollbar",{attrs:{"class-name":"read"}},[n("div",{staticClass:"read-title"},[n("em",[e._v(e._s(e.todoDoneList.length))]),e._v(e._s(e.$L("\u5B8C\u6210")))]),n("ul",e._l(e.todoDoneList,function(r){return n("li",[n("UserAvatar",{attrs:{userid:r.userid,size:26,showName:"",tooltipDisabled:""}})],1)}),0)]),n("Scrollbar",{attrs:{"class-name":"unread"}},[n("div",{staticClass:"read-title"},[n("em",[e._v(e._s(e.todoUndoneList.length))]),e._v(e._s(e.$L("\u5F85\u529E")))]),n("ul",e._l(e.todoUndoneList,function(r){return n("li",[n("UserAvatar",{attrs:{userid:r.userid,size:26,showName:"",tooltipDisabled:""}})],1)}),0)])],1),n("div",{staticClass:"popover-reference",attrs:{slot:"reference"},slot:"reference"})]),e.todoLoad>0?n("Loading"):n("i",{staticClass:"taskfont"},[e._v("\uE7B7")])],1):e._e(),e.msgData.modify?n("div",{staticClass:"modify"},[n("i",{staticClass:"taskfont"},[e._v("\uE779")])]):e._e(),e.msgData.error===!0?n("div",{staticClass:"error",on:{click:e.onError}},[n("Icon",{attrs:{type:"ios-alert"}})],1):e.isLoading?n("Loading"):[e.timeShow?n("div",{staticClass:"time",on:{click:function(r){e.timeShow=!1}}},[e._v(e._s(e.msgData.created_at))]):n("div",{staticClass:"time",attrs:{title:e.msgData.created_at},on:{click:function(r){e.timeShow=!0}}},[e._v(e._s(e.$A.formatTime(e.msgData.created_at)))]),e.hidePercentage?e._e():[e.msgData.send>1||e.dialogType==="group"?n("div",{staticClass:"percent",on:{click:e.openReadPercentage}},[n("EPopover",{ref:"percent",attrs:{"popper-class":"dialog-wrapper-read-poptip",placement:e.isRightMsg?"bottom-end":"bottom-start"},model:{value:e.percentageShow,callback:function(r){e.percentageShow=r},expression:"percentageShow"}},[n("div",{staticClass:"read-poptip-content"},[n("Scrollbar",{attrs:{"class-name":"read"}},[n("div",{staticClass:"read-title"},[n("em",[e._v(e._s(e.readList.length))]),e._v(e._s(e.$L("\u5DF2\u8BFB")))]),n("ul",e._l(e.readList,function(r){return n("li",[n("UserAvatar",{attrs:{userid:r.userid,size:26,showName:"",tooltipDisabled:""}})],1)}),0)]),n("Scrollbar",{attrs:{"class-name":"unread"}},[n("div",{staticClass:"read-title"},[n("em",[e._v(e._s(e.unreadList.length))]),e._v(e._s(e.$L("\u672A\u8BFB")))]),n("ul",e._l(e.unreadList,function(r){return n("li",[n("UserAvatar",{attrs:{userid:r.userid,size:26,showName:"",tooltipDisabled:""}})],1)}),0)])],1),n("div",{staticClass:"popover-reference",attrs:{slot:"reference"},slot:"reference"})]),e.percentageLoad>0?n("Loading"):n("WCircle",{attrs:{percent:e.msgData.percentage,size:14}})],1):e.msgData.percentage===100?n("Icon",{staticClass:"done",attrs:{type:"md-done-all"}}):n("Icon",{staticClass:"done",attrs:{type:"md-checkmark"}})]]],2)])},TZ=[];const yZ={name:"DialogView",components:{DialogMarkdown:bZ,WCircle:td},directives:{longpress:za},props:{msgData:{type:Object,default:()=>({})},dialogType:{type:String,default:""},hidePercentage:{type:Boolean,default:!1},hideReply:{type:Boolean,default:!1},operateVisible:{type:Boolean,default:!1},operateAction:{type:Boolean,default:!1},isRightMsg:{type:Boolean,default:!1}},data(){return{timeShow:!1,operateEnter:!1,percentageLoad:0,percentageShow:!1,percentageList:[],todoLoad:0,todoShow:!1,todoList:[],emojiUsersNum:5}},mounted(){this.emojiUsersNum=Math.min(6,Math.max(2,Math.floor((this.windowWidth-180)/52)))},beforeDestroy(){this.$store.dispatch("audioStop",this.msgData.msg.path)},computed:{...Wn(["loads","audioPlaying"]),...Nl(["isLoad"]),isLoading(){return this.msgData.created_at?this.isLoad(`msg-${this.msgData.id}`):!0},viewClass(){const{msgData:e,operateAction:t,operateEnter:n}=this,r=[];return e.type&&r.push(e.type),e.reply_data&&r.push("reply-view"),t&&(r.push("operate-action"),n&&r.push("operate-enter")),r},readList(){return this.percentageList.filter(({read_at:e})=>e)},unreadList(){return this.percentageList.filter(({read_at:e})=>!e)},todoDoneList(){return this.todoList.filter(({done_at:e})=>e)},todoUndoneList(){return this.todoList.filter(({done_at:e})=>!e)},headClass(){const{reply_id:e,type:t,msg:n,emoji:r}=this.msgData,a=[];return e===0&&$A.arrayLength(r)===0&&t==="text"&&(/^]*?>$/.test(n.text)||/^\s*

\s*([\uD800-\uDBFF][\uDC00-\uDFFF]){1,3}\s*<\/p>\s*$/.test(n.text))&&a.push("transparent"),a},contentClass(){const{type:e,msg:t}=this.msgData,n=[];return e==="text"&&(/^]*?>$/.test(t.text)?n.push("an-emoticon"):/^\s*

\s*([\uD800-\uDBFF][\uDC00-\uDFFF]){3}\s*<\/p>\s*$/.test(t.text)?n.push("three-emoji"):/^\s*

\s*([\uD800-\uDBFF][\uDC00-\uDFFF]){2}\s*<\/p>\s*$/.test(t.text)?n.push("two-emoji"):/^\s*

\s*[\uD800-\uDBFF][\uDC00-\uDFFF]\s*<\/p>\s*$/.test(t.text)&&n.push("an-emoji")),n}},watch:{operateAction(e){this.operateEnter=!1,e&&setTimeout(t=>this.operateEnter=!0,500)}},methods:{handleLongpress(e,t){this.$emit("on-longpress",{event:e,el:t,msgData:this.msgData})},openTodo(){if(!(this.todoLoad>0)){if(this.todoShow){this.todoShow=!1;return}this.todoLoad++,this.$store.dispatch("call",{url:"dialog/msg/todolist",data:{msg_id:this.msgData.id}}).then(({data:e})=>{this.todoList=e}).catch(()=>{this.todoList=[]}).finally(e=>{setTimeout(()=>{this.todoLoad--,this.todoShow=!0},100)})}},openReadPercentage(){if(!(this.percentageLoad>0)){if(this.percentageShow){this.percentageShow=!1;return}this.percentageLoad++,this.$store.dispatch("call",{url:"dialog/msg/readlist",data:{msg_id:this.msgData.id}}).then(({data:e})=>{this.percentageList=e}).catch(()=>{this.percentageList=[]}).finally(e=>{setTimeout(()=>{this.percentageLoad--,this.percentageShow=!0},100)})}},recordStyle(e){const{duration:t}=e;return{width:50+Math.min(180,Math.floor(t/150))+"px"}},recordDuration(e){const t=Math.floor(e/6e4),n=Math.floor(e/1e3)%60;return t>0?`${t}:${n}\u2033`:`${Math.max(1,n)}\u2033`},imageStyle(e){const{width:t,height:n}=e;if(t&&n){let r=220,a=220,l=t,u=n;return(t>r||n>a)&&(t>n?(l=r,u=n*(r/t)):(l=t*(a/n),u=a)),{width:l+"px",height:u+"px"}}return{}},playRecord(){this.operateVisible||this.$store.dispatch("audioPlay",this.msgData.msg.path)},openMeeting(){this.operateVisible||_i.Store.set("addMeeting",{type:"join",name:this.msgData.msg.name,meetingid:this.msgData.msg.meetingid,meetingdisabled:!0})},viewReply(){this.$emit("on-view-reply",{msg_id:this.msgData.id,reply_id:this.msgData.reply_id})},viewText(e){this.$emit("on-view-text",e,this.$refs.content)},viewFile(){this.$emit("on-view-file",this.msgData)},downFile(){this.$emit("on-down-file",this.msgData)},replyList(){this.$emit("on-reply-list",{msg_id:this.msgData.id})},onError(){this.$emit("on-error",this.msgData)},onEmoji(e){this.$emit("on-emoji",{msg_id:this.msgData.id,symbol:e})},onShowEmojiUser(e){this.$emit("on-show-emoji-user",e)}}},pl={};var CZ=Qt(yZ,vZ,TZ,!1,RZ,null,null,null);function RZ(e){for(let t in pl)this[t]=pl[t]}var NZ=function(){return CZ.exports}(),OZ=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.classArray},[e.source.type==="tag"?n("div",{staticClass:"dialog-tag",on:{click:e.onViewTag}},[n("div",{staticClass:"tag-user"},[n("UserAvatar",{attrs:{userid:e.source.userid,tooltipDisabled:e.source.userid==e.userId,"show-name":!0,"show-icon":!1}})],1),e._v(" "+e._s(e.$L(e.source.msg.action==="remove"?"\u53D6\u6D88\u6807\u6CE8":"\u6807\u6CE8\u4E86"))+' "'+e._s(e.$A.getMsgSimpleDesc(e.source.msg.data))+'" ')]):e.source.type==="todo"?n("div",{staticClass:"dialog-todo",on:{click:e.onViewTodo}},[n("div",{staticClass:"todo-user"},[n("UserAvatar",{attrs:{userid:e.source.userid,tooltipDisabled:e.source.userid==e.userId,"show-name":!0,"show-icon":!1}})],1),e._v(" "+e._s(e.$L(e.source.msg.action==="remove"?"\u53D6\u6D88\u5F85\u529E":e.source.msg.action==="done"?"\u5B8C\u6210":"\u8BBE\u5F85\u529E"))+' "'+e._s(e.$A.getMsgSimpleDesc(e.source.msg.data))+'" '),e.formatTodoUser(e.source.msg.data).length>0?n("div",{staticClass:"todo-users"},[n("span",[e._v(e._s(e.$L("\u7ED9")))]),e._l(e.formatTodoUser(e.source.msg.data),function(r,a){return[a<3?n("div",{staticClass:"todo-user"},[n("UserAvatar",{attrs:{userid:r,tooltipDisabled:r==e.userId,"show-name":!0,"show-icon":!1}})],1):a==3?n("div",{staticClass:"todo-user"},[e._v("+"+e._s(e.formatTodoUser(e.source.msg.data).length-3))]):e._e()]})],2):e._e()]):e.source.type==="notice"?n("div",{staticClass:"dialog-notice"},[e._v(" "+e._s(e.source.msg.notice)+" ")]):[n("div",{staticClass:"dialog-avatar"},[n("UserAvatar",{directives:[{name:"longpress",rawName:"v-longpress",value:{callback:e.onMention,delay:300},expression:"{callback: onMention, delay: 300}"}],attrs:{userid:e.source.userid,size:30,"tooltip-disabled":""},on:{"open-dialog":e.onOpenDialog}})],1),n("DialogView",{attrs:{"msg-data":e.source,"dialog-type":e.dialogData.type,"hide-percentage":e.hidePercentage,"hide-reply":e.hideReply,"operate-visible":e.operateVisible,"operate-action":e.operateVisible&&e.source.id===e.operateItem.id,"is-right-msg":e.isRightMsg},on:{"on-longpress":e.onLongpress,"on-view-reply":e.onViewReply,"on-view-text":e.onViewText,"on-view-file":e.onViewFile,"on-down-file":e.onDownFile,"on-reply-list":e.onReplyList,"on-error":e.onError,"on-emoji":e.onEmoji,"on-show-emoji-user":e.onShowEmojiUser}})]],2)},AZ=[];const IZ={name:"DialogItem",components:{DialogView:NZ},directives:{longpress:za},props:{source:{type:Object,default(){return{}}},dialogData:{type:Object,default(){return{}}},operateVisible:{type:Boolean,default:!1},operateItem:{type:Object,default(){return{}}},simpleView:{type:Boolean,default:!1},isMyDialog:{type:Boolean,default:!1},msgId:{type:Number,default:0}},data(){return{subscribe:null}},computed:{...Wn(["userId"]),isRightMsg(){return this.source.userid==this.userId},isReply(){return this.simpleView||this.msgId===this.source.id},hidePercentage(){return this.simpleView||this.isMyDialog||this.isReply},hideReply(){return this.simpleView||this.msgId>0},classArray(){return{"dialog-item":!0,"reply-item":this.isReply,self:this.isRightMsg}}},watch:{source:{handler(){this.msgRead()},immediate:!0},windowActive(e){e&&this.msgRead()}},methods:{msgRead(){!this.windowActive||this.$store.dispatch("dialogMsgRead",this.source)},formatTodoUser(e){if($A.isJson(e)){const{userids:t}=e;if(t)return t.split(",")}return[]},onViewTag(){this.onViewReply({msg_id:this.source.id,reply_id:this.source.msg.data.id})},onViewTodo(){this.onViewReply({msg_id:this.source.id,reply_id:this.source.msg.data.id})},onOpenDialog(e){this.dialogData.type=="group"&&this.$store.dispatch("openDialogUserid",e).then(t=>{this.goForward({name:"manage-messenger"})}).catch(({msg:t})=>{$A.modalError(t)})},onMention(){this.dispatch("on-mention",this.source)},onLongpress(e){this.dispatch("on-longpress",e)},onViewReply(e){this.dispatch("on-view-reply",e)},onViewText(e,t){this.dispatch("on-view-text",e,t)},onViewFile(e){this.dispatch("on-view-file",e)},onDownFile(e){this.dispatch("on-down-file",e)},onReplyList(e){this.dispatch("on-reply-list",e)},onError(e){this.dispatch("on-error",e)},onEmoji(e){this.dispatch("on-emoji",e)},onShowEmojiUser(e){this.dispatch("on-show-emoji-user",e)},dispatch(e,...t){if(this.isReply){this.$emit(e,...t);return}let n=this.$parent,r=n.$options.name;for(;n&&(!r||r!=="virtual-list");)n=n.$parent,n&&(r=n.$options.name);n&&n.$emit(e,...t)}}},ml={};var DZ=Qt(IZ,OZ,AZ,!1,xZ,null,null,null);function xZ(e){for(let t in ml)this[t]=ml[t]}var fl=function(){return DZ.exports}(),wZ=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Upload",{ref:"upload",attrs:{name:"files",action:e.actionUrl,headers:e.headers,data:e.params,multiple:"",format:e.uploadFormat,"show-upload-list":!1,"max-size":e.maxSize,"on-progress":e.handleProgress,"on-success":e.handleSuccess,"on-format-error":e.handleFormatError,"on-exceeded-size":e.handleMaxSize}})},MZ=[];const LZ={name:"DialogUpload",props:{dialogId:{type:Number,default:0},maxSize:{type:Number,default:1024e3}},data(){return{uploadFormat:[],actionUrl:$A.apiUrl("dialog/msg/sendfile")}},computed:{...Wn(["cacheDialogs"]),headers(){return{fd:$A.getSessionStorageString("userWsFd"),token:this.userToken}},params(){return{dialog_id:this.dialogId,reply_id:this.dialogData.extra_quote_id||0}},dialogData(){return this.cacheDialogs.find(({id:e})=>e==this.dialogId)||{}}},methods:{handleProgress(e,t){t.tempId===void 0&&(this.$parent.$options.name==="DialogWrapper"?t.tempId=this.$parent.getTempId():t.tempId=$A.randNum(1e9,9999999999),this.$emit("on-progress",t))},handleSuccess(e,t){e.ret===1?(t.data=e.data,this.$emit("on-success",t),e.data.task_id&&this.$store.dispatch("getTaskFiles",e.data.task_id)):($A.modalWarning({title:"\u53D1\u9001\u5931\u8D25",content:"\u6587\u4EF6 "+t.name+" \u53D1\u9001\u5931\u8D25\uFF0C"+e.msg}),this.$emit("on-error",t),this.$refs.upload.fileList.pop())},handleFormatError(e){$A.modalWarning({title:"\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E",content:"\u6587\u4EF6 "+e.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u4EC5\u652F\u6301\u53D1\u9001\uFF1A"+this.uploadFormat.join(",")})},handleMaxSize(e){$A.modalWarning({title:"\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236",content:"\u6587\u4EF6 "+e.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u53D1\u9001\u8D85\u8FC7"+$A.bytesToSize(this.maxSize*1024)+"\u3002"})},handleClick(){this.$refs.upload.handleClick()},upload(e){this.$refs.upload.upload(e)}}},gl={};var kZ=Qt(LZ,wZ,MZ,!1,PZ,null,null,null);function PZ(e){for(let t in gl)this[t]=gl[t]}var BZ=function(){return kZ.exports}(),FZ=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dialog-group-info"},[n("div",{staticClass:"group-info-title"},[e._v(e._s(e.$L("\u7FA4\u540D")))]),n("div",{staticClass:"group-info-value"},[n("QuickEdit",{attrs:{value:e.dialogData.name,disabled:e.dialogData.owner_id!=e.userId},on:{"on-update":e.updateName}},[e._v(e._s(e.dialogData.name))])],1),n("div",{staticClass:"group-info-title"},[e._v(e._s(e.$L("\u7FA4\u7C7B\u578B")))]),n("div",{staticClass:"group-info-value"},[e._v(e._s(e.$L(e.groupType)))]),n("div",{staticClass:"group-info-search"},[n("Input",{attrs:{prefix:"ios-search",placeholder:e.$L("\u641C\u7D22\u6210\u5458"),clearable:""},model:{value:e.searchKey,callback:function(r){e.searchKey=r},expression:"searchKey"}})],1),n("div",{staticClass:"group-info-user"},[n("ul",[e._l(e.userList,function(r,a){return n("li",{key:a,on:{click:function(l){return e.openUser(r.userid)}}},[n("UserAvatar",{attrs:{userid:r.userid,size:32,showName:"",tooltipDisabled:""}}),r.userid===e.dialogData.owner_id?n("div",{staticClass:"user-tag"},[e._v(e._s(e.$L("\u7FA4\u4E3B")))]):e.operableExit(r)?n("div",{staticClass:"user-exit",on:{click:function(l){return l.stopPropagation(),e.onExit(r)}}},[n("Icon",{attrs:{type:"md-exit"}})],1):e._e()],1)}),e.userList.length===0?n("li",{staticClass:"no"},[e.loadIng>0?n("Loading"):n("span",[e._v(e._s(e.$L("\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6570\u636E")))])],1):e._e()],2)]),e.operableAdd?n("div",{staticClass:"group-info-button"},[e.dialogData.owner_id==e.userId||e.dialogData.owner_id==0?n("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:e.openAdd}},[e._v(e._s(e.$L("\u6DFB\u52A0\u6210\u5458")))]):e._e()],1):e._e(),n("Modal",{attrs:{title:e.$L("\u6DFB\u52A0\u7FA4\u6210\u5458"),"mask-closable":!1},model:{value:e.addShow,callback:function(r){e.addShow=r},expression:"addShow"}},[n("Form",{attrs:{model:e.addData,"label-width":"auto"},nativeOn:{submit:function(r){r.preventDefault()}}},[n("FormItem",{attrs:{prop:"userids",label:e.$L("\u65B0\u589E\u6210\u5458")}},[n("UserSelect",{attrs:{disabledChoice:e.addData.disabledChoice,"multiple-max":100,"show-bot":"",title:e.$L("\u9009\u62E9\u6210\u5458")},model:{value:e.addData.userids,callback:function(r){e.$set(e.addData,"userids",r)},expression:"addData.userids"}}),e.dialogData.group_type==="department"?n("div",{staticClass:"form-tip"},[e._v(e._s(e.$L("\u6B64\u64CD\u4F5C\u4EC5\u52A0\u5165\u7FA4\u6210\u5458\u5E76\u4E0D\u4F1A\u52A0\u5165\u90E8\u95E8")))]):e.dialogData.group_type==="project"?n("div",{staticClass:"form-tip"},[e._v(e._s(e.$L("\u6B64\u64CD\u4F5C\u4EC5\u52A0\u5165\u7FA4\u6210\u5458\u5E76\u4E0D\u4F1A\u52A0\u5165\u9879\u76EE")))]):e.dialogData.group_type==="task"?n("div",{staticClass:"form-tip"},[e._v(e._s(e.$L("\u6B64\u64CD\u4F5C\u4EC5\u52A0\u5165\u7FA4\u6210\u5458\u5E76\u4E0D\u4F1A\u52A0\u5165\u4EFB\u52A1\u8D1F\u8D23\u4EBA")))]):e._e()],1)],1),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(r){e.addShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),n("Button",{attrs:{type:"primary",loading:e.addLoad>0},on:{click:e.onAdd}},[e._v(e._s(e.$L("\u786E\u5B9A\u6DFB\u52A0")))])],1)],1)],1)},UZ=[];const GZ={name:"DialogGroupInfo",components:{UserSelect:Ol},props:{dialogId:{type:Number,default:0}},data(){return{searchKey:"",loadIng:0,dialogUser:[],addShow:!1,addData:{},addLoad:0,openIng:!1}},computed:{...Wn(["cacheDialogs","cacheUserBasic","userIsAdmin"]),dialogData(){return this.cacheDialogs.find(({id:e})=>e==this.dialogId)||{}},groupType(){const{group_type:e}=this.dialogData;return e==="department"?"\u90E8\u95E8\u7FA4\u7EC4":e==="project"?"\u9879\u76EE\u7FA4\u7EC4":e==="task"?"\u4EFB\u52A1\u7FA4\u7EC4":e==="user"?"\u4E2A\u4EBA\u7FA4\u7EC4":e==="all"?"\u5168\u5458\u7FA4\u7EC4":"\u672A\u77E5"},userList(){const{dialogUser:e,searchKey:t,cacheUserBasic:n,dialogData:r}=this;return e.map(l=>{const u=n.find(c=>c.userid==l.userid);return u&&(l.nickname=u.nickname,l.email=u.email),l}).filter(l=>!(t&&l.nickname&&!$A.strExists(l.nickname,t)&&!$A.strExists(l.email,t))).sort((l,u)=>l.userid===r.owner_id||u.userid===r.owner_id?(l.userid===r.owner_id?0:1)-(u.userid===r.owner_id?0:1):$A.Date(l.created_at)-$A.Date(u.created_at))}},watch:{dialogId:{handler(){this.getDialogUser()},immediate:!0}},methods:{updateName(e,t){if(!e){t();return}this.$store.dispatch("call",{url:"dialog/group/edit",data:{dialog_id:this.dialogId,chat_name:e}}).then(({data:n})=>{this.$store.dispatch("saveDialog",n),t()}).catch(({msg:n})=>{$A.modalError(n),t()})},getDialogUser(){this.dialogId<=0||(this.loadIng++,this.$store.dispatch("call",{url:"dialog/user",data:{dialog_id:this.dialogId}}).then(({data:e})=>{this.dialogUser=e,this.$store.dispatch("saveDialog",{id:this.dialogId,people:e.length})}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadIng--}))},operableAdd(){const{owner_id:e,group_type:t}=this.dialogData;return t=="all"?this.userIsAdmin:[0,this.userId].includes(e)},openAdd(){this.addData={dialog_id:this.dialogId,userids:[],disabledChoice:this.dialogUser.map(e=>e.userid)},this.addShow=!0},onAdd(){this.addLoad++,this.$store.dispatch("call",{url:"dialog/group/adduser",data:this.addData}).then(({msg:e})=>{$A.messageSuccess(e),this.addShow=!1,this.addData={},this.getDialogUser()}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.addLoad--})},operableExit(e){const{owner_id:t,group_type:n}=this.dialogData;return n=="all"?this.userIsAdmin:t==this.userId||e.inviter==this.userId},onExit(e){let t="\u4F60\u786E\u5B9A\u8981\u9000\u51FA\u7FA4\u7EC4\u5417\uFF1F",n=[];$A.isJson(e)&&e.userid!=this.userId&&(t=`\u4F60\u786E\u5B9A\u8981\u5C06\u3010${e.nickname}\u3011\u79FB\u51FA\u7FA4\u7EC4\u5417\uFF1F`,n=[e.userid]),$A.modalConfirm({content:t,loading:!0,onOk:()=>new Promise((r,a)=>{this.$store.dispatch("call",{url:"dialog/group/deluser",data:{dialog_id:this.dialogId,userids:n}}).then(({msg:l})=>{r(l),n.length>0?this.getDialogUser():(this.$store.dispatch("forgetDialog",this.dialogId),this.goForward({name:"manage-messenger"}))}).catch(({msg:l})=>{a(l)})})})},openUser(e){this.openIng||(this.openIng=!0,this.$store.dispatch("openDialogUserid",e).then(t=>{this.$emit("on-close")}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.openIng=!1}))}}},hl={};var qZ=Qt(GZ,FZ,UZ,!1,YZ,null,null,null);function YZ(e){for(let t in hl)this[t]=hl[t]}var zZ=function(){return qZ.exports}(),$Z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dialog-respond"},[n("div",{staticClass:"respond-title"},[n("em",{staticClass:"no-dark-content"},[e._v(e._s(e.respondData.symbol))]),e._v(e._s(e.$L("\u56DE\u5E94\u8BE6\u60C5"))+" ("+e._s(e.respondData.userids.length)+")")]),n("div",{staticClass:"respond-user"},[n("ul",e._l(e.respondData.userids,function(r,a){return n("li",{key:a,on:{click:function(l){return e.openUser(r)}}},[n("UserAvatar",{attrs:{userid:r,size:32,showName:"",tooltipDisabled:""}})],1)}),0)])])},HZ=[];const VZ={name:"DialogRespond",props:{respondData:{type:Object,default:()=>({})}},data(){return{openIng:!1}},methods:{openUser(e){this.openIng||(this.openIng=!0,this.$store.dispatch("openDialogUserid",e).then(t=>{this.$emit("on-close")}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.openIng=!1}))}}},El={};var WZ=Qt(VZ,$Z,HZ,!1,KZ,null,null,null);function KZ(e){for(let t in El)this[t]=El[t]}var QZ=function(){return WZ.exports}(),Rc={exports:{}};/*! * Quill Editor v1.3.7 * https://quilljs.com/ * Copyright (c) 2014, Jason Chen @@ -332,5 +332,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * open source under the MIT license * https://github.com/tangbc/vue-virtual-scroll-list#readme */(function(e,t){(function(n,r){e.exports=r($u)})(Ya,function(n){n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;function r(w,M){if(!(w instanceof M))throw new TypeError("Cannot call a class as a function")}function a(w,M){for(var x=0;xw.length)&&(M=w.length);for(var x=0,Y=new Array(M);xthis.range.start)){var Y=Math.max(x-this.param.buffer,0);this.checkRange(Y,this.getEndByStart(Y))}}},{key:"handleBehind",value:function(){var x=this.getScrollOvers();xx&&(ce=W-1)}return Y>0?--Y:0}},{key:"getIndexOffset",value:function(x){if(!x)return 0;for(var Y=0,W=0,Z=0;Z1&&arguments[1]!==void 0?arguments[1]:0;if(M>=this.dataSources.length-1)this.scrollToBottom();else{var Y=this.virtual.getOffset(M);x!==0&&(Y=Math.max(0,Y+x)),this.scrollToOffset(Y)}},scrollToBottom:function(){var M=this,x=this.$refs.shepherd;if(x){var Y=x[this.isHorizontal?"offsetLeft":"offsetTop"];this.scrollToOffset(Y),this.toBottomTime&&(clearTimeout(this.toBottomTime),this.toBottomTime=null),this.toBottomTime=setTimeout(function(){M.getOffset()+M.getClientSize()+1W+1||!W||(this.virtual.handleScroll(x),this.emitEvent(x,Y,W,M))}},emitEvent:function(M,x,Y,W){this.$emit("scroll",W,this.virtual.getRange()),this.virtual.isFront()&&!!this.dataSources.length&&M-this.topThreshold<=0?this.$emit("totop"):this.virtual.isBehind()&&M+x+this.bottomThreshold>=Y&&this.$emit("tobottom")},getRenderSlots:function(M){for(var x=[],Y=this.range,W=Y.start,Z=Y.end,ce=this.dataSources,te=this.dataKey,j=this.itemClass,U=this.itemTag,X=this.itemStyle,J=this.isHorizontal,ae=this.extraProps,le=this.dataComponent,Q=this.itemScopedSlots,ie=this.$scopedSlots&&this.$scopedSlots.item,_e=W;_e<=Z;_e++){var ue=ce[_e];if(ue){var Ee=typeof te=="function"?te(ue):ue[te];typeof Ee=="string"||typeof Ee=="number"?x.push(M(F,{props:{index:_e,tag:U,event:z.ITEM,horizontal:J,uniqueKey:Ee,source:ue,extraProps:ae,component:le,slotComponent:ie,scopedSlots:Q},style:X,class:"".concat(j).concat(this.itemClassAdd?" "+this.itemClassAdd(_e):"")})):console.warn("Cannot get the data-key '".concat(te,"' from data-sources."))}else console.warn("Cannot get the index '".concat(_e,"' from data-sources."))}return x}},render:function(M){var x=this.$slots,Y=x.header,W=x.footer,Z=this.range,ce=Z.padFront,te=Z.padBehind,j=this.isHorizontal,U=this.pageMode,X=this.rootTag,J=this.wrapTag,ae=this.wrapClass,le=this.wrapStyle,Q=this.headerTag,ie=this.headerClass,_e=this.headerStyle,ue=this.footerTag,Ee=this.footerClass,Ie=this.footerStyle,ke=this.disabled,qe={padding:j?"0px ".concat(te,"px 0px ").concat(ce,"px"):"".concat(ce,"px 0px ").concat(te,"px")},Ye=le?Object.assign({},le,qe):qe;return M(X,{ref:"root",style:ke?{overflow:"hidden"}:null,on:{"&scroll":!U&&this.onScroll}},[Y?M(G,{class:ie,style:_e,props:{tag:Q,event:z.SLOT,uniqueKey:k.HEADER}},Y):null,M(J,{class:ae,attrs:{role:"group"},style:Ye},this.getRenderSlots(M)),W?M(G,{class:Ee,style:Ie,props:{tag:ue,event:z.SLOT,uniqueKey:k.FOOTER}},W):null,M("div",{ref:"shepherd",style:{width:j?"0px":"100%",height:j?"100%":"0px"}})])}});return L})})(Dc);var CJ=Dc.exports;function RJ(){return new Promise(e=>{const t=new Hu({render(a){return a(Vu.exports.Modal,{class:"chat-emoji-one-modal",props:{fullscreen:!0,footerHide:!0},on:{"on-visible-change":l=>{l||setTimeout(u=>{document.body.removeChild(this.$el)},500)}}},[a(Ic,{attrs:{onlyEmoji:!0},on:{"on-select":l=>{this.$children[0].visible=!1,l.type==="emoji"&&e(l.text)}}})])}}),n=t.$mount();document.body.appendChild(n.$el);const r=t.$children[0];r.visible=!0,r.$el.lastChild.addEventListener("click",({target:a})=>{a.classList.contains("ivu-modal-body")&&(r.visible=!1)})})}var NJ=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isReady?n("div",{staticClass:"dialog-wrapper",class:e.wrapperClass,on:{drop:function(r){return r.preventDefault(),e.chatPasteDrag(r,"drag")},dragover:function(r){return r.preventDefault(),e.chatDragOver(!0,r)},dragleave:function(r){return r.preventDefault(),e.chatDragOver(!1,r)},touchstart:e.onTouchStart,touchmove:e.onTouchMove}},[n("div",{staticClass:"dialog-nav",style:e.navStyle},[e._t("head",function(){return[n("div",{staticClass:"nav-wrapper",class:{completed:e.$A.dialogCompleted(e.dialogData)}},[n("div",{staticClass:"dialog-back",on:{click:e.onBack}},[n("i",{staticClass:"taskfont"},[e._v("\uE676")]),e.msgUnreadOnly?n("div",{staticClass:"back-num"},[e._v(e._s(e.msgUnreadOnly))]):e._e()]),n("div",{staticClass:"dialog-block"},[n("div",{staticClass:"dialog-avatar",on:{click:e.onViewAvatar}},[e.dialogData.type=="group"?[e.dialogData.avatar?n("EAvatar",{staticClass:"img-avatar",attrs:{src:e.dialogData.avatar,size:42}}):e.dialogData.group_type=="department"?n("i",{staticClass:"taskfont icon-avatar department"},[e._v("\uE75C")]):e.dialogData.group_type=="project"?n("i",{staticClass:"taskfont icon-avatar project"},[e._v("\uE6F9")]):e.dialogData.group_type=="task"?n("i",{staticClass:"taskfont icon-avatar task"},[e._v("\uE6F4")]):n("Icon",{staticClass:"icon-avatar",attrs:{type:"ios-people"}})]:e.dialogData.dialog_user?n("div",{staticClass:"user-avatar"},[n("UserAvatar",{attrs:{online:e.dialogData.online_state,userid:e.dialogData.dialog_user.userid,size:42},on:{"update:online":function(r){return e.$set(e.dialogData,"online_state",r)}}},[e.dialogData.type==="user"&&e.dialogData.online_state!==!0?n("p",{attrs:{slot:"end"},slot:"end"},[e._v(" "+e._s(e.$L(e.dialogData.online_state))+" ")]):e._e()])],1):n("Icon",{staticClass:"icon-avatar",attrs:{type:"md-person"}})],2),n("div",{staticClass:"dialog-title"},[n("div",{staticClass:"main-title"},[e._l(e.$A.dialogTags(e.dialogData),function(r){return r.color!="success"?[n("Tag",{attrs:{color:r.color,fade:!1}},[e._v(e._s(e.$L(r.text)))])]:e._e()}),n("h2",[e._v(e._s(e.dialogData.name))]),e.peopleNum>0?n("em",{on:{click:function(r){return e.onDialogMenu("groupInfo")}}},[e._v("("+e._s(e.peopleNum)+")")]):e._e(),e.dialogData.bot?n("Tag",{staticClass:"after",attrs:{fade:!1}},[e._v(e._s(e.$L("\u673A\u5668\u4EBA")))]):e._e(),e.dialogData.group_type=="all"?n("Tag",{staticClass:"after pointer",attrs:{fade:!1},on:{"on-click":function(r){return e.onDialogMenu("groupInfo")}}},[e._v(e._s(e.$L("\u5168\u5458")))]):e.dialogData.group_type=="department"?n("Tag",{staticClass:"after pointer",attrs:{fade:!1},on:{"on-click":function(r){return e.onDialogMenu("groupInfo")}}},[e._v(e._s(e.$L("\u90E8\u95E8")))]):e._e(),e.msgLoadIng>0?n("div",{staticClass:"load"},[n("Loading")],1):e._e()],2),n("ul",{staticClass:"title-desc"},[e.dialogData.type==="user"?n("li",{class:[e.dialogData.online_state===!0?"online":"offline"]},[e._v(" "+e._s(e.$L(e.dialogData.online_state===!0?"\u5728\u7EBF":e.dialogData.online_state))+" ")]):e._e()]),e.tagShow?n("ul",{staticClass:"title-tags scrollbar-hidden"},e._l(e.msgTags,function(r){var a;return n("li",{key:r.type,class:(a={},a[r.type||"msg"]=!0,a.active=e.msgType===r.type,a),on:{click:function(l){return e.onMsgType(r.type)}}},[n("i",{staticClass:"no-dark-content"}),n("span",[e._v(e._s(e.$L(r.label)))])])}),0):e._e()])]),n("EDropdown",{staticClass:"dialog-menu",attrs:{trigger:"click"},on:{command:e.onDialogMenu}},[n("i",{staticClass:"taskfont dialog-menu-icon"},[e._v("\uE6E9")]),n("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("EDropdownItem",{attrs:{command:"searchMsg"}},[n("div",[e._v(e._s(e.$L("\u641C\u7D22\u6D88\u606F")))])]),e.dialogData.type==="user"?[e.isManageBot?n("EDropdownItem",{attrs:{command:"modifyNormal"}},[n("div",[e._v(e._s(e.$L("\u4FEE\u6539\u8D44\u6599")))])]):e._e(),n("EDropdownItem",{attrs:{command:"openCreate"}},[n("div",[e._v(e._s(e.$L("\u521B\u5EFA\u7FA4\u7EC4")))])])]:[n("EDropdownItem",{attrs:{command:"groupInfo"}},[n("div",[e._v(e._s(e.$L("\u7FA4\u7EC4\u8BBE\u7F6E")))])]),e.dialogData.owner_id!=e.userId?[e.dialogData.group_type==="all"&&e.userIsAdmin?n("EDropdownItem",{attrs:{command:"modifyAdmin"}},[n("div",[e._v(e._s(e.$L("\u4FEE\u6539\u8D44\u6599")))])]):e._e(),n("EDropdownItem",{attrs:{command:"exit"}},[n("div",{staticStyle:{color:"#f00"}},[e._v(e._s(e.$L("\u9000\u51FA\u7FA4\u7EC4")))])])]:e.dialogData.group_type==="user"?[n("EDropdownItem",{attrs:{command:"modifyNormal"}},[n("div",[e._v(e._s(e.$L("\u4FEE\u6539\u8D44\u6599")))])]),n("EDropdownItem",{attrs:{command:"transfer"}},[n("div",[e._v(e._s(e.$L("\u8F6C\u8BA9\u7FA4\u4E3B")))])]),n("EDropdownItem",{attrs:{command:"disband"}},[n("div",{staticStyle:{color:"#f00"}},[e._v(e._s(e.$L("\u89E3\u6563\u7FA4\u7EC4")))])])]:e._e()]],2)],1),e.searchShow?n("div",{staticClass:"dialog-search"},[n("div",{staticClass:"search-location"},[n("i",{staticClass:"taskfont",on:{click:function(r){return e.onSearchSwitch("prev")}}},[e._v("\uE702")]),n("i",{staticClass:"taskfont",on:{click:function(r){return e.onSearchSwitch("next")}}},[e._v("\uE705")])]),n("div",{staticClass:"search-input"},[n("Input",{ref:"searchInput",attrs:{placeholder:e.$L("\u641C\u7D22\u6D88\u606F"),clearable:""},on:{"on-keyup":e.onSearchKeyup},model:{value:e.searchKey,callback:function(r){e.searchKey=r},expression:"searchKey"}},[n("div",{staticClass:"search-pre",attrs:{slot:"prefix"},slot:"prefix"},[e.searchLoad>0?n("Loading"):n("Icon",{attrs:{type:"ios-search"}})],1)]),e.searchLoad===0&&e.searchResult.length>0?n("div",{staticClass:"search-total",attrs:{slot:"append"},slot:"append"},[e._v(e._s(e.searchLocation)+"/"+e._s(e.searchResult.length))]):e._e()],1),n("div",{staticClass:"search-cancel",on:{click:function(r){return e.onSearchKeyup(null)}}},[e._v(e._s(e.$L("\u53D6\u6D88")))])]):e._e()],1)]})],2),e.positionMsg?n("div",{staticClass:"dialog-position",class:{down:e.tagShow}},[n("div",{staticClass:"position-label",on:{click:e.onPositionMark}},[e.positionLoad>0?n("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}):n("i",{staticClass:"taskfont"},[e._v("\uE624")]),e._v(" "+e._s(e.positionMsg.label)+" ")],1)]):e._e(),n("VirtualList",{ref:"scroller",staticClass:"dialog-scroller scrollbar-virtual",class:e.scrollerClass,attrs:{"data-key":"id","data-sources":e.allMsgs,"data-component":e.msgItem,"item-class-add":e.itemClassAdd,"extra-props":{dialogData:e.dialogData,operateVisible:e.operateVisible,operateItem:e.operateItem,isMyDialog:e.isMyDialog,msgId:e.msgId},"estimate-size":e.dialogData.type=="group"?105:77,keeps:50,disabled:e.scrollDisabled},on:{scroll:e.onScroll,range:e.onRange,totop:e.onPrevPage,"on-mention":e.onMention,"on-longpress":e.onLongpress,"on-view-reply":e.onViewReply,"on-view-text":e.onViewText,"on-view-file":e.onViewFile,"on-down-file":e.onDownFile,"on-reply-list":e.onReplyList,"on-error":e.onError,"on-emoji":e.onEmoji,"on-show-emoji-user":e.onShowEmojiUser},scopedSlots:e._u([{key:"header",fn:function(){return[e.allMsgs.length===0&&e.loadIng||e.prevId>0?n("div",{staticClass:"dialog-item loading"},[e.scrollOffset<100?n("div",{staticClass:"dialog-wrapper-loading"}):e._e()]):e.allMsgs.length===0?n("div",{staticClass:"dialog-item nothing"},[e._v(e._s(e.$L("\u6682\u65E0\u6D88\u606F")))]):e._e()]},proxy:!0}],null,!1,3828201241)}),n("div",{ref:"footer",staticClass:"dialog-footer",class:e.footerClass,style:e.footerStyle,on:{click:e.onActive}},[n("div",{staticClass:"dialog-newmsg",on:{click:e.onToBottom}},[e._v(e._s(e.$L(`\u6709${e.msgNew}\u6761\u65B0\u6D88\u606F`)))]),n("div",{staticClass:"dialog-goto",on:{click:e.onToBottom}},[n("i",{staticClass:"taskfont"},[e._v("\uE72B")])]),n("DialogUpload",{ref:"chatUpload",staticClass:"chat-upload",attrs:{"dialog-id":e.dialogId},on:{"on-progress":function(r){return e.chatFile("progress",r)},"on-success":function(r){return e.chatFile("success",r)},"on-error":function(r){return e.chatFile("error",r)}}}),e.todoShow?n("div",{staticClass:"chat-bottom-menu"},[n("div",{staticClass:"bottom-menu-label"},[e._v(e._s(e.$L("\u5F85\u529E"))+":")]),n("ul",{staticClass:"scrollbar-hidden"},e._l(e.todoList,function(r){return n("li",{on:{click:function(a){return a.stopPropagation(),e.onViewTodo(r)}}},[n("div",{staticClass:"bottom-menu-desc no-dark-content"},[e._v(e._s(e.$A.getMsgSimpleDesc(r.msg_data)))])])}),0)]):e.quickShow?n("div",{staticClass:"chat-bottom-menu"},[n("ul",{staticClass:"scrollbar-hidden"},e._l(e.quickMsgs,function(r){return n("li",{on:{click:function(a){return a.stopPropagation(),e.sendQuick(r)}}},[n("div",{staticClass:"bottom-menu-desc no-dark-content",style:r.style||null},[e._v(e._s(r.label))])])}),0)]):e._e(),e.isMute?n("div",{staticClass:"chat-mute"},[e._v(" "+e._s(e.$L("\u7981\u8A00\u53D1\u8A00"))+" ")]):n("ChatInput",{ref:"input",attrs:{"dialog-id":e.dialogId,"emoji-bottom":e.windowPortrait,maxlength:2e5,placeholder:e.$L("\u8F93\u5165\u6D88\u606F...")},on:{"on-focus":e.onEventFocus,"on-blur":e.onEventBlur,"on-more":e.onEventMore,"on-file":e.sendFileMsg,"on-send":e.sendMsg,"on-record":e.sendRecord,"on-record-state":e.onRecordState,"on-emoji-visible-change":e.onEventEmojiVisibleChange,"on-height-change":e.onHeightChange},model:{value:e.msgText,callback:function(r){e.msgText=r},expression:"msgText"}})],1),n("div",{directives:[{name:"show",rawName:"v-show",value:e.operateVisible,expression:"operateVisible"}],staticClass:"operate-position",style:e.operateStyles},[n("Dropdown",{attrs:{trigger:"custom",placement:"top",visible:e.operateVisible,transferClassName:"dialog-wrapper-operate",transfer:""},on:{"on-clickoutside":function(r){e.operateVisible=!1}}},[n("div",{style:{userSelect:e.operateVisible?"none":"auto",height:e.operateStyles.height}}),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{attrs:{name:"action"}},[n("ul",{staticClass:"operate-action"},[e.msgId===0?n("li",{on:{click:function(r){return e.onOperate("reply")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE6EB")]),n("span",[e._v(e._s(e.$L("\u56DE\u590D")))])]):e._e(),e.operateItem.userid==e.userId&&e.operateItem.type==="text"?n("li",{on:{click:function(r){return e.onOperate("update")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE779")]),n("span",[e._v(e._s(e.$L("\u7F16\u8F91")))])]):e._e(),e._l(e.operateCopys,function(r){return n("li",{on:{click:function(a){return e.onOperate("copy",r)}}},[n("i",{staticClass:"taskfont",domProps:{innerHTML:e._s(r.icon)}}),n("span",[e._v(e._s(e.$L(r.label)))])])}),n("li",{on:{click:function(r){return e.onOperate("forward")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE638")]),n("span",[e._v(e._s(e.$L("\u8F6C\u53D1")))])]),e.operateItem.userid==e.userId?n("li",{on:{click:function(r){return e.onOperate("withdraw")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE637")]),n("span",[e._v(e._s(e.$L("\u64A4\u56DE")))])]):e._e(),e.operateItem.type==="file"?[n("li",{on:{click:function(r){return e.onOperate("view")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE77B")]),n("span",[e._v(e._s(e.$L("\u67E5\u770B")))])]),n("li",{on:{click:function(r){return e.onOperate("down")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE7A8")]),n("span",[e._v(e._s(e.$L("\u4E0B\u8F7D")))])])]:e._e(),n("li",{on:{click:function(r){return e.onOperate("tag")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE61E")]),n("span",[e._v(e._s(e.$L(e.operateItem.tag?"\u53D6\u6D88\u6807\u6CE8":"\u6807\u6CE8")))])]),e.operateItem.type==="text"?n("li",{on:{click:function(r){return e.onOperate("newTask")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE7B8")]),n("span",[e._v(e._s(e.$L("\u65B0\u4EFB\u52A1")))])]):e._e(),n("li",{on:{click:function(r){return e.onOperate("todo")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE7B7")]),n("span",[e._v(e._s(e.$L(e.operateItem.todo?"\u53D6\u6D88\u5F85\u529E":"\u8BBE\u5F85\u529E")))])]),e.msgType!==""?n("li",{on:{click:function(r){return e.onOperate("pos")}}},[n("i",{staticClass:"taskfont"},[e._v("\uEE15")]),n("span",[e._v(e._s(e.$L("\u5B8C\u6574\u5BF9\u8BDD")))])]):e._e()],2)]),n("DropdownItem",{staticClass:"dropdown-emoji",attrs:{name:"emoji"}},[n("ul",{staticClass:"operate-emoji scrollbar-hidden"},[e._l(e.operateEmojis,function(r,a){return n("li",{key:a,staticClass:"no-dark-content",domProps:{innerHTML:e._s(r)},on:{click:function(l){return e.onOperate("emoji",r)}}})}),n("li"),n("li",{staticClass:"more-emoji",on:{click:function(r){return e.onOperate("emoji","more")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE790")])])],2)])],1)],1)],1),e.dialogDrag?n("div",{staticClass:"drag-over",on:{click:function(r){e.dialogDrag=!1}}},[n("div",{staticClass:"drag-text"},[e._v(e._s(e.$L("\u62D6\u52A8\u5230\u8FD9\u91CC\u53D1\u9001")))])]):e._e(),n("Modal",{attrs:{title:e.$L(e.pasteTitle),"cancel-text":e.$L("\u53D6\u6D88"),"ok-text":e.$L("\u53D1\u9001"),"enter-ok":!0,closable:!1,"mask-closable":!1},on:{"on-ok":e.pasteSend},model:{value:e.pasteShow,callback:function(r){e.pasteShow=r},expression:"pasteShow"}},[n("ul",{staticClass:"dialog-wrapper-paste",class:e.pasteWrapperClass},e._l(e.pasteItem,function(r){return n("li",[r.type=="image"?n("img",{attrs:{src:r.result}}):n("div",[e._v(e._s(e.$L("\u6587\u4EF6"))+": "+e._s(r.name)+" ("+e._s(e.$A.bytesToSize(r.size))+")")])])}),0)]),n("Modal",{attrs:{title:e.$L("\u521B\u5EFA\u7FA4\u7EC4"),"mask-closable":!1},model:{value:e.createGroupShow,callback:function(r){e.createGroupShow=r},expression:"createGroupShow"}},[n("Form",{attrs:{model:e.createGroupData,"label-width":"auto"},nativeOn:{submit:function(r){r.preventDefault()}}},[n("FormItem",{attrs:{prop:"avatar",label:e.$L("\u7FA4\u5934\u50CF")}},[n("ImgUpload",{attrs:{num:1,width:512,height:512,whcut:1},model:{value:e.createGroupData.avatar,callback:function(r){e.$set(e.createGroupData,"avatar",r)},expression:"createGroupData.avatar"}})],1),n("FormItem",{attrs:{prop:"userids",label:e.$L("\u7FA4\u6210\u5458")}},[n("UserSelect",{attrs:{uncancelable:e.createGroupData.uncancelable,"multiple-max":100,"show-bot":"",title:e.$L("\u9009\u62E9\u9879\u76EE\u6210\u5458")},model:{value:e.createGroupData.userids,callback:function(r){e.$set(e.createGroupData,"userids",r)},expression:"createGroupData.userids"}})],1),n("FormItem",{attrs:{prop:"chat_name",label:e.$L("\u7FA4\u540D\u79F0")}},[n("Input",{attrs:{placeholder:e.$L("\u8F93\u5165\u7FA4\u540D\u79F0\uFF08\u9009\u586B\uFF09")},model:{value:e.createGroupData.chat_name,callback:function(r){e.$set(e.createGroupData,"chat_name",r)},expression:"createGroupData.chat_name"}})],1)],1),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(r){e.createGroupShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),n("Button",{attrs:{type:"primary",loading:e.createGroupLoad>0},on:{click:e.onCreateGroup}},[e._v(e._s(e.$L("\u521B\u5EFA")))])],1)],1),n("Modal",{attrs:{title:e.$L("\u4FEE\u6539\u8D44\u6599"),"mask-closable":!1},model:{value:e.modifyShow,callback:function(r){e.modifyShow=r},expression:"modifyShow"}},[n("Form",{attrs:{model:e.modifyData,"label-width":"auto"},nativeOn:{submit:function(r){r.preventDefault()}}},[e.modifyData.system_name?n("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[e._v(e._s(e.$L(`\u6B63\u5728\u4FEE\u6539\u7CFB\u7EDF\u673A\u5668\u4EBA\uFF1A${e.modifyData.system_name}`)))]):e._e(),n("FormItem",{attrs:{prop:"avatar",label:e.$L("\u5934\u50CF")}},[n("ImgUpload",{attrs:{num:1,width:512,height:512,whcut:1},model:{value:e.modifyData.avatar,callback:function(r){e.$set(e.modifyData,"avatar",r)},expression:"modifyData.avatar"}})],1),typeof e.modifyData.name!="undefined"?n("FormItem",{attrs:{prop:"name",label:e.$L("\u540D\u79F0")}},[n("Input",{attrs:{maxlength:20},model:{value:e.modifyData.name,callback:function(r){e.$set(e.modifyData,"name",r)},expression:"modifyData.name"}})],1):e._e(),e.dialogData.bot==e.userId?[typeof e.modifyData.clear_day!="undefined"?n("FormItem",{attrs:{prop:"clear_day",label:e.$L("\u6D88\u606F\u4FDD\u7559")}},[n("Input",{attrs:{maxlength:3,type:"number"},model:{value:e.modifyData.clear_day,callback:function(r){e.$set(e.modifyData,"clear_day",r)},expression:"modifyData.clear_day"}},[n("div",{attrs:{slot:"append"},slot:"append"},[e._v(e._s(e.$L("\u5929")))])])],1):e._e(),typeof e.modifyData.webhook_url!="undefined"?n("FormItem",{attrs:{prop:"webhook_url",label:"Webhook"}},[n("Input",{attrs:{maxlength:255},model:{value:e.modifyData.webhook_url,callback:function(r){e.$set(e.modifyData,"webhook_url",r)},expression:"modifyData.webhook_url"}})],1):e._e()]:e._e()],2),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(r){e.modifyShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),n("Button",{attrs:{type:"primary",loading:e.modifyLoad>0},on:{click:e.onModify}},[e._v(e._s(e.$L("\u4FDD\u5B58")))])],1)],1),n("UserSelect",{ref:"forwardSelect",attrs:{"multiple-max":50,title:e.$L("\u8F6C\u53D1"),"before-submit":e.onForward,"show-select-all":!1,"show-dialog":"",module:""},model:{value:e.forwardData,callback:function(r){e.forwardData=r},expression:"forwardData"}}),n("Modal",{attrs:{title:e.$L("\u8BBE\u7F6E\u5F85\u529E"),"mask-closable":!1},model:{value:e.todoSettingShow,callback:function(r){e.todoSettingShow=r},expression:"todoSettingShow"}},[n("Form",{ref:"todoSettingForm",attrs:{model:e.todoSettingData,"label-width":"auto"},nativeOn:{submit:function(r){r.preventDefault()}}},[n("FormItem",{attrs:{prop:"type",label:e.$L("\u5F53\u524D\u4F1A\u8BDD")}},[n("RadioGroup",{model:{value:e.todoSettingData.type,callback:function(r){e.$set(e.todoSettingData,"type",r)},expression:"todoSettingData.type"}},[n("Radio",{attrs:{label:"all"}},[e._v(e._s(e.$L("\u6240\u6709\u6210\u5458")))]),n("Radio",{attrs:{label:"user"}},[e._v(e._s(e.$L("\u6307\u5B9A\u6210\u5458")))]),n("br"),e.todoSettingData.my_id?n("Radio",{attrs:{label:"my"}},[n("div",{staticClass:"dialog-wrapper-todo"},[n("div",[n("UserAvatar",{attrs:{userid:e.todoSettingData.my_id,"show-icon":!1,"show-name":!0}}),n("Tag",[e._v(e._s(e.$L("\u81EA\u5DF1")))])],1)])]):e._e(),e.todoSettingData.you_id?n("Radio",{attrs:{label:"you"}},[n("div",{staticClass:"dialog-wrapper-todo"},[n("div",[n("UserAvatar",{attrs:{userid:e.todoSettingData.you_id,"show-icon":!1,"show-name":!0}})],1)])]):e._e()],1)],1),e.todoSettingData.type==="user"?n("FormItem",{attrs:{prop:"userids",label:e.$L("\u6307\u5B9A\u6210\u5458")}},[n("UserSelect",{attrs:{"dialog-id":e.dialogId,title:e.$L("\u9009\u62E9\u6307\u5B9A\u6210\u5458")},model:{value:e.todoSettingData.userids,callback:function(r){e.$set(e.todoSettingData,"userids",r)},expression:"todoSettingData.userids"}})],1):e._e()],1),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(r){e.todoSettingShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),n("Button",{attrs:{type:"primary",loading:e.todoSettingLoad>0},on:{click:function(r){return e.onTodo("submit")}}},[e._v(e._s(e.$L("\u786E\u5B9A")))])],1)],1),n("DrawerOverlay",{attrs:{placement:"right",size:400},model:{value:e.groupInfoShow,callback:function(r){e.groupInfoShow=r},expression:"groupInfoShow"}},[e.groupInfoShow?n("DialogGroupInfo",{attrs:{dialogId:e.dialogId},on:{"on-close":function(r){e.groupInfoShow=!1}}}):e._e()],1),n("Modal",{attrs:{title:e.$L("\u8F6C\u8BA9\u7FA4\u4E3B\u8EAB\u4EFD"),"mask-closable":!1},model:{value:e.groupTransferShow,callback:function(r){e.groupTransferShow=r},expression:"groupTransferShow"}},[n("Form",{attrs:{model:e.groupTransferData,"label-width":"auto"},nativeOn:{submit:function(r){r.preventDefault()}}},[n("FormItem",{attrs:{prop:"userid",label:e.$L("\u65B0\u7684\u7FA4\u4E3B")}},[n("UserSelect",{attrs:{disabledChoice:e.groupTransferData.disabledChoice,"multiple-max":1,title:e.$L("\u9009\u62E9\u65B0\u7684\u7FA4\u4E3B")},model:{value:e.groupTransferData.userid,callback:function(r){e.$set(e.groupTransferData,"userid",r)},expression:"groupTransferData.userid"}})],1)],1),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(r){e.groupTransferShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),n("Button",{attrs:{type:"primary",loading:e.groupTransferLoad>0},on:{click:function(r){return e.onDialogMenu("transferConfirm")}}},[e._v(e._s(e.$L("\u786E\u5B9A\u8F6C\u8BA9")))])],1)],1),n("DrawerOverlay",{attrs:{placement:"right","class-name":"dialog-wrapper-drawer-list",size:500},model:{value:e.replyListShow,callback:function(r){e.replyListShow=r},expression:"replyListShow"}},[e.replyListShow?n("DialogWrapper",{staticClass:"drawer-list",attrs:{dialogId:e.dialogId,msgId:e.replyListId}},[n("div",{staticClass:"drawer-title",attrs:{slot:"head"},slot:"head"},[e._v(e._s(e.$L("\u56DE\u590D\u6D88\u606F")))])]):e._e()],1),n("DrawerOverlay",{attrs:{placement:"right",size:400},model:{value:e.respondShow,callback:function(r){e.respondShow=r},expression:"respondShow"}},[e.respondShow?n("DialogRespond",{attrs:{"respond-data":e.respondData},on:{"on-close":function(r){e.respondShow=!1}}}):e._e()],1),n("DrawerOverlay",{attrs:{placement:"right","class-name":"dialog-wrapper-drawer-list",size:500},model:{value:e.todoViewShow,callback:function(r){e.todoViewShow=r},expression:"todoViewShow"}},[n("div",{staticClass:"dialog-wrapper drawer-list"},[n("div",{staticClass:"dialog-nav"},[n("div",{staticClass:"drawer-title"},[e._v(e._s(e.$L("\u5F85\u529E\u6D88\u606F")))])]),n("Scrollbar",{attrs:{"class-name":"dialog-scroller"}},[e.todoViewMsg?n("DialogItem",{attrs:{source:e.todoViewMsg,simpleView:""},on:{"on-view-text":e.onViewText,"on-view-file":e.onViewFile,"on-down-file":e.onDownFile,"on-emoji":e.onEmoji}}):e._e(),n("Button",{staticClass:"original-button",attrs:{icon:"md-exit",type:"text",loading:e.todoViewPosLoad},on:{click:e.onPosTodo}},[e._v(e._s(e.$L("\u56DE\u5230\u539F\u6587")))])],1),n("div",{staticClass:"todo-button"},[n("Button",{attrs:{type:"primary",size:"large",icon:"md-checkbox-outline",loading:e.todoViewLoad,long:""},on:{click:e.onDoneTodo}},[e._v(e._s(e.$L("\u5B8C\u6210")))])],1)],1)]),n("DrawerOverlay",{attrs:{placement:"right",size:600},model:{value:e.approveDetailsShow,callback:function(r){e.approveDetailsShow=r},expression:"approveDetailsShow"}},[e.approveDetailsShow?n("ApproveDetails",{staticStyle:{height:"100%","border-radius":"10px"},attrs:{data:e.approveDetails}}):e._e()],1)],1):e._e()},OJ=[];const AJ={name:"DialogWrapper",components:{UserSelect:Ol,ImgUpload:Ku,DialogRespond:QZ,DialogItem:fl,VirtualList:CJ,ChatInput:yJ,DialogGroupInfo:zZ,DrawerOverlay:Wu,DialogUpload:BZ,ApproveDetails:Qu},props:{dialogId:{type:Number,default:0},msgId:{type:Number,default:0},autoFocus:{type:Boolean,default:!1},isMessenger:{type:Boolean,default:!1},beforeBack:Function},data(){return{msgItem:fl,msgText:"",msgNew:0,msgType:"",loadIng:0,allMsgs:[],tempMsgs:[],tempId:$A.randNum(1e9,9999999999),msgLoadIng:0,msgActiveIndex:-1,pasteShow:!1,pasteFile:[],pasteItem:[],searchShow:!1,searchKey:"",searchLoad:0,searchLocation:1,searchResult:[],createGroupShow:!1,createGroupData:{},createGroupLoad:0,modifyShow:!1,modifyData:{},modifyLoad:0,forwardData:[],openId:0,dialogDrag:!1,groupInfoShow:!1,groupTransferShow:!1,groupTransferLoad:0,groupTransferData:{userid:[],disabledChoice:[]},navStyle:{},operateVisible:!1,operateCopys:[],operateStyles:{},operateItem:{},recordState:"",wrapperStart:null,scrollOffset:0,scrollTail:0,preventMoreLoad:!1,preventToBottom:!1,replyListShow:!1,replyListId:0,respondShow:!1,respondData:{},todoSettingShow:!1,todoSettingLoad:0,todoSettingData:{type:"all",userids:[]},todoViewLoad:!1,todoViewPosLoad:!1,todoViewShow:!1,todoViewData:{},todoViewMid:0,todoViewId:0,scrollDisabled:!1,scrollDirection:null,scrollAction:0,scrollTmp:0,positionLoad:0,approveDetails:{id:0},approveDetailsShow:!1}},mounted(){this.msgSubscribe=_i.Store.subscribe("dialogMsgChange",this.onMsgChange)},beforeDestroy(){this.$store.dispatch("forgetInDialog",this._uid),this.$store.dispatch("closeDialog",this.dialogId),this.msgSubscribe&&(this.msgSubscribe.unsubscribe(),this.msgSubscribe=null)},computed:{...Wn(["userIsAdmin","taskId","dialogSearchMsgId","dialogMsgs","dialogTodos","dialogMsgTransfer","cacheDialogs","wsOpenNum","touchBackInProgress","dialogIns","cacheUserBasic","fileLinks","cacheEmojis","keyboardType","keyboardHeight","safeAreaBottom"]),...Nl(["isLoad"]),isReady(){return this.dialogId>0&&this.dialogData.id>0},dialogData(){return this.cacheDialogs.find(({id:e})=>e==this.dialogId)||{}},dialogList(){return this.cacheDialogs.filter(e=>!(e.name===void 0||e.dialog_delete===1)).sort((e,t)=>e.top_at||t.top_at?$A.Date(t.top_at)-$A.Date(e.top_at):e.todo_num>0||t.todo_num>0?t.todo_num-e.todo_num:$A.Date(t.last_at)-$A.Date(e.last_at))},dialogMsgList(){return this.isReady?this.dialogMsgs.filter(e=>e.dialog_id==this.dialogId):[]},tempMsgList(){return this.isReady?this.tempMsgs.filter(e=>e.dialog_id==this.dialogId):[]},allMsgList(){const e=[];if(e.push(...this.dialogMsgList.filter(t=>this.msgFilter(t))),this.msgId>0){const t=this.dialogMsgs.find(n=>n.id==this.msgId);t&&e.unshift(t)}if(this.tempMsgList.length>0){const t=e.map(({id:r})=>r),n=this.tempMsgList.filter(r=>!t.includes(r.id)&&this.msgFilter(r));n.length>0&&e.push(...n)}return e.sort((t,n)=>t.id-n.id)},loadMsg(){return this.isLoad(`msg::${this.dialogId}-${this.msgId}-${this.msgType}`)},prevId(){return this.allMsgs.length>0?$A.runNum(this.allMsgs[0].prev_id):0},peopleNum(){return this.dialogData.type==="group"?$A.runNum(this.dialogData.people):0},pasteTitle(){const{pasteItem:e}=this;let t=e.find(({type:r})=>r=="image"),n=e.find(({type:r})=>r!="image");return t&&n?"\u53D1\u9001\u6587\u4EF6/\u56FE\u7247":t?"\u53D1\u9001\u56FE\u7247":"\u53D1\u9001\u6587\u4EF6"},msgTags(){const e=[{type:"",label:"\u6D88\u606F"}];return this.dialogData.has_tag&&e.push({type:"tag",label:"\u6807\u6CE8"}),this.dialogData.has_image&&e.push({type:"image",label:"\u56FE\u7247"}),this.dialogData.has_file&&e.push({type:"file",label:"\u6587\u4EF6"}),this.dialogData.has_link&&e.push({type:"link",label:"\u94FE\u63A5"}),this.dialogData.group_type==="project"&&e.push({type:"project",label:"\u6253\u5F00\u9879\u76EE"}),this.dialogData.group_type==="task"&&e.push({type:"task",label:"\u6253\u5F00\u4EFB\u52A1"}),e},quickMsgs(){return this.dialogData.quick_msgs||[]},quickShow(){return this.quickMsgs.length>0&&this.windowScrollY===0&&this.quoteId===0},todoList(){return this.dialogData.todo_num?this.dialogTodos.filter(e=>!e.done_at&&e.dialog_id==this.dialogId).sort((e,t)=>t.id-e.id):[]},todoShow(){return this.todoList.length>0&&this.windowScrollY===0&&this.quoteId===0},wrapperClass(){return["ready","ing"].includes(this.recordState)?["record-ready"]:null},tagShow(){return this.msgTags.length>1&&this.windowScrollY===0&&!this.searchShow},scrollerClass(){return!this.$slots.head&&this.tagShow?"default-header":null},pasteWrapperClass(){return this.pasteItem.find(({type:e})=>e!=="image")?["multiple"]:[]},footerClass(){return this.msgNew>0&&this.allMsgs.length>0?"newmsg":this.scrollTail>500?"goto":null},footerPaddingBottom({keyboardType:e,keyboardHeight:t,safeAreaBottom:n,windowScrollY:r,isMessenger:a}){return r===0&&a&&e==="show"&&t>0&&t<120?t+n:0},footerStyle({footerPaddingBottom:e}){const t={};return e&&(t.paddingBottom=`${e}px`),t},msgUnreadOnly(){let e=0;return this.cacheDialogs.some(t=>{e+=$A.getDialogNum(t)}),e<=0?"":(e>999&&(e="999+"),String(e))},isMyDialog(){const{dialogData:e,userId:t}=this;return e.dialog_user&&e.dialog_user.userid==t},isManageBot(){const{dialogData:e,userId:t,userIsAdmin:n}=this;return e.bot?e.bot==t?!0:e.dialog_user&&e.dialog_user.userid==e.bot&&n:!1},isMute(){if(this.dialogData.group_type==="all"){if(this.dialogData.all_group_mute==="all")return!0;if(this.dialogData.all_group_mute==="user"&&!this.userIsAdmin)return!0}return!1},quoteId(){return this.msgId>0?this.msgId:this.dialogData.extra_quote_id||0},quoteUpdate(){return this.dialogData.extra_quote_type==="update"},quoteData(){return this.quoteId?this.allMsgs.find(({id:e})=>e===this.quoteId):null},todoViewMsg(){if(this.todoViewMid){const e=this.allMsgs.find(t=>t.id==this.todoViewMid);if(e)return e;if(this.todoViewData.id===this.todoViewMid)return this.todoViewData}return null},positionMsg(){const{unread:e,position_msgs:t}=this.dialogData;if(!t||t.length===0||e===0||this.allMsgs.length===0)return null;const n=t.sort((r,a)=>a.msg_id-r.msg_id)[0];return this.allMsgs.findIndex(({id:r})=>r==n.msg_id)===-1?n.label==="{UNREAD}"?Object.assign(n,{label:this.$L(`\u672A\u8BFB\u6D88\u606F${e}\u6761`)}):n:null},operateEmojis(){const e=this.cacheEmojis.slice(0,3);return Object.values(["\u{1F44C}","\u{1F44D}","\u{1F602}","\u{1F389}","\u2764\uFE0F","\u{1F973}\uFE0F","\u{1F970}","\u{1F625}","\u{1F62D}"]).some(t=>{e.includes(t)||e.push(t)}),e}},watch:{dialogId:{handler(e,t){e&&(this.msgNew=0,this.msgType="",this.searchShow=!1,this.allMsgList.length>0&&(this.allMsgs=this.allMsgList,requestAnimationFrame(this.onToBottom)),this.getMsgs({dialog_id:e,msg_id:this.msgId,msg_type:this.msgType}).then(n=>{this.openId=e,setTimeout(this.onSearchMsgId,100)}).catch(n=>{}),this.$store.dispatch("saveInDialog",{uid:this._uid,dialog_id:e}),this.autoFocus&&this.inputFocus()),this.$store.dispatch("closeDialog",t)},immediate:!0},loadMsg:{handler(e){e?this.loadIng++:setTimeout(t=>{this.loadIng--},300)},immediate:!0},msgType(){this.getMsgs({dialog_id:this.dialogId,msg_id:this.msgId,msg_type:this.msgType,clear_before:!0}).catch(e=>{})},searchKey(e){!e||(this.searchLoad++,setTimeout(t=>{this.searchKey===e&&(this.searchLoad++,this.searchResult=[],this.searchLocation=0,this.$store.dispatch("call",{url:"dialog/msg/search",data:{dialog_id:this.dialogId,key:e}}).then(({data:n})=>{this.searchKey===e&&(this.searchResult=n.data,this.searchLocation=this.searchResult.length)}).finally(n=>{this.searchLoad--})),this.searchLoad--},600))},searchLocation(e){if(e===0)return;const t=this.searchResult[e-1];t&&this.onPositionId(t)},dialogSearchMsgId(){this.onSearchMsgId()},dialogMsgTransfer:{handler({time:e,msgFile:t,msgRecord:n,msgText:r,dialogId:a}){e>$A.Time()&&a==this.dialogId&&(this.$store.state.dialogMsgTransfer.time=0,this.$nextTick(()=>{$A.isArray(t)&&t.length>0?this.sendFileMsg(t):$A.isJson(n)&&n.duration>0?this.sendRecord(n):r&&this.sendMsg(r)}))},immediate:!0},wsOpenNum(e){e<=1||this.getMsgs({dialog_id:this.dialogId,msg_id:this.msgId,msg_type:this.msgType}).catch(t=>{})},allMsgList(e,t){const{tail:n}=this.scrollInfo();if($A.isIos()&&e.length!==t.length?(this.$refs.scroller.$el.style.visibility="hidden",this.allMsgs=e,this.$nextTick(r=>{this.$refs.scroller.$el.style.visibility="visible"})):this.allMsgs=e,!this.windowActive||n>45&&t.length>0){const r=t[t.length-1]?t[t.length-1].id:0,a=e.filter(l=>l.id&&l.id>r);this.msgNew+=a.length}else this.preventToBottom||this.$nextTick(this.onToBottom)},windowScrollY(e){if($A.isIos()){const{tail:t}=this.scrollInfo();this.navStyle={marginTop:e+"px"},t<=45&&requestAnimationFrame(this.onToBottom),this.$refs.input.isFocus&&$A.scrollToView(this.$refs.footer)}},windowActive(e){if(e&&this.autoFocus){const t=$A.last(this.dialogIns);t&&t.uid===this._uid&&this.inputFocus()}},dialogDrag(e){e&&(this.operateVisible=!1)},msgActiveIndex(e){e>-1&&setTimeout(t=>this.msgActiveIndex=-1,800)},footerPaddingBottom(e){if(e){const{tail:t}=this.scrollInfo();t<=45&&requestAnimationFrame(this.onToBottom)}}},methods:{sendMsg(e,t){let n,r="text",a="no",l=!1;if(typeof e=="string"&&e?n=e:(n=this.msgText,l=!0),t==="md"?(n=this.$refs.input.getText(),r="md"):t==="silence"&&(a="yes"),n==""){this.inputFocus();return}if(r==="text"&&(n=n.replace(/<\/span> <\/p>$/,"

")),this.quoteUpdate){r==="text"&&(n=n.replace(new RegExp(`src=(["'])${$A.apiUrl("../")}`,"g"),"src=$1{{RemoteURL}}"));const u=this.quoteId;this.$store.dispatch("setLoad",{key:`msg-${u}`,delay:600}),this.cancelQuote(),this.onActive(),this.$store.dispatch("call",{url:"dialog/msg/sendtext",data:{dialog_id:this.dialogId,update_id:u,text:n,text_type:r,silence:a},method:"post",complete:c=>this.$store.dispatch("cancelLoad",`msg-${u}`)}).then(({data:c})=>{this.sendSuccess(c),this.onPositionId(u)}).catch(({msg:c})=>{$A.modalError(c)})}else{const u=$A.stringLength(n.replace(/]*?>/g,""))>5e3,c={id:this.getTempId(),dialog_id:this.dialogData.id,reply_id:this.quoteId,reply_data:this.quoteData,type:u?"loading":"text",userid:this.userId,msg:{text:u?"":n,type:r}};this.tempMsgs.push(c),this.msgType="",this.cancelQuote(),this.onActive(),this.$nextTick(this.onToBottom),this.$store.dispatch("call",{url:"dialog/msg/sendtext",data:{dialog_id:c.dialog_id,reply_id:c.reply_id,text:n,text_type:r,silence:a},method:"post"}).then(({data:d})=>{this.tempMsgs=this.tempMsgs.filter(({id:f})=>f!=c.id),this.sendSuccess(d)}).catch(d=>{this.$set(c,"error",!0),this.$set(c,"errorData",{type:"text",content:d.msg,msg:n})})}l&&requestAnimationFrame(u=>this.msgText="")},sendRecord(e){const t={id:this.getTempId(),dialog_id:this.dialogData.id,reply_id:this.quoteId,reply_data:this.quoteData,type:"loading",userid:this.userId,msg:e};this.tempMsgs.push(t),this.msgType="",this.cancelQuote(),this.onActive(),this.$nextTick(this.onToBottom),this.$store.dispatch("call",{url:"dialog/msg/sendrecord",data:Object.assign(e,{dialog_id:this.dialogId,reply_id:this.quoteId}),method:"post"}).then(({data:n})=>{this.tempMsgs=this.tempMsgs.filter(({id:r})=>r!=t.id),this.sendSuccess(n)}).catch(n=>{this.$set(t,"error",!0),this.$set(t,"errorData",{type:"record",content:n.msg,msg:e})})},sendFileMsg(e){const t=$A.isArray(e)?e:[e];t.length>0&&(this.pasteFile=[],this.pasteItem=[],t.some(n=>{const r={type:$A.getMiddle(n.type,null,"/"),name:n.name,size:n.size,result:null};if(r.type==="image"){const a=new FileReader;a.readAsDataURL(n),a.onload=({target:l})=>{r.result=l.result,this.pasteFile.push(n),this.pasteItem.push(r),this.pasteShow=!0}}else this.pasteFile.push(n),this.pasteItem.push(r),this.pasteShow=!0}))},sendQuick(e){this.sendMsg(`

${e.label}

`)},onMsgChange(e){const t=this.allMsgs.find(({type:n,id:r})=>n=="text"&&r==e.id);if(t){const{tail:n}=this.scrollInfo();e.type==="append"?t.msg.text+=e.text:e.type==="replace"&&(t.msg.text=e.text),n<=45&&this.onToBottom()}},getTempId(){return this.tempId++},getMsgs(e){return new Promise((t,n)=>{setTimeout(r=>this.msgLoadIng++,2e3),this.$store.dispatch("getDialogMsgs",e).then(t).catch(n).finally(r=>{this.msgLoadIng--})})},msgFilter(e){if(this.msgType){if(this.msgType==="tag"){if(!e.tag)return!1}else if(this.msgType==="link"){if(!e.link)return!1}else if(this.msgType!==e.mtype)return!1}return!(this.msgId&&e.reply_id!=this.msgId)},onSearchMsgId(){this.dialogSearchMsgId>0&&this.openId===this.dialogId&&(this.onPositionId(this.dialogSearchMsgId),this.$store.state.dialogSearchMsgId=0)},onPositionId(e,t=0,n=0){return new Promise((r,a)=>{if(e===0){$A.modalError("\u67E5\u770B\u5931\u8D25\uFF1A\u53C2\u6570\u9519\u8BEF"),a();return}if(this.loadMsg||this.msgType!==""){if(this.msgType="",n===0)this.$store.dispatch("showSpinner",600);else if(n>20){this.$store.dispatch("hiddenSpinner"),$A.modalError("\u67E5\u770B\u5931\u8D25\uFF1A\u8BF7\u6C42\u8D85\u65F6"),a();return}n++,setTimeout(c=>{this.onPositionId(e,t,n).then(r).catch(a)},Math.min(800,200*n));return}n>0&&this.$store.dispatch("hiddenSpinner");const l=this.allMsgs.findIndex(c=>c.id===e),u=this.prevId>0?0:-1;l>u?setTimeout(c=>{this.onToIndex(l),r()},200):(t>0&&this.$store.dispatch("setLoad",{key:`msg-${t}`,delay:600}),this.preventToBottom=!0,this.getMsgs({dialog_id:this.dialogId,msg_id:this.msgId,msg_type:this.msgType,position_id:e,spinner:2e3}).finally(c=>{const d=this.allMsgs.findIndex(f=>f.id===e);d>-1&&(this.onToIndex(d),r()),t>0&&this.$store.dispatch("cancelLoad",`msg-${t}`),this.preventToBottom=!1}))})},onViewTodo(e){if(this.operateVisible)return;this.todoViewId=e.id,this.todoViewMid=e.msg_id,this.todoViewShow=!0,this.allMsgs.findIndex(n=>n.id===this.todoViewMid)===-1&&this.$store.dispatch("call",{url:"dialog/msg/one",data:{msg_id:this.todoViewMid}}).then(({data:n})=>{this.todoViewData=n})},onCloseTodo(){this.todoViewLoad=!1,this.todoViewShow=!1,this.todoViewData={},this.todoViewMid=0,this.todoViewId=0},onPosTodo(){!this.todoViewMid||(this.todoViewPosLoad=!0,this.onPositionId(this.todoViewMid).then(this.onCloseTodo).finally(e=>{this.todoViewPosLoad=!1}))},onDoneTodo(){!this.todoViewId||this.todoViewLoad||(this.todoViewLoad=!0,this.$store.dispatch("call",{url:"dialog/msg/done",data:{id:this.todoViewId}}).then(({data:e})=>{this.$store.dispatch("saveDialogTodo",{id:this.todoViewId,done_at:$A.formatDate("Y-m-d H:i:s")}),this.$store.dispatch("saveDialog",{id:this.dialogId,todo_num:this.todoList.length}),e.add&&this.sendSuccess(e.add),this.todoList.length===0&&this.$store.dispatch("getDialogTodo",this.dialogId),this.onCloseTodo()}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.todoViewLoad=!1}))},itemClassAdd(e){return e===this.msgActiveIndex?"common-shake":""},inputFocus(){this.$nextTick(e=>{this.$refs.input&&this.$refs.input.focus()})},onRecordState(e){this.recordState=e},chatPasteDrag(e,t){this.dialogDrag=!1;const n=t==="drag"?e.dataTransfer.files:e.clipboardData.files,r=Array.prototype.slice.call(n);r.length>0&&(e.preventDefault(),this.sendFileMsg(r))},chatDragOver(e,t){let n=this.__dialogDrag=$A.randomString(8);if(!e)setTimeout(()=>{n===this.__dialogDrag&&(this.dialogDrag=e)},150);else{if(t.dataTransfer.effectAllowed==="move"||Array.prototype.slice.call(t.dataTransfer.files).length===0)return;this.dialogDrag=!0}},onTouchStart(e){if(this.wrapperStart=null,this.$refs.scroller.$el.contains(e.target))this.wrapperStart=Object.assign(this.scrollInfo(),{clientY:e.touches[0].clientY});else if(this.$refs.input.$refs.editor.contains(e.target)){const t=this.$refs.input.$refs.editor.querySelector(".ql-editor");if(t){const n=t.clientHeight,r=t.scrollTop,a=t.scrollHeight;this.wrapperStart={offset:r,scale:r/(a-n),tail:a-n-r,clientY:e.touches[0].clientY}}}},onTouchMove(e){if(this.footerPaddingBottom>0||this.windowPortrait&&this.windowScrollY>0){if(this.wrapperStart===null){e.preventDefault();return}this.wrapperStart.clientY>e.touches[0].clientY?this.wrapperStart.tail===0&&e.preventDefault():this.wrapperStart.offset===0&&e.preventDefault()}},pasteSend(){this.pasteFile.some(e=>{this.$refs.chatUpload.upload(e)})},chatFile(e,t){switch(e){case"progress":const n={id:t.tempId,dialog_id:this.dialogData.id,reply_id:this.quoteId,type:"loading",userid:this.userId,msg:{}};this.tempMsgs.push(n),this.msgType="",this.cancelQuote(),this.onActive(),this.$nextTick(this.onToBottom);break;case"error":this.tempMsgs=this.tempMsgs.filter(({id:r})=>r!=t.tempId);break;case"success":this.tempMsgs=this.tempMsgs.filter(({id:r})=>r!=t.tempId),this.sendSuccess(t.data);break}},sendSuccess(e){if($A.isArray(e)){e.some(this.sendSuccess);return}this.$store.dispatch("saveDialogMsg",e),this.quoteUpdate||(this.$store.dispatch("increaseTaskMsgNum",e),this.$store.dispatch("increaseMsgReplyNum",e),this.$store.dispatch("updateDialogLastMsg",e)),this.cancelQuote(),this.onActive()},setQuote(e,t){var n;(n=this.$refs.input)==null||n.setQuote(e,t)},cancelQuote(){var e;(e=this.$refs.input)==null||e.cancelQuote()},onEventFocus(){this.$emit("on-focus")},onEventBlur(){this.$emit("on-blur")},onEventMore(e){switch(e){case"image":case"file":this.$refs.chatUpload.handleClick();break;case"call":this.onCallTel();break;case"anon":this.onAnon();break}},onCallTel(){this.$store.dispatch("call",{url:"dialog/tel",data:{dialog_id:this.dialogId},spinner:600}).then(({data:e})=>{e.tel&&$A.eeuiAppSendMessage({action:"callTel",tel:e.tel}),e.add&&(this.$store.dispatch("saveDialogMsg",e.add),this.$store.dispatch("updateDialogLastMsg",e.add),this.onActive())}).catch(({msg:e})=>{$A.modalError(e)})},onAnon(){if(this.dialogData.type!=="user"||this.dialogData.bot){$A.modalWarning("\u533F\u540D\u6D88\u606F\u4EC5\u5141\u8BB8\u53D1\u9001\u7ED9\u4E2A\u4EBA");return}$A.modalInput({title:"\u53D1\u9001\u533F\u540D\u6D88\u606F",placeholder:"\u533F\u540D\u6D88\u606F\u5C06\u901A\u8FC7\u533F\u540D\u6D88\u606F\uFF08\u673A\u5668\u4EBA\uFF09\u53D1\u9001\u7ED9\u5BF9\u65B9\uFF0C\u4E0D\u4F1A\u8BB0\u5F55\u4F60\u7684\u4EFB\u4F55\u8EAB\u4EFD\u4FE1\u606F",inputProps:{type:"textarea",rows:3,autosize:{minRows:3,maxRows:6},maxlength:2e3},okText:"\u533F\u540D\u53D1\u9001",onOk:e=>e?new Promise((t,n)=>{this.$store.dispatch("call",{url:"dialog/msg/sendanon",data:{userid:this.dialogData.dialog_user.userid,text:e},method:"post"}).then(({msg:r})=>{t(r)}).catch(({msg:r})=>{n(r)})}):"\u8BF7\u8F93\u5165\u6D88\u606F\u5185\u5BB9"})},onEventEmojiVisibleChange(e){e&&this.windowPortrait&&this.onToBottom()},onHeightChange({newVal:e,oldVal:t}){const n=e-t;if(n!==0){const{offset:r,tail:a}=this.scrollInfo();a>0&&this.onToOffset(r+n)}},onActive(){this.$emit("on-active")},onToBottom(){this.msgNew=0;const e=this.$refs.scroller;e&&(e.scrollToBottom(),requestAnimationFrame(t=>e.scrollToBottom()))},onToIndex(e){const t=this.$refs.scroller;t&&(t.stopToBottom(),t.scrollToIndex(e,-100),requestAnimationFrame(n=>t.scrollToIndex(e,-100))),requestAnimationFrame(n=>this.msgActiveIndex=e)},onToOffset(e){const t=this.$refs.scroller;t&&(t.stopToBottom(),t.scrollToOffset(e),setTimeout(n=>t.scrollToOffset(e),10))},scrollInfo(){const e=this.$refs.scroller;return e?e.scrollInfo():{offset:0,scale:0,tail:0}},openProject(){!this.dialogData.group_info||(this.windowPortrait&&this.$store.dispatch("openDialog",0),this.goForward({name:"manage-project",params:{projectId:this.dialogData.group_info.id}}))},openTask(){!this.dialogData.group_info||(this.taskId>0&&this.$store.dispatch("openDialog",0),this.$store.dispatch("openTask",{id:this.dialogData.group_info.id,deleted_at:this.dialogData.group_info.deleted_at,archived_at:this.dialogData.group_info.archived_at}))},onPrevPage(){this.prevId!==0&&this.getMsgs({dialog_id:this.dialogId,msg_id:this.msgId,msg_type:this.msgType,prev_id:this.prevId,save_before:e=>this.scrollDisabled=!0,save_after:e=>this.scrollDisabled=!1}).then(({data:e})=>{const t=e.list.map(n=>n.id);this.$nextTick(()=>{const n=this.$refs.scroller,r=t.reduce((l,u)=>({size:(typeof l=="object"?l.size:n.getSize(l))+n.getSize(u)}));let a=n.getOffset()+r.size;this.prevId===0&&(a-=36),this.onToOffset(a),setTimeout(l=>n.virtual.handleFront(),10)})}).catch(()=>{})},onDialogMenu(e){var t;switch(e){case"searchMsg":this.searchShow=!0,this.$nextTick(r=>{this.$refs.searchInput.focus()});break;case"openCreate":const n=[this.userId];this.dialogData.dialog_user&&this.userId!=this.dialogData.dialog_user.userid&&n.push(this.dialogData.dialog_user.userid),this.createGroupData={userids:n,uncancelable:[this.userId]},this.createGroupShow=!0;break;case"modifyNormal":this.modifyData={dialog_id:this.dialogData.id,avatar:this.dialogData.avatar,name:this.dialogData.name},this.dialogData.type==="user"&&(this.modifyData=Object.assign(this.modifyData,{userid:this.dialogData.dialog_user.userid,avatar:(t=this.cacheUserBasic.find(r=>r.userid===this.dialogData.dialog_user.userid))==null?void 0:t.userimg,clear_day:0,webhook_url:"",system_name:""}),this.modifyLoad++,this.$store.dispatch("call",{url:"users/bot/info",data:{id:this.dialogData.dialog_user.userid}}).then(({data:r})=>{this.modifyData.clear_day=r.clear_day,this.modifyData.webhook_url=r.webhook_url,this.modifyData.system_name=r.system_name}).finally(()=>{this.modifyLoad--})),this.modifyShow=!0;break;case"modifyAdmin":this.modifyData={dialog_id:this.dialogData.id,avatar:this.dialogData.avatar,admin:1},this.modifyShow=!0;break;case"groupInfo":this.groupInfoShow=!0;break;case"transfer":this.groupTransferData={dialog_id:this.dialogId,userid:[],disabledChoice:[this.userId]},this.groupTransferShow=!0;break;case"transferConfirm":this.onTransferGroup();break;case"disband":this.onDisbandGroup();break;case"exit":this.onExitGroup();break}},onTransferGroup(){if(this.groupTransferData.userid.length===0){$A.messageError("\u8BF7\u9009\u62E9\u65B0\u7684\u7FA4\u4E3B");return}this.groupTransferLoad++,this.$store.dispatch("call",{url:"dialog/group/transfer",data:{dialog_id:this.dialogId,userid:this.groupTransferData.userid[0]}}).then(({data:e,msg:t})=>{$A.messageSuccess(t),this.$store.dispatch("saveDialog",e)}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.groupTransferLoad--,this.groupTransferShow=!1})},onDisbandGroup(){$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u8981\u89E3\u6563\u3010${this.dialogData.name}\u3011\u7FA4\u7EC4\u5417\uFF1F`,loading:!0,okText:"\u89E3\u6563",onOk:()=>new Promise((e,t)=>{this.$store.dispatch("call",{url:"dialog/group/disband",data:{dialog_id:this.dialogId}}).then(({msg:n})=>{e(n),this.$store.dispatch("forgetDialog",this.dialogId),this.goForward({name:"manage-messenger"})}).catch(({msg:n})=>{t(n)})})})},onExitGroup(){$A.modalConfirm({content:"\u4F60\u786E\u5B9A\u8981\u9000\u51FA\u7FA4\u7EC4\u5417\uFF1F",loading:!0,onOk:()=>new Promise((e,t)=>{this.$store.dispatch("call",{url:"dialog/group/deluser",data:{dialog_id:this.dialogId}}).then(({msg:n})=>{e(n),this.$store.dispatch("forgetDialog",this.dialogId),this.goForward({name:"manage-messenger"})}).catch(({msg:n})=>{t(n)})})})},onCreateGroup(){this.createGroupLoad++,this.$store.dispatch("call",{url:"dialog/group/add",data:this.createGroupData}).then(({data:e,msg:t})=>{$A.messageSuccess(t),this.createGroupShow=!1,this.createGroupData={},this.$store.dispatch("saveDialog",e),this.$store.dispatch("openDialog",e.id)}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.createGroupLoad--})},onModify(){this.modifyData.userid?(this.modifyLoad++,this.$store.dispatch("call",{url:"users/bot/edit",data:{id:this.modifyData.userid,avatar:this.modifyData.avatar,name:this.modifyData.name,clear_day:this.modifyData.clear_day,webhook_url:this.modifyData.webhook_url},method:"post"}).then(({data:e,msg:t})=>{$A.messageSuccess(t),this.$store.dispatch("saveUserBasic",{userid:this.modifyData.userid,nickname:e.name,userimg:e.avatar}),this.$store.dispatch("saveDialog",{id:this.modifyData.dialog_id,name:e.name}),this.modifyShow=!1,this.modifyData={}}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.modifyLoad--})):(this.modifyLoad++,this.$store.dispatch("call",{url:"dialog/group/edit",data:this.modifyData}).then(({data:e,msg:t})=>{$A.messageSuccess(t),this.$store.dispatch("saveDialog",e),this.modifyShow=!1,this.modifyData={}}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.modifyLoad--}))},onForward(){return new Promise((e,t)=>{if(this.forwardData.length===0){$A.messageError("\u8BF7\u9009\u62E9\u8F6C\u53D1\u5BF9\u8BDD\u6216\u6210\u5458"),t();return}const n=this.forwardData.filter(a=>$A.leftExists(a,"d:")).map(a=>a.replace("d:","")),r=this.forwardData.filter(a=>!$A.leftExists(a,"d:"));this.$store.dispatch("call",{url:"dialog/msg/forward",data:{dialogids:n,userids:r,msg_id:this.operateItem.id}}).then(({data:a,msg:l})=>{this.$store.dispatch("saveDialogMsg",a.msgs),this.$store.dispatch("updateDialogLastMsg",a.msgs),$A.messageSuccess(l),e()}).catch(({msg:a})=>{$A.modalError(a),t()})})},onScroll(e){this.operateVisible=!1;const{offset:t,tail:n}=this.scrollInfo();this.scrollOffset=t,this.scrollTail=n,this.scrollTail<=45&&(this.msgNew=0),this.scrollAction=e.target.scrollTop,this.scrollDirection=this.scrollTmp<=this.scrollAction?"down":"up",setTimeout(r=>this.scrollTmp=this.scrollAction,0)},onRange(e){if(this.preventMoreLoad)return;const t=this.scrollDirection==="down"?"next_id":"prev_id";for(let n=e.start;n<=e.end;n++){const r=this.allMsgs[n][t];if(r){const a=this.allMsgs[n+(t==="next_id"?1:-1)];a&&a.id!=r&&(this.preventMoreLoad=!0,this.getMsgs({dialog_id:this.dialogId,msg_id:this.msgId,msg_type:this.msgType,[t]:r}).finally(l=>{this.preventMoreLoad=!1}))}}},onBack(){if(!this.beforeBack)return this.handleBack();const e=this.beforeBack();e&&e.then?e.then(()=>{this.handleBack()}):this.handleBack()},handleBack(){const{name:e,params:t}=this.$store.state.routeHistoryLast;e===this.$route.name&&/^\d+$/.test(t.dialogId)?this.goForward({name:this.$route.name}):this.goBack()},onMsgType(e){switch(e){case"project":this.openProject();break;case"task":this.openTask();break;default:this.loadMsg?$A.messageWarning("\u6B63\u5728\u52A0\u8F7D\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5..."):this.msgType=e;break}},onMention(e){const t=this.cacheUserBasic.find(({userid:n})=>n==e.userid);t&&this.$refs.input.addMention({denotationChar:"@",id:t.userid,value:t.nickname})},onLongpress({event:e,el:t,msgData:n}){this.operateVisible=this.operateItem.id===n.id,this.operateItem=$A.isJson(n)?n:{},this.operateCopys=[],e.target.nodeName==="IMG"&&this.$Electron?this.operateCopys.push({type:"image",icon:"",label:"\u590D\u5236\u56FE\u7247",value:$A.thumbRestore(e.target.currentSrc)}):e.target.nodeName==="A"&&(e.target.classList.contains("mention")&&e.target.classList.contains("file")&&this.findOperateFile(this.operateItem.id,e.target.href),this.operateCopys.push({type:"link",icon:"",label:"\u590D\u5236\u94FE\u63A5",value:e.target.href})),n.type==="text"&&(e.target.nodeName==="IMG"&&this.operateCopys.push({type:"imagedown",icon:"",label:"\u4E0B\u8F7D\u56FE\u7247",value:$A.thumbRestore(e.target.currentSrc)}),n.msg.text.replace(/<[^>]+>/g,"").length>0&&this.operateCopys.push({type:"text",icon:"",label:this.operateCopys.length>0?"\u590D\u5236\u6587\u672C":"\u590D\u5236",value:""})),this.$nextTick(()=>{const r=t.getBoundingClientRect(),a=this.$el.getBoundingClientRect();this.operateStyles={left:`${e.clientX-a.left}px`,top:`${r.top+this.windowScrollY}px`,height:r.height+"px"},this.operateVisible=!0})},onOperate(e,t=null){this.operateVisible=!1,this.$nextTick(n=>{switch(e){case"reply":this.onReply();break;case"update":this.onUpdate();break;case"copy":this.onCopy(t);break;case"forward":this.forwardData=[],this.$refs.forwardSelect.onSelection();break;case"withdraw":this.onWithdraw();break;case"view":this.onViewFile();break;case"down":this.onDownFile();break;case"tag":this.onTag();break;case"newTask":let r=$A.formatMsgBasic(this.operateItem.msg.text);r=r.replace(/]*?src=(["'])(.*?)(_thumb\.jpg)*\1[^>]*?>/g,''),_i.Store.set("addTask",{owner:[this.userId],content:r});break;case"todo":this.onTodo();break;case"pos":this.onPositionId(this.operateItem.id);break;case"emoji":t==="more"?RJ().then(this.onEmoji):this.onEmoji(t);break}})},onReply(e){const{tail:t}=this.scrollInfo();this.setQuote(this.operateItem.id,e),this.inputFocus(),t<=45&&requestAnimationFrame(this.onToBottom)},onUpdate(){const{type:e}=this.operateItem;if(this.onReply(e==="text"?"update":"reply"),e==="text"){let{text:t,type:n}=this.operateItem.msg;this.$refs.input.setPasteMode(!1),n==="md"?this.$refs.input.setText(t):(t.indexOf("mention")>-1&&(t=t.replace(/]*)>~([^>]*)<\/a>/g,'~$3'),t=t.replace(/([@#])([^>]*)<\/span>/g,'$3$4')),t=t.replace(/]*>/gi,r=>r.replace(/(width|height)="\d+"\s*/ig,"")),this.msgText=$A.formatMsgBasic(t)),this.$nextTick(r=>this.$refs.input.setPasteMode(!0))}},onCopy(e){if(!$A.isJson(e))return;const{type:t,value:n}=e;switch(t){case"image":this.$Electron&&this.getBase64Image(n).then(a=>{this.$Electron.sendMessage("copyBase64Image",{base64:a})});break;case"imagedown":this.$store.dispatch("downUrl",{url:n,token:!1});break;case"filepos":this.windowPortrait&&this.$store.dispatch("openDialog",0),this.goForward({name:"manage-file",params:n});break;case"link":this.$copyText(n).then(a=>$A.messageSuccess("\u590D\u5236\u6210\u529F")).catch(a=>$A.messageError("\u590D\u5236\u5931\u8D25"));break;case"text":const r=$A(this.$refs.scroller.$el).find(`[data-id="${this.operateItem.id}"]`).find(".dialog-content");if(r.length>0){const a=r[0].innerText.replace(/\n\n/g,` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b={FRONT:"FRONT",BEHIND:"BEHIND"},C={INIT:"INIT",FIXED:"FIXED",DYNAMIC:"DYNAMIC"},E=0,v=function(){function w(M,x){r(this,w),this.init(M,x)}return l(w,[{key:"init",value:function(x,Y){this.param=x,this.callUpdate=Y,this.sizes=new Map,this.firstRangeTotalSize=0,this.firstRangeAverageSize=0,this.lastCalcIndex=0,this.fixedSizeValue=0,this.calcType=C.INIT,this.offset=0,this.direction="",this.range=Object.create(null),x&&this.checkRange(0,x.keeps-1)}},{key:"destroy",value:function(){this.init(null,null)}},{key:"getRange",value:function(){var x=Object.create(null);return x.start=this.range.start,x.end=this.range.end,x.padFront=this.range.padFront,x.padBehind=this.range.padBehind,x}},{key:"isBehind",value:function(){return this.direction===b.BEHIND}},{key:"isFront",value:function(){return this.direction===b.FRONT}},{key:"getOffset",value:function(x){return(x<1?0:this.getIndexOffset(x))+this.param.slotHeaderSize}},{key:"updateParam",value:function(x,Y){var W=this;this.param&&x in this.param&&(x==="uniqueIds"&&this.sizes.forEach(function(Z,ce){Y.includes(ce)||W.sizes.delete(ce)}),this.param[x]=Y)}},{key:"saveSize",value:function(x,Y){this.sizes.set(x,Y),this.calcType===C.INIT?(this.fixedSizeValue=Y,this.calcType=C.FIXED):this.calcType===C.FIXED&&this.fixedSizeValue!==Y&&(this.calcType=C.DYNAMIC,delete this.fixedSizeValue),this.calcType!==C.FIXED&&typeof this.firstRangeTotalSize!="undefined"&&(this.sizes.sizethis.range.start)){var Y=Math.max(x-this.param.buffer,0);this.checkRange(Y,this.getEndByStart(Y))}}},{key:"handleBehind",value:function(){var x=this.getScrollOvers();xx&&(ce=W-1)}return Y>0?--Y:0}},{key:"getIndexOffset",value:function(x){if(!x)return 0;for(var Y=0,W=0,Z=0;Z1&&arguments[1]!==void 0?arguments[1]:0;if(M>=this.dataSources.length-1)this.scrollToBottom();else{var Y=this.virtual.getOffset(M);x!==0&&(Y=Math.max(0,Y+x)),this.scrollToOffset(Y)}},scrollToBottom:function(){var M=this,x=this.$refs.shepherd;if(x){var Y=x[this.isHorizontal?"offsetLeft":"offsetTop"];this.scrollToOffset(Y),this.toBottomTime&&(clearTimeout(this.toBottomTime),this.toBottomTime=null),this.toBottomTime=setTimeout(function(){M.getOffset()+M.getClientSize()+1W+1||!W||(this.virtual.handleScroll(x),this.emitEvent(x,Y,W,M))}},emitEvent:function(M,x,Y,W){this.$emit("scroll",W,this.virtual.getRange()),this.virtual.isFront()&&!!this.dataSources.length&&M-this.topThreshold<=0?this.$emit("totop"):this.virtual.isBehind()&&M+x+this.bottomThreshold>=Y&&this.$emit("tobottom")},getRenderSlots:function(M){for(var x=[],Y=this.range,W=Y.start,Z=Y.end,ce=this.dataSources,te=this.dataKey,j=this.itemClass,U=this.itemTag,X=this.itemStyle,J=this.isHorizontal,ae=this.extraProps,le=this.dataComponent,Q=this.itemScopedSlots,ie=this.$scopedSlots&&this.$scopedSlots.item,_e=W;_e<=Z;_e++){var ue=ce[_e];if(ue){var Ee=typeof te=="function"?te(ue):ue[te];typeof Ee=="string"||typeof Ee=="number"?x.push(M(F,{props:{index:_e,tag:U,event:z.ITEM,horizontal:J,uniqueKey:Ee,source:ue,extraProps:ae,component:le,slotComponent:ie,scopedSlots:Q},style:X,class:"".concat(j).concat(this.itemClassAdd?" "+this.itemClassAdd(_e):"")})):console.warn("Cannot get the data-key '".concat(te,"' from data-sources."))}else console.warn("Cannot get the index '".concat(_e,"' from data-sources."))}return x}},render:function(M){var x=this.$slots,Y=x.header,W=x.footer,Z=this.range,ce=Z.padFront,te=Z.padBehind,j=this.isHorizontal,U=this.pageMode,X=this.rootTag,J=this.wrapTag,ae=this.wrapClass,le=this.wrapStyle,Q=this.headerTag,ie=this.headerClass,_e=this.headerStyle,ue=this.footerTag,Ee=this.footerClass,Ie=this.footerStyle,ke=this.disabled,qe={padding:j?"0px ".concat(te,"px 0px ").concat(ce,"px"):"".concat(ce,"px 0px ").concat(te,"px")},Ye=le?Object.assign({},le,qe):qe;return M(X,{ref:"root",style:ke?{overflow:"hidden"}:null,on:{"&scroll":!U&&this.onScroll}},[Y?M(G,{class:ie,style:_e,props:{tag:Q,event:z.SLOT,uniqueKey:k.HEADER}},Y):null,M(J,{class:ae,attrs:{role:"group"},style:Ye},this.getRenderSlots(M)),W?M(G,{class:Ee,style:Ie,props:{tag:ue,event:z.SLOT,uniqueKey:k.FOOTER}},W):null,M("div",{ref:"shepherd",style:{width:j?"0px":"100%",height:j?"100%":"0px"}})])}});return L})})(Dc);var CJ=Dc.exports;function RJ(){return new Promise(e=>{const t=new Hu({render(a){return a(Vu.exports.Modal,{class:"chat-emoji-one-modal",props:{fullscreen:!0,footerHide:!0},on:{"on-visible-change":l=>{l||setTimeout(u=>{document.body.removeChild(this.$el)},500)}}},[a(Ic,{attrs:{onlyEmoji:!0},on:{"on-select":l=>{this.$children[0].visible=!1,l.type==="emoji"&&e(l.text)}}})])}}),n=t.$mount();document.body.appendChild(n.$el);const r=t.$children[0];r.visible=!0,r.$el.lastChild.addEventListener("click",({target:a})=>{a.classList.contains("ivu-modal-body")&&(r.visible=!1)})})}var NJ=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isReady?n("div",{staticClass:"dialog-wrapper",class:e.wrapperClass,on:{drop:function(r){return r.preventDefault(),e.chatPasteDrag(r,"drag")},dragover:function(r){return r.preventDefault(),e.chatDragOver(!0,r)},dragleave:function(r){return r.preventDefault(),e.chatDragOver(!1,r)},touchstart:e.onTouchStart,touchmove:e.onTouchMove}},[n("div",{staticClass:"dialog-nav",style:e.navStyle},[e._t("head",function(){return[n("div",{staticClass:"nav-wrapper",class:{completed:e.$A.dialogCompleted(e.dialogData)}},[n("div",{staticClass:"dialog-back",on:{click:e.onBack}},[n("i",{staticClass:"taskfont"},[e._v("\uE676")]),e.msgUnreadOnly?n("div",{staticClass:"back-num"},[e._v(e._s(e.msgUnreadOnly))]):e._e()]),n("div",{staticClass:"dialog-block"},[n("div",{staticClass:"dialog-avatar",on:{click:e.onViewAvatar}},[e.dialogData.type=="group"?[e.dialogData.avatar?n("EAvatar",{staticClass:"img-avatar",attrs:{src:e.dialogData.avatar,size:42}}):e.dialogData.group_type=="department"?n("i",{staticClass:"taskfont icon-avatar department"},[e._v("\uE75C")]):e.dialogData.group_type=="project"?n("i",{staticClass:"taskfont icon-avatar project"},[e._v("\uE6F9")]):e.dialogData.group_type=="task"?n("i",{staticClass:"taskfont icon-avatar task"},[e._v("\uE6F4")]):n("Icon",{staticClass:"icon-avatar",attrs:{type:"ios-people"}})]:e.dialogData.dialog_user?n("div",{staticClass:"user-avatar"},[n("UserAvatar",{attrs:{online:e.dialogData.online_state,userid:e.dialogData.dialog_user.userid,size:42},on:{"update:online":function(r){return e.$set(e.dialogData,"online_state",r)}}},[e.dialogData.type==="user"&&e.dialogData.online_state!==!0?n("p",{attrs:{slot:"end"},slot:"end"},[e._v(" "+e._s(e.$L(e.dialogData.online_state))+" ")]):e._e()])],1):n("Icon",{staticClass:"icon-avatar",attrs:{type:"md-person"}})],2),n("div",{staticClass:"dialog-title"},[n("div",{staticClass:"main-title"},[e._l(e.$A.dialogTags(e.dialogData),function(r){return r.color!="success"?[n("Tag",{attrs:{color:r.color,fade:!1}},[e._v(e._s(e.$L(r.text)))])]:e._e()}),n("h2",[e._v(e._s(e.dialogData.name))]),e.peopleNum>0?n("em",{on:{click:function(r){return e.onDialogMenu("groupInfo")}}},[e._v("("+e._s(e.peopleNum)+")")]):e._e(),e.dialogData.bot?n("Tag",{staticClass:"after",attrs:{fade:!1}},[e._v(e._s(e.$L("\u673A\u5668\u4EBA")))]):e._e(),e.dialogData.group_type=="all"?n("Tag",{staticClass:"after pointer",attrs:{fade:!1},on:{"on-click":function(r){return e.onDialogMenu("groupInfo")}}},[e._v(e._s(e.$L("\u5168\u5458")))]):e.dialogData.group_type=="department"?n("Tag",{staticClass:"after pointer",attrs:{fade:!1},on:{"on-click":function(r){return e.onDialogMenu("groupInfo")}}},[e._v(e._s(e.$L("\u90E8\u95E8")))]):e._e(),e.msgLoadIng>0?n("div",{staticClass:"load"},[n("Loading")],1):e._e()],2),n("ul",{staticClass:"title-desc"},[e.dialogData.type==="user"?n("li",{class:[e.dialogData.online_state===!0?"online":"offline"]},[e._v(" "+e._s(e.$L(e.dialogData.online_state===!0?"\u5728\u7EBF":e.dialogData.online_state))+" ")]):e._e()]),e.tagShow?n("ul",{staticClass:"title-tags scrollbar-hidden"},e._l(e.msgTags,function(r){var a;return n("li",{key:r.type,class:(a={},a[r.type||"msg"]=!0,a.active=e.msgType===r.type,a),on:{click:function(l){return e.onMsgType(r.type)}}},[n("i",{staticClass:"no-dark-content"}),n("span",[e._v(e._s(e.$L(r.label)))])])}),0):e._e()])]),n("EDropdown",{staticClass:"dialog-menu",attrs:{trigger:"click"},on:{command:e.onDialogMenu}},[n("i",{staticClass:"taskfont dialog-menu-icon"},[e._v("\uE6E9")]),n("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("EDropdownItem",{attrs:{command:"searchMsg"}},[n("div",[e._v(e._s(e.$L("\u641C\u7D22\u6D88\u606F")))])]),e.dialogData.type==="user"?[e.isManageBot?n("EDropdownItem",{attrs:{command:"modifyNormal"}},[n("div",[e._v(e._s(e.$L("\u4FEE\u6539\u8D44\u6599")))])]):e._e(),n("EDropdownItem",{attrs:{command:"openCreate"}},[n("div",[e._v(e._s(e.$L("\u521B\u5EFA\u7FA4\u7EC4")))])])]:[n("EDropdownItem",{attrs:{command:"groupInfo"}},[n("div",[e._v(e._s(e.$L("\u7FA4\u7EC4\u8BBE\u7F6E")))])]),e.dialogData.owner_id!=e.userId?[e.dialogData.group_type==="all"&&e.userIsAdmin?n("EDropdownItem",{attrs:{command:"modifyAdmin"}},[n("div",[e._v(e._s(e.$L("\u4FEE\u6539\u8D44\u6599")))])]):e._e(),n("EDropdownItem",{attrs:{command:"exit"}},[n("div",{staticStyle:{color:"#f00"}},[e._v(e._s(e.$L("\u9000\u51FA\u7FA4\u7EC4")))])])]:e.dialogData.group_type==="user"?[n("EDropdownItem",{attrs:{command:"modifyNormal"}},[n("div",[e._v(e._s(e.$L("\u4FEE\u6539\u8D44\u6599")))])]),n("EDropdownItem",{attrs:{command:"transfer"}},[n("div",[e._v(e._s(e.$L("\u8F6C\u8BA9\u7FA4\u4E3B")))])]),n("EDropdownItem",{attrs:{command:"disband"}},[n("div",{staticStyle:{color:"#f00"}},[e._v(e._s(e.$L("\u89E3\u6563\u7FA4\u7EC4")))])])]:e._e()]],2)],1),e.searchShow?n("div",{staticClass:"dialog-search"},[n("div",{staticClass:"search-location"},[n("i",{staticClass:"taskfont",on:{click:function(r){return e.onSearchSwitch("prev")}}},[e._v("\uE702")]),n("i",{staticClass:"taskfont",on:{click:function(r){return e.onSearchSwitch("next")}}},[e._v("\uE705")])]),n("div",{staticClass:"search-input"},[n("Input",{ref:"searchInput",attrs:{placeholder:e.$L("\u641C\u7D22\u6D88\u606F"),clearable:""},on:{"on-keyup":e.onSearchKeyup},model:{value:e.searchKey,callback:function(r){e.searchKey=r},expression:"searchKey"}},[n("div",{staticClass:"search-pre",attrs:{slot:"prefix"},slot:"prefix"},[e.searchLoad>0?n("Loading"):n("Icon",{attrs:{type:"ios-search"}})],1)]),e.searchLoad===0&&e.searchResult.length>0?n("div",{staticClass:"search-total",attrs:{slot:"append"},slot:"append"},[e._v(e._s(e.searchLocation)+"/"+e._s(e.searchResult.length))]):e._e()],1),n("div",{staticClass:"search-cancel",on:{click:function(r){return e.onSearchKeyup(null)}}},[e._v(e._s(e.$L("\u53D6\u6D88")))])]):e._e()],1)]})],2),e.positionMsg?n("div",{staticClass:"dialog-position",class:{down:e.tagShow}},[n("div",{staticClass:"position-label",on:{click:e.onPositionMark}},[e.positionLoad>0?n("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}):n("i",{staticClass:"taskfont"},[e._v("\uE624")]),e._v(" "+e._s(e.positionMsg.label)+" ")],1)]):e._e(),n("VirtualList",{ref:"scroller",staticClass:"dialog-scroller scrollbar-virtual",class:e.scrollerClass,attrs:{"data-key":"id","data-sources":e.allMsgs,"data-component":e.msgItem,"item-class-add":e.itemClassAdd,"extra-props":{dialogData:e.dialogData,operateVisible:e.operateVisible,operateItem:e.operateItem,isMyDialog:e.isMyDialog,msgId:e.msgId},"estimate-size":e.dialogData.type=="group"?105:77,keeps:50,disabled:e.scrollDisabled},on:{scroll:e.onScroll,range:e.onRange,totop:e.onPrevPage,"on-mention":e.onMention,"on-longpress":e.onLongpress,"on-view-reply":e.onViewReply,"on-view-text":e.onViewText,"on-view-file":e.onViewFile,"on-down-file":e.onDownFile,"on-reply-list":e.onReplyList,"on-error":e.onError,"on-emoji":e.onEmoji,"on-show-emoji-user":e.onShowEmojiUser},scopedSlots:e._u([{key:"header",fn:function(){return[e.allMsgs.length===0&&e.loadIng||e.prevId>0?n("div",{staticClass:"dialog-item loading"},[e.scrollOffset<100?n("div",{staticClass:"dialog-wrapper-loading"}):e._e()]):e.allMsgs.length===0?n("div",{staticClass:"dialog-item nothing"},[e._v(e._s(e.$L("\u6682\u65E0\u6D88\u606F")))]):e._e()]},proxy:!0}],null,!1,3828201241)}),n("div",{ref:"footer",staticClass:"dialog-footer",class:e.footerClass,style:e.footerStyle,on:{click:e.onActive}},[n("div",{staticClass:"dialog-newmsg",on:{click:e.onToBottom}},[e._v(e._s(e.$L(`\u6709${e.msgNew}\u6761\u65B0\u6D88\u606F`)))]),n("div",{staticClass:"dialog-goto",on:{click:e.onToBottom}},[n("i",{staticClass:"taskfont"},[e._v("\uE72B")])]),n("DialogUpload",{ref:"chatUpload",staticClass:"chat-upload",attrs:{"dialog-id":e.dialogId},on:{"on-progress":function(r){return e.chatFile("progress",r)},"on-success":function(r){return e.chatFile("success",r)},"on-error":function(r){return e.chatFile("error",r)}}}),e.todoShow?n("div",{staticClass:"chat-bottom-menu"},[n("div",{staticClass:"bottom-menu-label"},[e._v(e._s(e.$L("\u5F85\u529E"))+":")]),n("ul",{staticClass:"scrollbar-hidden"},e._l(e.todoList,function(r){return n("li",{on:{click:function(a){return a.stopPropagation(),e.onViewTodo(r)}}},[n("div",{staticClass:"bottom-menu-desc no-dark-content"},[e._v(e._s(e.$A.getMsgSimpleDesc(r.msg_data)))])])}),0)]):e.quickShow?n("div",{staticClass:"chat-bottom-menu"},[n("ul",{staticClass:"scrollbar-hidden"},e._l(e.quickMsgs,function(r){return n("li",{on:{click:function(a){return a.stopPropagation(),e.sendQuick(r)}}},[n("div",{staticClass:"bottom-menu-desc no-dark-content",style:r.style||null},[e._v(e._s(r.label))])])}),0)]):e._e(),e.isMute?n("div",{staticClass:"chat-mute"},[e._v(" "+e._s(e.$L("\u7981\u8A00\u53D1\u8A00"))+" ")]):n("ChatInput",{ref:"input",attrs:{"dialog-id":e.dialogId,"emoji-bottom":e.windowPortrait,maxlength:2e5,placeholder:e.$L("\u8F93\u5165\u6D88\u606F...")},on:{"on-focus":e.onEventFocus,"on-blur":e.onEventBlur,"on-more":e.onEventMore,"on-file":e.sendFileMsg,"on-send":e.sendMsg,"on-record":e.sendRecord,"on-record-state":e.onRecordState,"on-emoji-visible-change":e.onEventEmojiVisibleChange,"on-height-change":e.onHeightChange},model:{value:e.msgText,callback:function(r){e.msgText=r},expression:"msgText"}})],1),n("div",{directives:[{name:"show",rawName:"v-show",value:e.operateVisible,expression:"operateVisible"}],staticClass:"operate-position",style:e.operateStyles},[n("Dropdown",{attrs:{trigger:"custom",placement:"top",visible:e.operateVisible,transferClassName:"dialog-wrapper-operate",transfer:""},on:{"on-clickoutside":function(r){e.operateVisible=!1}}},[n("div",{style:{userSelect:e.operateVisible?"none":"auto",height:e.operateStyles.height}}),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{attrs:{name:"action"}},[n("ul",{staticClass:"operate-action"},[e.msgId===0?n("li",{on:{click:function(r){return e.onOperate("reply")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE6EB")]),n("span",[e._v(e._s(e.$L("\u56DE\u590D")))])]):e._e(),e.operateItem.userid==e.userId&&e.operateItem.type==="text"?n("li",{on:{click:function(r){return e.onOperate("update")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE779")]),n("span",[e._v(e._s(e.$L("\u7F16\u8F91")))])]):e._e(),e._l(e.operateCopys,function(r){return n("li",{on:{click:function(a){return e.onOperate("copy",r)}}},[n("i",{staticClass:"taskfont",domProps:{innerHTML:e._s(r.icon)}}),n("span",[e._v(e._s(e.$L(r.label)))])])}),n("li",{on:{click:function(r){return e.onOperate("forward")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE638")]),n("span",[e._v(e._s(e.$L("\u8F6C\u53D1")))])]),e.operateItem.userid==e.userId?n("li",{on:{click:function(r){return e.onOperate("withdraw")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE637")]),n("span",[e._v(e._s(e.$L("\u64A4\u56DE")))])]):e._e(),e.operateItem.type==="file"?[n("li",{on:{click:function(r){return e.onOperate("view")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE77B")]),n("span",[e._v(e._s(e.$L("\u67E5\u770B")))])]),n("li",{on:{click:function(r){return e.onOperate("down")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE7A8")]),n("span",[e._v(e._s(e.$L("\u4E0B\u8F7D")))])])]:e._e(),n("li",{on:{click:function(r){return e.onOperate("tag")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE61E")]),n("span",[e._v(e._s(e.$L(e.operateItem.tag?"\u53D6\u6D88\u6807\u6CE8":"\u6807\u6CE8")))])]),e.operateItem.type==="text"?n("li",{on:{click:function(r){return e.onOperate("newTask")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE7B8")]),n("span",[e._v(e._s(e.$L("\u65B0\u4EFB\u52A1")))])]):e._e(),n("li",{on:{click:function(r){return e.onOperate("todo")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE7B7")]),n("span",[e._v(e._s(e.$L(e.operateItem.todo?"\u53D6\u6D88\u5F85\u529E":"\u8BBE\u5F85\u529E")))])]),e.msgType!==""?n("li",{on:{click:function(r){return e.onOperate("pos")}}},[n("i",{staticClass:"taskfont"},[e._v("\uEE15")]),n("span",[e._v(e._s(e.$L("\u5B8C\u6574\u5BF9\u8BDD")))])]):e._e()],2)]),n("DropdownItem",{staticClass:"dropdown-emoji",attrs:{name:"emoji"}},[n("ul",{staticClass:"operate-emoji scrollbar-hidden"},[e._l(e.operateEmojis,function(r,a){return n("li",{key:a,staticClass:"no-dark-content",domProps:{innerHTML:e._s(r)},on:{click:function(l){return e.onOperate("emoji",r)}}})}),n("li"),n("li",{staticClass:"more-emoji",on:{click:function(r){return e.onOperate("emoji","more")}}},[n("i",{staticClass:"taskfont"},[e._v("\uE790")])])],2)])],1)],1)],1),e.dialogDrag?n("div",{staticClass:"drag-over",on:{click:function(r){e.dialogDrag=!1}}},[n("div",{staticClass:"drag-text"},[e._v(e._s(e.$L("\u62D6\u52A8\u5230\u8FD9\u91CC\u53D1\u9001")))])]):e._e(),n("Modal",{attrs:{title:e.$L(e.pasteTitle),"cancel-text":e.$L("\u53D6\u6D88"),"ok-text":e.$L("\u53D1\u9001"),"enter-ok":!0,closable:!1,"mask-closable":!1},on:{"on-ok":e.pasteSend},model:{value:e.pasteShow,callback:function(r){e.pasteShow=r},expression:"pasteShow"}},[n("ul",{staticClass:"dialog-wrapper-paste",class:e.pasteWrapperClass},e._l(e.pasteItem,function(r){return n("li",[r.type=="image"?n("img",{attrs:{src:r.result}}):n("div",[e._v(e._s(e.$L("\u6587\u4EF6"))+": "+e._s(r.name)+" ("+e._s(e.$A.bytesToSize(r.size))+")")])])}),0)]),n("Modal",{attrs:{title:e.$L("\u521B\u5EFA\u7FA4\u7EC4"),"mask-closable":!1},model:{value:e.createGroupShow,callback:function(r){e.createGroupShow=r},expression:"createGroupShow"}},[n("Form",{attrs:{model:e.createGroupData,"label-width":"auto"},nativeOn:{submit:function(r){r.preventDefault()}}},[n("FormItem",{attrs:{prop:"avatar",label:e.$L("\u7FA4\u5934\u50CF")}},[n("ImgUpload",{attrs:{num:1,width:512,height:512,whcut:1},model:{value:e.createGroupData.avatar,callback:function(r){e.$set(e.createGroupData,"avatar",r)},expression:"createGroupData.avatar"}})],1),n("FormItem",{attrs:{prop:"userids",label:e.$L("\u7FA4\u6210\u5458")}},[n("UserSelect",{attrs:{uncancelable:e.createGroupData.uncancelable,"multiple-max":100,"show-bot":"",title:e.$L("\u9009\u62E9\u9879\u76EE\u6210\u5458")},model:{value:e.createGroupData.userids,callback:function(r){e.$set(e.createGroupData,"userids",r)},expression:"createGroupData.userids"}})],1),n("FormItem",{attrs:{prop:"chat_name",label:e.$L("\u7FA4\u540D\u79F0")}},[n("Input",{attrs:{placeholder:e.$L("\u8F93\u5165\u7FA4\u540D\u79F0\uFF08\u9009\u586B\uFF09")},model:{value:e.createGroupData.chat_name,callback:function(r){e.$set(e.createGroupData,"chat_name",r)},expression:"createGroupData.chat_name"}})],1)],1),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(r){e.createGroupShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),n("Button",{attrs:{type:"primary",loading:e.createGroupLoad>0},on:{click:e.onCreateGroup}},[e._v(e._s(e.$L("\u521B\u5EFA")))])],1)],1),n("Modal",{attrs:{title:e.$L("\u4FEE\u6539\u8D44\u6599"),"mask-closable":!1},model:{value:e.modifyShow,callback:function(r){e.modifyShow=r},expression:"modifyShow"}},[n("Form",{attrs:{model:e.modifyData,"label-width":"auto"},nativeOn:{submit:function(r){r.preventDefault()}}},[e.modifyData.system_name?n("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[e._v(e._s(e.$L(`\u6B63\u5728\u4FEE\u6539\u7CFB\u7EDF\u673A\u5668\u4EBA\uFF1A${e.modifyData.system_name}`)))]):e._e(),n("FormItem",{attrs:{prop:"avatar",label:e.$L("\u5934\u50CF")}},[n("ImgUpload",{attrs:{num:1,width:512,height:512,whcut:1},model:{value:e.modifyData.avatar,callback:function(r){e.$set(e.modifyData,"avatar",r)},expression:"modifyData.avatar"}})],1),typeof e.modifyData.name!="undefined"?n("FormItem",{attrs:{prop:"name",label:e.$L("\u540D\u79F0")}},[n("Input",{attrs:{maxlength:20},model:{value:e.modifyData.name,callback:function(r){e.$set(e.modifyData,"name",r)},expression:"modifyData.name"}})],1):e._e(),e.dialogData.bot==e.userId?[typeof e.modifyData.clear_day!="undefined"?n("FormItem",{attrs:{prop:"clear_day",label:e.$L("\u6D88\u606F\u4FDD\u7559")}},[n("Input",{attrs:{maxlength:3,type:"number"},model:{value:e.modifyData.clear_day,callback:function(r){e.$set(e.modifyData,"clear_day",r)},expression:"modifyData.clear_day"}},[n("div",{attrs:{slot:"append"},slot:"append"},[e._v(e._s(e.$L("\u5929")))])])],1):e._e(),typeof e.modifyData.webhook_url!="undefined"?n("FormItem",{attrs:{prop:"webhook_url",label:"Webhook"}},[n("Input",{attrs:{maxlength:255},model:{value:e.modifyData.webhook_url,callback:function(r){e.$set(e.modifyData,"webhook_url",r)},expression:"modifyData.webhook_url"}})],1):e._e()]:e._e()],2),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(r){e.modifyShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),n("Button",{attrs:{type:"primary",loading:e.modifyLoad>0},on:{click:e.onModify}},[e._v(e._s(e.$L("\u4FDD\u5B58")))])],1)],1),n("UserSelect",{ref:"forwardSelect",attrs:{"multiple-max":50,title:e.$L("\u8F6C\u53D1"),"before-submit":e.onForward,"show-select-all":!1,"show-dialog":"",module:""},model:{value:e.forwardData,callback:function(r){e.forwardData=r},expression:"forwardData"}}),n("Modal",{attrs:{title:e.$L("\u8BBE\u7F6E\u5F85\u529E"),"mask-closable":!1},model:{value:e.todoSettingShow,callback:function(r){e.todoSettingShow=r},expression:"todoSettingShow"}},[n("Form",{ref:"todoSettingForm",attrs:{model:e.todoSettingData,"label-width":"auto"},nativeOn:{submit:function(r){r.preventDefault()}}},[n("FormItem",{attrs:{prop:"type",label:e.$L("\u5F53\u524D\u4F1A\u8BDD")}},[n("RadioGroup",{model:{value:e.todoSettingData.type,callback:function(r){e.$set(e.todoSettingData,"type",r)},expression:"todoSettingData.type"}},[n("Radio",{attrs:{label:"all"}},[e._v(e._s(e.$L("\u6240\u6709\u6210\u5458")))]),n("Radio",{attrs:{label:"user"}},[e._v(e._s(e.$L("\u6307\u5B9A\u6210\u5458")))]),n("br"),e.todoSettingData.my_id?n("Radio",{attrs:{label:"my"}},[n("div",{staticClass:"dialog-wrapper-todo"},[n("div",[n("UserAvatar",{attrs:{userid:e.todoSettingData.my_id,"show-icon":!1,"show-name":!0}}),n("Tag",[e._v(e._s(e.$L("\u81EA\u5DF1")))])],1)])]):e._e(),e.todoSettingData.you_id?n("Radio",{attrs:{label:"you"}},[n("div",{staticClass:"dialog-wrapper-todo"},[n("div",[n("UserAvatar",{attrs:{userid:e.todoSettingData.you_id,"show-icon":!1,"show-name":!0}})],1)])]):e._e()],1)],1),e.todoSettingData.type==="user"?n("FormItem",{attrs:{prop:"userids",label:e.$L("\u6307\u5B9A\u6210\u5458")}},[n("UserSelect",{attrs:{"dialog-id":e.dialogId,title:e.$L("\u9009\u62E9\u6307\u5B9A\u6210\u5458")},model:{value:e.todoSettingData.userids,callback:function(r){e.$set(e.todoSettingData,"userids",r)},expression:"todoSettingData.userids"}})],1):e._e()],1),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(r){e.todoSettingShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),n("Button",{attrs:{type:"primary",loading:e.todoSettingLoad>0},on:{click:function(r){return e.onTodo("submit")}}},[e._v(e._s(e.$L("\u786E\u5B9A")))])],1)],1),n("DrawerOverlay",{attrs:{placement:"right",size:400},model:{value:e.groupInfoShow,callback:function(r){e.groupInfoShow=r},expression:"groupInfoShow"}},[e.groupInfoShow?n("DialogGroupInfo",{attrs:{dialogId:e.dialogId},on:{"on-close":function(r){e.groupInfoShow=!1}}}):e._e()],1),n("Modal",{attrs:{title:e.$L("\u8F6C\u8BA9\u7FA4\u4E3B\u8EAB\u4EFD"),"mask-closable":!1},model:{value:e.groupTransferShow,callback:function(r){e.groupTransferShow=r},expression:"groupTransferShow"}},[n("Form",{attrs:{model:e.groupTransferData,"label-width":"auto"},nativeOn:{submit:function(r){r.preventDefault()}}},[n("FormItem",{attrs:{prop:"userid",label:e.$L("\u65B0\u7684\u7FA4\u4E3B")}},[n("UserSelect",{attrs:{disabledChoice:e.groupTransferData.disabledChoice,"multiple-max":1,title:e.$L("\u9009\u62E9\u65B0\u7684\u7FA4\u4E3B")},model:{value:e.groupTransferData.userid,callback:function(r){e.$set(e.groupTransferData,"userid",r)},expression:"groupTransferData.userid"}})],1)],1),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(r){e.groupTransferShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),n("Button",{attrs:{type:"primary",loading:e.groupTransferLoad>0},on:{click:function(r){return e.onDialogMenu("transferConfirm")}}},[e._v(e._s(e.$L("\u786E\u5B9A\u8F6C\u8BA9")))])],1)],1),n("DrawerOverlay",{attrs:{placement:"right","class-name":"dialog-wrapper-drawer-list",size:500},model:{value:e.replyListShow,callback:function(r){e.replyListShow=r},expression:"replyListShow"}},[e.replyListShow?n("DialogWrapper",{staticClass:"drawer-list",attrs:{dialogId:e.dialogId,msgId:e.replyListId}},[n("div",{staticClass:"drawer-title",attrs:{slot:"head"},slot:"head"},[e._v(e._s(e.$L("\u56DE\u590D\u6D88\u606F")))])]):e._e()],1),n("DrawerOverlay",{attrs:{placement:"right",size:400},model:{value:e.respondShow,callback:function(r){e.respondShow=r},expression:"respondShow"}},[e.respondShow?n("DialogRespond",{attrs:{"respond-data":e.respondData},on:{"on-close":function(r){e.respondShow=!1}}}):e._e()],1),n("DrawerOverlay",{attrs:{placement:"right","class-name":"dialog-wrapper-drawer-list",size:500},model:{value:e.todoViewShow,callback:function(r){e.todoViewShow=r},expression:"todoViewShow"}},[n("div",{staticClass:"dialog-wrapper drawer-list"},[n("div",{staticClass:"dialog-nav"},[n("div",{staticClass:"drawer-title"},[e._v(e._s(e.$L("\u5F85\u529E\u6D88\u606F")))])]),n("Scrollbar",{attrs:{"class-name":"dialog-scroller"}},[e.todoViewMsg?n("DialogItem",{attrs:{source:e.todoViewMsg,simpleView:""},on:{"on-view-text":e.onViewText,"on-view-file":e.onViewFile,"on-down-file":e.onDownFile,"on-emoji":e.onEmoji}}):e._e(),n("Button",{staticClass:"original-button",attrs:{icon:"md-exit",type:"text",loading:e.todoViewPosLoad},on:{click:e.onPosTodo}},[e._v(e._s(e.$L("\u56DE\u5230\u539F\u6587")))])],1),n("div",{staticClass:"todo-button"},[n("Button",{attrs:{type:"primary",size:"large",icon:"md-checkbox-outline",loading:e.todoViewLoad,long:""},on:{click:e.onDoneTodo}},[e._v(e._s(e.$L("\u5B8C\u6210")))])],1)],1)]),n("DrawerOverlay",{attrs:{placement:"right",size:600},model:{value:e.approveDetailsShow,callback:function(r){e.approveDetailsShow=r},expression:"approveDetailsShow"}},[e.approveDetailsShow?n("ApproveDetails",{staticStyle:{height:"100%","border-radius":"10px"},attrs:{data:e.approveDetails}}):e._e()],1)],1):e._e()},OJ=[];const AJ={name:"DialogWrapper",components:{UserSelect:Ol,ImgUpload:Ku,DialogRespond:QZ,DialogItem:fl,VirtualList:CJ,ChatInput:yJ,DialogGroupInfo:zZ,DrawerOverlay:Wu,DialogUpload:BZ,ApproveDetails:Qu},props:{dialogId:{type:Number,default:0},msgId:{type:Number,default:0},autoFocus:{type:Boolean,default:!1},isMessenger:{type:Boolean,default:!1},beforeBack:Function},data(){return{msgItem:fl,msgText:"",msgNew:0,msgType:"",loadIng:0,allMsgs:[],tempMsgs:[],tempId:$A.randNum(1e9,9999999999),msgLoadIng:0,msgActiveIndex:-1,pasteShow:!1,pasteFile:[],pasteItem:[],searchShow:!1,searchKey:"",searchLoad:0,searchLocation:1,searchResult:[],createGroupShow:!1,createGroupData:{},createGroupLoad:0,modifyShow:!1,modifyData:{},modifyLoad:0,forwardData:[],openId:0,dialogDrag:!1,groupInfoShow:!1,groupTransferShow:!1,groupTransferLoad:0,groupTransferData:{userid:[],disabledChoice:[]},navStyle:{},operateVisible:!1,operateCopys:[],operateStyles:{},operateItem:{},recordState:"",wrapperStart:null,scrollOffset:0,scrollTail:0,preventMoreLoad:!1,preventToBottom:!1,replyListShow:!1,replyListId:0,respondShow:!1,respondData:{},todoSettingShow:!1,todoSettingLoad:0,todoSettingData:{type:"all",userids:[]},todoViewLoad:!1,todoViewPosLoad:!1,todoViewShow:!1,todoViewData:{},todoViewMid:0,todoViewId:0,scrollDisabled:!1,scrollDirection:null,scrollAction:0,scrollTmp:0,positionLoad:0,approveDetails:{id:0},approveDetailsShow:!1}},mounted(){this.msgSubscribe=_i.Store.subscribe("dialogMsgChange",this.onMsgChange)},beforeDestroy(){this.$store.dispatch("forgetInDialog",this._uid),this.$store.dispatch("closeDialog",this.dialogId),this.msgSubscribe&&(this.msgSubscribe.unsubscribe(),this.msgSubscribe=null)},computed:{...Wn(["userIsAdmin","taskId","dialogSearchMsgId","dialogMsgs","dialogTodos","dialogMsgTransfer","cacheDialogs","wsOpenNum","touchBackInProgress","dialogIns","cacheUserBasic","fileLinks","cacheEmojis","keyboardType","keyboardHeight","safeAreaBottom"]),...Nl(["isLoad"]),isReady(){return this.dialogId>0&&this.dialogData.id>0},dialogData(){return this.cacheDialogs.find(({id:e})=>e==this.dialogId)||{}},dialogList(){return this.cacheDialogs.filter(e=>!(e.name===void 0||e.dialog_delete===1)).sort((e,t)=>e.top_at||t.top_at?$A.Date(t.top_at)-$A.Date(e.top_at):e.todo_num>0||t.todo_num>0?t.todo_num-e.todo_num:$A.Date(t.last_at)-$A.Date(e.last_at))},dialogMsgList(){return this.isReady?this.dialogMsgs.filter(e=>e.dialog_id==this.dialogId):[]},tempMsgList(){return this.isReady?this.tempMsgs.filter(e=>e.dialog_id==this.dialogId):[]},allMsgList(){const e=[];if(e.push(...this.dialogMsgList.filter(t=>this.msgFilter(t))),this.msgId>0){const t=this.dialogMsgs.find(n=>n.id==this.msgId);t&&e.unshift(t)}if(this.tempMsgList.length>0){const t=e.map(({id:r})=>r),n=this.tempMsgList.filter(r=>!t.includes(r.id)&&this.msgFilter(r));n.length>0&&e.push(...n)}return e.sort((t,n)=>t.id-n.id)},loadMsg(){return this.isLoad(`msg::${this.dialogId}-${this.msgId}-${this.msgType}`)},prevId(){return this.allMsgs.length>0?$A.runNum(this.allMsgs[0].prev_id):0},peopleNum(){return this.dialogData.type==="group"?$A.runNum(this.dialogData.people):0},pasteTitle(){const{pasteItem:e}=this;let t=e.find(({type:r})=>r=="image"),n=e.find(({type:r})=>r!="image");return t&&n?"\u53D1\u9001\u6587\u4EF6/\u56FE\u7247":t?"\u53D1\u9001\u56FE\u7247":"\u53D1\u9001\u6587\u4EF6"},msgTags(){const e=[{type:"",label:"\u6D88\u606F"}];return this.dialogData.has_tag&&e.push({type:"tag",label:"\u6807\u6CE8"}),this.dialogData.has_image&&e.push({type:"image",label:"\u56FE\u7247"}),this.dialogData.has_file&&e.push({type:"file",label:"\u6587\u4EF6"}),this.dialogData.has_link&&e.push({type:"link",label:"\u94FE\u63A5"}),this.dialogData.group_type==="project"&&e.push({type:"project",label:"\u6253\u5F00\u9879\u76EE"}),this.dialogData.group_type==="task"&&e.push({type:"task",label:"\u6253\u5F00\u4EFB\u52A1"}),e},quickMsgs(){return this.dialogData.quick_msgs||[]},quickShow(){return this.quickMsgs.length>0&&this.windowScrollY===0&&this.quoteId===0},todoList(){return this.dialogData.todo_num?this.dialogTodos.filter(e=>!e.done_at&&e.dialog_id==this.dialogId).sort((e,t)=>t.id-e.id):[]},todoShow(){return this.todoList.length>0&&this.windowScrollY===0&&this.quoteId===0},wrapperClass(){return["ready","ing"].includes(this.recordState)?["record-ready"]:null},tagShow(){return this.msgTags.length>1&&this.windowScrollY===0&&!this.searchShow},scrollerClass(){return!this.$slots.head&&this.tagShow?"default-header":null},pasteWrapperClass(){return this.pasteItem.find(({type:e})=>e!=="image")?["multiple"]:[]},footerClass(){return this.msgNew>0&&this.allMsgs.length>0?"newmsg":this.scrollTail>500?"goto":null},footerPaddingBottom({keyboardType:e,keyboardHeight:t,safeAreaBottom:n,windowScrollY:r,isMessenger:a}){return r===0&&a&&e==="show"&&t>0&&t<120?t+n:0},footerStyle({footerPaddingBottom:e}){const t={};return e&&(t.paddingBottom=`${e}px`),t},msgUnreadOnly(){let e=0;return this.cacheDialogs.some(t=>{e+=$A.getDialogNum(t)}),e<=0?"":(e>999&&(e="999+"),String(e))},isMyDialog(){const{dialogData:e,userId:t}=this;return e.dialog_user&&e.dialog_user.userid==t},isManageBot(){const{dialogData:e,userId:t,userIsAdmin:n}=this;return e.bot?e.bot==t?!0:e.dialog_user&&e.dialog_user.userid==e.bot&&n:!1},isMute(){if(this.dialogData.group_type==="all"){if(this.dialogData.all_group_mute==="all")return!0;if(this.dialogData.all_group_mute==="user"&&!this.userIsAdmin)return!0}return!1},quoteId(){return this.msgId>0?this.msgId:this.dialogData.extra_quote_id||0},quoteUpdate(){return this.dialogData.extra_quote_type==="update"},quoteData(){return this.quoteId?this.allMsgs.find(({id:e})=>e===this.quoteId):null},todoViewMsg(){if(this.todoViewMid){const e=this.allMsgs.find(t=>t.id==this.todoViewMid);if(e)return e;if(this.todoViewData.id===this.todoViewMid)return this.todoViewData}return null},positionMsg(){const{unread:e,position_msgs:t}=this.dialogData;if(!t||t.length===0||e===0||this.allMsgs.length===0)return null;const n=t.sort((r,a)=>a.msg_id-r.msg_id)[0];return this.allMsgs.findIndex(({id:r})=>r==n.msg_id)===-1?n.label==="{UNREAD}"?Object.assign(n,{label:this.$L(`\u672A\u8BFB\u6D88\u606F${e}\u6761`)}):n:null},operateEmojis(){const e=this.cacheEmojis.slice(0,3);return Object.values(["\u{1F44C}","\u{1F44D}","\u{1F602}","\u{1F389}","\u2764\uFE0F","\u{1F973}\uFE0F","\u{1F970}","\u{1F625}","\u{1F62D}"]).some(t=>{e.includes(t)||e.push(t)}),e}},watch:{dialogId:{handler(e,t){e&&(this.msgNew=0,this.msgType="",this.searchShow=!1,this.allMsgList.length>0&&(this.allMsgs=this.allMsgList,requestAnimationFrame(this.onToBottom)),this.getMsgs({dialog_id:e,msg_id:this.msgId,msg_type:this.msgType}).then(n=>{this.openId=e,setTimeout(this.onSearchMsgId,100)}).catch(n=>{}),this.$store.dispatch("saveInDialog",{uid:this._uid,dialog_id:e}),this.autoFocus&&this.inputFocus()),this.$store.dispatch("closeDialog",t)},immediate:!0},loadMsg:{handler(e){e?this.loadIng++:setTimeout(t=>{this.loadIng--},300)},immediate:!0},msgType(){this.getMsgs({dialog_id:this.dialogId,msg_id:this.msgId,msg_type:this.msgType,clear_before:!0}).catch(e=>{})},searchKey(e){!e||(this.searchLoad++,setTimeout(t=>{this.searchKey===e&&(this.searchLoad++,this.searchResult=[],this.searchLocation=0,this.$store.dispatch("call",{url:"dialog/msg/search",data:{dialog_id:this.dialogId,key:e}}).then(({data:n})=>{this.searchKey===e&&(this.searchResult=n.data,this.searchLocation=this.searchResult.length)}).finally(n=>{this.searchLoad--})),this.searchLoad--},600))},searchLocation(e){if(e===0)return;const t=this.searchResult[e-1];t&&this.onPositionId(t)},dialogSearchMsgId(){this.onSearchMsgId()},dialogMsgTransfer:{handler({time:e,msgFile:t,msgRecord:n,msgText:r,dialogId:a}){e>$A.Time()&&a==this.dialogId&&(this.$store.state.dialogMsgTransfer.time=0,this.$nextTick(()=>{$A.isArray(t)&&t.length>0?this.sendFileMsg(t):$A.isJson(n)&&n.duration>0?this.sendRecord(n):r&&this.sendMsg(r)}))},immediate:!0},wsOpenNum(e){e<=1||this.getMsgs({dialog_id:this.dialogId,msg_id:this.msgId,msg_type:this.msgType}).catch(t=>{})},allMsgList(e,t){const{tail:n}=this.scrollInfo();if($A.isIos()&&e.length!==t.length?(this.$refs.scroller.$el.style.visibility="hidden",this.allMsgs=e,this.$nextTick(r=>{this.$refs.scroller.$el.style.visibility="visible"})):this.allMsgs=e,!this.windowActive||n>55&&t.length>0){const r=t[t.length-1]?t[t.length-1].id:0,a=e.filter(l=>l.id&&l.id>r);this.msgNew+=a.length}else this.preventToBottom||this.$nextTick(this.onToBottom)},windowScrollY(e){if($A.isIos()&&!this.$slots.head){const{tail:t}=this.scrollInfo();this.navStyle={marginTop:e+"px"},t<=55&&requestAnimationFrame(this.onToBottom),this.$refs.input.isFocus&&$A.scrollToView(this.$refs.footer)}},windowActive(e){if(e&&this.autoFocus){const t=$A.last(this.dialogIns);t&&t.uid===this._uid&&this.inputFocus()}},windowHeight(e,t){if(e-1&&setTimeout(t=>this.msgActiveIndex=-1,800)},footerPaddingBottom(e){if(e){const{tail:t}=this.scrollInfo();t<=55&&requestAnimationFrame(this.onToBottom)}}},methods:{sendMsg(e,t){let n,r="text",a="no",l=!1;if(typeof e=="string"&&e?n=e:(n=this.msgText,l=!0),t==="md"?(n=this.$refs.input.getText(),r="md"):t==="silence"&&(a="yes"),n==""){this.inputFocus();return}if(r==="text"&&(n=n.replace(/<\/span> <\/p>$/,"

")),this.quoteUpdate){r==="text"&&(n=n.replace(new RegExp(`src=(["'])${$A.apiUrl("../")}`,"g"),"src=$1{{RemoteURL}}"));const u=this.quoteId;this.$store.dispatch("setLoad",{key:`msg-${u}`,delay:600}),this.cancelQuote(),this.onActive(),this.$store.dispatch("call",{url:"dialog/msg/sendtext",data:{dialog_id:this.dialogId,update_id:u,text:n,text_type:r,silence:a},method:"post",complete:c=>this.$store.dispatch("cancelLoad",`msg-${u}`)}).then(({data:c})=>{this.sendSuccess(c),this.onPositionId(u)}).catch(({msg:c})=>{$A.modalError(c)})}else{const u=$A.stringLength(n.replace(/]*?>/g,""))>5e3,c={id:this.getTempId(),dialog_id:this.dialogData.id,reply_id:this.quoteId,reply_data:this.quoteData,type:u?"loading":"text",userid:this.userId,msg:{text:u?"":n,type:r}};this.tempMsgs.push(c),this.msgType="",this.cancelQuote(),this.onActive(),this.$nextTick(this.onToBottom),this.$store.dispatch("call",{url:"dialog/msg/sendtext",data:{dialog_id:c.dialog_id,reply_id:c.reply_id,text:n,text_type:r,silence:a},method:"post"}).then(({data:d})=>{this.tempMsgs=this.tempMsgs.filter(({id:f})=>f!=c.id),this.sendSuccess(d)}).catch(d=>{this.$set(c,"error",!0),this.$set(c,"errorData",{type:"text",content:d.msg,msg:n})})}l&&requestAnimationFrame(u=>this.msgText="")},sendRecord(e){const t={id:this.getTempId(),dialog_id:this.dialogData.id,reply_id:this.quoteId,reply_data:this.quoteData,type:"loading",userid:this.userId,msg:e};this.tempMsgs.push(t),this.msgType="",this.cancelQuote(),this.onActive(),this.$nextTick(this.onToBottom),this.$store.dispatch("call",{url:"dialog/msg/sendrecord",data:Object.assign(e,{dialog_id:this.dialogId,reply_id:this.quoteId}),method:"post"}).then(({data:n})=>{this.tempMsgs=this.tempMsgs.filter(({id:r})=>r!=t.id),this.sendSuccess(n)}).catch(n=>{this.$set(t,"error",!0),this.$set(t,"errorData",{type:"record",content:n.msg,msg:e})})},sendFileMsg(e){const t=$A.isArray(e)?e:[e];t.length>0&&(this.pasteFile=[],this.pasteItem=[],t.some(n=>{const r={type:$A.getMiddle(n.type,null,"/"),name:n.name,size:n.size,result:null};if(r.type==="image"){const a=new FileReader;a.readAsDataURL(n),a.onload=({target:l})=>{r.result=l.result,this.pasteFile.push(n),this.pasteItem.push(r),this.pasteShow=!0}}else this.pasteFile.push(n),this.pasteItem.push(r),this.pasteShow=!0}))},sendQuick(e){this.sendMsg(`

${e.label}

`)},onMsgChange(e){const t=this.allMsgs.find(({type:n,id:r})=>n=="text"&&r==e.id);if(t){const{tail:n}=this.scrollInfo();e.type==="append"?t.msg.text+=e.text:e.type==="replace"&&(t.msg.text=e.text),n<=55&&this.onToBottom()}},getTempId(){return this.tempId++},getMsgs(e){return new Promise((t,n)=>{setTimeout(r=>this.msgLoadIng++,2e3),this.$store.dispatch("getDialogMsgs",e).then(t).catch(n).finally(r=>{this.msgLoadIng--})})},msgFilter(e){if(this.msgType){if(this.msgType==="tag"){if(!e.tag)return!1}else if(this.msgType==="link"){if(!e.link)return!1}else if(this.msgType!==e.mtype)return!1}return!(this.msgId&&e.reply_id!=this.msgId)},onSearchMsgId(){this.dialogSearchMsgId>0&&this.openId===this.dialogId&&(this.onPositionId(this.dialogSearchMsgId),this.$store.state.dialogSearchMsgId=0)},onPositionId(e,t=0,n=0){return new Promise((r,a)=>{if(e===0){$A.modalError("\u67E5\u770B\u5931\u8D25\uFF1A\u53C2\u6570\u9519\u8BEF"),a();return}if(this.loadMsg||this.msgType!==""){if(this.msgType="",n===0)this.$store.dispatch("showSpinner",600);else if(n>20){this.$store.dispatch("hiddenSpinner"),$A.modalError("\u67E5\u770B\u5931\u8D25\uFF1A\u8BF7\u6C42\u8D85\u65F6"),a();return}n++,setTimeout(c=>{this.onPositionId(e,t,n).then(r).catch(a)},Math.min(800,200*n));return}n>0&&this.$store.dispatch("hiddenSpinner");const l=this.allMsgs.findIndex(c=>c.id===e),u=this.prevId>0?0:-1;l>u?setTimeout(c=>{this.onToIndex(l),r()},200):(t>0&&this.$store.dispatch("setLoad",{key:`msg-${t}`,delay:600}),this.preventToBottom=!0,this.getMsgs({dialog_id:this.dialogId,msg_id:this.msgId,msg_type:this.msgType,position_id:e,spinner:2e3}).finally(c=>{const d=this.allMsgs.findIndex(f=>f.id===e);d>-1&&(this.onToIndex(d),r()),t>0&&this.$store.dispatch("cancelLoad",`msg-${t}`),this.preventToBottom=!1}))})},onViewTodo(e){if(this.operateVisible)return;this.todoViewId=e.id,this.todoViewMid=e.msg_id,this.todoViewShow=!0,this.allMsgs.findIndex(n=>n.id===this.todoViewMid)===-1&&this.$store.dispatch("call",{url:"dialog/msg/one",data:{msg_id:this.todoViewMid}}).then(({data:n})=>{this.todoViewData=n})},onCloseTodo(){this.todoViewLoad=!1,this.todoViewShow=!1,this.todoViewData={},this.todoViewMid=0,this.todoViewId=0},onPosTodo(){!this.todoViewMid||(this.todoViewPosLoad=!0,this.onPositionId(this.todoViewMid).then(this.onCloseTodo).finally(e=>{this.todoViewPosLoad=!1}))},onDoneTodo(){!this.todoViewId||this.todoViewLoad||(this.todoViewLoad=!0,this.$store.dispatch("call",{url:"dialog/msg/done",data:{id:this.todoViewId}}).then(({data:e})=>{this.$store.dispatch("saveDialogTodo",{id:this.todoViewId,done_at:$A.formatDate("Y-m-d H:i:s")}),this.$store.dispatch("saveDialog",{id:this.dialogId,todo_num:this.todoList.length}),e.add&&this.sendSuccess(e.add),this.todoList.length===0&&this.$store.dispatch("getDialogTodo",this.dialogId),this.onCloseTodo()}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.todoViewLoad=!1}))},itemClassAdd(e){return e===this.msgActiveIndex?"common-shake":""},inputFocus(){this.$nextTick(e=>{this.$refs.input&&this.$refs.input.focus()})},onRecordState(e){this.recordState=e},chatPasteDrag(e,t){if(this.dialogDrag=!1,$A.dataHasFolder(t==="drag"?e.dataTransfer:e.clipboardData)){e.preventDefault(),$A.modalWarning(`\u6682\u4E0D\u652F\u6301${t==="drag"?"\u62D6\u62FD":"\u7C98\u8D34"}\u6587\u4EF6\u5939\u3002`);return}const n=t==="drag"?e.dataTransfer.files:e.clipboardData.files,r=Array.prototype.slice.call(n);r.length>0&&(e.preventDefault(),this.sendFileMsg(r))},chatDragOver(e,t){let n=this.__dialogDrag=$A.randomString(8);if(!e)setTimeout(()=>{n===this.__dialogDrag&&(this.dialogDrag=e)},150);else{if(t.dataTransfer.effectAllowed==="move"||Array.prototype.slice.call(t.dataTransfer.files).length===0)return;this.dialogDrag=!0}},onTouchStart(e){if(this.wrapperStart=null,this.$refs.scroller.$el.contains(e.target))this.wrapperStart=Object.assign(this.scrollInfo(),{clientY:e.touches[0].clientY});else if(this.$refs.input.$refs.editor.contains(e.target)){const t=this.$refs.input.$refs.editor.querySelector(".ql-editor");if(t){const n=t.clientHeight,r=t.scrollTop,a=t.scrollHeight;this.wrapperStart={offset:r,scale:r/(a-n),tail:a-n-r,clientY:e.touches[0].clientY}}}},onTouchMove(e){if(this.footerPaddingBottom>0||this.windowPortrait&&this.windowScrollY>0){if(this.wrapperStart===null){e.preventDefault();return}this.wrapperStart.clientY>e.touches[0].clientY?this.wrapperStart.tail===0&&e.preventDefault():this.wrapperStart.offset===0&&e.preventDefault()}},pasteSend(){this.pasteFile.some(e=>{this.$refs.chatUpload.upload(e)})},chatFile(e,t){switch(e){case"progress":const n={id:t.tempId,dialog_id:this.dialogData.id,reply_id:this.quoteId,type:"loading",userid:this.userId,msg:{}};this.tempMsgs.push(n),this.msgType="",this.cancelQuote(),this.onActive(),this.$nextTick(this.onToBottom);break;case"error":this.tempMsgs=this.tempMsgs.filter(({id:r})=>r!=t.tempId);break;case"success":this.tempMsgs=this.tempMsgs.filter(({id:r})=>r!=t.tempId),this.sendSuccess(t.data);break}},sendSuccess(e){if($A.isArray(e)){e.some(this.sendSuccess);return}this.$store.dispatch("saveDialogMsg",e),this.quoteUpdate||(this.$store.dispatch("increaseTaskMsgNum",e),this.$store.dispatch("increaseMsgReplyNum",e),this.$store.dispatch("updateDialogLastMsg",e)),this.cancelQuote(),this.onActive()},setQuote(e,t){var n;(n=this.$refs.input)==null||n.setQuote(e,t)},cancelQuote(){var e;(e=this.$refs.input)==null||e.cancelQuote()},onEventFocus(){this.$emit("on-focus")},onEventBlur(){this.$emit("on-blur")},onEventMore(e){switch(e){case"image":case"file":this.$refs.chatUpload.handleClick();break;case"call":this.onCallTel();break;case"anon":this.onAnon();break}},onCallTel(){this.$store.dispatch("call",{url:"dialog/tel",data:{dialog_id:this.dialogId},spinner:600}).then(({data:e})=>{e.tel&&$A.eeuiAppSendMessage({action:"callTel",tel:e.tel}),e.add&&(this.$store.dispatch("saveDialogMsg",e.add),this.$store.dispatch("updateDialogLastMsg",e.add),this.onActive())}).catch(({msg:e})=>{$A.modalError(e)})},onAnon(){if(this.dialogData.type!=="user"||this.dialogData.bot){$A.modalWarning("\u533F\u540D\u6D88\u606F\u4EC5\u5141\u8BB8\u53D1\u9001\u7ED9\u4E2A\u4EBA");return}$A.modalInput({title:"\u53D1\u9001\u533F\u540D\u6D88\u606F",placeholder:"\u533F\u540D\u6D88\u606F\u5C06\u901A\u8FC7\u533F\u540D\u6D88\u606F\uFF08\u673A\u5668\u4EBA\uFF09\u53D1\u9001\u7ED9\u5BF9\u65B9\uFF0C\u4E0D\u4F1A\u8BB0\u5F55\u4F60\u7684\u4EFB\u4F55\u8EAB\u4EFD\u4FE1\u606F",inputProps:{type:"textarea",rows:3,autosize:{minRows:3,maxRows:6},maxlength:2e3},okText:"\u533F\u540D\u53D1\u9001",onOk:e=>e?new Promise((t,n)=>{this.$store.dispatch("call",{url:"dialog/msg/sendanon",data:{userid:this.dialogData.dialog_user.userid,text:e},method:"post"}).then(({msg:r})=>{t(r)}).catch(({msg:r})=>{n(r)})}):"\u8BF7\u8F93\u5165\u6D88\u606F\u5185\u5BB9"})},onEventEmojiVisibleChange(e){e&&this.windowPortrait&&this.onToBottom()},onHeightChange({newVal:e,oldVal:t}){const n=e-t;if(n!==0){const{offset:r,tail:a}=this.scrollInfo();a>0&&this.onToOffset(r+n)}},onActive(){this.$emit("on-active")},onToBottom(){this.msgNew=0;const e=this.$refs.scroller;e&&(e.scrollToBottom(),requestAnimationFrame(t=>e.scrollToBottom()))},onToIndex(e){const t=this.$refs.scroller;t&&(t.stopToBottom(),t.scrollToIndex(e,-100),requestAnimationFrame(n=>t.scrollToIndex(e,-100))),requestAnimationFrame(n=>this.msgActiveIndex=e)},onToOffset(e){const t=this.$refs.scroller;t&&(t.stopToBottom(),t.scrollToOffset(e),setTimeout(n=>t.scrollToOffset(e),10))},scrollInfo(){const e=this.$refs.scroller;return e?e.scrollInfo():{offset:0,scale:0,tail:0}},openProject(){!this.dialogData.group_info||(this.windowPortrait&&this.$store.dispatch("openDialog",0),this.goForward({name:"manage-project",params:{projectId:this.dialogData.group_info.id}}))},openTask(){!this.dialogData.group_info||(this.taskId>0&&this.$store.dispatch("openDialog",0),this.$store.dispatch("openTask",{id:this.dialogData.group_info.id,deleted_at:this.dialogData.group_info.deleted_at,archived_at:this.dialogData.group_info.archived_at}))},onPrevPage(){this.prevId!==0&&this.getMsgs({dialog_id:this.dialogId,msg_id:this.msgId,msg_type:this.msgType,prev_id:this.prevId,save_before:e=>this.scrollDisabled=!0,save_after:e=>this.scrollDisabled=!1}).then(({data:e})=>{const t=e.list.map(n=>n.id);this.$nextTick(()=>{const n=this.$refs.scroller,r=t.reduce((l,u)=>({size:(typeof l=="object"?l.size:n.getSize(l))+n.getSize(u)}));let a=n.getOffset()+r.size;this.prevId===0&&(a-=36),this.onToOffset(a),setTimeout(l=>n.virtual.handleFront(),10)})}).catch(()=>{})},onDialogMenu(e){var t;switch(e){case"searchMsg":this.searchShow=!0,this.$nextTick(r=>{this.$refs.searchInput.focus()});break;case"openCreate":const n=[this.userId];this.dialogData.dialog_user&&this.userId!=this.dialogData.dialog_user.userid&&n.push(this.dialogData.dialog_user.userid),this.createGroupData={userids:n,uncancelable:[this.userId]},this.createGroupShow=!0;break;case"modifyNormal":this.modifyData={dialog_id:this.dialogData.id,avatar:this.dialogData.avatar,name:this.dialogData.name},this.dialogData.type==="user"&&(this.modifyData=Object.assign(this.modifyData,{userid:this.dialogData.dialog_user.userid,avatar:(t=this.cacheUserBasic.find(r=>r.userid===this.dialogData.dialog_user.userid))==null?void 0:t.userimg,clear_day:0,webhook_url:"",system_name:""}),this.modifyLoad++,this.$store.dispatch("call",{url:"users/bot/info",data:{id:this.dialogData.dialog_user.userid}}).then(({data:r})=>{this.modifyData.clear_day=r.clear_day,this.modifyData.webhook_url=r.webhook_url,this.modifyData.system_name=r.system_name}).finally(()=>{this.modifyLoad--})),this.modifyShow=!0;break;case"modifyAdmin":this.modifyData={dialog_id:this.dialogData.id,avatar:this.dialogData.avatar,admin:1},this.modifyShow=!0;break;case"groupInfo":this.groupInfoShow=!0;break;case"transfer":this.groupTransferData={dialog_id:this.dialogId,userid:[],disabledChoice:[this.userId]},this.groupTransferShow=!0;break;case"transferConfirm":this.onTransferGroup();break;case"disband":this.onDisbandGroup();break;case"exit":this.onExitGroup();break}},onTransferGroup(){if(this.groupTransferData.userid.length===0){$A.messageError("\u8BF7\u9009\u62E9\u65B0\u7684\u7FA4\u4E3B");return}this.groupTransferLoad++,this.$store.dispatch("call",{url:"dialog/group/transfer",data:{dialog_id:this.dialogId,userid:this.groupTransferData.userid[0]}}).then(({data:e,msg:t})=>{$A.messageSuccess(t),this.$store.dispatch("saveDialog",e)}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.groupTransferLoad--,this.groupTransferShow=!1})},onDisbandGroup(){$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u8981\u89E3\u6563\u3010${this.dialogData.name}\u3011\u7FA4\u7EC4\u5417\uFF1F`,loading:!0,okText:"\u89E3\u6563",onOk:()=>new Promise((e,t)=>{this.$store.dispatch("call",{url:"dialog/group/disband",data:{dialog_id:this.dialogId}}).then(({msg:n})=>{e(n),this.$store.dispatch("forgetDialog",this.dialogId),this.goForward({name:"manage-messenger"})}).catch(({msg:n})=>{t(n)})})})},onExitGroup(){$A.modalConfirm({content:"\u4F60\u786E\u5B9A\u8981\u9000\u51FA\u7FA4\u7EC4\u5417\uFF1F",loading:!0,onOk:()=>new Promise((e,t)=>{this.$store.dispatch("call",{url:"dialog/group/deluser",data:{dialog_id:this.dialogId}}).then(({msg:n})=>{e(n),this.$store.dispatch("forgetDialog",this.dialogId),this.goForward({name:"manage-messenger"})}).catch(({msg:n})=>{t(n)})})})},onCreateGroup(){this.createGroupLoad++,this.$store.dispatch("call",{url:"dialog/group/add",data:this.createGroupData}).then(({data:e,msg:t})=>{$A.messageSuccess(t),this.createGroupShow=!1,this.createGroupData={},this.$store.dispatch("saveDialog",e),this.$store.dispatch("openDialog",e.id)}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.createGroupLoad--})},onModify(){this.modifyData.userid?(this.modifyLoad++,this.$store.dispatch("call",{url:"users/bot/edit",data:{id:this.modifyData.userid,avatar:this.modifyData.avatar,name:this.modifyData.name,clear_day:this.modifyData.clear_day,webhook_url:this.modifyData.webhook_url},method:"post"}).then(({data:e,msg:t})=>{$A.messageSuccess(t),this.$store.dispatch("saveUserBasic",{userid:this.modifyData.userid,nickname:e.name,userimg:e.avatar}),this.$store.dispatch("saveDialog",{id:this.modifyData.dialog_id,name:e.name}),this.modifyShow=!1,this.modifyData={}}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.modifyLoad--})):(this.modifyLoad++,this.$store.dispatch("call",{url:"dialog/group/edit",data:this.modifyData}).then(({data:e,msg:t})=>{$A.messageSuccess(t),this.$store.dispatch("saveDialog",e),this.modifyShow=!1,this.modifyData={}}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.modifyLoad--}))},onForward(){return new Promise((e,t)=>{if(this.forwardData.length===0){$A.messageError("\u8BF7\u9009\u62E9\u8F6C\u53D1\u5BF9\u8BDD\u6216\u6210\u5458"),t();return}const n=this.forwardData.filter(a=>$A.leftExists(a,"d:")).map(a=>a.replace("d:","")),r=this.forwardData.filter(a=>!$A.leftExists(a,"d:"));this.$store.dispatch("call",{url:"dialog/msg/forward",data:{dialogids:n,userids:r,msg_id:this.operateItem.id}}).then(({data:a,msg:l})=>{this.$store.dispatch("saveDialogMsg",a.msgs),this.$store.dispatch("updateDialogLastMsg",a.msgs),$A.messageSuccess(l),e()}).catch(({msg:a})=>{$A.modalError(a),t()})})},onScroll(e){this.operateVisible=!1;const{offset:t,tail:n}=this.scrollInfo();this.scrollOffset=t,this.scrollTail=n,this.scrollTail<=55&&(this.msgNew=0),this.scrollAction=e.target.scrollTop,this.scrollDirection=this.scrollTmp<=this.scrollAction?"down":"up",setTimeout(r=>this.scrollTmp=this.scrollAction,0)},onRange(e){if(this.preventMoreLoad)return;const t=this.scrollDirection==="down"?"next_id":"prev_id";for(let n=e.start;n<=e.end;n++){const r=this.allMsgs[n][t];if(r){const a=this.allMsgs[n+(t==="next_id"?1:-1)];a&&a.id!=r&&(this.preventMoreLoad=!0,this.getMsgs({dialog_id:this.dialogId,msg_id:this.msgId,msg_type:this.msgType,[t]:r}).finally(l=>{this.preventMoreLoad=!1}))}}},onBack(){if(!this.beforeBack)return this.handleBack();const e=this.beforeBack();e&&e.then?e.then(()=>{this.handleBack()}):this.handleBack()},handleBack(){const{name:e,params:t}=this.$store.state.routeHistoryLast;e===this.$route.name&&/^\d+$/.test(t.dialogId)?this.goForward({name:this.$route.name}):this.goBack()},onMsgType(e){switch(e){case"project":this.openProject();break;case"task":this.openTask();break;default:this.loadMsg?$A.messageWarning("\u6B63\u5728\u52A0\u8F7D\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5..."):this.msgType=e;break}},onMention(e){const t=this.cacheUserBasic.find(({userid:n})=>n==e.userid);t&&this.$refs.input.addMention({denotationChar:"@",id:t.userid,value:t.nickname})},onLongpress({event:e,el:t,msgData:n}){this.operateVisible=this.operateItem.id===n.id,this.operateItem=$A.isJson(n)?n:{},this.operateCopys=[],e.target.nodeName==="IMG"&&this.$Electron?this.operateCopys.push({type:"image",icon:"",label:"\u590D\u5236\u56FE\u7247",value:$A.thumbRestore(e.target.currentSrc)}):e.target.nodeName==="A"&&(e.target.classList.contains("mention")&&e.target.classList.contains("file")&&this.findOperateFile(this.operateItem.id,e.target.href),this.operateCopys.push({type:"link",icon:"",label:"\u590D\u5236\u94FE\u63A5",value:e.target.href})),n.type==="text"&&(e.target.nodeName==="IMG"&&this.operateCopys.push({type:"imagedown",icon:"",label:"\u4E0B\u8F7D\u56FE\u7247",value:$A.thumbRestore(e.target.currentSrc)}),n.msg.text.replace(/<[^>]+>/g,"").length>0&&this.operateCopys.push({type:"text",icon:"",label:this.operateCopys.length>0?"\u590D\u5236\u6587\u672C":"\u590D\u5236",value:""})),this.$nextTick(()=>{const r=t.getBoundingClientRect(),a=this.$el.getBoundingClientRect();this.operateStyles={left:`${e.clientX-a.left}px`,top:`${r.top+this.windowScrollY}px`,height:r.height+"px"},this.operateVisible=!0})},onOperate(e,t=null){this.operateVisible=!1,this.$nextTick(n=>{switch(e){case"reply":this.onReply();break;case"update":this.onUpdate();break;case"copy":this.onCopy(t);break;case"forward":this.forwardData=[],this.$refs.forwardSelect.onSelection();break;case"withdraw":this.onWithdraw();break;case"view":this.onViewFile();break;case"down":this.onDownFile();break;case"tag":this.onTag();break;case"newTask":let r=$A.formatMsgBasic(this.operateItem.msg.text);r=r.replace(/]*?src=(["'])(.*?)(_thumb\.jpg)*\1[^>]*?>/g,''),_i.Store.set("addTask",{owner:[this.userId],content:r});break;case"todo":this.onTodo();break;case"pos":this.onPositionId(this.operateItem.id);break;case"emoji":t==="more"?RJ().then(this.onEmoji):this.onEmoji(t);break}})},onReply(e){const{tail:t}=this.scrollInfo();this.setQuote(this.operateItem.id,e),this.inputFocus(),t<=55&&requestAnimationFrame(this.onToBottom)},onUpdate(){const{type:e}=this.operateItem;if(this.onReply(e==="text"?"update":"reply"),e==="text"){let{text:t,type:n}=this.operateItem.msg;this.$refs.input.setPasteMode(!1),n==="md"?this.$refs.input.setText(t):(t.indexOf("mention")>-1&&(t=t.replace(/
]*)>~([^>]*)<\/a>/g,'~$3'),t=t.replace(/([@#])([^>]*)<\/span>/g,'$3$4')),t=t.replace(/]*>/gi,r=>r.replace(/(width|height)="\d+"\s*/ig,"")),this.msgText=$A.formatMsgBasic(t)),this.$nextTick(r=>this.$refs.input.setPasteMode(!0))}},onCopy(e){if(!$A.isJson(e))return;const{type:t,value:n}=e;switch(t){case"image":this.$Electron&&this.getBase64Image(n).then(a=>{this.$Electron.sendMessage("copyBase64Image",{base64:a})});break;case"imagedown":this.$store.dispatch("downUrl",{url:n,token:!1});break;case"filepos":this.windowPortrait&&this.$store.dispatch("openDialog",0),this.goForward({name:"manage-file",params:n});break;case"link":this.$copyText(n).then(a=>$A.messageSuccess("\u590D\u5236\u6210\u529F")).catch(a=>$A.messageError("\u590D\u5236\u5931\u8D25"));break;case"text":const r=$A(this.$refs.scroller.$el).find(`[data-id="${this.operateItem.id}"]`).find(".dialog-content");if(r.length>0){const a=r[0].innerText.replace(/\n\n/g,` `).replace(/(^\s*)|(\s*$)/g,"");this.$copyText(a).then(l=>$A.messageSuccess("\u590D\u5236\u6210\u529F")).catch(l=>$A.messageError("\u590D\u5236\u5931\u8D25"))}else $A.messageWarning("\u4E0D\u53EF\u590D\u5236\u7684\u5185\u5BB9");break}},onWithdraw(){$A.modalConfirm({content:"\u786E\u5B9A\u64A4\u56DE\u6B64\u4FE1\u606F\u5417\uFF1F",okText:"\u64A4\u56DE",loading:!0,onOk:()=>new Promise((e,t)=>{this.$store.dispatch("call",{url:"dialog/msg/withdraw",data:{msg_id:this.operateItem.id}}).then(()=>{e("\u6D88\u606F\u5DF2\u64A4\u56DE"),this.$store.dispatch("forgetDialogMsg",this.operateItem.id)}).catch(({msg:n})=>{t(n)})})})},onViewReply(e){this.operateVisible||this.onPositionId(e.reply_id,e.msg_id)},onViewText({target:e},t){if(this.operateVisible)return;let n=$(e).parents(".open-approve-details");if(n.length>0){let r=n[0].getAttribute("data-id");window.innerWidth<426?this.goForward({name:"manage-approve-details",query:{id:n[0].getAttribute("data-id")}}):(this.approveDetailsShow=!0,this.$nextTick(()=>{this.approveDetails={id:r}}));return}switch(e.nodeName){case"IMG":if(e.classList.contains("browse"))this.onViewPicture(e.currentSrc);else{const r=$A.getTextImagesInfo(t.outerHTML),a=r.findIndex(l=>l.src==e.currentSrc);this.$store.dispatch("previewImage",{index:a,list:r})}break;case"SPAN":e.classList.contains("mention")&&e.classList.contains("task")&&this.$store.dispatch("openTask",$A.runNum(e.getAttribute("data-id")));break}},onViewFile(e){if(this.operateVisible)return;$A.isJson(e)||(e=this.operateItem);const{msg:t}=e;if(["jpg","jpeg","webp","gif","png"].includes(t.ext)){this.onViewPicture(t.path);return}const n=`/single/file/msg/${e.id}`;this.$Electron?this.$Electron.sendMessage("windowRouter",{name:`file-msg-${e.id}`,path:n,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:`${t.name} (${$A.bytesToSize(t.size)})`,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)},webPreferences:{nodeIntegrationInSubFrames:t.ext==="drawio"}}):this.$isEEUiApp?$A.eeuiAppOpenPage({pageType:"app",pageTitle:`${t.name} (${$A.bytesToSize(t.size)})`,url:"web.js",params:{titleFixed:!0,allowAccess:!0,url:$A.rightDelete(window.location.href,window.location.hash)+`#${n}`}}):window.open($A.apiUrl(`..${n}`))},onViewPicture(e){const t=this.allMsgs.filter(a=>a.type==="file"?["jpg","jpeg","webp","gif","png"].includes(a.msg.ext):a.type==="text"?a.msg.text.match(/]*?>/):!1),n=[];t.some(({type:a,msg:l})=>{a==="file"?n.push({src:l.path,width:l.width,height:l.height}):a==="text"&&n.push(...$A.getTextImagesInfo(l.text))});const r=n.findIndex(({src:a})=>a===e);r>-1?this.$store.dispatch("previewImage",{index:r,list:n}):this.$store.dispatch("previewImage",e)},onDownFile(e){this.operateVisible||($A.isJson(e)||(e=this.operateItem),$A.modalConfirm({title:"\u4E0B\u8F7D\u6587\u4EF6",content:`${e.msg.name} (${$A.bytesToSize(e.msg.size)})`,okText:"\u7ACB\u5373\u4E0B\u8F7D",onOk:()=>{this.$store.dispatch("downUrl",$A.apiUrl(`dialog/msg/download?msg_id=${e.id}`))}}))},onReplyList(e){this.operateVisible||(this.replyListId=e.msg_id,this.replyListShow=!0)},onError(e){if(e.error!==!0)return;const{type:t,content:n,msg:r}=e.errorData,a={icon:"error",title:"\u53D1\u9001\u5931\u8D25",content:n,cancelText:"\u53D6\u6D88\u53D1\u9001",onCancel:l=>{this.tempMsgs=this.tempMsgs.filter(({id:u})=>u!=e.id)}};if(t==="text")a.okText="\u518D\u6B21\u7F16\u8F91",a.onOk=()=>{this.tempMsgs=this.tempMsgs.filter(({id:l})=>l!=e.id),this.$refs.input.setPasteMode(!1),this.msgText=r,this.inputFocus(),this.$nextTick(l=>this.$refs.input.setPasteMode(!0))};else if(t==="record")a.okText="\u91CD\u65B0\u53D1\u9001",a.onOk=()=>{this.tempMsgs=this.tempMsgs.filter(({id:l})=>l!=e.id),this.sendRecord(r)};else return;$A.modalConfirm(a)},onEmoji(e){$A.isJson(e)||(e={msg_id:this.operateItem.id,symbol:e});const t=this.cacheEmojis.filter(n=>n!==e.symbol);t.unshift(e.symbol),$A.IDBSave("cacheEmojis",this.$store.state.cacheEmojis=t.slice(0,3)),this.$store.dispatch("setLoad",{key:`msg-${e.msg_id}`,delay:600}),this.$store.dispatch("call",{url:"dialog/msg/emoji",data:e}).then(({data:n})=>{this.dialogMsgs.findIndex(a=>a.id==n.id)>-1?this.$store.dispatch("saveDialogMsg",n):this.todoViewData.id===n.id&&(this.todoViewData=Object.assign(this.todoViewData,n))}).catch(({msg:n})=>{$A.messageError(n)}).finally(n=>{this.$store.dispatch("cancelLoad",`msg-${e.msg_id}`)})},onShowEmojiUser(e){this.operateVisible||(this.respondData=e,this.respondShow=!0)},onTag(){if(this.operateVisible)return;const e={msg_id:this.operateItem.id};this.$store.dispatch("setLoad",{key:`msg-${e.msg_id}`,delay:600}),this.$store.dispatch("call",{url:"dialog/msg/tag",data:e}).then(({data:t})=>{this.tagOrTodoSuccess(t)}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.$store.dispatch("cancelLoad",`msg-${e.msg_id}`)})},onTodo(e){var t;if(!this.operateVisible)if(e==="submit"){const n=$A.cloneJSON(this.todoSettingData);if(n.type==="my")n.type="user",n.userids=[n.my_id];else if(n.type==="you")n.type="user",n.userids=[n.you_id];else if(n.type==="user"&&$A.arrayLength(n.userids)===0){$A.messageWarning("\u9009\u62E9\u6307\u5B9A\u6210\u5458");return}this.todoSettingLoad++,this.onTodoSubmit(n).then(r=>{$A.messageSuccess(r),this.todoSettingShow=!1}).catch($A.messageError).finally(r=>{this.todoSettingLoad--})}else{const n=(t=this.dialogData.dialog_user)==null?void 0:t.userid;this.todoSettingData={type:"all",userids:[],msg_id:this.operateItem.id,my_id:this.userId,you_id:n!=this.userId&&!this.dialogData.bot?n:0},this.operateItem.todo?$A.modalConfirm({content:"\u4F60\u786E\u5B9A\u53D6\u6D88\u5F85\u529E\u5417\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",loading:!0,onOk:()=>this.onTodoSubmit(this.todoSettingData)}):this.todoSettingShow=!0}},onTodoSubmit(e){return new Promise((t,n)=>{this.$store.dispatch("setLoad",{key:`msg-${e.msg_id}`,delay:600}),this.$store.dispatch("call",{url:"dialog/msg/todo",data:e}).then(({data:r,msg:a})=>{t(a),this.tagOrTodoSuccess(r),this.onActive()}).catch(({msg:r})=>{n(r)}).finally(r=>{this.$store.dispatch("cancelLoad",`msg-${e.msg_id}`)})})},tagOrTodoSuccess(e){this.$store.dispatch("saveDialogMsg",e.update),e.add&&(this.$store.dispatch("saveDialogMsg",e.add),this.$store.dispatch("updateDialogLastMsg",e.add))},onSearchSwitch(e){if(this.searchResult.length!==0){if(this.searchLocation===1&&this.searchResult.length===1){this.onPositionId(this.searchResult[0]);return}e==="prev"?this.searchLocation<=1?this.searchLocation=this.searchResult.length:this.searchLocation--:this.searchLocation>=this.searchResult.length?this.searchLocation=1:this.searchLocation++}},onSearchKeyup(e){(e===null||e.keyCode===27)&&(this.searchShow=!1,this.searchKey="",this.searchResult=[])},onPositionMark(){if(this.positionLoad>0)return;this.positionLoad++;const{msg_id:e}=this.positionMsg;this.$store.dispatch("dialogMsgMark",{dialog_id:this.dialogId,type:"read",after_msg_id:e}).then(t=>{this.positionLoad++,this.onPositionId(e).finally(n=>{this.positionLoad--})}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.positionLoad--})},findOperateFile(e,t){const n=this.fileLinks.find(r=>r.link===t);if(n){this.addFileMenu(e,n);return}this.$store.dispatch("searchFiles",{link:t}).then(({data:r})=>{if(r.length===1){const a={link:t,id:r[0].id,pid:r[0].pid};this.fileLinks.push(a),this.addFileMenu(e,a)}}).catch(r=>{})},addFileMenu(e,t){if(this.operateItem.id!=e||this.operateCopys.findIndex(r=>r.type==="filepos")!==-1)return;const n=Math.max(0,this.operateCopys.findIndex(r=>r.type==="link")-1);this.operateCopys.splice(n,0,{type:"filepos",icon:"",label:"\u663E\u793A\u6587\u4EF6",value:{folderId:t.pid,fileId:null,shakeId:t.id}})},getBase64Image(e){return new Promise(t=>{let n=document.createElement("CANVAS"),r=n.getContext("2d"),a=new Image;a.crossOrigin="Anonymous",a.onload=()=>{n.height=a.height,n.width=a.width,r.drawImage(a,0,0);let l="png";$A.rightExists(e,"jpg")||$A.rightExists(e,"jpeg")?l="jpeg":$A.rightExists(e,"webp")?l="webp":$A.rightExists(e,"git")&&(l="git"),t(n.toDataURL(`image/${l}`)),n=null},a.src=e})},onViewAvatar(e){let t=null;e.target.tagName==="IMG"?t=e.target.src:t=$A(e.target).find("img").attr("src"),t&&this.$store.dispatch("previewImage",t)}}},Rl={};var IJ=Qt(AJ,NJ,OJ,!1,DJ,null,null,null);function DJ(e){for(let t in Rl)this[t]=Rl[t]}var BJ=function(){return IJ.exports}();export{yJ as C,BJ as D}; diff --git a/public/js/build/Drawio.e11fb101.js b/public/js/build/Drawio.717c3ac6.js similarity index 93% rename from public/js/build/Drawio.e11fb101.js rename to public/js/build/Drawio.717c3ac6.js index 67e879df8..bec6d123a 100644 --- a/public/js/build/Drawio.e11fb101.js +++ b/public/js/build/Drawio.717c3ac6.js @@ -1 +1 @@ -import{m as o,n as l,l as s}from"./app.92886a13.js";import{I as d}from"./IFrame.5a606cbd.js";var u=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"drawio-content"},[a("IFrame",{ref:"frame",staticClass:"drawio-iframe",attrs:{src:e.url},on:{"on-message":e.onMessage}}),e.loadIng?a("div",{staticClass:"drawio-loading"},[a("Loading")],1):e._e()],1)},m=[];const c={name:"Drawio",components:{IFrame:d},props:{value:{type:Object,default:function(){return{}}},title:{type:String,default:""},readOnly:{type:Boolean,default:!1}},data(){return{loadIng:!0,url:null,bakData:""}},created(){let e=s;switch(s){case"zh-CHT":e="zh-tw";break}let t=this.readOnly?1:0,a=this.readOnly?0:1,r=this.themeIsDark?"dark":"kennedy",n=`?title=${this.title?encodeURIComponent(this.title):""}&chrome=${a}&lightbox=${t}&ui=${r}&lang=${e}&offline=1&pwa=0&embed=1&noLangIcon=1&noExitBtn=1&noSaveBtn=1&saveAndExit=0&spin=1&proto=json`;this.$Electron?this.url=$A.originUrl(`drawio/webapp/index.html${n}`):this.url=$A.apiUrl(`../drawio/webapp/${n}`)},mounted(){window.addEventListener("message",this.handleMessage)},beforeDestroy(){window.removeEventListener("message",this.handleMessage)},watch:{value:{handler(e){this.bakData!=$A.jsonStringify(e)&&(this.bakData=$A.jsonStringify(e),this.updateContent())},deep:!0}},computed:{...o(["themeIsDark"])},methods:{formatZoom(e){return e+"%"},updateContent(){this.$refs.frame.postMessage(JSON.stringify({action:"load",autosave:1,xml:this.value.xml}))},onMessage(e){switch(e.event){case"init":this.loadIng=!1,this.updateContent();break;case"load":typeof this.value.xml=="undefined"&&this.$refs.frame.postMessage(JSON.stringify({action:"template"}));break;case"autosave":const t={xml:e.xml};this.bakData=$A.jsonStringify(t),this.$emit("input",t);break;case"save":this.$emit("saveData");break}}}},i={};var h=l(c,u,m,!1,f,"6b690a27",null,null);function f(e){for(let t in i)this[t]=i[t]}var _=function(){return h.exports}();export{_ as default}; +import{m as o,n as l,l as s}from"./app.6cefc0c3.js";import{I as d}from"./IFrame.8e2d09d1.js";var u=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"drawio-content"},[a("IFrame",{ref:"frame",staticClass:"drawio-iframe",attrs:{src:e.url},on:{"on-message":e.onMessage}}),e.loadIng?a("div",{staticClass:"drawio-loading"},[a("Loading")],1):e._e()],1)},m=[];const c={name:"Drawio",components:{IFrame:d},props:{value:{type:Object,default:function(){return{}}},title:{type:String,default:""},readOnly:{type:Boolean,default:!1}},data(){return{loadIng:!0,url:null,bakData:""}},created(){let e=s;switch(s){case"zh-CHT":e="zh-tw";break}let t=this.readOnly?1:0,a=this.readOnly?0:1,r=this.themeIsDark?"dark":"kennedy",n=`?title=${this.title?encodeURIComponent(this.title):""}&chrome=${a}&lightbox=${t}&ui=${r}&lang=${e}&offline=1&pwa=0&embed=1&noLangIcon=1&noExitBtn=1&noSaveBtn=1&saveAndExit=0&spin=1&proto=json`;this.$Electron?this.url=$A.originUrl(`drawio/webapp/index.html${n}`):this.url=$A.apiUrl(`../drawio/webapp/${n}`)},mounted(){window.addEventListener("message",this.handleMessage)},beforeDestroy(){window.removeEventListener("message",this.handleMessage)},watch:{value:{handler(e){this.bakData!=$A.jsonStringify(e)&&(this.bakData=$A.jsonStringify(e),this.updateContent())},deep:!0}},computed:{...o(["themeIsDark"])},methods:{formatZoom(e){return e+"%"},updateContent(){this.$refs.frame.postMessage(JSON.stringify({action:"load",autosave:1,xml:this.value.xml}))},onMessage(e){switch(e.event){case"init":this.loadIng=!1,this.updateContent();break;case"load":typeof this.value.xml=="undefined"&&this.$refs.frame.postMessage(JSON.stringify({action:"template"}));break;case"autosave":const t={xml:e.xml};this.bakData=$A.jsonStringify(t),this.$emit("input",t);break;case"save":this.$emit("saveData");break}}}},i={};var h=l(c,u,m,!1,f,"6b690a27",null,null);function f(e){for(let t in i)this[t]=i[t]}var _=function(){return h.exports}();export{_ as default}; diff --git a/public/js/build/FileContent.1de7984b.js b/public/js/build/FileContent.34159920.js similarity index 92% rename from public/js/build/FileContent.1de7984b.js rename to public/js/build/FileContent.34159920.js index 4b58f553a..b73f6a5f2 100644 --- a/public/js/build/FileContent.1de7984b.js +++ b/public/js/build/FileContent.34159920.js @@ -1 +1 @@ -import{n as r,m as c,_ as n}from"./app.92886a13.js";import{I as d}from"./IFrame.5a606cbd.js";var h=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"file-history"},[t("Table",{attrs:{width:480,"max-height":e.windowHeight-180,columns:e.columns,data:e.list,loading:e.loadIng>0,"no-data-text":e.$L(e.noText),"highlight-row":"",stripe:""}}),e.total>e.pageSize?t("Page",{attrs:{total:e.total,current:e.page,"page-size":e.pageSize,disabled:e.loadIng>0,simple:!0},on:{"on-change":e.setPage,"on-page-size-change":e.setPageSize}}):e._e()],1)},u=[];const f={name:"FileHistory",props:{value:{type:Boolean,default:!1},file:{type:Object,default:()=>({})}},data(){return{loadIng:0,columns:[{title:this.$L("\u65E5\u671F"),key:"created_at",width:168},{title:this.$L("\u521B\u5EFA\u4EBA"),width:120,render:(e,{row:s})=>e("UserAvatar",{props:{showName:!0,size:22,userid:s.userid}})},{title:this.$L("\u5927\u5C0F"),key:"size",width:90,render:(e,{row:s})=>e("AutoTip",$A.bytesToSize(s.size))},{title:this.$L("\u64CD\u4F5C"),align:"center",width:100,render:(e,{index:s,row:t,column:i})=>s===0&&this.page===1?e("div","-"):e("TableAction",{props:{column:i,menu:[{label:this.$L("\u67E5\u770B"),action:"preview"},{label:this.$L("\u8FD8\u539F"),action:"restore"}]},on:{action:a=>{this.onAction(a,t)}}})}],list:[],page:1,pageSize:10,total:0,noText:""}},mounted(){},watch:{value:{handler(e){e&&this.setPage(1)},immediate:!0}},computed:{fileId(){return this.file.id||0}},methods:{getLists(){this.fileId!==0&&(this.loadIng++,this.$store.dispatch("call",{url:"file/content/history",data:{id:this.fileId,page:Math.max(this.page,1),pagesize:Math.max($A.runNum(this.pageSize),10)}}).then(({data:e})=>{this.page=e.current_page,this.total=e.total,this.list=e.data,this.noText="\u6CA1\u6709\u76F8\u5173\u7684\u6570\u636E"}).catch(()=>{this.noText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(e=>{this.loadIng--}))},setPage(e){this.page=e,this.getLists()},setPageSize(e){this.page=1,this.pageSize=e,this.getLists()},onAction(e,s){switch(e){case"restore":this.$emit("on-restore",s);break;case"preview":const t=`/single/file/${this.fileId}?history_id=${s.id}&history_at=${s.created_at}`;this.$Electron?this.$Electron.sendMessage("windowRouter",{name:`file-${this.fileId}-${s.id}`,path:t,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:$A.getFileName(this.file)+` [${s.created_at}]`,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)},webPreferences:{nodeIntegrationInSubFrames:this.file.type==="drawio"}}):this.$isEEUiApp?$A.eeuiAppOpenPage({pageType:"app",pageTitle:$A.getFileName(this.file)+` [${s.created_at}]`,url:"web.js",params:{titleFixed:!0,allowAccess:!0,url:$A.rightDelete(window.location.href,window.location.hash)+`#${t}`}}):window.open($A.apiUrl(`..${t}`));break}}}},o={};var p=r(f,h,u,!1,v,"44e1704c",null,null);function v(e){for(let s in o)this[s]=o[s]}var _=function(){return p.exports}(),m=function(){var e=this,s=e.$createElement,t=e._self._c||s;return e.ready?t("div",{staticClass:"file-content"},[e.isPreview?t("IFrame",{staticClass:"preview-iframe",attrs:{src:e.previewUrl},on:{"on-load":e.onFrameLoad}}):e.contentDetail?[["word","excel","ppt"].includes(e.file.type)?t("EPopover",{attrs:{trigger:"click"},model:{value:e.historyShow,callback:function(i){e.historyShow=i},expression:"historyShow"}},[t("div",{staticClass:"file-content-history"},[t("FileHistory",{attrs:{value:e.historyShow,file:e.file},on:{"on-restore":e.onRestoreHistory}})],1),t("div",{ref:"officeHeader",staticClass:"office-header",attrs:{slot:"reference"},slot:"reference"})]):t("div",{staticClass:"edit-header"},[t("div",{staticClass:"header-title"},[e.equalContent?e._e():t("EPopover",{staticClass:"file-unsave-tip",model:{value:e.unsaveTip,callback:function(i){e.unsaveTip=i},expression:"unsaveTip"}},[t("div",{staticClass:"task-detail-delete-file-popover"},[t("p",[e._v(e._s(e.$L("\u672A\u4FDD\u5B58\u5F53\u524D\u4FEE\u6539\u5185\u5BB9\uFF1F")))]),t("div",{staticClass:"buttons"},[t("Button",{attrs:{size:"small",type:"text"},on:{click:e.unSaveGive}},[e._v(e._s(e.$L("\u653E\u5F03")))]),t("Button",{attrs:{size:"small",type:"primary"},on:{click:e.onSaveSave}},[e._v(e._s(e.$L("\u4FDD\u5B58")))])],1)]),t("span",{attrs:{slot:"reference"},slot:"reference"},[e._v("["+e._s(e.$L("\u672A\u4FDD\u5B58"))+"*]")])]),e._v(" "+e._s(e.fileName)+" ")],1),t("div",{staticClass:"header-user"},[t("ul",[e._l(e.editUser,function(i,a){return a<=10?t("li",{key:a},[t("UserAvatar",{attrs:{userid:i,size:28,"border-witdh":2}})],1):e._e()}),e.editUser.length>10?t("li",{staticClass:"more",attrs:{title:e.editUser.length}},[e._v(e._s(e.editUser.length>999?"...":e.editUser.length))]):e._e()],2)]),e.file.type=="document"&&e.contentDetail?t("div",{staticClass:"header-hint"},[t("ButtonGroup",{attrs:{size:"small",shape:"circle"}},[t("Button",{attrs:{type:`${e.contentDetail.type=="md"?"primary":"default"}`},on:{click:function(i){return e.setTextType("md")}}},[e._v(e._s(e.$L("MD\u7F16\u8F91\u5668")))]),t("Button",{attrs:{type:`${e.contentDetail.type!="md"?"primary":"default"}`},on:{click:function(i){return e.setTextType("text")}}},[e._v(e._s(e.$L("\u6587\u672C\u7F16\u8F91\u5668")))])],1)],1):e._e(),e.file.type=="mind"?t("div",{staticClass:"header-hint"},[e._v(" "+e._s(e.$L("\u9009\u4E2D\u8282\u70B9\uFF0C\u6309enter\u952E\u6DFB\u52A0\u540C\u7EA7\u8282\u70B9\uFF0Ctab\u952E\u6DFB\u52A0\u5B50\u8282\u70B9"))+" ")]):e._e(),e.file.type=="mind"?t("Dropdown",{staticClass:"header-hint",attrs:{trigger:"click",transfer:""},on:{"on-click":e.exportMenu}},[t("a",{attrs:{href:"javascript:void(0)"}},[e._v(e._s(e.$L("\u5BFC\u51FA"))),t("Icon",{attrs:{type:"ios-arrow-down"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"png"}},[e._v(e._s(e.$L("\u5BFC\u51FAPNG\u56FE\u7247")))]),t("DropdownItem",{attrs:{name:"pdf"}},[e._v(e._s(e.$L("\u5BFC\u51FAPDF\u6587\u4EF6")))])],1)],1):e._e(),e.file.only_view?e._e():[t("div",{staticClass:"header-icons"},[t("ETooltip",{attrs:{disabled:e.$isEEUiApp||e.windowTouch,content:e.$L("\u6587\u4EF6\u94FE\u63A5")}},[t("div",{staticClass:"header-icon",on:{click:function(i){return e.handleClick("link")}}},[t("i",{staticClass:"taskfont"},[e._v("\uE785")])])]),t("EPopover",{attrs:{trigger:"click"},model:{value:e.historyShow,callback:function(i){e.historyShow=i},expression:"historyShow"}},[t("div",{staticClass:"file-content-history"},[t("FileHistory",{attrs:{value:e.historyShow,file:e.file},on:{"on-restore":e.onRestoreHistory}})],1),t("ETooltip",{ref:"historyTip",attrs:{slot:"reference",disabled:e.$isEEUiApp||e.windowTouch||e.historyShow,content:e.$L("\u5386\u53F2\u7248\u672C")},slot:"reference"},[t("div",{staticClass:"header-icon"},[t("i",{staticClass:"taskfont"},[e._v("\uE71D")])])])],1)],1),t("Button",{staticClass:"header-button",attrs:{disabled:e.equalContent,loading:e.loadSave>0,size:"small",type:"primary"},on:{click:function(i){return e.handleClick("save")}}},[e._v(e._s(e.$L("\u4FDD\u5B58")))])]],2),t("div",{staticClass:"content-body"},[e.historyShow?t("div",{staticClass:"content-mask"}):e._e(),e.file.type=="document"?[e.contentDetail.type=="md"?t("MDEditor",{attrs:{height:"100%"},model:{value:e.contentDetail.content,callback:function(i){e.$set(e.contentDetail,"content",i)},expression:"contentDetail.content"}}):t("TEditor",{attrs:{height:"100%"},on:{editorSave:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail.content,callback:function(i){e.$set(e.contentDetail,"content",i)},expression:"contentDetail.content"}})]:e.file.type=="drawio"?t("Drawio",{ref:"myFlow",attrs:{title:e.file.name},on:{saveData:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail,callback:function(i){e.contentDetail=i},expression:"contentDetail"}}):e.file.type=="mind"?t("Minder",{ref:"myMind",on:{saveData:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail,callback:function(i){e.contentDetail=i},expression:"contentDetail"}}):["code","txt"].includes(e.file.type)?t("AceEditor",{attrs:{ext:e.file.ext},on:{saveData:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail.content,callback:function(i){e.$set(e.contentDetail,"content",i)},expression:"contentDetail.content"}}):["word","excel","ppt"].includes(e.file.type)?t("OnlyOffice",{attrs:{documentKey:e.documentKey},on:{"on-document-ready":function(i){return e.handleClick("officeReady")}},model:{value:e.contentDetail,callback:function(i){e.contentDetail=i},expression:"contentDetail"}}):e._e()],2)]:e._e(),e.contentLoad?t("div",{staticClass:"content-load"},[t("Loading")],1):e._e(),t("Modal",{attrs:{title:e.$L("\u6587\u4EF6\u94FE\u63A5"),"mask-closable":!1},model:{value:e.linkShow,callback:function(i){e.linkShow=i},expression:"linkShow"}},[t("div",[t("div",{staticStyle:{margin:"-10px 0 8px"}},[e._v(e._s(e.$L("\u6587\u4EF6\u540D\u79F0"))+": "+e._s(e.linkData.name))]),t("Input",{ref:"linkInput",attrs:{type:"textarea",rows:3,readonly:""},on:{"on-focus":e.linkFocus},model:{value:e.linkData.url,callback:function(i){e.$set(e.linkData,"url",i)},expression:"linkData.url"}}),t("div",{staticClass:"form-tip",staticStyle:{"padding-top":"6px"}},[e._v(e._s(e.$L("\u53EF\u901A\u8FC7\u6B64\u94FE\u63A5\u6D4F\u89C8\u6587\u4EF6\u3002"))),t("a",{attrs:{href:"javascript:void(0)"},on:{click:e.linkCopy}},[e._v(e._s(e.$L("\u70B9\u51FB\u590D\u5236\u94FE\u63A5")))])])],1),t("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[t("Button",{attrs:{type:"default"},on:{click:function(i){e.linkShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),t("Poptip",{staticStyle:{"margin-left":"8px"},attrs:{confirm:"",placement:"bottom","ok-text":e.$L("\u786E\u5B9A"),"cancel-text":e.$L("\u53D6\u6D88"),transfer:""},on:{"on-ok":function(i){return e.linkGet(!0)}}},[t("div",{attrs:{slot:"title"},slot:"title"},[t("p",[t("strong",[e._v(e._s(e.$L("\u6CE8\u610F\uFF1A\u5237\u65B0\u5C06\u5BFC\u81F4\u539F\u6765\u7684\u94FE\u63A5\u5931\u6548\uFF01")))])])]),t("Button",{attrs:{type:"primary",loading:e.linkLoad>0}},[e._v(e._s(e.$L("\u5237\u65B0")))])],1)],1)])],2):e._e()},y=[];const k=()=>n(()=>import("./index.ce71a291.js"),["js/build/index.ce71a291.js","js/build/index.4dae4044.css","js/build/app.92886a13.js","js/build/app.ca811772.css","js/build/ImgUpload.93ec23c5.js"]),$=()=>n(()=>import("./TEditor.a01f0fae.js"),["js/build/TEditor.a01f0fae.js","js/build/app.92886a13.js","js/build/app.ca811772.css","js/build/ImgUpload.93ec23c5.js"]),w=()=>n(()=>import("./AceEditor.4b8056b9.js"),["js/build/AceEditor.4b8056b9.js","js/build/app.92886a13.js","js/build/app.ca811772.css"]),g=()=>n(()=>import("./OnlyOffice.ce988fe9.js"),["js/build/OnlyOffice.ce988fe9.js","js/build/OnlyOffice.a5dfbde1.css","js/build/app.92886a13.js","js/build/app.ca811772.css","js/build/IFrame.5a606cbd.js"]),D=()=>n(()=>import("./Drawio.e11fb101.js"),["js/build/Drawio.e11fb101.js","js/build/Drawio.fc5c6326.css","js/build/app.92886a13.js","js/build/app.ca811772.css","js/build/IFrame.5a606cbd.js"]),x=()=>n(()=>import("./Minder.b8b51a50.js"),["js/build/Minder.b8b51a50.js","js/build/Minder.f2273bdb.css","js/build/IFrame.5a606cbd.js","js/build/app.92886a13.js","js/build/app.ca811772.css"]),C={name:"FileContent",components:{IFrame:d,FileHistory:_,AceEditor:w,TEditor:$,MDEditor:k,OnlyOffice:g,Drawio:D,Minder:x},props:{value:{type:Boolean,default:!1},file:{type:Object,default:()=>({})}},data(){return{ready:!1,loadSave:0,loadContent:0,unsaveTip:!1,fileExt:null,contentDetail:null,contentBak:{},editUser:[],loadPreview:!0,linkShow:!1,linkData:{},linkLoad:0,historyShow:!1,officeReady:!1}},mounted(){document.addEventListener("keydown",this.keySave),window.addEventListener("message",this.handleOfficeMessage),this.$isSubElectron&&(window.__onBeforeUnload=()=>{if(!this.equalContent)return $A.modalConfirm({content:"\u4FEE\u6539\u7684\u5185\u5BB9\u5C1A\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u653E\u5F03\u4FEE\u6539\u5417\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u653E\u5F03",onOk:()=>{this.$Electron.sendMessage("windowDestroy")}}),!0})},beforeDestroy(){document.removeEventListener("keydown",this.keySave),window.removeEventListener("message",this.handleOfficeMessage)},watch:{value:{handler(e){e?(this.ready=!0,this.editUser=[this.userId],this.getContent()):(this.linkShow=!1,this.historyShow=!1,this.officeReady=!1,this.fileExt=null)},immediate:!0},historyShow(e){!e&&this.$refs.historyTip&&this.$refs.historyTip.updatePopper()},wsMsg:{handler(e){const{type:s,action:t,data:i}=e;switch(s){case"path":i.path=="/single/file/"+this.fileId&&(this.editUser=i.userids);break;case"file":t=="content"&&this.value&&i.id==this.fileId&&$A.modalConfirm({title:"\u66F4\u65B0\u63D0\u793A",content:"\u56E2\u961F\u6210\u5458\uFF08"+e.nickname+"\uFF09\u66F4\u65B0\u4E86\u5185\u5BB9\uFF0C
\u66F4\u65B0\u65F6\u95F4\uFF1A"+$A.formatDate("Y-m-d H:i:s",e.time)+"\u3002

\u70B9\u51FB\u3010\u786E\u5B9A\u3011\u52A0\u8F7D\u6700\u65B0\u5185\u5BB9\u3002",onOk:()=>{this.getContent()}});break}},deep:!0}},computed:{...c(["wsMsg"]),fileId(){return this.file.id||0},fileName(){return this.fileExt?$A.getFileName(Object.assign(this.file,{ext:this.fileExt})):$A.getFileName(this.file)},equalContent(){return this.contentBak==$A.jsonStringify(this.contentDetail)},contentLoad(){return this.loadContent>0||this.previewLoad},isPreview(){return this.contentDetail&&this.contentDetail.preview===!0},previewLoad(){return this.isPreview&&this.loadPreview===!0},previewUrl(){if(this.isPreview){const{name:e,key:s}=this.contentDetail;return $A.apiUrl(`../online/preview/${e}?key=${s}`)}return""}},methods:{handleOfficeMessage({data:e,source:s}){if(e.source==="onlyoffice")switch(e.action){case"ready":s.postMessage("createMenu","*");break;case"link":this.handleClick("link");break;case"history":const t=this.$refs.officeHeader;t&&(t.style.top=`${e.rect.top}px`,t.style.left=`${e.rect.left}px`,t.style.width=`${e.rect.width}px`,t.style.height=`${e.rect.height}px`,t.click());break}},onFrameLoad(){this.loadPreview=!1},keySave(e){this.value&&e.keyCode===83&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),this.onSaveSave())},getContent(){if(this.fileId===0){this.contentDetail={},this.updateBak();return}if(["word","excel","ppt"].includes(this.file.type)){this.contentDetail=$A.cloneJSON(this.file),this.updateBak();return}this.loadSave++,setTimeout(e=>{this.loadContent++},600),this.$store.dispatch("call",{url:"file/content",data:{id:this.fileId}}).then(({data:e})=>{this.contentDetail=e.content,this.updateBak()}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadSave--,this.loadContent--})},updateBak(){this.contentBak=$A.jsonStringify(this.contentDetail)},handleClick(e){switch(e){case"link":this.linkData={id:this.fileId,name:this.file.name},this.linkShow=!0,this.linkGet();break;case"saveBefore":!this.equalContent&&this.loadSave==0?this.handleClick("save"):$A.messageWarning("\u6CA1\u6709\u4EFB\u4F55\u4FEE\u6539\uFF01");break;case"save":if(this.file.only_view)return;this.updateBak(),this.loadSave++,this.$store.dispatch("call",{url:"file/content/save",method:"post",data:{id:this.fileId,content:this.contentBak}}).then(({data:s,msg:t})=>{$A.messageSuccess(t);const i={id:this.fileId,size:s.size};this.fileExt&&(i.ext=this.fileExt,this.fileExt=null),this.$store.dispatch("saveFile",i)}).catch(({msg:s})=>{$A.modalError(s),this.getContent()}).finally(s=>{this.loadSave--});break;case"officeReady":this.officeReady=!0;break}},onRestoreHistory(e){this.historyShow=!1,$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u6587\u4EF6\u8FD8\u539F\u81F3\u3010${e.created_at}\u3011\u5417\uFF1F`,cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",loading:!0,onOk:()=>new Promise((s,t)=>{this.$store.dispatch("call",{url:"file/content/restore",data:{id:this.fileId,history_id:e.id}}).then(({msg:i})=>{s(i),this.contentDetail=null,this.getContent()}).catch(({msg:i})=>{t(i)})})})},linkGet(e){this.linkLoad++,this.$store.dispatch("call",{url:"file/link",data:{id:this.linkData.id,refresh:e===!0?"yes":"no"}}).then(({data:s})=>{this.linkData=Object.assign(s,{id:this.linkData.id,name:this.linkData.name}),this.linkFocus()}).catch(({msg:s})=>{this.linkShow=!1,$A.modalError(s)}).finally(s=>{this.linkLoad--})},linkCopy(){!this.linkData.url||(this.linkFocus(),this.$copyText(this.linkData.url).then(e=>{$A.messageSuccess("\u590D\u5236\u6210\u529F")}).catch(e=>{$A.messageError("\u590D\u5236\u5931\u8D25")}))},linkFocus(){this.$nextTick(e=>{this.$refs.linkInput.focus({cursor:"all"})})},exportMenu(e){switch(this.file.type){case"mind":this.$refs.myMind.exportHandle(e,this.file.name);break}},unSaveGive(){this.getContent(),this.unsaveTip=!1},onSaveSave(){this.handleClick("save"),this.unsaveTip=!1},setTextType(e){this.fileExt=e,this.$set(this.contentDetail,"type",e)},documentKey(){return new Promise(e=>{this.$store.dispatch("call",{url:"file/content",data:{id:this.fileId,only_update_at:"yes"}}).then(({data:s})=>{e(`${s.id}-${$A.Time(s.update_at)}`)}).catch(()=>{e(0)})})}}},l={};var S=r(C,m,y,!1,L,null,null,null);function L(e){for(let s in l)this[s]=l[s]}var T=function(){return S.exports}();export{T as default}; +import{n as r,m as c,_ as n}from"./app.6cefc0c3.js";import{I as d}from"./IFrame.8e2d09d1.js";var h=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"file-history"},[t("Table",{attrs:{width:480,"max-height":e.windowHeight-180,columns:e.columns,data:e.list,loading:e.loadIng>0,"no-data-text":e.$L(e.noText),"highlight-row":"",stripe:""}}),e.total>e.pageSize?t("Page",{attrs:{total:e.total,current:e.page,"page-size":e.pageSize,disabled:e.loadIng>0,simple:!0},on:{"on-change":e.setPage,"on-page-size-change":e.setPageSize}}):e._e()],1)},u=[];const f={name:"FileHistory",props:{value:{type:Boolean,default:!1},file:{type:Object,default:()=>({})}},data(){return{loadIng:0,columns:[{title:this.$L("\u65E5\u671F"),key:"created_at",width:168},{title:this.$L("\u521B\u5EFA\u4EBA"),width:120,render:(e,{row:s})=>e("UserAvatar",{props:{showName:!0,size:22,userid:s.userid}})},{title:this.$L("\u5927\u5C0F"),key:"size",width:90,render:(e,{row:s})=>e("AutoTip",$A.bytesToSize(s.size))},{title:this.$L("\u64CD\u4F5C"),align:"center",width:100,render:(e,{index:s,row:t,column:i})=>s===0&&this.page===1?e("div","-"):e("TableAction",{props:{column:i,menu:[{label:this.$L("\u67E5\u770B"),action:"preview"},{label:this.$L("\u8FD8\u539F"),action:"restore"}]},on:{action:a=>{this.onAction(a,t)}}})}],list:[],page:1,pageSize:10,total:0,noText:""}},mounted(){},watch:{value:{handler(e){e&&this.setPage(1)},immediate:!0}},computed:{fileId(){return this.file.id||0}},methods:{getLists(){this.fileId!==0&&(this.loadIng++,this.$store.dispatch("call",{url:"file/content/history",data:{id:this.fileId,page:Math.max(this.page,1),pagesize:Math.max($A.runNum(this.pageSize),10)}}).then(({data:e})=>{this.page=e.current_page,this.total=e.total,this.list=e.data,this.noText="\u6CA1\u6709\u76F8\u5173\u7684\u6570\u636E"}).catch(()=>{this.noText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(e=>{this.loadIng--}))},setPage(e){this.page=e,this.getLists()},setPageSize(e){this.page=1,this.pageSize=e,this.getLists()},onAction(e,s){switch(e){case"restore":this.$emit("on-restore",s);break;case"preview":const t=`/single/file/${this.fileId}?history_id=${s.id}&history_at=${s.created_at}`;this.$Electron?this.$Electron.sendMessage("windowRouter",{name:`file-${this.fileId}-${s.id}`,path:t,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:$A.getFileName(this.file)+` [${s.created_at}]`,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)},webPreferences:{nodeIntegrationInSubFrames:this.file.type==="drawio"}}):this.$isEEUiApp?$A.eeuiAppOpenPage({pageType:"app",pageTitle:$A.getFileName(this.file)+` [${s.created_at}]`,url:"web.js",params:{titleFixed:!0,allowAccess:!0,url:$A.rightDelete(window.location.href,window.location.hash)+`#${t}`}}):window.open($A.apiUrl(`..${t}`));break}}}},o={};var p=r(f,h,u,!1,v,"44e1704c",null,null);function v(e){for(let s in o)this[s]=o[s]}var _=function(){return p.exports}(),m=function(){var e=this,s=e.$createElement,t=e._self._c||s;return e.ready?t("div",{staticClass:"file-content"},[e.isPreview?t("IFrame",{staticClass:"preview-iframe",attrs:{src:e.previewUrl},on:{"on-load":e.onFrameLoad}}):e.contentDetail?[["word","excel","ppt"].includes(e.file.type)?t("EPopover",{attrs:{trigger:"click"},model:{value:e.historyShow,callback:function(i){e.historyShow=i},expression:"historyShow"}},[t("div",{staticClass:"file-content-history"},[t("FileHistory",{attrs:{value:e.historyShow,file:e.file},on:{"on-restore":e.onRestoreHistory}})],1),t("div",{ref:"officeHeader",staticClass:"office-header",attrs:{slot:"reference"},slot:"reference"})]):t("div",{staticClass:"edit-header"},[t("div",{staticClass:"header-title"},[e.equalContent?e._e():t("EPopover",{staticClass:"file-unsave-tip",model:{value:e.unsaveTip,callback:function(i){e.unsaveTip=i},expression:"unsaveTip"}},[t("div",{staticClass:"task-detail-delete-file-popover"},[t("p",[e._v(e._s(e.$L("\u672A\u4FDD\u5B58\u5F53\u524D\u4FEE\u6539\u5185\u5BB9\uFF1F")))]),t("div",{staticClass:"buttons"},[t("Button",{attrs:{size:"small",type:"text"},on:{click:e.unSaveGive}},[e._v(e._s(e.$L("\u653E\u5F03")))]),t("Button",{attrs:{size:"small",type:"primary"},on:{click:e.onSaveSave}},[e._v(e._s(e.$L("\u4FDD\u5B58")))])],1)]),t("span",{attrs:{slot:"reference"},slot:"reference"},[e._v("["+e._s(e.$L("\u672A\u4FDD\u5B58"))+"*]")])]),e._v(" "+e._s(e.fileName)+" ")],1),t("div",{staticClass:"header-user"},[t("ul",[e._l(e.editUser,function(i,a){return a<=10?t("li",{key:a},[t("UserAvatar",{attrs:{userid:i,size:28,"border-witdh":2}})],1):e._e()}),e.editUser.length>10?t("li",{staticClass:"more",attrs:{title:e.editUser.length}},[e._v(e._s(e.editUser.length>999?"...":e.editUser.length))]):e._e()],2)]),e.file.type=="document"&&e.contentDetail?t("div",{staticClass:"header-hint"},[t("ButtonGroup",{attrs:{size:"small",shape:"circle"}},[t("Button",{attrs:{type:`${e.contentDetail.type=="md"?"primary":"default"}`},on:{click:function(i){return e.setTextType("md")}}},[e._v(e._s(e.$L("MD\u7F16\u8F91\u5668")))]),t("Button",{attrs:{type:`${e.contentDetail.type!="md"?"primary":"default"}`},on:{click:function(i){return e.setTextType("text")}}},[e._v(e._s(e.$L("\u6587\u672C\u7F16\u8F91\u5668")))])],1)],1):e._e(),e.file.type=="mind"?t("div",{staticClass:"header-hint"},[e._v(" "+e._s(e.$L("\u9009\u4E2D\u8282\u70B9\uFF0C\u6309enter\u952E\u6DFB\u52A0\u540C\u7EA7\u8282\u70B9\uFF0Ctab\u952E\u6DFB\u52A0\u5B50\u8282\u70B9"))+" ")]):e._e(),e.file.type=="mind"?t("Dropdown",{staticClass:"header-hint",attrs:{trigger:"click",transfer:""},on:{"on-click":e.exportMenu}},[t("a",{attrs:{href:"javascript:void(0)"}},[e._v(e._s(e.$L("\u5BFC\u51FA"))),t("Icon",{attrs:{type:"ios-arrow-down"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"png"}},[e._v(e._s(e.$L("\u5BFC\u51FAPNG\u56FE\u7247")))]),t("DropdownItem",{attrs:{name:"pdf"}},[e._v(e._s(e.$L("\u5BFC\u51FAPDF\u6587\u4EF6")))])],1)],1):e._e(),e.file.only_view?e._e():[t("div",{staticClass:"header-icons"},[t("ETooltip",{attrs:{disabled:e.$isEEUiApp||e.windowTouch,content:e.$L("\u6587\u4EF6\u94FE\u63A5")}},[t("div",{staticClass:"header-icon",on:{click:function(i){return e.handleClick("link")}}},[t("i",{staticClass:"taskfont"},[e._v("\uE785")])])]),t("EPopover",{attrs:{trigger:"click"},model:{value:e.historyShow,callback:function(i){e.historyShow=i},expression:"historyShow"}},[t("div",{staticClass:"file-content-history"},[t("FileHistory",{attrs:{value:e.historyShow,file:e.file},on:{"on-restore":e.onRestoreHistory}})],1),t("ETooltip",{ref:"historyTip",attrs:{slot:"reference",disabled:e.$isEEUiApp||e.windowTouch||e.historyShow,content:e.$L("\u5386\u53F2\u7248\u672C")},slot:"reference"},[t("div",{staticClass:"header-icon"},[t("i",{staticClass:"taskfont"},[e._v("\uE71D")])])])],1)],1),t("Button",{staticClass:"header-button",attrs:{disabled:e.equalContent,loading:e.loadSave>0,size:"small",type:"primary"},on:{click:function(i){return e.handleClick("save")}}},[e._v(e._s(e.$L("\u4FDD\u5B58")))])]],2),t("div",{staticClass:"content-body"},[e.historyShow?t("div",{staticClass:"content-mask"}):e._e(),e.file.type=="document"?[e.contentDetail.type=="md"?t("MDEditor",{attrs:{height:"100%"},model:{value:e.contentDetail.content,callback:function(i){e.$set(e.contentDetail,"content",i)},expression:"contentDetail.content"}}):t("TEditor",{attrs:{height:"100%"},on:{editorSave:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail.content,callback:function(i){e.$set(e.contentDetail,"content",i)},expression:"contentDetail.content"}})]:e.file.type=="drawio"?t("Drawio",{ref:"myFlow",attrs:{title:e.file.name},on:{saveData:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail,callback:function(i){e.contentDetail=i},expression:"contentDetail"}}):e.file.type=="mind"?t("Minder",{ref:"myMind",on:{saveData:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail,callback:function(i){e.contentDetail=i},expression:"contentDetail"}}):["code","txt"].includes(e.file.type)?t("AceEditor",{attrs:{ext:e.file.ext},on:{saveData:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail.content,callback:function(i){e.$set(e.contentDetail,"content",i)},expression:"contentDetail.content"}}):["word","excel","ppt"].includes(e.file.type)?t("OnlyOffice",{attrs:{documentKey:e.documentKey},on:{"on-document-ready":function(i){return e.handleClick("officeReady")}},model:{value:e.contentDetail,callback:function(i){e.contentDetail=i},expression:"contentDetail"}}):e._e()],2)]:e._e(),e.contentLoad?t("div",{staticClass:"content-load"},[t("Loading")],1):e._e(),t("Modal",{attrs:{title:e.$L("\u6587\u4EF6\u94FE\u63A5"),"mask-closable":!1},model:{value:e.linkShow,callback:function(i){e.linkShow=i},expression:"linkShow"}},[t("div",[t("div",{staticStyle:{margin:"-10px 0 8px"}},[e._v(e._s(e.$L("\u6587\u4EF6\u540D\u79F0"))+": "+e._s(e.linkData.name))]),t("Input",{ref:"linkInput",attrs:{type:"textarea",rows:3,readonly:""},on:{"on-focus":e.linkFocus},model:{value:e.linkData.url,callback:function(i){e.$set(e.linkData,"url",i)},expression:"linkData.url"}}),t("div",{staticClass:"form-tip",staticStyle:{"padding-top":"6px"}},[e._v(e._s(e.$L("\u53EF\u901A\u8FC7\u6B64\u94FE\u63A5\u6D4F\u89C8\u6587\u4EF6\u3002"))),t("a",{attrs:{href:"javascript:void(0)"},on:{click:e.linkCopy}},[e._v(e._s(e.$L("\u70B9\u51FB\u590D\u5236\u94FE\u63A5")))])])],1),t("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[t("Button",{attrs:{type:"default"},on:{click:function(i){e.linkShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),t("Poptip",{staticStyle:{"margin-left":"8px"},attrs:{confirm:"",placement:"bottom","ok-text":e.$L("\u786E\u5B9A"),"cancel-text":e.$L("\u53D6\u6D88"),transfer:""},on:{"on-ok":function(i){return e.linkGet(!0)}}},[t("div",{attrs:{slot:"title"},slot:"title"},[t("p",[t("strong",[e._v(e._s(e.$L("\u6CE8\u610F\uFF1A\u5237\u65B0\u5C06\u5BFC\u81F4\u539F\u6765\u7684\u94FE\u63A5\u5931\u6548\uFF01")))])])]),t("Button",{attrs:{type:"primary",loading:e.linkLoad>0}},[e._v(e._s(e.$L("\u5237\u65B0")))])],1)],1)])],2):e._e()},y=[];const k=()=>n(()=>import("./index.581ac9a2.js"),["js/build/index.581ac9a2.js","js/build/index.4dae4044.css","js/build/app.6cefc0c3.js","js/build/app.369db32a.css","js/build/ImgUpload.030286eb.js"]),$=()=>n(()=>import("./TEditor.1b54fc09.js"),["js/build/TEditor.1b54fc09.js","js/build/app.6cefc0c3.js","js/build/app.369db32a.css","js/build/ImgUpload.030286eb.js"]),w=()=>n(()=>import("./AceEditor.ef181b69.js"),["js/build/AceEditor.ef181b69.js","js/build/app.6cefc0c3.js","js/build/app.369db32a.css"]),g=()=>n(()=>import("./OnlyOffice.c10b0806.js"),["js/build/OnlyOffice.c10b0806.js","js/build/OnlyOffice.a5dfbde1.css","js/build/app.6cefc0c3.js","js/build/app.369db32a.css","js/build/IFrame.8e2d09d1.js"]),D=()=>n(()=>import("./Drawio.717c3ac6.js"),["js/build/Drawio.717c3ac6.js","js/build/Drawio.fc5c6326.css","js/build/app.6cefc0c3.js","js/build/app.369db32a.css","js/build/IFrame.8e2d09d1.js"]),x=()=>n(()=>import("./Minder.36982772.js"),["js/build/Minder.36982772.js","js/build/Minder.f2273bdb.css","js/build/IFrame.8e2d09d1.js","js/build/app.6cefc0c3.js","js/build/app.369db32a.css"]),C={name:"FileContent",components:{IFrame:d,FileHistory:_,AceEditor:w,TEditor:$,MDEditor:k,OnlyOffice:g,Drawio:D,Minder:x},props:{value:{type:Boolean,default:!1},file:{type:Object,default:()=>({})}},data(){return{ready:!1,loadSave:0,loadContent:0,unsaveTip:!1,fileExt:null,contentDetail:null,contentBak:{},editUser:[],loadPreview:!0,linkShow:!1,linkData:{},linkLoad:0,historyShow:!1,officeReady:!1}},mounted(){document.addEventListener("keydown",this.keySave),window.addEventListener("message",this.handleOfficeMessage),this.$isSubElectron&&(window.__onBeforeUnload=()=>{if(!this.equalContent)return $A.modalConfirm({content:"\u4FEE\u6539\u7684\u5185\u5BB9\u5C1A\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u653E\u5F03\u4FEE\u6539\u5417\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u653E\u5F03",onOk:()=>{this.$Electron.sendMessage("windowDestroy")}}),!0})},beforeDestroy(){document.removeEventListener("keydown",this.keySave),window.removeEventListener("message",this.handleOfficeMessage)},watch:{value:{handler(e){e?(this.ready=!0,this.editUser=[this.userId],this.getContent()):(this.linkShow=!1,this.historyShow=!1,this.officeReady=!1,this.fileExt=null)},immediate:!0},historyShow(e){!e&&this.$refs.historyTip&&this.$refs.historyTip.updatePopper()},wsMsg:{handler(e){const{type:s,action:t,data:i}=e;switch(s){case"path":i.path=="/single/file/"+this.fileId&&(this.editUser=i.userids);break;case"file":t=="content"&&this.value&&i.id==this.fileId&&$A.modalConfirm({title:"\u66F4\u65B0\u63D0\u793A",content:"\u56E2\u961F\u6210\u5458\uFF08"+e.nickname+"\uFF09\u66F4\u65B0\u4E86\u5185\u5BB9\uFF0C
\u66F4\u65B0\u65F6\u95F4\uFF1A"+$A.formatDate("Y-m-d H:i:s",e.time)+"\u3002

\u70B9\u51FB\u3010\u786E\u5B9A\u3011\u52A0\u8F7D\u6700\u65B0\u5185\u5BB9\u3002",onOk:()=>{this.getContent()}});break}},deep:!0}},computed:{...c(["wsMsg"]),fileId(){return this.file.id||0},fileName(){return this.fileExt?$A.getFileName(Object.assign(this.file,{ext:this.fileExt})):$A.getFileName(this.file)},equalContent(){return this.contentBak==$A.jsonStringify(this.contentDetail)},contentLoad(){return this.loadContent>0||this.previewLoad},isPreview(){return this.contentDetail&&this.contentDetail.preview===!0},previewLoad(){return this.isPreview&&this.loadPreview===!0},previewUrl(){if(this.isPreview){const{name:e,key:s}=this.contentDetail;return $A.apiUrl(`../online/preview/${e}?key=${s}`)}return""}},methods:{handleOfficeMessage({data:e,source:s}){if(e.source==="onlyoffice")switch(e.action){case"ready":s.postMessage("createMenu","*");break;case"link":this.handleClick("link");break;case"history":const t=this.$refs.officeHeader;t&&(t.style.top=`${e.rect.top}px`,t.style.left=`${e.rect.left}px`,t.style.width=`${e.rect.width}px`,t.style.height=`${e.rect.height}px`,t.click());break}},onFrameLoad(){this.loadPreview=!1},keySave(e){this.value&&e.keyCode===83&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),this.onSaveSave())},getContent(){if(this.fileId===0){this.contentDetail={},this.updateBak();return}if(["word","excel","ppt"].includes(this.file.type)){this.contentDetail=$A.cloneJSON(this.file),this.updateBak();return}this.loadSave++,setTimeout(e=>{this.loadContent++},600),this.$store.dispatch("call",{url:"file/content",data:{id:this.fileId}}).then(({data:e})=>{this.contentDetail=e.content,this.updateBak()}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadSave--,this.loadContent--})},updateBak(){this.contentBak=$A.jsonStringify(this.contentDetail)},handleClick(e){switch(e){case"link":this.linkData={id:this.fileId,name:this.file.name},this.linkShow=!0,this.linkGet();break;case"saveBefore":!this.equalContent&&this.loadSave==0?this.handleClick("save"):$A.messageWarning("\u6CA1\u6709\u4EFB\u4F55\u4FEE\u6539\uFF01");break;case"save":if(this.file.only_view)return;this.updateBak(),this.loadSave++,this.$store.dispatch("call",{url:"file/content/save",method:"post",data:{id:this.fileId,content:this.contentBak}}).then(({data:s,msg:t})=>{$A.messageSuccess(t);const i={id:this.fileId,size:s.size};this.fileExt&&(i.ext=this.fileExt,this.fileExt=null),this.$store.dispatch("saveFile",i)}).catch(({msg:s})=>{$A.modalError(s),this.getContent()}).finally(s=>{this.loadSave--});break;case"officeReady":this.officeReady=!0;break}},onRestoreHistory(e){this.historyShow=!1,$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u6587\u4EF6\u8FD8\u539F\u81F3\u3010${e.created_at}\u3011\u5417\uFF1F`,cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",loading:!0,onOk:()=>new Promise((s,t)=>{this.$store.dispatch("call",{url:"file/content/restore",data:{id:this.fileId,history_id:e.id}}).then(({msg:i})=>{s(i),this.contentDetail=null,this.getContent()}).catch(({msg:i})=>{t(i)})})})},linkGet(e){this.linkLoad++,this.$store.dispatch("call",{url:"file/link",data:{id:this.linkData.id,refresh:e===!0?"yes":"no"}}).then(({data:s})=>{this.linkData=Object.assign(s,{id:this.linkData.id,name:this.linkData.name}),this.linkFocus()}).catch(({msg:s})=>{this.linkShow=!1,$A.modalError(s)}).finally(s=>{this.linkLoad--})},linkCopy(){!this.linkData.url||(this.linkFocus(),this.$copyText(this.linkData.url).then(e=>{$A.messageSuccess("\u590D\u5236\u6210\u529F")}).catch(e=>{$A.messageError("\u590D\u5236\u5931\u8D25")}))},linkFocus(){this.$nextTick(e=>{this.$refs.linkInput.focus({cursor:"all"})})},exportMenu(e){switch(this.file.type){case"mind":this.$refs.myMind.exportHandle(e,this.file.name);break}},unSaveGive(){this.getContent(),this.unsaveTip=!1},onSaveSave(){this.handleClick("save"),this.unsaveTip=!1},setTextType(e){this.fileExt=e,this.$set(this.contentDetail,"type",e)},documentKey(){return new Promise(e=>{this.$store.dispatch("call",{url:"file/content",data:{id:this.fileId,only_update_at:"yes"}}).then(({data:s})=>{e(`${s.id}-${$A.Time(s.update_at)}`)}).catch(()=>{e(0)})})}}},l={};var S=r(C,m,y,!1,L,null,null,null);function L(e){for(let s in l)this[s]=l[s]}var T=function(){return S.exports}();export{T as default}; diff --git a/public/js/build/FilePreview.eca22200.js b/public/js/build/FilePreview.31a94944.js similarity index 76% rename from public/js/build/FilePreview.eca22200.js rename to public/js/build/FilePreview.31a94944.js index f6d31d697..af4e59dc6 100644 --- a/public/js/build/FilePreview.eca22200.js +++ b/public/js/build/FilePreview.31a94944.js @@ -1 +1 @@ -import{n as r,_ as n}from"./app.92886a13.js";import{I as a}from"./IFrame.5a606cbd.js";var s=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"file-preview"},[e.isPreview?t("IFrame",{staticClass:"preview-iframe",attrs:{src:e.previewUrl},on:{"on-load":e.onFrameLoad}}):e.contentDetail?[t("div",{directives:[{name:"show",rawName:"v-show",value:e.headerShow&&!["word","excel","ppt"].includes(e.file.type),expression:"headerShow && !['word', 'excel', 'ppt'].includes(file.type)"}],staticClass:"edit-header"},[t("div",{staticClass:"header-title"},[t("div",{staticClass:"title-name"},[e._v(e._s(e.$A.getFileName(e.file)))]),t("Tag",{attrs:{color:"default"}},[e._v(e._s(e.$L("\u53EA\u8BFB")))]),t("div",{staticClass:"refresh"},[e.contentLoad?t("Loading"):t("Icon",{attrs:{type:"ios-refresh"},on:{click:e.getContent}})],1)],1),e.file.type=="mind"?t("Dropdown",{staticClass:"header-hint",attrs:{trigger:"click"},on:{"on-click":e.exportMenu}},[t("a",{attrs:{href:"javascript:void(0)"}},[e._v(e._s(e.$L("\u5BFC\u51FA"))),t("Icon",{attrs:{type:"ios-arrow-down"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"png"}},[e._v(e._s(e.$L("\u5BFC\u51FAPNG\u56FE\u7247")))]),t("DropdownItem",{attrs:{name:"pdf"}},[e._v(e._s(e.$L("\u5BFC\u51FAPDF\u6587\u4EF6")))])],1)],1):e._e()],1),t("div",{staticClass:"content-body"},[e.file.type=="document"?[e.contentDetail.type=="md"?t("MDPreview",{attrs:{initialValue:e.contentDetail.content}}):t("TEditor",{attrs:{value:e.contentDetail.content,height:"100%",readOnly:""}})]:e.file.type=="drawio"?t("Drawio",{ref:"myFlow",attrs:{value:e.contentDetail,title:e.file.name,readOnly:""}}):e.file.type=="mind"?t("Minder",{ref:"myMind",attrs:{value:e.contentDetail,readOnly:""}}):["code","txt"].includes(e.file.type)?t("AceEditor",{attrs:{value:e.contentDetail.content,ext:e.file.ext,readOnly:""}}):["word","excel","ppt"].includes(e.file.type)?t("OnlyOffice",{attrs:{value:e.contentDetail,code:e.code,historyId:e.historyId,documentKey:e.documentKey,readOnly:""}}):e._e()],2)]:e._e(),e.contentLoad?t("div",{staticClass:"content-load"},[t("Loading")],1):e._e()],2)},l=[];const d=()=>n(()=>import("./preview.4c79cde0.js"),["js/build/preview.4c79cde0.js","js/build/app.92886a13.js","js/build/app.ca811772.css"]),c=()=>n(()=>import("./TEditor.a01f0fae.js"),["js/build/TEditor.a01f0fae.js","js/build/app.92886a13.js","js/build/app.ca811772.css","js/build/ImgUpload.93ec23c5.js"]),_=()=>n(()=>import("./AceEditor.4b8056b9.js"),["js/build/AceEditor.4b8056b9.js","js/build/app.92886a13.js","js/build/app.ca811772.css"]),p=()=>n(()=>import("./OnlyOffice.ce988fe9.js"),["js/build/OnlyOffice.ce988fe9.js","js/build/OnlyOffice.a5dfbde1.css","js/build/app.92886a13.js","js/build/app.ca811772.css","js/build/IFrame.5a606cbd.js"]),u=()=>n(()=>import("./Drawio.e11fb101.js"),["js/build/Drawio.e11fb101.js","js/build/Drawio.fc5c6326.css","js/build/app.92886a13.js","js/build/app.ca811772.css","js/build/IFrame.5a606cbd.js"]),h=()=>n(()=>import("./Minder.b8b51a50.js"),["js/build/Minder.b8b51a50.js","js/build/Minder.f2273bdb.css","js/build/IFrame.5a606cbd.js","js/build/app.92886a13.js","js/build/app.ca811772.css"]),v={name:"FilePreview",components:{IFrame:a,AceEditor:_,TEditor:c,MDPreview:d,OnlyOffice:p,Drawio:u,Minder:h},props:{code:{type:String,default:""},historyId:{type:Number,default:0},file:{type:Object,default:()=>({})},headerShow:{type:Boolean,default:!0}},data(){return{loadContent:0,contentDetail:null,loadPreview:!0}},watch:{"file.id":{handler(e){e&&(this.contentDetail=null,this.getContent())},immediate:!0,deep:!0}},computed:{contentLoad(){return this.loadContent>0||this.previewLoad},isPreview(){return this.contentDetail&&this.contentDetail.preview===!0},previewLoad(){return this.isPreview&&this.loadPreview===!0},previewUrl(){if(this.isPreview){const{name:e,key:i}=this.contentDetail;return $A.apiUrl(`../online/preview/${e}?key=${i}`)}return""}},methods:{onFrameLoad(){this.loadPreview=!1},getContent(){if(["word","excel","ppt"].includes(this.file.type)){this.contentDetail=$A.cloneJSON(this.file);return}setTimeout(e=>{this.loadContent++},600),this.$store.dispatch("call",{url:"file/content",data:{id:this.code||this.file.id,history_id:this.historyId}}).then(({data:e})=>{this.contentDetail=e.content}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadContent--})},documentKey(){return new Promise(e=>{this.$store.dispatch("call",{url:"file/content",data:{id:this.code||this.file.id,only_update_at:"yes"}}).then(({data:i})=>{e(`${i.id}-${$A.Time(i.update_at)}`)}).catch(()=>{e(0)})})},exportMenu(e){switch(this.file.type){case"mind":this.$refs.myMind.exportHandle(e,this.file.name);break}}}},o={};var f=r(v,s,l,!1,m,null,null,null);function m(e){for(let i in o)this[i]=o[i]}var D=function(){return f.exports}();export{D as default}; +import{n as r,_ as n}from"./app.6cefc0c3.js";import{I as a}from"./IFrame.8e2d09d1.js";var s=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"file-preview"},[e.isPreview?t("IFrame",{staticClass:"preview-iframe",attrs:{src:e.previewUrl},on:{"on-load":e.onFrameLoad}}):e.contentDetail?[t("div",{directives:[{name:"show",rawName:"v-show",value:e.headerShow&&!["word","excel","ppt"].includes(e.file.type),expression:"headerShow && !['word', 'excel', 'ppt'].includes(file.type)"}],staticClass:"edit-header"},[t("div",{staticClass:"header-title"},[t("div",{staticClass:"title-name"},[e._v(e._s(e.$A.getFileName(e.file)))]),t("Tag",{attrs:{color:"default"}},[e._v(e._s(e.$L("\u53EA\u8BFB")))]),t("div",{staticClass:"refresh"},[e.contentLoad?t("Loading"):t("Icon",{attrs:{type:"ios-refresh"},on:{click:e.getContent}})],1)],1),e.file.type=="mind"?t("Dropdown",{staticClass:"header-hint",attrs:{trigger:"click"},on:{"on-click":e.exportMenu}},[t("a",{attrs:{href:"javascript:void(0)"}},[e._v(e._s(e.$L("\u5BFC\u51FA"))),t("Icon",{attrs:{type:"ios-arrow-down"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"png"}},[e._v(e._s(e.$L("\u5BFC\u51FAPNG\u56FE\u7247")))]),t("DropdownItem",{attrs:{name:"pdf"}},[e._v(e._s(e.$L("\u5BFC\u51FAPDF\u6587\u4EF6")))])],1)],1):e._e()],1),t("div",{staticClass:"content-body"},[e.file.type=="document"?[e.contentDetail.type=="md"?t("MDPreview",{attrs:{initialValue:e.contentDetail.content}}):t("TEditor",{attrs:{value:e.contentDetail.content,height:"100%",readOnly:""}})]:e.file.type=="drawio"?t("Drawio",{ref:"myFlow",attrs:{value:e.contentDetail,title:e.file.name,readOnly:""}}):e.file.type=="mind"?t("Minder",{ref:"myMind",attrs:{value:e.contentDetail,readOnly:""}}):["code","txt"].includes(e.file.type)?t("AceEditor",{attrs:{value:e.contentDetail.content,ext:e.file.ext,readOnly:""}}):["word","excel","ppt"].includes(e.file.type)?t("OnlyOffice",{attrs:{value:e.contentDetail,code:e.code,historyId:e.historyId,documentKey:e.documentKey,readOnly:""}}):e._e()],2)]:e._e(),e.contentLoad?t("div",{staticClass:"content-load"},[t("Loading")],1):e._e()],2)},l=[];const d=()=>n(()=>import("./preview.dee2eea1.js"),["js/build/preview.dee2eea1.js","js/build/app.6cefc0c3.js","js/build/app.369db32a.css"]),c=()=>n(()=>import("./TEditor.1b54fc09.js"),["js/build/TEditor.1b54fc09.js","js/build/app.6cefc0c3.js","js/build/app.369db32a.css","js/build/ImgUpload.030286eb.js"]),_=()=>n(()=>import("./AceEditor.ef181b69.js"),["js/build/AceEditor.ef181b69.js","js/build/app.6cefc0c3.js","js/build/app.369db32a.css"]),p=()=>n(()=>import("./OnlyOffice.c10b0806.js"),["js/build/OnlyOffice.c10b0806.js","js/build/OnlyOffice.a5dfbde1.css","js/build/app.6cefc0c3.js","js/build/app.369db32a.css","js/build/IFrame.8e2d09d1.js"]),u=()=>n(()=>import("./Drawio.717c3ac6.js"),["js/build/Drawio.717c3ac6.js","js/build/Drawio.fc5c6326.css","js/build/app.6cefc0c3.js","js/build/app.369db32a.css","js/build/IFrame.8e2d09d1.js"]),h=()=>n(()=>import("./Minder.36982772.js"),["js/build/Minder.36982772.js","js/build/Minder.f2273bdb.css","js/build/IFrame.8e2d09d1.js","js/build/app.6cefc0c3.js","js/build/app.369db32a.css"]),v={name:"FilePreview",components:{IFrame:a,AceEditor:_,TEditor:c,MDPreview:d,OnlyOffice:p,Drawio:u,Minder:h},props:{code:{type:String,default:""},historyId:{type:Number,default:0},file:{type:Object,default:()=>({})},headerShow:{type:Boolean,default:!0}},data(){return{loadContent:0,contentDetail:null,loadPreview:!0}},watch:{"file.id":{handler(e){e&&(this.contentDetail=null,this.getContent())},immediate:!0,deep:!0}},computed:{contentLoad(){return this.loadContent>0||this.previewLoad},isPreview(){return this.contentDetail&&this.contentDetail.preview===!0},previewLoad(){return this.isPreview&&this.loadPreview===!0},previewUrl(){if(this.isPreview){const{name:e,key:i}=this.contentDetail;return $A.apiUrl(`../online/preview/${e}?key=${i}`)}return""}},methods:{onFrameLoad(){this.loadPreview=!1},getContent(){if(["word","excel","ppt"].includes(this.file.type)){this.contentDetail=$A.cloneJSON(this.file);return}setTimeout(e=>{this.loadContent++},600),this.$store.dispatch("call",{url:"file/content",data:{id:this.code||this.file.id,history_id:this.historyId}}).then(({data:e})=>{this.contentDetail=e.content}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadContent--})},documentKey(){return new Promise(e=>{this.$store.dispatch("call",{url:"file/content",data:{id:this.code||this.file.id,only_update_at:"yes"}}).then(({data:i})=>{e(`${i.id}-${$A.Time(i.update_at)}`)}).catch(()=>{e(0)})})},exportMenu(e){switch(this.file.type){case"mind":this.$refs.myMind.exportHandle(e,this.file.name);break}}}},o={};var f=r(v,s,l,!1,m,null,null,null);function m(e){for(let i in o)this[i]=o[i]}var D=function(){return f.exports}();export{D as default}; diff --git a/public/js/build/IFrame.5a606cbd.js b/public/js/build/IFrame.8e2d09d1.js similarity index 94% rename from public/js/build/IFrame.5a606cbd.js rename to public/js/build/IFrame.8e2d09d1.js index 250eb44fa..f0c880e8f 100644 --- a/public/js/build/IFrame.5a606cbd.js +++ b/public/js/build/IFrame.8e2d09d1.js @@ -1 +1 @@ -import{n}from"./app.92886a13.js";var i=function(){var e=this,s=e.$createElement,r=e._self._c||s;return r("iframe",{directives:[{name:"show",rawName:"v-show",value:e.src,expression:"src"}],ref:"iframe",attrs:{src:e.src}})},a=[];const o={name:"IFrame",props:{src:{type:String,default:""}},mounted(){this.$refs.iframe.addEventListener("load",this.handleLoad),window.addEventListener("message",this.handleMessage)},beforeDestroy(){this.$refs.iframe.removeEventListener("load",this.handleLoad),window.removeEventListener("message",this.handleMessage)},methods:{handleLoad(){this.$emit("on-load")},handleMessage({data:e,source:s}){var r;s===((r=this.$refs.iframe)==null?void 0:r.contentWindow)&&(e=$A.jsonParse(e),e.source==="fileView"&&e.action==="picture"&&this.$store.dispatch("previewImage",{index:e.params.index,list:e.params.array}),this.$emit("on-message",e))},postMessage(e,s="*"){this.$refs.iframe&&this.$refs.iframe.contentWindow.postMessage(e,s)}}},t={};var m=n(o,i,a,!1,c,null,null,null);function c(e){for(let s in t)this[s]=t[s]}var l=function(){return m.exports}();export{l as I}; +import{n}from"./app.6cefc0c3.js";var i=function(){var e=this,s=e.$createElement,r=e._self._c||s;return r("iframe",{directives:[{name:"show",rawName:"v-show",value:e.src,expression:"src"}],ref:"iframe",attrs:{src:e.src}})},a=[];const o={name:"IFrame",props:{src:{type:String,default:""}},mounted(){this.$refs.iframe.addEventListener("load",this.handleLoad),window.addEventListener("message",this.handleMessage)},beforeDestroy(){this.$refs.iframe.removeEventListener("load",this.handleLoad),window.removeEventListener("message",this.handleMessage)},methods:{handleLoad(){this.$emit("on-load")},handleMessage({data:e,source:s}){var r;s===((r=this.$refs.iframe)==null?void 0:r.contentWindow)&&(e=$A.jsonParse(e),e.source==="fileView"&&e.action==="picture"&&this.$store.dispatch("previewImage",{index:e.params.index,list:e.params.array}),this.$emit("on-message",e))},postMessage(e,s="*"){this.$refs.iframe&&this.$refs.iframe.contentWindow.postMessage(e,s)}}},t={};var m=n(o,i,a,!1,c,null,null,null);function c(e){for(let s in t)this[s]=t[s]}var l=function(){return m.exports}();export{l as I}; diff --git a/public/js/build/ImgUpload.93ec23c5.js b/public/js/build/ImgUpload.030286eb.js similarity index 99% rename from public/js/build/ImgUpload.93ec23c5.js rename to public/js/build/ImgUpload.030286eb.js index ca2f83f66..34e22aa11 100644 --- a/public/js/build/ImgUpload.93ec23c5.js +++ b/public/js/build/ImgUpload.030286eb.js @@ -1 +1 @@ -import{n as o}from"./app.92886a13.js";var r=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"common-img-update"},[t._l(t.uploadList,function(s){return t.type!=="callback"?e("div",{staticClass:"imgcomp-upload-list"},[s.status==="finished"?[e("div",{staticClass:"imgcomp-upload-img",style:{"background-image":"url("+t.__thumb(s.thumb)+")"}}),e("div",{staticClass:"imgcomp-upload-list-cover"},[e("Icon",{attrs:{type:"ios-eye-outline"},nativeOn:{click:function(a){return t.handleView(s)}}}),e("Icon",{attrs:{type:"ios-trash-outline"},nativeOn:{click:function(a){return t.handleRemove(s)}}})],1)]:[s.showProgress?e("Progress",{attrs:{percent:s.percentage,"hide-info":""}}):t._e()]],2):t._e()}),e("div",{staticClass:"add-box",class:{"callback-add-box":t.type==="callback"}},[e("div",{staticClass:"add-box-icon"},[e("Icon",{attrs:{type:"md-add",size:"32"}})],1),e("div",{staticClass:"add-box-upload"},[e("div",{staticClass:"add-box-item",on:{click:t.browsePicture}},[e("span",[t._v(t._s(t.$L("\u6D4F\u89C8"))),t.type==="callback"?e("em",[t._v(t._s(t.$L("\u56FE\u7247")))]):t._e()])]),e("div",{staticClass:"add-box-item"},[e("Upload",{ref:"upload",attrs:{name:"image",accept:"image/*",action:t.actionUrl,headers:t.uploadHeaders,data:t.uploadParams,"show-upload-list":!1,"max-size":t.maxSize,format:["jpg","jpeg","webp","gif","png"],"default-file-list":t.defaultList,"on-progress":t.handleProgress,"on-success":t.handleSuccess,"on-error":t.handleError,"on-format-error":t.handleFormatError,"on-exceeded-size":t.handleMaxSize,"before-upload":t.handleBeforeUpload,multiple:t.multiple}},[e("span",[t._v(t._s(t.$L("\u4E0A\u4F20"))),t.type==="callback"?e("em",[t._v(t._s(t.$L("\u56FE\u7247")))]):t._e()])])],1)])]),e("Modal",{staticClass:"img-upload-modal",attrs:{title:t.$L("\u6D4F\u89C8\u56FE\u7247\u7A7A\u95F4"),width:"710"},model:{value:t.browseVisible,callback:function(s){t.browseVisible=s},expression:"browseVisible"}},[t.isLoading?e("div",{staticClass:"browse-load"},[t._v(t._s(t.$L("\u52A0\u8F7D\u4E2D...")))]):e("div",{ref:"browselistbox",staticClass:"browse-list",class:t.httpType==="input"?"browse-list-disabled":""},[t.browseList.length<=0?e("div",[t._v(t._s(t.$L("\u65E0\u5185\u5BB9")))]):t._l(t.browseList,function(s){return e("div",{staticClass:"browse-item",on:{click:function(a){return t.browseItem(s)}}},[s.active?e("Icon",{staticClass:"browse-icon",attrs:{type:"ios-checkmark-circle"}}):t._e(),e("div",{staticClass:"browse-img",style:{"background-image":"url("+s.thumb+")"}}),e("div",{staticClass:"browse-title"},[t._v(t._s(s.title))])],1)})],2),e("div",{staticClass:"img-upload-foot",attrs:{slot:"footer"},slot:"footer"},[t.type!=="callback"&&t.http&&t.httpType===""?e("div",{staticClass:"img-upload-foot-input",on:{click:function(s){t.httpType="input"}}},[e("Icon",{attrs:{type:"ios-image",size:"22"}}),e("div",{staticClass:"img-upload-foot-httptitle"},[t._v(t._s(t.$L("\u81EA\u5B9A\u4E49\u56FE\u7247\u5730\u5740")))])],1):t._e(),t.type!=="callback"&&t.http&&t.httpType==="input"?e("div",{staticClass:"img-upload-foot-input"},[e("Input",{attrs:{placeholder:t.$L("\u4EE5 http:// \u6216 https:// \u5F00\u5934"),search:"","enter-button":t.$L("\u786E\u5B9A")},on:{"on-search":t.httpEnter},model:{value:t.httpValue,callback:function(s){t.httpValue=s},expression:"httpValue"}},[e("span",{staticStyle:{cursor:"pointer"},attrs:{slot:"prepend"},on:{click:function(s){t.httpType=""}},slot:"prepend"},[t._v(t._s(t.$L("\u81EA\u5B9A\u4E49\u5730\u5740"))+": ")])])],1):t._e(),t.httpType===""?e("Button",{on:{click:function(s){t.browseVisible=!1}}},[t._v(t._s(t.$L("\u5173\u95ED")))]):t._e(),t.httpType===""?e("Button",{attrs:{type:"primary"},on:{click:function(s){return t.handleCallback(!0)}}},[t._v(t._s(t.$L("\u5B8C\u6210")))]):t._e()],1)]),e("Modal",{staticClass:"img-upload-modal",attrs:{title:t.$L("\u67E5\u770B\u56FE\u7247"),draggable:""},model:{value:t.visible,callback:function(s){t.visible=s},expression:"visible"}},[e("div",{staticStyle:{"max-height":"480px",overflow:"auto"}},[e("a",{attrs:{href:t.imgVisible,target:"_blank"}},[t.visible?e("img",{staticStyle:{"max-width":"100%","max-height":"900px",display:"block",margin:"0 auto"},attrs:{src:t.imgVisible}}):t._e()])])])],2)},n=[];const h={name:"ImgUpload",props:{value:{},num:{},width:{},height:{},whcut:{},type:{},http:{type:Boolean,default:!1},otherParams:{type:Object,default:()=>({})},uploadIng:{type:Number,default:0}},data(){return{actionUrl:$A.apiUrl("system/imgupload"),multiple:this.num>1,visible:!1,browseVisible:!1,isLoading:!1,browseList:[],browseListNext:[],imgVisible:"",defaultList:this.initItems(this.value),uploadList:[],maxNum:Math.min(Math.max($A.runNum(this.num),1),99),httpValue:"",httpType:"",maxSize:2048}},mounted(){this.uploadList=this.$refs.upload.fileList,this.$emit("input",this.uploadList);let t=$A(this.$refs.browselistbox);t.scroll(()=>{let i=t[0].scrollHeight,e=t[0].scrollTop,s=t.height();if(e+s>=i&&this.browseListNext.length>0){let a=this.browseListNext;this.browseListNext=[],this.browsePictureFor(a)}})},watch:{value(t){if(typeof t=="string"){this.$emit("input",this.initItems(t));return}t!==this.$refs.upload.fileList&&(this.$refs.upload.fileList=this.initItems(t),this.uploadList=this.$refs.upload.fileList)},browseVisible(){this.httpType="",this.httpValue=""}},computed:{uploadHeaders(){return{fd:$A.getSessionStorageString("userWsFd"),token:this.userToken}},uploadParams(){let t={width:this.width,height:this.height,whcut:this.whcut};return Object.keys(this.otherParams).length>0?Object.assign(t,this.otherParams):t}},methods:{handleCallback(t){this.type==="callback"&&(t===!0?(this.$emit("on-callback",this.uploadList),this.$refs.upload.fileList=[],this.uploadList=this.$refs.upload.fileList):typeof t=="object"&&this.$emit("on-callback",[t])),this.browseVisible=!1},initItems(t){typeof t=="string"&&(t=[{url:t}]);let i=[];return $A.each(t,(e,s)=>{typeof s=="string"&&(s={url:s}),s.url&&(s.active=!0,s.status="finished",typeof s.path=="undefined"&&(s.path=s.url),typeof s.thumb=="undefined"&&(s.thumb=s.url),i.push(s))}),i},handleView(t){this.$store.dispatch("previewImage",t.url)},handleRemove(t){let i=this.$refs.upload.fileList;this.$refs.upload.fileList.splice(i.indexOf(t),1),this.$emit("input",this.$refs.upload.fileList)},handleProgress(t,i){i._uploadIng===void 0&&(i._uploadIng=!0,this.$emit("update:uploadIng",this.uploadIng+1))},handleSuccess(t,i){this.$emit("update:uploadIng",this.uploadIng-1),t.ret===1?(i.url=t.data.url,i.path=t.data.path,i.thumb=t.data.thumb,this.handleCallback(i)):($A.noticeWarning({title:this.$L("\u4E0A\u4F20\u5931\u8D25"),desc:this.$L("\u6587\u4EF6 "+i.name+" \u4E0A\u4F20\u5931\u8D25 "+t.msg)}),this.$refs.upload.fileList.pop()),this.$emit("input",this.$refs.upload.fileList)},handleError(){this.$emit("update:uploadIng",this.uploadIng-1)},handleFormatError(t){$A.noticeWarning({title:this.$L("\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E"),desc:this.$L("\u6587\u4EF6 "+t.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u8BF7\u4E0A\u4F20 jpg\u3001jpeg\u3001webp\u3001gif\u3001png \u683C\u5F0F\u7684\u56FE\u7247\u3002")})},handleMaxSize(t){$A.noticeWarning({title:this.$L("\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236"),desc:this.$L("\u6587\u4EF6 "+t.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u8D85\u8FC7\uFF1A"+$A.bytesToSize(this.maxSize*1024))})},handleBeforeUpload(){let t=this.uploadList.length{let e=i.dirs;for(let s=0;s{this.browseVisible=!1,$A.noticeWarning(i)}).finally(i=>{this.isLoading=!1})},browsePictureFor(t){for(let i=0;i({})},uploadIng:{type:Number,default:0}},data(){return{actionUrl:$A.apiUrl("system/imgupload"),multiple:this.num>1,visible:!1,browseVisible:!1,isLoading:!1,browseList:[],browseListNext:[],imgVisible:"",defaultList:this.initItems(this.value),uploadList:[],maxNum:Math.min(Math.max($A.runNum(this.num),1),99),httpValue:"",httpType:"",maxSize:2048}},mounted(){this.uploadList=this.$refs.upload.fileList,this.$emit("input",this.uploadList);let t=$A(this.$refs.browselistbox);t.scroll(()=>{let i=t[0].scrollHeight,e=t[0].scrollTop,s=t.height();if(e+s>=i&&this.browseListNext.length>0){let a=this.browseListNext;this.browseListNext=[],this.browsePictureFor(a)}})},watch:{value(t){if(typeof t=="string"){this.$emit("input",this.initItems(t));return}t!==this.$refs.upload.fileList&&(this.$refs.upload.fileList=this.initItems(t),this.uploadList=this.$refs.upload.fileList)},browseVisible(){this.httpType="",this.httpValue=""}},computed:{uploadHeaders(){return{fd:$A.getSessionStorageString("userWsFd"),token:this.userToken}},uploadParams(){let t={width:this.width,height:this.height,whcut:this.whcut};return Object.keys(this.otherParams).length>0?Object.assign(t,this.otherParams):t}},methods:{handleCallback(t){this.type==="callback"&&(t===!0?(this.$emit("on-callback",this.uploadList),this.$refs.upload.fileList=[],this.uploadList=this.$refs.upload.fileList):typeof t=="object"&&this.$emit("on-callback",[t])),this.browseVisible=!1},initItems(t){typeof t=="string"&&(t=[{url:t}]);let i=[];return $A.each(t,(e,s)=>{typeof s=="string"&&(s={url:s}),s.url&&(s.active=!0,s.status="finished",typeof s.path=="undefined"&&(s.path=s.url),typeof s.thumb=="undefined"&&(s.thumb=s.url),i.push(s))}),i},handleView(t){this.$store.dispatch("previewImage",t.url)},handleRemove(t){let i=this.$refs.upload.fileList;this.$refs.upload.fileList.splice(i.indexOf(t),1),this.$emit("input",this.$refs.upload.fileList)},handleProgress(t,i){i._uploadIng===void 0&&(i._uploadIng=!0,this.$emit("update:uploadIng",this.uploadIng+1))},handleSuccess(t,i){this.$emit("update:uploadIng",this.uploadIng-1),t.ret===1?(i.url=t.data.url,i.path=t.data.path,i.thumb=t.data.thumb,this.handleCallback(i)):($A.noticeWarning({title:this.$L("\u4E0A\u4F20\u5931\u8D25"),desc:this.$L("\u6587\u4EF6 "+i.name+" \u4E0A\u4F20\u5931\u8D25 "+t.msg)}),this.$refs.upload.fileList.pop()),this.$emit("input",this.$refs.upload.fileList)},handleError(){this.$emit("update:uploadIng",this.uploadIng-1)},handleFormatError(t){$A.noticeWarning({title:this.$L("\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E"),desc:this.$L("\u6587\u4EF6 "+t.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u8BF7\u4E0A\u4F20 jpg\u3001jpeg\u3001webp\u3001gif\u3001png \u683C\u5F0F\u7684\u56FE\u7247\u3002")})},handleMaxSize(t){$A.noticeWarning({title:this.$L("\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236"),desc:this.$L("\u6587\u4EF6 "+t.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u8D85\u8FC7\uFF1A"+$A.bytesToSize(this.maxSize*1024))})},handleBeforeUpload(){let t=this.uploadList.length{let e=i.dirs;for(let s=0;s{this.browseVisible=!1,$A.noticeWarning(i)}).finally(i=>{this.isLoading=!1})},browsePictureFor(t){for(let i=0;i"office_"+Math.round(Math.random()*1e4)},code:{type:String,default:""},historyId:{type:Number,default:0},value:{type:[Object,Array],default:function(){return{}}},readOnly:{type:Boolean,default:!1},documentKey:Function},data(){return{loading:!1,loadError:!1,docEditor:null}},beforeDestroy(){this.docEditor!==null&&(this.docEditor.destroyEditor(),this.docEditor=null)},computed:{...d(["userInfo","themeIsDark"]),fileType(){return this.getType(this.value.type)},fileName(){return this.value.name},fileUrl(){let e=this.code||this.value.id,t;return $A.leftExists(e,"msgFile_")?t=`dialog/msg/download/?msg_id=${$A.leftDelete(e,"msgFile_")}&token=${this.userToken}`:$A.leftExists(e,"taskFile_")?t=`project/task/filedown/?file_id=${$A.leftDelete(e,"taskFile_")}&token=${this.userToken}`:(t=`file/content/?id=${e}&token=${this.userToken}`,this.historyId>0&&(t+=`&history_id=${this.historyId}`)),t},previewUrl(){return $A.apiUrl(this.fileUrl)+"&down=preview"}},watch:{"value.id":{handler(e){!e||!$A.isDesktop()||(this.loading=!0,this.loadError=!1,$A.loadScript($A.apiUrl("../office/web-apps/apps/api/documents/api.js")).then(t=>{if(!this.documentKey){this.handleClose();return}const i=this.documentKey();i&&i.then?i.then(this.loadFile):this.loadFile()}).catch(t=>{this.loadError=!0}).finally(t=>{this.loading=!1}))},immediate:!0},previewUrl:{handler(){$A.isDesktop()||(this.loading=!0)},immediate:!0}},methods:{onFrameLoad(){this.loading=!1},getType(e){switch(e){case"word":return"docx";case"excel":return"xlsx";case"ppt":return"pptx"}return e},loadFile(e=""){this.docEditor!==null&&(this.docEditor.destroyEditor(),this.docEditor=null);let t=l;switch(l){case"zh-CHT":t="zh-TW";break}let i=this.code||this.value.id,a=$A.strExists(this.fileName,".")?this.fileName:this.fileName+"."+this.fileType,s=`${this.fileType}-${e||i}`;this.historyId>0&&(s+=`-${this.historyId}`);const r={document:{fileType:this.fileType,title:a,key:s,url:`http://nginx/api/${this.fileUrl}`},editorConfig:{mode:"edit",lang:t,user:{id:String(this.userInfo.userid),name:this.userInfo.nickname},customization:{uiTheme:this.themeIsDark?"theme-dark":"theme-classic-light",forcesave:!0,help:!1},callbackUrl:`http://nginx/api/file/content/office?id=${i}&token=${this.userToken}`},events:{onDocumentReady:this.onDocumentReady}};/\/hideenOfficeTitle\//.test(window.navigator.userAgent)&&(r.document.title=" "),(async y=>{if((this.readOnly||this.historyId>0)&&(r.editorConfig.mode="view",r.editorConfig.callbackUrl=null,!r.editorConfig.user.id)){let o=await $A.IDBInt("officeViewer");o||(o=$A.randNum(1e3,99999),await $A.IDBSet("officeViewer",o)),r.editorConfig.user.id="viewer_"+o,r.editorConfig.user.name="Viewer_"+o}this.$nextTick(()=>{this.docEditor=new DocsAPI.DocEditor(this.id,r)})})()},onDocumentReady(){this.$emit("on-document-ready",this.docEditor)}}},n={};var p=f(m,h,u,!1,_,"38b2d892",null,null);function _(e){for(let t in n)this[t]=n[t]}var $=function(){return p.exports}();export{$ as default}; +import{m as d,n as f,l}from"./app.6cefc0c3.js";import{I as c}from"./IFrame.8e2d09d1.js";var h=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"component-only-office"},[e.$A.isDesktop()?[e.loadError?i("Alert",{staticClass:"load-error",attrs:{type:"error","show-icon":""}},[e._v(e._s(e.$L("\u7EC4\u4EF6\u52A0\u8F7D\u5931\u8D25\uFF01")))]):e._e(),i("div",{staticClass:"placeholder",attrs:{id:e.id}})]:i("IFrame",{staticClass:"preview-iframe",attrs:{src:e.previewUrl},on:{"on-load":e.onFrameLoad}}),e.loading?i("div",{staticClass:"office-loading"},[i("Loading")],1):e._e()],2)},u=[];const m={name:"OnlyOffice",components:{IFrame:c},props:{id:{type:String,default:()=>"office_"+Math.round(Math.random()*1e4)},code:{type:String,default:""},historyId:{type:Number,default:0},value:{type:[Object,Array],default:function(){return{}}},readOnly:{type:Boolean,default:!1},documentKey:Function},data(){return{loading:!1,loadError:!1,docEditor:null}},beforeDestroy(){this.docEditor!==null&&(this.docEditor.destroyEditor(),this.docEditor=null)},computed:{...d(["userInfo","themeIsDark"]),fileType(){return this.getType(this.value.type)},fileName(){return this.value.name},fileUrl(){let e=this.code||this.value.id,t;return $A.leftExists(e,"msgFile_")?t=`dialog/msg/download/?msg_id=${$A.leftDelete(e,"msgFile_")}&token=${this.userToken}`:$A.leftExists(e,"taskFile_")?t=`project/task/filedown/?file_id=${$A.leftDelete(e,"taskFile_")}&token=${this.userToken}`:(t=`file/content/?id=${e}&token=${this.userToken}`,this.historyId>0&&(t+=`&history_id=${this.historyId}`)),t},previewUrl(){return $A.apiUrl(this.fileUrl)+"&down=preview"}},watch:{"value.id":{handler(e){!e||!$A.isDesktop()||(this.loading=!0,this.loadError=!1,$A.loadScript($A.apiUrl("../office/web-apps/apps/api/documents/api.js")).then(t=>{if(!this.documentKey){this.handleClose();return}const i=this.documentKey();i&&i.then?i.then(this.loadFile):this.loadFile()}).catch(t=>{this.loadError=!0}).finally(t=>{this.loading=!1}))},immediate:!0},previewUrl:{handler(){$A.isDesktop()||(this.loading=!0)},immediate:!0}},methods:{onFrameLoad(){this.loading=!1},getType(e){switch(e){case"word":return"docx";case"excel":return"xlsx";case"ppt":return"pptx"}return e},loadFile(e=""){this.docEditor!==null&&(this.docEditor.destroyEditor(),this.docEditor=null);let t=l;switch(l){case"zh-CHT":t="zh-TW";break}let i=this.code||this.value.id,a=$A.strExists(this.fileName,".")?this.fileName:this.fileName+"."+this.fileType,s=`${this.fileType}-${e||i}`;this.historyId>0&&(s+=`-${this.historyId}`);const r={document:{fileType:this.fileType,title:a,key:s,url:`http://nginx/api/${this.fileUrl}`},editorConfig:{mode:"edit",lang:t,user:{id:String(this.userInfo.userid),name:this.userInfo.nickname},customization:{uiTheme:this.themeIsDark?"theme-dark":"theme-classic-light",forcesave:!0,help:!1},callbackUrl:`http://nginx/api/file/content/office?id=${i}&token=${this.userToken}`},events:{onDocumentReady:this.onDocumentReady}};/\/hideenOfficeTitle\//.test(window.navigator.userAgent)&&(r.document.title=" "),(async y=>{if((this.readOnly||this.historyId>0)&&(r.editorConfig.mode="view",r.editorConfig.callbackUrl=null,!r.editorConfig.user.id)){let o=await $A.IDBInt("officeViewer");o||(o=$A.randNum(1e3,99999),await $A.IDBSet("officeViewer",o)),r.editorConfig.user.id="viewer_"+o,r.editorConfig.user.name="Viewer_"+o}this.$nextTick(()=>{this.docEditor=new DocsAPI.DocEditor(this.id,r)})})()},onDocumentReady(){this.$emit("on-document-ready",this.docEditor)}}},n={};var p=f(m,h,u,!1,_,"38b2d892",null,null);function _(e){for(let t in n)this[t]=n[t]}var $=function(){return p.exports}();export{$ as default}; diff --git a/public/js/build/ProjectLog.f92c3d59.js b/public/js/build/ProjectLog.2ded4843.js similarity index 98% rename from public/js/build/ProjectLog.f92c3d59.js rename to public/js/build/ProjectLog.2ded4843.js index d842c6a08..8e94e3fac 100644 --- a/public/js/build/ProjectLog.f92c3d59.js +++ b/public/js/build/ProjectLog.2ded4843.js @@ -1 +1 @@ -import{m as p,n as c}from"./app.92886a13.js";var h=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"task-priority",style:t.myStyle},[t._t("default")],2)},m=[];const _={name:"TaskPriority",props:{color:{default:"#ffffff"},background:{default:"#7DBEEA"},backgroundColor:{default:"#7DBEEA"}},data(){return{}},computed:{...p(["themeIsDark"]),myStyle(){const{color:t,background:e,backgroundColor:s,themeIsDark:a}=this;return a?{color:s||e,borderColor:s||e,backgroundColor:"transparent"}:{color:t,borderColor:s||e,backgroundColor:s||e}}}},l={};var f=c(_,h,m,!1,g,null,null,null);function g(t){for(let e in l)this[e]=l[e]}var I=function(){return f.exports}(),v={name:"ProjectLogDetail",functional:!0,props:{render:Function,item:Object},render:(t,e)=>e.props.render(t,e.props.item)},$=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:["project-log",t.taskId==0?"is-drawer":""]},[s("div",{staticClass:"log-title"},[t._v(t._s(t.$L("\u9879\u76EE\u52A8\u6001")))]),s("ul",{staticClass:"logs-activity"},[t._l(t.lists,function(a){return s("li",[s("div",{staticClass:"logs-date"},[t._v(t._s(t.logDate(a)))]),s("div",{staticClass:"logs-section"},[s("Timeline",t._l(a.lists,function(r,o){return s("TimelineItem",{key:o},[s("div",{staticClass:"logs-dot",attrs:{slot:"dot"},slot:"dot"},[r.userid?s("UserAvatar",{attrs:{userid:r.userid,size:18,showName:""}}):s("div",{staticClass:"avatar-wrapper common-avatar"},[s("EAvatar",{attrs:{size:18}},[t._v("A")]),s("div",{staticClass:"avatar-name auto"},[t._v(t._s(t.$L("\u7CFB\u7EDF")))])],1)],1),t._l(r.lists,function(i){return[s("div",{staticClass:"log-summary"},[s("ProjectLogDetail",{attrs:{render:t.logDetail,item:i}}),t.operationList(i).length>0?s("span",{staticClass:"log-operation"},t._l(t.operationList(i),function(n,d){return s("Button",{key:d,attrs:{size:"small"},on:{click:function(P){return t.onOperation(n)}}},[t._v(t._s(n.button))])}),1):t._e(),s("span",{staticClass:"log-time"},[t._v(t._s(i.time.ymd)+" "+t._s(i.time.segment)+" "+t._s(i.time.hi))])],1),i.project_task?s("div",{staticClass:"log-task"},[s("em",{on:{click:function(n){return t.openTask(i.project_task)}}},[t._v(t._s(t.$L("\u5173\u8054\u4EFB\u52A1"))+": "+t._s(i.project_task.name))])]):t._e()]})],2)}),1)],1)])}),t.loadIng>0&&t.showLoad?s("li",{staticClass:"logs-loading"},[s("Loading")],1):t.hasMorePages?s("li",{staticClass:"logs-more",on:{click:t.getMore}},[t._v(t._s(t.$L("\u52A0\u8F7D\u66F4\u591A")))]):t.totalNum==0?s("li",{staticClass:"logs-none",on:{click:function(a){return t.getLists(!0)}}},[t._v(t._s(t.$L("\u6CA1\u6709\u4EFB\u4F55\u52A8\u6001")))]):t._e()],2)])},k=[];const y={name:"ProjectLog",components:{ProjectLogDetail:v},props:{projectId:{type:Number,default:0},taskId:{type:Number,default:0},showLoad:{type:Boolean,default:!0}},data(){return{loadIng:0,lists:[],listPage:1,listPageSize:20,hasMorePages:!1,totalNum:-1}},mounted(){this.getLists(!0)},computed:{},watch:{projectId(){this.lists=[],this.getLists(!0)},taskId(){this.lists=[],this.getLists(!0)},loadIng(t){this.$emit("on-load-change",t>0)}},methods:{logDate(t){return $A.formatDate("m-d")==t.ymd?t.ymd+" "+this.$L("\u4ECA\u5929"):t.key},getLists(t){t===!0&&(this.listPage=1),this.loadIng++,this.$store.dispatch("call",{url:"project/log/lists",data:{project_id:this.projectId,task_id:this.taskId,page:Math.max(this.listPage,1),pagesize:Math.max($A.runNum(this.listPageSize),10)}}).then(({data:e})=>{t===!0&&(this.lists=[]),e.data.some(s=>{let a=s.time,r=a.ymd+" "+a.week,o=this.lists.find(({key:i})=>i==r);if(o){let i=o.lists.find(({userid:n})=>n==s.userid);i?i.lists.push(s):o.lists.push({userid:s.userid,lists:[s]})}else this.lists.push({key:r,ymd:s.ymd,lists:[{userid:s.userid,lists:[s]}]})}),this.hasMorePages=e.current_page{this.lists=[],this.hasMorePages=!1,this.totalNum=0}).finally(e=>{this.loadIng--})},getMore(){!this.hasMorePages||(this.hasMorePages=!1,this.listPage++,this.getLists())},logDetail(t,{detail:e,record:s}){let a=[t("span",e)];if($A.isJson(s)){if($A.isArray(s.change)){let[r,o]=s.change;a.push(t("span",": ")),r&&r!=o?(a.push(t("span",{class:"change-value"},`${r||"-"}`)),a.push(t("span"," => ")),a.push(t("span",{class:"change-value"},`${o||"-"}`))):a.push(t("span",{class:"change-value"},o||"-"))}if(s.userid){let r=$A.isArray(s.userid)?s.userid:[s.userid],o=[];r.some(i=>{/^\d+$/.test(i)?o.push(t("UserAvatar",{props:{size:18,userid:i}})):o.push(t("span",i))}),o.length>0&&a.push(t("div",{class:"detail-user"},[t("div",{class:"detail-user-wrap"},o)]))}}return t("span",{class:"log-text"},a)},operationList({id:t,record:e}){let s=[];if(!$A.isJson(e))return s;if(this.taskId>0&&$A.isJson(e.flow)){let a=$A.getMiddle(e.flow.flow_item_name,"|");a&&s.push({id:t,button:this.$L("\u91CD\u7F6E"),content:this.$L(`\u786E\u5B9A\u91CD\u7F6E\u4E3A\u3010${a}\u3011\u5417\uFF1F`)})}return s},onOperation(t){$A.modalConfirm({content:t.content,loading:!0,onOk:()=>new Promise((e,s)=>{this.$store.dispatch("call",{url:"project/task/resetfromlog",data:{id:t.id}}).then(({data:a,msg:r})=>{e(r),this.$store.dispatch("saveTask",a),this.getLists(!0)}).catch(({msg:a})=>{s(a)})})})},openTask(t){this.$store.dispatch("openTask",t)}}},u={};var L=c(y,$,k,!1,C,null,null,null);function C(t){for(let e in u)this[e]=u[e]}var A=function(){return L.exports}();export{A as P,I as T}; +import{m as p,n as c}from"./app.6cefc0c3.js";var h=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"task-priority",style:t.myStyle},[t._t("default")],2)},m=[];const _={name:"TaskPriority",props:{color:{default:"#ffffff"},background:{default:"#7DBEEA"},backgroundColor:{default:"#7DBEEA"}},data(){return{}},computed:{...p(["themeIsDark"]),myStyle(){const{color:t,background:e,backgroundColor:s,themeIsDark:a}=this;return a?{color:s||e,borderColor:s||e,backgroundColor:"transparent"}:{color:t,borderColor:s||e,backgroundColor:s||e}}}},l={};var f=c(_,h,m,!1,g,null,null,null);function g(t){for(let e in l)this[e]=l[e]}var I=function(){return f.exports}(),v={name:"ProjectLogDetail",functional:!0,props:{render:Function,item:Object},render:(t,e)=>e.props.render(t,e.props.item)},$=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:["project-log",t.taskId==0?"is-drawer":""]},[s("div",{staticClass:"log-title"},[t._v(t._s(t.$L("\u9879\u76EE\u52A8\u6001")))]),s("ul",{staticClass:"logs-activity"},[t._l(t.lists,function(a){return s("li",[s("div",{staticClass:"logs-date"},[t._v(t._s(t.logDate(a)))]),s("div",{staticClass:"logs-section"},[s("Timeline",t._l(a.lists,function(r,o){return s("TimelineItem",{key:o},[s("div",{staticClass:"logs-dot",attrs:{slot:"dot"},slot:"dot"},[r.userid?s("UserAvatar",{attrs:{userid:r.userid,size:18,showName:""}}):s("div",{staticClass:"avatar-wrapper common-avatar"},[s("EAvatar",{attrs:{size:18}},[t._v("A")]),s("div",{staticClass:"avatar-name auto"},[t._v(t._s(t.$L("\u7CFB\u7EDF")))])],1)],1),t._l(r.lists,function(i){return[s("div",{staticClass:"log-summary"},[s("ProjectLogDetail",{attrs:{render:t.logDetail,item:i}}),t.operationList(i).length>0?s("span",{staticClass:"log-operation"},t._l(t.operationList(i),function(n,d){return s("Button",{key:d,attrs:{size:"small"},on:{click:function(P){return t.onOperation(n)}}},[t._v(t._s(n.button))])}),1):t._e(),s("span",{staticClass:"log-time"},[t._v(t._s(i.time.ymd)+" "+t._s(i.time.segment)+" "+t._s(i.time.hi))])],1),i.project_task?s("div",{staticClass:"log-task"},[s("em",{on:{click:function(n){return t.openTask(i.project_task)}}},[t._v(t._s(t.$L("\u5173\u8054\u4EFB\u52A1"))+": "+t._s(i.project_task.name))])]):t._e()]})],2)}),1)],1)])}),t.loadIng>0&&t.showLoad?s("li",{staticClass:"logs-loading"},[s("Loading")],1):t.hasMorePages?s("li",{staticClass:"logs-more",on:{click:t.getMore}},[t._v(t._s(t.$L("\u52A0\u8F7D\u66F4\u591A")))]):t.totalNum==0?s("li",{staticClass:"logs-none",on:{click:function(a){return t.getLists(!0)}}},[t._v(t._s(t.$L("\u6CA1\u6709\u4EFB\u4F55\u52A8\u6001")))]):t._e()],2)])},k=[];const y={name:"ProjectLog",components:{ProjectLogDetail:v},props:{projectId:{type:Number,default:0},taskId:{type:Number,default:0},showLoad:{type:Boolean,default:!0}},data(){return{loadIng:0,lists:[],listPage:1,listPageSize:20,hasMorePages:!1,totalNum:-1}},mounted(){this.getLists(!0)},computed:{},watch:{projectId(){this.lists=[],this.getLists(!0)},taskId(){this.lists=[],this.getLists(!0)},loadIng(t){this.$emit("on-load-change",t>0)}},methods:{logDate(t){return $A.formatDate("m-d")==t.ymd?t.ymd+" "+this.$L("\u4ECA\u5929"):t.key},getLists(t){t===!0&&(this.listPage=1),this.loadIng++,this.$store.dispatch("call",{url:"project/log/lists",data:{project_id:this.projectId,task_id:this.taskId,page:Math.max(this.listPage,1),pagesize:Math.max($A.runNum(this.listPageSize),10)}}).then(({data:e})=>{t===!0&&(this.lists=[]),e.data.some(s=>{let a=s.time,r=a.ymd+" "+a.week,o=this.lists.find(({key:i})=>i==r);if(o){let i=o.lists.find(({userid:n})=>n==s.userid);i?i.lists.push(s):o.lists.push({userid:s.userid,lists:[s]})}else this.lists.push({key:r,ymd:s.ymd,lists:[{userid:s.userid,lists:[s]}]})}),this.hasMorePages=e.current_page{this.lists=[],this.hasMorePages=!1,this.totalNum=0}).finally(e=>{this.loadIng--})},getMore(){!this.hasMorePages||(this.hasMorePages=!1,this.listPage++,this.getLists())},logDetail(t,{detail:e,record:s}){let a=[t("span",e)];if($A.isJson(s)){if($A.isArray(s.change)){let[r,o]=s.change;a.push(t("span",": ")),r&&r!=o?(a.push(t("span",{class:"change-value"},`${r||"-"}`)),a.push(t("span"," => ")),a.push(t("span",{class:"change-value"},`${o||"-"}`))):a.push(t("span",{class:"change-value"},o||"-"))}if(s.userid){let r=$A.isArray(s.userid)?s.userid:[s.userid],o=[];r.some(i=>{/^\d+$/.test(i)?o.push(t("UserAvatar",{props:{size:18,userid:i}})):o.push(t("span",i))}),o.length>0&&a.push(t("div",{class:"detail-user"},[t("div",{class:"detail-user-wrap"},o)]))}}return t("span",{class:"log-text"},a)},operationList({id:t,record:e}){let s=[];if(!$A.isJson(e))return s;if(this.taskId>0&&$A.isJson(e.flow)){let a=$A.getMiddle(e.flow.flow_item_name,"|");a&&s.push({id:t,button:this.$L("\u91CD\u7F6E"),content:this.$L(`\u786E\u5B9A\u91CD\u7F6E\u4E3A\u3010${a}\u3011\u5417\uFF1F`)})}return s},onOperation(t){$A.modalConfirm({content:t.content,loading:!0,onOk:()=>new Promise((e,s)=>{this.$store.dispatch("call",{url:"project/task/resetfromlog",data:{id:t.id}}).then(({data:a,msg:r})=>{e(r),this.$store.dispatch("saveTask",a),this.getLists(!0)}).catch(({msg:a})=>{s(a)})})})},openTask(t){this.$store.dispatch("openTask",t)}}},u={};var L=c(y,$,k,!1,C,null,null,null);function C(t){for(let e in u)this[e]=u[e]}var A=function(){return L.exports}();export{A as P,I as T}; diff --git a/public/js/build/ReportDetail.ad9d81a1.js b/public/js/build/ReportDetail.b51560ec.js similarity index 97% rename from public/js/build/ReportDetail.ad9d81a1.js rename to public/js/build/ReportDetail.b51560ec.js index 4f46a2036..6c5fca33a 100644 --- a/public/js/build/ReportDetail.ad9d81a1.js +++ b/public/js/build/ReportDetail.b51560ec.js @@ -1 +1 @@ -import{m as i,n as l}from"./app.92886a13.js";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"report-detail"},[a("div",{staticClass:"report-title"},[t._v(" "+t._s(t.data.title)+" "),t.loadIng>0?a("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}):t._e()],1),t.formLabelWidth==="auto"?a("div",{staticClass:"report-detail-context"},[a("Form",{staticClass:"report-form auto-form",attrs:{"label-width":"auto",inline:""}},[a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u4EBA")}},[a("UserAvatar",{attrs:{userid:t.data.userid,size:28}})],1),a("FormItem",{attrs:{label:t.$L("\u63D0\u4EA4\u65F6\u95F4")}},[t._v(" "+t._s(t.data.created_at)+" ")]),a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5BF9\u8C61")}},[t.data.receives_user.length===0?[t._v("-")]:t._l(t.data.receives_user,function(r,s){return a("UserAvatar",{key:s,attrs:{userid:r.userid,size:28}})})],2)],1),a("Form",{staticClass:"report-form auto-form",attrs:{"label-width":"auto"}},[a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5185\u5BB9")}},[a("div",{staticClass:"report-content",domProps:{innerHTML:t._s(t.data.content)}})])],1)],1):a("div",{staticClass:"report-detail-context"},[a("Form",{staticClass:"report-form",attrs:{labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth}},[t.formLabelWidth!=="auto"?[a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u4EBA")}},[a("UserAvatar",{attrs:{userid:t.data.userid,size:28}})],1),a("FormItem",{attrs:{label:t.$L("\u63D0\u4EA4\u65F6\u95F4")}},[t._v(" "+t._s(t.data.created_at)+" ")]),a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5BF9\u8C61")}},[t.data.receives_user.length===0?[t._v("-")]:t._l(t.data.receives_user,function(r,s){return a("UserAvatar",{key:s,attrs:{userid:r.userid,size:28}})})],2)]:t._e(),a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5185\u5BB9")}},[a("div",{staticClass:"report-content",domProps:{innerHTML:t._s(t.data.content)}})])],2)],1)])},d=[];const c={name:"ReportDetail",props:{data:{default:{}}},data(){return{loadIng:0}},computed:{...i(["formLabelPosition","formLabelWidth"])},watch:{"data.id":{handler(t){t>0&&this.sendRead()},immediate:!0}},methods:{sendRead(){this.loadIng++,this.$store.dispatch("call",{url:"report/read",data:{ids:[this.data.id]}}).then(()=>{}).catch(()=>{}).finally(t=>{this.loadIng--})}}},o={};var m=l(c,n,d,!1,u,null,null,null);function u(t){for(let e in o)this[e]=o[e]}var v=function(){return m.exports}();export{v as R}; +import{m as i,n as l}from"./app.6cefc0c3.js";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"report-detail"},[a("div",{staticClass:"report-title"},[t._v(" "+t._s(t.data.title)+" "),t.loadIng>0?a("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}):t._e()],1),t.formLabelWidth==="auto"?a("div",{staticClass:"report-detail-context"},[a("Form",{staticClass:"report-form auto-form",attrs:{"label-width":"auto",inline:""}},[a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u4EBA")}},[a("UserAvatar",{attrs:{userid:t.data.userid,size:28}})],1),a("FormItem",{attrs:{label:t.$L("\u63D0\u4EA4\u65F6\u95F4")}},[t._v(" "+t._s(t.data.created_at)+" ")]),a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5BF9\u8C61")}},[t.data.receives_user.length===0?[t._v("-")]:t._l(t.data.receives_user,function(r,s){return a("UserAvatar",{key:s,attrs:{userid:r.userid,size:28}})})],2)],1),a("Form",{staticClass:"report-form auto-form",attrs:{"label-width":"auto"}},[a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5185\u5BB9")}},[a("div",{staticClass:"report-content",domProps:{innerHTML:t._s(t.data.content)}})])],1)],1):a("div",{staticClass:"report-detail-context"},[a("Form",{staticClass:"report-form",attrs:{labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth}},[t.formLabelWidth!=="auto"?[a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u4EBA")}},[a("UserAvatar",{attrs:{userid:t.data.userid,size:28}})],1),a("FormItem",{attrs:{label:t.$L("\u63D0\u4EA4\u65F6\u95F4")}},[t._v(" "+t._s(t.data.created_at)+" ")]),a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5BF9\u8C61")}},[t.data.receives_user.length===0?[t._v("-")]:t._l(t.data.receives_user,function(r,s){return a("UserAvatar",{key:s,attrs:{userid:r.userid,size:28}})})],2)]:t._e(),a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5185\u5BB9")}},[a("div",{staticClass:"report-content",domProps:{innerHTML:t._s(t.data.content)}})])],2)],1)])},d=[];const c={name:"ReportDetail",props:{data:{default:{}}},data(){return{loadIng:0}},computed:{...i(["formLabelPosition","formLabelWidth"])},watch:{"data.id":{handler(t){t>0&&this.sendRead()},immediate:!0}},methods:{sendRead(){this.loadIng++,this.$store.dispatch("call",{url:"report/read",data:{ids:[this.data.id]}}).then(()=>{}).catch(()=>{}).finally(t=>{this.loadIng--})}}},o={};var m=l(c,n,d,!1,u,null,null,null);function u(t){for(let e in o)this[e]=o[e]}var v=function(){return m.exports}();export{v as R}; diff --git a/public/js/build/ReportEdit.da140ff1.js b/public/js/build/ReportEdit.405f73b4.js similarity index 94% rename from public/js/build/ReportEdit.da140ff1.js rename to public/js/build/ReportEdit.405f73b4.js index 9ed50ec22..60705665f 100644 --- a/public/js/build/ReportEdit.da140ff1.js +++ b/public/js/build/ReportEdit.405f73b4.js @@ -1 +1 @@ -import{n as s,_ as o}from"./app.92886a13.js";import{U as l}from"./UserSelect.b15e51af.js";var n=function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("Form",{staticClass:"report-edit",attrs:{"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u7C7B\u578B")}},[e("RadioGroup",{staticClass:"report-radiogroup",attrs:{type:"button","button-style":"solid",readonly:t.id>0},on:{"on-change":t.typeChange},model:{value:t.reportData.type,callback:function(a){t.$set(t.reportData,"type",a)},expression:"reportData.type"}},[e("Radio",{attrs:{label:"weekly",disabled:t.id>0&&t.reportData.type=="daily"}},[t._v(t._s(t.$L("\u5468\u62A5")))]),e("Radio",{attrs:{label:"daily",disabled:t.id>0&&t.reportData.type=="weekly"}},[t._v(t._s(t.$L("\u65E5\u62A5")))])],1),t.id===0?e("ButtonGroup",{staticClass:"report-buttongroup"},[e("ETooltip",{attrs:{disabled:t.$isEEUiApp||t.windowTouch,content:t.prevCycleText,placement:"bottom"}},[e("Button",{attrs:{type:"primary"},on:{click:t.prevCycle}},[e("Icon",{attrs:{type:"ios-arrow-back"}})],1)],1),e("div",{staticClass:"report-buttongroup-vertical"}),e("ETooltip",{attrs:{disabled:t.$isEEUiApp||t.windowTouch||t.reportData.offset>=0,content:t.nextCycleText,placement:"bottom"}},[e("Button",{attrs:{type:"primary",disabled:t.reportData.offset>=0},on:{click:t.nextCycle}},[e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)],1)],1):t._e()],1),e("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u540D\u79F0")}},[e("Input",{attrs:{disabled:""},model:{value:t.reportData.title,callback:function(a){t.$set(t.reportData,"title",a)},expression:"reportData.title"}})],1),e("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5BF9\u8C61")}},[e("div",{staticClass:"report-users"},[e("UserSelect",{attrs:{disabledChoice:[t.userId],title:t.$L("\u9009\u62E9\u63A5\u6536\u4EBA")},model:{value:t.reportData.receive,callback:function(a){t.$set(t.reportData,"receive",a)},expression:"reportData.receive"}}),e("a",{staticClass:"report-user-link",attrs:{href:"javascript:void(0);"},on:{click:t.getLastSubmitter}},[t.receiveLoad>0?e("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}):e("Icon",{attrs:{type:"ios-share-outline"}}),t._v(" "+t._s(t.$L("\u4F7F\u7528\u6211\u4E0A\u6B21\u7684\u6C47\u62A5\u5BF9\u8C61"))+" ")],1)],1)]),e("FormItem",{staticClass:"report-content-editor",attrs:{label:t.$L("\u6C47\u62A5\u5185\u5BB9")}},[e("TEditor",{attrs:{height:"100%"},model:{value:t.reportData.content,callback:function(a){t.$set(t.reportData,"content",a)},expression:"reportData.content"}})],1),e("FormItem",{staticClass:"report-foot"},[e("Button",{staticClass:"report-bottom",attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.handleSubmit}},[t._v(t._s(t.$L(t.id>0?"\u4FEE\u6539":"\u63D0\u4EA4")))])],1)],1)},p=[];const c=()=>o(()=>import("./TEditor.a01f0fae.js"),["js/build/TEditor.a01f0fae.js","js/build/app.92886a13.js","js/build/app.ca811772.css","js/build/ImgUpload.93ec23c5.js"]),h={name:"ReportEdit",components:{UserSelect:l,TEditor:c},props:{id:{default:0}},data(){return{loadIng:0,receiveLoad:0,reportData:{sign:"",title:"",content:"",type:"weekly",receive:[],id:0,offset:0},prevCycleText:this.$L("\u4E0A\u4E00\u5468"),nextCycleText:this.$L("\u4E0B\u4E00\u5468")}},watch:{id:{handler(t){t>0?this.getDetail(t):(this.reportData.offset=0,this.reportData.type="weekly",this.reportData.receive=[],this.getTemplate())},immediate:!0}},mounted(){},methods:{handleSubmit(){this.id===0&&this.reportData.id>0?$A.modalConfirm({title:"\u8986\u76D6\u63D0\u4EA4",content:"\u4F60\u5DF2\u63D0\u4EA4\u8FC7\u6B64\u65E5\u671F\u7684\u62A5\u544A\uFF0C\u662F\u5426\u8986\u76D6\u63D0\u4EA4\uFF1F",onOk:()=>{this.doSubmit()}}):this.doSubmit()},doSubmit(){this.loadIng++,this.$store.dispatch("call",{url:"report/store",data:this.reportData,method:"post"}).then(({data:t,msg:r})=>{this.reportData.offset=0,this.reportData.type="weekly",this.reportData.receive=[],this.getTemplate(),!this.$isSubElectron&&$A.messageSuccess(r),this.$emit("saveSuccess",{data:t,msg:r})}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.loadIng--})},getTemplate(){this.loadIng++,this.$store.dispatch("call",{url:"report/template",data:{type:this.reportData.type,offset:this.reportData.offset,id:this.id}}).then(({data:t})=>{t.id?(this.reportData.id=t.id,this.id>0?this.getDetail(t.id):(this.reportData.sign=t.sign,this.reportData.title=t.title,this.reportData.content=t.content)):(this.reportData.id=0,this.reportData.sign=t.sign,this.reportData.title=t.title,this.reportData.content=t.content)}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.loadIng--})},typeChange(t){this.reportData.offset=0,t==="weekly"?(this.prevCycleText=this.$L("\u4E0A\u4E00\u5468"),this.nextCycleText=this.$L("\u4E0B\u4E00\u5468")):(this.prevCycleText=this.$L("\u4E0A\u4E00\u5929"),this.nextCycleText=this.$L("\u4E0B\u4E00\u5929")),this.getTemplate()},getDetail(t){this.$store.dispatch("call",{url:"report/detail",data:{id:t}}).then(({data:r})=>{this.reportData.title=r.title,this.reportData.content=r.content,this.reportData.receive=r.receives_user.map(({userid:e})=>e),this.reportData.type=r.type_val,this.reportData.id=t}).catch(({msg:r})=>{$A.messageError(r)})},prevCycle(){this.reportData.offset-=1,this.reReportData(),this.getTemplate()},nextCycle(){this.reportData.offset<0&&(this.reportData.offset+=1),this.reReportData(),this.getTemplate()},getLastSubmitter(){setTimeout(t=>{this.receiveLoad++},300),this.$store.dispatch("call",{url:"report/last_submitter"}).then(({data:t})=>{this.reportData.receive=t}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.receiveLoad--})},reReportData(){this.reportData.title="",this.reportData.content="",this.reportData.receive=[],this.reportData.id=0}}},i={};var d=s(h,n,p,!1,m,null,null,null);function m(t){for(let r in i)this[r]=i[r]}var y=function(){return d.exports}();export{y as R}; +import{n as s,_ as o}from"./app.6cefc0c3.js";import{U as l}from"./UserSelect.eb1bd6e3.js";var n=function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("Form",{staticClass:"report-edit",attrs:{"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u7C7B\u578B")}},[e("RadioGroup",{staticClass:"report-radiogroup",attrs:{type:"button","button-style":"solid",readonly:t.id>0},on:{"on-change":t.typeChange},model:{value:t.reportData.type,callback:function(a){t.$set(t.reportData,"type",a)},expression:"reportData.type"}},[e("Radio",{attrs:{label:"weekly",disabled:t.id>0&&t.reportData.type=="daily"}},[t._v(t._s(t.$L("\u5468\u62A5")))]),e("Radio",{attrs:{label:"daily",disabled:t.id>0&&t.reportData.type=="weekly"}},[t._v(t._s(t.$L("\u65E5\u62A5")))])],1),t.id===0?e("ButtonGroup",{staticClass:"report-buttongroup"},[e("ETooltip",{attrs:{disabled:t.$isEEUiApp||t.windowTouch,content:t.prevCycleText,placement:"bottom"}},[e("Button",{attrs:{type:"primary"},on:{click:t.prevCycle}},[e("Icon",{attrs:{type:"ios-arrow-back"}})],1)],1),e("div",{staticClass:"report-buttongroup-vertical"}),e("ETooltip",{attrs:{disabled:t.$isEEUiApp||t.windowTouch||t.reportData.offset>=0,content:t.nextCycleText,placement:"bottom"}},[e("Button",{attrs:{type:"primary",disabled:t.reportData.offset>=0},on:{click:t.nextCycle}},[e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)],1)],1):t._e()],1),e("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u540D\u79F0")}},[e("Input",{attrs:{disabled:""},model:{value:t.reportData.title,callback:function(a){t.$set(t.reportData,"title",a)},expression:"reportData.title"}})],1),e("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5BF9\u8C61")}},[e("div",{staticClass:"report-users"},[e("UserSelect",{attrs:{disabledChoice:[t.userId],title:t.$L("\u9009\u62E9\u63A5\u6536\u4EBA")},model:{value:t.reportData.receive,callback:function(a){t.$set(t.reportData,"receive",a)},expression:"reportData.receive"}}),e("a",{staticClass:"report-user-link",attrs:{href:"javascript:void(0);"},on:{click:t.getLastSubmitter}},[t.receiveLoad>0?e("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}):e("Icon",{attrs:{type:"ios-share-outline"}}),t._v(" "+t._s(t.$L("\u4F7F\u7528\u6211\u4E0A\u6B21\u7684\u6C47\u62A5\u5BF9\u8C61"))+" ")],1)],1)]),e("FormItem",{staticClass:"report-content-editor",attrs:{label:t.$L("\u6C47\u62A5\u5185\u5BB9")}},[e("TEditor",{attrs:{height:"100%"},model:{value:t.reportData.content,callback:function(a){t.$set(t.reportData,"content",a)},expression:"reportData.content"}})],1),e("FormItem",{staticClass:"report-foot"},[e("Button",{staticClass:"report-bottom",attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.handleSubmit}},[t._v(t._s(t.$L(t.id>0?"\u4FEE\u6539":"\u63D0\u4EA4")))])],1)],1)},p=[];const c=()=>o(()=>import("./TEditor.1b54fc09.js"),["js/build/TEditor.1b54fc09.js","js/build/app.6cefc0c3.js","js/build/app.369db32a.css","js/build/ImgUpload.030286eb.js"]),h={name:"ReportEdit",components:{UserSelect:l,TEditor:c},props:{id:{default:0}},data(){return{loadIng:0,receiveLoad:0,reportData:{sign:"",title:"",content:"",type:"weekly",receive:[],id:0,offset:0},prevCycleText:this.$L("\u4E0A\u4E00\u5468"),nextCycleText:this.$L("\u4E0B\u4E00\u5468")}},watch:{id:{handler(t){t>0?this.getDetail(t):(this.reportData.offset=0,this.reportData.type="weekly",this.reportData.receive=[],this.getTemplate())},immediate:!0}},mounted(){},methods:{handleSubmit(){this.id===0&&this.reportData.id>0?$A.modalConfirm({title:"\u8986\u76D6\u63D0\u4EA4",content:"\u4F60\u5DF2\u63D0\u4EA4\u8FC7\u6B64\u65E5\u671F\u7684\u62A5\u544A\uFF0C\u662F\u5426\u8986\u76D6\u63D0\u4EA4\uFF1F",onOk:()=>{this.doSubmit()}}):this.doSubmit()},doSubmit(){this.loadIng++,this.$store.dispatch("call",{url:"report/store",data:this.reportData,method:"post"}).then(({data:t,msg:r})=>{this.reportData.offset=0,this.reportData.type="weekly",this.reportData.receive=[],this.getTemplate(),!this.$isSubElectron&&$A.messageSuccess(r),this.$emit("saveSuccess",{data:t,msg:r})}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.loadIng--})},getTemplate(){this.loadIng++,this.$store.dispatch("call",{url:"report/template",data:{type:this.reportData.type,offset:this.reportData.offset,id:this.id}}).then(({data:t})=>{t.id?(this.reportData.id=t.id,this.id>0?this.getDetail(t.id):(this.reportData.sign=t.sign,this.reportData.title=t.title,this.reportData.content=t.content)):(this.reportData.id=0,this.reportData.sign=t.sign,this.reportData.title=t.title,this.reportData.content=t.content)}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.loadIng--})},typeChange(t){this.reportData.offset=0,t==="weekly"?(this.prevCycleText=this.$L("\u4E0A\u4E00\u5468"),this.nextCycleText=this.$L("\u4E0B\u4E00\u5468")):(this.prevCycleText=this.$L("\u4E0A\u4E00\u5929"),this.nextCycleText=this.$L("\u4E0B\u4E00\u5929")),this.getTemplate()},getDetail(t){this.$store.dispatch("call",{url:"report/detail",data:{id:t}}).then(({data:r})=>{this.reportData.title=r.title,this.reportData.content=r.content,this.reportData.receive=r.receives_user.map(({userid:e})=>e),this.reportData.type=r.type_val,this.reportData.id=t}).catch(({msg:r})=>{$A.messageError(r)})},prevCycle(){this.reportData.offset-=1,this.reReportData(),this.getTemplate()},nextCycle(){this.reportData.offset<0&&(this.reportData.offset+=1),this.reReportData(),this.getTemplate()},getLastSubmitter(){setTimeout(t=>{this.receiveLoad++},300),this.$store.dispatch("call",{url:"report/last_submitter"}).then(({data:t})=>{this.reportData.receive=t}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.receiveLoad--})},reReportData(){this.reportData.title="",this.reportData.content="",this.reportData.receive=[],this.reportData.id=0}}},i={};var d=s(h,n,p,!1,m,null,null,null);function m(t){for(let r in i)this[r]=i[r]}var y=function(){return d.exports}();export{y as R}; diff --git a/public/js/build/TEditor.a01f0fae.js b/public/js/build/TEditor.1b54fc09.js similarity index 99% rename from public/js/build/TEditor.a01f0fae.js rename to public/js/build/TEditor.1b54fc09.js index bc4b277f2..316511bc5 100644 --- a/public/js/build/TEditor.a01f0fae.js +++ b/public/js/build/TEditor.1b54fc09.js @@ -1,4 +1,4 @@ -import{c as PC,m as a2,l as IC,n as i2}from"./app.92886a13.js";import{I as o2}from"./ImgUpload.93ec23c5.js";var FC={exports:{}};(function(R){(function(){var ye=function(e){if(e===null)return"null";if(e===void 0)return"undefined";var t=typeof e;return t==="object"&&(Array.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="Array")?"array":t==="object"&&(String.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="String")?"string":t},le=function(e){return["undefined","boolean","number","string","function","xml","null"].indexOf(e)!==-1},ce=function(e,t){var n=Array.prototype.slice.call(e);return n.sort(t)},ze=function(e,t){return gt(function(n,r){return e.eq(t(n),t(r))})},gt=function(e){return{eq:e}},yr=gt(function(e,t){return e===t}),Hi=yr,ja=function(e){return gt(function(t,n){if(t.length!==n.length)return!1;for(var r=t.length,a=0;a-1},bt=function(e,t){for(var n=0,r=e.length;n=0;n--){var r=e[n];t(r,n)}},Yc=function(e,t){for(var n=[],r=[],a=0,i=e.length;a=0&&t=t.length&&e.substr(n,n+t.length)===t},d0=function(e,t){return Sr(e,t)?c0(e,t.length):e},yt=function(e,t){return e.indexOf(t)!==-1},Sr=function(e,t){return v0(e,t,0)},cs=function(e){return function(t){return t.replace(e,"")}},vs=cs(/^\s+|\s+$/g),m0=cs(/^\s+/g),uv=cs(/\s+$/g),Gi=function(e){return e.length>0},sv=function(e){return!Gi(e)},ds=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,On=function(e){return function(t){return yt(t,e)}},p0=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return yt(e,"edge/")&&yt(e,"chrome")&&yt(e,"safari")&&yt(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,ds],search:function(e){return yt(e,"chrome")&&!yt(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return yt(e,"msie")||yt(e,"trident")}},{name:"Opera",versionRegexes:[ds,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:On("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:On("firefox")},{name:"Safari",versionRegexes:[ds,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(yt(e,"safari")||yt(e,"mobile/"))&&yt(e,"applewebkit")}}],h0=[{name:"Windows",search:On("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return yt(e,"iphone")||yt(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:On("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:On("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:On("linux"),versionRegexes:[]},{name:"Solaris",search:On("sunos"),versionRegexes:[]},{name:"FreeBSD",search:On("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:On("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],fv={browsers:X(p0),oses:X(h0)},lv="Edge",cv="Chrome",vv="IE",dv="Opera",mv="Firefox",pv="Safari",g0=function(){return hv({current:void 0,version:Qa.unknown()})},hv=function(e){var t=e.current,n=e.version,r=function(a){return function(){return t===a}};return{current:t,version:n,isEdge:r(lv),isChrome:r(cv),isIE:r(vv),isOpera:r(dv),isFirefox:r(mv),isSafari:r(pv)}},gv={unknown:g0,nu:hv,edge:X(lv),chrome:X(cv),ie:X(vv),opera:X(dv),firefox:X(mv),safari:X(pv)},bv="Windows",yv="iOS",Cv="Android",wv="Linux",Sv="OSX",Ev="Solaris",kv="FreeBSD",xv="ChromeOS",b0=function(){return Nv({current:void 0,version:Qa.unknown()})},Nv=function(e){var t=e.current,n=e.version,r=function(a){return function(){return t===a}};return{current:t,version:n,isWindows:r(bv),isiOS:r(yv),isAndroid:r(Cv),isOSX:r(Sv),isLinux:r(wv),isSolaris:r(Ev),isFreeBSD:r(kv),isChromeOS:r(xv)}},Tv={unknown:b0,nu:Nv,windows:X(bv),ios:X(yv),android:X(Cv),linux:X(wv),osx:X(Sv),solaris:X(Ev),freebsd:X(kv),chromeos:X(xv)},y0=function(e,t,n){var r=fv.browsers(),a=fv.oses(),i=t.bind(function(s){return s0(r,s)}).orThunk(function(){return f0(r,e)}).fold(gv.unknown,gv.nu),o=l0(a,e).fold(Tv.unknown,Tv.nu),u=a0(o,i,e,n);return{browser:i,os:o,deviceType:u}},C0={detect:y0},w0=function(e){return window.matchMedia(e).matches},S0=fs(function(){return C0.detect(navigator.userAgent,b.from(navigator.userAgentData),w0)}),Wt=function(){return S0()},Av=navigator.userAgent,ms=Wt(),Ct=ms.browser,It=ms.os,mn=ms.deviceType,E0=/WebKit/.test(Av)&&!Ct.isEdge(),k0="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,x0=Av.indexOf("Windows Phone")!==-1,se={opera:Ct.isOpera(),webkit:E0,ie:Ct.isIE()||Ct.isEdge()?Ct.version.major:!1,gecko:Ct.isFirefox(),mac:It.isOSX()||It.isiOS(),iOS:mn.isiPad()||mn.isiPhone(),android:It.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:window.getSelection&&"Range"in window,documentMode:Ct.isIE()?document.documentMode||7:10,fileApi:k0,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!Ct.isIE(),desktop:mn.isDesktop(),windowsPhone:x0,browser:{current:Ct.current,version:Ct.version,isChrome:Ct.isChrome,isEdge:Ct.isEdge,isFirefox:Ct.isFirefox,isIE:Ct.isIE,isOpera:Ct.isOpera,isSafari:Ct.isSafari},os:{current:It.current,version:It.version,isAndroid:It.isAndroid,isChromeOS:It.isChromeOS,isFreeBSD:It.isFreeBSD,isiOS:It.isiOS,isLinux:It.isLinux,isOSX:It.isOSX,isSolaris:It.isSolaris,isWindows:It.isWindows},deviceType:{isDesktop:mn.isDesktop,isiPad:mn.isiPad,isiPhone:mn.isiPhone,isPhone:mn.isPhone,isTablet:mn.isTablet,isTouch:mn.isTouch,isWebView:mn.isWebView}},N0=/^\s*|\s*$/g,Rv=function(e){return e==null?"":(""+e).replace(N0,"")},Bv=function(e,t){return t?t==="array"&&us(e)?!0:typeof e===t:e!==void 0},T0=function(e,t,n){var r;for(e=e||[],t=t||",",typeof e=="string"&&(e=e.split(t)),n=n||{},r=e.length;r--;)n[e[r]]={};return n},A0=pe,R0=function(e,t,n){var r=this,a,i,o,u=0;e=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(e);var s=e[3].match(/(^|\.)(\w+)$/i)[2],f=r.createNS(e[3].replace(/\.\w+$/,""),n);if(!f[s]){if(e[2]==="static"){f[s]=t,this.onCreate&&this.onCreate(e[2],e[3],f[s]);return}t[s]||(t[s]=function(){},u=1),f[s]=t[s],r.extend(f[s].prototype,t),e[5]&&(a=r.resolve(e[5]).prototype,i=e[5].match(/\.(\w+)$/i)[1],o=f[s],u?f[s]=function(){return a[i].apply(this,arguments)}:f[s]=function(){return this.parent=a[i],o.apply(this,arguments)},f[s].prototype[s]=f[s],r.each(a,function(l,c){f[s].prototype[c]=a[c]}),r.each(t,function(l,c){a[c]?f[s].prototype[c]=function(){return this.parent=a[c],l.apply(this,arguments)}:c!==s&&(f[s].prototype[c]=l)})),r.each(t.static,function(l,c){f[s][c]=l})}},B0=function(e){for(var t=[],n=1;n1)throw console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return Za(r.childNodes[0])},L0=function(e,t){var n=t||document,r=n.createElement(e);return Za(r)},$0=function(e,t){var n=t||document,r=n.createTextNode(e);return Za(r)},Za=function(e){if(e==null)throw new Error("Node cannot be null or undefined");return{dom:e}},F0=function(e,t,n){return b.from(e.dom.elementFromPoint(t,n)).map(Za)},k={fromHtml:I0,fromTag:L0,fromText:$0,fromDom:Za,fromPoint:F0},Dv=function(e,t){var n=[],r=function(i){return n.push(i),t(i)},a=t(e);do a=a.bind(r);while(a.isSome());return n},M0=function(e,t,n){return(e.compareDocumentPosition(t)&n)!==0},U0=function(e,t){return M0(e,t,Node.DOCUMENT_POSITION_CONTAINED_BY)},z0=8,Ov=9,Pv=11,ps=1,H0=3,ra=function(e,t){var n=e.dom;if(n.nodeType!==ps)return!1;var r=n;if(r.matches!==void 0)return r.matches(t);if(r.msMatchesSelector!==void 0)return r.msMatchesSelector(t);if(r.webkitMatchesSelector!==void 0)return r.webkitMatchesSelector(t);if(r.mozMatchesSelector!==void 0)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")},Iv=function(e){return e.nodeType!==ps&&e.nodeType!==Ov&&e.nodeType!==Pv||e.childElementCount===0},V0=function(e,t){var n=t===void 0?document:t.dom;return Iv(n)?[]:De(n.querySelectorAll(e),k.fromDom)},W0=function(e,t){var n=t===void 0?document:t.dom;return Iv(n)?b.none():b.from(n.querySelector(e)).map(k.fromDom)},Te=function(e,t){return e.dom===t.dom},q0=function(e,t){var n=e.dom,r=t.dom;return n===r?!1:n.contains(r)},j0=function(e,t){return U0(e.dom,t.dom)},Wn=function(e,t){return Wt().browser.isIE()?j0(e,t):q0(e,t)};typeof window!="undefined"||Function("return this;")();var Ke=function(e){var t=e.dom.nodeName;return t.toLowerCase()},Lv=function(e){return e.dom.nodeType},Xi=function(e){return function(t){return Lv(t)===e}},K0=function(e){return Lv(e)===z0||Ke(e)==="#comment"},Zt=Xi(ps),qt=Xi(H0),G0=Xi(Ov),X0=Xi(Pv),Y0=function(e){return function(t){return Zt(t)&&Ke(t)===e}},$v=function(e){return k.fromDom(e.dom.ownerDocument)},aa=function(e){return G0(e)?e:$v(e)},Q0=function(e){return k.fromDom(aa(e).dom.documentElement)},Fv=function(e){return k.fromDom(aa(e).dom.defaultView)},Jt=function(e){return b.from(e.dom.parentNode).map(k.fromDom)},Z0=function(e,t){for(var n=Oe(t)?t:Re,r=e.dom,a=[];r.parentNode!==null&&r.parentNode!==void 0;){var i=r.parentNode,o=k.fromDom(i);if(a.push(o),n(o)===!0)break;r=i}return a},J0=function(e){var t=function(n){return me(n,function(r){return!Te(e,r)})};return Jt(e).map(jt).map(t).getOr([])},Er=function(e){return b.from(e.dom.previousSibling).map(k.fromDom)},Ja=function(e){return b.from(e.dom.nextSibling).map(k.fromDom)},Mv=function(e){return ji(Dv(e,Er))},Uv=function(e){return Dv(e,Ja)},jt=function(e){return De(e.dom.childNodes,k.fromDom)},Yi=function(e,t){var n=e.dom.childNodes;return b.from(n[t]).map(k.fromDom)},zv=function(e){return Yi(e,0)},hs=function(e){return Yi(e,e.dom.childNodes.length-1)},Hv=function(e){return e.dom.childNodes.length},ew=function(e){var t=e.dom.head;if(t==null)throw new Error("Head is not available yet");return k.fromDom(t)},Vv=function(e){return X0(e)&&Ne(e.dom.host)},Wv=Oe(Element.prototype.attachShadow)&&Oe(Node.prototype.getRootNode),tw=X(Wv),kr=Wv?function(e){return k.fromDom(e.dom.getRootNode())}:aa,gs=function(e){return Vv(e)?e:ew(aa(e))},nw=function(e){var t=kr(e);return Vv(t)?b.some(t):b.none()},rw=function(e){return k.fromDom(e.dom.host)},aw=function(e){if(tw()&&Ne(e.target)){var t=k.fromDom(e.target);if(Zt(t)&&iw(t)&&e.composed&&e.composedPath){var n=e.composedPath();if(n)return Pt(n)}}return b.from(e.target)},iw=function(e){return Ne(e.dom.shadowRoot)},en=function(e,t){var n=Jt(e);n.each(function(r){r.dom.insertBefore(t.dom,e.dom)})},ei=function(e,t){var n=Ja(e);n.fold(function(){var r=Jt(e);r.each(function(a){at(a,t)})},function(r){en(r,t)})},qv=function(e,t){var n=zv(e);n.fold(function(){at(e,t)},function(r){e.dom.insertBefore(t.dom,r.dom)})},at=function(e,t){e.dom.appendChild(t.dom)},ow=function(e,t){en(e,t),at(t,e)},uw=function(e,t){Y(t,function(n){en(e,n)})},Qi=function(e,t){Y(t,function(n){at(e,n)})},bs=function(e){e.dom.textContent="",Y(jt(e),function(t){tt(t)})},tt=function(e){var t=e.dom;t.parentNode!==null&&t.parentNode.removeChild(t)},jv=function(e){var t=jt(e);t.length>0&&uw(e,t),tt(e)},ti=function(e){var t=qt(e)?e.dom.parentNode:e.dom;if(t==null||t.ownerDocument===null)return!1;var n=t.ownerDocument;return nw(k.fromDom(t)).fold(function(){return n.body.contains(t)},Kc(ti,rw))},Kv=function(e,t){var n=function(r,a){return Kv(e+r,t+a)};return{left:e,top:t,translate:n}},ia=Kv,sw=function(e){var t=e.getBoundingClientRect();return ia(t.left,t.top)},Zi=function(e,t){return e!==void 0?e:t!==void 0?t:0},fw=function(e){var t=e.dom.ownerDocument,n=t.body,r=t.defaultView,a=t.documentElement;if(n===e.dom)return ia(n.offsetLeft,n.offsetTop);var i=Zi(r==null?void 0:r.pageYOffset,a.scrollTop),o=Zi(r==null?void 0:r.pageXOffset,a.scrollLeft),u=Zi(a.clientTop,n.clientTop),s=Zi(a.clientLeft,n.clientLeft);return ys(e).translate(o-s,i-u)},ys=function(e){var t=e.dom,n=t.ownerDocument,r=n.body;return r===t?ia(r.offsetLeft,r.offsetTop):ti(e)?sw(t):ia(0,0)},Cs=function(e){var t=e!==void 0?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return ia(n,r)},Gv=function(e,t,n){var r=n!==void 0?n.dom:document,a=r.defaultView;a&&a.scrollTo(e,t)},Xv=function(e,t){var n=Wt().browser.isSafari();n&&Oe(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(t)},lw=function(e){var t=e===void 0?window:e;return Wt().browser.isFirefox()?b.none():b.from(t.visualViewport)},Yv=function(e,t,n,r){return{x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}},Qv=function(e){var t=e===void 0?window:e,n=t.document,r=Cs(k.fromDom(n));return lw(t).fold(function(){var a=t.document.documentElement,i=a.clientWidth,o=a.clientHeight;return Yv(r.left,r.top,i,o)},function(a){return Yv(Math.max(a.pageLeft,r.left),Math.max(a.pageTop,r.top),a.width,a.height)})},ni=function(e){return function(t){return!!t&&t.nodeType===e}},Ji=function(e){return!!e&&!Object.getPrototypeOf(e)},ae=ni(1),Kt=function(e){var t=e.map(function(n){return n.toLowerCase()});return function(n){if(n&&n.nodeName){var r=n.nodeName.toLowerCase();return Je(t,r)}return!1}},eo=function(e,t){var n=t.toLowerCase().split(" ");return function(r){if(ae(r))for(var a=0;a0})},rd=function(e){var t={},n=e.dom;if(ro(n))for(var r=0;r=e.length&&n(r)}};e.length===0?n([]):Y(e,function(o,u){o.get(i(u))})})},Dw=function(e){return _w(e,sd.nu)},sa=function(e){var t=function(c){return sa(e)},n=function(c){return sa(e)},r=function(c){return sa(c(e))},a=function(c){return sa(e)},i=function(c){c(e)},o=function(c){return c(e)},u=function(c,v){return v(e)},s=function(c){return c(e)},f=function(c){return c(e)},l=function(){return b.some(e)};return{isValue:qe,isError:Re,getOr:X(e),getOrThunk:X(e),getOrDie:X(e),or:t,orThunk:n,fold:u,map:r,mapError:a,each:i,bind:o,exists:s,forall:f,toOptional:l}},ai=function(e){var t=function(f){return f()},n=function(){return zC(String(e))()},r=Tt,a=function(f){return f()},i=function(f){return ai(e)},o=function(f){return ai(f(e))},u=function(f){return ai(e)},s=function(f,l){return f(e)};return{isValue:Re,isError:qe,getOr:Tt,getOrThunk:t,getOrDie:n,or:r,orThunk:a,fold:s,map:i,mapError:o,each:ve,bind:u,exists:Re,forall:qe,toOptional:b.none}},Ow=function(e,t){return e.fold(function(){return ai(t)},sa)},fd={value:sa,error:ai,fromOption:Ow},Pw=function(e){if(!Vt(e))throw new Error("cases must be an array");if(e.length===0)throw new Error("there must be at least one case");var t=[],n={};return Y(e,function(r,a){var i=ea(r);if(i.length!==1)throw new Error("one and only one name per case");var o=i[0],u=r[o];if(n[o]!==void 0)throw new Error("duplicate key detected:"+o);if(o==="cata")throw new Error("cannot have a case named cata (sorry)");if(!Vt(u))throw new Error("case arguments must be an array");t.push(o),n[o]=function(){for(var s=[],f=0;f-1},bt=function(e,t){for(var n=0,r=e.length;n=0;n--){var r=e[n];t(r,n)}},Yc=function(e,t){for(var n=[],r=[],a=0,i=e.length;a=0&&t=t.length&&e.substr(n,n+t.length)===t},d0=function(e,t){return Sr(e,t)?c0(e,t.length):e},yt=function(e,t){return e.indexOf(t)!==-1},Sr=function(e,t){return v0(e,t,0)},cs=function(e){return function(t){return t.replace(e,"")}},vs=cs(/^\s+|\s+$/g),m0=cs(/^\s+/g),uv=cs(/\s+$/g),Gi=function(e){return e.length>0},sv=function(e){return!Gi(e)},ds=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,On=function(e){return function(t){return yt(t,e)}},p0=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return yt(e,"edge/")&&yt(e,"chrome")&&yt(e,"safari")&&yt(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,ds],search:function(e){return yt(e,"chrome")&&!yt(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return yt(e,"msie")||yt(e,"trident")}},{name:"Opera",versionRegexes:[ds,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:On("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:On("firefox")},{name:"Safari",versionRegexes:[ds,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(yt(e,"safari")||yt(e,"mobile/"))&&yt(e,"applewebkit")}}],h0=[{name:"Windows",search:On("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return yt(e,"iphone")||yt(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:On("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:On("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:On("linux"),versionRegexes:[]},{name:"Solaris",search:On("sunos"),versionRegexes:[]},{name:"FreeBSD",search:On("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:On("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],fv={browsers:X(p0),oses:X(h0)},lv="Edge",cv="Chrome",vv="IE",dv="Opera",mv="Firefox",pv="Safari",g0=function(){return hv({current:void 0,version:Qa.unknown()})},hv=function(e){var t=e.current,n=e.version,r=function(a){return function(){return t===a}};return{current:t,version:n,isEdge:r(lv),isChrome:r(cv),isIE:r(vv),isOpera:r(dv),isFirefox:r(mv),isSafari:r(pv)}},gv={unknown:g0,nu:hv,edge:X(lv),chrome:X(cv),ie:X(vv),opera:X(dv),firefox:X(mv),safari:X(pv)},bv="Windows",yv="iOS",Cv="Android",wv="Linux",Sv="OSX",Ev="Solaris",kv="FreeBSD",xv="ChromeOS",b0=function(){return Nv({current:void 0,version:Qa.unknown()})},Nv=function(e){var t=e.current,n=e.version,r=function(a){return function(){return t===a}};return{current:t,version:n,isWindows:r(bv),isiOS:r(yv),isAndroid:r(Cv),isOSX:r(Sv),isLinux:r(wv),isSolaris:r(Ev),isFreeBSD:r(kv),isChromeOS:r(xv)}},Tv={unknown:b0,nu:Nv,windows:X(bv),ios:X(yv),android:X(Cv),linux:X(wv),osx:X(Sv),solaris:X(Ev),freebsd:X(kv),chromeos:X(xv)},y0=function(e,t,n){var r=fv.browsers(),a=fv.oses(),i=t.bind(function(s){return s0(r,s)}).orThunk(function(){return f0(r,e)}).fold(gv.unknown,gv.nu),o=l0(a,e).fold(Tv.unknown,Tv.nu),u=a0(o,i,e,n);return{browser:i,os:o,deviceType:u}},C0={detect:y0},w0=function(e){return window.matchMedia(e).matches},S0=fs(function(){return C0.detect(navigator.userAgent,b.from(navigator.userAgentData),w0)}),Wt=function(){return S0()},Av=navigator.userAgent,ms=Wt(),Ct=ms.browser,It=ms.os,mn=ms.deviceType,E0=/WebKit/.test(Av)&&!Ct.isEdge(),k0="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,x0=Av.indexOf("Windows Phone")!==-1,se={opera:Ct.isOpera(),webkit:E0,ie:Ct.isIE()||Ct.isEdge()?Ct.version.major:!1,gecko:Ct.isFirefox(),mac:It.isOSX()||It.isiOS(),iOS:mn.isiPad()||mn.isiPhone(),android:It.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:window.getSelection&&"Range"in window,documentMode:Ct.isIE()?document.documentMode||7:10,fileApi:k0,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!Ct.isIE(),desktop:mn.isDesktop(),windowsPhone:x0,browser:{current:Ct.current,version:Ct.version,isChrome:Ct.isChrome,isEdge:Ct.isEdge,isFirefox:Ct.isFirefox,isIE:Ct.isIE,isOpera:Ct.isOpera,isSafari:Ct.isSafari},os:{current:It.current,version:It.version,isAndroid:It.isAndroid,isChromeOS:It.isChromeOS,isFreeBSD:It.isFreeBSD,isiOS:It.isiOS,isLinux:It.isLinux,isOSX:It.isOSX,isSolaris:It.isSolaris,isWindows:It.isWindows},deviceType:{isDesktop:mn.isDesktop,isiPad:mn.isiPad,isiPhone:mn.isiPhone,isPhone:mn.isPhone,isTablet:mn.isTablet,isTouch:mn.isTouch,isWebView:mn.isWebView}},N0=/^\s*|\s*$/g,Rv=function(e){return e==null?"":(""+e).replace(N0,"")},Bv=function(e,t){return t?t==="array"&&us(e)?!0:typeof e===t:e!==void 0},T0=function(e,t,n){var r;for(e=e||[],t=t||",",typeof e=="string"&&(e=e.split(t)),n=n||{},r=e.length;r--;)n[e[r]]={};return n},A0=pe,R0=function(e,t,n){var r=this,a,i,o,u=0;e=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(e);var s=e[3].match(/(^|\.)(\w+)$/i)[2],f=r.createNS(e[3].replace(/\.\w+$/,""),n);if(!f[s]){if(e[2]==="static"){f[s]=t,this.onCreate&&this.onCreate(e[2],e[3],f[s]);return}t[s]||(t[s]=function(){},u=1),f[s]=t[s],r.extend(f[s].prototype,t),e[5]&&(a=r.resolve(e[5]).prototype,i=e[5].match(/\.(\w+)$/i)[1],o=f[s],u?f[s]=function(){return a[i].apply(this,arguments)}:f[s]=function(){return this.parent=a[i],o.apply(this,arguments)},f[s].prototype[s]=f[s],r.each(a,function(l,c){f[s].prototype[c]=a[c]}),r.each(t,function(l,c){a[c]?f[s].prototype[c]=function(){return this.parent=a[c],l.apply(this,arguments)}:c!==s&&(f[s].prototype[c]=l)})),r.each(t.static,function(l,c){f[s][c]=l})}},B0=function(e){for(var t=[],n=1;n1)throw console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return Za(r.childNodes[0])},L0=function(e,t){var n=t||document,r=n.createElement(e);return Za(r)},$0=function(e,t){var n=t||document,r=n.createTextNode(e);return Za(r)},Za=function(e){if(e==null)throw new Error("Node cannot be null or undefined");return{dom:e}},F0=function(e,t,n){return b.from(e.dom.elementFromPoint(t,n)).map(Za)},k={fromHtml:I0,fromTag:L0,fromText:$0,fromDom:Za,fromPoint:F0},Dv=function(e,t){var n=[],r=function(i){return n.push(i),t(i)},a=t(e);do a=a.bind(r);while(a.isSome());return n},M0=function(e,t,n){return(e.compareDocumentPosition(t)&n)!==0},U0=function(e,t){return M0(e,t,Node.DOCUMENT_POSITION_CONTAINED_BY)},z0=8,Ov=9,Pv=11,ps=1,H0=3,ra=function(e,t){var n=e.dom;if(n.nodeType!==ps)return!1;var r=n;if(r.matches!==void 0)return r.matches(t);if(r.msMatchesSelector!==void 0)return r.msMatchesSelector(t);if(r.webkitMatchesSelector!==void 0)return r.webkitMatchesSelector(t);if(r.mozMatchesSelector!==void 0)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")},Iv=function(e){return e.nodeType!==ps&&e.nodeType!==Ov&&e.nodeType!==Pv||e.childElementCount===0},V0=function(e,t){var n=t===void 0?document:t.dom;return Iv(n)?[]:De(n.querySelectorAll(e),k.fromDom)},W0=function(e,t){var n=t===void 0?document:t.dom;return Iv(n)?b.none():b.from(n.querySelector(e)).map(k.fromDom)},Te=function(e,t){return e.dom===t.dom},q0=function(e,t){var n=e.dom,r=t.dom;return n===r?!1:n.contains(r)},j0=function(e,t){return U0(e.dom,t.dom)},Wn=function(e,t){return Wt().browser.isIE()?j0(e,t):q0(e,t)};typeof window!="undefined"||Function("return this;")();var Ke=function(e){var t=e.dom.nodeName;return t.toLowerCase()},Lv=function(e){return e.dom.nodeType},Xi=function(e){return function(t){return Lv(t)===e}},K0=function(e){return Lv(e)===z0||Ke(e)==="#comment"},Zt=Xi(ps),qt=Xi(H0),G0=Xi(Ov),X0=Xi(Pv),Y0=function(e){return function(t){return Zt(t)&&Ke(t)===e}},$v=function(e){return k.fromDom(e.dom.ownerDocument)},aa=function(e){return G0(e)?e:$v(e)},Q0=function(e){return k.fromDom(aa(e).dom.documentElement)},Fv=function(e){return k.fromDom(aa(e).dom.defaultView)},Jt=function(e){return b.from(e.dom.parentNode).map(k.fromDom)},Z0=function(e,t){for(var n=Oe(t)?t:Re,r=e.dom,a=[];r.parentNode!==null&&r.parentNode!==void 0;){var i=r.parentNode,o=k.fromDom(i);if(a.push(o),n(o)===!0)break;r=i}return a},J0=function(e){var t=function(n){return me(n,function(r){return!Te(e,r)})};return Jt(e).map(jt).map(t).getOr([])},Er=function(e){return b.from(e.dom.previousSibling).map(k.fromDom)},Ja=function(e){return b.from(e.dom.nextSibling).map(k.fromDom)},Mv=function(e){return ji(Dv(e,Er))},Uv=function(e){return Dv(e,Ja)},jt=function(e){return De(e.dom.childNodes,k.fromDom)},Yi=function(e,t){var n=e.dom.childNodes;return b.from(n[t]).map(k.fromDom)},zv=function(e){return Yi(e,0)},hs=function(e){return Yi(e,e.dom.childNodes.length-1)},Hv=function(e){return e.dom.childNodes.length},ew=function(e){var t=e.dom.head;if(t==null)throw new Error("Head is not available yet");return k.fromDom(t)},Vv=function(e){return X0(e)&&Ne(e.dom.host)},Wv=Oe(Element.prototype.attachShadow)&&Oe(Node.prototype.getRootNode),tw=X(Wv),kr=Wv?function(e){return k.fromDom(e.dom.getRootNode())}:aa,gs=function(e){return Vv(e)?e:ew(aa(e))},nw=function(e){var t=kr(e);return Vv(t)?b.some(t):b.none()},rw=function(e){return k.fromDom(e.dom.host)},aw=function(e){if(tw()&&Ne(e.target)){var t=k.fromDom(e.target);if(Zt(t)&&iw(t)&&e.composed&&e.composedPath){var n=e.composedPath();if(n)return Pt(n)}}return b.from(e.target)},iw=function(e){return Ne(e.dom.shadowRoot)},en=function(e,t){var n=Jt(e);n.each(function(r){r.dom.insertBefore(t.dom,e.dom)})},ei=function(e,t){var n=Ja(e);n.fold(function(){var r=Jt(e);r.each(function(a){at(a,t)})},function(r){en(r,t)})},qv=function(e,t){var n=zv(e);n.fold(function(){at(e,t)},function(r){e.dom.insertBefore(t.dom,r.dom)})},at=function(e,t){e.dom.appendChild(t.dom)},ow=function(e,t){en(e,t),at(t,e)},uw=function(e,t){Y(t,function(n){en(e,n)})},Qi=function(e,t){Y(t,function(n){at(e,n)})},bs=function(e){e.dom.textContent="",Y(jt(e),function(t){tt(t)})},tt=function(e){var t=e.dom;t.parentNode!==null&&t.parentNode.removeChild(t)},jv=function(e){var t=jt(e);t.length>0&&uw(e,t),tt(e)},ti=function(e){var t=qt(e)?e.dom.parentNode:e.dom;if(t==null||t.ownerDocument===null)return!1;var n=t.ownerDocument;return nw(k.fromDom(t)).fold(function(){return n.body.contains(t)},Kc(ti,rw))},Kv=function(e,t){var n=function(r,a){return Kv(e+r,t+a)};return{left:e,top:t,translate:n}},ia=Kv,sw=function(e){var t=e.getBoundingClientRect();return ia(t.left,t.top)},Zi=function(e,t){return e!==void 0?e:t!==void 0?t:0},fw=function(e){var t=e.dom.ownerDocument,n=t.body,r=t.defaultView,a=t.documentElement;if(n===e.dom)return ia(n.offsetLeft,n.offsetTop);var i=Zi(r==null?void 0:r.pageYOffset,a.scrollTop),o=Zi(r==null?void 0:r.pageXOffset,a.scrollLeft),u=Zi(a.clientTop,n.clientTop),s=Zi(a.clientLeft,n.clientLeft);return ys(e).translate(o-s,i-u)},ys=function(e){var t=e.dom,n=t.ownerDocument,r=n.body;return r===t?ia(r.offsetLeft,r.offsetTop):ti(e)?sw(t):ia(0,0)},Cs=function(e){var t=e!==void 0?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return ia(n,r)},Gv=function(e,t,n){var r=n!==void 0?n.dom:document,a=r.defaultView;a&&a.scrollTo(e,t)},Xv=function(e,t){var n=Wt().browser.isSafari();n&&Oe(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(t)},lw=function(e){var t=e===void 0?window:e;return Wt().browser.isFirefox()?b.none():b.from(t.visualViewport)},Yv=function(e,t,n,r){return{x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}},Qv=function(e){var t=e===void 0?window:e,n=t.document,r=Cs(k.fromDom(n));return lw(t).fold(function(){var a=t.document.documentElement,i=a.clientWidth,o=a.clientHeight;return Yv(r.left,r.top,i,o)},function(a){return Yv(Math.max(a.pageLeft,r.left),Math.max(a.pageTop,r.top),a.width,a.height)})},ni=function(e){return function(t){return!!t&&t.nodeType===e}},Ji=function(e){return!!e&&!Object.getPrototypeOf(e)},ae=ni(1),Kt=function(e){var t=e.map(function(n){return n.toLowerCase()});return function(n){if(n&&n.nodeName){var r=n.nodeName.toLowerCase();return Je(t,r)}return!1}},eo=function(e,t){var n=t.toLowerCase().split(" ");return function(r){if(ae(r))for(var a=0;a0})},rd=function(e){var t={},n=e.dom;if(ro(n))for(var r=0;r=e.length&&n(r)}};e.length===0?n([]):Y(e,function(o,u){o.get(i(u))})})},Dw=function(e){return _w(e,sd.nu)},sa=function(e){var t=function(c){return sa(e)},n=function(c){return sa(e)},r=function(c){return sa(c(e))},a=function(c){return sa(e)},i=function(c){c(e)},o=function(c){return c(e)},u=function(c,v){return v(e)},s=function(c){return c(e)},f=function(c){return c(e)},l=function(){return b.some(e)};return{isValue:qe,isError:Re,getOr:X(e),getOrThunk:X(e),getOrDie:X(e),or:t,orThunk:n,fold:u,map:r,mapError:a,each:i,bind:o,exists:s,forall:f,toOptional:l}},ai=function(e){var t=function(f){return f()},n=function(){return zC(String(e))()},r=Tt,a=function(f){return f()},i=function(f){return ai(e)},o=function(f){return ai(f(e))},u=function(f){return ai(e)},s=function(f,l){return f(e)};return{isValue:Re,isError:qe,getOr:Tt,getOrThunk:t,getOrDie:n,or:r,orThunk:a,fold:s,map:i,mapError:o,each:ve,bind:u,exists:Re,forall:qe,toOptional:b.none}},Ow=function(e,t){return e.fold(function(){return ai(t)},sa)},fd={value:sa,error:ai,fromOption:Ow},Pw=function(e){if(!Vt(e))throw new Error("cases must be an array");if(e.length===0)throw new Error("there must be at least one case");var t=[],n={};return Y(e,function(r,a){var i=ea(r);if(i.length!==1)throw new Error("one and only one name per case");var o=i[0],u=r[o];if(n[o]!==void 0)throw new Error("duplicate key detected:"+o);if(o==="cata")throw new Error("cannot have a case named cata (sorry)");if(!Vt(u))throw new Error("case arguments must be an array");t.push(o),n[o]=function(){for(var s=[],f=0;f0?g(S.fail.map(ld)):y(S.pass.map(ld))})},m=function(h){var y=_._addCacheSuffix(h);je(r,y).each(function(g){var E=--g.count;E===0&&(delete r[y],f(g.id))})},p=function(h){Y(h,function(y){m(y)})};return{load:c,loadAll:d,unload:m,unloadAll:p,_setReferrerPolicy:u}},Uw=function(){var e=new WeakMap,t=function(n,r){var a=kr(n),i=a.dom;return b.from(e.get(i)).getOrThunk(function(){var o=md(i,r);return e.set(i,o),o})};return{forElement:t}},pd=Uw(),Ge=function(){function e(t,n){this.node=t,this.rootNode=n,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}return e.prototype.current=function(){return this.node},e.prototype.next=function(t){return this.node=this.findSibling(this.node,"firstChild","nextSibling",t),this.node},e.prototype.prev=function(t){return this.node=this.findSibling(this.node,"lastChild","previousSibling",t),this.node},e.prototype.prev2=function(t){return this.node=this.findPreviousNode(this.node,"lastChild","previousSibling",t),this.node},e.prototype.findSibling=function(t,n,r,a){var i,o;if(t){if(!a&&t[n])return t[n];if(t!==this.rootNode){if(i=t[r],i)return i;for(o=t.parentNode;o&&o!==this.rootNode;o=o.parentNode)if(i=o[r],i)return i}}},e.prototype.findPreviousNode=function(t,n,r,a){var i,o,u;if(t){if(i=t[r],this.rootNode&&i===this.rootNode)return;if(i){if(!a){for(u=i[n];u;u=u[n])if(!u[n])return u}return i}if(o=t.parentNode,o&&o!==this.rootNode)return o}},e}(),zw=["article","aside","details","div","dt","figcaption","footer","form","fieldset","header","hgroup","html","main","nav","section","summary","body","p","dl","multicol","dd","figure","address","center","blockquote","h1","h2","h3","h4","h5","h6","listing","xmp","pre","plaintext","menu","dir","ul","ol","li","hr","table","tbody","thead","tfoot","th","tr","td","caption"],Hw=["td","th"],Vw=["thead","tbody","tfoot"],Ww=["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"],qw=["h1","h2","h3","h4","h5","h6"],jw=["li","dd","dt"],Kw=["ul","ol","dl"],Gw=["pre","script","textarea","style"],Gn=function(e){var t;return function(n){return t=t||XC(e,qe),pe(t,Ke(n))}},Xw=Gn(qw),gn=Gn(zw),Yw=function(e){return Ke(e)==="table"},Bs=function(e){return Zt(e)&&!gn(e)},fa=function(e){return Zt(e)&&Ke(e)==="br"},hd=Gn(Ww),_s=Gn(Kw),oi=Gn(jw),Qw=Gn(Vw),uo=Gn(Hw),so=Gn(Gw),Zw=function(e,t,n){return io(e,t,n).isSome()},Ds="\uFEFF",At="\xA0",Jw=function(e){return e===Ds},eS=function(e){return e.replace(/\uFEFF/g,"")},nt=Ds,fo=Jw,Xn=eS,tS=ae,la=Q,ca=function(e){return la(e)&&(e=e.parentNode),tS(e)&&e.hasAttribute("data-mce-caret")},va=function(e){return la(e)&&fo(e.data)},Lt=function(e){return ca(e)||va(e)},gd=function(e){return e.firstChild!==e.lastChild||!$e(e.firstChild)},nS=function(e,t){var n=e.ownerDocument,r=n.createTextNode(nt),a=e.parentNode;if(t){var i=e.previousSibling;if(la(i)){if(Lt(i))return i;if(co(i))return i.splitText(i.data.length-1)}a.insertBefore(r,e)}else{var i=e.nextSibling;if(la(i)){if(Lt(i))return i;if(lo(i))return i.splitText(1),i}e.nextSibling?a.insertBefore(r,e.nextSibling):a.appendChild(r)}return r},Os=function(e){var t=e.container();return Q(t)?t.data.charAt(e.offset())===nt||e.isAtStart()&&va(t.previousSibling):!1},Ps=function(e){var t=e.container();return Q(t)?t.data.charAt(e.offset()-1)===nt||e.isAtEnd()&&va(t.nextSibling):!1},rS=function(){var e=document.createElement("br");return e.setAttribute("data-mce-bogus","1"),e},aS=function(e,t,n){var r=t.ownerDocument,a=r.createElement(e);a.setAttribute("data-mce-caret",n?"before":"after"),a.setAttribute("data-mce-bogus","all"),a.appendChild(rS());var i=t.parentNode;return n?i.insertBefore(a,t):t.nextSibling?i.insertBefore(a,t.nextSibling):i.appendChild(a),a},lo=function(e){return la(e)&&e.data[0]===nt},co=function(e){return la(e)&&e.data[e.data.length-1]===nt},iS=function(e){var t=e.getElementsByTagName("br"),n=t[t.length-1];xr(n)&&n.parentNode.removeChild(n)},Is=function(e){return e&&e.hasAttribute("data-mce-caret")?(iS(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("_moz_abspos"),e):null},bd=function(e){return ca(e.startContainer)},yd=pn,oS=_e,uS=$e,sS=Q,fS=Kt(["script","style","textarea"]),Cd=Kt(["img","input","textarea","hr","iframe","video","audio","object","embed"]),lS=Kt(["table"]),cS=Lt,bn=function(e){return cS(e)?!1:sS(e)?!fS(e.parentNode):Cd(e)||uS(e)||lS(e)||Ls(e)},vS=function(e){return ae(e)&&e.getAttribute("unselectable")==="true"},Ls=function(e){return vS(e)===!1&&oS(e)},dS=function(e,t){for(e=e.parentNode;e&&e!==t;e=e.parentNode){if(Ls(e))return!1;if(yd(e))return!0}return!0},mS=function(e){return Ls(e)?Qt(dn(e.getElementsByTagName("*")),function(t,n){return t||yd(n)},!1)!==!0:!1},pS=function(e){return Cd(e)||mS(e)},vo=function(e,t){return bn(e)&&dS(e,t)},hS=/^[ \t\r\n]*$/,Nr=function(e){return hS.test(e)},gS=function(e,t){var n=k.fromDom(t),r=k.fromDom(e);return Zw(r,"pre,code",G(Te,n))},bS=function(e,t){return Q(e)&&Nr(e.data)&&gS(e,t)===!1},yS=function(e){return ae(e)&&e.nodeName==="A"&&!e.hasAttribute("href")&&(e.hasAttribute("name")||e.hasAttribute("id"))},mo=function(e,t){return bn(e)&&bS(e,t)===!1||yS(e)||CS(e)},CS=Zv("data-mce-bookmark"),wS=Zv("data-mce-bogus"),SS=cw("data-mce-bogus","all"),ES=function(e,t){var n=0;if(mo(e,e))return!1;var r=e.firstChild;if(!r)return!0;var a=new Ge(r,e);do{if(t){if(SS(r)){r=a.next(!0);continue}if(wS(r)){r=a.next();continue}}if($e(r)){n++,r=a.next();continue}if(mo(r,e))return!1;r=a.next()}while(r);return n<=1},Xe=function(e,t){return t===void 0&&(t=!0),ES(e.dom,t)},kS=function(e){return e.nodeName.toLowerCase()==="span"},wd=function(e,t){return Ne(e)&&(mo(e,t)||Bs(k.fromDom(e)))},xS=function(e,t){var n=new Ge(e,t).prev(!1),r=new Ge(e,t).next(!1),a=Nt(n)||wd(n,t),i=Nt(r)||wd(r,t);return a&&i},Sd=function(e){return kS(e)&&e.getAttribute("data-mce-type")==="bookmark"},NS=function(e,t){return Q(e)&&e.data.length>0&&xS(e,t)},TS=function(e){return ae(e)?e.childNodes.length>0:!1},AS=function(e){return Es(e)||Ss(e)},$s=function(e,t,n){var r=n||t;if(ae(t)&&Sd(t))return t;for(var a=t.childNodes,i=a.length-1;i>=0;i--)$s(e,a[i],r);if(ae(t)){var o=t.childNodes;o.length===1&&Sd(o[0])&&t.parentNode.insertBefore(o[0],t)}return!AS(t)&&!mo(t,r)&&!TS(t)&&!NS(t,r)&&e.remove(t),t},RS=_.makeMap,po=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ho=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,BS=/[<>&\"\']/g,_S=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,DS={128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},Tr={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},OS={"<":"<",">":">","&":"&",""":'"',"'":"'"},PS=function(e){var t=k.fromTag("div").dom;return t.innerHTML=e,t.textContent||t.innerText||e},Ed=function(e,t){var n,r,a,i={};if(e){for(e=e.split(","),t=t||10,n=0;n1?"&#"+((n.charCodeAt(0)-55296)*1024+(n.charCodeAt(1)-56320)+65536)+";":Tr[n]||"&#"+n.charCodeAt(0)+";"})},Ms=function(e,t,n){return n=n||Fs,e.replace(t?po:ho,function(r){return Tr[r]||n[r]||r})},LS=function(e,t){var n=Ed(t)||Fs,r=function(o,u){return o.replace(u?po:ho,function(s){return Tr[s]!==void 0?Tr[s]:n[s]!==void 0?n[s]:s.length>1?"&#"+((s.charCodeAt(0)-55296)*1024+(s.charCodeAt(1)-56320)+65536)+";":"&#"+s.charCodeAt(0)+";"})},a=function(o,u){return Ms(o,u,n)},i=RS(e.replace(/\+/g,","));return i.named&&i.numeric?r:i.named?t?a:Ms:i.numeric?xd:kd},$S=function(e){return e.replace(_S,function(t,n){return n?(n.charAt(0).toLowerCase()==="x"?n=parseInt(n.substr(1),16):n=parseInt(n,10),n>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(n&1023))):DS[n]||String.fromCharCode(n)):OS[t]||Fs[t]||PS(t)})},Yn={encodeRaw:kd,encodeAllRaw:IS,encodeNumeric:xd,encodeNamed:Ms,getEncodeFunc:LS,decode:$S},Qn={},FS={},da=_.makeMap,ut=_.each,Us=_.extend,Nd=_.explode,MS=_.inArray,rt=function(e,t){return e=_.trim(e),e?e.split(t||" "):[]},Td=function(e,t){var n=da(e," ",da(e.toUpperCase()," "));return Us(n,t)},Ad=function(e){return Td("td th li dt dd figcaption caption details summary",e.getTextBlockElements())},US=function(e){var t={},n,r,a,i,o,u,s=function(l,c,v){var d,m,p,h=function(g,E){var S={},C,x;for(C=0,x=g.length;C
");return en(n.element,r),Up(r,function(){return tt(r)})},pN=function(e){return Up(k.fromDom(e),ve)},zp=function(e,t,n,r){gN(e,function(a,i){return hN(e,t,n,r)},n)},Hp=function(e,t,n,r,a){var i={elm:r.element.dom,alignToTop:a};if(!cN(e,i)){var o=Cs(t).top;n(t,o,r,a),vN(e,i)}},hN=function(e,t,n,r){var a=k.fromDom(e.getBody()),i=k.fromDom(e.getDoc());Sw(a);var o=mN(k.fromDom(n.startContainer),n.startOffset);Hp(e,i,t,o,r),o.cleanup()},Vp=function(e,t,n,r){var a=k.fromDom(e.getDoc());Hp(e,a,n,pN(t),r)},gN=function(e,t,n){var r=n.startContainer,a=n.startOffset,i=n.endContainer,o=n.endOffset;t(k.fromDom(r),k.fromDom(i));var u=e.dom.createRng();u.setStart(r,a),u.setEnd(i,o),e.selection.setRng(n)},Qf=function(e,t,n,r){var a=e.pos;if(n)Gv(a.left,a.top,r);else{var i=a.top-t+e.height;Gv(a.left,i,r)}},Wp=function(e,t,n,r,a){var i=n+t,o=r.pos.top,u=r.bottom,s=u-o>=n;if(oi){var f=s?a!==!1:a===!0;Qf(r,n,f,e)}else u>i&&!s&&Qf(r,n,a===!0,e)},qp=function(e,t,n,r){var a=e.dom.defaultView.innerHeight;Wp(e,t,a,n,r)},jp=function(e,t,n,r){var a=e.dom.defaultView.innerHeight;Wp(e,t,a,n,r);var i=lN(n.element),o=Qv(window);i.topo.bottom&&Xv(n.element,r===!0)},bN=function(e,t,n){return zp(e,qp,t,n)},yN=function(e,t,n){return Vp(e,t,qp,n)},CN=function(e,t,n){return zp(e,jp,t,n)},wN=function(e,t,n){return Vp(e,t,jp,n)},SN=function(e,t,n){var r=e.inline?yN:wN;r(e,t,n)},Ai=function(e,t,n){var r=e.inline?bN:CN;r(e,t,n)},EN=function(){return k.fromDom(document)},kN=function(e){return e.dom.focus()},Kp=function(e){var t=kr(e).dom;return e.dom===t.activeElement},Zf=function(e){return e===void 0&&(e=EN()),b.from(e.dom.activeElement).map(k.fromDom)},xN=function(e){return Zf(kr(e)).filter(function(t){return e.dom.contains(t.dom)})},NN=function(e,t,n,r){return{start:e,soffset:t,finish:n,foffset:r}},TN={create:NN},Jf=Kn.generate([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),AN=function(e,t,n,r){return e.fold(t,n,r)},RN=function(e){return e.fold(Tt,Tt,Tt)},BN=Jf.before,_N=Jf.on,DN=Jf.after,ON={before:BN,on:_N,after:DN,cata:AN,getStart:RN},Ko=Kn.generate([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),PN=function(e){return Ko.exact(e.start,e.soffset,e.finish,e.foffset)},IN=function(e){return e.match({domRange:function(t){return k.fromDom(t.startContainer)},relative:function(t,n){return ON.getStart(t)},exact:function(t,n,r,a){return t}})},LN=Ko.domRange,$N=Ko.relative,FN=Ko.exact,MN=function(e){var t=IN(e);return Fv(t)},UN=TN.create,Gp={domRange:LN,relative:$N,exact:FN,exactFromRange:PN,getWin:MN,range:UN},zN=Wt().browser,Xp=function(e,t){var n=qt(t)?Vf(t).length:jt(t).length+1;return e>n?n:e<0?0:e},HN=function(e){return Gp.range(e.start,Xp(e.soffset,e.start),e.finish,Xp(e.foffset,e.finish))},Yp=function(e,t){return!Ji(t.dom)&&(Wn(e,t)||Te(e,t))},el=function(e){return function(t){return Yp(e,t.start)&&Yp(e,t.finish)}},Qp=function(e){return e.inline===!0||zN.isIE()},Zp=function(e){return Gp.range(k.fromDom(e.startContainer),e.startOffset,k.fromDom(e.endContainer),e.endOffset)},VN=function(e){var t=e.getSelection(),n=!t||t.rangeCount===0?b.none():b.from(t.getRangeAt(0));return n.map(Zp)},WN=function(e){var t=Fv(e);return VN(t.dom).filter(el(e))},qN=function(e,t){return b.from(t).filter(el(e)).map(HN)},jN=function(e){var t=document.createRange();try{return t.setStart(e.start.dom,e.soffset),t.setEnd(e.finish.dom,e.foffset),b.some(t)}catch{return b.none()}},Go=function(e){var t=Qp(e)?WN(k.fromDom(e.getBody())):b.none();e.bookmark=t.isSome()?t:e.bookmark},KN=function(e,t){var n=k.fromDom(e.getBody()),r=Qp(e)?b.from(t):b.none(),a=r.map(Zp).filter(el(n));e.bookmark=a.isSome()?a:e.bookmark},tl=function(e){var t=e.bookmark?e.bookmark:b.none();return t.bind(function(n){return qN(k.fromDom(e.getBody()),n)}).bind(jN)},GN=function(e){tl(e).each(function(t){return e.selection.setRng(t)})},XN=function(e){var t=e.className.toString();return t.indexOf("tox-")!==-1||t.indexOf("mce-")!==-1},Jp={isEditorUIElement:XN},YN=function(e){return e.type==="nodechange"&&e.selectionChange},QN=function(e,t){var n=function(){t.throttle()};xe.DOM.bind(document,"mouseup",n),e.on("remove",function(){xe.DOM.unbind(document,"mouseup",n)})},ZN=function(e){e.on("focusout",function(){Go(e)})},JN=function(e,t){e.on("mouseup touchend",function(n){t.throttle()})},eT=function(e,t){var n=Wt().browser;n.isIE()?ZN(e):JN(e,t),e.on("keyup NodeChange",function(r){YN(r)||Go(e)})},tT=function(e){var t=cf(function(){Go(e)},0);e.on("init",function(){e.inline&&QN(e,t),eT(e,t)}),e.on("remove",function(){t.cancel()})},Ri,nl=xe.DOM,nT=function(e){return Jp.isEditorUIElement(e)},rT=function(e){var t=e.classList;return t!==void 0?t.contains("tox-edit-area")||t.contains("tox-edit-area__iframe")||t.contains("mce-content-body"):!1},Xo=function(e,t){var n=fx(e),r=nl.getParent(t,function(a){return nT(a)||(n?e.dom.is(a,n):!1)});return r!==null},aT=function(e){try{var t=kr(k.fromDom(e.getElement()));return Zf(t).fold(function(){return document.body},function(n){return n.dom})}catch{return document.body}},iT=function(e,t){var n=t.editor;tT(n),n.on("focusin",function(){var r=e.focusedEditor;r!==n&&(r&&r.fire("blur",{focusedEditor:n}),e.setActive(n),e.focusedEditor=n,n.fire("focus",{blurredEditor:r}),n.focus(!0))}),n.on("focusout",function(){ot.setEditorTimeout(n,function(){var r=e.focusedEditor;!Xo(n,aT(n))&&r===n&&(n.fire("blur",{focusedEditor:null}),e.focusedEditor=null)})}),Ri||(Ri=function(r){var a=e.activeEditor;a&&aw(r).each(function(i){i.ownerDocument===document&&i!==document.body&&!Xo(a,i)&&e.focusedEditor===a&&(a.fire("blur",{focusedEditor:null}),e.focusedEditor=null)})},nl.bind(document,"focusin",Ri))},oT=function(e,t){e.focusedEditor===t.editor&&(e.focusedEditor=null),e.activeEditor||(nl.unbind(document,"focusin",Ri),Ri=null)},uT=function(e){e.on("AddEditor",G(iT,e)),e.on("RemoveEditor",G(oT,e))},sT=function(e,t){return e.dom.getParent(t,function(n){return e.dom.getContentEditable(n)==="true"})},fT=function(e){return e.collapsed?b.from(or(e.startContainer,e.startOffset)).map(k.fromDom):b.none()},lT=function(e,t){return fT(t).bind(function(n){return Qw(n)?b.some(n):Wn(e,n)===!1?b.some(e):b.none()})},eh=function(e,t){lT(k.fromDom(e.getBody()),t).bind(function(n){return wt(n.dom)}).fold(function(){e.selection.normalize()},function(n){return e.selection.setRng(n.toRange())})},rl=function(e){if(e.setActive)try{e.setActive()}catch{e.focus()}else e.focus()},cT=function(e){return Kp(e)||xN(e).isSome()},vT=function(e){return e.iframeElement&&Kp(k.fromDom(e.iframeElement))},dT=function(e){var t=e.getBody();return t&&cT(k.fromDom(t))},mT=function(e){var t=kr(k.fromDom(e.getElement()));return Zf(t).filter(function(n){return!rT(n.dom)&&Xo(e,n.dom)}).isSome()},$r=function(e){return e.inline?dT(e):vT(e)},pT=function(e){return $r(e)||mT(e)},hT=function(e){var t=e.selection,n=e.getBody(),r=t.getRng();e.quirks.refreshContentEditable(),e.bookmark!==void 0&&$r(e)===!1&&tl(e).each(function(i){e.selection.setRng(i),r=i});var a=sT(e,t.getNode());if(e.$.contains(n,a)){rl(a),eh(e,r),al(e);return}e.inline||(se.opera||rl(n),e.getWin().focus()),(se.gecko||e.inline)&&(rl(n),eh(e,r)),al(e)},al=function(e){return e.editorManager.setActive(e)},gT=function(e,t){e.removed||(t?al(e):hT(e))},th=function(e,t,n,r,a){var i=n?t.startContainer:t.endContainer,o=n?t.startOffset:t.endOffset;return b.from(i).map(k.fromDom).map(function(u){return!r||!t.collapsed?Yi(u,a(u,o)).getOr(u):u}).bind(function(u){return Zt(u)?b.some(u):Jt(u).filter(Zt)}).map(function(u){return u.dom}).getOr(e)},nh=function(e,t,n){return th(e,t,!0,n,function(r,a){return Math.min(Hv(r),a)})},rh=function(e,t,n){return th(e,t,!1,n,function(r,a){return a>0?a-1:a})},ah=function(e,t){for(var n=e;e&&Q(e)&&e.length===0;)e=t?e.nextSibling:e.previousSibling;return e||n},bT=function(e,t){var n,r,a;if(!t)return e;r=t.startContainer,a=t.endContainer;var i=t.startOffset,o=t.endOffset;return n=t.commonAncestorContainer,!t.collapsed&&(r===a&&o-i<2&&r.hasChildNodes()&&(n=r.childNodes[i]),r.nodeType===3&&a.nodeType===3&&(r.length===i?r=ah(r.nextSibling,!0):r=r.parentNode,o===0?a=ah(a.previousSibling,!1):a=a.parentNode,r&&r===a))?r:n&&n.nodeType===3?n.parentNode:n},yT=function(e,t,n,r){var a,i=[],o=e.getRoot();if(n=e.getParent(n||nh(o,t,t.collapsed),e.isBlock),r=e.getParent(r||rh(o,t,t.collapsed),e.isBlock),n&&n!==o&&i.push(n),n&&r&&n!==r){a=n;for(var u=new Ge(n,o);(a=u.next())&&a!==r;)e.isBlock(a)&&i.push(a)}return r&&n!==r&&r!==o&&i.push(r),i},CT=function(e,t,n){return b.from(t).map(function(r){var a=e.nodeIndex(r),i=e.createRng();return i.setStart(r.parentNode,a),i.setEnd(r.parentNode,a+1),n&&(Uf(e,i,r,!0),Uf(e,i,r,!1)),i})},il=function(e,t){return De(t,function(n){var r=e.fire("GetSelectionRange",{range:n});return r.range!==n?r.range:n})},wT={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},Yo=function(e,t,n){var r=n?"lastChild":"firstChild",a=n?"prev":"next";if(e[r])return e[r];if(e!==t){var i=e[a];if(i)return i;for(var o=e.parent;o&&o!==t;o=o.parent)if(i=o[a],i)return i}},ST=function(e){if(!Nr(e.value))return!1;var t=e.parent;return!(t&&(t.name!=="span"||t.attr("style"))&&/^[ ]+$/.test(e.value))},ih=function(e){var t=e.name==="a"&&!e.attr("href")&&e.attr("id");return e.attr("name")||e.attr("id")&&!e.firstChild||e.attr("data-mce-bookmark")||t},Xt=function(){function e(t,n){this.name=t,this.type=n,n===1&&(this.attributes=[],this.attributes.map={})}return e.create=function(t,n){var r=new e(t,wT[t]||1);return n&&Pe(n,function(a,i){r.attr(i,a)}),r},e.prototype.replace=function(t){var n=this;return t.parent&&t.remove(),n.insert(t,n),n.remove(),n},e.prototype.attr=function(t,n){var r=this,a;if(typeof t!="string")return t!=null&&Pe(t,function(o,u){r.attr(u,o)}),r;if(a=r.attributes){if(n!==void 0){if(n===null){if(t in a.map){delete a.map[t];for(var i=a.length;i--;)if(a[i].name===t)return a.splice(i,1),r}return r}if(t in a.map){for(var i=a.length;i--;)if(a[i].name===t){a[i].value=n;break}}else a.push({name:t,value:n});return a.map[t]=n,r}return a.map[t]}},e.prototype.clone=function(){var t=this,n=new e(t.name,t.type),r;if(r=t.attributes){var a=[];a.map={};for(var i=0,o=r.length;i=s.length){for(i=0,o=u.length;i=s.length||u[i]!==s[i]){r=i+1;break}}if(u.length=u.length||u[i]!==s[i]){r=i+1;break}}if(r===1)return n;for(i=0,o=u.length-(r-1);i=0;r--)if(!(f[r].length===0||f[r]===".")){if(f[r]===".."){a++;continue}if(a>0){a--;continue}i.push(f[r])}return r=s.length-a,r<=0?o=ji(i).join("/"):o=s.slice(0,r).join("/")+"/"+ji(i).join("/"),o.indexOf("/")!==0&&(o="/"+o),u&&o.lastIndexOf("/")!==o.length-1&&(o+=u),o},e.prototype.getURI=function(t){t===void 0&&(t=!1);var n;return(!this.source||t)&&(n="",t||(this.protocol?n+=this.protocol+"://":n+="//",this.userInfo&&(n+=this.userInfo+"@"),this.host&&(n+=this.host),this.port&&(n+=":"+this.port)),this.path&&(n+=this.path),this.query&&(n+="?"+this.query),this.anchor&&(n+="#"+this.anchor),this.source=n),this.source},e}(),_T=_.makeMap("button,fieldset,form,iframe,img,image,input,object,output,select,textarea"),DT=function(e){return e.indexOf("data-")===0||e.indexOf("aria-")===0},OT=fs(function(){return document.implementation.createHTMLDocument("parser")}),ul=function(e,t,n){for(var r=/<([!?\/])?([A-Za-z0-9\-_:.]+)/g,a=/(?:\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g,i=e.getShortEndedElements(),o=1,u=n;o!==0;)for(r.lastIndex=u;;){var s=r.exec(t);if(s===null)return u;if(s[1]==="!"){Sr(s[2],"--")?u=sl(t,!1,s.index+3):u=sl(t,!0,s.index+1);break}else{a.lastIndex=r.lastIndex;var f=a.exec(t);if(Ka(f)||f.index!==r.lastIndex)continue;s[1]==="/"?o-=1:pe(i,s[2])||(o+=1),u=r.lastIndex+f[0].length;break}}return u},PT=function(e,t){return/^\s*\[if [\w\W]+\]>.*/.test(e.substr(t))},sl=function(e,t,n){n===void 0&&(n=0);var r=e.toLowerCase();if(r.indexOf("[if ",n)!==-1&&PT(r,n)){var a=r.indexOf("[endif]",n);return r.indexOf(">",a)}else if(t){var i=r.indexOf(">",n);return i!==-1?i:r.length}else{var o=/--!?>/g;o.lastIndex=n;var u=o.exec(e);return u?u.index+u[0].length:r.length}},IT=function(e,t){var n=e.exec(t);if(n){var r=n[1],a=n[2];return typeof r=="string"&&r.toLowerCase()==="data-mce-bogus"?a:null}else return null},Qo=function(e,t){t===void 0&&(t=Zn()),e=e||{};var n=OT(),r=n.createElement("form");e.fix_self_closing!==!1&&(e.fix_self_closing=!0);var a=e.comment?e.comment:ve,i=e.cdata?e.cdata:ve,o=e.text?e.text:ve,u=e.start?e.start:ve,s=e.end?e.end:ve,f=e.pi?e.pi:ve,l=e.doctype?e.doctype:ve,c=function(d,m){m===void 0&&(m="html");for(var p=d.html,h,y=0,g,E,S=[],C,x,B,L,ne,q,D,ee,U,W,F,V,K,O,j,fe,ge,he=0,We=Yn.decode,Be=_.makeMap("src,href,data,background,action,formaction,poster,xlink:href"),lt=m==="html"?0:1,xt=function(Se){var Ee,Ue;for(Ee=S.length;Ee--&&S[Ee].name!==Se;);if(Ee>=0){for(Ue=S.length-1;Ue>=Ee;Ue--)Se=S[Ue],Se.valid&&s(Se.name);S.length=Ee}},P=function(Se,Ee){return o(ol(Se,d),Ee)},z=function(Se){Se!==""&&(Se.charAt(0)===">"&&(Se=" "+Se),!e.allow_conditional_comments&&Se.substr(0,3).toLowerCase()==="[if"&&(Se=" "+Se),a(ol(Se,d)))},Z=function(Se){return ol(Se,d)},N=function(Se,Ee){var Ue=Se||"",fn=!Sr(Ue,"--"),ln=sl(p,fn,Ee);return Se=p.substr(Ee,ln-Ee),z(fn?Ue+Se:Se),ln+1},$=function(Se,Ee,Ue,fn,ln){if(Ee=Ee.toLowerCase(),Ue=Z(Ee in Fe?Ee:We(Ue||fn||ln||"")),Le&&!ne&&DT(Ee)===!1){var cn=F[Ee];if(!cn&&V){for(var gr=V.length;gr--&&(cn=V[gr],!cn.pattern.test(Ee)););gr===-1&&(cn=null)}if(!cn||cn.validValues&&!(Ue in cn.validValues))return}var Hc=Ee==="name"||Ee==="id";Hc&&Se in _T&&(Ue in n||Ue in r)||Be[Ee]&&!fr.isDomSafe(Ue,Se,e)||ne&&(Ee in Be||Ee.indexOf("on")===0)||(C.map[Ee]=Ue,C.push({name:Ee,value:Ue}))},I=new RegExp(`<(?:(?:!--([\\w\\W]*?)--!?>)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:![Dd][Oo][Cc][Tt][Yy][Pp][Ee]([\\w\\W]*?)>)|(?:!(--)?)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)>)|(?:([A-Za-z][A-Za-z0-9\\-_:.]*)(\\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\\s*|\\/)>))`,"g"),J=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,te=t.getShortEndedElements(),Ce=e.self_closing_elements||t.getSelfClosingElements(),Fe=t.getBoolAttrs(),Le=e.validate,Hn=e.remove_internals,ct=e.fix_self_closing,pt=t.getSpecialElements(),Me=p+">";h=I.exec(Me);){var Ot=h[0];if(yp.length){P(We(p.substr(h.index))),y=h.index+Ot.length;continue}g=g.toLowerCase(),g.charAt(0)===":"&&(g=g.substr(1)),q=g in te,ct&&Ce[g]&&S.length>0&&S[S.length-1].name===g&&xt(g);var ht=IT(J,h[9]);if(ht!==null){if(ht==="all"){y=ul(t,p,I.lastIndex),I.lastIndex=y;continue}ee=!1}if(!Le||(D=t.getElementRule(g))){if(ee=!0,Le&&(F=D.attributes,V=D.attributePatterns),(W=h[9])?(ne=W.indexOf("data-mce-type")!==-1,ne&&Hn&&(ee=!1),C=[],C.map={},W.replace(J,function(Se,Ee,Ue,fn,ln){return $(g,Ee,Ue,fn,ln),""})):(C=[],C.map={}),Le&&!ne){if(K=D.attributesRequired,O=D.attributesDefault,j=D.attributesForced,fe=D.removeEmptyAttrs,fe&&!C.length&&(ee=!1),j)for(x=j.length;x--;)U=j[x],L=U.name,ge=U.value,ge==="{$uid}"&&(ge="mce_"+he++),C.map[L]=ge,C.push({name:L,value:ge});if(O)for(x=O.length;x--;)U=O[x],L=U.name,L in C.map||(ge=U.value,ge==="{$uid}"&&(ge="mce_"+he++),C.map[L]=ge,C.push({name:L,value:ge}));if(K){for(x=K.length;x--&&!(K[x]in C.map););x===-1&&(ee=!1)}if(U=C.map["data-mce-bogus"]){if(U==="all"){y=ul(t,p,I.lastIndex),I.lastIndex=y;continue}ee=!1}}ee&&u(g,C,q)}else ee=!1;if(E=pt[g]){E.lastIndex=y=h.index+Ot.length,(h=E.exec(p))?(ee&&(B=p.substr(y,h.index-y)),y=h.index+h[0].length):(B=p.substr(y),y=p.length),ee&&(B.length>0&&P(B,!0),s(g)),I.lastIndex=y;continue}q||(!W||W.indexOf("/")!==W.length-1?S.push({name:g,valid:ee}):ee&&s(g))}else if(g=h[1])z(g);else if(g=h[2]){var _n=lt===1||e.preserve_cdata||S.length>0&&t.isValidChild(S[S.length-1].name,"#cdata");if(_n)i(g);else{y=N("",h.index+2),I.lastIndex=y;continue}}else if(g=h[3])l(g);else if((g=h[4])||Ot==="=0;x--)g=S[x],g.valid&&s(g.name)},v=function(d,m){m===void 0&&(m="html"),c(ET(d),m)};return{parse:v}};Qo.findEndTag=ul;var LT=function(e,t){var n=new RegExp(["\\s?("+e.join("|")+')="[^"]+"'].join("|"),"gi");return t.replace(n,"")},uh=function(e,t){for(var n=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,r=e.schema,a=LT(e.getTempAttrs(),t),i=r.getShortEndedElements(),o;o=n.exec(a);){var u=n.lastIndex,s=o[0].length,f=void 0;i[o[1]]?f=u:f=Qo.findEndTag(r,a,u),a=a.substring(0,u-s)+a.substring(f),n.lastIndex=u-s}return Xn(a)},$T=uh,FT=function(e,t){var n=ft(e),r=new RegExp("^(<"+n+"[^>]*>( | |\\s|\xA0|
|)<\\/"+n+`>[\r diff --git a/public/js/build/TaskDetail.4c8a9dab.js b/public/js/build/TaskDetail.8e83cc17.js similarity index 89% rename from public/js/build/TaskDetail.4c8a9dab.js rename to public/js/build/TaskDetail.8e83cc17.js index fc04a87e9..1a0208808 100644 --- a/public/js/build/TaskDetail.4c8a9dab.js +++ b/public/js/build/TaskDetail.8e83cc17.js @@ -1 +1 @@ -import{n as l,b as m,m as p}from"./app.92886a13.js";import f from"./TEditor.a01f0fae.js";import{P as k,T as _}from"./ProjectLog.f92c3d59.js";import{C as v,D as g}from"./DialogWrapper.3d496047.js";import{T as b}from"./TaskMenu.a1e9c7a5.js";import{U as D}from"./UserSelect.b15e51af.js";var w=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("Modal",{staticClass:"task-exist-tips",attrs:{title:t.$L("\u8BA1\u5212\u65F6\u95F4\u51B2\u7A81\u63D0\u793A")},model:{value:t.show,callback:function(a){t.show=a},expression:"show"}},[e("List",{attrs:{split:!1,size:"small"}},t._l(t.tipsTask,function(a,i){return e("ListItem",{key:i},[e("div",{staticClass:"list-content"},[e("UserAvatar",{attrs:{userid:i,size:28,"show-icon":!0,"show-name":!0,tooltipDisabled:""}}),t._l(a,function(o,n){return e("div",{key:n,staticClass:"list-task clearfix"},[e("div",{staticClass:"list-task-info"},[e("span",[t._v("["+t._s(o.project_name)+"] ")]),e("span",[t._v(t._s(o.name))])]),e("div",{staticClass:"list-task-date"},[t._v(t._s(t.getCutTime(o)))])])})],2)])}),1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.show=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary"},on:{click:t.onAdd}},[t._v(t._s(t.$L("\u5FFD\u7565\u5E76\u7EE7\u7EED")))])],1)],1)},C=[];const y={name:"TaskExistTips",props:{value:{type:Boolean,default:!1}},data(){return{isExist:!1,show:!1,tipsTask:[],loadIng:!1}},methods:{onAdd(){this.$emit("onAdd",{}),this.show=!1},getCutTime(t){let s=$A.Date(t.start_at,!0),e=$A.Date(t.end_at,!0),a="";return $A.formatDate("Y/m/d",s)==$A.formatDate("Y/m/d",e)?a=$A.formatDate("Y/m/d H:i",s)+" ~ "+$A.formatDate("H:i",e):$A.formatDate("Y",s)==$A.formatDate("Y",e)?(a=$A.formatDate("Y/m/d H:i",s)+" ~ "+$A.formatDate("m/d H:i",e),a=a.replace(/( 00:00| 23:59)/g,"")):(a=$A.formatDate("Y/m/d H:i",s)+" ~ "+$A.formatDate("Y/m/d H:i",e),a=a.replace(/( 00:00| 23:59)/g,"")),a},isExistTask({userids:t,timerange:s,taskid:e}){return this.isExist=!1,new Promise(async a=>{this.$store.dispatch("call",{url:"project/task/easylists",data:{userid:t,timerange:s,taskid:e},method:"get"}).then(({data:i})=>{if(i.data.length>0){this.show=!0;let o={};t.map(n=>{i.data.map(r=>{(r.task_user||[]).map(d=>d.owner?d.userid:0).indexOf(n)!==-1&&(o[n]||(o[n]=[]),o[n].push(r))})}),this.tipsTask=o,this.isExist=!0}a(this.isExist)})})}}},c={};var A=l(y,w,C,!1,L,null,null,null);function L(t){for(let s in c)this[s]=c[s]}var x=function(){return A.exports}(),T=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("Upload",{ref:"upload",attrs:{name:"files",action:"",multiple:"",format:t.uploadFormat,"show-upload-list":!1,"max-size":t.maxSize,"on-format-error":t.handleFormatError,"on-exceeded-size":t.handleMaxSize,"before-upload":t.handleBeforeUpload}})},I=[];const S={name:"TaskUpload",props:{maxSize:{type:Number,default:1024e3}},data(){return{uploadFormat:["jpg","jpeg","webp","png","gif","doc","docx","xls","xlsx","ppt","pptx","txt","esp","pdf","rar","zip","gz","ai","avi","bmp","cdr","eps","mov","mp3","mp4","pr","psd","svg","tif"]}},methods:{handleFormatError(t){$A.modalWarning({title:"\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E",content:"\u6587\u4EF6 "+t.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u4EC5\u652F\u6301\u53D1\u9001\uFF1A"+this.uploadFormat.join(",")})},handleMaxSize(t){$A.modalWarning({title:"\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236",content:"\u6587\u4EF6 "+t.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u53D1\u9001\u8D85\u8FC7"+$A.bytesToSize(this.maxSize*1024)+"\u3002"})},handleBeforeUpload(t){return this.$emit("on-select-file",t),!1},handleClick(){this.$refs.upload.handleClick()}}},h={};var F=l(S,T,I,!1,E,null,null,null);function E(t){for(let s in h)this[s]=h[s]}var O=function(){return F.exports}(),M=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.ready&&t.taskDetail.parent_id>0?e("li",[e("div",{staticClass:"subtask-icon"},[e("TaskMenu",{ref:`taskMenu_${t.taskDetail.id}`,attrs:{disabled:t.taskId===0,task:t.taskDetail,"load-status":t.taskDetail.loading===!0},on:{"on-update":t.getLogLists}})],1),t.taskDetail.flow_item_name?e("div",{staticClass:"subtask-flow"},[e("span",{class:t.taskDetail.flow_item_status,on:{click:function(a){return a.stopPropagation(),t.openMenu(a,t.taskDetail)}}},[t._v(t._s(t.taskDetail.flow_item_name))])]):t._e(),e("div",{staticClass:"subtask-name"},[e("Input",{ref:"name",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:8},maxlength:255,enterkeyhint:"done"},on:{"on-blur":function(a){return t.updateBlur("name")},"on-keydown":t.onNameKeydown},model:{value:t.taskDetail.name,callback:function(a){t.$set(t.taskDetail,"name",a)},expression:"taskDetail.name"}})],1),e("DatePicker",{staticClass:"subtask-time",attrs:{open:t.timeOpen,options:t.timeOptions,format:"yyyy/MM/dd HH:mm",type:"datetimerange",placement:"bottom-end",transfer:""},on:{"on-open-change":t.timeChange,"on-change":t.taskTimeChange,"on-clear":t.timeClear,"on-ok":t.timeOk},model:{value:t.timeValue,callback:function(a){t.timeValue=a},expression:"timeValue"}},[!t.taskDetail.complete_at&&t.taskDetail.end_at&&t.taskDetail.end_at!=t.mainEndAt?e("div",{class:["time",t.taskDetail.today?"today":"",t.taskDetail.overdue?"overdue":""],on:{click:t.openTime}},[t._v(" "+t._s(t.expiresFormat(t.taskDetail.end_at))+" ")]):e("Icon",{staticClass:"clock",attrs:{type:"ios-clock-outline"},on:{click:t.openTime}})],1),e("UserSelect",{staticClass:"subtask-avatar",attrs:{"multiple-max":10,"avatar-size":20,title:t.$L("\u4FEE\u6539\u8D1F\u8D23\u4EBA"),"add-icon":!1,"project-id":t.taskDetail.project_id,"before-submit":t.onOwner},model:{value:t.ownerData.owner_userid,callback:function(a){t.$set(t.ownerData,"owner_userid",a)},expression:"ownerData.owner_userid"}})],1):t.ready?e("div",{class:{"task-detail":!0,"open-dialog":t.hasOpenDialog,completed:t.taskDetail.complete_at},style:t.taskDetailStyle},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.taskDetail.id>0,expression:"taskDetail.id > 0"}],staticClass:"task-info"},[e("div",{staticClass:"head"},[e("TaskMenu",{ref:`taskMenu_${t.taskDetail.id}`,staticClass:"icon",attrs:{disabled:t.taskId===0,task:t.taskDetail,size:"medium","color-show":!1},on:{"on-update":t.getLogLists}}),t.taskDetail.flow_item_name?e("div",{staticClass:"flow"},[e("span",{class:t.taskDetail.flow_item_status,on:{click:function(a){return a.stopPropagation(),t.openMenu(a,t.taskDetail)}}},[t._v(t._s(t.taskDetail.flow_item_name))])]):t._e(),t.taskDetail.archived_at?e("div",{staticClass:"flow"},[e("span",{staticClass:"archived",on:{click:function(a){return a.stopPropagation(),t.openMenu(a,t.taskDetail)}}},[t._v(t._s(t.$L("\u5DF2\u5F52\u6863")))])]):t._e(),e("div",{staticClass:"nav"},[t.projectName?e("p",[e("span",[t._v(t._s(t.projectName))])]):t._e(),t.columnName?e("p",[e("span",[t._v(t._s(t.columnName))])]):t._e(),t.taskDetail.id?e("p",[e("span",[t._v(t._s(t.taskDetail.id))])]):t._e()]),e("div",{staticClass:"function"},[t.getOwner.length===0?e("EPopover",{attrs:{placement:"bottom"},model:{value:t.receiveShow,callback:function(a){t.receiveShow=a},expression:"receiveShow"}},[e("div",{staticClass:"task-detail-receive"},[e("div",{staticClass:"receive-title"},[e("Icon",{attrs:{type:"ios-help-circle"}}),t._v(" "+t._s(t.$L("\u786E\u8BA4\u8BA1\u5212\u65F6\u95F4\u9886\u53D6\u4EFB\u52A1"))+" ")],1),e("div",{staticClass:"receive-time"},[e("DatePicker",{attrs:{options:t.timeOptions,format:"yyyy/MM/dd HH:mm",type:"datetimerange",placeholder:t.$L("\u8BF7\u8BBE\u7F6E\u8BA1\u5212\u65F6\u95F4"),clearable:!1,editable:!1},on:{"on-change":t.taskTimeChange},model:{value:t.timeValue,callback:function(a){t.timeValue=a},expression:"timeValue"}})],1),e("div",{staticClass:"receive-bottom"},[e("Button",{attrs:{size:"small",type:"text"},on:{click:function(a){t.receiveShow=!1}}},[t._v("\u53D6\u6D88")]),e("Button",{attrs:{loading:t.ownerLoad>0,size:"small",type:"primary"},on:{click:function(a){return t.onOwner(!0)}}},[t._v("\u786E\u5B9A")])],1)]),e("Button",{staticClass:"pick",attrs:{slot:"reference",loading:t.ownerLoad>0,type:"primary"},slot:"reference"},[t._v(t._s(t.$L("\u6211\u8981\u9886\u53D6\u4EFB\u52A1")))])],1):t._e(),t.$Electron?e("ETooltip",{attrs:{disabled:t.$isEEUiApp||t.windowTouch,content:t.$L("\u65B0\u7A97\u53E3\u6253\u5F00")}},[e("i",{staticClass:"taskfont open",on:{click:t.openNewWin}},[t._v("\uE776")])]):t._e(),e("div",{staticClass:"menu"},[e("TaskMenu",{attrs:{disabled:t.taskId===0,task:t.taskDetail,icon:"ios-more","completed-icon":"ios-more",size:"medium","color-show":!1},on:{"on-update":t.getLogLists}})],1)],1)],1),e("Scrollbar",{staticClass:"scroller"},[e("div",{staticClass:"title"},[e("Input",{ref:"name",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:8},maxlength:255,enterkeyhint:"done"},on:{"on-blur":function(a){return t.updateBlur("name")},"on-keydown":t.onNameKeydown},model:{value:t.taskDetail.name,callback:function(a){t.$set(t.taskDetail,"name",a)},expression:"taskDetail.name"}})],1),e("div",{staticClass:"desc"},[e("TEditor",{ref:"desc",attrs:{value:t.taskContent,plugins:t.taskPlugins,options:t.taskOptions,"option-full":t.taskOptionFull,placeholder:t.$L("\u8BE6\u7EC6\u63CF\u8FF0..."),"scroll-hide-operate-class-name":"task-modal",inline:""},on:{"on-blur":function(a){return t.updateBlur("content")}}})],1),e("Form",{staticClass:"items",attrs:{"label-position":"left","label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[t.taskDetail.p_name?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE6EC")]),t._v(t._s(t.$L("\u4F18\u5148\u7EA7"))+" ")]),e("ul",{staticClass:"item-content"},[e("li",[e("EDropdown",{ref:"priority",attrs:{trigger:"click",placement:"bottom"},on:{command:function(a){return t.updateData("priority",a)}}},[e("TaskPriority",{attrs:{backgroundColor:t.taskDetail.p_color}},[t._v(t._s(t.taskDetail.p_name))]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.taskPriority,function(a,i){return e("EDropdownItem",{key:i,attrs:{command:a}},[e("i",{staticClass:"taskfont",style:{color:a.color},domProps:{innerHTML:t._s(t.taskDetail.p_name==a.name?"":"")}}),t._v(" "+t._s(a.name)+" ")])}),1)],1)],1)])]):t._e(),t.getOwner.length>0?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE6E4")]),t._v(t._s(t.$L("\u8D1F\u8D23\u4EBA"))+" ")]),e("UserSelect",{staticClass:"item-content user",attrs:{"multiple-max":10,"avatar-size":28,title:t.$L("\u4FEE\u6539\u8D1F\u8D23\u4EBA"),"project-id":t.taskDetail.project_id,"add-icon":!1,"before-submit":t.onOwner},model:{value:t.ownerData.owner_userid,callback:function(a){t.$set(t.ownerData,"owner_userid",a)},expression:"ownerData.owner_userid"}})],1):t._e(),t.getAssist.length>0||t.assistForce?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE63F")]),t._v(t._s(t.$L("\u534F\u52A9\u4EBA\u5458"))+" ")]),e("UserSelect",{ref:"assist",staticClass:"item-content user",attrs:{"multiple-max":10,"avatar-size":28,title:t.$L(t.getAssist.length>0?"\u4FEE\u6539\u534F\u52A9\u4EBA\u5458":"\u6DFB\u52A0\u534F\u52A9\u4EBA\u5458"),"project-id":t.taskDetail.project_id,"disabled-choice":t.assistData.disabled,"add-icon":!1,"before-submit":t.onAssist},model:{value:t.assistData.assist_userid,callback:function(a){t.$set(t.assistData,"assist_userid",a)},expression:"assistData.assist_userid"}})],1):t._e(),t.taskDetail.is_all_visible>1||t.visibleForce||t.visibleKeep?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE77B")]),e("EDropdown",{ref:"eDropdownRef",attrs:{trigger:"click",placement:"bottom"},on:{command:t.dropVisible}},[e("span",{staticClass:"visibility-text color"},[t._v(t._s(t.$L("\u53EF\u89C1\u6027"))+" "),e("i",{staticClass:"taskfont"},[t._v("\uE740")])]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e("EDropdownItem",{attrs:{command:1}},[e("div",{staticClass:"task-menu-icon"},[t.taskDetail.is_all_visible==1?e("Icon",{staticClass:"completed",attrs:{type:"md-checkmark-circle"}}):e("Icon",{staticClass:"uncomplete",attrs:{type:"md-radio-button-off"}}),t._v(" "+t._s(t.$L("\u9879\u76EE\u4EBA\u5458"))+" ")],1)]),e("EDropdownItem",{attrs:{command:2}},[e("div",{staticClass:"task-menu-icon"},[t.taskDetail.is_all_visible==2?e("Icon",{staticClass:"completed",attrs:{type:"md-checkmark-circle"}}):e("Icon",{staticClass:"uncomplete",attrs:{type:"md-radio-button-off"}}),t._v(" "+t._s(t.$L("\u4EFB\u52A1\u4EBA\u5458"))+" ")],1)]),e("EDropdownItem",{attrs:{command:3}},[e("div",{staticClass:"task-menu-icon"},[t.taskDetail.is_all_visible==3?e("Icon",{staticClass:"completed",attrs:{type:"md-checkmark-circle"}}):e("Icon",{staticClass:"uncomplete",attrs:{type:"md-radio-button-off"}}),t._v(" "+t._s(t.$L("\u6307\u5B9A\u6210\u5458"))+" ")],1)])],1)],1)],1),e("div",{staticClass:"item-content user"},[t.taskDetail.is_all_visible==1?e("span",{staticClass:"visibility-text",on:{click:t.showCisibleDropdown}},[t._v(t._s(t.$L("\u9879\u76EE\u4EBA\u5458\u53EF\u89C1")))]):t.taskDetail.is_all_visible==2?e("span",{staticClass:"visibility-text",on:{click:t.showCisibleDropdown}},[t._v(t._s(t.$L("\u4EFB\u52A1\u4EBA\u5458\u53EF\u89C1")))]):e("UserSelect",{ref:"visibleUserSelectRef",attrs:{"avatar-size":28,title:t.$L("\u9009\u62E9\u6307\u5B9A\u4EBA\u5458"),"project-id":t.taskDetail.project_id,"add-icon":!1},on:{"on-show-change":t.visibleUserSelectShowChange},model:{value:t.taskDetail.visibility_appointor,callback:function(a){t.$set(t.taskDetail,"visibility_appointor",a)},expression:"taskDetail.visibility_appointor"}})],1)]):t._e(),t.taskDetail.end_at||t.timeForce?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE6E8")]),t._v(t._s(t.$L("\u622A\u6B62\u65F6\u95F4"))+" ")]),e("ul",{staticClass:"item-content"},[e("li",[e("DatePicker",{attrs:{open:t.timeOpen,options:t.timeOptions,format:"yyyy/MM/dd HH:mm",type:"datetimerange",transfer:""},on:{"on-open-change":t.timeChange,"on-change":t.taskTimeChange,"on-clear":t.timeClear,"on-ok":t.timeOk},model:{value:t.timeValue,callback:function(a){t.timeValue=a},expression:"timeValue"}},[e("div",{staticClass:"picker-time"},[e("div",{staticClass:"time",on:{click:t.openTime}},[t._v(t._s(t.taskDetail.end_at?t.cutTime:"--"))]),!t.taskDetail.complete_at&&t.taskDetail.end_at?[t.within24Hours(t.taskDetail.end_at)?e("Tag",{attrs:{color:"blue"}},[e("i",{staticClass:"taskfont"},[t._v("\uE71D")]),t._v(t._s(t.expiresFormat(t.taskDetail.end_at)))]):t._e(),t.isOverdue(t.taskDetail)?e("Tag",{attrs:{color:"red"}},[t._v(t._s(t.$L("\u8D85\u671F\u672A\u5B8C\u6210")))]):t._e()]:t._e()],2)])],1)])]):t._e(),t.taskDetail.loop&&t.taskDetail.loop!="never"||t.loopForce?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE93F")]),t._v(t._s(t.$L("\u91CD\u590D\u5468\u671F"))+" ")]),e("ul",{staticClass:"item-content"},[e("li",[e("EDropdown",{ref:"loop",attrs:{trigger:"click",placement:"bottom"},on:{command:function(a){return t.updateData("loop",a)}}},[e("ETooltip",{attrs:{disabled:t.$isEEUiApp||t.windowTouch||!t.taskDetail.loop_at,content:`${t.$L("\u4E0B\u4E2A\u5468\u671F")}: ${t.taskDetail.loop_at}`,placement:"right"}},[e("span",[t._v(t._s(t.$L(t.loopLabel(t.taskDetail.loop))))])]),e("EDropdownMenu",{staticClass:"task-detail-loop",attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.loops,function(a){return e("EDropdownItem",{key:a.key,attrs:{command:a.key}},[t._v(" "+t._s(t.$L(a.label))+" ")])}),1)],1)],1)])]):t._e(),t.fileList.length>0?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE6E6")]),t._v(t._s(t.$L("\u9644\u4EF6"))+" ")]),e("ul",{staticClass:"item-content file"},[t.taskDetail.file_num>50?e("li",{staticClass:"tip"},[t._v(t._s(t.$L(`\u5171${t.taskDetail.file_num}\u4E2A\u6587\u4EF6\uFF0C\u4EC5\u663E\u793A\u6700\u65B050\u4E2A`)))]):t._e(),t._l(t.fileList,function(a){return e("li",[a.id?e("img",{staticClass:"file-ext",attrs:{src:a.thumb}}):e("Loading",{staticClass:"file-load"}),e("div",{staticClass:"file-name"},[t._v(t._s(a.name))]),e("div",{staticClass:"file-size"},[t._v(t._s(t.$A.bytesToSize(a.size)))]),e("div",{staticClass:"file-menu",class:{show:a._show_menu}},[e("Icon",{attrs:{type:"md-eye"},on:{click:function(i){return t.viewFile(a)}}}),e("Icon",{attrs:{type:"md-arrow-round-down"},on:{click:function(i){return t.downFile(a)}}}),e("EPopover",{staticClass:"file-delete",model:{value:a._show_menu,callback:function(i){t.$set(a,"_show_menu",i)},expression:"file._show_menu"}},[e("div",{staticClass:"task-detail-delete-file-popover"},[e("p",[t._v(t._s(t.$L("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u6587\u4EF6\u5417\uFF1F")))]),e("div",{staticClass:"buttons"},[e("Button",{attrs:{size:"small",type:"text"},on:{click:function(i){a._show_menu=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{size:"small",type:"primary"},on:{click:function(i){return t.deleteFile(a)}}},[t._v(t._s(t.$L("\u786E\u5B9A")))])],1)]),e("i",{staticClass:"taskfont del",attrs:{slot:"reference"},slot:"reference"},[t._v("\uE6EA")])])],1)],1)})],2),e("ul",{staticClass:"item-content"},[e("li",[e("div",{staticClass:"add-button",on:{click:function(a){return t.onUploadClick(!0)}}},[e("i",{staticClass:"taskfont"},[t._v("\uE6F2")]),t._v(t._s(t.$L("\u6DFB\u52A0\u9644\u4EF6"))+" ")])])])]):t._e(),t.subList.length>0||t.addsubForce?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE6F0")]),t._v(t._s(t.$L("\u5B50\u4EFB\u52A1"))+" ")]),e("ul",{staticClass:"item-content subtask"},t._l(t.subList,function(a,i){return e("TaskDetail",{key:i,ref:`subTask_${a.id}`,refInFor:!0,attrs:{"task-id":a.id,"open-task":a,"main-end-at":t.taskDetail.end_at,"can-update-blur":t.canUpdateBlur}})}),1),e("ul",{class:["item-content",t.subList.length===0?"nosub":""]},[e("li",[t.addsubShow?e("Input",{ref:"addsub",staticClass:"add-input",class:{loading:t.addsubLoad>0},attrs:{placeholder:t.$L("+ \u8F93\u5165\u5B50\u4EFB\u52A1\uFF0C\u56DE\u8F66\u6DFB\u52A0\u5B50\u4EFB\u52A1"),icon:t.addsubLoad>0?"ios-loading":"",enterkeyhint:"done"},on:{"on-blur":t.addsubChackClose,"on-keydown":t.addsubKeydown},model:{value:t.addsubName,callback:function(a){t.addsubName=a},expression:"addsubName"}}):e("div",{staticClass:"add-button",on:{click:t.addsubOpen}},[e("i",{staticClass:"taskfont"},[t._v("\uE6F2")]),t._v(t._s(t.$L("\u6DFB\u52A0\u5B50\u4EFB\u52A1"))+" ")])],1)])]):t._e()],1),t.menuList.length>0?e("div",{staticClass:"add"},[e("EDropdown",{attrs:{trigger:"click",placement:"bottom"},on:{command:t.dropAdd}},[e("div",{staticClass:"add-button"},[e("i",{staticClass:"taskfont"},[t._v("\uE6F2")]),t._v(" "+t._s(t.$L("\u6DFB\u52A0"))+" "),e("em",[t._v(t._s(t.menuText))])]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.menuList,function(a,i){return e("EDropdownItem",{key:i,attrs:{command:a.command}},[e("div",{staticClass:"item"},[e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(a.icon)}}),t._v(t._s(t.$L(a.name))+" ")])])}),1)],1)],1):t._e()],1),e("TaskUpload",{ref:"upload",staticClass:"upload",on:{"on-select-file":t.onSelectFile}})],1),e("div",{directives:[{name:"show",rawName:"v-show",value:t.taskDetail.id>0,expression:"taskDetail.id > 0"}],staticClass:"task-dialog",style:t.dialogStyle},[t.hasOpenDialog?[t.taskId>0?e("DialogWrapper",{ref:"dialog",attrs:{"dialog-id":t.taskDetail.dialog_id}},[e("div",{staticClass:"head",attrs:{slot:"head"},slot:"head"},[e("Icon",{staticClass:"icon",attrs:{type:"ios-chatbubbles-outline"}}),e("div",{staticClass:"nav"},[e("p",{class:{active:t.navActive=="dialog"},on:{click:function(a){t.navActive="dialog"}}},[t._v(t._s(t.$L("\u804A\u5929")))]),e("p",{class:{active:t.navActive=="log"},on:{click:function(a){t.navActive="log"}}},[t._v(t._s(t.$L("\u52A8\u6001")))]),t.navActive=="log"?e("div",{staticClass:"refresh"},[t.logLoadIng?e("Loading"):e("Icon",{attrs:{type:"ios-refresh"},on:{click:t.getLogLists}})],1):t._e()])],1)]):t._e(),t.navActive=="log"&&t.taskId>0?e("ProjectLog",{ref:"log",attrs:{"task-id":t.taskDetail.id},on:{"on-load-change":t.logLoadChange}}):t._e()]:e("div",[e("div",{staticClass:"head"},[e("Icon",{staticClass:"icon",attrs:{type:"ios-chatbubbles-outline"}}),e("div",{staticClass:"nav"},[e("p",{class:{active:t.navActive=="dialog"},on:{click:function(a){t.navActive="dialog"}}},[t._v(t._s(t.$L("\u804A\u5929")))]),e("p",{class:{active:t.navActive=="log"},on:{click:function(a){t.navActive="log"}}},[t._v(t._s(t.$L("\u52A8\u6001")))]),t.navActive=="log"?e("div",{staticClass:"refresh"},[t.logLoadIng?e("Loading"):e("Icon",{attrs:{type:"ios-refresh"},on:{click:t.getLogLists}})],1):t._e()]),e("div",{staticClass:"menu"},[t.navActive=="dialog"&&t.taskDetail.msg_num>0?e("div",{staticClass:"menu-item",on:{click:function(a){return a.stopPropagation(),t.onSend("open")}}},[t.openLoad>0?e("div",{staticClass:"menu-load"},[e("Loading")],1):t._e(),t._v(" "+t._s(t.$L("\u4EFB\u52A1\u804A\u5929"))+" "),e("em",[t._v("("+t._s(t.taskDetail.msg_num>999?"999+":t.taskDetail.msg_num)+")")]),e("i",{staticClass:"taskfont"},[t._v("\uE703")])]):t._e()])],1),t.navActive=="log"&&t.taskId>0?e("ProjectLog",{ref:"log",attrs:{"task-id":t.taskDetail.id,"show-load":!1},on:{"on-load-change":t.logLoadChange}}):e("div",{staticClass:"no-dialog",on:{drop:function(a){return a.preventDefault(),t.taskPasteDrag(a,"drag")},dragover:function(a){return a.preventDefault(),t.taskDragOver(!0,a)},dragleave:function(a){return a.preventDefault(),t.taskDragOver(!1,a)}}},[e("div",{staticClass:"no-tip"},[t._v(t._s(t.$L("\u6682\u65E0\u6D88\u606F")))]),e("div",{staticClass:"no-input"},[e("ChatInput",{ref:"chatInput",attrs:{"task-id":t.taskId,loading:t.sendLoad>0,maxlength:2e5,placeholder:t.$L("\u8F93\u5165\u6D88\u606F...")},on:{"on-more":t.onEventMore,"on-file":t.onSelectFile,"on-record":t.onRecord,"on-send":t.onSend},model:{value:t.msgText,callback:function(a){t.msgText=a},expression:"msgText"}})],1),t.dialogDrag?e("div",{staticClass:"drag-over",on:{click:function(a){t.dialogDrag=!1}}},[e("div",{staticClass:"drag-text"},[t._v(t._s(t.$L("\u62D6\u52A8\u5230\u8FD9\u91CC\u53D1\u9001")))])]):t._e()])],1)],2),t.taskDetail.id?t._e():e("div",{staticClass:"task-load"},[e("Loading")],1),e("TaskExistTips",{ref:"taskExistTipsRef",on:{onAdd:function(a){return t.updateData("times",t.updateParams)}}})],1):t._e()},j=[];const P={name:"TaskDetail",components:{UserSelect:D,TaskExistTips:x,ChatInput:v,TaskMenu:b,ProjectLog:k,DialogWrapper:g,TaskUpload:O,TaskPriority:_,TEditor:f},props:{taskId:{type:Number,default:0},openTask:{type:Object,default:()=>({})},mainEndAt:{default:null},canUpdateBlur:{type:Boolean,default:!0},modalMode:{type:Boolean,default:!1}},data(){return{ready:!1,taskDetail:{},ownerData:{},ownerLoad:0,receiveShow:!1,assistForce:!1,assistData:{},assistLoad:0,visibleForce:!1,addsubForce:!1,addsubShow:!1,addsubName:"",addsubLoad:0,timeForce:!1,timeOpen:!1,timeValue:[],timeOptions:{shortcuts:$A.timeOptionShortcuts()},loopForce:!1,nowTime:$A.Time(),nowInterval:null,msgText:"",msgFile:[],msgRecord:{},navActive:"dialog",logLoadIng:!1,sendLoad:0,openLoad:0,taskPlugins:["advlist autolink lists link image charmap print preview hr anchor pagebreak","searchreplace visualblocks visualchars code","insertdatetime media nonbreaking save table directionality","emoticons paste codesample","autoresize"],taskOptions:{statusbar:!1,menubar:!1,autoresize_bottom_margin:2,min_height:200,max_height:380,contextmenu:"bold italic underline forecolor backcolor | link | codesample | uploadImages imagePreview | preview screenload",valid_elements:"a[href|title|target=_blank],em,strong/b,div[align],span[style],a,br,p,img[src|alt|witdh|height],pre[class],code",extended_valid_elements:"a[href|title|target=_blank]",toolbar:!1},taskOptionFull:{menubar:"file edit view",valid_elements:"a[href|title|target=_blank],em,strong/b,div[align],span[style],a,br,p,img[src|alt|witdh|height],pre[class],code",extended_valid_elements:"a[href|title|target=_blank]",toolbar:"uploadImages | bold italic underline forecolor backcolor | codesample | preview screenload"},dialogDrag:!1,imageAttachment:!0,receiveTaskSubscribe:null,loops:[{key:"never",label:"\u4ECE\u4E0D"},{key:"day",label:"\u6BCF\u5929"},{key:"weekdays",label:"\u6BCF\u4E2A\u5DE5\u4F5C\u65E5"},{key:"week",label:"\u6BCF\u5468"},{key:"twoweeks",label:"\u6BCF\u4E24\u5468"},{key:"month",label:"\u6BCF\u6708"},{key:"year",label:"\u6BCF\u5E74"},{key:"custom",label:"\u81EA\u5B9A\u4E49"}],updateParams:{}}},created(){const t=$A.getObject(this.$route.query,"navActive");["dialog","log"].includes(t)&&(this.navActive=t)},mounted(){this.nowInterval=setInterval(()=>{this.nowTime=$A.Time()},1e3),this.receiveTaskSubscribe=m.Store.subscribe("receiveTask",()=>{this.receiveShow=!0})},destroyed(){clearInterval(this.nowInterval),this.receiveTaskSubscribe&&(this.receiveTaskSubscribe.unsubscribe(),this.receiveTaskSubscribe=null)},computed:{...p(["systemConfig","cacheProjects","cacheColumns","cacheTasks","taskContents","taskFiles","taskPriority","dialogId"]),projectName(){if(!this.taskDetail.project_id)return"";if(this.taskDetail.project_name)return this.taskDetail.project_name;const t=this.cacheProjects.find(({id:s})=>s==this.taskDetail.project_id);return t?t.name:""},columnName(){if(!this.taskDetail.column_id)return"";if(this.taskDetail.column_name)return this.taskDetail.column_name;const t=this.cacheColumns.find(({id:s})=>s==this.taskDetail.column_id);return t?t.name:""},taskContent(){if(!this.taskId)return"";let t=this.taskContents.find(({task_id:s})=>s==this.taskId);return t?t.content:""},fileList(){return this.taskId?this.taskFiles.filter(({task_id:t})=>t==this.taskId).sort((t,s)=>s.id-t.id):[]},subList(){return this.taskId?this.cacheTasks.filter(t=>t.parent_id==this.taskId).sort((t,s)=>t.id-s.id):[]},hasOpenDialog(){return this.taskDetail.dialog_id>0&&this.windowLandscape},dialogStyle(){const{windowHeight:t,hasOpenDialog:s}=this,e=Math.min(1100,t);if(!e)return{};if(!s)return{};const a=e>900?200:70;return{minHeight:e-a-48+"px"}},taskDetailStyle(){const{modalMode:t,windowHeight:s,hasOpenDialog:e}=this,a=Math.min(1100,s);if(t&&e){const i=a>900?200:70;return{maxHeight:a-i-30+"px"}}return{}},cutTime(){const{taskDetail:t}=this;let s=$A.Date(t.start_at,!0),e=$A.Date(t.end_at,!0),a="";return $A.formatDate("Y/m/d",s)==$A.formatDate("Y/m/d",e)?a=$A.formatDate("Y/m/d H:i",s)+" ~ "+$A.formatDate("H:i",e):$A.formatDate("Y",s)==$A.formatDate("Y",e)?(a=$A.formatDate("Y/m/d H:i",s)+" ~ "+$A.formatDate("m/d H:i",e),a=a.replace(/( 00:00| 23:59)/g,"")):(a=$A.formatDate("Y/m/d H:i",s)+" ~ "+$A.formatDate("Y/m/d H:i",e),a=a.replace(/( 00:00| 23:59)/g,"")),a},getOwner(){const{taskDetail:t}=this;return $A.isArray(t.task_user)?t.task_user.filter(({owner:s})=>s===1).sort((s,e)=>s.id-e.id):[]},getAssist(){const{taskDetail:t}=this;return $A.isArray(t.task_user)?t.task_user.filter(({owner:s})=>s===0).sort((s,e)=>s.id-e.id):[]},menuList(){const{taskDetail:t}=this,s=[];return t.p_name||s.push({command:"priority",icon:"",name:"\u4F18\u5148\u7EA7"}),$A.isArray(t.task_user)&&t.task_user.find(({owner:e})=>e===0)||s.push({command:"assist",icon:"",name:"\u534F\u52A9\u4EBA\u5458"}),t.is_all_visible<=1&&!this.visibleKeep&&s.push({command:"visible",icon:"",name:"\u53EF\u89C1\u6027"}),t.end_at||s.push({command:"times",icon:"",name:"\u622A\u6B62\u65F6\u95F4"}),(!t.loop||t.loop=="never")&&s.push({command:"loop",icon:"",name:"\u91CD\u590D\u5468\u671F"}),this.fileList.length==0&&s.push({command:"file",icon:"",name:"\u9644\u4EF6"}),this.subList.length==0&&s.push({command:"subtask",icon:"",name:"\u5B50\u4EFB\u52A1"}),s},menuText(){const{menuList:t}=this;let s="";return t.length>0&&t.forEach((e,a)=>{a>0&&(s+=" / "),s+=this.$L(e.name)}),s},visibleKeep(){return this.systemConfig.task_visible==="open"}},watch:{openTask:{handler(t){this.taskDetail=$A.cloneJSON(t),this.__openTask&&clearTimeout(this.__openTask),this.__openTask=setTimeout(s=>{var e;return(e=this.$refs.name)==null?void 0:e.resizeTextarea()},100)},immediate:!0,deep:!0},taskId:{handler(t){t>0?this.ready=!0:(this.windowPortrait&&$A.onBlur(),this.timeOpen=!1,this.timeForce=!1,this.loopForce=!1,this.assistForce=!1,this.visibleForce=!1,this.addsubForce=!1,this.receiveShow=!1,this.$refs.chatInput&&this.$refs.chatInput.hidePopover())},immediate:!0},getOwner:{handler(t){const s=t.map(({userid:e})=>e);this.$set(this.taskDetail,"owner_userid",s),this.$set(this.ownerData,"owner_userid",s),this.$set(this.assistData,"disabled",t.map(({userid:e})=>e).filter(e=>e!=this.userId))},immediate:!0},getAssist:{handler(t){const s=t.map(({userid:e})=>e);this.$set(this.taskDetail,"assist_userid",s),this.$set(this.assistData,"assist_userid",s)},immediate:!0},receiveShow(t){t&&(this.timeValue=this.taskDetail.end_at?[this.taskDetail.start_at,this.taskDetail.end_at]:[])},"taskDetail.visibility_appointor":{handler(t){(t==null?void 0:t.length)>0&&t[0]&&(this.taskDetail.is_all_visible=3,this.updateVisible())},immediate:!0}},methods:{within24Hours(t){return $A.Date(t,!0)-this.nowTime<86400},expiresFormat(t){return $A.countDownFormat(t,this.nowTime)},isOverdue(t){return t.overdue?!0:$A.Date(t.end_at,!0)e.key===t);return s?s.label:t?`\u6BCF${t}\u5929`:"\u4ECE\u4E0D"},onNameKeydown(t){t.keyCode===13&&(t.shiftKey||(t.preventDefault(),this.updateData("name")))},checkUpdate(t){let s=!1;if(this.openTask.name!=this.taskDetail.name)if(s=!0,t===!0)this.updateData("name");else return t===!1&&this.$refs.name.focus(),!0;if(this.$refs.desc&&this.$refs.desc.getContent()!=this.taskContent)if(s=!0,t===!0)this.updateData("content");else return t===!1&&this.$refs.desc.focus(),!0;if(this.addsubShow&&this.addsubName)if(s=!0,t===!0)this.onAddsub();else return t===!1&&this.$refs.addsub.focus(),!0;return this.subList.some(({id:e})=>{this.$refs[`subTask_${e}`][0].checkUpdate(t)&&(s=!0)}),s},updateBlur(t,s){this.canUpdateBlur&&this.updateData(t,s)},updateData(t,s){let e=null;switch(t){case"priority":this.$set(this.taskDetail,"p_level",s.priority),this.$set(this.taskDetail,"p_name",s.name),this.$set(this.taskDetail,"p_color",s.color),t=["p_level","p_name","p_color"];break;case"times":if(this.taskDetail.start_at&&(Math.abs($A.Time(this.taskDetail.start_at)-$A.Time(s.start_at))>60||Math.abs($A.Time(this.taskDetail.end_at)-$A.Time(s.end_at))>60)&&typeof s.desc=="undefined"){$A.modalInput({title:`\u4FEE\u6539${this.taskDetail.parent_id>0?"\u5B50\u4EFB\u52A1":"\u4EFB\u52A1"}\u65F6\u95F4`,placeholder:"\u8BF7\u8F93\u5165\u4FEE\u6539\u5907\u6CE8",okText:"\u786E\u5B9A",onOk:o=>o?(this.updateParams=Object.assign(s,{desc:o}),s.start_at&&s.end_at&&this.$refs.taskExistTipsRef?this.$refs.taskExistTipsRef.isExistTask({taskid:this.taskDetail.id,userids:this.taskDetail.owner_userid,timerange:[s.start_at,s.end_at]}).then(n=>{n||this.updateData("times",this.updateParams)}):this.updateData("times",this.updateParams),!1):"\u8BF7\u8F93\u5165\u4FEE\u6539\u5907\u6CE8"});return}this.$set(this.taskDetail,"times",[s.start_at,s.end_at,s.desc]);break;case"loop":if(s==="custom"){this.customLoop();return}this.$set(this.taskDetail,"loop",s);break;case"content":const i=this.$refs.desc.getContent();if(i==this.taskContent)return;this.$set(this.taskDetail,"content",i),e=()=>{this.$store.dispatch("saveTaskContent",{task_id:this.taskId,content:i})};break}let a={task_id:this.taskDetail.id};($A.isArray(t)?t:[t]).forEach(i=>{let o=this.taskDetail[i],n=this.openTask[i];$A.jsonStringify(o)!=$A.jsonStringify(n)&&(a[i]=o)}),!(Object.keys(a).length<=1)&&this.$store.dispatch("taskUpdate",a).then(({msg:i})=>{$A.messageSuccess(i),typeof e=="function"&&e()}).catch(({msg:i})=>{$A.modalError(i)})},customLoop(){let t=this.taskDetail.loop||1;$A.Modal.confirm({render:s=>s("div",[s("div",{style:{fontSize:"16px",fontWeight:"500",marginBottom:"20px"}},this.$L("\u91CD\u590D\u5468\u671F")),s("Input",{style:{width:"160px",margin:"0 auto"},props:{type:"number",value:t,maxlength:3},on:{input:e=>{t=$.runNum(e)}}},[s("span",{slot:"prepend"},this.$L("\u6BCF")),s("span",{slot:"append"},this.$L("\u5929"))])]),onOk:s=>{this.$Modal.remove(),t>0&&this.updateData("loop",t)},loading:!0,okText:this.$L("\u786E\u5B9A"),cancelText:this.$L("\u53D6\u6D88")})},async taskTimeChange(){const t=$A.date2string(this.timeValue,"Y-m-d H:i");$A.rightExists(t[0],"00:00")&&$A.rightExists(t[1],"00:00")&&(this.timeValue=await this.$store.dispatch("taskDefaultTime",t))},async onOwner(t){let s={task_id:this.taskDetail.id,owner:this.ownerData.owner_userid};if(t===!0){if(this.getOwner.length>0){this.receiveShow=!1,$A.messageError("\u4EFB\u52A1\u5DF2\u88AB\u9886\u53D6");return}const e=$A.date2string(this.timeValue,"Y-m-d H:i");if(!(e[0]&&e[1])){$A.messageError("\u8BF7\u8BBE\u7F6E\u8BA1\u5212\u65F6\u95F4");return}s.times=e,s.owner=this.ownerData.owner_userid=[this.userId]}if($A.jsonStringify(this.taskDetail.owner_userid)!==$A.jsonStringify(this.ownerData.owner_userid))return $A.count(s.owner)==0&&(s.owner=""),this.ownerLoad++,new Promise((e,a)=>{this.$store.dispatch("taskUpdate",s).then(({msg:i})=>{$A.messageSuccess(i),this.ownerLoad--,this.receiveShow=!1,this.$store.dispatch("getTaskOne",this.taskDetail.id).catch(()=>{}),e()}).catch(({msg:i})=>{$A.modalError(i),this.ownerLoad--,this.receiveShow=!1,a()})})},onAssist(){if($A.jsonStringify(this.taskDetail.assist_userid)!==$A.jsonStringify(this.assistData.assist_userid))return new Promise((t,s)=>{this.getOwner.find(({userid:e})=>e===this.userId)&&this.assistData.assist_userid.find(e=>e===this.userId)?$A.modalConfirm({content:"\u4F60\u5F53\u524D\u662F\u8D1F\u8D23\u4EBA\uFF0C\u786E\u5B9A\u8981\u8F6C\u4E3A\u534F\u52A9\u4EBA\u5458\u5417\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",onOk:()=>{this.onAssistConfirm().then(t).catch(s)},onCancel:()=>{s()}}):this.onAssistConfirm().then(t).catch(s)})},onAssistConfirm(){return new Promise((t,s)=>{let e=this.assistData.assist_userid;e.length===0&&(e=!1),this.assistLoad++,this.$store.dispatch("taskUpdate",{task_id:this.taskDetail.id,assist:e}).then(({msg:a})=>{$A.messageSuccess(a),this.assistLoad--,this.$store.dispatch("getTaskOne",this.taskDetail.id).catch(()=>{}),t()}).catch(({msg:a})=>{$A.modalError(a),this.assistLoad--,s()})})},openTime(){this.timeOpen=!this.timeOpen,this.timeOpen&&(this.timeValue=this.taskDetail.end_at?[this.taskDetail.start_at,this.taskDetail.end_at]:[])},timeChange(t){t||(this.timeOpen=!1)},timeClear(){this.updateData("times",{start_at:!1,end_at:!1}),this.timeOpen=!1},timeOk(){const t=$A.date2string(this.timeValue,"Y-m-d H:i");this.updateData("times",{start_at:t[0],end_at:t[1]}),this.timeOpen=!1},addsubOpen(){this.addsubShow=!0,this.$nextTick(()=>{this.$refs.addsub.focus()})},addsubChackClose(){this.addsubName==""&&(this.addsubShow=!1)},addsubKeydown(t){if(t.keyCode===13){if(t.shiftKey||this.addsubLoad>0)return;t.preventDefault(),this.onAddsub()}},onAddsub(){if(this.addsubName==""){$A.messageError("\u4EFB\u52A1\u63CF\u8FF0\u4E0D\u80FD\u4E3A\u7A7A");return}this.addsubLoad++,this.$store.dispatch("taskAddSub",{task_id:this.taskDetail.id,name:this.addsubName}).then(({msg:t})=>{$A.messageSuccess(t),this.addsubLoad--,this.addsubName=""}).catch(({msg:t})=>{$A.modalError(t),this.addsubLoad--})},getLogLists(){this.navActive=="log"&&this.$refs.log.getLists(!0)},logLoadChange(t){this.logLoadIng=t},dropAdd(t){switch(t){case"priority":this.$set(this.taskDetail,"p_name",this.$L("\u672A\u8BBE\u7F6E")),this.$nextTick(()=>{this.$refs.priority.show()});break;case"assist":this.assistForce=!0,this.$nextTick(()=>{this.$refs.assist.onSelection()});break;case"visible":this.visibleForce=!0,this.$nextTick(()=>{this.showCisibleDropdown()});break;case"times":this.timeForce=!0,this.$nextTick(()=>{this.openTime()});break;case"loop":this.loopForce=!0,this.$nextTick(()=>{this.$refs.loop.show()});break;case"file":this.onUploadClick(!0);break;case"subtask":this.addsubForce=!0,this.$nextTick(()=>{this.addsubOpen()});break}},onEventMore(t){["image","file"].includes(t)&&this.onUploadClick(!1)},onUploadClick(t){this.imageAttachment=!!t,this.$refs.upload.handleClick()},msgDialog(t=null,s=!1){this.sendLoad>0||this.openLoad>0||(s===!0?this.openLoad++:this.sendLoad++,this.$store.dispatch("call",{url:"project/task/dialog",data:{task_id:this.taskDetail.id}}).then(({data:e})=>{this.$store.dispatch("saveTask",{id:e.id,dialog_id:e.dialog_id}),this.$store.dispatch("saveDialog",e.dialog_data),$A.isSubElectron?this.resizeDialog().then(()=>{this.sendDialogMsg(t)}):this.$nextTick(()=>{if(this.windowPortrait){$A.onBlur();const a={time:$A.Time()+10,msgRecord:this.msgRecord,msgFile:this.msgFile,msgText:typeof t=="string"&&t?t:this.msgText,dialogId:e.dialog_id};this.msgRecord={},this.msgFile=[],this.msgText="",this.$nextTick(i=>{this.dialogId>0&&this.$store.dispatch("openTask",0),this.$store.dispatch("openDialog",e.dialog_id).then(o=>{this.$store.state.dialogMsgTransfer=a})})}else this.sendDialogMsg(t)})}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{s===!0?this.openLoad--:this.sendLoad--}))},sendDialogMsg(t=null){this.msgFile.length>0?this.$refs.dialog.sendFileMsg(this.msgFile.map(s=>Object.assign(s,{ajaxExtraData:{image_attachment:this.imageAttachment?1:0}}))):this.msgText?this.$refs.dialog.sendMsg(this.msgText):typeof t=="string"&&t&&this.$refs.dialog.sendMsg(t),this.msgFile=[],this.msgText=""},taskPasteDrag(t,s){this.dialogDrag=!1;const e=s==="drag"?t.dataTransfer.files:t.clipboardData.files;this.msgFile=Array.prototype.slice.call(e),this.msgFile.length>0&&(t.preventDefault(),this.msgDialog())},taskDragOver(t,s){let e=this.__dialogDrag=$A.randomString(8);if(!t)setTimeout(()=>{e===this.__dialogDrag&&(this.dialogDrag=t)},150);else{if(s.dataTransfer.effectAllowed==="move")return;this.dialogDrag=!0}},onSelectFile(t){this.msgFile=$A.isArray(t)?t:[t],this.msgDialog()},onRecord(t){this.msgRecord=t,this.msgDialog()},onSend(t){this.$refs.chatInput&&this.$refs.chatInput.hidePopover(),t==="open"?this.msgDialog(null,!0):this.msgDialog(t)},deleteFile(t){this.$set(t,"_show_menu",!1),this.$store.dispatch("forgetTaskFile",t.id),this.$store.dispatch("call",{url:"project/task/filedelete",data:{file_id:t.id}}).catch(({msg:s})=>{$A.modalError(s),this.$store.dispatch("getTaskFiles",this.taskDetail.id)})},openMenu(t,s){const e=this.$refs[`taskMenu_${s.id}`];e&&e.handleClick(t)},openNewWin(){let t={title:this.taskDetail.name,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,this.$el.clientWidth+72),height:Math.min(window.screen.availHeight,this.$el.clientHeight+72),minWidth:600,minHeight:450};this.hasOpenDialog&&(t.minWidth=800,t.minHeight=600),this.$Electron.sendMessage("windowRouter",{name:`task-${this.taskDetail.id}`,path:`/single/task/${this.taskDetail.id}?navActive=${this.navActive}`,force:!1,config:t}),this.$store.dispatch("openTask",0)},resizeDialog(){return new Promise(t=>{this.$Electron.sendMessage("windowSize",{width:Math.max(1100,this.windowWidth),height:Math.max(720,this.windowHeight),minWidth:800,minHeight:600,autoZoom:!0});let s=0,e=setInterval(()=>{s++,(this.$refs.dialog||s>20)&&(clearInterval(e),this.$refs.dialog&&t())},100)})},viewFile(t){if(["jpg","jpeg","webp","gif","png"].includes(t.ext)){const e=this.fileList.filter(i=>["jpg","jpeg","webp","gif","png"].includes(i.ext)),a=e.findIndex(i=>i.id===t.id);a>-1?this.$store.dispatch("previewImage",{index:a,list:e.map(i=>({src:i.path,width:i.width,height:i.height}))}):this.$store.dispatch("previewImage",{index:0,list:[{src:t.path,width:t.width,height:t.height}]});return}const s=`/single/file/task/${t.id}`;this.$Electron?this.$Electron.sendMessage("windowRouter",{name:`file-task-${t.id}`,path:s,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:`${t.name} (${$A.bytesToSize(t.size)})`,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)},webPreferences:{nodeIntegrationInSubFrames:t.ext==="drawio"}}):this.$isEEUiApp?$A.eeuiAppOpenPage({pageType:"app",pageTitle:`${t.name} (${$A.bytesToSize(t.size)})`,url:"web.js",params:{titleFixed:!0,allowAccess:!0,url:$A.rightDelete(window.location.href,window.location.hash)+`#${s}`}}):window.open($A.apiUrl(`..${s}`))},downFile(t){$A.modalConfirm({title:"\u4E0B\u8F7D\u6587\u4EF6",content:`${t.name} (${$A.bytesToSize(t.size)})`,okText:"\u7ACB\u5373\u4E0B\u8F7D",onOk:()=>{this.$store.dispatch("downUrl",$A.apiUrl(`project/task/filedown?file_id=${t.id}`))}})},showCisibleDropdown(){this.$refs.eDropdownRef.show()},visibleUserSelectShowChange(t){if(!t&&(this.taskDetail.visibility_appointor.length==0||!this.taskDetail.visibility_appointor[0])){let s=this.taskDetail.old_is_all_visible;this.taskDetail.is_all_visible=s>2?1:s||1,this.taskDetail.is_all_visible<3&&this.updateVisible()}},dropVisible(t){switch(t){case 1:case 2:this.taskDetail.is_all_visible=t,this.updateVisible();break;case 3:this.taskDetail.old_is_all_visible=this.taskDetail.is_all_visible,this.taskDetail.is_all_visible=t,this.$nextTick(()=>{this.$refs.visibleUserSelectRef.onSelection()});break}},updateVisible(){this.updateData(["is_all_visible","visibility_appointor"])}}},u={};var z=l(P,M,j,!1,H,null,null,null);function H(t){for(let s in u)this[s]=u[s]}var W=function(){return z.exports}();export{x as T,W as a}; +import{n as l,b as m,m as p}from"./app.6cefc0c3.js";import f from"./TEditor.1b54fc09.js";import{P as k,T as _}from"./ProjectLog.2ded4843.js";import{C as v,D as g}from"./DialogWrapper.82ad3d72.js";import{T as b}from"./TaskMenu.c49f73c2.js";import{U as D}from"./UserSelect.eb1bd6e3.js";var w=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("Modal",{staticClass:"task-exist-tips",attrs:{title:t.$L("\u8BA1\u5212\u65F6\u95F4\u51B2\u7A81\u63D0\u793A")},model:{value:t.show,callback:function(a){t.show=a},expression:"show"}},[e("List",{attrs:{split:!1,size:"small"}},t._l(t.tipsTask,function(a,i){return e("ListItem",{key:i},[e("div",{staticClass:"list-content"},[e("UserAvatar",{attrs:{userid:i,size:28,"show-icon":!0,"show-name":!0,tooltipDisabled:""}}),t._l(a,function(o,n){return e("div",{key:n,staticClass:"list-task clearfix"},[e("div",{staticClass:"list-task-info"},[e("span",[t._v("["+t._s(o.project_name)+"] ")]),e("span",[t._v(t._s(o.name))])]),e("div",{staticClass:"list-task-date"},[t._v(t._s(t.getCutTime(o)))])])})],2)])}),1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.show=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary"},on:{click:t.onAdd}},[t._v(t._s(t.$L("\u5FFD\u7565\u5E76\u7EE7\u7EED")))])],1)],1)},C=[];const y={name:"TaskExistTips",props:{value:{type:Boolean,default:!1}},data(){return{isExist:!1,show:!1,tipsTask:[],loadIng:!1}},methods:{onAdd(){this.$emit("onAdd",{}),this.show=!1},getCutTime(t){let s=$A.Date(t.start_at,!0),e=$A.Date(t.end_at,!0),a="";return $A.formatDate("Y/m/d",s)==$A.formatDate("Y/m/d",e)?a=$A.formatDate("Y/m/d H:i",s)+" ~ "+$A.formatDate("H:i",e):$A.formatDate("Y",s)==$A.formatDate("Y",e)?(a=$A.formatDate("Y/m/d H:i",s)+" ~ "+$A.formatDate("m/d H:i",e),a=a.replace(/( 00:00| 23:59)/g,"")):(a=$A.formatDate("Y/m/d H:i",s)+" ~ "+$A.formatDate("Y/m/d H:i",e),a=a.replace(/( 00:00| 23:59)/g,"")),a},isExistTask({userids:t,timerange:s,taskid:e}){return this.isExist=!1,new Promise(async a=>{this.$store.dispatch("call",{url:"project/task/easylists",data:{userid:t,timerange:s,taskid:e},method:"get"}).then(({data:i})=>{if(i.data.length>0){this.show=!0;let o={};t.map(n=>{i.data.map(r=>{(r.task_user||[]).map(d=>d.owner?d.userid:0).indexOf(n)!==-1&&(o[n]||(o[n]=[]),o[n].push(r))})}),this.tipsTask=o,this.isExist=!0}a(this.isExist)})})}}},c={};var A=l(y,w,C,!1,L,null,null,null);function L(t){for(let s in c)this[s]=c[s]}var x=function(){return A.exports}(),T=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("Upload",{ref:"upload",attrs:{name:"files",action:"",multiple:"",format:t.uploadFormat,"show-upload-list":!1,"max-size":t.maxSize,"on-format-error":t.handleFormatError,"on-exceeded-size":t.handleMaxSize,"before-upload":t.handleBeforeUpload}})},I=[];const S={name:"TaskUpload",props:{maxSize:{type:Number,default:1024e3}},data(){return{uploadFormat:["jpg","jpeg","webp","png","gif","doc","docx","xls","xlsx","ppt","pptx","txt","esp","pdf","rar","zip","gz","ai","avi","bmp","cdr","eps","mov","mp3","mp4","pr","psd","svg","tif"]}},methods:{handleFormatError(t){$A.modalWarning({title:"\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E",content:"\u6587\u4EF6 "+t.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u4EC5\u652F\u6301\u53D1\u9001\uFF1A"+this.uploadFormat.join(",")})},handleMaxSize(t){$A.modalWarning({title:"\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236",content:"\u6587\u4EF6 "+t.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u53D1\u9001\u8D85\u8FC7"+$A.bytesToSize(this.maxSize*1024)+"\u3002"})},handleBeforeUpload(t){return this.$emit("on-select-file",t),!1},handleClick(){this.$refs.upload.handleClick()}}},h={};var F=l(S,T,I,!1,E,null,null,null);function E(t){for(let s in h)this[s]=h[s]}var O=function(){return F.exports}(),M=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.ready&&t.taskDetail.parent_id>0?e("li",[e("div",{staticClass:"subtask-icon"},[e("TaskMenu",{ref:`taskMenu_${t.taskDetail.id}`,attrs:{disabled:t.taskId===0,task:t.taskDetail,"load-status":t.taskDetail.loading===!0},on:{"on-update":t.getLogLists}})],1),t.taskDetail.flow_item_name?e("div",{staticClass:"subtask-flow"},[e("span",{class:t.taskDetail.flow_item_status,on:{click:function(a){return a.stopPropagation(),t.openMenu(a,t.taskDetail)}}},[t._v(t._s(t.taskDetail.flow_item_name))])]):t._e(),e("div",{staticClass:"subtask-name"},[e("Input",{ref:"name",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:8},maxlength:255,enterkeyhint:"done"},on:{"on-blur":function(a){return t.updateBlur("name")},"on-keydown":t.onNameKeydown},model:{value:t.taskDetail.name,callback:function(a){t.$set(t.taskDetail,"name",a)},expression:"taskDetail.name"}})],1),e("DatePicker",{staticClass:"subtask-time",attrs:{open:t.timeOpen,options:t.timeOptions,format:"yyyy/MM/dd HH:mm",type:"datetimerange",placement:"bottom-end",transfer:""},on:{"on-open-change":t.timeChange,"on-change":t.taskTimeChange,"on-clear":t.timeClear,"on-ok":t.timeOk},model:{value:t.timeValue,callback:function(a){t.timeValue=a},expression:"timeValue"}},[!t.taskDetail.complete_at&&t.taskDetail.end_at&&t.taskDetail.end_at!=t.mainEndAt?e("div",{class:["time",t.taskDetail.today?"today":"",t.taskDetail.overdue?"overdue":""],on:{click:t.openTime}},[t._v(" "+t._s(t.expiresFormat(t.taskDetail.end_at))+" ")]):e("Icon",{staticClass:"clock",attrs:{type:"ios-clock-outline"},on:{click:t.openTime}})],1),e("UserSelect",{staticClass:"subtask-avatar",attrs:{"multiple-max":10,"avatar-size":20,title:t.$L("\u4FEE\u6539\u8D1F\u8D23\u4EBA"),"add-icon":!1,"project-id":t.taskDetail.project_id,"before-submit":t.onOwner},model:{value:t.ownerData.owner_userid,callback:function(a){t.$set(t.ownerData,"owner_userid",a)},expression:"ownerData.owner_userid"}})],1):t.ready?e("div",{class:{"task-detail":!0,"open-dialog":t.hasOpenDialog,completed:t.taskDetail.complete_at},style:t.taskDetailStyle},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.taskDetail.id>0,expression:"taskDetail.id > 0"}],staticClass:"task-info"},[e("div",{staticClass:"head"},[e("TaskMenu",{ref:`taskMenu_${t.taskDetail.id}`,staticClass:"icon",attrs:{disabled:t.taskId===0,task:t.taskDetail,size:"medium","color-show":!1},on:{"on-update":t.getLogLists}}),t.taskDetail.flow_item_name?e("div",{staticClass:"flow"},[e("span",{class:t.taskDetail.flow_item_status,on:{click:function(a){return a.stopPropagation(),t.openMenu(a,t.taskDetail)}}},[t._v(t._s(t.taskDetail.flow_item_name))])]):t._e(),t.taskDetail.archived_at?e("div",{staticClass:"flow"},[e("span",{staticClass:"archived",on:{click:function(a){return a.stopPropagation(),t.openMenu(a,t.taskDetail)}}},[t._v(t._s(t.$L("\u5DF2\u5F52\u6863")))])]):t._e(),e("div",{staticClass:"nav"},[t.projectName?e("p",[e("span",[t._v(t._s(t.projectName))])]):t._e(),t.columnName?e("p",[e("span",[t._v(t._s(t.columnName))])]):t._e(),t.taskDetail.id?e("p",[e("span",[t._v(t._s(t.taskDetail.id))])]):t._e()]),e("div",{staticClass:"function"},[t.getOwner.length===0?e("EPopover",{attrs:{placement:"bottom"},model:{value:t.receiveShow,callback:function(a){t.receiveShow=a},expression:"receiveShow"}},[e("div",{staticClass:"task-detail-receive"},[e("div",{staticClass:"receive-title"},[e("Icon",{attrs:{type:"ios-help-circle"}}),t._v(" "+t._s(t.$L("\u786E\u8BA4\u8BA1\u5212\u65F6\u95F4\u9886\u53D6\u4EFB\u52A1"))+" ")],1),e("div",{staticClass:"receive-time"},[e("DatePicker",{attrs:{options:t.timeOptions,format:"yyyy/MM/dd HH:mm",type:"datetimerange",placeholder:t.$L("\u8BF7\u8BBE\u7F6E\u8BA1\u5212\u65F6\u95F4"),clearable:!1,editable:!1},on:{"on-change":t.taskTimeChange},model:{value:t.timeValue,callback:function(a){t.timeValue=a},expression:"timeValue"}})],1),e("div",{staticClass:"receive-bottom"},[e("Button",{attrs:{size:"small",type:"text"},on:{click:function(a){t.receiveShow=!1}}},[t._v("\u53D6\u6D88")]),e("Button",{attrs:{loading:t.ownerLoad>0,size:"small",type:"primary"},on:{click:function(a){return t.onOwner(!0)}}},[t._v("\u786E\u5B9A")])],1)]),e("Button",{staticClass:"pick",attrs:{slot:"reference",loading:t.ownerLoad>0,type:"primary"},slot:"reference"},[t._v(t._s(t.$L("\u6211\u8981\u9886\u53D6\u4EFB\u52A1")))])],1):t._e(),t.$Electron?e("ETooltip",{attrs:{disabled:t.$isEEUiApp||t.windowTouch,content:t.$L("\u65B0\u7A97\u53E3\u6253\u5F00")}},[e("i",{staticClass:"taskfont open",on:{click:t.openNewWin}},[t._v("\uE776")])]):t._e(),e("div",{staticClass:"menu"},[e("TaskMenu",{attrs:{disabled:t.taskId===0,task:t.taskDetail,icon:"ios-more","completed-icon":"ios-more",size:"medium","color-show":!1},on:{"on-update":t.getLogLists}})],1)],1)],1),e("Scrollbar",{staticClass:"scroller"},[e("div",{staticClass:"title"},[e("Input",{ref:"name",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:8},maxlength:255,enterkeyhint:"done"},on:{"on-blur":function(a){return t.updateBlur("name")},"on-keydown":t.onNameKeydown},model:{value:t.taskDetail.name,callback:function(a){t.$set(t.taskDetail,"name",a)},expression:"taskDetail.name"}})],1),e("div",{staticClass:"desc"},[e("TEditor",{ref:"desc",attrs:{value:t.taskContent,plugins:t.taskPlugins,options:t.taskOptions,"option-full":t.taskOptionFull,placeholder:t.$L("\u8BE6\u7EC6\u63CF\u8FF0..."),"scroll-hide-operate-class-name":"task-modal",inline:""},on:{"on-blur":function(a){return t.updateBlur("content")}}})],1),e("Form",{staticClass:"items",attrs:{"label-position":"left","label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[t.taskDetail.p_name?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE6EC")]),t._v(t._s(t.$L("\u4F18\u5148\u7EA7"))+" ")]),e("ul",{staticClass:"item-content"},[e("li",[e("EDropdown",{ref:"priority",attrs:{trigger:"click",placement:"bottom"},on:{command:function(a){return t.updateData("priority",a)}}},[e("TaskPriority",{attrs:{backgroundColor:t.taskDetail.p_color}},[t._v(t._s(t.taskDetail.p_name))]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.taskPriority,function(a,i){return e("EDropdownItem",{key:i,attrs:{command:a}},[e("i",{staticClass:"taskfont",style:{color:a.color},domProps:{innerHTML:t._s(t.taskDetail.p_name==a.name?"":"")}}),t._v(" "+t._s(a.name)+" ")])}),1)],1)],1)])]):t._e(),t.getOwner.length>0?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE6E4")]),t._v(t._s(t.$L("\u8D1F\u8D23\u4EBA"))+" ")]),e("UserSelect",{staticClass:"item-content user",attrs:{"multiple-max":10,"avatar-size":28,title:t.$L("\u4FEE\u6539\u8D1F\u8D23\u4EBA"),"project-id":t.taskDetail.project_id,"add-icon":!1,"before-submit":t.onOwner},model:{value:t.ownerData.owner_userid,callback:function(a){t.$set(t.ownerData,"owner_userid",a)},expression:"ownerData.owner_userid"}})],1):t._e(),t.getAssist.length>0||t.assistForce?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE63F")]),t._v(t._s(t.$L("\u534F\u52A9\u4EBA\u5458"))+" ")]),e("UserSelect",{ref:"assist",staticClass:"item-content user",attrs:{"multiple-max":10,"avatar-size":28,title:t.$L(t.getAssist.length>0?"\u4FEE\u6539\u534F\u52A9\u4EBA\u5458":"\u6DFB\u52A0\u534F\u52A9\u4EBA\u5458"),"project-id":t.taskDetail.project_id,"disabled-choice":t.assistData.disabled,"add-icon":!1,"before-submit":t.onAssist},model:{value:t.assistData.assist_userid,callback:function(a){t.$set(t.assistData,"assist_userid",a)},expression:"assistData.assist_userid"}})],1):t._e(),t.taskDetail.is_all_visible>1||t.visibleForce||t.visibleKeep?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE77B")]),e("EDropdown",{ref:"eDropdownRef",attrs:{trigger:"click",placement:"bottom"},on:{command:t.dropVisible}},[e("span",{staticClass:"visibility-text color"},[t._v(t._s(t.$L("\u53EF\u89C1\u6027"))+" "),e("i",{staticClass:"taskfont"},[t._v("\uE740")])]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e("EDropdownItem",{attrs:{command:1}},[e("div",{staticClass:"task-menu-icon"},[t.taskDetail.is_all_visible==1?e("Icon",{staticClass:"completed",attrs:{type:"md-checkmark-circle"}}):e("Icon",{staticClass:"uncomplete",attrs:{type:"md-radio-button-off"}}),t._v(" "+t._s(t.$L("\u9879\u76EE\u4EBA\u5458"))+" ")],1)]),e("EDropdownItem",{attrs:{command:2}},[e("div",{staticClass:"task-menu-icon"},[t.taskDetail.is_all_visible==2?e("Icon",{staticClass:"completed",attrs:{type:"md-checkmark-circle"}}):e("Icon",{staticClass:"uncomplete",attrs:{type:"md-radio-button-off"}}),t._v(" "+t._s(t.$L("\u4EFB\u52A1\u4EBA\u5458"))+" ")],1)]),e("EDropdownItem",{attrs:{command:3}},[e("div",{staticClass:"task-menu-icon"},[t.taskDetail.is_all_visible==3?e("Icon",{staticClass:"completed",attrs:{type:"md-checkmark-circle"}}):e("Icon",{staticClass:"uncomplete",attrs:{type:"md-radio-button-off"}}),t._v(" "+t._s(t.$L("\u6307\u5B9A\u6210\u5458"))+" ")],1)])],1)],1)],1),e("div",{staticClass:"item-content user"},[t.taskDetail.is_all_visible==1?e("span",{staticClass:"visibility-text",on:{click:t.showCisibleDropdown}},[t._v(t._s(t.$L("\u9879\u76EE\u4EBA\u5458\u53EF\u89C1")))]):t.taskDetail.is_all_visible==2?e("span",{staticClass:"visibility-text",on:{click:t.showCisibleDropdown}},[t._v(t._s(t.$L("\u4EFB\u52A1\u4EBA\u5458\u53EF\u89C1")))]):e("UserSelect",{ref:"visibleUserSelectRef",attrs:{"avatar-size":28,title:t.$L("\u9009\u62E9\u6307\u5B9A\u4EBA\u5458"),"project-id":t.taskDetail.project_id,"add-icon":!1},on:{"on-show-change":t.visibleUserSelectShowChange},model:{value:t.taskDetail.visibility_appointor,callback:function(a){t.$set(t.taskDetail,"visibility_appointor",a)},expression:"taskDetail.visibility_appointor"}})],1)]):t._e(),t.taskDetail.end_at||t.timeForce?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE6E8")]),t._v(t._s(t.$L("\u622A\u6B62\u65F6\u95F4"))+" ")]),e("ul",{staticClass:"item-content"},[e("li",[e("DatePicker",{attrs:{open:t.timeOpen,options:t.timeOptions,format:"yyyy/MM/dd HH:mm",type:"datetimerange",transfer:""},on:{"on-open-change":t.timeChange,"on-change":t.taskTimeChange,"on-clear":t.timeClear,"on-ok":t.timeOk},model:{value:t.timeValue,callback:function(a){t.timeValue=a},expression:"timeValue"}},[e("div",{staticClass:"picker-time"},[e("div",{staticClass:"time",on:{click:t.openTime}},[t._v(t._s(t.taskDetail.end_at?t.cutTime:"--"))]),!t.taskDetail.complete_at&&t.taskDetail.end_at?[t.within24Hours(t.taskDetail.end_at)?e("Tag",{attrs:{color:"blue"}},[e("i",{staticClass:"taskfont"},[t._v("\uE71D")]),t._v(t._s(t.expiresFormat(t.taskDetail.end_at)))]):t._e(),t.isOverdue(t.taskDetail)?e("Tag",{attrs:{color:"red"}},[t._v(t._s(t.$L("\u8D85\u671F\u672A\u5B8C\u6210")))]):t._e()]:t._e()],2)])],1)])]):t._e(),t.taskDetail.loop&&t.taskDetail.loop!="never"||t.loopForce?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE93F")]),t._v(t._s(t.$L("\u91CD\u590D\u5468\u671F"))+" ")]),e("ul",{staticClass:"item-content"},[e("li",[e("EDropdown",{ref:"loop",attrs:{trigger:"click",placement:"bottom"},on:{command:function(a){return t.updateData("loop",a)}}},[e("ETooltip",{attrs:{disabled:t.$isEEUiApp||t.windowTouch||!t.taskDetail.loop_at,content:`${t.$L("\u4E0B\u4E2A\u5468\u671F")}: ${t.taskDetail.loop_at}`,placement:"right"}},[e("span",[t._v(t._s(t.$L(t.loopLabel(t.taskDetail.loop))))])]),e("EDropdownMenu",{staticClass:"task-detail-loop",attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.loops,function(a){return e("EDropdownItem",{key:a.key,attrs:{command:a.key}},[t._v(" "+t._s(t.$L(a.label))+" ")])}),1)],1)],1)])]):t._e(),t.fileList.length>0?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE6E6")]),t._v(t._s(t.$L("\u9644\u4EF6"))+" ")]),e("ul",{staticClass:"item-content file"},[t.taskDetail.file_num>50?e("li",{staticClass:"tip"},[t._v(t._s(t.$L(`\u5171${t.taskDetail.file_num}\u4E2A\u6587\u4EF6\uFF0C\u4EC5\u663E\u793A\u6700\u65B050\u4E2A`)))]):t._e(),t._l(t.fileList,function(a){return e("li",[a.id?e("img",{staticClass:"file-ext",attrs:{src:a.thumb}}):e("Loading",{staticClass:"file-load"}),e("div",{staticClass:"file-name"},[t._v(t._s(a.name))]),e("div",{staticClass:"file-size"},[t._v(t._s(t.$A.bytesToSize(a.size)))]),e("div",{staticClass:"file-menu",class:{show:a._show_menu}},[e("Icon",{attrs:{type:"md-eye"},on:{click:function(i){return t.viewFile(a)}}}),e("Icon",{attrs:{type:"md-arrow-round-down"},on:{click:function(i){return t.downFile(a)}}}),e("EPopover",{staticClass:"file-delete",model:{value:a._show_menu,callback:function(i){t.$set(a,"_show_menu",i)},expression:"file._show_menu"}},[e("div",{staticClass:"task-detail-delete-file-popover"},[e("p",[t._v(t._s(t.$L("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u6587\u4EF6\u5417\uFF1F")))]),e("div",{staticClass:"buttons"},[e("Button",{attrs:{size:"small",type:"text"},on:{click:function(i){a._show_menu=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{size:"small",type:"primary"},on:{click:function(i){return t.deleteFile(a)}}},[t._v(t._s(t.$L("\u786E\u5B9A")))])],1)]),e("i",{staticClass:"taskfont del",attrs:{slot:"reference"},slot:"reference"},[t._v("\uE6EA")])])],1)],1)})],2),e("ul",{staticClass:"item-content"},[e("li",[e("div",{staticClass:"add-button",on:{click:function(a){return t.onUploadClick(!0)}}},[e("i",{staticClass:"taskfont"},[t._v("\uE6F2")]),t._v(t._s(t.$L("\u6DFB\u52A0\u9644\u4EF6"))+" ")])])])]):t._e(),t.subList.length>0||t.addsubForce?e("FormItem",[e("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"taskfont"},[t._v("\uE6F0")]),t._v(t._s(t.$L("\u5B50\u4EFB\u52A1"))+" ")]),e("ul",{staticClass:"item-content subtask"},t._l(t.subList,function(a,i){return e("TaskDetail",{key:i,ref:`subTask_${a.id}`,refInFor:!0,attrs:{"task-id":a.id,"open-task":a,"main-end-at":t.taskDetail.end_at,"can-update-blur":t.canUpdateBlur}})}),1),e("ul",{class:["item-content",t.subList.length===0?"nosub":""]},[e("li",[t.addsubShow?e("Input",{ref:"addsub",staticClass:"add-input",class:{loading:t.addsubLoad>0},attrs:{placeholder:t.$L("+ \u8F93\u5165\u5B50\u4EFB\u52A1\uFF0C\u56DE\u8F66\u6DFB\u52A0\u5B50\u4EFB\u52A1"),icon:t.addsubLoad>0?"ios-loading":"",enterkeyhint:"done"},on:{"on-blur":t.addsubChackClose,"on-keydown":t.addsubKeydown},model:{value:t.addsubName,callback:function(a){t.addsubName=a},expression:"addsubName"}}):e("div",{staticClass:"add-button",on:{click:t.addsubOpen}},[e("i",{staticClass:"taskfont"},[t._v("\uE6F2")]),t._v(t._s(t.$L("\u6DFB\u52A0\u5B50\u4EFB\u52A1"))+" ")])],1)])]):t._e()],1),t.menuList.length>0?e("div",{staticClass:"add"},[e("EDropdown",{attrs:{trigger:"click",placement:"bottom"},on:{command:t.dropAdd}},[e("div",{staticClass:"add-button"},[e("i",{staticClass:"taskfont"},[t._v("\uE6F2")]),t._v(" "+t._s(t.$L("\u6DFB\u52A0"))+" "),e("em",[t._v(t._s(t.menuText))])]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.menuList,function(a,i){return e("EDropdownItem",{key:i,attrs:{command:a.command}},[e("div",{staticClass:"item"},[e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(a.icon)}}),t._v(t._s(t.$L(a.name))+" ")])])}),1)],1)],1):t._e()],1),e("TaskUpload",{ref:"upload",staticClass:"upload",on:{"on-select-file":t.onSelectFile}})],1),e("div",{directives:[{name:"show",rawName:"v-show",value:t.taskDetail.id>0,expression:"taskDetail.id > 0"}],staticClass:"task-dialog",style:t.dialogStyle},[t.hasOpenDialog?[t.taskId>0?e("DialogWrapper",{ref:"dialog",attrs:{"dialog-id":t.taskDetail.dialog_id}},[e("div",{staticClass:"head",attrs:{slot:"head"},slot:"head"},[e("Icon",{staticClass:"icon",attrs:{type:"ios-chatbubbles-outline"}}),e("div",{staticClass:"nav"},[e("p",{class:{active:t.navActive=="dialog"},on:{click:function(a){t.navActive="dialog"}}},[t._v(t._s(t.$L("\u804A\u5929")))]),e("p",{class:{active:t.navActive=="log"},on:{click:function(a){t.navActive="log"}}},[t._v(t._s(t.$L("\u52A8\u6001")))]),t.navActive=="log"?e("div",{staticClass:"refresh"},[t.logLoadIng?e("Loading"):e("Icon",{attrs:{type:"ios-refresh"},on:{click:t.getLogLists}})],1):t._e()])],1)]):t._e(),t.navActive=="log"&&t.taskId>0?e("ProjectLog",{ref:"log",attrs:{"task-id":t.taskDetail.id},on:{"on-load-change":t.logLoadChange}}):t._e()]:e("div",[e("div",{staticClass:"head"},[e("Icon",{staticClass:"icon",attrs:{type:"ios-chatbubbles-outline"}}),e("div",{staticClass:"nav"},[e("p",{class:{active:t.navActive=="dialog"},on:{click:function(a){t.navActive="dialog"}}},[t._v(t._s(t.$L("\u804A\u5929")))]),e("p",{class:{active:t.navActive=="log"},on:{click:function(a){t.navActive="log"}}},[t._v(t._s(t.$L("\u52A8\u6001")))]),t.navActive=="log"?e("div",{staticClass:"refresh"},[t.logLoadIng?e("Loading"):e("Icon",{attrs:{type:"ios-refresh"},on:{click:t.getLogLists}})],1):t._e()]),e("div",{staticClass:"menu"},[t.navActive=="dialog"&&t.taskDetail.msg_num>0?e("div",{staticClass:"menu-item",on:{click:function(a){return a.stopPropagation(),t.onSend("open")}}},[t.openLoad>0?e("div",{staticClass:"menu-load"},[e("Loading")],1):t._e(),t._v(" "+t._s(t.$L("\u4EFB\u52A1\u804A\u5929"))+" "),e("em",[t._v("("+t._s(t.taskDetail.msg_num>999?"999+":t.taskDetail.msg_num)+")")]),e("i",{staticClass:"taskfont"},[t._v("\uE703")])]):t._e()])],1),t.navActive=="log"&&t.taskId>0?e("ProjectLog",{ref:"log",attrs:{"task-id":t.taskDetail.id,"show-load":!1},on:{"on-load-change":t.logLoadChange}}):e("div",{staticClass:"no-dialog",on:{drop:function(a){return a.preventDefault(),t.taskPasteDrag(a,"drag")},dragover:function(a){return a.preventDefault(),t.taskDragOver(!0,a)},dragleave:function(a){return a.preventDefault(),t.taskDragOver(!1,a)}}},[e("div",{staticClass:"no-tip"},[t._v(t._s(t.$L("\u6682\u65E0\u6D88\u606F")))]),e("div",{staticClass:"no-input"},[e("ChatInput",{ref:"chatInput",attrs:{"task-id":t.taskId,loading:t.sendLoad>0,maxlength:2e5,placeholder:t.$L("\u8F93\u5165\u6D88\u606F...")},on:{"on-more":t.onEventMore,"on-file":t.onSelectFile,"on-record":t.onRecord,"on-send":t.onSend},model:{value:t.msgText,callback:function(a){t.msgText=a},expression:"msgText"}})],1),t.dialogDrag?e("div",{staticClass:"drag-over",on:{click:function(a){t.dialogDrag=!1}}},[e("div",{staticClass:"drag-text"},[t._v(t._s(t.$L("\u62D6\u52A8\u5230\u8FD9\u91CC\u53D1\u9001")))])]):t._e()])],1)],2),t.taskDetail.id?t._e():e("div",{staticClass:"task-load"},[e("Loading")],1),e("TaskExistTips",{ref:"taskExistTipsRef",on:{onAdd:function(a){return t.updateData("times",t.updateParams)}}})],1):t._e()},j=[];const P={name:"TaskDetail",components:{UserSelect:D,TaskExistTips:x,ChatInput:v,TaskMenu:b,ProjectLog:k,DialogWrapper:g,TaskUpload:O,TaskPriority:_,TEditor:f},props:{taskId:{type:Number,default:0},openTask:{type:Object,default:()=>({})},mainEndAt:{default:null},canUpdateBlur:{type:Boolean,default:!0},modalMode:{type:Boolean,default:!1}},data(){return{ready:!1,taskDetail:{},ownerData:{},ownerLoad:0,receiveShow:!1,assistForce:!1,assistData:{},assistLoad:0,visibleForce:!1,addsubForce:!1,addsubShow:!1,addsubName:"",addsubLoad:0,timeForce:!1,timeOpen:!1,timeValue:[],timeOptions:{shortcuts:$A.timeOptionShortcuts()},loopForce:!1,nowTime:$A.Time(),nowInterval:null,msgText:"",msgFile:[],msgRecord:{},navActive:"dialog",logLoadIng:!1,sendLoad:0,openLoad:0,taskPlugins:["advlist autolink lists link image charmap print preview hr anchor pagebreak","searchreplace visualblocks visualchars code","insertdatetime media nonbreaking save table directionality","emoticons paste codesample","autoresize"],taskOptions:{statusbar:!1,menubar:!1,autoresize_bottom_margin:2,min_height:200,max_height:380,contextmenu:"bold italic underline forecolor backcolor | link | codesample | uploadImages imagePreview | preview screenload",valid_elements:"a[href|title|target=_blank],em,strong/b,div[align],span[style],a,br,p,img[src|alt|witdh|height],pre[class],code",extended_valid_elements:"a[href|title|target=_blank]",toolbar:!1},taskOptionFull:{menubar:"file edit view",valid_elements:"a[href|title|target=_blank],em,strong/b,div[align],span[style],a,br,p,img[src|alt|witdh|height],pre[class],code",extended_valid_elements:"a[href|title|target=_blank]",toolbar:"uploadImages | bold italic underline forecolor backcolor | codesample | preview screenload"},dialogDrag:!1,imageAttachment:!0,receiveTaskSubscribe:null,loops:[{key:"never",label:"\u4ECE\u4E0D"},{key:"day",label:"\u6BCF\u5929"},{key:"weekdays",label:"\u6BCF\u4E2A\u5DE5\u4F5C\u65E5"},{key:"week",label:"\u6BCF\u5468"},{key:"twoweeks",label:"\u6BCF\u4E24\u5468"},{key:"month",label:"\u6BCF\u6708"},{key:"year",label:"\u6BCF\u5E74"},{key:"custom",label:"\u81EA\u5B9A\u4E49"}],updateParams:{}}},created(){const t=$A.getObject(this.$route.query,"navActive");["dialog","log"].includes(t)&&(this.navActive=t)},mounted(){this.nowInterval=setInterval(()=>{this.nowTime=$A.Time()},1e3),this.receiveTaskSubscribe=m.Store.subscribe("receiveTask",()=>{this.receiveShow=!0})},destroyed(){clearInterval(this.nowInterval),this.receiveTaskSubscribe&&(this.receiveTaskSubscribe.unsubscribe(),this.receiveTaskSubscribe=null)},computed:{...p(["systemConfig","cacheProjects","cacheColumns","cacheTasks","taskContents","taskFiles","taskPriority","dialogId"]),projectName(){if(!this.taskDetail.project_id)return"";if(this.taskDetail.project_name)return this.taskDetail.project_name;const t=this.cacheProjects.find(({id:s})=>s==this.taskDetail.project_id);return t?t.name:""},columnName(){if(!this.taskDetail.column_id)return"";if(this.taskDetail.column_name)return this.taskDetail.column_name;const t=this.cacheColumns.find(({id:s})=>s==this.taskDetail.column_id);return t?t.name:""},taskContent(){if(!this.taskId)return"";let t=this.taskContents.find(({task_id:s})=>s==this.taskId);return t?t.content:""},fileList(){return this.taskId?this.taskFiles.filter(({task_id:t})=>t==this.taskId).sort((t,s)=>s.id-t.id):[]},subList(){return this.taskId?this.cacheTasks.filter(t=>t.parent_id==this.taskId).sort((t,s)=>t.id-s.id):[]},hasOpenDialog(){return this.taskDetail.dialog_id>0&&this.windowLandscape},dialogStyle(){const{windowHeight:t,hasOpenDialog:s}=this,e=Math.min(1100,t);if(!e)return{};if(!s)return{};const a=e>900?200:70;return{minHeight:e-a-48+"px"}},taskDetailStyle(){const{modalMode:t,windowHeight:s,hasOpenDialog:e}=this,a=Math.min(1100,s);if(t&&e){const i=a>900?200:70;return{maxHeight:a-i-30+"px"}}return{}},cutTime(){const{taskDetail:t}=this;let s=$A.Date(t.start_at,!0),e=$A.Date(t.end_at,!0),a="";return $A.formatDate("Y/m/d",s)==$A.formatDate("Y/m/d",e)?a=$A.formatDate("Y/m/d H:i",s)+" ~ "+$A.formatDate("H:i",e):$A.formatDate("Y",s)==$A.formatDate("Y",e)?(a=$A.formatDate("Y/m/d H:i",s)+" ~ "+$A.formatDate("m/d H:i",e),a=a.replace(/( 00:00| 23:59)/g,"")):(a=$A.formatDate("Y/m/d H:i",s)+" ~ "+$A.formatDate("Y/m/d H:i",e),a=a.replace(/( 00:00| 23:59)/g,"")),a},getOwner(){const{taskDetail:t}=this;return $A.isArray(t.task_user)?t.task_user.filter(({owner:s})=>s===1).sort((s,e)=>s.id-e.id):[]},getAssist(){const{taskDetail:t}=this;return $A.isArray(t.task_user)?t.task_user.filter(({owner:s})=>s===0).sort((s,e)=>s.id-e.id):[]},menuList(){const{taskDetail:t}=this,s=[];return t.p_name||s.push({command:"priority",icon:"",name:"\u4F18\u5148\u7EA7"}),$A.isArray(t.task_user)&&t.task_user.find(({owner:e})=>e===0)||s.push({command:"assist",icon:"",name:"\u534F\u52A9\u4EBA\u5458"}),t.is_all_visible<=1&&!this.visibleKeep&&s.push({command:"visible",icon:"",name:"\u53EF\u89C1\u6027"}),t.end_at||s.push({command:"times",icon:"",name:"\u622A\u6B62\u65F6\u95F4"}),(!t.loop||t.loop=="never")&&s.push({command:"loop",icon:"",name:"\u91CD\u590D\u5468\u671F"}),this.fileList.length==0&&s.push({command:"file",icon:"",name:"\u9644\u4EF6"}),this.subList.length==0&&s.push({command:"subtask",icon:"",name:"\u5B50\u4EFB\u52A1"}),s},menuText(){const{menuList:t}=this;let s="";return t.length>0&&t.forEach((e,a)=>{a>0&&(s+=" / "),s+=this.$L(e.name)}),s},visibleKeep(){return this.systemConfig.task_visible==="open"}},watch:{openTask:{handler(t){this.taskDetail=$A.cloneJSON(t),this.__openTask&&clearTimeout(this.__openTask),this.__openTask=setTimeout(s=>{var e;return(e=this.$refs.name)==null?void 0:e.resizeTextarea()},100)},immediate:!0,deep:!0},taskId:{handler(t){t>0?this.ready=!0:(this.windowPortrait&&$A.onBlur(),this.timeOpen=!1,this.timeForce=!1,this.loopForce=!1,this.assistForce=!1,this.visibleForce=!1,this.addsubForce=!1,this.receiveShow=!1,this.$refs.chatInput&&this.$refs.chatInput.hidePopover())},immediate:!0},getOwner:{handler(t){const s=t.map(({userid:e})=>e);this.$set(this.taskDetail,"owner_userid",s),this.$set(this.ownerData,"owner_userid",s),this.$set(this.assistData,"disabled",t.map(({userid:e})=>e).filter(e=>e!=this.userId))},immediate:!0},getAssist:{handler(t){const s=t.map(({userid:e})=>e);this.$set(this.taskDetail,"assist_userid",s),this.$set(this.assistData,"assist_userid",s)},immediate:!0},receiveShow(t){t&&(this.timeValue=this.taskDetail.end_at?[this.taskDetail.start_at,this.taskDetail.end_at]:[])},"taskDetail.visibility_appointor":{handler(t){(t==null?void 0:t.length)>0&&t[0]&&(this.taskDetail.is_all_visible=3,this.updateVisible())},immediate:!0}},methods:{within24Hours(t){return $A.Date(t,!0)-this.nowTime<86400},expiresFormat(t){return $A.countDownFormat(t,this.nowTime)},isOverdue(t){return t.overdue?!0:$A.Date(t.end_at,!0)e.key===t);return s?s.label:t?`\u6BCF${t}\u5929`:"\u4ECE\u4E0D"},onNameKeydown(t){t.keyCode===13&&(t.shiftKey||(t.preventDefault(),this.updateData("name")))},checkUpdate(t){let s=!1;if(this.openTask.name!=this.taskDetail.name)if(s=!0,t===!0)this.updateData("name");else return t===!1&&this.$refs.name.focus(),!0;if(this.$refs.desc&&this.$refs.desc.getContent()!=this.taskContent)if(s=!0,t===!0)this.updateData("content");else return t===!1&&this.$refs.desc.focus(),!0;if(this.addsubShow&&this.addsubName)if(s=!0,t===!0)this.onAddsub();else return t===!1&&this.$refs.addsub.focus(),!0;return this.subList.some(({id:e})=>{this.$refs[`subTask_${e}`][0].checkUpdate(t)&&(s=!0)}),s},updateBlur(t,s){this.canUpdateBlur&&this.updateData(t,s)},updateData(t,s){let e=null;switch(t){case"priority":this.$set(this.taskDetail,"p_level",s.priority),this.$set(this.taskDetail,"p_name",s.name),this.$set(this.taskDetail,"p_color",s.color),t=["p_level","p_name","p_color"];break;case"times":if(this.taskDetail.start_at&&(Math.abs($A.Time(this.taskDetail.start_at)-$A.Time(s.start_at))>60||Math.abs($A.Time(this.taskDetail.end_at)-$A.Time(s.end_at))>60)&&typeof s.desc=="undefined"){$A.modalInput({title:`\u4FEE\u6539${this.taskDetail.parent_id>0?"\u5B50\u4EFB\u52A1":"\u4EFB\u52A1"}\u65F6\u95F4`,placeholder:"\u8BF7\u8F93\u5165\u4FEE\u6539\u5907\u6CE8",okText:"\u786E\u5B9A",onOk:o=>o?(this.updateParams=Object.assign(s,{desc:o}),s.start_at&&s.end_at&&this.$refs.taskExistTipsRef?this.$refs.taskExistTipsRef.isExistTask({taskid:this.taskDetail.id,userids:this.taskDetail.owner_userid,timerange:[s.start_at,s.end_at]}).then(n=>{n||this.updateData("times",this.updateParams)}):this.updateData("times",this.updateParams),!1):"\u8BF7\u8F93\u5165\u4FEE\u6539\u5907\u6CE8"});return}this.$set(this.taskDetail,"times",[s.start_at,s.end_at,s.desc]);break;case"loop":if(s==="custom"){this.customLoop();return}this.$set(this.taskDetail,"loop",s);break;case"content":const i=this.$refs.desc.getContent();if(i==this.taskContent)return;this.$set(this.taskDetail,"content",i),e=()=>{this.$store.dispatch("saveTaskContent",{task_id:this.taskId,content:i})};break}let a={task_id:this.taskDetail.id};($A.isArray(t)?t:[t]).forEach(i=>{let o=this.taskDetail[i],n=this.openTask[i];$A.jsonStringify(o)!=$A.jsonStringify(n)&&(a[i]=o)}),!(Object.keys(a).length<=1)&&this.$store.dispatch("taskUpdate",a).then(({msg:i})=>{$A.messageSuccess(i),typeof e=="function"&&e()}).catch(({msg:i})=>{$A.modalError(i)})},customLoop(){let t=this.taskDetail.loop||1;$A.Modal.confirm({render:s=>s("div",[s("div",{style:{fontSize:"16px",fontWeight:"500",marginBottom:"20px"}},this.$L("\u91CD\u590D\u5468\u671F")),s("Input",{style:{width:"160px",margin:"0 auto"},props:{type:"number",value:t,maxlength:3},on:{input:e=>{t=$.runNum(e)}}},[s("span",{slot:"prepend"},this.$L("\u6BCF")),s("span",{slot:"append"},this.$L("\u5929"))])]),onOk:s=>{this.$Modal.remove(),t>0&&this.updateData("loop",t)},loading:!0,okText:this.$L("\u786E\u5B9A"),cancelText:this.$L("\u53D6\u6D88")})},async taskTimeChange(){const t=$A.date2string(this.timeValue,"Y-m-d H:i");$A.rightExists(t[0],"00:00")&&$A.rightExists(t[1],"00:00")&&(this.timeValue=await this.$store.dispatch("taskDefaultTime",t))},async onOwner(t){let s={task_id:this.taskDetail.id,owner:this.ownerData.owner_userid};if(t===!0){if(this.getOwner.length>0){this.receiveShow=!1,$A.messageError("\u4EFB\u52A1\u5DF2\u88AB\u9886\u53D6");return}const e=$A.date2string(this.timeValue,"Y-m-d H:i");if(!(e[0]&&e[1])){$A.messageError("\u8BF7\u8BBE\u7F6E\u8BA1\u5212\u65F6\u95F4");return}s.times=e,s.owner=this.ownerData.owner_userid=[this.userId]}if($A.jsonStringify(this.taskDetail.owner_userid)!==$A.jsonStringify(this.ownerData.owner_userid))return $A.count(s.owner)==0&&(s.owner=""),this.ownerLoad++,new Promise((e,a)=>{this.$store.dispatch("taskUpdate",s).then(({msg:i})=>{$A.messageSuccess(i),this.ownerLoad--,this.receiveShow=!1,this.$store.dispatch("getTaskOne",this.taskDetail.id).catch(()=>{}),e()}).catch(({msg:i})=>{$A.modalError(i),this.ownerLoad--,this.receiveShow=!1,a()})})},onAssist(){if($A.jsonStringify(this.taskDetail.assist_userid)!==$A.jsonStringify(this.assistData.assist_userid))return new Promise((t,s)=>{this.getOwner.find(({userid:e})=>e===this.userId)&&this.assistData.assist_userid.find(e=>e===this.userId)?$A.modalConfirm({content:"\u4F60\u5F53\u524D\u662F\u8D1F\u8D23\u4EBA\uFF0C\u786E\u5B9A\u8981\u8F6C\u4E3A\u534F\u52A9\u4EBA\u5458\u5417\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",onOk:()=>{this.onAssistConfirm().then(t).catch(s)},onCancel:()=>{s()}}):this.onAssistConfirm().then(t).catch(s)})},onAssistConfirm(){return new Promise((t,s)=>{let e=this.assistData.assist_userid;e.length===0&&(e=!1),this.assistLoad++,this.$store.dispatch("taskUpdate",{task_id:this.taskDetail.id,assist:e}).then(({msg:a})=>{$A.messageSuccess(a),this.assistLoad--,this.$store.dispatch("getTaskOne",this.taskDetail.id).catch(()=>{}),t()}).catch(({msg:a})=>{$A.modalError(a),this.assistLoad--,s()})})},openTime(){this.timeOpen=!this.timeOpen,this.timeOpen&&(this.timeValue=this.taskDetail.end_at?[this.taskDetail.start_at,this.taskDetail.end_at]:[])},timeChange(t){t||(this.timeOpen=!1)},timeClear(){this.updateData("times",{start_at:!1,end_at:!1}),this.timeOpen=!1},timeOk(){const t=$A.date2string(this.timeValue,"Y-m-d H:i");this.updateData("times",{start_at:t[0],end_at:t[1]}),this.timeOpen=!1},addsubOpen(){this.addsubShow=!0,this.$nextTick(()=>{this.$refs.addsub.focus()})},addsubChackClose(){this.addsubName==""&&(this.addsubShow=!1)},addsubKeydown(t){if(t.keyCode===13){if(t.shiftKey||this.addsubLoad>0)return;t.preventDefault(),this.onAddsub()}},onAddsub(){if(this.addsubName==""){$A.messageError("\u4EFB\u52A1\u63CF\u8FF0\u4E0D\u80FD\u4E3A\u7A7A");return}this.addsubLoad++,this.$store.dispatch("taskAddSub",{task_id:this.taskDetail.id,name:this.addsubName}).then(({msg:t})=>{$A.messageSuccess(t),this.addsubLoad--,this.addsubName=""}).catch(({msg:t})=>{$A.modalError(t),this.addsubLoad--})},getLogLists(){this.navActive=="log"&&this.$refs.log.getLists(!0)},logLoadChange(t){this.logLoadIng=t},dropAdd(t){switch(t){case"priority":this.$set(this.taskDetail,"p_name",this.$L("\u672A\u8BBE\u7F6E")),this.$nextTick(()=>{this.$refs.priority.show()});break;case"assist":this.assistForce=!0,this.$nextTick(()=>{this.$refs.assist.onSelection()});break;case"visible":this.visibleForce=!0,this.$nextTick(()=>{this.showCisibleDropdown()});break;case"times":this.timeForce=!0,this.$nextTick(()=>{this.openTime()});break;case"loop":this.loopForce=!0,this.$nextTick(()=>{this.$refs.loop.show()});break;case"file":this.onUploadClick(!0);break;case"subtask":this.addsubForce=!0,this.$nextTick(()=>{this.addsubOpen()});break}},onEventMore(t){["image","file"].includes(t)&&this.onUploadClick(!1)},onUploadClick(t){this.imageAttachment=!!t,this.$refs.upload.handleClick()},msgDialog(t=null,s=!1){this.sendLoad>0||this.openLoad>0||(s===!0?this.openLoad++:this.sendLoad++,this.$store.dispatch("call",{url:"project/task/dialog",data:{task_id:this.taskDetail.id}}).then(({data:e})=>{this.$store.dispatch("saveTask",{id:e.id,dialog_id:e.dialog_id}),this.$store.dispatch("saveDialog",e.dialog_data),$A.isSubElectron?this.resizeDialog().then(()=>{this.sendDialogMsg(t)}):this.$nextTick(()=>{if(this.windowPortrait){$A.onBlur();const a={time:$A.Time()+10,msgRecord:this.msgRecord,msgFile:this.msgFile,msgText:typeof t=="string"&&t?t:this.msgText,dialogId:e.dialog_id};this.msgRecord={},this.msgFile=[],this.msgText="",this.$nextTick(i=>{this.dialogId>0&&this.$store.dispatch("openTask",0),this.$store.dispatch("openDialog",e.dialog_id).then(o=>{this.$store.state.dialogMsgTransfer=a})})}else this.sendDialogMsg(t)})}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{s===!0?this.openLoad--:this.sendLoad--}))},sendDialogMsg(t=null){this.msgFile.length>0?this.$refs.dialog.sendFileMsg(this.msgFile.map(s=>Object.assign(s,{ajaxExtraData:{image_attachment:this.imageAttachment?1:0}}))):this.msgText?this.$refs.dialog.sendMsg(this.msgText):typeof t=="string"&&t&&this.$refs.dialog.sendMsg(t),this.msgFile=[],this.msgText=""},taskPasteDrag(t,s){if(this.dialogDrag=!1,$A.dataHasFolder(s==="drag"?t.dataTransfer:t.clipboardData)){t.preventDefault(),$A.modalWarning(`\u6682\u4E0D\u652F\u6301${s==="drag"?"\u62D6\u62FD":"\u7C98\u8D34"}\u6587\u4EF6\u5939\u3002`);return}const e=s==="drag"?t.dataTransfer.files:t.clipboardData.files;this.msgFile=Array.prototype.slice.call(e),this.msgFile.length>0&&(t.preventDefault(),this.msgDialog())},taskDragOver(t,s){let e=this.__dialogDrag=$A.randomString(8);if(!t)setTimeout(()=>{e===this.__dialogDrag&&(this.dialogDrag=t)},150);else{if(s.dataTransfer.effectAllowed==="move")return;this.dialogDrag=!0}},onSelectFile(t){this.msgFile=$A.isArray(t)?t:[t],this.msgDialog()},onRecord(t){this.msgRecord=t,this.msgDialog()},onSend(t){this.$refs.chatInput&&this.$refs.chatInput.hidePopover(),t==="open"?this.msgDialog(null,!0):this.msgDialog(t)},deleteFile(t){this.$set(t,"_show_menu",!1),this.$store.dispatch("forgetTaskFile",t.id),this.$store.dispatch("call",{url:"project/task/filedelete",data:{file_id:t.id}}).catch(({msg:s})=>{$A.modalError(s),this.$store.dispatch("getTaskFiles",this.taskDetail.id)})},openMenu(t,s){const e=this.$refs[`taskMenu_${s.id}`];e&&e.handleClick(t)},openNewWin(){let t={title:this.taskDetail.name,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,this.$el.clientWidth+72),height:Math.min(window.screen.availHeight,this.$el.clientHeight+72),minWidth:600,minHeight:450};this.hasOpenDialog&&(t.minWidth=800,t.minHeight=600),this.$Electron.sendMessage("windowRouter",{name:`task-${this.taskDetail.id}`,path:`/single/task/${this.taskDetail.id}?navActive=${this.navActive}`,force:!1,config:t}),this.$store.dispatch("openTask",0)},resizeDialog(){return new Promise(t=>{this.$Electron.sendMessage("windowSize",{width:Math.max(1100,this.windowWidth),height:Math.max(720,this.windowHeight),minWidth:800,minHeight:600,autoZoom:!0});let s=0,e=setInterval(()=>{s++,(this.$refs.dialog||s>20)&&(clearInterval(e),this.$refs.dialog&&t())},100)})},viewFile(t){if(["jpg","jpeg","webp","gif","png"].includes(t.ext)){const e=this.fileList.filter(i=>["jpg","jpeg","webp","gif","png"].includes(i.ext)),a=e.findIndex(i=>i.id===t.id);a>-1?this.$store.dispatch("previewImage",{index:a,list:e.map(i=>({src:i.path,width:i.width,height:i.height}))}):this.$store.dispatch("previewImage",{index:0,list:[{src:t.path,width:t.width,height:t.height}]});return}const s=`/single/file/task/${t.id}`;this.$Electron?this.$Electron.sendMessage("windowRouter",{name:`file-task-${t.id}`,path:s,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:`${t.name} (${$A.bytesToSize(t.size)})`,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)},webPreferences:{nodeIntegrationInSubFrames:t.ext==="drawio"}}):this.$isEEUiApp?$A.eeuiAppOpenPage({pageType:"app",pageTitle:`${t.name} (${$A.bytesToSize(t.size)})`,url:"web.js",params:{titleFixed:!0,allowAccess:!0,url:$A.rightDelete(window.location.href,window.location.hash)+`#${s}`}}):window.open($A.apiUrl(`..${s}`))},downFile(t){$A.modalConfirm({title:"\u4E0B\u8F7D\u6587\u4EF6",content:`${t.name} (${$A.bytesToSize(t.size)})`,okText:"\u7ACB\u5373\u4E0B\u8F7D",onOk:()=>{this.$store.dispatch("downUrl",$A.apiUrl(`project/task/filedown?file_id=${t.id}`))}})},showCisibleDropdown(){this.$refs.eDropdownRef.show()},visibleUserSelectShowChange(t){if(!t&&(this.taskDetail.visibility_appointor.length==0||!this.taskDetail.visibility_appointor[0])){let s=this.taskDetail.old_is_all_visible;this.taskDetail.is_all_visible=s>2?1:s||1,this.taskDetail.is_all_visible<3&&this.updateVisible()}},dropVisible(t){switch(t){case 1:case 2:this.taskDetail.is_all_visible=t,this.updateVisible();break;case 3:this.taskDetail.old_is_all_visible=this.taskDetail.is_all_visible,this.taskDetail.is_all_visible=t,this.$nextTick(()=>{this.$refs.visibleUserSelectRef.onSelection()});break}},updateVisible(){this.updateData(["is_all_visible","visibility_appointor"])}}},u={};var z=l(P,M,j,!1,H,null,null,null);function H(t){for(let s in u)this[s]=u[s]}var W=function(){return z.exports}();export{x as T,W as a}; diff --git a/public/js/build/TaskMenu.a1e9c7a5.js b/public/js/build/TaskMenu.c49f73c2.js similarity index 96% rename from public/js/build/TaskMenu.a1e9c7a5.js rename to public/js/build/TaskMenu.c49f73c2.js index 8e1d75e27..2c5075f78 100644 --- a/public/js/build/TaskMenu.a1e9c7a5.js +++ b/public/js/build/TaskMenu.c49f73c2.js @@ -1 +1 @@ -import{m as i,a as n,n as l}from"./app.92886a13.js";var r=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"task-menu-icon",on:{click:t.handleClick}},[t.loadIng?e("div",{staticClass:"loading"},[e("Loading")],1):[t.task.complete_at?e("Icon",{staticClass:"completed",attrs:{type:t.completedIcon}}):e("Icon",{staticClass:"uncomplete",attrs:{type:t.icon}})]],2)},d=[];const c={name:"TaskMenu",props:{task:{type:Object,default:()=>({})},loadStatus:{type:Boolean,default:!1},colorShow:{type:Boolean,default:!0},updateBefore:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String,default:"small"},icon:{type:String,default:"md-radio-button-off"},completedIcon:{type:String,default:"md-checkmark-circle"}},computed:{...i(["loads","taskFlows"]),...n(["isLoad"]),loadIng(){return this.loadStatus?!0:this.isLoad(`task-${this.task.id}`)}},methods:{handleClick(t){this.$store.state.taskOperation={event:t,task:this.task,loadStatus:this.loadStatus,colorShow:this.colorShow,updateBefore:this.updateBefore,disabled:this.disabled,size:this.size,onUpdate:s=>{this.$emit("on-update",s)}}},updateTask(t){if(this.loadIng)return;Object.keys(t).forEach(e=>this.$set(this.task,e,t[e]));const s=Object.assign(t,{task_id:this.task.id});this.$store.dispatch("taskUpdate",s).then(({data:e,msg:o})=>{$A.messageSuccess(o),this.$store.dispatch("saveTaskBrowse",s.task_id),this.$emit("on-update",e)}).catch(({msg:e})=>{$A.modalError(e),this.$store.dispatch("getTaskOne",s.task_id).catch(()=>{})})}}},a={};var u=l(c,r,d,!1,p,null,null,null);function p(t){for(let s in a)this[s]=a[s]}var m=function(){return u.exports}();export{m as T}; +import{m as i,a as n,n as l}from"./app.6cefc0c3.js";var r=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"task-menu-icon",on:{click:t.handleClick}},[t.loadIng?e("div",{staticClass:"loading"},[e("Loading")],1):[t.task.complete_at?e("Icon",{staticClass:"completed",attrs:{type:t.completedIcon}}):e("Icon",{staticClass:"uncomplete",attrs:{type:t.icon}})]],2)},d=[];const c={name:"TaskMenu",props:{task:{type:Object,default:()=>({})},loadStatus:{type:Boolean,default:!1},colorShow:{type:Boolean,default:!0},updateBefore:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String,default:"small"},icon:{type:String,default:"md-radio-button-off"},completedIcon:{type:String,default:"md-checkmark-circle"}},computed:{...i(["loads","taskFlows"]),...n(["isLoad"]),loadIng(){return this.loadStatus?!0:this.isLoad(`task-${this.task.id}`)}},methods:{handleClick(t){this.$store.state.taskOperation={event:t,task:this.task,loadStatus:this.loadStatus,colorShow:this.colorShow,updateBefore:this.updateBefore,disabled:this.disabled,size:this.size,onUpdate:s=>{this.$emit("on-update",s)}}},updateTask(t){if(this.loadIng)return;Object.keys(t).forEach(e=>this.$set(this.task,e,t[e]));const s=Object.assign(t,{task_id:this.task.id});this.$store.dispatch("taskUpdate",s).then(({data:e,msg:o})=>{$A.messageSuccess(o),this.$store.dispatch("saveTaskBrowse",s.task_id),this.$emit("on-update",e)}).catch(({msg:e})=>{$A.modalError(e),this.$store.dispatch("getTaskOne",s.task_id).catch(()=>{})})}}},a={};var u=l(c,r,d,!1,p,null,null,null);function p(t){for(let s in a)this[s]=a[s]}var m=function(){return u.exports}();export{m as T}; diff --git a/public/js/build/UserSelect.b15e51af.js b/public/js/build/UserSelect.eb1bd6e3.js similarity index 99% rename from public/js/build/UserSelect.b15e51af.js rename to public/js/build/UserSelect.eb1bd6e3.js index 2a04383a3..bb58ba54e 100644 --- a/public/js/build/UserSelect.b15e51af.js +++ b/public/js/build/UserSelect.eb1bd6e3.js @@ -1 +1 @@ -import{m as r,n}from"./app.92886a13.js";var o=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-user-select",class:e.warpClass},[e.module?e._e():t("ul",[e._l(e.values,function(s){return s?t("li",{on:{click:e.onSelection}},[t("UserAvatar",{attrs:{userid:s,size:e.avatarSize,"show-icon":e.avatarIcon,"show-name":e.avatarName,"tooltip-disabled":""}})],1):e._e()}),e.addIcon||e.values.length===0?t("li",{staticClass:"add-icon",style:e.addStyle,on:{click:e.onSelection}}):e._e()],2),t("Modal",{attrs:{"class-name":"common-user-select-modal","mask-closable":!1,closable:!e.isFullscreen,fullscreen:e.isFullscreen,"footer-hide":e.isFullscreen,width:"640"},scopedSlots:e._u([{key:"header",fn:function(){return[e.isFullscreen?t("div",{staticClass:"user-modal-header"},[t("div",{staticClass:"user-modal-close",on:{click:function(s){e.showModal=!1}}},[e._v(e._s(e.$L("\u5173\u95ED")))]),t("div",{staticClass:"user-modal-title"},[t("span",[e._v(e._s(e.localTitle))])]),t("div",{staticClass:"user-modal-submit",on:{click:e.onSubmit}},[e.loadIng>0?t("div",{staticClass:"submit-loading"},[t("Loading")],1):e._e(),e._v(" "+e._s(e.$L("\u786E\u5B9A"))+" "),e.selects.length>0?[e._v(" ("+e._s(e.selects.length)),e.multipleMax?t("span",[e._v("/"+e._s(e.multipleMax))]):e._e(),e._v(") ")]:e._e()],2)]):t("div",{staticClass:"ivu-modal-header-inner"},[e._v(e._s(e.localTitle))])]},proxy:!0},{key:"close",fn:function(){return[t("i",{staticClass:"ivu-icon ivu-icon-ios-close"})]},proxy:!0},{key:"footer",fn:function(){return[t("Button",{attrs:{type:"primary",loading:e.submittIng>0},on:{click:e.onSubmit}},[e._v(" "+e._s(e.$L("\u786E\u5B9A"))+" "),e.selects.length>0?[e._v(" ("+e._s(e.selects.length)),e.multipleMax?t("span",[e._v("/"+e._s(e.multipleMax))]):e._e(),e._v(") ")]:e._e()],2)]},proxy:!0}]),model:{value:e.showModal,callback:function(s){e.showModal=s},expression:"showModal"}},[t("div",{staticClass:"user-modal-search"},[e.selects.length>0?t("Scrollbar",{ref:"selected",staticClass:"search-selected",attrs:{"enable-x":"","enable-y":!1}},[t("ul",e._l(e.formatSelect(e.selects),function(s){return t("li",{attrs:{"data-id":s.userid},on:{click:function(i){return i.stopPropagation(),e.onRemoveItem(s.userid)}}},[s.type=="group"?[s.avatar?t("EAvatar",{staticClass:"img-avatar",attrs:{src:s.avatar,size:32}}):s.group_type=="department"?t("i",{staticClass:"taskfont icon-avatar department"},[e._v("\uE75C")]):s.group_type=="project"?t("i",{staticClass:"taskfont icon-avatar project"},[e._v("\uE6F9")]):s.group_type=="task"?t("i",{staticClass:"taskfont icon-avatar task"},[e._v("\uE6F4")]):t("Icon",{staticClass:"icon-avatar",attrs:{type:"ios-people"}})]:t("UserAvatar",{attrs:{userid:s.userid,"tooltip-disabled":""}})],2)}),0)]):e._e(),t("Input",{staticClass:"search-input",attrs:{placeholder:e.localPlaceholder,clearable:""},model:{value:e.searchKey,callback:function(s){e.searchKey=s},expression:"searchKey"}},[t("div",{staticClass:"search-pre",attrs:{slot:"prefix"},slot:"prefix"},[e.loadIng>0?t("Loading"):t("Icon",{attrs:{type:"ios-search"}})],1)])],1),e.isWhole?t("ul",{staticClass:"user-modal-switch"},e._l(e.switchItems,function(s){return t("li",{key:s.key,class:{active:e.switchActive===s.key},on:{click:function(i){e.switchActive=s.key}}},[e._v(e._s(e.$L(s.label)))])}),0):e._e(),e.lists.length>0?t("Scrollbar",{staticClass:"user-modal-list"},[e.switchActive=="project"?t("ul",{staticClass:"user-modal-project"},e._l(e.lists,function(s){return t("li",{class:e.selectClass(s.userid_list),on:{click:function(i){return e.onSelectProject(s.userid_list)}}},[t("Icon",{staticClass:"user-modal-icon",attrs:{type:e.selectIcon(s.userid_list)}}),t("div",{staticClass:"user-modal-avatar"},[t("i",{staticClass:"taskfont icon-avatar"},[e._v("\uE6F9")]),t("div",{staticClass:"project-name"},[t("div",{staticClass:"label"},[e._v(e._s(s.name))]),t("div",{staticClass:"subtitle"},[e._v(" "+e._s(s.userid_list.length)+" "+e._s(e.$L("\u9879\u76EE\u6210\u5458"))+" "),t("em",{staticClass:"all"},[e._v(e._s(e.$L("\u5DF2\u5168\u9009")))]),t("em",{staticClass:"some"},[e._v(e._s(e.$L("\u5DF2\u9009\u90E8\u5206")))])])])])],1)}),0):t("ul",[e.showSelectAll?t("li",{class:e.selectClass("all"),on:{click:e.onSelectAll}},[t("Icon",{staticClass:"user-modal-icon",attrs:{type:e.selectIcon("all")}}),t("div",{staticClass:"user-modal-all"},[e._v(e._s(e.$L("\u5168\u9009")))])],1):e._e(),e._l(e.lists,function(s){return t("li",{class:{selected:e.selects.includes(s.userid),disabled:e.isUncancelable(s.userid)||e.isDisabled(s.userid)},on:{click:function(i){return e.onSelectItem(s)}}},[e.selects.includes(s.userid)?t("Icon",{staticClass:"user-modal-icon",attrs:{type:"ios-checkmark-circle"}}):t("Icon",{staticClass:"user-modal-icon",attrs:{type:"ios-radio-button-off"}}),s.type=="group"?t("div",{staticClass:"user-modal-avatar"},[s.avatar?t("EAvatar",{staticClass:"img-avatar",attrs:{src:s.avatar,size:40}}):s.group_type=="department"?t("i",{staticClass:"taskfont icon-avatar department"},[e._v("\uE75C")]):s.group_type=="project"?t("i",{staticClass:"taskfont icon-avatar project"},[e._v("\uE6F9")]):s.group_type=="task"?t("i",{staticClass:"taskfont icon-avatar task"},[e._v("\uE6F4")]):t("Icon",{staticClass:"icon-avatar",attrs:{type:"ios-people"}}),t("div",{staticClass:"avatar-name"},[t("span",[e._v(e._s(s.name))])])],1):t("UserAvatar",{staticClass:"user-modal-avatar",attrs:{userid:s.userid,size:40,"show-name":"","tooltip-disabled":""}})],1)})],2)]):t("div",{staticClass:"user-modal-empty"},[e.waitIng>0?t("Loading"):[t("div",{staticClass:"empty-icon"},[t("Icon",{attrs:{type:"ios-cafe-outline"}})],1),t("div",{staticClass:"empty-text"},[e._v(e._s(e.$L("\u6682\u65E0\u7ED3\u679C")))])]],2)],1)],1)},h=[];const u={name:"UserSelect",props:{value:{type:[String,Number,Array],default:()=>[]},uncancelable:{type:Array,default:()=>[]},disabledChoice:{type:Array,default:()=>[]},projectId:{type:Number,default:0},noProjectId:{type:Number,default:0},dialogId:{type:Number,default:0},showBot:{type:Boolean,default:!1},showDisable:{type:Boolean,default:!1},multipleMax:{type:Number},avatarSize:{type:Number,default:28},avatarIcon:{type:Boolean,default:!0},avatarName:{type:Boolean,default:!1},addIcon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},title:{type:String},placeholder:{type:String},showSelectAll:{type:Boolean,default:!0},showDialog:{type:Boolean,default:!1},module:{type:Boolean,default:!1},beforeSubmit:Function},data(){return{switchItems:[{key:"recent",label:"\u6700\u8FD1"},{key:"contact",label:"\u901A\u8BAF\u5F55"},{key:"project",label:"\u9879\u76EE\u6210\u5458"}],switchActive:"recent",loadIng:0,waitIng:0,submittIng:0,values:[],selects:[],recents:[],contacts:[],projects:[],showModal:!1,searchKey:null,searchCache:[]}},watch:{value:{handler(e){typeof e=="number"?this.$emit("input",e>0?[e]:[]):typeof e=="string"&&(e=e.indexOf(",")>-1?e.split(","):[e],this.$emit("input",e.map(a=>$A.runNum(a)).filter(a=>a>0))),this.values=e},immediate:!0},isWhole:{handler(e){e?this.switchActive="recent":this.switchActive="contact"},immediate:!0},showModal(e){e?this.searchBefore():this.searchKey="",this.$emit("on-show-change",e)},searchKey(){this.searchBefore()},switchActive(){this.searchBefore()}},computed:{...r(["cacheDialogs"]),isFullscreen({windowWidth:e}){return e<576},isWhole({projectId:e,noProjectId:a,dialogId:t}){return e===0&&a===0&&t===0},lists({switchActive:e,searchKey:a,recents:t,contacts:s,projects:i}){switch(e){case"recent":return a?t.filter(l=>`${l.name}`.indexOf(a)>-1):t;case"contact":return s;case"project":return i}return[]},isSelectAll({lists:e,selects:a}){return e.length>0&&e.filter(t=>a.includes(t.userid)).length===e.length},warpClass(){return{"select-module":this.module,"select-border":this.border,"select-whole":this.isWhole}},addStyle({avatarSize:e}){return{width:e+"px",height:e+"px"}},localTitle({title:e}){return e===void 0?this.$L("\u9009\u62E9\u4F1A\u5458"):e},localPlaceholder({placeholder:e}){return e===void 0?this.$L("\u641C\u7D22"):e}},methods:{isUncancelable(e){return this.uncancelable.length===0?!1:this.uncancelable.includes(e)},isDisabled(e){return this.disabledChoice.length===0?!1:this.disabledChoice.includes(e)},formatSelect(e){return e.map(a=>$A.leftExists(a,"d:")?this.recents.find(t=>t.userid===a):{type:"user",userid:a})},selectIcon(e){if(e==="all")return this.isSelectAll?"ios-checkmark-circle":"ios-radio-button-off";if($A.isArray(e)&&e.length>0){const a=e.filter(t=>this.selects.includes(t)).length;if(a===e.length)return"ios-checkmark-circle";if(a>0)return"ios-remove-circle"}return"ios-radio-button-off"},selectClass(e){switch(this.selectIcon(e)){case"ios-checkmark-circle":return"selected";case"ios-remove-circle":return"somed"}return""},searchBefore(){!this.showModal||(this.switchActive==="recent"?this.searchRecent():this.switchActive==="contact"?this.searchContact():this.switchActive==="project"&&this.searchProject())},searchRecent(){this.recents=this.cacheDialogs.filter(e=>e.name===void 0||e.dialog_delete===1||!this.showBot&&e.bot?!1:this.showDialog||e.type==="user").sort((e,a)=>e.top_at||a.top_at?$A.Date(a.top_at)-$A.Date(e.top_at):e.todo_num>0||a.todo_num>0?a.todo_num-e.todo_num:$A.Date(a.last_at)-$A.Date(e.last_at)).map(({id:e,name:a,type:t,group_type:s,avatar:i,dialog_user:l})=>({name:a,type:t,group_type:s,avatar:i,userid:t==="user"?l.userid:`d:${e}`}))},searchContact(){let e=this.searchKey;const a=this.searchCache.find(t=>t.type==="contact"&&t.key==e);a&&(this.contacts=a.data),this.waitIng++,setTimeout(()=>{if(this.searchKey!=e){this.waitIng--;return}setTimeout(()=>{this.loadIng++},300),this.$store.dispatch("call",{url:"users/search",data:{keys:{key:e,project_id:this.projectId,no_project_id:this.noProjectId,dialog_id:this.dialogId,bot:this.showBot&&e?2:0,disable:this.showDisable&&e?2:0},take:50}}).then(({data:t})=>{t=t.map(l=>Object.assign(l,{type:"user"})),this.contacts=t;const s=this.searchCache.findIndex(l=>l.key==e),i={type:"contact",key:e,data:t,time:$A.Time()};s>-1?this.searchCache.splice(s,1,i):this.searchCache.push(i)}).catch(({msg:t})=>{this.contacts=[],$A.messageWarning(t)}).finally(t=>{this.loadIng--,this.waitIng--})},this.searchCache.length>0?300:0)},searchProject(){let e=this.searchKey;const a=this.searchCache.find(t=>t.type==="project"&&t.key==e);a&&(this.projects=a.data),this.waitIng++,setTimeout(()=>{if(this.searchKey!=e){this.waitIng--;return}setTimeout(()=>{this.loadIng++},300),this.$store.dispatch("call",{url:"project/lists",data:{type:"team",keys:{name:e},getuserid:"yes",getstatistics:"no"}}).then(({data:t})=>{t=t.data.map(l=>Object.assign(l,{type:"project"})),this.projects=t;const s=this.searchCache.findIndex(l=>l.key==e),i={type:"project",key:e,data:t,time:$A.Time()};s>-1?this.searchCache.splice(s,1,i):this.searchCache.push(i)}).catch(({msg:t})=>{this.projects=[],$A.messageWarning(t)}).finally(t=>{this.loadIng--,this.waitIng--})},this.searchCache.length>0?300:0)},onSelection(){this.$nextTick(e=>{this.selects=$A.cloneJSON(this.values),this.showModal=!0})},onSelectAll(){if(this.isSelectAll){this.selects=$A.cloneJSON(this.uncancelable);return}this.lists.some(e=>{if(this.isDisabled(e.userid))return!1;if(this.multipleMax&&this.selects.length>=this.multipleMax)return $A.messageWarning("\u5DF2\u8D85\u8FC7\u6700\u5927\u9009\u62E9\u6570\u91CF"),!0;this.selects.includes(e.userid)||this.selects.push(e.userid)})},onSelectItem({userid:e}){if(this.selects.includes(e)){if(this.isUncancelable(e))return;this.selects=this.selects.filter(a=>a!=e)}else{if(this.isDisabled(e))return;if(this.multipleMax&&this.selects.length>=this.multipleMax){$A.messageWarning("\u5DF2\u8D85\u8FC7\u6700\u5927\u9009\u62E9\u6570\u91CF");return}this.selects.push(e),this.$nextTick(()=>{$A.scrollIntoViewIfNeeded(this.$refs.selected.querySelector(`li[data-id="${e}"]`))})}},onSelectProject(e){switch(this.selectIcon(e)){case"ios-checkmark-circle":const a=e.filter(s=>!this.isUncancelable(s));a.length!=e.length&&$A.messageWarning("\u90E8\u5206\u6210\u5458\u7981\u6B62\u53D6\u6D88"),this.selects=this.selects.filter(s=>!a.includes(s));break;default:const t=e.filter(s=>!this.isDisabled(s));t.length!=e.length&&$A.messageWarning("\u90E8\u5206\u6210\u5458\u7981\u6B62\u9009\u62E9"),this.selects=this.selects.concat(t.filter(s=>!this.selects.includes(s))),this.multipleMax&&this.selects.length>this.multipleMax&&($A.messageWarning("\u5DF2\u8D85\u8FC7\u6700\u5927\u9009\u62E9\u6570\u91CF"),this.selects=this.selects.slice(0,this.multipleMax));break}},onRemoveItem(e){this.isUncancelable(e)||(this.selects=this.selects.filter(a=>a!=e))},onSubmit(){if(this.submittIng>0)return;const e=$A.cloneJSON(this.values);if(this.values=$A.cloneJSON(this.selects),this.$emit("input",this.values),this.$emit("onSubmit",this.values),!this.beforeSubmit){this.showModal=!1;return}const a=this.beforeSubmit();a&&a.then?(this.submittIng++,a.then(()=>{this.showModal=!1}).catch(()=>{this.values=e,this.$emit("input",this.values)}).finally(()=>{this.submittIng--})):this.showModal=!1}}},c={};var d=n(u,o,h,!1,f,null,null,null);function f(e){for(let a in c)this[a]=c[a]}var m=function(){return d.exports}();export{m as U}; +import{m as r,n}from"./app.6cefc0c3.js";var o=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-user-select",class:e.warpClass},[e.module?e._e():t("ul",[e._l(e.values,function(s){return s?t("li",{on:{click:e.onSelection}},[t("UserAvatar",{attrs:{userid:s,size:e.avatarSize,"show-icon":e.avatarIcon,"show-name":e.avatarName,"tooltip-disabled":""}})],1):e._e()}),e.addIcon||e.values.length===0?t("li",{staticClass:"add-icon",style:e.addStyle,on:{click:e.onSelection}}):e._e()],2),t("Modal",{attrs:{"class-name":"common-user-select-modal","mask-closable":!1,closable:!e.isFullscreen,fullscreen:e.isFullscreen,"footer-hide":e.isFullscreen,width:"640"},scopedSlots:e._u([{key:"header",fn:function(){return[e.isFullscreen?t("div",{staticClass:"user-modal-header"},[t("div",{staticClass:"user-modal-close",on:{click:function(s){e.showModal=!1}}},[e._v(e._s(e.$L("\u5173\u95ED")))]),t("div",{staticClass:"user-modal-title"},[t("span",[e._v(e._s(e.localTitle))])]),t("div",{staticClass:"user-modal-submit",on:{click:e.onSubmit}},[e.loadIng>0?t("div",{staticClass:"submit-loading"},[t("Loading")],1):e._e(),e._v(" "+e._s(e.$L("\u786E\u5B9A"))+" "),e.selects.length>0?[e._v(" ("+e._s(e.selects.length)),e.multipleMax?t("span",[e._v("/"+e._s(e.multipleMax))]):e._e(),e._v(") ")]:e._e()],2)]):t("div",{staticClass:"ivu-modal-header-inner"},[e._v(e._s(e.localTitle))])]},proxy:!0},{key:"close",fn:function(){return[t("i",{staticClass:"ivu-icon ivu-icon-ios-close"})]},proxy:!0},{key:"footer",fn:function(){return[t("Button",{attrs:{type:"primary",loading:e.submittIng>0},on:{click:e.onSubmit}},[e._v(" "+e._s(e.$L("\u786E\u5B9A"))+" "),e.selects.length>0?[e._v(" ("+e._s(e.selects.length)),e.multipleMax?t("span",[e._v("/"+e._s(e.multipleMax))]):e._e(),e._v(") ")]:e._e()],2)]},proxy:!0}]),model:{value:e.showModal,callback:function(s){e.showModal=s},expression:"showModal"}},[t("div",{staticClass:"user-modal-search"},[e.selects.length>0?t("Scrollbar",{ref:"selected",staticClass:"search-selected",attrs:{"enable-x":"","enable-y":!1}},[t("ul",e._l(e.formatSelect(e.selects),function(s){return t("li",{attrs:{"data-id":s.userid},on:{click:function(i){return i.stopPropagation(),e.onRemoveItem(s.userid)}}},[s.type=="group"?[s.avatar?t("EAvatar",{staticClass:"img-avatar",attrs:{src:s.avatar,size:32}}):s.group_type=="department"?t("i",{staticClass:"taskfont icon-avatar department"},[e._v("\uE75C")]):s.group_type=="project"?t("i",{staticClass:"taskfont icon-avatar project"},[e._v("\uE6F9")]):s.group_type=="task"?t("i",{staticClass:"taskfont icon-avatar task"},[e._v("\uE6F4")]):t("Icon",{staticClass:"icon-avatar",attrs:{type:"ios-people"}})]:t("UserAvatar",{attrs:{userid:s.userid,"tooltip-disabled":""}})],2)}),0)]):e._e(),t("Input",{staticClass:"search-input",attrs:{placeholder:e.localPlaceholder,clearable:""},model:{value:e.searchKey,callback:function(s){e.searchKey=s},expression:"searchKey"}},[t("div",{staticClass:"search-pre",attrs:{slot:"prefix"},slot:"prefix"},[e.loadIng>0?t("Loading"):t("Icon",{attrs:{type:"ios-search"}})],1)])],1),e.isWhole?t("ul",{staticClass:"user-modal-switch"},e._l(e.switchItems,function(s){return t("li",{key:s.key,class:{active:e.switchActive===s.key},on:{click:function(i){e.switchActive=s.key}}},[e._v(e._s(e.$L(s.label)))])}),0):e._e(),e.lists.length>0?t("Scrollbar",{staticClass:"user-modal-list"},[e.switchActive=="project"?t("ul",{staticClass:"user-modal-project"},e._l(e.lists,function(s){return t("li",{class:e.selectClass(s.userid_list),on:{click:function(i){return e.onSelectProject(s.userid_list)}}},[t("Icon",{staticClass:"user-modal-icon",attrs:{type:e.selectIcon(s.userid_list)}}),t("div",{staticClass:"user-modal-avatar"},[t("i",{staticClass:"taskfont icon-avatar"},[e._v("\uE6F9")]),t("div",{staticClass:"project-name"},[t("div",{staticClass:"label"},[e._v(e._s(s.name))]),t("div",{staticClass:"subtitle"},[e._v(" "+e._s(s.userid_list.length)+" "+e._s(e.$L("\u9879\u76EE\u6210\u5458"))+" "),t("em",{staticClass:"all"},[e._v(e._s(e.$L("\u5DF2\u5168\u9009")))]),t("em",{staticClass:"some"},[e._v(e._s(e.$L("\u5DF2\u9009\u90E8\u5206")))])])])])],1)}),0):t("ul",[e.showSelectAll?t("li",{class:e.selectClass("all"),on:{click:e.onSelectAll}},[t("Icon",{staticClass:"user-modal-icon",attrs:{type:e.selectIcon("all")}}),t("div",{staticClass:"user-modal-all"},[e._v(e._s(e.$L("\u5168\u9009")))])],1):e._e(),e._l(e.lists,function(s){return t("li",{class:{selected:e.selects.includes(s.userid),disabled:e.isUncancelable(s.userid)||e.isDisabled(s.userid)},on:{click:function(i){return e.onSelectItem(s)}}},[e.selects.includes(s.userid)?t("Icon",{staticClass:"user-modal-icon",attrs:{type:"ios-checkmark-circle"}}):t("Icon",{staticClass:"user-modal-icon",attrs:{type:"ios-radio-button-off"}}),s.type=="group"?t("div",{staticClass:"user-modal-avatar"},[s.avatar?t("EAvatar",{staticClass:"img-avatar",attrs:{src:s.avatar,size:40}}):s.group_type=="department"?t("i",{staticClass:"taskfont icon-avatar department"},[e._v("\uE75C")]):s.group_type=="project"?t("i",{staticClass:"taskfont icon-avatar project"},[e._v("\uE6F9")]):s.group_type=="task"?t("i",{staticClass:"taskfont icon-avatar task"},[e._v("\uE6F4")]):t("Icon",{staticClass:"icon-avatar",attrs:{type:"ios-people"}}),t("div",{staticClass:"avatar-name"},[t("span",[e._v(e._s(s.name))])])],1):t("UserAvatar",{staticClass:"user-modal-avatar",attrs:{userid:s.userid,size:40,"show-name":"","tooltip-disabled":""}})],1)})],2)]):t("div",{staticClass:"user-modal-empty"},[e.waitIng>0?t("Loading"):[t("div",{staticClass:"empty-icon"},[t("Icon",{attrs:{type:"ios-cafe-outline"}})],1),t("div",{staticClass:"empty-text"},[e._v(e._s(e.$L("\u6682\u65E0\u7ED3\u679C")))])]],2)],1)],1)},h=[];const u={name:"UserSelect",props:{value:{type:[String,Number,Array],default:()=>[]},uncancelable:{type:Array,default:()=>[]},disabledChoice:{type:Array,default:()=>[]},projectId:{type:Number,default:0},noProjectId:{type:Number,default:0},dialogId:{type:Number,default:0},showBot:{type:Boolean,default:!1},showDisable:{type:Boolean,default:!1},multipleMax:{type:Number},avatarSize:{type:Number,default:28},avatarIcon:{type:Boolean,default:!0},avatarName:{type:Boolean,default:!1},addIcon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},title:{type:String},placeholder:{type:String},showSelectAll:{type:Boolean,default:!0},showDialog:{type:Boolean,default:!1},module:{type:Boolean,default:!1},beforeSubmit:Function},data(){return{switchItems:[{key:"recent",label:"\u6700\u8FD1"},{key:"contact",label:"\u901A\u8BAF\u5F55"},{key:"project",label:"\u9879\u76EE\u6210\u5458"}],switchActive:"recent",loadIng:0,waitIng:0,submittIng:0,values:[],selects:[],recents:[],contacts:[],projects:[],showModal:!1,searchKey:null,searchCache:[]}},watch:{value:{handler(e){typeof e=="number"?this.$emit("input",e>0?[e]:[]):typeof e=="string"&&(e=e.indexOf(",")>-1?e.split(","):[e],this.$emit("input",e.map(a=>$A.runNum(a)).filter(a=>a>0))),this.values=e},immediate:!0},isWhole:{handler(e){e?this.switchActive="recent":this.switchActive="contact"},immediate:!0},showModal(e){e?this.searchBefore():this.searchKey="",this.$emit("on-show-change",e)},searchKey(){this.searchBefore()},switchActive(){this.searchBefore()}},computed:{...r(["cacheDialogs"]),isFullscreen({windowWidth:e}){return e<576},isWhole({projectId:e,noProjectId:a,dialogId:t}){return e===0&&a===0&&t===0},lists({switchActive:e,searchKey:a,recents:t,contacts:s,projects:i}){switch(e){case"recent":return a?t.filter(l=>`${l.name}`.indexOf(a)>-1):t;case"contact":return s;case"project":return i}return[]},isSelectAll({lists:e,selects:a}){return e.length>0&&e.filter(t=>a.includes(t.userid)).length===e.length},warpClass(){return{"select-module":this.module,"select-border":this.border,"select-whole":this.isWhole}},addStyle({avatarSize:e}){return{width:e+"px",height:e+"px"}},localTitle({title:e}){return e===void 0?this.$L("\u9009\u62E9\u4F1A\u5458"):e},localPlaceholder({placeholder:e}){return e===void 0?this.$L("\u641C\u7D22"):e}},methods:{isUncancelable(e){return this.uncancelable.length===0?!1:this.uncancelable.includes(e)},isDisabled(e){return this.disabledChoice.length===0?!1:this.disabledChoice.includes(e)},formatSelect(e){return e.map(a=>$A.leftExists(a,"d:")?this.recents.find(t=>t.userid===a):{type:"user",userid:a})},selectIcon(e){if(e==="all")return this.isSelectAll?"ios-checkmark-circle":"ios-radio-button-off";if($A.isArray(e)&&e.length>0){const a=e.filter(t=>this.selects.includes(t)).length;if(a===e.length)return"ios-checkmark-circle";if(a>0)return"ios-remove-circle"}return"ios-radio-button-off"},selectClass(e){switch(this.selectIcon(e)){case"ios-checkmark-circle":return"selected";case"ios-remove-circle":return"somed"}return""},searchBefore(){!this.showModal||(this.switchActive==="recent"?this.searchRecent():this.switchActive==="contact"?this.searchContact():this.switchActive==="project"&&this.searchProject())},searchRecent(){this.recents=this.cacheDialogs.filter(e=>e.name===void 0||e.dialog_delete===1||!this.showBot&&e.bot?!1:this.showDialog||e.type==="user").sort((e,a)=>e.top_at||a.top_at?$A.Date(a.top_at)-$A.Date(e.top_at):e.todo_num>0||a.todo_num>0?a.todo_num-e.todo_num:$A.Date(a.last_at)-$A.Date(e.last_at)).map(({id:e,name:a,type:t,group_type:s,avatar:i,dialog_user:l})=>({name:a,type:t,group_type:s,avatar:i,userid:t==="user"?l.userid:`d:${e}`}))},searchContact(){let e=this.searchKey;const a=this.searchCache.find(t=>t.type==="contact"&&t.key==e);a&&(this.contacts=a.data),this.waitIng++,setTimeout(()=>{if(this.searchKey!=e){this.waitIng--;return}setTimeout(()=>{this.loadIng++},300),this.$store.dispatch("call",{url:"users/search",data:{keys:{key:e,project_id:this.projectId,no_project_id:this.noProjectId,dialog_id:this.dialogId,bot:this.showBot&&e?2:0,disable:this.showDisable&&e?2:0},take:50}}).then(({data:t})=>{t=t.map(l=>Object.assign(l,{type:"user"})),this.contacts=t;const s=this.searchCache.findIndex(l=>l.key==e),i={type:"contact",key:e,data:t,time:$A.Time()};s>-1?this.searchCache.splice(s,1,i):this.searchCache.push(i)}).catch(({msg:t})=>{this.contacts=[],$A.messageWarning(t)}).finally(t=>{this.loadIng--,this.waitIng--})},this.searchCache.length>0?300:0)},searchProject(){let e=this.searchKey;const a=this.searchCache.find(t=>t.type==="project"&&t.key==e);a&&(this.projects=a.data),this.waitIng++,setTimeout(()=>{if(this.searchKey!=e){this.waitIng--;return}setTimeout(()=>{this.loadIng++},300),this.$store.dispatch("call",{url:"project/lists",data:{type:"team",keys:{name:e},getuserid:"yes",getstatistics:"no"}}).then(({data:t})=>{t=t.data.map(l=>Object.assign(l,{type:"project"})),this.projects=t;const s=this.searchCache.findIndex(l=>l.key==e),i={type:"project",key:e,data:t,time:$A.Time()};s>-1?this.searchCache.splice(s,1,i):this.searchCache.push(i)}).catch(({msg:t})=>{this.projects=[],$A.messageWarning(t)}).finally(t=>{this.loadIng--,this.waitIng--})},this.searchCache.length>0?300:0)},onSelection(){this.$nextTick(e=>{this.selects=$A.cloneJSON(this.values),this.showModal=!0})},onSelectAll(){if(this.isSelectAll){this.selects=$A.cloneJSON(this.uncancelable);return}this.lists.some(e=>{if(this.isDisabled(e.userid))return!1;if(this.multipleMax&&this.selects.length>=this.multipleMax)return $A.messageWarning("\u5DF2\u8D85\u8FC7\u6700\u5927\u9009\u62E9\u6570\u91CF"),!0;this.selects.includes(e.userid)||this.selects.push(e.userid)})},onSelectItem({userid:e}){if(this.selects.includes(e)){if(this.isUncancelable(e))return;this.selects=this.selects.filter(a=>a!=e)}else{if(this.isDisabled(e))return;if(this.multipleMax&&this.selects.length>=this.multipleMax){$A.messageWarning("\u5DF2\u8D85\u8FC7\u6700\u5927\u9009\u62E9\u6570\u91CF");return}this.selects.push(e),this.$nextTick(()=>{$A.scrollIntoViewIfNeeded(this.$refs.selected.querySelector(`li[data-id="${e}"]`))})}},onSelectProject(e){switch(this.selectIcon(e)){case"ios-checkmark-circle":const a=e.filter(s=>!this.isUncancelable(s));a.length!=e.length&&$A.messageWarning("\u90E8\u5206\u6210\u5458\u7981\u6B62\u53D6\u6D88"),this.selects=this.selects.filter(s=>!a.includes(s));break;default:const t=e.filter(s=>!this.isDisabled(s));t.length!=e.length&&$A.messageWarning("\u90E8\u5206\u6210\u5458\u7981\u6B62\u9009\u62E9"),this.selects=this.selects.concat(t.filter(s=>!this.selects.includes(s))),this.multipleMax&&this.selects.length>this.multipleMax&&($A.messageWarning("\u5DF2\u8D85\u8FC7\u6700\u5927\u9009\u62E9\u6570\u91CF"),this.selects=this.selects.slice(0,this.multipleMax));break}},onRemoveItem(e){this.isUncancelable(e)||(this.selects=this.selects.filter(a=>a!=e))},onSubmit(){if(this.submittIng>0)return;const e=$A.cloneJSON(this.values);if(this.values=$A.cloneJSON(this.selects),this.$emit("input",this.values),this.$emit("onSubmit",this.values),!this.beforeSubmit){this.showModal=!1;return}const a=this.beforeSubmit();a&&a.then?(this.submittIng++,a.then(()=>{this.showModal=!1}).catch(()=>{this.values=e,this.$emit("input",this.values)}).finally(()=>{this.submittIng--})):this.showModal=!1}}},c={};var d=n(u,o,h,!1,f,null,null,null);function f(e){for(let a in c)this[a]=c[a]}var m=function(){return d.exports}();export{m as U}; diff --git a/public/js/build/app.369db32a.css b/public/js/build/app.369db32a.css new file mode 100644 index 000000000..3e75705f5 --- /dev/null +++ b/public/js/build/app.369db32a.css @@ -0,0 +1,6 @@ +@charset "UTF-8";@font-face{font-family:iconfont;src:url(/js/build/iconfont.01196938.eot?t=1576231776697);src:url(/js/build/iconfont.01196938.eot?t=1576231776697#iefix) format("embedded-opentype"),url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABBoAAsAAAAAH4gAABAXAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCHNAqrGKENATYCJAOBAAtCAAQgBYRtB4I0G3MZM6M2lLTSTfZfJ3BzyOqYZkDBRZ2HprCitPZ3M8J36RIFoV+G+/sYnCYldv0I8xP3uCYjaM7/PYldjAhiEUzzMA2QIPZTSUVTap7SplSDVS1QFajwRBw61IQgv72KhZq8zPfO2kzlgJkk7T4iPTP9Ao/snqj1ZwI+AR+pnFgdsb1FKrikLeIB0AABBLNBwG3sJrh0YieT5piEFlvapTXhESZVxn7z1XMwlGSPvV8g5XsAQOD//62ldqfIqjJ5W5yyMH0RqkLWyJ0JDl3vH2ZCvMHdEpDKq5AV6vZCeyUCDyhMhanQFUJUSF+D5awMrAmEpUSMBqL+u96FgQDAQCUGYXgvHww+aDBOYL4ZcfI48GNh0DlDCfADXM0JaRCbioNPrl47gI3q6xMPkBAfIMGhwC7KNMk4AXqWejiMsp9gM2WP1KcBvJwIoADEAGiA1GkriShQPotRgtEV0vgv/nw0aIhYmpWyISIlSpGpmC1lR7A2toZtsMlp11jXnb47j+64Hg5zn6UsUfjoZBmKutd1v9rr4fphDQRixHGUMDpJirTuWd1zkP6/4AFKBLx5ISGFJwr+FLjwIISKCGIwCCRHgwMJBOCBjwA+fPmRUQPBBeYVAQDRQBvVwFICgxJYGgMBsFIM3sCGYPACNhwDCbARHF8yEhg8gU3EQAFsMgZ/YFMwKIDNwMAF2EwMHsAWAYSQxQCoIEsBEEGOAEAMaQOAgawBIBCyDgA5ZD0ANGQDABzITQBIIE8DIIC8CgAP8hoAfEgXMATAnT6Aj5IPAfCFfASAH6QLGGTwcNgSUAMAjTyBHsAsgPtJgC8GU++pILhNgQSfWmA0EEeRuu4EY14UN4/qGZcT5UhhGA+RzF1SKhUR4hBC68GmUDSfJxZ70tpH5uMJtAFv8k3IHkwQsbghCBGyO1rAEch8KV/ADNGEcnmltkOGKDqMSyXPTB0/f1gqqQ2GOhqiJgftys1wX+tg4SHhrzbqdj3PXQi/2m47jteF30zc/s3hA4btyn6r4/K6TDjNfkX8BZ51Du7ZDf/91en8caT7+06wdx/477cLWrE5JJ5vTUwUGoNjmfpWYWpMj3EjIa2djJquyNcCw/FkoZLVDe/crk7HlF2v3TZYaEO48Z1w1PX2/IHu2BudBRCCYtWvBRVSHgdpaN+n+n7rv7jBDQ41V3FSplXfmsIQFb4MONEnSxwYa4X9U0G67cNIpow0Wh0SzdewKnxLu1VOxbIVnAhqMHornbxVT0WyjfE9pdbQaK7Z+5oiSasw6tdwT1ABCOUhgLAB18k2I80+hAGCwnOPrbkI9MCNCKLYKXcZ/TjoQr+DKJrnBcZTsnHIVYM2IKHdls8KKdCbGp/gempUeVCNKPsiarRXiao7c1VaTpGsEWMZkK0EtaF+zozL/C5XUN1mc6qluTG8qp3ZRtDym7Tu9lABY77EyYCDOGGbSaX751iDcb86IXmrDLwE0OIqWKdHSLsjDVHThTg6e4hoZ0W1836P0nv3Sb9K9d17BS0TY89uRiqBtW8PD2r+uXx1QRH6ltVfNulEDoj+Tjm1OVOZHyxye8FtRMNx4u4SAx8MTWuMkQ4+KV/0Fm8XcxAikH13HgPEKC3sOv3jJfQPSis/NF8bGI8jOIpL/ZXB2cGcB5Z1ZUiOX1iO6uuYrghzg0A0c+naMI6D9DpkvdhphTJ9kdKwGkirDAkBUR5wsCOzDBCmo0JKjNunC1wOIoTbEZD+VCiMAURVWa4nDe1Uln4k54baR4hyhhCcUo33BZUwOqTO9uGIEu3sckJb9ZOAtBpUQIyUJ2wTFL+KLQjgHRCBXRiiowDDHW0vkLDrou0JF3AhCp2uQNv7oSZ/Zq8HJE+5VVSctLt8fbKj7qvd2K24Qljenm39DVKnTb/V54W3JQ4A16ajoC9ROEBhrRiupOO7TmnIt97OMqPbDs+Wd9Bq3vJckauVDIeTrXR126kpctY2WSpk9c2MHRO6XQ9XNLsrPWmuiIwVEqcdeCff1qG2zYzl3PJa3eWNcJmju/52k6wPlzQPrZSiQcZqLufWSkeANGW5t5zLe9SIPBNL1x4h9GWuIMQC46ZamifvFawQbH8TO9I0rWsNNjFoVxBYXmmJLzzjwApSTHhfP6YHrnT8ys8LlM0drRhLRqdJw6g4b54gcvmn+YmBX04ilmmEBR3wyJmoOKTz/7x2u72tOTTFq0y9YyvkJUtybl4LBb35iRHt5/TO+DOA/KGyNL40uZIiKaYvcjlOuvqIwScG1qSjFgfIfbLP6jMG8vOVPAijNL4AiM50bvAUmVSewIpmDqY1Wgcx0sAJqIgdRzrDwEEq9Ju9VwQ9uMGVQNYXahAuP79e5t78jSnVz8fdegMM8RyCb4a6viUlDgoko9Oi2TvWJofjwsQrQLviVhXtZw2YRlAB6J0fh8Wmho2cPr1dBSM3lCjc80GaD03EtTI11wPiQgXYsgRhNYuWASCFtPZOvTBqoNYTaO53H3b2Pdh5VsbHPrh06uYJD41afQ2dV1Ox53dGN6P3433qG3c4d93jvbLy4orHh6+df55b8kmvfHzFxbpnQKQHfUt5p1ImhA00zzRHfBFBLeQs4K1jFm7S5kVGDh0dNpRzCknDOjKzMjPPMVSR8n9r2tpnHEdHqOcoUjLUuUxWntVRyE92lLRftK3NINwmNLSpJfx/lbqsLqlV/p6q99SoaurrHSJ5YM2MGS5Xdr9M5CiwMO5fmMVsaY6LExZNNJvZtleQvnnPbCGYI7YnO58kSaS3nyzqAk6aunXdMQiaQJ1VPXNKS318EJljpwvbcyZxP/Jv0Rr4FOrVA/O4TJenp8KY3yDiW32/CpT5O37iS7orQBHVrJikbKa+wc0qr6jUKoH+W04U/Z3n357tnitXIiN/Q7Fdxj/Ml9kdl+An30RfEVVTAFNdmYZL2bHO9hmKfVZc6tf3L+8P6r/8ImBfnft2F7nL3MMDLo7qH32ueDL2GHUa2aRRJQNKhxQP9ZPJkM8xKUeYiysMlfqBkp/ph/pRy+0jRhoGjTQpq4hZ44bO3F69flKagSubojZwoN20wblhcHB18Kvjzg3O5OP+L1ofcTviOriSK1+8/OKK5PV60MpWzqjxrNn016KlnTs6ly66lb7Gc1H5VCYxhbvP1I/ireJ9J7JVB8mtyhbdKF2L8jvnaeBIyan0U7fDY5/dzB9VUTl8YMkgS7JbT8fei73VnWtfPndj2ewwaomyxJhzU08hxVQZzxpbVENU33jDJqlaRrSqJj73b1RmFWSnihoHU1Kaigw2kCrfQvKZP1fmGnSnqNpStG3+MwkvOlFHaH2N5LNonqTPzClC0rjV69oe+zxuk2/q2SlVKRGdwivDr3Dzfq+V8Hz69UaykNT1+vA8TprylNt/P/DHqs5x6uHq2Z2r/9z0W6NyK5NXfyAjtTChQd7W0NNW9lPPvJ95TH31jq3zhTSytHavdq9QIWKQFL4XuFKmXeAhtqmUIfXmZL/edJN5/RrdFH4tSuZ9R9n+mKud+WZTu1KKTiubkaps4mydXiG1JEXyOlVO0X5Ml/XXwZpCaadNLBW0byIxTWj2HK+/3it87M0vACmTm4KDSdEzLM2vOmLmOKzRu0UszatqHbUZmmB+rbZF49C2uhjVCfXewBMqZ5bT4VTCcdOhgH9lkX9v79pevmM6JoNaQMMIQ7dyq3Obc3vqX45upCDy6GZ6Ig6QXdu6nm4zu6+YP1OZpvzv0pMnhkC7bN+BIGXS8OHruLxgRZz36JKSRB5x+zYIbLuvd5dwO1jXu4upURy4O30Gb6IUC0Nsiij5ypBVMmWUxvY7RBPlgVYWKmyh2oShK6FuFq50tq/yW/XndFgI3qo/vuDzruKSn3DFJK3mERZHrt9KSxVnwOHtZU/GZQ5b2Jh580+7h2x2UMG86mNW6sZZyrra909Ktg0qqJ6Xk38qJy8/91Re7qsjKfk6kZ/zFM2pzvnEaoeVevADZa2pNg0GzvXCfX1xersSyI88TkzTtyh0ZkrRQtcnPt6wYfDgdqPxbppzrA0bHifW04oWyqxrUejT9K2NRrrCguZml9wbQmq8Ipbt59QVdG1Y/9w3wlRmpPl9twpTRNIjA95esJ+z4Ai04c61zLT1XQV1nHhDFHZWtFTogXRTxQzRtz9NkFyLzs4Jcpt8hkLklSit2CNK5Yv3iPV3tOSnbxMrsnu+XPfVLZvS1v7/Jcd7cjzyCrsH7zeXFzWdQq3gW4x6p7Y447os0tkV5/QyqL0jYac3CGhaWPL+FbdW+v1UNdnsTZHB30c2xBy6utz/Q6tU2Lt/LhtWJgr2rFt2FvvztIxn2/dvIgyhg7T1yrkBOiZtGZgJq0S8pdbfOwN++vWKmnF69YmCJU1Nk7Z8+pM9TuLtsds8fq75P44PWfCzq2O9XYHU8d6P/BL9a/wT/eS5zzoJcbqYlJyRkOJdOd8CRj3aLGcwZNgq3yCfJvmvYqIN0l/NTT6xu9/cX3TiWOjg1cd3nwvkBJsCxf8s0EocXp/zRWrfvk+k8cLJy5t9muvr5swGGRmYkrza/kabNJrZ83aYVu3eNZW/CvhooMuPeEn4WRK5kdxES5RK/TZtmU02Xx4lny97/pdilUIpDMXD00iX8hJNuZZE3lKpZpXikimatkqsFcGXSCuWIuFwdW7uyK1D4kODLl38t+n8gn+x3M0Wcb9U2FOkX2cdhXVfPtNzzxCNB1AXqLQZesgNc7j/U+QZFxm29kHKSY0h6KmQYPiI4auhc4ePG14spLhlhu8c8Qt/JT7rQyHFEG0efoOGNz6kBLRwLbka/jP5YHgXeX64HXHwwuHrvtp9dghG+i2fSCj+nE/bqJ+5y+Q8rGwPN2zq51+V9cLh/2m2uu6bRVW4D9IYRzX4IB9MSDyIFHSrG9HfOSyi2ecGFjuAKIMwBzTWItJAAmDCWW6Uyjn7rDytsx7ZKs/QJMFDoEmBjxBE94wxORAiyeSCj1yTQbSikwuhYAUFghYAiNLomAQ8nDFJSPAjo3Q9OxiNnl0mB14e5XExMIr+Y6cUOEMhwjbXv3wR6AKr2qeKhpNzY2Xpzf8JX0kLyXnq7BeSIyd13B1+mz+QIHWkyDd/KsUpJ9ypd8cHRKx64QtM2QU09ef93r1dxc5w1yybF4EusEr7lNNGw8kdvixTX/4TvpKWnNV+TfsLyfHolaOdgwX6EMlqtX1ZNN/8SSHaKbGscKe8Ew3iDaz0+rYuMGUnlLD7sz3ZnLMVu/ZVd2QUNuIa2EerSSBRaAwWhycQSWRKKmoaWjp6BkYmZhZWNnYOTi5unmLY2bHA8rgmyzMTYK6wG3WXt05TxqwX3CLuQ04jdm5u+Z6ItR23THbihWs/ip1flj53yJZiwsQQZ0xj0RTNnG8QzRTLwBL/OSWalIAOk7/KRVYU3ZK5J7QMK40NW4zfPK9LV4myESBZoZjMapY6ZFrWvnG2bXGOcdY3LPo627blR9MAAAAA) format("woff2"),url(/js/build/iconfont.5e0c4d21.woff?t=1576231776697) format("woff"),url(/js/build/iconfont.eb7e69a1.ttf?t=1576231776697) format("truetype"),url(/js/build/iconfont.7bf1e2b0.svg?t=1576231776697#iconfont) format("svg")}.iconfont[data-v-7c98e74e]{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-md[data-v-7c98e74e]:before{content:"\e604"}.icon-redo[data-v-7c98e74e]:before{content:"\e627"}.icon-undo[data-v-7c98e74e]:before{content:"\e633"}.icon-checked[data-v-7c98e74e]:before{content:"\e683"}.icon-checked-false[data-v-7c98e74e]:before{content:"\e684"}.icon-preview[data-v-7c98e74e]:before{content:"\e63a"}.icon-on[data-v-7c98e74e]:before{content:"\e6d8"}.icon-off[data-v-7c98e74e]:before{content:"\e6d9"}.icon-download[data-v-7c98e74e]:before{content:"\e6ae"}.icon-bold[data-v-7c98e74e]:before{content:"\e677"}.icon-group[data-v-7c98e74e]:before{content:"\e647"}.icon-img[data-v-7c98e74e]:before{content:"\e64a"}.icon-under-line[data-v-7c98e74e]:before{content:"\e65a"}.icon-close[data-v-7c98e74e]:before{content:"\e690"}.icon-italic[data-v-7c98e74e]:before{content:"\e628"}.icon-overline[data-v-7c98e74e]:before{content:"\e63b"}.icon-horizontal[data-v-7c98e74e]:before{content:"\e7f0"}.icon-theme[data-v-7c98e74e]:before{content:"\e682"}.icon-quote[data-v-7c98e74e]:before{content:"\e636"}.icon-table[data-v-7c98e74e]:before{content:"\e603"}.icon-clear[data-v-7c98e74e]:before{content:"\e629"}.icon-ul[data-v-7c98e74e]:before{content:"\e624"}.icon-code[data-v-7c98e74e]:before{content:"\e60f"}.icon-link[data-v-7c98e74e]:before{content:"\e7e2"}.icon-fullscreen[data-v-7c98e74e]:before{content:"\e7ec"}.icon-quite[data-v-7c98e74e]:before{content:"\e7ed"}.icon-daoru[data-v-7c98e74e]:before{content:"\e635"}.icon-ol[data-v-7c98e74e]:before{content:"\e6f0"}.icon-upload-img[data-v-7c98e74e]:before{content:"\e679"}.icon-save[data-v-7c98e74e]:before{content:"\e648"}.icon-check-box[data-v-7c98e74e]:before{content:"\ec58"}.markdown[data-v-7c98e74e]{overflow:hidden;position:relative;margin:0;padding:0;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;flex-direction:column;background:#f7f7f7}.markdown.border[data-v-7c98e74e]{border:1px solid #d9d9d9}.markdown *[data-v-7c98e74e]{margin:0;padding:0;box-sizing:border-box}.markdown.fullscreen[data-v-7c98e74e]{position:fixed;z-index:999999;top:0;left:0;right:0;bottom:0;height:100%!important;width:100%;border:none}.markdown.fullscreen .markdown-content[data-v-7c98e74e]{padding:10px 0 0}.markdown .markdown-toolbars[data-v-7c98e74e]{width:100%;display:block;list-style:none;background:#fff;color:#6a6f7b;cursor:pointer;padding-left:4px;border-bottom:1px solid #d9d9d9}.markdown .markdown-toolbars>li[data-v-7c98e74e]{float:left;position:relative;cursor:pointer;margin:0;line-height:normal;min-height:auto}.markdown .markdown-toolbars>li[data-v-7c98e74e]:after{display:block;content:attr(name);position:absolute;z-index:999999999999;top:32px;left:20px;background:#000;color:#fff;white-space:nowrap;font-size:12px;line-height:28px;padding:0 6px;transition:all .3s .1s;transform:scale(0);opacity:0;transform-origin:top;border-radius:2px}.markdown .markdown-toolbars>li[data-v-7c98e74e]:hover:after{transform:scale(1);opacity:1}.markdown .markdown-toolbars>li[data-v-7c98e74e]:last-child:after{right:20%;left:auto}.markdown .markdown-toolbars>li .title[data-v-7c98e74e]{font-size:16px!important}.markdown .markdown-toolbars>li .icon-svg[data-v-7c98e74e]{display:flex;align-items:center;justify-content:center}.markdown .markdown-toolbars>li.right[data-v-7c98e74e]{float:right}.markdown .markdown-toolbars>li.right>ul[data-v-7c98e74e]{list-style:none}.markdown .markdown-toolbars>li.right>ul>li[data-v-7c98e74e]{line-height:normal;float:left}.markdown .markdown-toolbars span[data-v-7c98e74e]{font-size:18px;color:#999;cursor:pointer;display:block;width:30px;height:30px;border-radius:3px;line-height:30px;text-align:center}.markdown .markdown-toolbars span[data-v-7c98e74e]:hover{background:#f7f7f7;color:#1890ff}.markdown .markdown-toolbars .title[data-v-7c98e74e]{padding-left:4px;padding-right:10px}.markdown .markdown-toolbars li:last-child span[data-v-7c98e74e]{font-size:20px!important;margin-right:4px}.markdown .markdown-toolbars .shift-theme[data-v-7c98e74e],.markdown .markdown-toolbars .export-file[data-v-7c98e74e]{height:46px;position:relative;display:flex;justify-content:center;align-items:center}.markdown .markdown-toolbars .shift-theme span[data-v-7c98e74e],.markdown .markdown-toolbars .export-file span[data-v-7c98e74e]{padding:0 8px;transition:all .3s;font-size:18px;display:inline-block;line-height:32px}.markdown .markdown-toolbars .shift-theme span[data-v-7c98e74e]:hover,.markdown .markdown-toolbars .export-file span[data-v-7c98e74e]:hover{color:#0084ff;background:#f7f7f7;border-radius:3px}.markdown .markdown-toolbars .shift-theme ul[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul[data-v-7c98e74e]{transform:scale(0);transition:all .3s;left:-50%;top:40px;width:160px;transform-origin:top center;list-style:none;margin:0;padding:6px 0;box-sizing:border-box;border:1px solid #d9d9d9;background:#fff;border-radius:4px;position:absolute;z-index:9999999;box-shadow:0 2px 8px #0000001a}.markdown .markdown-toolbars .shift-theme ul.active[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul.active[data-v-7c98e74e]{opacity:1;transform:scaleY(1)}.markdown .markdown-toolbars .shift-theme ul li[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li[data-v-7c98e74e]{line-height:30px;padding:0 12px;font-size:13px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;align-items:center;color:#262626}.markdown .markdown-toolbars .shift-theme ul li .iconfont[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li .iconfont[data-v-7c98e74e]{font-size:14px;display:block;height:30px;width:30px;line-height:30px;overflow:hidden}.markdown .markdown-toolbars .shift-theme ul li .iconfont[data-v-7c98e74e]:hover,.markdown .markdown-toolbars .export-file ul li .iconfont[data-v-7c98e74e]:hover{color:#262626}.markdown .markdown-toolbars .shift-theme ul li i[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li i[data-v-7c98e74e]{font-size:13px;display:block;font-style:normal;flex:1;white-space:normal}.markdown .markdown-toolbars .shift-theme ul li[data-v-7c98e74e]:last-child,.markdown .markdown-toolbars .export-file ul li[data-v-7c98e74e]:last-child{border-bottom:0}.markdown .markdown-toolbars .shift-theme ul li:last-child .iconfont[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li:last-child .iconfont[data-v-7c98e74e]{font-size:14px!important;margin:0!important}.markdown .markdown-toolbars .shift-theme ul li[data-v-7c98e74e]:hover,.markdown .markdown-toolbars .export-file ul li[data-v-7c98e74e]:hover{background:#f7f7f7}.markdown .markdown-toolbars .shift-theme ul li.disabled[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li.disabled[data-v-7c98e74e]{cursor:not-allowed;color:#bbbec4}.markdown .markdown-toolbars .shift-theme ul li.disabled[data-v-7c98e74e]:hover,.markdown .markdown-toolbars .export-file ul li.disabled[data-v-7c98e74e]:hover{background:transparent}.markdown .markdown-toolbars .import-file[data-v-7c98e74e]{position:relative}.markdown .markdown-toolbars .import-file input[data-v-7c98e74e]{position:absolute;z-index:9999;left:0;top:0;display:block;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}.markdown .markdown-toolbars .import-file:hover span[data-v-7c98e74e]{background:#f7f7f7;color:#1890ff}.markdown .markdown-toolbars .import-file[data-v-7c98e74e]:hover:after{transform:scale(1);opacity:1}.markdown .close-preview[data-v-7c98e74e]{position:absolute;z-index:999;right:0;top:0;height:40px;width:40px;display:flex;justify-content:center;align-items:center;cursor:pointer;color:#262626}.markdown .close-preview span[data-v-7c98e74e]{font-size:22px}.markdown .close-preview span[data-v-7c98e74e]:hover{color:#262626}.markdown .markdown-content[data-v-7c98e74e]{flex:1;width:100%;display:flex;justify-content:space-between;position:relative;overflow:hidden;padding-bottom:0}.markdown .markdown-content .markdown-editor[data-v-7c98e74e]{flex:1;height:100%;position:relative;margin:0!important;overflow:hidden;overflow-y:scroll;display:flex;justify-content:space-between;background:#2d2d2d}.markdown .markdown-content .markdown-editor[data-v-7c98e74e]::-webkit-scrollbar{display:none}.markdown .markdown-content .markdown-editor .index[data-v-7c98e74e]{background:#272727;min-height:100%;width:36px;line-height:22px;padding:12px 0}.markdown .markdown-content .markdown-editor .index li[data-v-7c98e74e]{background:#272727;color:#ccc;font-size:14px;text-align:center;font-family:Consolas}.markdown .markdown-content .markdown-editor textarea[data-v-7c98e74e]{width:100%;min-height:100%;outline:none;border:0;background:#2d2d2d;line-height:22px;caret-color:#ccc;color:#669acc;font-size:14px;font-family:Consolas;resize:none;padding:12px 8px;overflow:hidden;white-space:nowrap;overflow-x:auto}.markdown .markdown-content .markdown-editor textarea[data-v-7c98e74e]::-moz-selection{background:#999;color:#0084ff}.markdown .markdown-content .markdown-editor textarea[data-v-7c98e74e]::selection{background:#999;color:#0084ff}.markdown .markdown-content .codemirror[data-v-7c98e74e]{flex:1;width:0;height:100%;overflow:auto}.markdown .markdown-content .markdown-preview[data-v-7c98e74e]{flex:1;width:0;height:100%}.markdown ul.toc-anchor[data-v-7c98e74e]{max-width:260px;min-width:150px;background-color:#f6f8fa;border-left:2px solid #dcdfe6;overflow:auto}.markdown ul.toc-anchor li.toc-anchor-item[data-v-7c98e74e]{cursor:pointer;padding:6px 16px;font-size:12px;line-height:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.markdown ul.toc-anchor li.toc-anchor-item span[data-v-7c98e74e]{color:#333;opacity:.8}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-2[data-v-7c98e74e]{padding-left:16px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-3[data-v-7c98e74e]{padding-left:32px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-4[data-v-7c98e74e]{padding-left:48px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-5[data-v-7c98e74e]{padding-left:64px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-action[data-v-7c98e74e]{color:#2b85e4;opacity:1}.markdown ul.toc-anchor li.toc-anchor-item[data-v-7c98e74e]:first-child{padding-top:16px}.markdown ul.toc-anchor li.toc-anchor-item:hover span[data-v-7c98e74e]{opacity:1}.insert-img-model[data-v-7c98e74e]{position:fixed;left:0;top:0;right:0;bottom:0;z-index:99999;background:rgba(0,0,0,.3);padding-top:12%;transition:all .3s;opacity:0;display:none}.insert-img-model .model-container[data-v-7c98e74e]{background:#fff;width:480px;margin:0 auto;border-radius:4px;transition:all .3s;transform:scale(0);transform-origin:center}.insert-img-model .model-container .model-head[data-v-7c98e74e]{line-height:32px;padding:0 12px;background:#f7f7f7;border-radius:4px 4px 0 0;box-shadow:0 1px 2px #d9d9d9;display:flex;justify-content:space-between}.insert-img-model .model-container .model-head span[data-v-7c98e74e]:nth-of-type(2){font-size:14px;padding-left:12px;cursor:pointer}.insert-img-model .model-container .model-head span[data-v-7c98e74e]:nth-of-type(2):hover{color:#ed3f14}.insert-img-model .model-container .model-content[data-v-7c98e74e]{padding:0 12px 20px;min-height:180px}.insert-img-model .model-container .model-content .insert-url[data-v-7c98e74e]{padding:42px 0;display:flex;justify-content:space-between;align-items:center}.insert-img-model .model-container .model-content .insert-url input[data-v-7c98e74e]{display:block;border:1px solid #ccc;font-size:14px;padding:4px 8px;line-height:24px;color:#333;background:#fff;border-radius:4px;writing-mode:horizontal-tb;text-rendering:auto;transition:box-shadow 2s;flex:1}.insert-img-model .model-container .model-content .insert-url input[data-v-7c98e74e]:focus{border-color:#1890ff}.insert-img-model .model-container .model-content .insert-url input[data-v-7c98e74e]::-moz-placeholder{color:#c1c1c1}.insert-img-model .model-container .model-content .insert-url input[data-v-7c98e74e]::placeholder{color:#c1c1c1}.insert-img-model .model-container .model-content .insert-url a[data-v-7c98e74e]{display:block;background:#1890ff;color:#fff;line-height:32px;height:32px;font-size:13px;padding:0 12px;border-radius:3px;margin-left:20px;border:1px solid #d9d9d9;transition:all .3s}.insert-img-model .model-container .model-content .insert-url a[data-v-7c98e74e]:hover{background:#0169af}.insert-img-model .model-container .model-content .insert-local[data-v-7c98e74e]{height:120px;border:1px dashed #d9d9d9;border-radius:4px;transition:all .3s;position:relative;display:flex;justify-content:center;align-items:center;flex-direction:column;cursor:pointer}.insert-img-model .model-container .model-content .insert-local span[data-v-7c98e74e]{font-size:40px;color:#d9d9d9;line-height:50px;transition:all .3s}.insert-img-model .model-container .model-content .insert-local p[data-v-7c98e74e]{font-size:14px;color:#262626;transition:all .3s}.insert-img-model .model-container .model-content .insert-local[data-v-7c98e74e]:hover{border-color:#1890ff}.insert-img-model .model-container .model-content .insert-local:hover span[data-v-7c98e74e],.insert-img-model .model-container .model-content .insert-local:hover p[data-v-7c98e74e]{color:#1890ff}.insert-img-model .model-container .model-content .insert-local input[data-v-7c98e74e]{display:block;position:absolute;width:100%;height:100%;opacity:0}.insert-img-model .model-container .model-foot[data-v-7c98e74e]{display:flex;justify-content:flex-end;align-items:center;padding:10px 12px;display:none}.insert-img-model .model-container .model-foot a[data-v-7c98e74e]{display:block;background:#f7f7f7;color:#262626;line-height:26px;height:26px;font-size:13px;padding:0 12px;border-radius:3px;margin-left:12px;border:1px solid #d9d9d9;transition:all .3s}.insert-img-model .model-container .model-foot a[data-v-7c98e74e]:hover{background:#d9d9d9}.insert-img-model .model-container .model-foot a.ok[data-v-7c98e74e]{background:#1890ff;color:#fff;border-color:#1890ff}.insert-img-model .model-container .model-foot a.ok[data-v-7c98e74e]:hover{background:#0169af}.insert-img-model.active[data-v-7c98e74e]{opacity:1;display:block}.insert-img-model.active .model-container[data-v-7c98e74e]{transform:scale(1)}ul.shift[data-v-7c98e74e]{padding:6px 12px;display:flex;align-items:center}ul.shift span[data-v-7c98e74e]{font-size:12px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.shift span.iconfont[data-v-7c98e74e]{font-size:14px}ul.shift label[data-v-7c98e74e]{font-size:12px;padding-right:10px;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.shift input[type=radio][data-v-7c98e74e],ul.shift label[data-v-7c98e74e]{transition:all .6s ease;box-sizing:border-box}ul.shift input[type=radio]+label[data-v-7c98e74e]:before{content:"\a0";display:inline-block;vertical-align:middle;margin-right:4px;width:8px;height:8px;border-radius:50%;border:1px solid #292d35;padding:2px}ul.shift input[type=radio]:checked+label[data-v-7c98e74e]:before{background-color:#292d35;background-clip:content-box;padding:2px}ul.shift input[type=radio][data-v-7c98e74e]{position:absolute;clip:rect(0,0,0,0)}ul.shift input[type=radio]:checked+label[data-v-7c98e74e]{color:#292d35}[data-v-7c98e74e] .markdown-preview{flex:1;overflow:hidden;overflow-y:scroll;background:#fff;padding:20px 12px!important;font-family:Tahoma For Number,Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}[data-v-7c98e74e] .markdown-preview *{margin:0;padding:0;box-sizing:border-box}[data-v-7c98e74e] .markdown-preview>div{padding:10px 12px!important;background:#fff}[data-v-7c98e74e] .markdown-preview>div::-webkit-scrollbar{display:none}[data-v-7c98e74e] .markdown-preview::-webkit-scrollbar{display:none}[data-v-7c98e74e] .markdown-preview em{font-style:oblique}[data-v-7c98e74e] .markdown-preview ul{list-style:none;padding:0 20px}[data-v-7c98e74e] .markdown-preview ul li{position:relative}[data-v-7c98e74e] .markdown-preview ul li:after{display:block;content:"";width:8px;height:8px;border-radius:50%;position:absolute;z-index:99;top:12px;left:-16px;background:#262626}[data-v-7c98e74e] .markdown-preview ol,[data-v-7c98e74e] .markdown-preview ul{margin:10px 0}[data-v-7c98e74e] .markdown-preview ol li,[data-v-7c98e74e] .markdown-preview ul li{font-size:14px!important;color:#262626;line-height:22px!important;padding:4px 0 4px 6px;min-height:28px}[data-v-7c98e74e] .markdown-preview ol li input[type=checkbox],[data-v-7c98e74e] .markdown-preview ul li input[type=checkbox]{position:relative;cursor:pointer;overflow:visible;position:absolute;left:-14px;top:5px}[data-v-7c98e74e] .markdown-preview ol li input[type=checkbox]:before,[data-v-7c98e74e] .markdown-preview ul li input[type=checkbox]:before{font-family:iconfont!important;color:#999;display:block;width:18px;height:18px;position:absolute;content:"\e684";top:0px;left:-4px;z-index:999999;background-position:center;background:#fff;font-size:18px;text-align:center;line-height:18px}[data-v-7c98e74e] .markdown-preview ol li input[type=checkbox]:checked:before,[data-v-7c98e74e] .markdown-preview ul li input[type=checkbox]:checked:before{content:"\e683"}[data-v-7c98e74e] .markdown-preview ol.toc-anchor,[data-v-7c98e74e] .markdown-preview ul.toc-anchor{margin:0;padding:0}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item{cursor:pointer;padding:4px 0;font-size:13px!important;line-height:16px!important;min-height:auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span{color:#2b85e4;opacity:.9}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-2,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-2{padding-left:16px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-3,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-3{padding-left:32px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-4,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-4{padding-left:48px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-5,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-5{padding-left:64px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item:last-child,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item:last-child{padding-bottom:6px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item:hover span,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item:hover span{opacity:1}[data-v-7c98e74e] .markdown-preview ol{list-style-type:decimal;padding-left:20px}[data-v-7c98e74e] .markdown-preview ol li{list-style:decimal}[data-v-7c98e74e] .markdown-preview hr{color:#d9d9d9;height:1px;border:0;border-top:1px solid #d9d9d9;margin:20px 0;padding:0}[data-v-7c98e74e] .markdown-preview del,[data-v-7c98e74e] .markdown-preview em,[data-v-7c98e74e] .markdown-preview strong{display:inline-block}[data-v-7c98e74e] .markdown-preview blockquote{position:relative;background:#f7f7f7;padding:6px 12px;border-left:5px solid #d9d9d9;border-radius:2px;margin:8px 0}[data-v-7c98e74e] .markdown-preview h1,[data-v-7c98e74e] .markdown-preview h2,[data-v-7c98e74e] .markdown-preview h3,[data-v-7c98e74e] .markdown-preview h4,[data-v-7c98e74e] .markdown-preview h5,[data-v-7c98e74e] .markdown-preview h6{color:#262626}[data-v-7c98e74e] .markdown-preview h1{font-size:28px;border-bottom:1px solid #d9d9d9}[data-v-7c98e74e] .markdown-preview h2{font-size:24px}[data-v-7c98e74e] .markdown-preview h3{font-size:18px}[data-v-7c98e74e] .markdown-preview h4{font-size:16px}[data-v-7c98e74e] .markdown-preview h5{font-size:14px}[data-v-7c98e74e] .markdown-preview h6{font-size:12px}[data-v-7c98e74e] .markdown-preview h1,[data-v-7c98e74e] .markdown-preview h2,[data-v-7c98e74e] .markdown-preview h3,[data-v-7c98e74e] .markdown-preview h4,[data-v-7c98e74e] .markdown-preview h5,[data-v-7c98e74e] .markdown-preview h6{padding:8px 0;font-weight:600}[data-v-7c98e74e] .markdown-preview p{font-size:14px!important;color:#262626;margin-bottom:8px;line-height:22px}[data-v-7c98e74e] .markdown-preview img{display:block;max-width:100%;margin:20px 0;cursor:pointer}[data-v-7c98e74e] .markdown-preview table{width:100%;border:1px solid #d9d9d9;border-bottom:0;background:#fff;border-spacing:0;border-collapse:collapse;margin:20px 0}[data-v-7c98e74e] .markdown-preview table tr{transition:background .1s}[data-v-7c98e74e] .markdown-preview table tr td,[data-v-7c98e74e] .markdown-preview table tr th{padding:4px 8px;font-size:14px;line-height:24px;color:#333;border-bottom:1px solid #d9d9d9;cursor:pointer}[data-v-7c98e74e] .markdown-preview table th{background:#f8f8f9;text-align:left;font-weight:700}[data-v-7c98e74e] .markdown-preview table tr:nth-of-type(even) td{background:#fafafa}[data-v-7c98e74e] .markdown-preview table tr:hover td{background:#f5f5f5}[data-v-7c98e74e] .markdown-preview table td,[data-v-7c98e74e] .markdown-preview table th{border:1px solid #d9d9d9;word-break:break-all}[data-v-7c98e74e] .markdown-preview input[type=checkbox]{display:inline-block;border-radius:0;margin-right:8px}[data-v-7c98e74e] .markdown-preview a{text-decoration:none;color:#1890ff;font-size:14px;line-height:22px}[data-v-7c98e74e] .markdown-preview .code-block{position:relative;padding:0!important}[data-v-7c98e74e] .markdown-preview .code-block .copy-code{position:absolute;z-index:999;top:5px;right:10px;font-size:12px;color:#d9d9d9;line-height:20px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .3s;opacity:0}[data-v-7c98e74e] .markdown-preview .code-block .copy-code:hover{color:#1890ff}[data-v-7c98e74e] .markdown-preview .code-block:hover .copy-code{opacity:1}.preview-img[data-v-7c98e74e]{position:fixed;width:100vw;height:100vh;z-index:99999999;left:0;top:0;background:rgba(0,0,0,.5);display:none;opacity:0;transition:opacity .3s .1s;justify-content:center;align-items:center}.preview-img .close[data-v-7c98e74e]{position:absolute;right:0;top:0;color:#fff;padding:10px;font-size:20px;cursor:pointer}.preview-img img[data-v-7c98e74e]{display:block}.preview-img img.vertical[data-v-7c98e74e]{height:80%;width:auto}.preview-img img.horizontal[data-v-7c98e74e]{width:80%;height:auto}.preview-img.active[data-v-7c98e74e]{display:flex;opacity:1}[data-v-7c98e74e] .markdown-theme-light pre{font-size:14px!important;line-height:1.6!important;word-break:break-all;word-wrap:break-word;border:0!important;background:#f7f8fb!important;padding:20px 10px!important;border-radius:4px!important;overflow-y:hidden!important;overflow-x:auto!important;margin:10px 0!important}[data-v-7c98e74e] .markdown-theme-light pre code{font-family:Consolas!important;font-size:13px;line-height:22px!important;color:#444}[data-v-7c98e74e] .markdown-theme-light .hljs{display:block;overflow-x:auto;color:#525252;padding:15px;-webkit-text-size-adjust:none}[data-v-7c98e74e] .markdown-theme-light .hljs-doctype{color:#999}[data-v-7c98e74e] .markdown-theme-light .hljs-tag{color:#3e76f6}[data-v-7c98e74e] .markdown-theme-light .hljs-attribute{color:#e96900}[data-v-7c98e74e] .markdown-theme-light .hljs-value{color:#42b983}[data-v-7c98e74e] .markdown-theme-light .hljs-keyword{color:#e96900}[data-v-7c98e74e] .markdown-theme-light .hljs-string{color:#42b983}[data-v-7c98e74e] .markdown-theme-light .hljs-comment{color:#b3b3b3}[data-v-7c98e74e] .markdown-theme-light .hljs-operator .hljs-comment{color:#525252}[data-v-7c98e74e] .markdown-theme-light .hljs-regexp{color:#af7dff}[data-v-7c98e74e] .markdown-theme-light .hljs-built_in{color:#2db7f5}[data-v-7c98e74e] .markdown-theme-light .css .hljs-class{color:#e96900}[data-v-7c98e74e] .markdown-theme-light .css .hljs-number,[data-v-7c98e74e] .markdown-theme-light .javascript .hljs-number{color:#fc1e70}[data-v-7c98e74e] .markdown-theme-light .css .hljs-attribute{color:#af7dff}[data-v-7c98e74e] .markdown-theme-light .css .hljs-important{color:red}[data-v-7c98e74e] .markdown-theme-light .actionscript .hljs-literal,[data-v-7c98e74e] .markdown-theme-light .javascript .hljs-literal{color:#fc1e70}[data-v-7c98e74e] .markdown-theme-light pre{padding:0;margin:0;background:#f7f7f7!important}[data-v-7c98e74e] .markdown-theme-light code{display:inline-block;background:#f7f7f7;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;margin:0 3px;padding:1px 5px;border-radius:3px;color:#666;border:1px solid #eee}[data-v-7c98e74e] .markdown-theme-light pre code{display:inline;margin:0;padding:0;border:none;background:transparent}[data-v-7c98e74e] .markdown-theme-light pre.bg code{background:#f7f7f7}[data-v-7c98e74e] .markdown-theme-dark pre{display:block;padding:20px 10px!important;border-radius:4px;margin:20px 0!important;background:#1e1e1e;color:#dcdcdc;overflow-y:hidden!important;overflow-x:auto!important;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important}[data-v-7c98e74e] .markdown-theme-dark pre *{line-height:1.6!important;font-size:14px;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important}[data-v-7c98e74e] .markdown-theme-dark code{padding:0!important;margin:0!important}[data-v-7c98e74e] .markdown-theme-dark .hljs-literal,[data-v-7c98e74e] .markdown-theme-dark .hljs-name,[data-v-7c98e74e] .markdown-theme-dark .hljs-symbol{color:#659bd1}[data-v-7c98e74e] .markdown-theme-dark .hljs-keyword{color:#bc89bd}[data-v-7c98e74e] .markdown-theme-dark .hljs-link{color:#569cd6;text-decoration:underline}[data-v-7c98e74e] .markdown-theme-dark .hljs-built_in,[data-v-7c98e74e] .markdown-theme-dark .hljs-type{color:#4ec9b0}[data-v-7c98e74e] .markdown-theme-dark .hljs-class,[data-v-7c98e74e] .markdown-theme-dark .hljs-number{color:#b8d7a3}[data-v-7c98e74e] .markdown-theme-dark .hljs-meta-string,[data-v-7c98e74e] .markdown-theme-dark .hljs-string{color:#d69d85}[data-v-7c98e74e] .markdown-theme-dark .hljs-regexp,[data-v-7c98e74e] .markdown-theme-dark .hljs-template-tag{color:#9a5334}[data-v-7c98e74e] .markdown-theme-dark .hljs-formula,[data-v-7c98e74e] .markdown-theme-dark .hljs-function,[data-v-7c98e74e] .markdown-theme-dark .hljs-params,[data-v-7c98e74e] .markdown-theme-dark .hljs-subst,[data-v-7c98e74e] .markdown-theme-dark .hljs-title{color:#dcdcdc}[data-v-7c98e74e] .markdown-theme-dark .hljs-comment,[data-v-7c98e74e] .markdown-theme-dark .hljs-quote{color:#57a64a;font-style:italic}[data-v-7c98e74e] .markdown-theme-dark .hljs-doctag{color:#608b4e}[data-v-7c98e74e] .markdown-theme-dark .hljs-meta,[data-v-7c98e74e] .markdown-theme-dark .hljs-meta-keyword,[data-v-7c98e74e] .markdown-theme-dark .hljs-tag{color:#9b9b9b}[data-v-7c98e74e] .markdown-theme-dark .hljs-template-variable,[data-v-7c98e74e] .markdown-theme-dark .hljs-variable{color:#bd63c5}[data-v-7c98e74e] .markdown-theme-dark .hljs-attr,[data-v-7c98e74e] .markdown-theme-dark .hljs-attribute,[data-v-7c98e74e] .markdown-theme-dark .hljs-builtin-name{color:#9cdcfe}[data-v-7c98e74e] .markdown-theme-dark .hljs-section{color:gold}[data-v-7c98e74e] .markdown-theme-dark .hljs-emphasis{font-style:italic}[data-v-7c98e74e] .markdown-theme-dark .hljs-strong{font-weight:700}[data-v-7c98e74e] .markdown-theme-dark .hljs-bullet,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-attr,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-class,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-id,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-pseudo,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-tag{color:#d7ba7d}[data-v-7c98e74e] .markdown-theme-dark .hljs-addition{background-color:#144212;display:inline-block;width:100%}[data-v-7c98e74e] .markdown-theme-dark .hljs-deletion{background-color:#600;display:inline-block;width:100%}[data-v-7c98e74e] .markdown-theme-dark .hljs-comment{font-style:normal}[data-v-7c98e74e] .markdown-theme-oneDark pre{padding:20px 10px!important;display:block;color:#abb2bf;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace;background:#292c34;border-radius:4px;overflow-y:hidden!important;overflow-x:auto!important;margin:10px 0!important}[data-v-7c98e74e] .markdown-theme-oneDark pre *{line-height:1.6!important;font-size:14px;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-comment,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-quote{color:#5c6370;font-style:italic}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-doctag,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-formula,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-keyword{color:#c678dd}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-deletion,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-name,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-section,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-tag,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-subst{color:#e06c75}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-literal{color:#56b6c2}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-addition,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-attribute,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-meta-string,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-regexp,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-string{color:#98c379}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-built_in,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-class .hljs-title{color:#e6c07b}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-attr,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-number,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-attr,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-class,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-pseudo,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-template-variable,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-type,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-variable{color:#d19a66}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-bullet,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-link,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-meta,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-id,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-symbol,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-title{color:#61aeee}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-emphasis{font-style:italic}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-strong{font-weight:700}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-link{text-decoration:underline}[data-v-7c98e74e] .markdown-theme-gitHub pre{padding:20px 10px!important;display:block;overflow-x:auto;color:#333;background:#f7f8fa!important;font-size:13px;line-height:20px;border-radius:4px;margin:10px 0!important;overflow-x:auto!important}[data-v-7c98e74e] .markdown-theme-gitHub pre *{font-family:Consolas!important}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-comment,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-quote{color:#998;font-style:italic}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-selector-tag,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-subst{color:#333;font-weight:700}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-keyword{color:#d73a49}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-literal,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-number,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-tag .hljs-attr,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-template-variable,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-variable{color:teal}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-doctag,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-string{color:#d73a49}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-section,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-selector-id,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-title{color:#900;font-weight:700}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-subst{font-weight:400}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-class .hljs-title,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-type{color:#458;font-weight:700}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-attribute,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-name,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-tag{color:navy;font-weight:400}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-link,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-regexp{color:#009926}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-bullet,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-symbol{color:#990073}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-built_in,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-builtin-name{color:#0086b3}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-meta{color:#999;font-weight:700}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-deletion{background:#fdd}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-addition{background:#dfd}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-emphasis{font-style:italic}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-strong{font-weight:700}body .ivu-modal-wrap.common-preview-image-view .ivu-modal{margin:0;padding:0}body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content{background:transparent}body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content .ivu-modal-close{display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:#606266;font-size:24px;height:40px;right:40px;top:40px;width:40px}@media (max-width: 640px){body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content .ivu-modal-close{right:24px;top:24px}}body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content .ivu-modal-close .ivu-icon-ios-close{top:0;right:0;font-size:40px;color:#fff}body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content .ivu-modal-body{padding:0}body .ivu-modal-wrap.common-preview-image-swipe{display:none}.child-view[data-v-fa9693e8]{position:absolute;width:100%;min-height:100%;transition:all .3s cubic-bezier(.55,0,.1,1)}/*! + * Quill Editor v1.3.7 + * https://quilljs.com/ + * Copyright (c) 2014, Jason Chen + * Copyright (c) 2013, salesforce.com + */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;-o-tab-size:4;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-bubble.ql-toolbar:after,.ql-bubble .ql-toolbar:after{clear:both;content:"";display:table}.ql-bubble.ql-toolbar button,.ql-bubble .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-bubble.ql-toolbar button svg,.ql-bubble .ql-toolbar button svg{float:left;height:100%}.ql-bubble.ql-toolbar button:active:hover,.ql-bubble .ql-toolbar button:active:hover{outline:none}.ql-bubble.ql-toolbar input.ql-image[type=file],.ql-bubble .ql-toolbar input.ql-image[type=file]{display:none}.ql-bubble.ql-toolbar button:hover,.ql-bubble .ql-toolbar button:hover,.ql-bubble.ql-toolbar button:focus,.ql-bubble .ql-toolbar button:focus,.ql-bubble.ql-toolbar button.ql-active,.ql-bubble .ql-toolbar button.ql-active,.ql-bubble.ql-toolbar .ql-picker-label:hover,.ql-bubble .ql-toolbar .ql-picker-label:hover,.ql-bubble.ql-toolbar .ql-picker-label.ql-active,.ql-bubble .ql-toolbar .ql-picker-label.ql-active,.ql-bubble.ql-toolbar .ql-picker-item:hover,.ql-bubble .ql-toolbar .ql-picker-item:hover,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected{color:#fff}.ql-bubble.ql-toolbar button:hover .ql-fill,.ql-bubble .ql-toolbar button:hover .ql-fill,.ql-bubble.ql-toolbar button:focus .ql-fill,.ql-bubble .ql-toolbar button:focus .ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#fff}.ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#fff}@media (pointer: coarse){.ql-bubble.ql-toolbar button:hover:not(.ql-active),.ql-bubble .ql-toolbar button:hover:not(.ql-active){color:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#ccc}}.ql-bubble,.ql-bubble *{box-sizing:border-box}.ql-bubble .ql-hidden{display:none}.ql-bubble .ql-out-bottom,.ql-bubble .ql-out-top{visibility:hidden}.ql-bubble .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-bubble .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-bubble .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-bubble .ql-formats{display:inline-block;vertical-align:middle}.ql-bubble .ql-formats:after{clear:both;content:"";display:table}.ql-bubble .ql-stroke{fill:none;stroke:#ccc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-bubble .ql-stroke-miter{fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:2}.ql-bubble .ql-fill,.ql-bubble .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-empty{fill:none}.ql-bubble .ql-even{fill-rule:evenodd}.ql-bubble .ql-thin,.ql-bubble .ql-stroke.ql-thin{stroke-width:1}.ql-bubble .ql-transparent{opacity:.4}.ql-bubble .ql-direction svg:last-child{display:none}.ql-bubble .ql-direction.ql-active svg:last-child{display:inline}.ql-bubble .ql-direction.ql-active svg:first-child{display:none}.ql-bubble .ql-editor h1{font-size:2em}.ql-bubble .ql-editor h2{font-size:1.5em}.ql-bubble .ql-editor h3{font-size:1.17em}.ql-bubble .ql-editor h4{font-size:1em}.ql-bubble .ql-editor h5{font-size:.83em}.ql-bubble .ql-editor h6{font-size:.67em}.ql-bubble .ql-editor a{text-decoration:underline}.ql-bubble .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-bubble .ql-editor code,.ql-bubble .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-bubble .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-bubble .ql-editor code{font-size:85%;padding:2px 4px}.ql-bubble .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-bubble .ql-editor img{max-width:100%}.ql-bubble .ql-picker{color:#ccc;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-bubble .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-bubble .ql-picker-label:before{display:inline-block;line-height:22px}.ql-bubble .ql-picker-options{background-color:#444;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-bubble .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-bubble .ql-picker.ql-expanded .ql-picker-label{color:#777;z-index:2}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-bubble .ql-color-picker,.ql-bubble .ql-icon-picker{width:28px}.ql-bubble .ql-color-picker .ql-picker-label,.ql-bubble .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-label svg,.ql-bubble .ql-icon-picker .ql-picker-label svg{right:4px}.ql-bubble .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-bubble .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-bubble .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-bubble .ql-picker.ql-header{width:98px}.ql-bubble .ql-picker.ql-header .ql-picker-label:before,.ql-bubble .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-bubble .ql-picker.ql-font{width:108px}.ql-bubble .ql-picker.ql-font .ql-picker-label:before,.ql-bubble .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-bubble .ql-picker.ql-size{width:98px}.ql-bubble .ql-picker.ql-size .ql-picker-label:before,.ql-bubble .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-bubble .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-bubble .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-bubble .ql-toolbar .ql-formats{margin:8px 12px 8px 0}.ql-bubble .ql-toolbar .ql-formats:first-child{margin-left:12px}.ql-bubble .ql-color-picker svg{margin:1px}.ql-bubble .ql-color-picker .ql-picker-item.ql-selected,.ql-bubble .ql-color-picker .ql-picker-item:hover{border-color:#fff}.ql-bubble .ql-tooltip{background-color:#444;border-radius:25px;color:#fff}.ql-bubble .ql-tooltip-arrow{border-left:6px solid transparent;border-right:6px solid transparent;content:" ";display:block;left:50%;margin-left:-6px;position:absolute}.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow{border-bottom:6px solid #444;top:-6px}.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow{border-top:6px solid #444;bottom:-6px}.ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor{display:block}.ql-bubble .ql-tooltip.ql-editing .ql-formats{visibility:hidden}.ql-bubble .ql-tooltip-editor{display:none}.ql-bubble .ql-tooltip-editor input[type=text]{background:transparent;border:none;color:#fff;font-size:13px;height:100%;outline:none;padding:10px 20px;position:absolute;width:100%}.ql-bubble .ql-tooltip-editor a{top:10px;position:absolute;right:20px}.ql-bubble .ql-tooltip-editor a:before{color:#ccc;content:"\d7";font-size:16px;font-weight:700}.ql-container.ql-bubble:not(.ql-disabled) a{position:relative;white-space:nowrap}.ql-container.ql-bubble:not(.ql-disabled) a:before{background-color:#444;border-radius:15px;top:-5px;font-size:12px;color:#fff;content:attr(href);font-weight:400;overflow:hidden;padding:5px 15px;text-decoration:none;z-index:1}.ql-container.ql-bubble:not(.ql-disabled) a:after{border-top:6px solid #444;border-left:6px solid transparent;border-right:6px solid transparent;top:0;content:" ";height:0;width:0}.ql-container.ql-bubble:not(.ql-disabled) a:before,.ql-container.ql-bubble:not(.ql-disabled) a:after{left:0;margin-left:50%;position:absolute;transform:translate(-50%,-100%);transition:visibility 0s ease .2s;visibility:hidden}.ql-container.ql-bubble:not(.ql-disabled) a:hover:before,.ql-container.ql-bubble:not(.ql-disabled) a:hover:after{visibility:visible}.ql-mention-list-container{width:270px;border:1px solid #f0f0f0;border-radius:4px;background-color:#fff;box-shadow:0 2px 12px #1e1e1e14;z-index:9001;overflow:auto}.ql-mention-loading{line-height:44px;padding:0 20px;vertical-align:middle;font-size:16px}.ql-mention-list{list-style:none;margin:0;padding:0;overflow:hidden}.ql-mention-list-item{cursor:pointer;line-height:44px;font-size:16px;padding:0 20px;vertical-align:middle}.ql-mention-list-item.disabled{cursor:auto}.ql-mention-list-item.selected{background-color:#d3e1eb;text-decoration:none}.mention{height:24px;width:65px;border-radius:6px;background-color:#d3e1eb;padding:3px 0;margin-right:2px;-webkit-user-select:all;-moz-user-select:all;user-select:all}.mention>span{margin:0 3px}.file-icon:before{content:"";background-repeat:no-repeat;background-size:contain;background-image:url(/js/build/other.0cd5a04c.svg)}.file-icon.archive:before{background-image:url(/js/build/archive.2927c41b.svg)}.file-icon.cad:before{background-image:url(/js/build/cad.2dfbfe73.svg)}.file-icon.code:before{background-image:url(/js/build/code.1a9a4504.svg)}.file-icon.document:before{background-image:url(/js/build/document.624c4d76.svg)}.file-icon.drawio:before{background-image:url(/js/build/flow.a58ab0df.svg)}.file-icon.excel:before{background-image:url(/js/build/excel.82abb1cd.svg)}.file-icon.flow:before{background-image:url(/js/build/flow.a58ab0df.svg)}.file-icon.folder:before{background-image:url(/js/build/folder.68818161.svg)}.file-icon.folder.share:before{background-image:url(/js/build/folder-share.800b7d36.svg)}.file-icon.media:before{background-image:url(/js/build/media.7488f9a1.svg)}.file-icon.mind:before{background-image:url(/js/build/mind.9f75182d.svg)}.file-icon.ofd:before{background-image:url(/js/build/ofd.f4f94aaa.svg)}.file-icon.pdf:before{background-image:url(/js/build/pdf.74ce4683.svg)}.file-icon.picture:before{background-image:url(/js/build/picture.eff6e480.svg)}.file-icon.ppt:before{background-image:url(/js/build/ppt.03f2290d.svg)}.file-icon.sheet:before{background-image:url(/js/build/sheet.872ae91e.svg)}.file-icon.tif:before{background-image:url(/js/build/tif.7a6494bd.svg)}.file-icon.txt:before{background-image:url(/js/build/txt.acaac5b7.svg)}.file-icon.updir:before{background-image:url(/js/build/updir.354f6e04.svg)}.file-icon.upload:before{background-image:url(/js/build/upload.01661a19.svg)}.file-icon.word:before{background-image:url(/js/build/word.d0364128.svg)}.file-icon.wps:before{background-image:url(/js/build/wps.3cbc3b98.svg)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:opacity .2s linear}.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:opacity .2s linear}.el-fade-in-linear-enter,.el-fade-in-linear-leave,.el-fade-in-linear-leave-active{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all .3s cubic-bezier(.55,0,.1,1)}.el-fade-in-enter,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all .3s cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top}.el-zoom-in-top-enter,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center bottom}.el-zoom-in-bottom-enter,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:top left}.el-zoom-in-left-enter,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out}.horizontal-collapse-transition{transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter,.el-list-leave-active{opacity:0;transform:translateY(-30px)}.el-opacity-transition{transition:opacity .3s cubic-bezier(.55,0,.1,1)}@font-face{font-family:element-icons;src:url(/js/build/element-icons.ab40a589.woff) format("woff"),url(/js/build/element-icons.a30f5b3b.ttf) format("truetype");font-weight:400;font-display:"auto";font-style:normal}[class^=el-icon-],[class*=" el-icon-"]{font-family:element-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-icon-ice-cream-round:before{content:"\e6a0"}.el-icon-ice-cream-square:before{content:"\e6a3"}.el-icon-lollipop:before{content:"\e6a4"}.el-icon-potato-strips:before{content:"\e6a5"}.el-icon-milk-tea:before{content:"\e6a6"}.el-icon-ice-drink:before{content:"\e6a7"}.el-icon-ice-tea:before{content:"\e6a9"}.el-icon-coffee:before{content:"\e6aa"}.el-icon-orange:before{content:"\e6ab"}.el-icon-pear:before{content:"\e6ac"}.el-icon-apple:before{content:"\e6ad"}.el-icon-cherry:before{content:"\e6ae"}.el-icon-watermelon:before{content:"\e6af"}.el-icon-grape:before{content:"\e6b0"}.el-icon-refrigerator:before{content:"\e6b1"}.el-icon-goblet-square-full:before{content:"\e6b2"}.el-icon-goblet-square:before{content:"\e6b3"}.el-icon-goblet-full:before{content:"\e6b4"}.el-icon-goblet:before{content:"\e6b5"}.el-icon-cold-drink:before{content:"\e6b6"}.el-icon-coffee-cup:before{content:"\e6b8"}.el-icon-water-cup:before{content:"\e6b9"}.el-icon-hot-water:before{content:"\e6ba"}.el-icon-ice-cream:before{content:"\e6bb"}.el-icon-dessert:before{content:"\e6bc"}.el-icon-sugar:before{content:"\e6bd"}.el-icon-tableware:before{content:"\e6be"}.el-icon-burger:before{content:"\e6bf"}.el-icon-knife-fork:before{content:"\e6c1"}.el-icon-fork-spoon:before{content:"\e6c2"}.el-icon-chicken:before{content:"\e6c3"}.el-icon-food:before{content:"\e6c4"}.el-icon-dish-1:before{content:"\e6c5"}.el-icon-dish:before{content:"\e6c6"}.el-icon-moon-night:before{content:"\e6ee"}.el-icon-moon:before{content:"\e6f0"}.el-icon-cloudy-and-sunny:before{content:"\e6f1"}.el-icon-partly-cloudy:before{content:"\e6f2"}.el-icon-cloudy:before{content:"\e6f3"}.el-icon-sunny:before{content:"\e6f6"}.el-icon-sunset:before{content:"\e6f7"}.el-icon-sunrise-1:before{content:"\e6f8"}.el-icon-sunrise:before{content:"\e6f9"}.el-icon-heavy-rain:before{content:"\e6fa"}.el-icon-lightning:before{content:"\e6fb"}.el-icon-light-rain:before{content:"\e6fc"}.el-icon-wind-power:before{content:"\e6fd"}.el-icon-baseball:before{content:"\e712"}.el-icon-soccer:before{content:"\e713"}.el-icon-football:before{content:"\e715"}.el-icon-basketball:before{content:"\e716"}.el-icon-ship:before{content:"\e73f"}.el-icon-truck:before{content:"\e740"}.el-icon-bicycle:before{content:"\e741"}.el-icon-mobile-phone:before{content:"\e6d3"}.el-icon-service:before{content:"\e6d4"}.el-icon-key:before{content:"\e6e2"}.el-icon-unlock:before{content:"\e6e4"}.el-icon-lock:before{content:"\e6e5"}.el-icon-watch:before{content:"\e6fe"}.el-icon-watch-1:before{content:"\e6ff"}.el-icon-timer:before{content:"\e702"}.el-icon-alarm-clock:before{content:"\e703"}.el-icon-map-location:before{content:"\e704"}.el-icon-delete-location:before{content:"\e705"}.el-icon-add-location:before{content:"\e706"}.el-icon-location-information:before{content:"\e707"}.el-icon-location-outline:before{content:"\e708"}.el-icon-location:before{content:"\e79e"}.el-icon-place:before{content:"\e709"}.el-icon-discover:before{content:"\e70a"}.el-icon-first-aid-kit:before{content:"\e70b"}.el-icon-trophy-1:before{content:"\e70c"}.el-icon-trophy:before{content:"\e70d"}.el-icon-medal:before{content:"\e70e"}.el-icon-medal-1:before{content:"\e70f"}.el-icon-stopwatch:before{content:"\e710"}.el-icon-mic:before{content:"\e711"}.el-icon-copy-document:before{content:"\e718"}.el-icon-full-screen:before{content:"\e719"}.el-icon-switch-button:before{content:"\e71b"}.el-icon-aim:before{content:"\e71c"}.el-icon-crop:before{content:"\e71d"}.el-icon-odometer:before{content:"\e71e"}.el-icon-time:before{content:"\e71f"}.el-icon-bangzhu:before{content:"\e724"}.el-icon-close-notification:before{content:"\e726"}.el-icon-microphone:before{content:"\e727"}.el-icon-turn-off-microphone:before{content:"\e728"}.el-icon-position:before{content:"\e729"}.el-icon-postcard:before{content:"\e72a"}.el-icon-message:before{content:"\e72b"}.el-icon-chat-line-square:before{content:"\e72d"}.el-icon-chat-dot-square:before{content:"\e72e"}.el-icon-chat-dot-round:before{content:"\e72f"}.el-icon-chat-square:before{content:"\e730"}.el-icon-chat-line-round:before{content:"\e731"}.el-icon-chat-round:before{content:"\e732"}.el-icon-set-up:before{content:"\e733"}.el-icon-turn-off:before{content:"\e734"}.el-icon-open:before{content:"\e735"}.el-icon-connection:before{content:"\e736"}.el-icon-link:before{content:"\e737"}.el-icon-cpu:before{content:"\e738"}.el-icon-thumb:before{content:"\e739"}.el-icon-female:before{content:"\e73a"}.el-icon-male:before{content:"\e73b"}.el-icon-guide:before{content:"\e73c"}.el-icon-news:before{content:"\e73e"}.el-icon-price-tag:before{content:"\e744"}.el-icon-discount:before{content:"\e745"}.el-icon-wallet:before{content:"\e747"}.el-icon-coin:before{content:"\e748"}.el-icon-money:before{content:"\e749"}.el-icon-bank-card:before{content:"\e74a"}.el-icon-box:before{content:"\e74b"}.el-icon-present:before{content:"\e74c"}.el-icon-sell:before{content:"\e6d5"}.el-icon-sold-out:before{content:"\e6d6"}.el-icon-shopping-bag-2:before{content:"\e74d"}.el-icon-shopping-bag-1:before{content:"\e74e"}.el-icon-shopping-cart-2:before{content:"\e74f"}.el-icon-shopping-cart-1:before{content:"\e750"}.el-icon-shopping-cart-full:before{content:"\e751"}.el-icon-smoking:before{content:"\e752"}.el-icon-no-smoking:before{content:"\e753"}.el-icon-house:before{content:"\e754"}.el-icon-table-lamp:before{content:"\e755"}.el-icon-school:before{content:"\e756"}.el-icon-office-building:before{content:"\e757"}.el-icon-toilet-paper:before{content:"\e758"}.el-icon-notebook-2:before{content:"\e759"}.el-icon-notebook-1:before{content:"\e75a"}.el-icon-files:before{content:"\e75b"}.el-icon-collection:before{content:"\e75c"}.el-icon-receiving:before{content:"\e75d"}.el-icon-suitcase-1:before{content:"\e760"}.el-icon-suitcase:before{content:"\e761"}.el-icon-film:before{content:"\e763"}.el-icon-collection-tag:before{content:"\e765"}.el-icon-data-analysis:before{content:"\e766"}.el-icon-pie-chart:before{content:"\e767"}.el-icon-data-board:before{content:"\e768"}.el-icon-data-line:before{content:"\e76d"}.el-icon-reading:before{content:"\e769"}.el-icon-magic-stick:before{content:"\e76a"}.el-icon-coordinate:before{content:"\e76b"}.el-icon-mouse:before{content:"\e76c"}.el-icon-brush:before{content:"\e76e"}.el-icon-headset:before{content:"\e76f"}.el-icon-umbrella:before{content:"\e770"}.el-icon-scissors:before{content:"\e771"}.el-icon-mobile:before{content:"\e773"}.el-icon-attract:before{content:"\e774"}.el-icon-monitor:before{content:"\e775"}.el-icon-search:before{content:"\e778"}.el-icon-takeaway-box:before{content:"\e77a"}.el-icon-paperclip:before{content:"\e77d"}.el-icon-printer:before{content:"\e77e"}.el-icon-document-add:before{content:"\e782"}.el-icon-document:before{content:"\e785"}.el-icon-document-checked:before{content:"\e786"}.el-icon-document-copy:before{content:"\e787"}.el-icon-document-delete:before{content:"\e788"}.el-icon-document-remove:before{content:"\e789"}.el-icon-tickets:before{content:"\e78b"}.el-icon-folder-checked:before{content:"\e77f"}.el-icon-folder-delete:before{content:"\e780"}.el-icon-folder-remove:before{content:"\e781"}.el-icon-folder-add:before{content:"\e783"}.el-icon-folder-opened:before{content:"\e784"}.el-icon-folder:before{content:"\e78a"}.el-icon-edit-outline:before{content:"\e764"}.el-icon-edit:before{content:"\e78c"}.el-icon-date:before{content:"\e78e"}.el-icon-c-scale-to-original:before{content:"\e7c6"}.el-icon-view:before{content:"\e6ce"}.el-icon-loading:before{content:"\e6cf"}.el-icon-rank:before{content:"\e6d1"}.el-icon-sort-down:before{content:"\e7c4"}.el-icon-sort-up:before{content:"\e7c5"}.el-icon-sort:before{content:"\e6d2"}.el-icon-finished:before{content:"\e6cd"}.el-icon-refresh-left:before{content:"\e6c7"}.el-icon-refresh-right:before{content:"\e6c8"}.el-icon-refresh:before{content:"\e6d0"}.el-icon-video-play:before{content:"\e7c0"}.el-icon-video-pause:before{content:"\e7c1"}.el-icon-d-arrow-right:before{content:"\e6dc"}.el-icon-d-arrow-left:before{content:"\e6dd"}.el-icon-arrow-up:before{content:"\e6e1"}.el-icon-arrow-down:before{content:"\e6df"}.el-icon-arrow-right:before{content:"\e6e0"}.el-icon-arrow-left:before{content:"\e6de"}.el-icon-top-right:before{content:"\e6e7"}.el-icon-top-left:before{content:"\e6e8"}.el-icon-top:before{content:"\e6e6"}.el-icon-bottom:before{content:"\e6eb"}.el-icon-right:before{content:"\e6e9"}.el-icon-back:before{content:"\e6ea"}.el-icon-bottom-right:before{content:"\e6ec"}.el-icon-bottom-left:before{content:"\e6ed"}.el-icon-caret-top:before{content:"\e78f"}.el-icon-caret-bottom:before{content:"\e790"}.el-icon-caret-right:before{content:"\e791"}.el-icon-caret-left:before{content:"\e792"}.el-icon-d-caret:before{content:"\e79a"}.el-icon-share:before{content:"\e793"}.el-icon-menu:before{content:"\e798"}.el-icon-s-grid:before{content:"\e7a6"}.el-icon-s-check:before{content:"\e7a7"}.el-icon-s-data:before{content:"\e7a8"}.el-icon-s-opportunity:before{content:"\e7aa"}.el-icon-s-custom:before{content:"\e7ab"}.el-icon-s-claim:before{content:"\e7ad"}.el-icon-s-finance:before{content:"\e7ae"}.el-icon-s-comment:before{content:"\e7af"}.el-icon-s-flag:before{content:"\e7b0"}.el-icon-s-marketing:before{content:"\e7b1"}.el-icon-s-shop:before{content:"\e7b4"}.el-icon-s-open:before{content:"\e7b5"}.el-icon-s-management:before{content:"\e7b6"}.el-icon-s-ticket:before{content:"\e7b7"}.el-icon-s-release:before{content:"\e7b8"}.el-icon-s-home:before{content:"\e7b9"}.el-icon-s-promotion:before{content:"\e7ba"}.el-icon-s-operation:before{content:"\e7bb"}.el-icon-s-unfold:before{content:"\e7bc"}.el-icon-s-fold:before{content:"\e7a9"}.el-icon-s-platform:before{content:"\e7bd"}.el-icon-s-order:before{content:"\e7be"}.el-icon-s-cooperation:before{content:"\e7bf"}.el-icon-bell:before{content:"\e725"}.el-icon-message-solid:before{content:"\e799"}.el-icon-video-camera:before{content:"\e772"}.el-icon-video-camera-solid:before{content:"\e796"}.el-icon-camera:before{content:"\e779"}.el-icon-camera-solid:before{content:"\e79b"}.el-icon-download:before{content:"\e77c"}.el-icon-upload2:before{content:"\e77b"}.el-icon-upload:before{content:"\e7c3"}.el-icon-picture-outline-round:before{content:"\e75f"}.el-icon-picture-outline:before{content:"\e75e"}.el-icon-picture:before{content:"\e79f"}.el-icon-close:before{content:"\e6db"}.el-icon-check:before{content:"\e6da"}.el-icon-plus:before{content:"\e6d9"}.el-icon-minus:before{content:"\e6d8"}.el-icon-help:before{content:"\e73d"}.el-icon-s-help:before{content:"\e7b3"}.el-icon-circle-close:before{content:"\e78d"}.el-icon-circle-check:before{content:"\e720"}.el-icon-circle-plus-outline:before{content:"\e723"}.el-icon-remove-outline:before{content:"\e722"}.el-icon-zoom-out:before{content:"\e776"}.el-icon-zoom-in:before{content:"\e777"}.el-icon-error:before{content:"\e79d"}.el-icon-success:before{content:"\e79c"}.el-icon-circle-plus:before{content:"\e7a0"}.el-icon-remove:before{content:"\e7a2"}.el-icon-info:before{content:"\e7a1"}.el-icon-question:before{content:"\e7a4"}.el-icon-warning-outline:before{content:"\e6c9"}.el-icon-warning:before{content:"\e7a3"}.el-icon-goods:before{content:"\e7c2"}.el-icon-s-goods:before{content:"\e7b2"}.el-icon-star-off:before{content:"\e717"}.el-icon-star-on:before{content:"\e797"}.el-icon-more-outline:before{content:"\e6cc"}.el-icon-more:before{content:"\e794"}.el-icon-phone-outline:before{content:"\e6cb"}.el-icon-phone:before{content:"\e795"}.el-icon-user:before{content:"\e6e3"}.el-icon-user-solid:before{content:"\e7a5"}.el-icon-setting:before{content:"\e6ca"}.el-icon-s-tools:before{content:"\e7ac"}.el-icon-delete:before{content:"\e6d7"}.el-icon-delete-solid:before{content:"\e7c9"}.el-icon-eleme:before{content:"\e7c7"}.el-icon-platform-eleme:before{content:"\e7ca"}.el-icon-loading{animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-avatar{display:inline-block;box-sizing:border-box;text-align:center;overflow:hidden;color:#fff;background:#C0C4CC;width:40px;height:40px;line-height:40px;font-size:14px}.el-avatar>img{display:block;height:100%;vertical-align:middle}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:4px}.el-avatar--icon{font-size:18px}.el-avatar--large{width:40px;height:40px;line-height:40px}.el-avatar--medium{width:36px;height:36px;line-height:36px}.el-avatar--small{width:28px;height:28px;line-height:28px}.el-tooltip:focus:not(.focusing),.el-tooltip:focus:hover{outline-width:0}.el-tooltip__popper{position:absolute;border-radius:4px;padding:10px;z-index:2000;font-size:14px;line-height:1.2;min-width:10px;word-wrap:break-word}.el-tooltip__popper .popper__arrow,.el-tooltip__popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-tooltip__popper .popper__arrow{border-width:6px}.el-tooltip__popper .popper__arrow:after{content:" ";border-width:5px}.el-tooltip__popper[x-placement^=top]{margin-bottom:12px}.el-tooltip__popper[x-placement^=top] .popper__arrow{bottom:-6px;border-top-color:#585e6a;border-bottom-width:0}.el-tooltip__popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-5px;border-top-color:#585e6a;border-bottom-width:0}.el-tooltip__popper[x-placement^=bottom]{margin-top:12px}.el-tooltip__popper[x-placement^=bottom] .popper__arrow{top:-6px;border-top-width:0;border-bottom-color:#585e6a}.el-tooltip__popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-5px;border-top-width:0;border-bottom-color:#585e6a}.el-tooltip__popper[x-placement^=right]{margin-left:12px}.el-tooltip__popper[x-placement^=right] .popper__arrow{left:-6px;border-right-color:#585e6a;border-left-width:0}.el-tooltip__popper[x-placement^=right] .popper__arrow:after{bottom:-5px;left:1px;border-right-color:#585e6a;border-left-width:0}.el-tooltip__popper[x-placement^=left]{margin-right:12px}.el-tooltip__popper[x-placement^=left] .popper__arrow{right:-6px;border-right-width:0;border-left-color:#585e6a}.el-tooltip__popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-5px;margin-left:-5px;border-right-width:0;border-left-color:#585e6a}.el-tooltip__popper.is-dark{background:#585E6A;color:#fff}.el-tooltip__popper.is-light{background:#FFFFFF;border:1px solid #585E6A}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow{border-top-color:#585e6a}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow:after{border-top-color:#fff}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow{border-bottom-color:#585e6a}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#fff}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow{border-left-color:#585e6a}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow:after{border-left-color:#fff}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow{border-right-color:#585e6a}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow:after{border-right-color:#fff}.el-popper .popper__arrow,.el-popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-popper .popper__arrow{border-width:6px;filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.el-popper .popper__arrow:after{content:" ";border-width:6px}.el-popper[x-placement^=top]{margin-bottom:12px}.el-popper[x-placement^=top] .popper__arrow{bottom:-6px;left:50%;margin-right:3px;border-top-color:#ebeef5;border-bottom-width:0}.el-popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.el-popper[x-placement^=bottom]{margin-top:12px}.el-popper[x-placement^=bottom] .popper__arrow{top:-6px;left:50%;margin-right:3px;border-top-width:0;border-bottom-color:#ebeef5}.el-popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.el-popper[x-placement^=right]{margin-left:12px}.el-popper[x-placement^=right] .popper__arrow{top:50%;left:-6px;margin-bottom:3px;border-right-color:#ebeef5;border-left-width:0}.el-popper[x-placement^=right] .popper__arrow:after{bottom:-6px;left:1px;border-right-color:#fff;border-left-width:0}.el-popper[x-placement^=left]{margin-right:12px}.el-popper[x-placement^=left] .popper__arrow{top:50%;right:-6px;margin-bottom:3px;border-right-width:0;border-left-color:#ebeef5}.el-popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-6px;margin-left:-6px;border-right-width:0;border-left-color:#fff}.el-popover{position:absolute;background:#FFFFFF;min-width:150px;border-radius:4px;border:1px solid #EBEEF5;padding:12px;z-index:2000;color:#606266;line-height:1.4;text-align:justify;font-size:14px;box-shadow:0 2px 12px #0000001a;word-break:break-all}.el-popover--plain{padding:18px 20px}.el-popover__title{color:#303133;font-size:16px;line-height:1;margin-bottom:12px}.el-popover__reference:focus:not(.focusing),.el-popover__reference:focus:hover{outline-width:0}.el-popover:focus:active,.el-popover:focus{outline-width:0}.el-button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#FFFFFF;border:1px solid #DCDFE6;border-color:#dcdfe6;color:#606266;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:none;margin:0;transition:.1s;font-weight:500;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:12px 20px;font-size:14px;border-radius:4px}.el-button+.el-button{margin-left:10px}.el-button.is-round{padding:12px 20px}.el-button:hover,.el-button:focus{color:#409eff;border-color:#c6e2ff;background-color:#ecf5ff}.el-button:active{color:#3a8ee6;border-color:#3a8ee6;outline:none}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon-]+span{margin-left:5px}.el-button.is-plain:hover,.el-button.is-plain:focus{background:#FFFFFF;border-color:#409eff;color:#409eff}.el-button.is-plain:active{background:#FFFFFF;border-color:#3a8ee6;color:#3a8ee6;outline:none}.el-button.is-active{color:#3a8ee6;border-color:#3a8ee6}.el-button.is-disabled,.el-button.is-disabled:hover,.el-button.is-disabled:focus{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5}.el-button.is-disabled.el-button--text{background-color:transparent}.el-button.is-disabled.is-plain,.el-button.is-disabled.is-plain:hover,.el-button.is-disabled.is-plain:focus{background-color:#fff;border-color:#ebeef5;color:#c0c4cc}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:#ffffff59}.el-button.is-round{border-radius:20px;padding:12px 23px}.el-button.is-circle{border-radius:50%;padding:12px}.el-button--primary{color:#fff;background-color:#409eff;border-color:#409eff}.el-button--primary:hover,.el-button--primary:focus{background:#66b1ff;border-color:#66b1ff;color:#fff}.el-button--primary:active{background:#3a8ee6;border-color:#3a8ee6;color:#fff;outline:none}.el-button--primary.is-active{background:#3a8ee6;border-color:#3a8ee6;color:#fff}.el-button--primary.is-disabled,.el-button--primary.is-disabled:hover,.el-button--primary.is-disabled:focus,.el-button--primary.is-disabled:active{color:#fff;background-color:#a0cfff;border-color:#a0cfff}.el-button--primary.is-plain{color:#409eff;background:#ecf5ff;border-color:#b3d8ff}.el-button--primary.is-plain:hover,.el-button--primary.is-plain:focus{background:#409EFF;border-color:#409eff;color:#fff}.el-button--primary.is-plain:active{background:#3a8ee6;border-color:#3a8ee6;color:#fff;outline:none}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:active{color:#8cc5ff;background-color:#ecf5ff;border-color:#d9ecff}.el-button--success{color:#fff;background-color:#67c23a;border-color:#67c23a}.el-button--success:hover,.el-button--success:focus{background:#85ce61;border-color:#85ce61;color:#fff}.el-button--success:active{background:#5daf34;border-color:#5daf34;color:#fff;outline:none}.el-button--success.is-active{background:#5daf34;border-color:#5daf34;color:#fff}.el-button--success.is-disabled,.el-button--success.is-disabled:hover,.el-button--success.is-disabled:focus,.el-button--success.is-disabled:active{color:#fff;background-color:#b3e19d;border-color:#b3e19d}.el-button--success.is-plain{color:#67c23a;background:#f0f9eb;border-color:#c2e7b0}.el-button--success.is-plain:hover,.el-button--success.is-plain:focus{background:#67C23A;border-color:#67c23a;color:#fff}.el-button--success.is-plain:active{background:#5daf34;border-color:#5daf34;color:#fff;outline:none}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:active{color:#a4da89;background-color:#f0f9eb;border-color:#e1f3d8}.el-button--warning{color:#fff;background-color:#e6a23c;border-color:#e6a23c}.el-button--warning:hover,.el-button--warning:focus{background:#ebb563;border-color:#ebb563;color:#fff}.el-button--warning:active{background:#cf9236;border-color:#cf9236;color:#fff;outline:none}.el-button--warning.is-active{background:#cf9236;border-color:#cf9236;color:#fff}.el-button--warning.is-disabled,.el-button--warning.is-disabled:hover,.el-button--warning.is-disabled:focus,.el-button--warning.is-disabled:active{color:#fff;background-color:#f3d19e;border-color:#f3d19e}.el-button--warning.is-plain{color:#e6a23c;background:#fdf6ec;border-color:#f5dab1}.el-button--warning.is-plain:hover,.el-button--warning.is-plain:focus{background:#E6A23C;border-color:#e6a23c;color:#fff}.el-button--warning.is-plain:active{background:#cf9236;border-color:#cf9236;color:#fff;outline:none}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:active{color:#f0c78a;background-color:#fdf6ec;border-color:#faecd8}.el-button--danger{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.el-button--danger:hover,.el-button--danger:focus{background:#f78989;border-color:#f78989;color:#fff}.el-button--danger:active{background:#dd6161;border-color:#dd6161;color:#fff;outline:none}.el-button--danger.is-active{background:#dd6161;border-color:#dd6161;color:#fff}.el-button--danger.is-disabled,.el-button--danger.is-disabled:hover,.el-button--danger.is-disabled:focus,.el-button--danger.is-disabled:active{color:#fff;background-color:#fab6b6;border-color:#fab6b6}.el-button--danger.is-plain{color:#f56c6c;background:#fef0f0;border-color:#fbc4c4}.el-button--danger.is-plain:hover,.el-button--danger.is-plain:focus{background:#F56C6C;border-color:#f56c6c;color:#fff}.el-button--danger.is-plain:active{background:#dd6161;border-color:#dd6161;color:#fff;outline:none}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:active{color:#f9a7a7;background-color:#fef0f0;border-color:#fde2e2}.el-button--info{color:#fff;background-color:#909399;border-color:#909399}.el-button--info:hover,.el-button--info:focus{background:#a6a9ad;border-color:#a6a9ad;color:#fff}.el-button--info:active{background:#82848a;border-color:#82848a;color:#fff;outline:none}.el-button--info.is-active{background:#82848a;border-color:#82848a;color:#fff}.el-button--info.is-disabled,.el-button--info.is-disabled:hover,.el-button--info.is-disabled:focus,.el-button--info.is-disabled:active{color:#fff;background-color:#c8c9cc;border-color:#c8c9cc}.el-button--info.is-plain{color:#909399;background:#f4f4f5;border-color:#d3d4d6}.el-button--info.is-plain:hover,.el-button--info.is-plain:focus{background:#909399;border-color:#909399;color:#fff}.el-button--info.is-plain:active{background:#82848a;border-color:#82848a;color:#fff;outline:none}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:active{color:#bcbec2;background-color:#f4f4f5;border-color:#e9e9eb}.el-button--medium{padding:10px 20px;font-size:14px;border-radius:4px}.el-button--medium.is-round{padding:10px 20px}.el-button--medium.is-circle{padding:10px}.el-button--small{padding:9px 15px;font-size:12px;border-radius:3px}.el-button--small.is-round{padding:9px 15px}.el-button--small.is-circle{padding:9px}.el-button--mini{padding:7px 15px;font-size:12px;border-radius:3px}.el-button--mini.is-round{padding:7px 15px}.el-button--mini.is-circle{padding:7px}.el-button--text{border-color:transparent;color:#409eff;background:transparent;padding-left:0;padding-right:0}.el-button--text:hover,.el-button--text:focus{color:#66b1ff;border-color:transparent;background-color:transparent}.el-button--text:active{color:#3a8ee6;border-color:transparent;background-color:transparent}.el-button--text.is-disabled,.el-button--text.is-disabled:hover,.el-button--text.is-disabled:focus{border-color:transparent}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:before,.el-button-group:after{display:table;content:""}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button.is-disabled{z-index:1}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-radius:4px}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:20px}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button:not(.is-disabled):hover,.el-button-group>.el-button:not(.is-disabled):focus,.el-button-group>.el-button:not(.is-disabled):active{z-index:1}.el-button-group>.el-button.is-active{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0;border-left-color:#ffffff80}.el-button-group .el-button--primary:first-child{border-right-color:#ffffff80}.el-button-group .el-button--primary:last-child{border-left-color:#ffffff80}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:#ffffff80;border-right-color:#ffffff80}.el-button-group .el-button--success:first-child{border-right-color:#ffffff80}.el-button-group .el-button--success:last-child{border-left-color:#ffffff80}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:#ffffff80;border-right-color:#ffffff80}.el-button-group .el-button--warning:first-child{border-right-color:#ffffff80}.el-button-group .el-button--warning:last-child{border-left-color:#ffffff80}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:#ffffff80;border-right-color:#ffffff80}.el-button-group .el-button--danger:first-child{border-right-color:#ffffff80}.el-button-group .el-button--danger:last-child{border-left-color:#ffffff80}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:#ffffff80;border-right-color:#ffffff80}.el-button-group .el-button--info:first-child{border-right-color:#ffffff80}.el-button-group .el-button--info:last-child{border-left-color:#ffffff80}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:#ffffff80;border-right-color:#ffffff80}.el-popper .popper__arrow,.el-popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-popper .popper__arrow{border-width:6px;filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.el-popper .popper__arrow:after{content:" ";border-width:6px}.el-popper[x-placement^=top]{margin-bottom:12px}.el-popper[x-placement^=top] .popper__arrow{bottom:-6px;left:50%;margin-right:3px;border-top-color:#ebeef5;border-bottom-width:0}.el-popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.el-popper[x-placement^=bottom]{margin-top:12px}.el-popper[x-placement^=bottom] .popper__arrow{top:-6px;left:50%;margin-right:3px;border-top-width:0;border-bottom-color:#ebeef5}.el-popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.el-popper[x-placement^=right]{margin-left:12px}.el-popper[x-placement^=right] .popper__arrow{top:50%;left:-6px;margin-bottom:3px;border-right-color:#ebeef5;border-left-width:0}.el-popper[x-placement^=right] .popper__arrow:after{bottom:-6px;left:1px;border-right-color:#fff;border-left-width:0}.el-popper[x-placement^=left]{margin-right:12px}.el-popper[x-placement^=left] .popper__arrow{top:50%;right:-6px;margin-bottom:3px;border-right-width:0;border-left-color:#ebeef5}.el-popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-6px;margin-left:-6px;border-right-width:0;border-left-color:#fff}.el-dropdown{display:inline-block;position:relative;color:#606266;font-size:14px}.el-dropdown .el-button-group{display:block}.el-dropdown .el-button-group .el-button{float:none}.el-dropdown .el-dropdown__caret-button{padding-left:5px;padding-right:5px;position:relative;border-left:none}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:5px;bottom:5px;left:0;background:rgba(255,255,255,.5)}.el-dropdown .el-dropdown__caret-button.el-button--default:before{background:rgba(220,223,230,.5)}.el-dropdown .el-dropdown__caret-button:hover:not(.is-disabled):before{top:0;bottom:0}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{padding-left:0}.el-dropdown__icon{font-size:12px;margin:0 3px}.el-dropdown .el-dropdown-selfdefine:focus:active,.el-dropdown .el-dropdown-selfdefine:focus:not(.focusing){outline-width:0}.el-dropdown [disabled]{cursor:not-allowed;color:#bbb}.el-dropdown-menu{position:absolute;top:0;left:0;z-index:10;padding:10px 0;margin:5px 0;background-color:#fff;border:1px solid #EBEEF5;border-radius:4px;box-shadow:0 2px 12px #0000001a}.el-dropdown-menu__item{list-style:none;line-height:36px;padding:0 20px;margin:0;font-size:14px;color:#606266;cursor:pointer;outline:none}.el-dropdown-menu__item:not(.is-disabled):hover,.el-dropdown-menu__item:focus{background-color:#f4f5f7;color:#606266}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{position:relative;margin-top:6px;border-top:1px solid #EBEEF5}.el-dropdown-menu__item--divided:before{content:"";height:6px;display:block;margin:0 -20px;background-color:#fff}.el-dropdown-menu__item.is-disabled{cursor:default;color:#bbb;pointer-events:none}.el-dropdown-menu--medium{padding:6px 0}.el-dropdown-menu--medium .el-dropdown-menu__item{line-height:30px;padding:0 17px;font-size:14px}.el-dropdown-menu--medium .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:6px}.el-dropdown-menu--medium .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:6px;margin:0 -17px}.el-dropdown-menu--small{padding:6px 0}.el-dropdown-menu--small .el-dropdown-menu__item{line-height:27px;padding:0 15px;font-size:13px}.el-dropdown-menu--small .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:4px}.el-dropdown-menu--small .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:4px;margin:0 -15px}.el-dropdown-menu--mini{padding:3px 0}.el-dropdown-menu--mini .el-dropdown-menu__item{line-height:24px;padding:0 10px;font-size:12px}.el-dropdown-menu--mini .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:3px}.el-dropdown-menu--mini .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:3px;margin:0 -10px}.el-notification{display:flex;width:330px;padding:14px 26px 14px 13px;border-radius:8px;box-sizing:border-box;border:1px solid #EBEEF5;position:fixed;background-color:#fff;box-shadow:0 2px 12px #0000001a;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;overflow:hidden}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:13px;margin-right:8px}.el-notification__title{font-weight:700;font-size:16px;color:#303133;margin:0}.el-notification__content{font-size:14px;line-height:21px;margin:6px 0 0;color:#606266;text-align:justify}.el-notification__content p{margin:0}.el-notification__icon{height:24px;width:24px;font-size:24px}.el-notification__closeBtn{position:absolute;top:18px;right:15px;cursor:pointer;color:#909399;font-size:16px}.el-notification__closeBtn:hover{color:#606266}.el-notification .el-icon-success{color:#67c23a}.el-notification .el-icon-error{color:#f56c6c}.el-notification .el-icon-info{color:#909399}.el-notification .el-icon-warning{color:#e6a23c}.el-notification-fade-enter.right{right:0;transform:translate(100%)}.el-notification-fade-enter.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-active{opacity:0}.el-dropdown-menu{-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-dropdown-menu__item{min-width:100px}.el-dropdown-menu__item .item.red{color:red!important}.el-dropdown-menu__item .item.red>i{color:red!important}.el-dropdown-menu__item--divided:before{height:5px}.el-tooltip__popper.is-light{border-width:0;box-shadow:0 1px 6px #0003}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow{border-top-color:#d9d9d980}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow{border-bottom-color:#d9d9d980}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow{border-left-color:#d9d9d980}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow{border-right-color:#d9d9d980}.el-popover{border-width:0;box-shadow:0 1px 6px #0003}@font-face{font-family:zenicon;src:url(/js/build/zenicon.4baf444f.woff2) format("woff2")}.ft.icon{font-family:zenicon,serif;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;text-rendering:auto;transform:scale(1.2);transform-origin:50% 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;direction:ltr;-webkit-font-feature-settings:"liga";padding-left:1px}.ft+.el-el-button,.ft+.ft,.ft+.z-confirm,.ft+.z-execute,.ft+.z-link,.ft+a{margin-left:.6rem}.ft.l12{margin-left:12px}.ft.r12{margin-right:12px}.ft.hover{cursor:pointer}.ft.hover:hover{color:#0285d7}.ft.dark{color:#0d0d0d}.ft.gray{color:#666}.ft.yellow{color:#f90}.ft.red{color:#ed3f14}.ft.green{color:#19be6b}.ft.blue{color:#2d8cf0}.ft.center{text-align:center}.ft.right{text-align:right}.ft.bold{font-weight:700}.ft.underline{text-decoration:underline}.ft.through{text-decoration:line-through}.ft.italic{font-style:italic}.ft.cursor{cursor:pointer}.ft.h1{font-size:1.3rem}.ft.h2{font-size:1.2rem}.ft.h3{font-size:1.1rem}.ft.h4{font-size:.9rem}.ft.h5{font-size:.8rem}@font-face{font-family:taskfont;src:url(/js/build/iconfont.a27ccbf5.woff2) format("woff2"),url(/js/build/iconfont.7507c100.woff) format("woff"),url(/js/build/iconfont.ecc7f067.ttf) format("truetype")}.taskfont{font-family:taskfont,"serif"!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.scrollbar-container{flex:1;height:100%;position:relative;overflow:hidden}.scrollbar-container.scrollbar-touch .scrollbar-track-x,.scrollbar-container.scrollbar-touch .scrollbar-track-y{display:none}.scrollbar-container.scrollbar-desktop .scrollbar-content::-webkit-scrollbar,.scrollbar-container.scrollbar-hidebar .scrollbar-content::-webkit-scrollbar{display:none;width:0;height:0}.scrollbar-container.scrollbar-hidebar .scrollbar-track-x,.scrollbar-container.scrollbar-hidebar .scrollbar-track-y{opacity:0!important}.scrollbar-container .scrollbar-track-x,.scrollbar-container .scrollbar-track-y{position:absolute;z-index:101;display:block;visibility:hidden;opacity:0;transition:background-color .2s linear,opacity .2s linear}.scrollbar-container .scrollbar-track-x{left:0;right:0;bottom:0;height:15px}.scrollbar-container .scrollbar-track-y{top:0;right:0;bottom:0;width:15px}.scrollbar-container.scrollbar-active-x .scrollbar-track-x,.scrollbar-container.scrollbar-active-y .scrollbar-track-y{visibility:visible;background-color:transparent}.scrollbar-container:hover>.scrollbar-track-x,.scrollbar-container:hover>.scrollbar-track-y,.scrollbar-container.scrollbar-scrolling-x .scrollbar-track-x,.scrollbar-container.scrollbar-scrolling-y .scrollbar-track-y{opacity:.6}.scrollbar-container .scrollbar-track-x:hover,.scrollbar-container .scrollbar-track-y:hover,.scrollbar-container .scrollbar-track-x:focus,.scrollbar-container .scrollbar-track-y:focus,.scrollbar-container.scrollbar-moveing-x .scrollbar-track-x,.scrollbar-container.scrollbar-moveing-y .scrollbar-track-y{background-color:#eee;opacity:.9}.scrollbar-container .scrollbar-thumb-x,.scrollbar-container .scrollbar-thumb-y{position:absolute;z-index:102;background-color:#aaa;border-radius:6px;transform:translateZ(0)}.scrollbar-container .scrollbar-thumb-x{transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px}.scrollbar-container .scrollbar-thumb-y{transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px}.scrollbar-container .scrollbar-track-x:hover>.scrollbar-thumb-x,.scrollbar-container .scrollbar-track-x:focus>.scrollbar-thumb-x,.scrollbar-container.scrollbar-moveing-x .scrollbar-thumb-x{background-color:#999;height:11px}.scrollbar-container .scrollbar-track-y:hover>.scrollbar-thumb-y,.scrollbar-container .scrollbar-track-y:focus>.scrollbar-thumb-y,.scrollbar-container.scrollbar-moveing-y .scrollbar-thumb-y{background-color:#999;width:11px}.scrollbar-container .scrollbar-content{height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.scrollbar-container .scrollbar-content.scrollbar-disable-x{overflow-x:hidden}.scrollbar-container .scrollbar-content.scrollbar-disable-y{overflow-y:hidden}.scrollbar-hidden::-webkit-scrollbar{display:none}.common-auto-tip{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.common-circle{border-radius:50%}.common-circle .common-circle-path{fill:transparent}.common-circle .common-circle-g-path-ring{stroke:#84c56a}.common-circle .common-circle-g-path-core{fill:#84c56a;transform:scale(.56);transform-origin:50%}.common-drawer-overlay .ivu-modal{margin:0;padding:0}.common-drawer-overlay .ivu-modal .ivu-modal-content{background:transparent}.common-drawer-overlay .ivu-modal .ivu-modal-content .ivu-modal-close{display:none}.common-drawer-overlay .ivu-modal .ivu-modal-content .ivu-modal-body{padding:0;display:flex;flex-direction:column;justify-content:flex-end;align-content:flex-end}.common-drawer-overlay .overlay-body{display:flex;flex-direction:column;width:100%;height:100%;max-width:100%;max-height:100%;z-index:2}.common-drawer-overlay .overlay-body .overlay-close{flex-shrink:0;display:flex;align-items:flex-end;justify-content:flex-end}.common-drawer-overlay .overlay-body .overlay-close>a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;color:#fff}.common-drawer-overlay .overlay-body .overlay-close>a .icon{width:24px;height:24px}.common-drawer-overlay .overlay-body .overlay-close>a>svg{transition:all .3s}.common-drawer-overlay .overlay-body .overlay-close>a:hover{color:#fff}.common-drawer-overlay .overlay-body .overlay-close>a:hover>svg{transform:rotate(-90deg)}.common-drawer-overlay .overlay-body .overlay-resize{width:100%;height:5px;margin-bottom:-5px;z-index:1}.common-drawer-overlay .overlay-body .overlay-content{flex:1;position:relative;background:#fff;border-radius:18px 18px 0 0;transform:translate(0) scale(1);cursor:default}.common-drawer-overlay.right .ivu-modal .ivu-modal-content .ivu-modal-body,.common-drawer-overlay.right .overlay-body{flex-direction:row}.common-drawer-overlay.right .overlay-body .overlay-close{align-items:flex-start}.common-drawer-overlay.right .overlay-body .overlay-resize{width:5px;height:100%;margin-right:-5px;z-index:1}.common-drawer-overlay.right .overlay-body .overlay-content{border-radius:18px 0 0 18px}.drawer-slide-bottom-enter-active,.drawer-slide-bottom-leave-active{transition:all .2s ease}.drawer-slide-bottom-enter,.drawer-slide-bottom-leave-to{transform:translateY(15%) scale(.98);opacity:0}.drawer-slide-right-enter-active,.drawer-slide-right-leave-active{transition:all .2s ease}.drawer-slide-right-enter,.drawer-slide-right-leave-to{transform:translate(15%) scale(.98);opacity:0}.common-float-spinner{position:fixed;z-index:9999;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center;background-color:#fff9}.common-float-spinner .common-float-circular{width:30px;height:30px}.common-gantt{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;align-items:self-start;color:#747a81}.common-gantt *{box-sizing:border-box}.common-gantt .gantt-left{flex-grow:0;flex-shrink:0;height:100%;background-color:#fff;position:relative;display:flex;flex-direction:column}.common-gantt .gantt-left:after{content:"";position:absolute;top:0;right:0;bottom:0;width:1px;background-color:#edf1f2bf}.common-gantt .gantt-left .gantt-title{height:76px;flex-grow:0;flex-shrink:0;background-color:#f9fafb;padding-left:12px;overflow:hidden}.common-gantt .gantt-left .gantt-title .gantt-title-text{line-height:100px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.common-gantt .gantt-left .gantt-item{transform:translateZ(0);max-height:100%;overflow:auto}.common-gantt .gantt-left .gantt-item::-webkit-scrollbar{display:none}.common-gantt .gantt-left .gantt-item>li{height:40px;border-bottom:1px solid rgba(237,241,242,.75);position:relative;display:flex;align-items:center;padding-left:12px}.common-gantt .gantt-left .gantt-item>li:hover .item-icon{display:flex}.common-gantt .gantt-left .gantt-item>li .item-overdue{flex-grow:0;flex-shrink:0;color:#fff;margin-right:4px;background-color:red;padding:1px 3px;border-radius:3px;font-size:12px;line-height:18px}.common-gantt .gantt-left .gantt-item>li .item-title{flex:1;padding-right:12px;cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.common-gantt .gantt-left .gantt-item>li .item-title.complete{text-decoration:line-through}.common-gantt .gantt-left .gantt-item>li .item-title.overdue{font-weight:600}.common-gantt .gantt-left .gantt-item>li .item-icon{display:none;align-items:center;justify-content:center;width:32px;margin-right:2px;font-size:16px;color:#888}.common-gantt .gantt-right{flex:1;height:100%;background-color:#fff;position:relative;overflow:hidden}.common-gantt .gantt-right .gantt-chart{position:absolute;top:0;left:0;right:0;bottom:0;transform:translateZ(0)}.common-gantt .gantt-right .gantt-chart .gantt-month{display:flex;align-items:center;position:absolute;top:0;left:0;right:0;z-index:1;height:26px;line-height:20px;font-size:14px;background-color:#f9fafb}.common-gantt .gantt-right .gantt-chart .gantt-month>li{flex-grow:0;flex-shrink:0;height:100%;position:relative;overflow:hidden}.common-gantt .gantt-right .gantt-chart .gantt-month>li:after{content:"";position:absolute;top:0;right:0;width:1px;height:100%;background-color:#edf1f2bf}.common-gantt .gantt-right .gantt-chart .gantt-month>li .month-format{overflow:hidden;white-space:nowrap;padding:6px 6px 0}.common-gantt .gantt-right .gantt-chart .gantt-date{display:flex;align-items:center;position:absolute;top:26px;left:0;right:0;bottom:0;z-index:2;cursor:move}.common-gantt .gantt-right .gantt-chart .gantt-date:before{content:"";position:absolute;top:0;left:0;right:0;height:50px;background-color:#f9fafb}.common-gantt .gantt-right .gantt-chart .gantt-date>li{flex-grow:0;flex-shrink:0;height:100%;position:relative;overflow:hidden}.common-gantt .gantt-right .gantt-chart .gantt-date>li:after{content:"";position:absolute;top:0;right:0;width:1px;height:100%;background-color:#edf1f2bf}.common-gantt .gantt-right .gantt-chart .gantt-date>li .date-format{overflow:hidden;white-space:nowrap;display:flex;flex-direction:column;align-items:center;justify-content:center;height:44px}.common-gantt .gantt-right .gantt-chart .gantt-date>li .date-format .format-day{line-height:28px;font-size:18px}.common-gantt .gantt-right .gantt-chart .gantt-date>li .date-format .format-week{line-height:16px;font-weight:300;font-size:13px}.common-gantt .gantt-right .gantt-chart .gantt-timeline{position:absolute;top:76px;left:0;right:0;bottom:0;z-index:3;overflow-x:hidden;overflow-y:auto}.common-gantt .gantt-right .gantt-chart .gantt-timeline>li{cursor:default;height:40px;border-bottom:1px solid rgba(237,241,242,.75);position:relative}.common-gantt .gantt-right .gantt-chart .gantt-timeline>li .timeline-item{position:absolute;top:0;touch-action:none;pointer-events:auto;padding:4px;margin-top:4px;background:#e74c3c;border-radius:18px;color:#fff;display:flex;align-items:center;will-change:contents;height:32px}.common-gantt .gantt-right .gantt-chart .gantt-timeline>li .timeline-item .timeline-title{touch-action:none;flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:4px;margin-right:10px}.common-gantt .gantt-right .gantt-chart .gantt-timeline>li .timeline-item .timeline-resizer{height:22px;touch-action:none;width:8px;background:rgba(255,255,255,.1);cursor:ew-resize;flex-shrink:0;will-change:visibility;position:absolute;top:5px;right:5px}.img-upload-modal .ivu-modal-mask{z-index:1001}.img-upload-modal .ivu-modal-no-mask{background-color:#37373733}.img-upload-modal .ivu-modal-wrap{z-index:1001}.imgcomp-upload-list{display:inline-block;width:60px;height:60px;text-align:center;line-height:60px;border:1px solid transparent;border-radius:4px;overflow:hidden;background:#fff;position:relative;box-shadow:0 1px 1px #0003;margin-right:4px;vertical-align:top}.imgcomp-upload-list .imgcomp-upload-img{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-size:cover}.imgcomp-upload-list .imgcomp-upload-list-cover{display:none;position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.6)}.imgcomp-upload-list .imgcomp-upload-list-cover i{color:#fff;font-size:24px;cursor:pointer;vertical-align:middle;margin:0;transition:all .2s}.imgcomp-upload-list .imgcomp-upload-list-cover i:hover{font-size:28px}.imgcomp-upload-list .ivu-progress{height:100%}.imgcomp-upload-list .ivu-progress .ivu-progress-outer{background-color:#000000ad;height:100%}.imgcomp-upload-list .ivu-progress .ivu-progress-outer .ivu-progress-inner{width:88%;margin:0 auto}.imgcomp-upload-list:hover .imgcomp-upload-list-cover{display:block}.img-upload-foot{display:flex;align-items:center;justify-content:flex-end}.img-upload-foot .img-upload-foot-input{flex:1;text-align:left;display:flex;align-items:center;justify-content:flex-end}.img-upload-foot .img-upload-foot-input .img-upload-foot-httptitle{cursor:pointer;padding-left:3px;margin-right:22px}.add-box{width:60px;height:60px;line-height:60px;display:inline-block;background:#fff;border:1px dashed #dddee1;border-radius:4px;text-align:center;position:relative;overflow:hidden;vertical-align:top}.add-box .add-box-icon i{vertical-align:middle;padding-bottom:2px}.add-box .add-box-upload{display:none;position:absolute;top:0;left:0;height:100%;width:100%;color:#fff;padding-top:9px;background:rgba(0,0,0,.6)}.add-box .add-box-upload .add-box-item{height:22px;line-height:22px;cursor:pointer}.add-box .add-box-upload .add-box-item .ivu-upload-drag,.add-box .add-box-upload .add-box-item .ivu-upload-drag:hover{background:transparent;border:0;border-radius:0}.add-box .add-box-upload .add-box-item span{transition:all .2s;font-size:12px}.add-box .add-box-upload .add-box-item:hover span{font-size:14px}.add-box em{font-style:normal}.add-box:hover{border-color:#0009}.add-box:hover .add-box-upload{display:block}.callback-add-box{display:block;width:auto;height:25px;line-height:25px;border:0;background:transparent}.callback-add-box .add-box-icon{display:none}.callback-add-box .add-box-upload{display:block;width:auto;background:transparent;color:#333;padding:0}.callback-add-box .add-box-upload>div{display:inline-block;padding-right:10px}.browse-load{display:flex;align-items:center;justify-content:center;min-height:110px}.browse-list{max-height:540px;overflow:auto}.browse-list .browse-item{margin:10px 15px;display:inline-block;text-align:center;cursor:pointer;position:relative}.browse-list .browse-item .browse-img{width:64px;height:64px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAABxCAAAAABg5GeyAAACW0lEQVR4Ae3XVRLjMBAE0L3/rSwKM3OcSNPyLVYOLvM6UD0Bd03LVe9XH+RlhlRSSSWVVFJJJZVUUkkllVRSSSWVVFJJJZVUUkl9WyqppJJKKqmkkgpURP17xngOAR5NxW5wlJ9MaLQh83F4NHWmd/gZtdVBaOldfDB1bq5UpJFbFOC6LKnYrkRO209PAw+hIuzWB8Ep5es8HvYo4z4tE1X8UeRwlMM2D5Bzkc7kj6Bi3VTKDDwEeUcrMxrUvGDXTnHa6kK69SDN9sgq1clxKSbNHqqnYmdri81Q9QHf1JPt1Frncaib2XbiTKL2GkHaurnY9LOulMV0O7G6Kw+g9sw2ohhm62KezVJaaufjWC1TnOkr1exilJ7Ji0vxCCqO9V4UwV4PYr9+apouhGYLKfnahdpqegjmeoXOpXgANe70pKT6Zhu19qkY2nC0PZS527lQOyInqr8Uvc5jqfUb1X+PGh5IhW90S2quh3FQC2XRcF66TUkTXPcLKm5FtdR9RJq+2hWII7UpFtmsQLEyzsdJtkxxpr6gLotbUSlV9yeT0Trmzk2XPdUThLYarUbWOY9j04xXQ2u+pMZLYSumGmNUH3HbM9qOAwSHodN2Pks25F2j3aI7+IxqNsB+YLWb16ukSjiW4xNB0gMoMfApBS/XZQgi3p9/5RsiKNKZEOwYFVIF5VyTyD19sbyjIJiNJRZxpNbx2S8sGKvGZNHJBniBu9Wy5WxjGuQFqIAcBHiRGyt4ua5gSCWVVFJJJZVUUkkllVRSSSWVVFJJJZVUUkkllVRSSSWVVFI/AgO0SXIVYHeGAAAAAElFTkSuQmCC);background-position:center;background-repeat:no-repeat;background-size:cover}.browse-list .browse-item .browse-title{display:block;width:64px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.browse-list .browse-item .browse-icon{position:absolute;top:0;left:0;width:100%;height:64px;font-size:36px;padding-top:15px;color:#fff;background-color:#00000080}.browse-list-disabled{position:relative}.browse-list-disabled:after{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background-color:#ffffffe6;z-index:1}.common-loading{transform-origin:center center;width:30px;height:30px;max-width:100%;max-height:100%;margin:auto;overflow:hidden;animation:loading-rotate 2s linear infinite}.common-loading .common-path{fill:none;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:path-dash 1.5s ease-in-out infinite,path-color 6s ease-in-out infinite}.common-pureing{width:30px;height:30px;border:3px solid #eeeeee;border-bottom-color:#84c56a;border-radius:50%;display:inline-block;box-sizing:border-box;animation:pureing-rotation .75s linear infinite}@keyframes loading-rotate{to{transform:rotate(1turn)}}@keyframes path-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35}to{stroke-dasharray:89,200;stroke-dashoffset:-124}}@keyframes path-color{0%,to{stroke:#d62d20}40%{stroke:#0057e7}66%{stroke:#008744}80%,90%{stroke:#ffa700}}@keyframes pureing-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.mobile-tabbar{display:none;flex-direction:column;justify-content:flex-end;position:fixed;left:0;bottom:0;right:0;z-index:99;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mobile-tabbar .common-network-exception{position:fixed;bottom:72px;width:100%}.mobile-tabbar .common-network-exception .ivu-alert{margin:0 12px}.mobile-tabbar .common-network-exception .ivu-alert.ivu-alert-with-icon .ivu-alert-icon{top:50%;transform:translateY(-50%)}.mobile-tabbar .common-network-exception .ivu-alert.ivu-alert-error{background-color:#fff0e7f2}.mobile-tabbar .tabbar-box{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;padding:0;margin:0;height:60px;background-color:#f8f8f8;box-shadow:0 0 1px #1c222b26}.mobile-tabbar .tabbar-box>li{flex:1;width:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;list-style:none;padding:0;margin:0;color:#606266;position:relative}.mobile-tabbar .tabbar-box>li .taskfont{font-size:24px;line-height:34px}.mobile-tabbar .tabbar-box>li .tabbar-title{font-size:12px;line-height:18px;max-width:92%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-tabbar .tabbar-box>li .tabbar-badge{position:absolute;top:0;left:50%;transform:scale(.8)}.mobile-tabbar .tabbar-box>li .tabbar-badge .ivu-badge-count{font-size:14px}.mobile-tabbar .tabbar-box>li.active{color:#84c56a}.mobile-tabbar .more-mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1;background-color:#00000026}.mobile-tabbar .more-box{position:relative;z-index:2;display:block;margin-bottom:-2px;border-radius:16px 16px 0 0;padding-bottom:16px;background-color:#fff;border-top:1px solid #f1f1f1}.mobile-tabbar .more-box .tabbar-more-title{font-size:18px;font-weight:500;padding:16px 16px 36px}.mobile-tabbar .more-box>ul{padding:0 12px}.mobile-tabbar .more-box>ul>li{list-style:none;display:inline-block;width:25%;margin-bottom:28px}.mobile-tabbar .more-box>ul>li .more-item{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.mobile-tabbar .more-box>ul>li .more-item .taskfont{display:flex;align-items:center;justify-content:center;width:56px;height:56px;font-size:25px;color:#84c56a;background-color:#84c56a14;border-radius:12px}.mobile-tabbar .more-box>ul>li .more-item .tabbar-title{padding-top:6px;font-size:13px;max-width:92%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-tabbar .more-box>ul>li .more-item .tabbar-badge{position:absolute;top:-6px;right:50%;transform:translate(36px)}.mobile-back{display:none}.mobile-back .back-bar{position:fixed;top:0;left:0;bottom:0;width:20px;z-index:9998}.mobile-back .back-semicircle{position:fixed;top:200px;left:-50px;width:500px;height:500px;background-color:#0000001a;z-index:9999;border-radius:50%;transform:translate(-460px,-50%);transition:left .2s}.mobile-back .back-semicircle.show-back{left:0}.mobile-notification{position:fixed;left:50%;top:20px;z-index:9998;padding:12px;border-radius:8px;border:1px solid #ebeef5;background-color:#fff;box-shadow:0 2px 12px #0000001a;width:90%;max-width:320px;transform:translate(-50%)}.mobile-notification .common-avatar.avatar-wrapper{align-items:flex-start}.mobile-notification .common-avatar.avatar-wrapper .avatar-name{flex:1;width:0;margin-left:12px}.mobile-notification .common-avatar.avatar-wrapper .avatar-name>span{font-weight:700}.mobile-notification .notification-desc{float:left;margin-top:-18px;margin-left:52px;font-size:13px;line-height:18px;word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.mobile-scan-login-box{margin:2px 0 12px}.mobile-scan-login-box .mobile-scan-login-title{font-size:20px}.mobile-scan-login-box .mobile-scan-login-subtitle{padding-top:8px}.mobile-fade-enter-active,.mobile-fade-leave-active{transition:all .2s ease}.mobile-fade-enter,.mobile-fade-leave-to{opacity:0}.mobile-slide-enter-active,.mobile-slide-leave-active{transition:all .2s ease}.mobile-slide-enter,.mobile-slide-leave-to{transform:translateY(15%);opacity:0}.mobile-notify-enter-active,.mobile-notify-leave-active{transition:all .3s ease}.mobile-notify-enter,.mobile-notify-leave-to{transform:translate(-50%,-100%);opacity:0}.mobile-dialog-enter-active,.mobile-dialog-leave-active{transition:all .3s ease}.mobile-dialog-enter,.mobile-dialog-leave-to{transform:translate(100%);opacity:0}.mobile-send-enter-active,.mobile-send-leave-active{transition:all .3s ease}.mobile-send-enter,.mobile-send-leave-to{transform:translate(-50%,-50%) scale(0)!important;opacity:0}body.window-touch .mobile-back{display:block}body.window-portrait .mobile-tabbar{display:flex}body.window-portrait .mobile-notification{top:12px;width:94%;max-width:none}.app-scroller-y{position:absolute;top:0;left:0;right:0;bottom:0;overflow-x:hidden;overflow-y:auto;overflow-y:overlay}.app-scroller-y .app-scroller-bottom{height:0;margin:0;padding:0}.app-scroller-y.static{position:static;flex:1}.teditor-box .tox.tox-silver-sink,.teditor-transfer .tox.tox-silver-sink{z-index:13000}.teditor-box{position:relative;min-height:22px}.teditor-box .icon-inline{color:#bbb;position:absolute;left:0;top:0}.teditor-box textarea{opacity:0}.teditor-box .tox-tinymce{box-shadow:none;box-sizing:border-box;border-color:#dddee1;border-radius:4px;overflow:hidden}.teditor-box .tox-tinymce .tox-statusbar span.tox-statusbar__branding a{display:none}.teditor-box .tox-tinymce .tox-tbtn--bespoke .tox-tbtn__select-label{width:auto}.teditor-transfer{background-color:#fff}.teditor-transfer .tox-toolbar>div:last-child>button:last-child{margin-right:64px}.teditor-transfer .ivu-modal-header{display:none}.teditor-transfer .ivu-modal-close{top:7px;z-index:2}.teditor-transfer .teditor-transfer-body{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0}.teditor-transfer .teditor-transfer-body textarea{opacity:0}.teditor-transfer .teditor-transfer-body .tox-tinymce{border:0}.teditor-transfer .teditor-transfer-body .tox-tinymce .tox-statusbar span.tox-statusbar__branding a{display:none}.teditor-loadstyle{width:100%;height:180px;overflow:hidden;position:relative}.teditor-loadedstyle{width:100%;max-height:inherit;overflow:inherit;position:relative}.teditor-operate{position:absolute;top:0;left:0;width:1px;opacity:0;visibility:hidden;pointer-events:none}.upload-control{display:none;width:0;height:0;overflow:hidden}.tox-tinymce-inline{z-index:100000}.quick-edit{display:flex;align-items:center;max-width:100%}.quick-edit .quick-input{flex:1;max-width:100%;position:relative}.quick-edit .quick-input .quick-loading{position:absolute;top:0;right:8px;bottom:0;display:flex;align-items:center}.quick-edit .quick-input .quick-loading .common-loading{margin:0;width:14px;height:14px}.quick-edit .quick-text{overflow:hidden;text-overflow:ellipsis;align-items:center;white-space:nowrap;height:20px;line-height:20px;margin-right:6px}.quick-edit .quick-icon{display:none;font-size:16px;cursor:pointer}.quick-edit.quick-always .quick-icon{display:inline-block;opacity:.3;transition:opacity .2s}.quick-edit:hover .quick-icon,.ivu-table-row-hover .quick-edit .quick-icon{display:inline-block;opacity:1}.common-tag-input{display:inline-block;width:100%;min-height:32px;padding:2px 7px;border:1px solid #dddee1;border-radius:4px;color:#495060;background:#fff;position:relative;cursor:text;vertical-align:middle;line-height:normal;transition:all .2s}.common-tag-input:hover{border-color:#a2d98d}.common-tag-input.focus{border-color:#a2d98d;box-shadow:0 0 0 2px #8bcf7033}.common-tag-input .tags-item,.common-tag-input .tags-input{position:relative;float:left;color:#495060;background-color:#f1f8ff;border-radius:3px;line-height:22px;margin:2px 6px 2px 0;padding:0 20px 0 6px}.common-tag-input .tags-item .tags-content,.common-tag-input .tags-input .tags-content{line-height:22px}.common-tag-input .tags-item .tags-del,.common-tag-input .tags-input .tags-del{width:20px;height:22px;text-align:center;cursor:pointer;position:absolute;top:-1px;right:0}.common-tag-input .tags-input{max-width:80%;padding:0;background-color:inherit;border:none;color:inherit;height:22px;line-height:22px;-webkit-appearance:none;outline:none;resize:none;overflow:hidden}.common-tag-input .tags-input::-moz-placeholder{color:#bbb}.common-tag-input .tags-input::placeholder{color:#bbb}.common-tag-input .tags-placeholder{position:absolute;left:0;top:0;z-index:-1;color:#fff0}.common-tag-input:after{content:"";display:block;height:0;clear:both}.ivu-form-item-error .common-tag-input,.ivu-form-item-error .common-tag-input:hover{border-color:#ed4014}.ivu-form-item-error .common-tag-input.focus{border-color:#ed4014;box-shadow:0 0 0 2px #ed401433}.common-avatar{position:relative}.common-avatar.avatar-wrapper{display:flex;align-items:center}.common-avatar.avatar-wrapper .avatar-box{position:relative;border-radius:50%;display:flex;align-items:center}.common-avatar.avatar-wrapper .avatar-box .avatar-default{background-color:transparent}.common-avatar.avatar-wrapper .avatar-box .avatar-text{background-color:#84c56a}.common-avatar.avatar-wrapper .avatar-box .avatar-char{display:inline-block;font-size:15px;line-height:inherit}.common-avatar.avatar-wrapper .avatar-box .el-avatar>img{margin:0 auto;pointer-events:none;-webkit-touch-callout:none}.common-avatar.avatar-wrapper .avatar-box>em{position:absolute;right:0;bottom:0;width:8px;height:8px;border-radius:50%;background-color:#f90;border:1px solid #ffffff;transform-origin:right bottom;z-index:1}.common-avatar.avatar-wrapper .avatar-box.online>em{background-color:#84c56a}.common-avatar.avatar-wrapper .avatar-box.disabled:after,.common-avatar.avatar-wrapper .avatar-box.deleted:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGNsYXNzPSJpb25pY29uIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHRpdGxlPkJhbjwvdGl0bGU+PGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2U9IiNjY2NjY2MiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLXdpZHRoPSI0OCIgY3g9IjI1NiIgY3k9IjI1NiIgcj0iMjAwIi8+PHBhdGggc3Ryb2tlPSIjY2NjY2NjIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS13aWR0aD0iNDgiIGQ9Ik0xMTQuNTggMTE0LjU4bDI4Mi44NCAyODIuODQiLz48L3N2Zz4=);background-color:#ffffff80;opacity:.8;border-radius:50%}.common-avatar.avatar-wrapper .avatar-box.disabled>em,.common-avatar.avatar-wrapper .avatar-box.deleted>em{background-color:#ccc}.common-avatar.avatar-wrapper .avatar-box.deleted:after{transform:rotate(-45deg)}.common-avatar.avatar-wrapper .avatar-bot{margin-right:-4px;padding-left:6px;font-size:16px;color:#84c56a}.common-avatar.avatar-wrapper .avatar-name{display:flex;align-items:center;margin-left:6px;line-height:normal}.common-avatar.avatar-wrapper .avatar-name .bot{flex-shrink:0;margin-right:3px;font-size:16px;color:#84c56a}.common-avatar.avatar-wrapper .avatar-name>span{flex:1;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.common-avatar.avatar-pointer{cursor:pointer}.common-avatar-transfer{padding:4px 2px;line-height:1.5}.common-avatar-transfer>p{padding:1px 2px}.common-avatar-transfer>p.department-name{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.common-avatar-transfer>p>em{font-style:normal}.common-avatar-transfer>p>em.disabled,.common-avatar-transfer>p>em.deleted{display:inline-block;margin-left:2px;white-space:nowrap;font-size:12px;height:20px;line-height:20px;padding:0 6px;border-radius:3px;transform:scale(.9);transform-origin:right center;color:#fff;background-color:#ed4014}.common-avatar-transfer .avatar-icons{margin-top:12px;border-top:1px solid rgba(244,244,245,.5);padding:8px 0 0;display:flex;align-items:center}.common-avatar-transfer .avatar-icons>i{cursor:pointer;font-size:22px;margin-right:12px;color:#f4f4f5}.common-avatar-transfer .avatar-icons>i:last-child{margin-right:0}.common-avatar-transfer .avatar-icons>i:hover{color:#fff}.common-user-select.select-module{display:none}.common-user-select.select-border{border:1px solid #e8e8e8;border-radius:4px;padding:0 6px}.common-user-select>ul{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start}.common-user-select>ul>li{list-style:none;padding:0;margin:3px 6px 3px 0;cursor:pointer}.common-user-select>ul>li:last-child{margin-right:0}.common-user-select>ul>li.add-icon{width:26px;height:26px;background:#F2F3F5 url(data:image/svg+xml;base64,PHN2ZyB0PSIxNjg2NjIxNjA3NDE0IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik04NzQuNjY2NjY3IDQ3My42aC0zMjQuMjY2NjY3VjE0OS4zMzMzMzNjMC0yMS4zMzMzMzMtMTcuMDY2NjY3LTM4LjQtMzguNC0zOC40cy0zOC40IDE3LjA2NjY2Ny0zOC40IDM4LjR2MzI0LjI2NjY2N0gxNDkuMzMzMzMzYy0yMS4zMzMzMzMgMC0zOC40IDE3LjA2NjY2Ny0zOC40IDM4LjRzMTcuMDY2NjY3IDM4LjQgMzguNCAzOC40aDMyNC4yNjY2Njd2MzI0LjI2NjY2N2MwIDIxLjMzMzMzMyAxNy4wNjY2NjcgMzguNCAzOC40IDM4LjRzMzguNC0xNy4wNjY2NjcgMzguNC0zOC40di0zMjQuMjY2NjY3aDMyNC4yNjY2NjdjMjEuMzMzMzMzIDAgMzguNC0xNy4wNjY2NjcgMzguNC0zOC40cy0xNy4wNjY2NjctMzguNC0zOC40LTM4LjR6IiAgZmlsbD0iIzYwNjI2NiI+PC9wYXRoPjwvc3ZnPg==) no-repeat center;background-size:50%;border-radius:50%}.common-user-select-modal .ivu-modal{max-width:90%}.common-user-select-modal .ivu-modal .user-modal-header{height:100%;display:flex;align-items:center;justify-content:space-between;position:relative;font-weight:500}.common-user-select-modal .ivu-modal .user-modal-header .user-modal-close{padding:0 24px;color:#606266}.common-user-select-modal .ivu-modal .user-modal-header .user-modal-title{position:absolute;top:0;bottom:0;left:100px;right:100px;display:flex;justify-content:center;align-items:center}.common-user-select-modal .ivu-modal .user-modal-header .user-modal-title>span{font-size:16px;color:#303133;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.common-user-select-modal .ivu-modal .user-modal-header .user-modal-submit{padding:0 24px;color:#84c56a;display:flex;align-items:center}.common-user-select-modal .ivu-modal .user-modal-header .user-modal-submit .submit-loading{width:14px;height:14px;margin-right:6px}.common-user-select-modal .ivu-modal .ivu-modal-body{padding:0!important;display:flex;flex-direction:column}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search{flex-shrink:0;display:flex;align-items:center;margin:0 24px}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected{flex:none;height:auto;flex-shrink:0;max-width:60%;margin-right:12px}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul{display:flex;align-items:center;cursor:pointer}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li{list-style:none;margin-right:6px}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li:last-child{margin-right:0}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li .img-avatar,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li .icon-avatar{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:20px;background-color:#61b2f9;color:#fff}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li .img-avatar.department,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li .icon-avatar.department{background-color:#5bc7b0}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li .img-avatar.project,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li .icon-avatar.project{background-color:#6e99eb}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li .img-avatar.task,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li .icon-avatar.task{background-color:#9b96df;font-size:24px}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li .img-avatar>img,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li .icon-avatar>img{width:100%;height:100%}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-input .ivu-input{height:36px;border-color:#f4f5f7;background-color:#f4f5f7}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-input .search-pre{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-input .search-pre .common-loading{width:14px;height:14px;margin:0}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-switch{display:flex;flex-direction:row;align-items:center;margin:12px 24px 0;border-radius:4px;background:#F4F5F7}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-switch>li{flex:1;list-style:none;color:#606266;border-radius:2px;margin:2px;padding:4px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-switch>li.active{font-weight:500;color:#303133;background:#ffffff}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list{flex:1;display:flex;flex-direction:column;max-height:400px}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul{padding:16px 24px}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul.user-modal-project>li:last-child .user-modal-avatar .project-name:before{display:none}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li{list-style:none;margin:0;padding:16px 0 0;height:46px;box-sizing:content-box;display:flex;align-items:center;cursor:pointer}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li:first-child{padding-top:0}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li.selected .user-modal-icon{color:#84c56a}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li.selected .user-modal-avatar .project-name .subtitle>em.all{display:inline-block}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li.somed .user-modal-icon{color:#84c56a}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li.somed .user-modal-avatar .project-name .subtitle>em.some{display:inline-block}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li.disabled,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li.disabled:hover{color:#c5c8ce;cursor:not-allowed}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-icon{flex-shrink:0;font-size:22px;margin-right:10px;color:#909399b3}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-all{font-size:15px;font-weight:500}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar{flex:1;display:flex;align-items:center}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .img-avatar,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .icon-avatar{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:26px;background-color:#61b2f9;color:#fff}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .img-avatar.department,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .icon-avatar.department{background-color:#5bc7b0}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .img-avatar.project,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .icon-avatar.project{background-color:#6e99eb}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .img-avatar.task,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .icon-avatar.task{background-color:#9b96df;font-size:24px}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .img-avatar>img,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .icon-avatar>img{width:100%;height:100%}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .avatar-name,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .project-name{flex:1;width:0;margin-left:12px}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .avatar-name>span,.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .project-name>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .avatar-name{display:flex;align-items:center}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .project-name{display:flex;flex-direction:column;position:relative}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .project-name:before{content:"";position:absolute;left:0;right:0;bottom:-9px;height:1px;background-color:#f2f2f2}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .project-name .label{font-size:15px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .project-name .subtitle{padding-top:2px;font-size:12px;color:#909399;display:flex;align-items:center}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .project-name .subtitle>em{display:none;font-style:normal;padding-left:4px;color:#84c56a}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px 36px 20px;min-height:200px}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-empty .empty-icon{background-color:#f4f5f7;padding:20px;border-radius:50%}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-empty .empty-icon .ivu-icon{color:#d1d8dd;font-size:46px}.common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-empty .empty-text{margin-top:16px;color:#bec6cc;background-color:#f4f5f7;padding:4px 15px;border-radius:14px}.common-user-select-modal .ivu-modal .ivu-modal-footer{border-top:1px solid #f2f2f2!important;padding:12px 0!important;margin:0 24px!important}.common-user-select-modal .ivu-modal.ivu-modal-fullscreen{max-width:none}.common-user-select-modal .ivu-modal.ivu-modal-fullscreen .ivu-modal-content{margin-top:46px;border-top-left-radius:18px!important;border-top-right-radius:18px!important}.common-user-select-modal .ivu-modal.ivu-modal-fullscreen .ivu-modal-header{border-bottom:1px solid #f2f2f2;padding:0;height:56px}.common-user-select-modal .ivu-modal.ivu-modal-fullscreen .ivu-modal-body{top:60px}.common-user-select-modal .ivu-modal.ivu-modal-fullscreen .ivu-modal-body .user-modal-search{padding-top:12px}.common-user-select-modal .ivu-modal.ivu-modal-fullscreen .ivu-modal-body .user-modal-list{max-height:none}.common-user-select-modal .ivu-modal.ivu-modal-fullscreen .ivu-modal-body .user-modal-list ul{padding-bottom:0}.common-user-select-modal .ivu-modal.ivu-modal-fullscreen .ivu-modal-body .user-modal-list ul>li:last-child{padding-bottom:16px}.report{height:100%;padding:20px}.report .report-list-wrap{position:absolute;top:0;width:100%;height:100%;padding-top:53px;display:flex;flex-direction:column}.report .report-list-wrap .table-page-box{flex:1;height:0}.report .manage-box-report{margin-left:4px;transform:scale(.8);vertical-align:top}.report .ivu-tabs{height:100%;position:relative}.report .ivu-tabs .ivu-tabs-bar{position:relative;z-index:2;background:#fff}.report .ivu-tabs .ivu-tabs-content{height:100%;width:100%;margin-top:-53px;padding-top:53px}.report-table-avatar{display:flex;align-items:center;justify-content:center}.report-table-avatar .common-avatar{margin:0 1px}.report-table-avatar .more-avatar{padding-left:3px;font-size:12px}.report-detail{display:flex;flex-direction:column;height:100%}.report-detail .report-title{flex-shrink:0;font-size:16px;font-weight:700;margin-bottom:12px;padding:20px 24px;border-bottom:1px solid #eeeeee}.report-detail .report-detail-context{flex:1;height:0;padding:12px 0 12px 24px;display:flex;flex-direction:column;overflow:auto}.report-detail .report-form.auto-form{display:flex;margin-bottom:12px}.report-detail .report-form.auto-form .ivu-form-item{flex:1;flex-shrink:0}.report-detail .report-form.auto-form .ivu-form-item .ivu-form-item-label{padding-top:8px}.report-detail .report-form .ivu-form-item .ivu-form-item-label{opacity:.8}.report-detail .report-form .ivu-form-item .ivu-form-item-content{line-height:30px;display:flex;align-items:center}.report-detail .report-form .ivu-form-item .ivu-form-item-content .common-avatar{margin-right:6px}.report-detail .report-content{width:100%}.report-detail .report-content h2{margin-bottom:10px}.report-detail .report-content ol{margin-bottom:20px;padding-left:18px}.report-detail .report-content ol li{font-size:14px;line-height:24px}.report-detail .report-content img{max-width:100%}.report-edit{display:flex;flex-direction:column;height:100%;padding:24px}.report-edit .ivu-input[disabled]{color:#606266}.report-edit .report-content{flex:1 1 auto;overflow-y:auto}.report-edit .report-content .report-content-editor{height:100%}.report-edit .report-content .report-content-editor .ivu-form-item-content{height:100%;display:flex}.report-edit .report-content .report-content-editor .ivu-form-item-content .teditor-wrapper{flex:1;display:flex}.report-edit .report-users{display:flex;align-items:center}.report-edit .report-users .common-user-select{margin-right:12px}.report-edit .report-users .report-user-link{flex-shrink:0;display:flex;align-items:center}.report-edit .report-users .report-user-link>i{font-size:16px;margin-right:2px;transform:rotate(-90deg)}.report-edit .report-radiogroup{background:#F4F5F7!important;padding:2px!important;border-radius:4px!important}.report-edit .report-radiogroup .ivu-radio-wrapper{padding:0 30px!important;background:#F4F5F7!important;color:#515a6e!important;box-shadow:none!important;border:none!important}.report-edit .report-radiogroup .ivu-radio-wrapper.ivu-radio-wrapper-disabled{color:#c6c6c6!important}.report-edit .report-radiogroup .ivu-radio-wrapper:before{width:0!important}.report-edit .report-radiogroup .ivu-radio-wrapper:after{width:0!important}.report-edit .report-radiogroup .ivu-radio-focus{box-shadow:none!important;border:none!important}.report-edit .report-radiogroup .ivu-radio-focus:after{background:none!important}.report-edit .report-radiogroup .ivu-radio-wrapper-checked:not(.ivu-radio-wrapper-disabled){background:#fff!important;color:#84c56a!important;box-shadow:none!important;border:none!important;border-radius:4px!important}.report-edit .report-buttongroup{margin-left:20px;background:#F4F5F7!important;border-radius:4px}.report-edit .report-buttongroup .report-buttongroup-vertical{position:absolute;left:50%;width:1px;height:15px;background-color:#e9e9e9;top:50%;transform:translate(-50%,-50%);z-index:9}.report-edit .report-buttongroup .ivu-btn-primary{background:#F4F5F7!important;box-shadow:none!important;border:none!important;color:#84c56a!important;height:36px;line-height:34px}.report-edit .report-buttongroup .ivu-btn-primary[disabled]{color:#c6c6c6!important}.report-edit .report-content-editor{flex:1}.report-edit .report-content-editor .ivu-form-item-content{display:flex;height:100%}.report-edit .report-content-editor .ivu-form-item-content .teditor-wrapper{display:flex;flex:1}.report-edit .report-foot{margin-bottom:0}.report-edit .report-foot .report-bottom{height:38px;line-height:36px;min-width:120px}.component-resize-line{cursor:col-resize}.component-resize-line.resizing:after{content:"";position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999;cursor:col-resize}.component-resize-line.bottom{cursor:row-resize}.component-resize-line.bottom:after{cursor:row-resize}body.window-portrait .component-resize-line{display:none}.common-right-bottom{position:absolute;bottom:22px;right:26px;z-index:1;display:flex;flex-direction:column;align-items:flex-end;transition:bottom .3s}.common-right-bottom .common-right-bottom-link{display:inline-block;cursor:pointer;line-height:32px;height:32px;padding:0 15px;margin:4px 0;font-size:14px;border-radius:4px;color:#fff;background-color:#84c56a;border-color:#84c56a}.common-right-bottom .common-right-bottom-link:hover{color:#fff;opacity:.9}.common-right-bottom-notification .ivu-modal-header{padding-bottom:8px!important}.common-right-bottom-notification .notification-head{display:flex;align-items:center}.common-right-bottom-notification .notification-head .notification-title{display:inline-block;vertical-align:middle;font-size:18px;color:#303133;font-weight:500;margin-right:6px}.common-right-bottom-notification .notification-body{max-height:210px;margin-bottom:16px}.common-right-bottom-notification .notification-body .markdown-preview{margin:-20px -12px}.common-right-bottom-notification .notification-body .markdown-preview h1{font-size:24px;margin-bottom:12px}.common-right-bottom-notification .notification-body .markdown-preview h1:first-child{padding-top:0}.common-right-bottom-notification .notification-body .markdown-preview h2{font-size:18px!important;padding-top:2px!important}.common-right-bottom-notification .notification-body .markdown-preview ul li{padding:2px 0 2px 2px!important}.common-right-bottom-notification .notification-body .markdown-preview ul li:after{top:10px!important;width:6px!important;height:6px!important}.common-right-bottom-notification .notification-tip{display:inline-block;color:#909399;line-height:22px;padding-top:4px;font-size:12px}.common-right-bottom-notification .notification-link{margin-top:20px;text-align:right}.common-right-bottom-notification .notification-link>button+button{margin-left:6px}body.window-portrait .common-right-bottom{bottom:20px;right:auto;left:50%;transform:translate(-50%);align-items:center}body.window-portrait .common-right-bottom .common-right-bottom-link{color:#606266!important;background-color:transparent;border-color:transparent}@media (max-height: 640px){.common-right-bottom{display:none}}body{overflow:hidden}body.touch-back .scrollbar-container .scrollbar-content,body.touch-back .dialog-wrapper .vue-recycle-scroller.direction-vertical:not(.page-mode),body.touch-back .dialog-wrapper .dialog-scroller.scrollbar-virtual,body.touch-back .common-gantt .gantt-left .gantt-item,body.touch-back .project-panel .project-column,body.touch-back .project-panel .project-table,body.touch-back .ivu-modal-wrap{overflow:hidden}body .form-tip{color:#909399;line-height:22px;padding:5px 0}body .form-tip.red{color:#ed4014}body .form-list ol li,body .form-list ul li{list-style-type:none}body .form-list ol li:before,body .form-list ul li:before{display:inline-block;white-space:nowrap;width:1.2em;text-align:left;margin-right:.2em}body .form-list ul li:before{content:"\2022";font-weight:900}body .form-list ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}body .form-list ol li:before{width:auto;min-width:1.2em;content:counter(list-0,decimal) ". "}body .ivu-badge-count{font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}body .input-number-box{display:flex;align-items:center;border:1px solid #dcdee2;border-radius:4px}body .input-number-box .ivu-input-number{width:72px;margin:0;border:0}body .input-number-box>label{color:#515a6e;text-align:center;background-color:#f8f8f9;padding:0 7px;font-weight:400;white-space:nowrap}body .input-number-box>label:first-child{border-left:1px solid transparent;border-right:1px solid #dcdee2;border-radius:4px 0 0 4px}body .input-number-box>label:last-child{border-left:1px solid #dcdee2;border-right:1px solid transparent;border-radius:0 4px 4px 0}body .ivu-input,body .ivu-select-selection{border-color:#e8e8e8}body .ivu-select-dropdown{-webkit-user-select:none;-moz-user-select:none;user-select:none;max-height:360px}body .ivu-select-dropdown.select-node .ivu-select-item{display:flex;align-items:center;justify-content:space-between}body .ivu-select-dropdown.select-node .ivu-select-item .option-title{flex:1}body .ivu-select-dropdown.select-node .ivu-select-item .ivu-tag{flex-shrink:0;margin-left:18px;margin-right:0;transform:scale(.9);transform-origin:right center}body .ivu-tooltip-popper .ivu-tooltip-inner{white-space:normal}body .ivu-table table{width:100%!important}body .ivu-table table .ivu-table-cell{padding-left:12px;padding-right:12px}body .ivu-table table thead .ivu-table-cell{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body .ivu-table table tbody .tree-icon-loading .ivu-table-cell{display:flex;align-items:center}body .ivu-table table tbody .tree-icon-loading .ivu-table-cell .ivu-table-cell-tree{margin-right:6px}body .ivu-table .td-ellipsis{display:flex;align-items:center;max-width:100%}body .ivu-table .td-ellipsis .remark-text{overflow:hidden;text-overflow:ellipsis;align-items:center;white-space:nowrap;height:20px;line-height:20px;margin-right:6px}body .ivu-table .td-ellipsis .remark-icon{display:none;font-size:16px;cursor:pointer}body .ivu-table .td-ellipsis .remark-tag{display:inline-block;height:22px;line-height:22px;margin:2px 4px 2px 0;border:1px solid #e8eaec;border-radius:3px;background:#f7f7f7;font-size:12px;vertical-align:middle;opacity:1;color:#606266;padding:0 4px;white-space:nowrap;overflow:visible}body .ivu-table .td-ellipsis .remark-tag.pointer-tag{cursor:pointer;color:#1890ff;background:#e6f7ff;border-color:#91d5ff}body .ivu-table .td-ellipsis .icon-tooltip .ivu-tooltip-rel{display:flex;align-items:center}body .ivu-table .td-action{max-width:100%;display:flex;align-items:center;justify-content:center}body .ivu-table .td-action .td-action-container{flex-shrink:0}body .ivu-table .td-action .td-action-container a{font-size:12px;padding:0 5px}body .ivu-table .td-action .td-action-container.td-action-menu{display:flex;align-items:center}body .ivu-table .td-action .td-action-container.td-action-menu .menu-dropdown{display:flex}body .ivu-table .td-action .td-action-container.td-action-menu .menu-icon{cursor:pointer;font-size:21px;padding:0 6px}body .ivu-table .td-action .td-action-container.td-action-menu .menu-icon.ivu-icon{font-size:16px}body .ivu-table .ivu-table-row-hover:hover .td-ellipsis .remark-icon{display:inline-block}body .ivu-table:before{background-color:#efefef}body .ivu-modal-wrap{overflow:overlay}body .ivu-modal-wrap .ivu-modal{top:100px;padding-bottom:100px}@media (max-height: 900px){body .ivu-modal-wrap .ivu-modal{top:35px;padding-bottom:35px}}body .ivu-modal-wrap .ivu-modal.ivu-modal-fullscreen{top:0}body .ivu-modal-wrap .ivu-modal.ivu-modal-fullscreen .ivu-modal-content{border-radius:0}body .ivu-modal-wrap .ivu-modal .ivu-modal-header,body .ivu-modal-wrap .ivu-modal .ivu-modal-footer{border-color:transparent}body .ivu-modal-wrap .ivu-modal .ivu-modal-header{padding:22px 24px 20px}body .ivu-modal-wrap .ivu-modal .ivu-modal-header .ivu-modal-header-inner{font-size:18px}body .ivu-modal-wrap .ivu-modal .ivu-modal-body{padding:16px 32px 2px}body .ivu-modal-wrap .ivu-modal .ivu-modal-body .ivu-table-body,body .ivu-modal-wrap .ivu-modal .ivu-modal-body .project-log{overscroll-behavior:none}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer{padding:20px 30px 22px}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .ivu-btn{height:34px;line-height:32px;min-width:94px}@media (max-width: 576px){body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption{display:flex;align-items:center;overflow-x:auto}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption .ivu-btn{height:38px;line-height:36px;min-width:auto}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption .ivu-btn,body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption .ivu-btn-group,body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption .ivu-poptip{flex:1}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption .ivu-btn-group,body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption .ivu-poptip{display:flex;align-items:center}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption .ivu-poptip .ivu-poptip-rel{flex:1;display:flex;align-items:center}}body .ivu-modal-wrap .ivu-modal .ivu-modal-content{border-radius:18px}body .ivu-modal-wrap .ivu-modal .ivu-modal-content .ivu-modal-close .ivu-icon-ios-close{font-size:38px;top:3px;right:2px;transition:all .2s}body .ivu-modal-wrap .ivu-modal .ivu-modal-content .ivu-modal-close:hover .ivu-icon-ios-close{transform:rotate(-90deg)}body .ivu-modal-wrap .ivu-modal-confirm{padding:6px 0 20px}body .ivu-modal-wrap .ivu-modal-confirm .ivu-modal-confirm-body>div{word-break:break-all}body .ivu-modal-wrap .form-network-add-tabs .ivu-tabs-tabpane{padding:10px 6px 0}body .ivu-modal-wrap .form-network-add-in-out{padding:0 6px}body .ivu-modal-wrap .form-network-add-in-out .select-in-type span.ivu-radio{display:none}body .ivu-modal-wrap .form-network-add-in-out .select-in-type .select-in-type-item-checked{color:#84c56a;border:1px solid #84C56A!important}body .ivu-modal-wrap .form-network-add-in-out .select-in-type .select-in-type-item{display:flex;align-items:center;min-width:90px;border:1px solid #E8EBEE;border-radius:4px;padding:0 12px;margin:0 8px 0 0}body .ivu-modal-wrap .form-network-add-in-out .select-in-type .select-in-type-item>span{flex:1}body .ivu-modal-wrap .form-network-add-in-out .select-in-type .select-in-type-item:hover{cursor:pointer}body .ivu-modal-wrap .form-network-add-in-out .select-in-type .select-in-type-item .select-in-type-icon{margin-left:12px}body .ivu-modal-wrap .form-network-add-in-out .select-in-node{margin-top:18px}body .ivu-progress,body .ivu-progress .ivu-progress-outer{display:flex;align-items:center}body .ivu-progress.ivu-progress-show-info .ivu-progress-outer{margin:0;padding:0}body .ivu-progress.ivu-progress-show-info .ivu-progress-text{flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body .ivu-drawer-right .ivu-drawer-content{border-radius:18px 0 0 18px}body .ivu-drawer-right .ivu-drawer-content .ivu-drawer-header{padding-top:16px;padding-bottom:6px;border-bottom:1px solid transparent}body .ivu-drawer-right .ivu-drawer-content .ivu-drawer-header .ivu-drawer-header-inner{font-size:18px;padding:0 4px;height:32px;line-height:32px}body .ivu-drawer-right .ivu-drawer-content .ivu-drawer-body{padding:10px 20px}body .ivu-drawer-bottom .ivu-drawer-content{border-radius:18px 18px 0 0}body .ivu-drawer-bottom .ivu-drawer-content .ivu-drawer-close{top:-40px}body .ivu-drawer-bottom .ivu-drawer-content .ivu-drawer-close .ivu-icon{font-size:40px;color:#fff}body .ivu-tabs-nav-next,body .ivu-tabs-nav-prev{padding-top:3px}*[hidden=hidden]{display:none!important}.clearfix{zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}.table-page-box{display:flex;flex-direction:column}.table-page-box .ivu-table-wrapper{flex:1}.table-page-box .ivu-table-wrapper .ivu-table{display:flex;flex-direction:column}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-header{flex-shrink:0}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body{flex:1;overflow:auto;overflow-y:overlay!important}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body::-webkit-scrollbar{width:0;height:0}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body::-webkit-scrollbar-thumb{border:3px solid transparent;background-color:#0003;background-clip:content-box;border-radius:12px}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body::-webkit-scrollbar-thumb:hover{border:2px solid transparent;background-color:#0003}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body::-webkit-scrollbar-thumb:active{border:2px solid transparent;background-color:#0006}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body::-webkit-scrollbar-track{border-radius:12px;background:rgba(0,0,0,0)}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body:hover::-webkit-scrollbar{width:12px;height:12px}.table-page-box .ivu-page{flex-shrink:0;text-align:center;margin-top:20px}.table-page-box .table-attach{display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-top:20px}.table-page-box .table-attach .select-box{margin-right:12px}.table-page-box .table-attach .select-box .ivu-select{width:auto;max-width:200px;margin-right:3px}.table-page-box .table-attach .ivu-page{padding:0;margin-top:0;margin-left:12px}.page-container{text-align:center;padding:20px 0}.search-container{margin-bottom:12px}.search-container>ul{display:flex;align-items:flex-end;flex-wrap:wrap}.search-container>ul>li{flex:1;flex-shrink:0;margin-right:12px;margin-bottom:12px;list-style:none;display:flex;flex-direction:column}.search-container>ul>li:last-child{margin-right:0}.search-container>ul>li .search-label{font-weight:600}.search-container>ul>li .search-content{margin-top:6px}.search-container>ul>li.search-button{flex:none;display:flex;align-items:center;flex-direction:row}.search-container>ul>li.search-button>button+button{margin-left:8px}.search-container.lr>ul>li:not(.search-button){flex:none;flex-direction:row;align-items:center;margin-right:18px}.search-container.lr>ul>li:not(.search-button) .search-label{flex-shrink:0}.search-container.lr>ul>li:not(.search-button) .search-content{margin-top:0;margin-left:6px}.search-container.lr>ul>li:not(.search-button) .search-content .ivu-input-wrapper,.search-container.lr>ul>li:not(.search-button) .search-content .ivu-select{width:168px;max-width:100%}.search-container.auto>ul>li:not(.search-button){flex:none}.search-container.auto>ul>li:not(.search-button) .search-content{margin-top:0;margin-left:6px}.search-container.auto>ul>li:not(.search-button) .search-content .ivu-input-wrapper,.search-container.auto>ul>li:not(.search-button) .search-content .ivu-select{width:150px;max-width:100%}.search-expand{display:flex;align-items:flex-end}.search-expand .search-container{flex:1}.search-expand .expand-button-group{flex-shrink:0;margin-left:24px;margin-bottom:24px}.search-button-clear .ivu-tooltip-inner{padding:0;display:flex;align-items:center}.search-button-clear .ivu-tooltip-inner .ivu-btn{min-width:80px;font-size:13px}.icon-loading{animation:animation-icon-loading .6s infinite linear}@keyframes animation-icon-loading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.common-shake{animation:animation-common-shake .6s ease-in-out;animation-delay:.2s}@keyframes animation-common-shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}50%{transform:translate3d(-4px,0,0)}}.login-mode-enter-active{transition:all .3s ease}.login-mode-leave-active{position:absolute;z-index:-1;display:none}.login-mode-enter,.login-mode-leave-to{transform:translate(100%);opacity:0}.page-calendar{display:flex;flex-direction:column}.page-calendar .calendar-head{flex-shrink:0;display:flex;align-items:flex-start;margin:32px 32px 16px;border-bottom:1px solid #F4F4F5}.page-calendar .calendar-head .calendar-titbox{flex:1;display:flex;align-items:center;margin-bottom:16px}.page-calendar .calendar-head .calendar-titbox .calendar-title{display:flex;align-items:center;margin-right:36px}.page-calendar .calendar-head .calendar-titbox .calendar-title>h1{color:#303133;font-size:28px;font-weight:600}.page-calendar .calendar-head .calendar-titbox .calendar-arrow{margin-right:12px}.page-calendar .calendar-head .calendar-titbox .calendar-arrow>button{color:#888;font-size:12px}.page-calendar .calendar-head .calendar-titbox .calendar-arrow>button:focus{box-shadow:none}.page-calendar .calendar-head .calendar-titbox .calendar-view{flex:1;display:flex;justify-content:flex-end}.page-calendar .calendar-head .calendar-titbox .calendar-view>button:focus{box-shadow:none}.page-calendar .calendar-box{flex:1;display:flex;flex-direction:column;padding:0 48px 6px;overflow:hidden}.page-calendar .calendar-box .calendar-wrapper{flex:1;position:relative}.page-calendar .calendar-box .calendar-wrapper:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background-color:#fff;z-index:1}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup{box-shadow:none}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup .tui-full-calendar-section-header .tui-full-calendar-ic-checkbox-checked{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAhFBMVEUAAACLz3CLz3CLz3CKzm6Gy2+Lz3CLz3CL0HCLz3CLz3CLz3CLz3CMz3GLz3CKz3CLz3CL0HCJ0G+KznCN0HCL0HCLz3CKz3CLz3CLz3CLz3CMz3CLz3CLz3GL0XCL0HCN0XKLz3CLz3CMz3CLz3CM0HCM0G+FzHCLz3CKz3CMz3CLz3Bod5CFAAAAK3RSTlMA18RAOQ3s8+Pc0rmyq3tpiUwTgBnovyDMjmNSRjUvJQX5yKB0WisKppuUFLaY7gAAAotJREFUeNrtm+FymkAUhc8KqIAgSkyUtkmsmqa97/9+HWeSudpCd8qZ7E0m+73A9/1gxmXx4IK0nbipvDFTN2lT9JDVToLh6gx/sHQSFLfEFZUEp8IFczFgrv5CTChe/TsxYvfy/IkZy7M/c2KGywDUYkgNIBdDciARUxI0YkqDiZgygRNTHKZiyhRiTAyIATEgBsSAGBADYsAnCJgdmtIywKUAOrsA94QzJyKA95/pbALcPV7piADGryzDB+Rnv3IkAhi/UhMBjF9pQwbk3/A3JRXA+7GjAng/DqEC5v3+dMYE8P6nQsIEzFOPnw7g/QpC+R8K4QJ4f5iAzaA/TMAm6fdvZQgY+wW2fn9A0a66Bee/2xLH8kp/Rr1MB/3jAxaP0ALCPzagzPBCM9r/XcYH3K4BLfD4vw75xwdMbqB4CmaD/vEB2ztc0RD+MQHFg+c85fffDPv9AbPUd6Lz+ydCBDyjh1//6WcCGngK1L8a8lMBJTwFfj8XIC16+SnX7Af9bIDUngLSrwFEwaD/VogA5YheDj7/Wv1MgL9g/8XjpwNk+c8Cyq8BYwqePX46QOkGCmi/BowrqFi/Bvg4wYv6y7e4Kz4Rfj5AnzY/WSlcwHAB5+cD9ivKzwfIbEX4qQA99RB+NkDfO4b5sRAigHjzpP0C6u6D9wuo2z/eL+DvXx8Zv4C4gVd/qABxCeFnApQT5+cDpOP8fICcLv2VxbfjlQZUNh+vU/XbBIj6jQLm9wDWlZgFyOaYHJ3Ix/gDQwyIATEgBsSAGODBfuBgPvEwH7m0YkqLVExJYfsQuPcwdjOf+5kPHoFKjKio0e3Hn90WUCyGt7v3Nf0GsjqXYOR1hh6SJsz8v0mg/AZRXmaRKXtJBwAAAABJRU5ErkJggg==)}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup .tui-full-calendar-popup-container{border:0;box-shadow:0 1px 6px #0003;border-radius:6px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup .tui-full-calendar-arrow-top .tui-full-calendar-popup-arrow-border{top:-8px;border-bottom-color:#d9d9d980}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-dropdown-menu{border-color:#e8e8e8;width:calc(100% - 14px)}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-icon.tui-full-calendar-ic-title,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-icon.tui-full-calendar-calendar-dot{display:none}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-icon.tui-full-calendar-ic-date{background-image:url(data:image/svg+xml;base64,PHN2ZyB0PSIxNjIzODU5NjcwNjA3IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjE2Mzg4IiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTk2MCAxMjhIODMzYzAtNTMtNDMtOTYtOTYtOTZoLTE2Yy01MyAwLTk2IDQzLTk2IDk2SDQwMGMwLTI2LjUtMTAuNy01MC41LTI4LjEtNjcuOUMzNTQuNSA0Mi43IDMzMC41IDMyIDMwNCAzMmgtMTZjLTUzIDAtOTYgNDMtOTYgOTZINjRjLTM1LjMgMC02NCAyOC42LTY0IDY0djczNmMwIDM1LjMgMjguNyA2NCA2NCA2NGg4OTZjMzUuMyAwIDY0LTI4LjcgNjQtNjRWMTkyYzAtMzUuNC0yOC43LTY0LTY0LTY0eiBtLTI3MSA4YzAtMjIuMSAxNy45LTQwIDQwLTQwczQwIDE3LjkgNDAgNDB2ODBjMCAyMi4xLTE3LjkgNDAtNDAgNDAtMTEgMC0yMS00LjUtMjguMy0xMS43QzY5My41IDIzNyA2ODkgMjI3IDY4OSAyMTZ2LTgweiBtLTQzMyAwYzAtMjIuMSAxNy45LTQwIDQwLTQwczQwIDE3LjkgNDAgNDB2ODBjMCAyMi4xLTE3LjkgNDAtNDAgNDAtMTEgMC0yMS00LjUtMjguMy0xMS43QzI2MC41IDIzNyAyNTYgMjI3IDI1NiAyMTZ2LTgweiBtNzA0IDc2MGMwIDE3LjctMTQuMyAzMi0zMiAzMkg5NmMtMTcuNyAwLTMyLTE0LjMtMzItMzJWNDQ4aDg5NnY0NDh6IiBwLWlkPSIxNjM4OSIgZmlsbD0iIzUxNTE1MSI+PC9wYXRoPjwvc3ZnPg==);background-size:contain}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-content{padding-left:0}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-popup-section{display:flex;justify-content:space-between;margin-bottom:10px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-popup-section .tui-full-calendar-popup-section-item{height:36px;line-height:34px;border-color:#e8e8e8;border-radius:4px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-popup-section .tui-full-calendar-popup-section-item input{height:34px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-title,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-title input{width:100%}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-start-date,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-end-date{width:210px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-start-date .tui-full-calendar-content,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-end-date .tui-full-calendar-content{padding-left:8px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-popup-location,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-private,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-allday,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-state{display:none}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .priority{color:#fff;padding:2px 4px;border-radius:4px;margin-right:6px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .overdue{color:#f5222d;background:#fff1f0;border:1px solid #ffa39e;padding:1px 3px;border-radius:4px;margin-right:6px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .tui-full-calendar-calendar-dot,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .tui-full-calendar-ic-priority{opacity:0}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .tui-full-calendar-ic-edit{top:-2px;background-image:url(data:image/svg+xml;base64,PHN2ZyB0PSIxNjIzODU5MzY4MTg5IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjExMTkiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNODMzLjQyODU3MTY4IDYySDE5MC41NzE0MjgzMmExMjguNTcxNDI4MzIgMTI4LjU3MTQyODMyIDAgMCAwLTEyOC41NzE0MjgzMiAxMjguNTcxNDI4MzJ2NjQyLjg1NzE0MzM2YTEyOC41NzE0MjgzMiAxMjguNTcxNDI4MzIgMCAwIDAgMTI4LjU3MTQyODMyIDEyOC41NzE0MjgzMmg2NDIuODU3MTQzMzZhMTI4LjU3MTQyODMyIDEyOC41NzE0MjgzMiAwIDAgMCAxMjguNTcxNDI4MzItMTI4LjU3MTQyODMyVjE5MC41NzE0MjgzMmExMjguNTcxNDI4MzIgMTI4LjU3MTQyODMyIDAgMCAwLTEyOC41NzE0MjgzMi0xMjguNTcxNDI4MzJ6IG02NC4yODU3MTQxNiA3NzEuNDI4NTcxNjhhNjQuMjg1NzE0MTYgNjQuMjg1NzE0MTYgMCAwIDEtNjQuMjg1NzE0MTcgNjQuMjg1NzE0MTZIMTkwLjU3MTQyODMyYTY0LjI4NTcxNDE2IDY0LjI4NTcxNDE2IDAgMCAxLTY0LjI4NTcxNDE2LTY0LjI4NTcxNDE2VjE5MC41NzE0MjgzMmE2NC4yODU3MTQxNiA2NC4yODU3MTQxNiAwIDAgMSA2NC4yODU3MTQxNy02NC4yODU3MTQxNmg2NDIuODU3MTQzMzVhNjQuMjg1NzE0MTYgNjQuMjg1NzE0MTYgMCAwIDEgNjQuMjg1NzE0MTYgNjQuMjg1NzE0MTd6IiBwLWlkPSIxMTIwIiBmaWxsPSIjNTE1MTUxIj48L3BhdGg+PHBhdGggZD0iTTE5MC41NzE0MjgzMiAyNTQuODU3MTQyNDhoNjQuMjg1NzE0MTZ2NjQuMjg1NzE1MDRIMTkwLjU3MTQyODMyek0zMTkuMTQyODU3NTIgMjU0Ljg1NzE0MjQ4aDQ1MHY2NC4yODU3MTUwNEgzMTkuMTQyODU3NTJ6TTE5MC41NzE0MjgzMiA0NDcuNzE0Mjg1ODRoNjQuMjg1NzE0MTZ2NjQuMjg1NzE0MTZIMTkwLjU3MTQyODMyek0zMTkuMTQyODU3NTIgNDQ3LjcxNDI4NTg0aDQ1MHY2NC4yODU3MTQxNkgzMTkuMTQyODU3NTJ6TTE5MC41NzE0MjgzMiA2NDAuNTcxNDI4MzJoNjQuMjg1NzE0MTZ2NjQuMjg1NzE0MTZIMTkwLjU3MTQyODMyek0zMTkuMTQyODU3NTIgNjQwLjU3MTQyODMyaDMyMS40Mjg1NzA4djY0LjI4NTcxNDE2SDMxOS4xNDI4NTc1MnoiIHAtaWQ9IjExMjEiIGZpbGw9IiM1MTUxNTEiPjwvcGF0aD48L3N2Zz4=)}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .tui-full-calendar-ic-delete{top:-2px;background-image:url(data:image/svg+xml;base64,PHN2ZyB0PSIxNjIzODU5MzMwMTc2IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9Ijc5MiIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik04OTIuMjg4IDI1NmgtMTkxLjE2OEEyMDIuMjQgMjAyLjI0IDAgMCAwIDUwOS42MzIgNjIuMDggMjAxLjIxNiAyMDEuMjE2IDAgMCAwIDMxOC44NDggMjU2SDEyOGMtMTguNjg4IDAtNjYuMDQ4LTQuMjI0LTY2LjA0OCAyNC43NjhDNjEuOTUyIDMyNy43NDQgMTA5LjM3NiAzMjAgMTI4IDMyMGg2NHY1MTJhMTQ2LjQ5NiAxNDYuNDk2IDAgMCAwIDEyNy40MjQgMTI4aDM4Mi4yNzJBMTUwLjAxNiAxNTAuMDE2IDAgMCAwIDgzMiA4MzJsLTMuMzkyLTUxMmg2NGMxOC4zNjggMCA2NS4wMjQgMS40NzIgNjUuMDI0LTM5Ljc0NEE3Mi4zODQgNzIuMzg0IDAgMCAwIDg5Mi4yODggMjU2ek01MDkuNjMyIDEyOC41MTJBMTM4LjE3NiAxMzguMTc2IDAgMCAxIDYzNy40NCAyNTZIMzgyLjU5MmExMzcuOTIgMTM3LjkyIDAgMCAxIDEyNy4wNC0xMjcuNDg4ek03NjggODMyYTk3Ljk4NCA5Ny45ODQgMCAwIDEtNjYuODggNjRIMzE4Ljg0OGE5My41NjggOTMuNTY4IDAgMCAxLTY0LTY0VjMyMEg3Njh2NTEyeiBtLTM4NS40MDgtNjRWNTEyYzAtMTguNDk2IDAuOTYtNjAuOTkyIDM2LjczNi02MC45OTIgMjcuMzI4IDAgMjYuNDk2IDQzLjAwOCAyNi45NDQgNjAuOTkydjI1NmMwIDE4LjQ5Ni02LjQgMjAuMDMyLTI0Ljk2IDIwLjAzMnMtMzguNzItMS41MzYtMzguNzItMjAuMDMyeiBtMTkxLjE2OCAwVjUxMmE2NCA2NCAwIDAgMSAyMy44MDgtNjAuOTkyYzQyLjQzMiAwIDM5LjM2IDQzLjAwOCAzOS44NzIgNjAuOTkydjI1NmMwIDE4LjQ5Ni0xOS41ODQgMjAuMDMyLTM3Ljk1MiAyMC4wMzJzLTI1Ljc5Mi0xLjUzNi0yNS43OTItMjAuMDMyeiIgcC1pZD0iNzkzIiBmaWxsPSIjNTE1MTUxIj48L3BhdGg+PC9zdmc+)}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .tui-full-calendar-popup-detail-item-separate{padding-left:22px}.page-calendar .calendar-box .calendar-wrapper .tui-datepicker{border-color:#e8e8e8}.page-calendar .calendar-box .calendar-wrapper .tui-datepicker .tui-calendar th,.page-calendar .calendar-box .calendar-wrapper .tui-datepicker .tui-calendar td{height:32px}.page-calendar .calendar-box .calendar-wrapper .tui-datepicker .tui-calendar .tui-calendar-prev-month.tui-calendar-date,.page-calendar .calendar-box .calendar-wrapper .tui-datepicker .tui-calendar .tui-calendar-next-month.tui-calendar-date{visibility:visible}.page-calendar .calendar-box .calendar-wrapper .tui-datepicker .tui-datepicker-body .tui-timepicker,.page-calendar .calendar-box .calendar-wrapper .tui-datepicker .tui-datepicker-footer .tui-timepicker{padding:16px 46px 16px 47px}.page-calendar .calendar-menu{position:absolute;top:2px;right:2px;z-index:-1;opacity:0}body.window-portrait .page-calendar .calendar-head .calendar-titbox .calendar-title{flex:1}body.window-portrait .page-calendar .calendar-head .calendar-titbox .calendar-arrow{margin-left:12px;margin-right:0}body.window-portrait .page-calendar .calendar-head .calendar-titbox .calendar-view{display:none}body.window-portrait .page-calendar .calendar-box{padding:0 24px 5px;-webkit-user-select:none;-moz-user-select:none;user-select:none}body.window-portrait .page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup{font-weight:400}body.window-portrait .page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-section-button>button .tui-full-calendar-icon{width:14px;height:14px;background-size:14px}body.window-portrait .page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-section-button>button .tui-full-calendar-content{font-size:14px}@media (max-width: 640px){body.window-portrait .page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-arrow{display:none}}.page-dashboard{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#fff}.page-dashboard .dashboard-wrapper{width:100%;height:auto;max-height:100%;display:flex;flex-direction:column;align-items:center}.page-dashboard .dashboard-wrapper .dashboard-warning{border-top:0;border-top-left-radius:0;border-top-right-radius:0;padding-right:14px;position:sticky;top:0}.page-dashboard .dashboard-wrapper .dashboard-warning>span{cursor:pointer}.page-dashboard .dashboard-wrapper .dashboard-hello,.page-dashboard .dashboard-wrapper .dashboard-desc,.page-dashboard .dashboard-wrapper .dashboard-block,.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-title,.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul{width:660px;max-width:80%;margin:0 auto}.page-dashboard .dashboard-wrapper .dashboard-hello{padding:6% 12px 0;color:#303133;font-size:24px;font-weight:600;word-wrap:break-word}.page-dashboard .dashboard-wrapper .dashboard-desc{display:flex;align-items:center;margin-top:18px;padding:0 12px;color:#888;font-size:13px}.page-dashboard .dashboard-wrapper .dashboard-desc .dashboard-load{display:flex;align-items:center;justify-content:center;width:14px;height:14px;margin:0 0 0 4px}.page-dashboard .dashboard-wrapper .dashboard-block{margin-top:18px;padding:0 12px;display:flex}.page-dashboard .dashboard-wrapper .dashboard-block>li{flex:1;flex-shrink:0;list-style:none;margin-right:24px;border-radius:8px;padding:16px 24px;background-color:#fa8e8c;display:flex;flex-direction:column;justify-content:center;cursor:pointer;transition:transform .3s ease-out 0s,box-shadow .3s ease-out 0s}.page-dashboard .dashboard-wrapper .dashboard-block>li:first-child{background-color:#6f9ef6}.page-dashboard .dashboard-wrapper .dashboard-block>li:last-child{background-color:#98de6e;margin-right:0}.page-dashboard .dashboard-wrapper .dashboard-block>li:hover{transform:translateY(-3px);box-shadow:0 2px 10px #fa8e8c}.page-dashboard .dashboard-wrapper .dashboard-block>li:hover:first-child{box-shadow:0 2px 10px #6f9ef6}.page-dashboard .dashboard-wrapper .dashboard-block>li:hover:last-child{box-shadow:0 2px 10px #98de6e}.page-dashboard .dashboard-wrapper .dashboard-block>li .block-title{color:#fff9;font-size:12px}.page-dashboard .dashboard-wrapper .dashboard-block>li .block-data{display:flex;align-items:center;padding-top:10px;line-height:1}.page-dashboard .dashboard-wrapper .dashboard-block>li .block-data .block-num{flex:1;color:#fff;font-weight:600;font-size:32px}.page-dashboard .dashboard-wrapper .dashboard-block>li .block-data .taskfont{color:#ffffffb3;font-size:20px}.page-dashboard .dashboard-wrapper .dashboard-list{width:100%;margin-top:48px;padding-bottom:6%}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ref{height:0}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-title{position:sticky;top:0;z-index:1;margin:0 auto;padding:0 12px;height:46px;line-height:46px;font-weight:600;font-size:15px;background-color:#fff}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul{margin:0 auto 18px;padding:6px 12px 0;overflow:hidden}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li{position:relative;list-style:none;display:flex;background:#F9FAFB;padding:12px;margin-bottom:8px;border-radius:6px;cursor:pointer;transition:box-shadow .3s ease-out 0s}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li:hover{box-shadow:0 0 6px #dfdfdf}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li.complete .item-title{opacity:.5;text-decoration:line-through}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li.complete .item-icon{display:none}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .priority-color{position:absolute;top:50%;transform:translateY(-50%);left:0;height:12px;width:2px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-select{flex-shrink:0;width:22px;height:22px;line-height:22px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-select .taskfont{color:#bbb;font-size:18px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title{flex:1;padding-left:6px;line-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span{font-size:12px;height:18px;min-width:20px;line-height:16px;padding:0 2px;border-radius:3px;color:#84c56a;border:1px solid #84C56A;display:inline-block;vertical-align:top;margin-top:3px;margin-right:3px;text-align:center}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span.start{background-color:#ff70701a;border-color:#ff70701a;color:#ff7070}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span.progress{background-color:#fc984b1a;border-color:#fc984b1a;color:#fc984b}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span.test{background-color:#2f99ec1a;border-color:#2f99ec1a;color:#2f99ec}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span.end{background-color:#0bc0371a;border-color:#0bc0371a;color:#0bc037}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-icon{display:flex;align-items:center;font-size:13px;margin-left:16px;height:22px;color:#aaa;cursor:pointer}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-icon .taskfont{font-size:13px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-icon>em{font-style:normal;margin-left:4px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-icon.overdue{color:#ed4014}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-icon.today{color:#f90}.page-dashboard .nopage{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.page-dashboard .nopage .nopage-icon{background-color:#f4f5f7;padding:20px;border-radius:50%}.page-dashboard .nopage .nopage-icon .ivu-icon{color:#d1d8dd;font-size:46px}.page-dashboard .nopage .nopage-text{margin-top:16px;color:#bec6cc;background-color:#f4f5f7;padding:4px 15px;border-radius:14px}.dashboard-load-enter-active{transition:opacity .3s ease;transition-delay:1s}.dashboard-load-leave-active{transition:opacity .2s ease;transition-delay:0s}.dashboard-load-enter,.dashboard-load-leave-to{opacity:0}body.window-touch .page-messenger .messenger-wrapper .messenger-select .messenger-list{-webkit-user-select:none;-moz-user-select:none;user-select:none}body.window-portrait .page-dashboard .dashboard-wrapper{display:block}body.window-portrait .page-dashboard .dashboard-wrapper .dashboard-hello,body.window-portrait .page-dashboard .dashboard-wrapper .dashboard-desc,body.window-portrait .page-dashboard .dashboard-wrapper .dashboard-block,body.window-portrait .page-dashboard .dashboard-wrapper .dashboard-list .dashboard-title,body.window-portrait .page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul{max-width:96%}body.window-portrait .page-dashboard .dashboard-wrapper .dashboard-block{display:block;margin-top:10px}body.window-portrait .page-dashboard .dashboard-wrapper .dashboard-block>li{margin:0 0 10px;padding:8px 12px}body.window-portrait .page-dashboard .dashboard-wrapper .dashboard-list{height:auto;padding-bottom:2px}body.window-portrait .page-dashboard .dashboard-wrapper .dashboard-list .scrollbar-content{overflow:visible}body.window-portrait .page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul{margin-bottom:36px;-webkit-user-select:none;-moz-user-select:none;user-select:none}body.window-portrait .page-dashboard .dashboard-wrapper .dashboard-warning{border-radius:0}.page-file{width:100%;height:100%;display:flex;flex-direction:column}.page-file .file-wrapper{flex:1;height:0;display:flex;flex-direction:column;position:relative}.page-file .file-wrapper .file-head{display:flex;align-items:center;padding-bottom:16px;margin:32px 32px 16px;border-bottom:1px solid #F4F4F5}.page-file .file-wrapper .file-head .file-nav{flex:1;display:flex;align-items:center}.page-file .file-wrapper .file-head .file-nav>h1{color:#303133;font-size:28px;font-weight:600}.page-file .file-wrapper .file-head .file-nav .file-refresh{display:none;cursor:pointer;margin-left:12px}.page-file .file-wrapper .file-head .file-nav .file-refresh>i{font-size:18px}.page-file .file-wrapper .file-head .file-nav:hover .file-refresh{display:block}.page-file .file-wrapper .file-head .file-status{flex-shrink:0;margin-left:22px;display:flex;align-items:center;cursor:pointer}.page-file .file-wrapper .file-head .file-status>button{color:#fff;background:#84C56A;border-color:#84c56a}.page-file .file-wrapper .file-head .file-search{flex-shrink:0;margin-left:22px;cursor:pointer}.page-file .file-wrapper .file-head .file-search .ivu-input-wrapper{width:auto;transform:translateZ(0)}.page-file .file-wrapper .file-head .file-search .ivu-input-wrapper .ivu-input{border-color:#dcdee2;width:0;padding-left:0;padding-right:30px;border-radius:16px;transition:all .3s}.page-file .file-wrapper .file-head .file-search .ivu-input-wrapper .ivu-input-suffix i{color:#606266}.page-file .file-wrapper .file-head .file-search.has-value .ivu-input-wrapper .ivu-input,.page-file .file-wrapper .file-head .file-search:hover .ivu-input-wrapper .ivu-input{width:160px;padding-left:14px}.page-file .file-wrapper .file-head .file-add{flex-shrink:0;margin-left:18px;cursor:pointer}.page-file .file-wrapper .file-head .file-add .taskfont{font-size:18px}.page-file .file-wrapper .file-navigator{display:flex;align-items:center;height:24px;line-height:24px;margin:0 32px}.page-file .file-wrapper .file-navigator>ul{display:flex;align-items:center;overflow:auto}.page-file .file-wrapper .file-navigator>ul>li{display:flex;list-style:none;align-items:center;padding-left:8px;font-size:14px;color:#84c56a;cursor:pointer}.page-file .file-wrapper .file-navigator>ul>li:last-child{color:#606266;cursor:default}.page-file .file-wrapper .file-navigator>ul>li+li:before{content:"\203a";margin-top:-2px;padding-right:8px;color:#606266;line-height:1;font-size:16px;font-weight:500;font-family:system-ui,sans-serif}.page-file .file-wrapper .file-navigator>ul>li .taskfont{padding-right:2px}.page-file .file-wrapper .file-navigator>ul>li>span{display:inline-block;max-width:180px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.page-file .file-wrapper .file-navigator>ul>li>span.readonly{transform:scale(.8);transform-origin:right center;border-radius:2px;line-height:20px;font-size:12px;padding:0 5px;color:#606266;background:#f7f7f7;border:1px solid #e8eaec}.page-file .file-wrapper .file-navigator .nav-load{margin-left:8px;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.page-file .file-wrapper .file-navigator .nav-load .common-loading{width:12px;height:12px}.page-file .file-wrapper .file-navigator .nav-refresh{margin-left:8px}.page-file .file-wrapper .file-navigator .ivu-btn{font-size:12px;margin-left:12px}.page-file .file-wrapper .file-navigator .file-shear{display:flex;align-items:center}.page-file .file-wrapper .file-navigator .file-shear>span{padding-right:3px}.page-file .file-wrapper .file-navigator .file-shear>em{display:inline-block;max-width:120px;font-style:normal;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.page-file .file-wrapper .file-navigator .flex-full{flex:1;margin-right:24px}.page-file .file-wrapper .file-navigator .only-checkbox{flex-shrink:0;display:flex;align-items:center;margin-right:14px;opacity:.9;height:30px}.page-file .file-wrapper .file-navigator .only-checkbox .ivu-checkbox-focus{box-shadow:none}.page-file .file-wrapper .file-navigator .switch-button{flex-shrink:0;display:flex;align-items:center;background-color:#fff;border-radius:6px;position:relative;transition:box-shadow .2s}.page-file .file-wrapper .file-navigator .switch-button:hover{box-shadow:0 0 10px #e6ecfa}.page-file .file-wrapper .file-navigator .switch-button:before{content:"";position:absolute;top:0;left:0;width:50%;height:100%;z-index:0;color:#84c56a;border-radius:6px;border:1px solid #84C56A;background-color:#84c56a1a;transition:left .2s}.page-file .file-wrapper .file-navigator .switch-button>div{z-index:1;width:32px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:6px;cursor:pointer;color:#606266}.page-file .file-wrapper .file-navigator .switch-button>div>i{font-size:17px}.page-file .file-wrapper .file-navigator .switch-button>div:first-child{color:#84c56a}.page-file .file-wrapper .file-navigator .switch-button.table:before{left:50%}.page-file .file-wrapper .file-navigator .switch-button.table>div:first-child{color:#606266}.page-file .file-wrapper .file-navigator .switch-button.table>div:last-child{color:#84c56a}.page-file .file-wrapper .file-drag{flex:1;height:0;display:flex;flex-direction:column;position:relative}.page-file .file-wrapper .file-drag .file-no{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;margin-bottom:5%;opacity:.8}.page-file .file-wrapper .file-drag .file-no>i{font-size:64px}.page-file .file-wrapper .file-drag .file-no>p{margin-top:18px;font-size:14px;font-weight:500;line-height:1}.page-file .file-wrapper .file-drag .file-table{flex:1;cursor:default;margin:16px 32px 32px}.page-file .file-wrapper .file-drag .file-table .ivu-table:before{display:none}.page-file .file-wrapper .file-drag .file-table .ivu-table .ivu-table-tip{opacity:.8}.page-file .file-wrapper .file-drag .file-table .ivu-table .ivu-table-tip span{font-size:14px;font-weight:500;line-height:1.8}.page-file .file-wrapper .file-drag .file-table .ivu-table .ivu-table-tip span:before{display:block;content:"\e60b";font-family:taskfont,"serif"!important;font-size:64px;font-style:normal;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:.2px}.page-file .file-wrapper .file-drag .file-table .ivu-table .ivu-table-overflowY,.page-file .file-wrapper .file-drag .file-table .ivu-table .ivu-table-overflowX{-webkit-overflow-scrolling:touch}.page-file .file-wrapper .file-drag .file-table .file-nbox{display:flex;align-items:center;position:relative}.page-file .file-wrapper .file-drag .file-table .file-nbox.shear{opacity:.38}.page-file .file-wrapper .file-drag .file-table .file-nbox .file-name{flex:1;width:0;display:flex;align-items:center;position:relative;margin-right:46px}.page-file .file-wrapper .file-drag .file-table .file-nbox .file-name:before{flex-shrink:0;content:"";width:22px;height:22px;margin-right:8px}.page-file .file-wrapper .file-drag .file-table .file-nbox .file-name .quick-edit{width:98%}.page-file .file-wrapper .file-drag .file-table .file-nbox .avatar-char{font-size:18px}.page-file .file-wrapper .file-drag .file-table .file-nbox .taskfont{color:#aaa;font-size:16px;margin:0 3px}.page-file .file-wrapper .file-drag .file-list{flex:1;padding:0 20px 20px;margin-top:16px;overflow:auto}.page-file .file-wrapper .file-drag .file-list>ul{display:grid;justify-content:space-between;grid-template-columns:repeat(auto-fill,100px);row-gap:2px;-moz-column-gap:12px;column-gap:12px}.page-file .file-wrapper .file-drag .file-list>ul>li{list-style:none;width:100px;height:124px}.page-file .file-wrapper .file-drag .file-list>ul .file-item{position:relative;border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;cursor:pointer}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-input{margin:11px 4px 4px;position:relative}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-input input{margin:0;padding:1px 5px;font-size:13px}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-input .file-load{position:absolute;top:0;right:6px;bottom:0;display:flex}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-input .file-load .common-loading{width:10px;height:10px}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-name{display:block;width:100%;line-height:16px;color:#606266;font-size:12px;text-align:center;margin:11px 0 5px;padding:0 4px;word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-check{opacity:0;position:absolute;top:1px;left:4px;transition:opacity .2s}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-check.file-checked{opacity:1}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-menu{opacity:0;position:absolute;top:2px;right:2px;transition:opacity .2s;display:flex}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-menu .ivu-icon{font-size:16px;color:#aaa;transition:color .2s;padding:2px 5px}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-menu .ivu-icon:hover{color:#606266}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-icon{flex-shrink:0;display:inline-block;width:64px;height:64px;margin-top:12px;position:relative}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-icon:before{position:absolute;top:0;left:0;right:0;bottom:0}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-icon .share-icon,.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-icon .share-avatar{position:absolute;right:0;bottom:0;background-color:#9acd7b;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;transform:scale(.9)}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-icon .share-icon .taskfont,.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-icon .share-avatar .taskfont{font-size:18px;color:#fff}.page-file .file-wrapper .file-drag .file-list>ul .file-item .file-icon .avatar-char{font-size:18px}.page-file .file-wrapper .file-drag .file-list>ul .file-item.shear{opacity:.38}.page-file .file-wrapper .file-drag .file-list>ul .file-item.highlight{background-color:#f4f5f7}.page-file .file-wrapper .file-drag .file-list>ul .file-item.operate,.page-file .file-wrapper .file-drag .file-list>ul .file-item:hover{background-color:#f4f5f7}.page-file .file-wrapper .file-drag .file-list>ul .file-item.operate .file-menu,.page-file .file-wrapper .file-drag .file-list>ul .file-item.operate .file-check,.page-file .file-wrapper .file-drag .file-list>ul .file-item:hover .file-menu,.page-file .file-wrapper .file-drag .file-list>ul .file-item:hover .file-check{opacity:1}.page-file .file-wrapper .file-drag .drag-over{position:absolute;top:0;left:0;right:0;bottom:0;z-index:3;background-color:#ffffffc7;display:flex;align-items:center;justify-content:center;margin:16px 32px 32px}.page-file .file-wrapper .file-drag .drag-over:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border:2px dashed #7b7b7b;border-radius:12px}.page-file .file-wrapper .file-drag .drag-over .drag-text{padding:12px;font-size:18px;color:#606266}.page-file .file-wrapper .file-menu{position:absolute}.page-file .file-upload-list{display:flex;width:380px;padding:14px 26px;border-radius:8px;border:1px solid #ebeef5;position:fixed;right:16px;bottom:16px;z-index:1;background-color:#fff;box-shadow:0 2px 12px #0000001a;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;overflow:hidden}.page-file .file-upload-list .upload-wrap{flex:1;width:100%}.page-file .file-upload-list .upload-wrap .title{font-weight:700;font-size:16px;color:#303133;margin:0}.page-file .file-upload-list .upload-wrap .title>em{padding-left:4px;font-style:normal;cursor:pointer;color:#2b85e4;font-size:12px;font-weight:400}.page-file .file-upload-list .upload-wrap .content{font-size:14px;line-height:21px;margin:12px 0 0;color:#606266;max-height:500px;max-width:100%;overflow-x:hidden;overflow-y:auto}.page-file .file-upload-list .upload-wrap .content>li{list-style:none;padding:4px 0;position:relative}.page-file .file-upload-list .upload-wrap .content>li .file-name{line-height:18px;padding-right:16px}.page-file .file-upload-list .upload-wrap .content>li .file-error{font-size:12px;color:red}.page-file .file-upload-list .upload-wrap .content>li .file-close{position:absolute;font-size:14px;top:7px;right:-1px;display:none;cursor:pointer}.page-file .file-upload-list .upload-wrap .content>li:hover .file-close{display:block}.page-file .file-upload-list .upload-wrap .close{position:absolute;top:18px;right:15px;cursor:pointer;color:#909399;font-size:16px}.page-file-dropdown-menu{max-height:none!important}.page-file-dropdown-menu .ivu-dropdown{width:100%}.page-file-dropdown-menu .ivu-dropdown .arrow-forward-item{display:flex;align-items:center;justify-content:space-between;margin-right:-6px;min-width:90px}.page-file-dropdown-menu .ivu-dropdown .arrow-forward-item .ivu-icon{opacity:.7}.page-file-dropdown-menu .file-item{display:flex;align-items:center;position:relative}.page-file-dropdown-menu .file-item:before{flex-shrink:0;content:"";width:20px;height:20px;margin-right:8px}.page-file-dropdown-menu .ivu-dropdown-menu .item-open{display:flex;align-items:center}.page-file-dropdown-menu .ivu-dropdown-menu .item-open .open-name{padding-left:4px;max-width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.page-file-share-form{display:flex;align-items:flex-end;margin-bottom:12px}.page-file-share-form .share-userid{flex:1}.page-file-share-form .share-userid .common-user-select{margin-top:10px}.page-file-share-form>div{flex-shrink:0}.page-file-share-form>div:last-child{margin-right:0}.page-file-share-items{border-top:1px solid #eee;margin-top:-12px;padding-top:24px}.page-file-share-title{margin-top:-8px;margin-bottom:14px;padding:0 2px}.page-file-share-list{max-height:500px;margin-bottom:26px;overflow:auto}.page-file-share-list>li{display:flex;align-items:center;margin-bottom:12px}.page-file-share-list>li .common-avatar{flex:1}.page-file-share-list>li .all-avatar{flex:1;display:flex;align-items:center}.page-file-share-list>li .all-avatar .avatar-text{width:32px;height:32px;line-height:32px}.page-file-share-list>li .all-avatar .avatar-name{margin-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-file-share-list>li .ivu-select{width:auto;flex-shrink:0}.page-file-share-list>li .delete{color:red}.page-file-drawer .overlay-content{border-radius:20px 20px 0 0!important}body.window-portrait .page-file .file-wrapper .file-head{margin:24px 24px 16px}body.window-portrait .page-file .file-wrapper .file-navigator{margin:0 24px}body.window-portrait .page-file .file-wrapper .file-navigator .flex-full{margin-right:10px}body.window-portrait .page-file .file-wrapper .file-navigator .only-checkbox{margin-right:0}body.window-portrait .page-file .file-wrapper .file-drag .file-list{-webkit-user-select:none;-moz-user-select:none;user-select:none}body.window-portrait .page-file .file-wrapper .file-drag .file-list>ul{grid-template-columns:repeat(auto-fill,80px);grid-gap:4px}body.window-portrait .page-file .file-wrapper .file-drag .file-list>ul>li{width:80px}body.window-portrait .page-file .file-wrapper .file-drag .file-list>ul>li .file-check,body.window-portrait .page-file .file-wrapper .file-drag .file-list>ul>li .file-menu{display:none}body.window-portrait .page-file .file-wrapper .file-drag .file-list>ul>li:hover{background-color:transparent}body.window-portrait .page-file .file-wrapper .file-drag .file-list>ul>li.operate:hover{background-color:#f4f5f7}body.window-portrait .page-file .file-wrapper .file-drag .file-table{margin:16px 0 0}body.window-portrait .page-file .file-upload-list{bottom:86px}body.window-portrait .page-file-dropdown-menu .ivu-dropdown-menu .ivu-dropdown-item:hover{background:transparent}body.window-touch .page-file .file-wrapper .file-drag .file-list{-webkit-user-select:none;-moz-user-select:none;user-select:none}.page-login{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:#f8f8f8}.page-login .login-body{display:flex;flex-direction:column;align-items:center;padding:32px 0;width:100%;max-height:100%;overflow:auto}.page-login .login-body .login-logo{flex-shrink:0;width:84px;height:84px;background:url(/js/build/logo.060180f3.svg) no-repeat center center;background-size:contain}.page-login .login-body .login-logo.can-click{cursor:pointer}.page-login .login-body .login-box{flex-shrink:0;position:relative;margin-top:36px;width:400px;max-width:90%;border-radius:12px;background-color:#fff;box-shadow:0 0 10px #e6ecfa;overflow:hidden}.page-login .login-body .login-box .login-mode-switch{position:absolute;top:4px;right:4px;z-index:1;border-radius:8px;overflow:hidden}.page-login .login-body .login-box .login-mode-switch .login-mode-switch-box{width:80px;height:80px;transform:translate(40px,-40px) rotate(45deg);cursor:pointer;background-color:#84c56acc;transition:background-color .3s;overflow:hidden}.page-login .login-body .login-box .login-mode-switch .login-mode-switch-box:hover{background-color:#84c56a}.page-login .login-body .login-box .login-mode-switch .login-mode-switch-box .login-mode-switch-icon{position:absolute;font-size:32px;width:50px;height:50px;color:#fff;bottom:-20px;left:16px;transform:rotate(-45deg);display:flex;align-items:flex-start;justify-content:flex-start}.page-login .login-body .login-box .login-mode-switch .login-mode-switch-box .login-mode-switch-icon>svg{width:32px;height:32px;margin-left:13px;margin-top:3px}.page-login .login-body .login-box .login-title{font-size:24px;font-weight:600;text-align:center;margin-top:46px}.page-login .login-body .login-box .login-subtitle{font-size:14px;text-align:center;margin-top:12px;padding:0 12px;color:#aaa}.page-login .login-body .login-box .login-qrcode{display:flex;align-items:center;justify-content:center;margin:50px auto 51px}.page-login .login-body .login-box .login-access{margin:26px 40px 30px}.page-login .login-body .login-box .login-access>*{margin-top:26px}.page-login .login-body .login-box .login-access .ivu-input{border-color:#f1f1f1}.page-login .login-body .login-box .login-access .ivu-input[readonly=readonly]{background-color:#f5f5f5}.page-login .login-body .login-box .login-access .ivu-input-large{font-size:15px}.page-login .login-body .login-box .login-access .login-code .ivu-input-group-prepend,.page-login .login-body .login-box .login-access .login-code .ivu-input-group-append{font-size:16px;background:transparent;border-color:#f1f1f1}.page-login .login-body .login-box .login-access .login-code .ivu-input-group-prepend>span,.page-login .login-body .login-box .login-access .login-code .ivu-input-group-append>span{font-size:14px}.page-login .login-body .login-box .login-access .login-code .ivu-input-group-prepend{padding-right:0}.page-login .login-body .login-box .login-access .login-code .ivu-input{border-left-color:transparent;box-shadow:none}.page-login .login-body .login-box .login-access .login-code .login-code-end{margin:-6px -7px;height:38px;overflow:hidden;cursor:pointer}.page-login .login-body .login-box .login-access .login-code .login-code-end .code-load,.page-login .login-body .login-box .login-access .login-code .login-code-end .code-error{height:100%;display:flex;align-items:center;justify-content:center;width:20px;margin:0 20px}.page-login .login-body .login-box .login-access .login-code .login-code-end .code-error{width:auto;font-size:14px;opacity:.8}.page-login .login-body .login-box .login-access .login-code .login-code-end img{height:100%;min-width:60px}.page-login .login-body .login-box .login-access .login-switch{color:#aaa}.page-login .login-body .login-box .login-access>.ivu-poptip{width:100%}.page-login .login-body .login-box .login-access>.ivu-poptip>.ivu-poptip-rel{width:100%}.page-login .login-body .login-bottom{margin-top:18px;display:flex;align-items:center;width:388px;max-width:90%}.page-login .login-body .login-bottom .login-setting{flex-shrink:0;display:flex;align-items:center;cursor:pointer;color:#606266}.page-login .login-body .login-bottom .login-setting .taskfont{margin-top:1px;margin-left:3px;transform:scale(.8);font-size:12px}.page-login .login-body .login-bottom .login-setting-menu{display:flex;flex-direction:column}.page-login .login-body .login-bottom .login-setting-item{display:flex;align-items:center;justify-content:space-between}.page-login .login-body .login-bottom .login-setting-item .ivu-icon{color:#606266;padding-left:6px;margin-right:-6px}.page-login .login-body .login-bottom .login-forgot{flex:1;padding-left:24px;color:#aaa;text-align:right}.privacy-content{margin-bottom:12px;line-height:26px;font-size:16px}.privacy-content>p{text-indent:2rem}body.window-portrait .page-login .login-body{padding:0 0 110px}body.window-portrait .page-login .login-body .login-logo{margin-top:24px;width:76px;height:76px}body.window-portrait .page-login .login-body .login-box{margin-top:0;width:100%;max-width:460px;border-radius:12px;background-color:transparent;box-shadow:none}body.window-portrait .page-login .login-body .login-box .login-mode-switch{display:none}body.window-portrait .page-login .login-body .login-box .login-title{font-size:26px}body.window-portrait .page-login .login-body .login-box .login-subtitle{margin-top:4px}body.window-portrait .page-login .login-body .login-box .login-access{margin:20px 36px}body.window-portrait .page-login .login-body .login-box .login-access .ivu-input-large{height:44px}body.window-portrait .page-login .login-body .login-box .login-access .ivu-input-with-prefix{padding-left:40px}body.window-portrait .page-login .login-body .login-box .login-access .ivu-input-prefix,body.window-portrait .page-login .login-body .login-box .login-access .ivu-input-suffix{width:44px}body.window-portrait .page-login .login-body .login-box .login-access .ivu-input-wrapper-large .ivu-input-prefix i,body.window-portrait .page-login .login-body .login-box .login-access .ivu-input-wrapper-large .ivu-input-suffix i{font-size:20px;line-height:44px}body.window-portrait .page-login .login-body .login-box .login-access .ivu-input-wrapper-large .ivu-input-icon{height:44px;line-height:44px}body.window-portrait .page-login .login-body .login-box .login-access .login-code .ivu-input-group-prepend,body.window-portrait .page-login .login-body .login-box .login-access .login-code .ivu-input-group-append{font-size:18px;background:#ffffff}body.window-portrait .page-login .login-body .login-box .login-access .login-code .ivu-input-group-prepend .login-code-end,body.window-portrait .page-login .login-body .login-box .login-access .login-code .ivu-input-group-append .login-code-end{height:42px}body.window-portrait .page-login .login-body .login-box .login-access .login-code .ivu-input-group-prepend{padding-left:12px;padding-right:2px}body.window-portrait .page-login .login-body .login-bottom{margin-top:8px;width:100%;max-width:460px;padding:0 36px}.page-manage{position:absolute;top:0;left:0;right:0;bottom:0;display:flex}.page-manage.not-logged .manage-box-menu,.page-manage.not-logged .manage-box-main{display:none}.page-manage .manage-box-menu{position:relative;flex-grow:0;flex-shrink:0;width:255px;height:100%;background:#F4F5F7;display:flex;flex-direction:column;align-items:center;transition:all .2s}.page-manage .manage-box-menu .scrollbar-container{flex:1;width:100%;margin-top:16px;display:flex;flex-direction:column}.page-manage .manage-box-menu .menu-base{position:sticky;top:0;z-index:1;margin:0 auto;width:80%;background:#F4F5F7}.page-manage .manage-box-menu .menu-base ul{flex:1;width:100%;display:flex;flex-direction:column}.page-manage .manage-box-menu .menu-base ul>li{flex-shrink:0;display:flex;align-items:center;height:36px;color:#6b6e72;cursor:pointer;position:relative;width:100%;margin:5px auto;padding:0 4%;border-radius:4px}.page-manage .manage-box-menu .menu-base ul>li>i{opacity:.3;font-size:20px;margin-right:10px}.page-manage .manage-box-menu .menu-base ul>li .menu-title{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-manage .manage-box-menu .menu-base ul>li .menu-badge{margin-left:12px;transform:scale(.9)}.page-manage .manage-box-menu .menu-base ul>li:first-child{margin-top:12px}.page-manage .manage-box-menu .menu-base ul>li.active{background-color:#fff}.page-manage .manage-box-menu .menu-project{flex:1;display:flex;flex-direction:column;align-items:center;padding:12px 0 0;cursor:default;margin:0 auto;width:80%}.page-manage .manage-box-menu .menu-project>ul{width:100%}.page-manage .manage-box-menu .menu-project>ul>li{display:flex;flex-direction:column;list-style:none;cursor:pointer;width:100%;margin:2px auto;border:2px solid transparent}.page-manage .manage-box-menu .menu-project>ul>li .project-h1{position:relative;display:flex;align-items:center;justify-content:space-between;padding:0 8px 0 28px;border-radius:4px}.page-manage .manage-box-menu .menu-project>ul>li .project-h1>em{position:absolute;top:50%;left:2px;width:24px;height:24px;cursor:pointer;transform:translateY(-50%);display:flex;align-items:center;justify-content:center}.page-manage .manage-box-menu .menu-project>ul>li .project-h1>em:before{content:"";width:12px;height:12px;background:url(data:image/svg+xml;base64,PHN2ZyB0PSIxNjIyMzkwODExNTQxIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjI0OTk3IiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiPjxwYXRoIGQ9Ik0zNjYuMTgyNCAxMDguMjM2OEw4MTIuMDMyIDQyOC4wMzJhMTAyLjQgMTAyLjQgMCAwIDEgMCAxNjYuNTAyNEwzNjYuMTgyNCA5MTQuMzI5NmExMDIuNCAxMDIuNCAwIDAgMS0xNjIuMDk5Mi04My4yNTEyVjE5MS40ODhhMTAyLjQgMTAyLjQgMCAwIDEgMTYyLjA5OTItODMuMjUxMnoiIHAtaWQ9IjI0OTk4IiBmaWxsPSIjOTk5OTk5Ij48L3BhdGg+PC9zdmc+) no-repeat center center;background-size:contain;transition:transform .2s}.page-manage .manage-box-menu .menu-project>ul>li .project-h1 .title{flex:1;color:#303133;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:38px;line-height:38px}.page-manage .manage-box-menu .menu-project>ul>li .project-h1 .icon-top{padding-left:8px;width:14px;height:14px;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCiAgICAgeT0iMHB4IgogICAgIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjQgMjQ7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojOEJDRjcwO30KPC9zdHlsZT4wCiAgICA8cGF0aCBjbGFzcz0ic3QwIiBkPSJNMjAuNyw4LjFjLTEuNS0xLjUtNC40LTQuNC00LjQtNC40Yy0xLjItMS4yLTIuNS0xLjQtMy40LTAuN2MtMC41LDAuNC0wLjcsMC45LTAuOCwxLjRjLTAuMSwwLjUtMC40LDEtMC44LDEuMwoJbC0wLjEsMC4xYy0yLDEuNS00LjMsMi44LTYuOCwzLjJDMy45LDkuMiwzLjMsOS41LDMsMTBjLTAuNiwwLjktMC40LDIuMSwwLjMsMi45bDMuNCwzLjRjMCwwLDAsMCwwLDBsLTMuMSwzLjEKCWMtMC4zLDAuMy0wLjMsMC44LDAsMS4xYzAuMSwwLjEsMC4zLDAuMiwwLjUsMC4yYzAuMiwwLDAuNC0wLjEsMC41LTAuMmwzLjEtMy4xYzAsMCwwLDAsMCwwbDIuOSwyLjljMS4zLDEuMywyLjUsMS41LDMuNCwwLjkKCWMwLjQtMC4zLDAuNy0wLjcsMC45LTEuMmMwLjYtMi4zLDEuNC00LjYsMi44LTYuNWwwLjUtMC43YzAuMy0wLjQsMC44LTAuOCwxLjMtMC44YzAuNS0wLjEsMS4xLTAuMywxLjQtMC44CglDMjEuNywxMC4yLDIxLjUsOC45LDIwLjcsOC4xeiIvPgo8L3N2Zz4K) no-repeat center center;background-size:contain}.page-manage .manage-box-menu .menu-project>ul>li .project-h1 .num{padding-left:8px;font-size:12px}.page-manage .manage-box-menu .menu-project>ul>li .project-h2{display:none;margin:16px 4px;padding:0 8px 0 24px;cursor:default}.page-manage .manage-box-menu .menu-project>ul>li .project-h2>p{display:flex;align-items:center;padding:4px 0;height:36px}.page-manage .manage-box-menu .menu-project>ul>li .project-h2>p em,.page-manage .manage-box-menu .menu-project>ul>li .project-h2>p span{font-style:normal;font-size:12px;flex-shrink:0;padding-right:6px}.page-manage .manage-box-menu .menu-project>ul>li .project-h2>p .ivu-progress{margin-right:-18px}.page-manage .manage-box-menu .menu-project>ul>li .project-h2>p .ivu-progress .ivu-progress-inner{background-color:#e4e4e4}.page-manage .manage-box-menu .menu-project>ul>li.active .project-h1{background-color:#fff}.page-manage .manage-box-menu .menu-project>ul>li.open-menu .project-h1>em:before{transform:rotate(90deg)}.page-manage .manage-box-menu .menu-project>ul>li.open-menu .project-h2{display:block}.page-manage .manage-box-menu .menu-project>ul>li.operate{border-color:#84c56a}.page-manage .manage-box-menu .menu-project>ul>li.loading{display:flex;align-items:center;justify-content:center;padding:6px}.page-manage .manage-box-menu .menu-project>ul>li.loading .common-loading{margin:6px;width:22px;height:22px}.page-manage .manage-box-menu .operate-position{position:absolute;top:0;left:0;width:1px;opacity:0;visibility:hidden;pointer-events:none}.page-manage .manage-box-menu .manage-project-search{width:80%;padding:0 3px;margin:8px 0 -2px;border-radius:12px;background-color:#fff;overflow:hidden}.page-manage .manage-box-menu .manage-project-search .ivu-input{padding-left:30px;border-color:transparent;background-color:transparent}.page-manage .manage-box-menu .manage-project-search .ivu-input:hover,.page-manage .manage-box-menu .manage-project-search .ivu-input:focus{box-shadow:none}.page-manage .manage-box-menu .manage-project-search .search-pre{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.page-manage .manage-box-menu .manage-project-search .search-pre .common-loading{width:14px;height:14px;margin:0}.page-manage .manage-box-menu .manage-box-new-group{width:80%;margin-top:16px;margin-bottom:20px;display:flex;align-items:center}.page-manage .manage-box-menu .manage-box-new-group .manage-box-new{flex:1}.page-manage .manage-box-menu .manage-box-new-group .ivu-btn{height:38px}.page-manage .manage-box-menu .manage-box-new-group .ivu-dropdown .ivu-btn{min-width:auto!important;padding:0 4px;border-radius:0 4px 4px 0}.page-manage .manage-box-main{flex:1;position:relative}.page-manage .manage-box-main .manage-box-view{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto}.page-manage-menu-dropdown{flex-shrink:0}.page-manage-menu-dropdown.main-menu{width:86%}.page-manage-menu-dropdown .ivu-select-dropdown{padding:7px 0}.page-manage-menu-dropdown .ivu-select-dropdown .ivu-dropdown-item{padding:9px 16px}.page-manage-menu-dropdown .ivu-select-dropdown .ivu-dropdown-item-divided{margin-top:7px}.page-manage-menu-dropdown .ivu-select-dropdown .ivu-dropdown-item-divided:before{top:-9px}.page-manage-menu-dropdown .manage-box-title{display:flex;align-items:center;flex-shrink:0;padding:6px 10px;margin-top:27px;border-radius:8px;background-color:#fff;cursor:pointer;transition:box-shadow .3s}.page-manage-menu-dropdown .manage-box-title.menu-visible{box-shadow:0 1px 6px #0003}.page-manage-menu-dropdown .manage-box-title .manage-box-avatar{width:36px;height:36px}.page-manage-menu-dropdown .manage-box-title>span{flex:1;padding-left:12px;font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-manage-menu-dropdown .manage-box-title .manage-box-arrow{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-left:16px;padding-right:2px}.page-manage-menu-dropdown .manage-box-title .manage-box-arrow>i{font-size:12px;margin:-1px}.page-manage-menu-dropdown .manage-box-title .manage-box-top-report{overflow:unset;margin-right:-6px;align-items:center;flex-direction:column;justify-content:center;flex:0 0 auto}.page-manage-menu-dropdown .manage-box-title .manage-box-top-report>i{font-size:12px;margin:-1px}.page-manage-menu-dropdown .manage-box-title .manage-box-top-report .ivu-badge-dot{margin-right:4px}.page-manage-menu-dropdown .manage-menu-report-badge{margin-left:6px;transform:scale(.9);vertical-align:top}.page-manage-menu-dropdown .manage-menu-flex{display:flex;align-items:center;justify-content:space-between}.page-manage-menu-dropdown .manage-menu-flex .ivu-icon{color:#606266}.page-manage-menu-dropdown .task-title{max-width:600px;display:flex;align-items:center}.page-manage-menu-dropdown .task-title>span{flex-shrink:0;font-size:12px;height:18px;min-width:20px;line-height:16px;padding:0 2px;border-radius:3px;color:#84c56a;border:1px solid #84C56A;margin-right:6px}.page-manage-menu-dropdown .task-title>span.start{background-color:#ff70701a;border-color:#ff70701a;color:#ff7070}.page-manage-menu-dropdown .task-title>span.progress{background-color:#fc984b1a;border-color:#fc984b1a;color:#fc984b}.page-manage-menu-dropdown .task-title>span.test{background-color:#2f99ec1a;border-color:#2f99ec1a;color:#2f99ec}.page-manage-menu-dropdown .task-title>span.end{background-color:#0bc0371a;border-color:#0bc0371a;color:#0bc037}.page-manage-menu-dropdown .task-title .task-title-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-manage-add-task-button-group{margin-left:8px!important}.page-manage-add-task-button-group .ivu-dropdown .ivu-btn{min-width:auto!important;padding:0 4px;border-radius:0 4px 4px 0}@media (max-height: 640px){.page-manage .manage-box-menu .menu-base{position:relative}}body.window-touch .page-manage .manage-box-menu{-webkit-user-select:none;-moz-user-select:none;user-select:none}body.window-portrait .page-manage.show-tabbar .manage-box-main{margin-bottom:60px}body.window-portrait .page-manage .manage-box-menu{position:fixed;z-index:49;left:0;top:0;bottom:0;width:100%;transform:translate(-120%)}body.window-portrait .page-manage .manage-box-menu.show-mobile-menu{transform:translate(0)}.page-messenger{display:flex}.page-messenger .messenger-wrapper{flex:1;display:flex;align-items:flex-start;overflow:hidden}.page-messenger .messenger-wrapper .messenger-select{position:relative;height:100%;width:30%;min-width:240px;max-width:320px;flex-shrink:0;display:flex;flex-direction:column}.page-messenger .messenger-wrapper .messenger-select:after{content:"";position:absolute;top:0;right:0;height:100%;width:1px;background-color:#f4f5f5}.page-messenger .messenger-wrapper .messenger-select .messenger-search{display:flex;align-items:center;justify-content:center;height:54px;padding:0 12px;flex-shrink:0}.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper{flex:1;background-color:#f7f7f7;padding:0 8px;margin:0 4px;border-radius:12px;overflow:hidden}.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper .search-pre{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper .search-pre .common-loading{width:14px;height:14px;margin:0}.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper .ivu-input{border-color:transparent;background-color:transparent}.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper .ivu-input:hover,.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper .ivu-input:focus{box-shadow:none}.page-messenger .messenger-wrapper .messenger-select .messenger-nav{display:flex;align-items:center;padding:2px 10px 12px}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>div{flex:1;flex-shrink:0;display:flex;align-items:center;justify-content:center;line-height:1;padding:0 6px;color:#888;cursor:pointer}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>div.nav-menu{max-width:46px}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>div.nav-menu .nav-icon{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>div.nav-menu .nav-icon>i{font-size:16px}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>div .nav-title{position:relative}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>div .nav-title>em{font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>div .nav-title .nav-num{position:absolute;top:-12px;right:-8px;transform:scale(.7)}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>div.active{color:#555;font-weight:500}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>div:hover{color:#777}.page-messenger .messenger-wrapper .messenger-select .messenger-notify-permission{position:sticky;display:flex;align-items:center;padding:6px 12px;justify-content:space-between;background-color:#fef7ee;border:1px solid #FAE0B5;margin:8px 12px;border-radius:6px}.page-messenger .messenger-wrapper .messenger-select .messenger-list{flex:1;height:0;width:100%;overflow-x:hidden}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li{display:flex;flex-direction:row;align-items:flex-start;padding:16px 12px;position:relative;cursor:pointer;list-style:none}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .img-avatar,.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .user-avatar,.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .icon-avatar{width:42px;height:42px;margin:2px;flex-grow:0;flex-shrink:0}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .img-avatar{display:flex;align-items:center;justify-content:center}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .img-avatar>img{width:100%;height:100%}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .icon-avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:26px;background-color:#61b2f9;color:#fff}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .icon-avatar.department{background-color:#5bc7b0}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .icon-avatar.project{background-color:#6e99eb}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .icon-avatar.task{background-color:#9b96df;font-size:24px}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box{flex:1;width:0;display:flex;flex-direction:column;padding-left:12px}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:space-between;line-height:24px}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-title .todo,.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-title .mention,.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-title .bot{color:red;background-color:transparent;font-weight:600;flex-shrink:0;margin-right:4px;padding:0;height:auto;width:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-title .bot{color:#84c56a;font-size:16px;font-weight:400}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-title .ivu-tag{margin:0 4px 0 0;padding:0 5px}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-title .ivu-tag.ivu-tag-success{padding:0 6px}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-title>span{flex:1;color:#303133;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-title>i{flex-shrink:0;margin-left:8px;transform:scale(.9);font-size:12px;color:#84c56a}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-title>i.completed{font-size:18px;margin:0 4px 0 0;transform:scale(1)}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-title>em{flex-shrink:0;margin-left:8px;font-style:normal;color:#909399;font-size:12px}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text{color:#909399;font-size:12px;min-height:24px;line-height:24px;display:flex;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .last-draft,.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .common-avatar,.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .last-self{flex-shrink:0;padding-right:4px;margin-right:4px;position:relative;overflow:hidden}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .last-draft:after,.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .common-avatar:after,.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .last-self:after{content:":";position:absolute;top:50%;transform:translateY(-50%);right:0}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .last-draft{color:red}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .last-draft:after{color:#909399}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .common-avatar{flex-shrink:1}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .common-avatar .avatar-name{max-width:100%}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .last-text{flex:1;display:flex;align-items:center}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .last-text>em{flex-shrink:0;background-color:#90939940;height:20px;width:26px;line-height:20px;text-align:center;border-radius:10px;font-size:14px;font-style:normal;margin-right:4px}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .last-text>span{flex:1;width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text .last-silence{font-size:15px;padding-left:4px;color:#90939980}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-num{position:absolute;top:10px;left:58px;transform:scale(.8) translate(-100%)}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-line{display:none;position:absolute;bottom:0;right:0;left:68px;height:1px;background-color:#f2f2f2;transform:scaleY(.5)}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li:before{display:none;position:absolute;content:"";top:0;left:0;right:0;bottom:0;z-index:1;border:2px solid #84C56A;pointer-events:none}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li.top{background-color:#f4f5f7}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li.active{background-color:#eeeff1}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li.operate:before{display:block}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li.completed:after{content:"\f373";font-family:Ionicons,serif;pointer-events:none;position:absolute;bottom:0;right:12px;font-size:28px;color:#19be6b;opacity:.2;z-index:1}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li.completed .dialog-box .dialog-text{padding-right:36px}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li.nothing{justify-content:center;padding:24px;margin:0;border:0;line-height:22px;cursor:default;word-break:break-all}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li{list-style:none;margin-left:24px;position:relative}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li .label{padding-left:4px;margin-top:6px;margin-bottom:6px;height:34px;line-height:34px;position:relative}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li .label:after{content:"";position:absolute;bottom:0;right:0;left:0;height:1px;background-color:#f2f2f2;transform:scaleY(.5)}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li.nothing,.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li.loading{text-align:center;height:100%;margin:0;padding:24px;border-radius:0;line-height:22px}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li.loading{display:flex;align-items:flex-start;justify-content:center}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li.loading .common-loading{width:20px;height:20px;margin:1px}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li.loaded{margin:0;height:52px;display:flex;align-items:center;justify-content:center}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li>ul>li{list-style:none;display:flex;flex-direction:row;align-items:center;height:52px;cursor:pointer}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li>ul>li .avatar{flex-grow:0;flex-shrink:0;width:30px;height:30px}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li>ul>li .nickname{flex:1;width:0;padding-left:12px;font-size:14px;display:flex;align-items:center;justify-content:space-between;flex-flow:row wrap;align-content:flex-start}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li>ul>li .nickname>em{padding-right:12px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li>ul>li .nickname .tags{padding-right:12px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#909399}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li>ul>li .nickname .tags>span+span:before{content:", "}.page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts>li>ul>li .loading{margin-right:12px;width:16px;height:16px;display:flex;align-items:center;justify-content:center}.page-messenger .messenger-wrapper .messenger-select .messenger-list .operate-position{position:absolute;top:0;left:0;width:1px;opacity:0;margin-top:-4px;visibility:hidden;pointer-events:none}.page-messenger .messenger-wrapper .messenger-select .messenger-menu{display:flex;align-items:center;justify-content:center;height:52px;flex-shrink:0;border-top:1px solid #f4f5f5}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon{height:100%;display:flex;align-items:center;position:relative}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon .menu-num{position:absolute;top:4px;left:50%;margin-left:3px;transform:scale(.8)}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon>i{cursor:pointer;font-size:24px;margin:0 24px;color:#aaa;opacity:.9}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon>i.active{opacity:1;color:#84c56a}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon>i:hover{opacity:1}.page-messenger .messenger-wrapper .messenger-msg{flex:1;width:0;height:100%;display:flex;position:relative}.page-messenger .messenger-wrapper .messenger-msg .msg-dialog-bg{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.page-messenger .messenger-wrapper .messenger-msg .msg-dialog-bg .msg-dialog-bg-icon{background-color:#f4f5f7;padding:20px;border-radius:50%}.page-messenger .messenger-wrapper .messenger-msg .msg-dialog-bg .msg-dialog-bg-icon .ivu-icon{color:#d1d8dd;font-size:46px}.page-messenger .messenger-wrapper .messenger-msg .msg-dialog-bg .msg-dialog-bg-text{margin-top:16px;color:#bec6cc;background-color:#f4f5f7;padding:4px 15px;border-radius:14px}.messenger-nav-menu .messenger-nav-item{display:flex;align-items:center;min-width:80px}.messenger-nav-menu .messenger-nav-item.active .nav-title{font-weight:700}.messenger-nav-menu .messenger-nav-item .nav-title{flex:1;max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:12px}.messenger-nav-menu .messenger-nav-item .nav-num{transform:scale(.7);transform-origin:center right}body.window-touch .page-messenger .messenger-wrapper .messenger-select .messenger-list{-webkit-user-select:none;-moz-user-select:none;user-select:none}body.window-portrait .page-messenger .messenger-wrapper .messenger-select{position:fixed;top:0;left:0;width:100%;height:100%;max-width:none;background-color:#fff;z-index:48}body.window-portrait .page-messenger .messenger-wrapper .messenger-select:after{display:none}body.window-portrait .page-messenger .messenger-wrapper .messenger-select .messenger-search{background-color:#f8f8f8}body.window-portrait .page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper{background-color:#fff}body.window-portrait .page-messenger .messenger-wrapper .messenger-select .messenger-nav{background-color:#f8f8f8}body.window-portrait .page-messenger .messenger-wrapper .messenger-select .messenger-menu{border-top:0;height:60px;opacity:0}body.window-portrait .page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog{-webkit-user-select:none;-moz-user-select:none;user-select:none}body.window-portrait .page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .user-avatar .common-avatar:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:1}body.window-portrait .page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-line{display:block}body.window-portrait .page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li:last-child .dialog-line{display:none}body.window-portrait .page-messenger .messenger-wrapper .messenger-select .messenger-list ul.contacts{-webkit-user-select:none;-moz-user-select:none;user-select:none}body.window-portrait .page-messenger .messenger-wrapper .messenger-msg{display:none}body.window-portrait .messenger-nav-menu .messenger-nav-item{min-width:100px}.page-project{flex:1;display:flex;align-items:flex-start}.page-project .project-panel{flex:1;width:0;height:100%;background-color:#fafafa}.page-project .project-dialog{position:relative;height:100%;width:35%;min-width:320px;max-width:520px;flex-shrink:0}@media (max-height: 700px){.page-project .project-panel{height:auto;min-height:100%}.page-project .project-panel.gantt{height:100%}}.page-setting{display:flex;flex-direction:column}.page-setting .setting-head{display:flex;align-items:center;margin:32px 32px 16px;border-bottom:1px solid #F4F4F5}.page-setting .setting-head .setting-titbox{flex:1;margin-bottom:16px}.page-setting .setting-head .setting-titbox .setting-title{display:flex;align-items:center}.page-setting .setting-head .setting-titbox .setting-title>h1{flex:1;width:0;color:#303133;font-size:28px;font-weight:600;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.page-setting .setting-head .setting-titbox .setting-title .setting-more{display:none}.page-setting .setting-box{flex:1;height:0;display:flex;padding-bottom:16px}.page-setting .setting-box .setting-menu{width:200px;flex-shrink:0;border-right:1px solid #F4F4F5;overflow:auto}.page-setting .setting-box .setting-menu>ul{padding:12px 0 0 32px}.page-setting .setting-box .setting-menu>ul>li{cursor:pointer;color:#6b6e72;list-style:none;line-height:42px;padding:0 20px;margin:5px 0;position:relative;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.page-setting .setting-box .setting-menu>ul>li.flex{display:flex;align-items:center}.page-setting .setting-box .setting-menu>ul>li .ivu-badge{transform:scale(.8);transform-origin:right center}.page-setting .setting-box .setting-menu>ul>li.active,.page-setting .setting-box .setting-menu>ul>li:hover{background-color:#f4f5f7}.page-setting .setting-box .setting-menu>ul>li.divided{position:relative;margin-top:10px;padding-top:10px}.page-setting .setting-box .setting-menu>ul>li.divided:before{content:"";position:absolute;top:0;left:0;right:0;z-index:1;height:1px;background-color:#f4f4f5}.page-setting .setting-box .setting-menu>ul>li.divided:after{content:"";position:absolute;top:1px;left:0;right:0;z-index:2;height:9px;background-color:#fff}.page-setting .setting-box .setting-content{flex:1;overflow:hidden;position:relative;display:flex;flex-direction:column}.page-setting .setting-box .setting-content .setting-content-title{font-size:20px;font-weight:500;padding:12px 32px}.page-setting .setting-box .setting-content .setting-content-view{flex:1;position:relative}.page-setting .setting-box .setting-content .setting-content-view .setting-router-view{padding:24px 40px}.page-setting .setting-item .ivu-input,.page-setting .setting-item .ivu-select-default{max-width:460px}.page-setting .setting-item .ivu-form{overflow:auto}.page-setting .setting-item .setting-color,.page-setting .setting-item .setting-template{min-width:400px;max-width:600px;margin-bottom:12px}.page-setting .setting-item .setting-color>div,.page-setting .setting-item .setting-template>div{text-align:center;padding-right:12px}.page-setting .setting-item .setting-color>div:first-child,.page-setting .setting-item .setting-template>div:first-child{text-align:left}.page-setting .setting-item .setting-color>div:last-child,.page-setting .setting-item .setting-template>div:last-child{padding-right:0;width:60px;flex:auto;flex-shrink:0}.page-setting .setting-item .setting-color>div .ivu-color-picker,.page-setting .setting-item .setting-template>div .ivu-color-picker{width:100%}.page-setting .setting-item .setting-color .information,.page-setting .setting-item .setting-template .information{color:#909399}.page-setting .setting-item .setting-color.color-label-box .el-tooltip{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.page-setting .setting-item .setting-template>div{flex-shrink:0;text-align:left}.page-setting .setting-item .setting-template>div:last-child{flex:1;width:auto;max-width:none}.page-setting .setting-item .setting-footer{display:flex;align-items:center}.page-setting .setting-item .setting-footer>button{display:flex;align-items:center;justify-content:center;height:34px;line-height:32px;min-width:94px}.page-setting .setting-item .setting-footer>button>span{margin-left:6px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-setting .setting-item .setting-auto-day{display:block;width:110px;margin-top:12px;line-height:32px;margin-bottom:-10px}.page-setting .setting-item .setting-checkin-load{margin-bottom:12px}.page-setting .setting-item .setting-checkin-load .common-loading{width:20px;height:20px}.page-setting .setting-item .setting-checkin-lately>li{padding-bottom:8px}.page-setting .setting-item .setting-checkin-lately>li .time{font-weight:700}.page-setting .setting-item .setting-checkin-lately>li .content{font-size:13px;opacity:.7}.page-setting .setting-item .setting-checkin-row{overflow:auto}.page-setting .setting-item .setting-checkin-button{padding-bottom:4px;cursor:pointer;color:#2b85e4}.page-setting .setting-item .setting-checkin-button:hover{text-decoration:underline}.page-setting .setting-item.submit{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;padding:0!important}.page-setting .setting-item.submit .ivu-form{flex:1;padding:24px 40px;overflow:auto}.page-setting .setting-item.submit .ivu-tabs{flex:1;padding:16px 32px 0;display:flex;flex-direction:column}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content{flex:1;height:0}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane{position:relative}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item{position:absolute;top:0;left:0;right:0;bottom:0;flex:1;display:flex;flex-direction:column}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .ivu-form{padding:8px 12px}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .setting-footer{margin:0 -32px}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .block-setting-box{position:relative;padding:44px 24px 4px;margin:24px 0 12px;border-radius:8px;border:1px solid #eeeeee;transition:box-shadow .3s}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .block-setting-box:hover{box-shadow:0 0 10px #e6ecfa}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .block-setting-box h3{position:absolute;top:0;left:24px;padding:4px 10px;border-radius:4px;display:inline-block;background-color:#fff;border:1px solid #eeeeee;font-size:15px;font-weight:500;transform:translateY(-50%)}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .block-setting-box .form-box{overflow:auto}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .block-setting-box .ivu-form-item .ivu-form{padding:12px 0 0}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .block-setting-box .ivu-form-item .ivu-form .ivu-form-item{margin-bottom:8px}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .block-setting-box .ivu-form-item .ivu-form .ivu-form-item .ivu-form-item-content{display:flex;align-items:center}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .block-setting-placeholder{height:8px}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .export-data{margin-top:6px}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .export-data>p{cursor:pointer;color:#2b85e4}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-component-item .export-data>p:hover{text-decoration:underline}.page-setting .setting-item.submit .setting-footer{flex-shrink:0;position:static;padding:16px 24px 0;border-top:1px solid #F4F4F5}.page-setting .setting-item.submit .setting-input,.page-setting .setting-item.submit .setting-send-input{max-width:460px}.page-setting .setting-item.submit .setting-send-input .ivu-input-group-append{background-color:#ededed!important;border:1px solid #EDEDED!important;color:#999!important}.page-setting .setting-item.submit .setting-send-input .ivu-input-group-append:before{background:#EDEDED}.page-setting .setting-item.submit .setting-button{margin-left:8px}.page-setting .setting-item.submit .approve-row{padding:24px 40px;overflow:auto}.page-setting .setting-item.submit .approve-row .ivu-col{margin-bottom:8px}.page-setting .setting-item.submit .approve-row .ivu-col .approve-col-box{border-radius:8px;border:1px solid #eeeeee;transition:box-shadow .3s;cursor:pointer}.page-setting .setting-item.submit .approve-row .ivu-col .approve-col-box:hover{box-shadow:0 0 10px #e6ecfa}.page-setting .setting-item.submit .approve-row .ivu-col .approve-col-add{height:100%;font-size:48px;display:flex;justify-content:center;align-items:center;color:#ededed;min-height:95px}.page-setting .setting-item.submit .approve-row .ivu-col .approve-col-for{padding:16px 16px 13px;display:flex;flex-direction:column}.page-setting .setting-item.submit .approve-row .ivu-col .approve-col-for>p{display:flex;align-items:center}.page-setting .setting-item.submit .approve-row .ivu-col .approve-col-for .approve-button-box{display:flex;justify-content:space-between;align-items:center}.page-setting .setting-item.submit .approve-row .ivu-col .approve-col-for .approve-button-box>p{display:flex;align-items:center}.page-setting .setting-item.submit .approve-row .ivu-col .approve-col-for .approve-button-box>p>i{font-size:16px;margin-left:8px;color:#606266}.page-setting-delete-box .big-text{font-size:16px;font-weight:500;color:red}.page-setting-delete-box .small-text{margin-top:15px}.page-setting-delete-box .small-text>div{margin:10px 0}.page-setting-delete-box .button-box{text-align:center}body.window-portrait .page-setting .setting-head{margin:32px 32px 0}body.window-portrait .page-setting .setting-head .setting-titbox .setting-title .setting-more{display:flex;font-size:24px;width:42px;height:42px;align-items:center;justify-content:center}body.window-portrait .page-setting .setting-box{position:relative}body.window-portrait .page-setting .setting-box.show-mobile-box .setting-menu{transform:translate(0)}body.window-portrait .page-setting .setting-box .setting-menu{position:absolute;top:0;left:0;width:100%;height:100%;z-index:9;background-color:#fff;transform:translate(-120%)}body.window-portrait .page-setting .setting-box .setting-menu>ul{padding:12px 32px}body.window-portrait .page-setting .setting-box .setting-menu>ul>li{padding:0 8px}body.window-portrait .page-setting .setting-box .setting-menu>ul>li:hover{background-color:transparent}body.window-portrait .page-setting .setting-box .setting-content .setting-content-title{display:none}body.window-portrait .page-setting .setting-item .setting-footer>button{flex:1;height:40px;line-height:38px}.page-approve{width:100%;height:100%;display:flex;flex-direction:column}.page-approve .approve-wrapper{flex:1;height:0;display:flex;flex-direction:column;position:relative}.page-approve .approve-wrapper .approve-head{display:flex;align-items:center;padding-bottom:16px;margin:32px 20px 5px;border-bottom:1px solid #F4F4F5}.page-approve .approve-wrapper .approve-head .approve-nav{flex:1;display:flex;align-items:center}.page-approve .approve-wrapper .approve-head .approve-nav>h1{color:#303133;font-size:28px;font-weight:600}.page-approve .approve-wrapper .approve-main-search{display:flex;justify-content:space-between;margin:0 5px 10px}.page-approve .approve-wrapper .approve-main-search>div .ivu-dropdown{margin-right:8px}.page-approve .approve-wrapper .noData{text-align:center;line-height:150px}.page-approve .approve-wrapper .approve-mains{display:flex;flex:1 1 auto;height:calc(100vh - 190px);position:relative}.page-approve .approve-wrapper .approve-mains .approve-main-left{display:flex;flex-direction:column;flex:0 0 auto;position:absolute;left:0;top:0;bottom:12px;max-width:360px;width:100%}@media (max-width: 1010px){.page-approve .approve-wrapper .approve-mains .approve-main-left{max-width:100%}}.page-approve .approve-wrapper .approve-mains .approve-main-left .approve-main-list{display:flex;flex-direction:column;flex:1 1 auto;overflow:scroll}.page-approve .approve-wrapper .approve-mains .approve-main-left .approve-main-list .approve-list{margin-bottom:8px;padding:12px;border-radius:8px;border:1px solid #eeeeee;transition:box-shadow .3s;cursor:pointer}.page-approve .approve-wrapper .approve-mains .approve-main-left .approve-main-list .approve-list:hover{box-shadow:0 0 10px #e6ecfa}.page-approve .approve-wrapper .approve-mains .approve-main-left .approve-main-list .approve-list>h2{display:flex;align-items:center;justify-content:space-between}.page-approve .approve-wrapper .approve-mains .approve-main-left .approve-main-list .approve-list>h2>.list-name{font-size:14px;font-weight:700}.page-approve .approve-wrapper .approve-mains .approve-main-left .approve-main-list .approve-list>p{font-size:14px;margin-top:5px}.page-approve .approve-wrapper .approve-mains .approve-main-left .approve-main-list .approve-list>p>span{color:#303133}.page-approve .approve-wrapper .approve-mains .approve-main-left .approve-main-list .approve-list .list-member{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.page-approve .approve-wrapper .approve-mains .approve-main-left .approve-main-list .approve-list .list-member>span{display:flex;align-items:center;font-size:12px}.page-approve .approve-wrapper .approve-mains .approve-main-left .approve-main-list .approve-list .list-member>span .ivu-avatar{margin-right:8px}.page-approve .approve-wrapper .approve-mains .approve-main-left .approve-main-list .approve-list-active{border:1px solid #8bcf70}.page-approve .approve-wrapper .approve-mains .approve-main-left .approve-main-list::-webkit-scrollbar{display:none}.page-approve .approve-wrapper .approve-mains .approve-main-right{position:absolute;left:360px;top:0;right:0;bottom:0;flex:1 1 auto;display:flex;margin:0 0 12px 12px}@media (max-width: 1010px){.page-approve .approve-wrapper .approve-mains .approve-main-right{display:none}}.approve-details{flex:1 1 auto;display:flex;flex-direction:column;border:1px solid #eeeeee;background:#fff}.approve-details .approve-details-box{flex:1 1 auto;padding:24px;overflow-y:scroll}.approve-details .approve-details-box .approve-details-title{display:flex;align-items:center}.approve-details .approve-details-box .approve-details-title .ivu-tag{margin-left:8px}.approve-details .approve-details-box .approve-details-subtitle{margin-top:8px;display:flex}.approve-details .approve-details-box .approve-details-subtitle .ivu-avatar{margin-right:8px}.approve-details .approve-details-box .approve-details-subtitle>span{font-size:14px}.approve-details .approve-details-box .timeline-title{font-weight:700;padding-bottom:10px}.approve-details .approve-details-box .approve-details-text{margin-bottom:12px}.approve-details .approve-details-box .approve-details-text>h4{color:#999}.approve-details .approve-details-box .approve-details-text>p{font-size:14px;margin-top:2px;font-weight:500}.approve-details .approve-details-box .approve-details-text .img-body{display:flex;gap:10px;margin-top:3px}.approve-details .approve-details-box .approve-record-timeline{margin-top:20px}.approve-details .approve-details-box .approve-record-timeline .timeline-body{display:flex}.approve-details .approve-details-box .approve-record-timeline .approve-process-state{font-size:12px;color:#19be6b}.approve-details .approve-details-box .approve-record-timeline .approve-process-left{margin-left:10px;flex:1}.approve-details .approve-details-box .approve-record-timeline .approve-process-left .approve-process-desc{font-size:12px}.approve-details .approve-details-box .approve-record-timeline .approve-process-right{text-align:right}.approve-details .approve-details-box .approve-record-timeline>li:last-child{padding-bottom:0}.approve-details .approve-details-box .approve-record-timeline .finish .ivu-timeline-item-content{padding-bottom:0}.approve-details .approve-details-box .approve-record-comment{padding:10px 10px 0}.approve-details .approve-details-box .approve-record-comment .ivu-list-item>div:first-child{width:100%}.approve-details .approve-details-box .approve-record-comment .top{display:flex;gap:8px;width:100%}.approve-details .approve-details-box .approve-record-comment .top>div{flex:1}.approve-details .approve-details-box .approve-record-comment .time{font-size:12px;color:#a2a2a2}.approve-details .approve-details-box .approve-record-comment .content{margin-top:3px;padding-left:45px}.approve-details .approve-details-box .approve-record-comment .ivu-list-items>li:last-child{padding-bottom:0}.approve-details .approve-details-box .approve-details-text:nth-last-child(1){margin-bottom:0}.approve-details .approve-details-box .img-view{display:flex;max-width:60px;border-radius:5px}.approve-details .approve-details-box .approve-copy{margin-top:8px;display:flex}.approve-details .approve-details-box .approve-copy .approve-copy-member{display:flex;align-items:center;background:#F4F4F5;padding:2px 8px;border-radius:20px}.approve-details .approve-details-box .approve-copy .approve-copy-member .ivu-avatar{margin-right:4px}.approve-details .approve-details-box::-webkit-scrollbar{display:none}.approve-details .approve-operation{flex:0 0 auto;padding:0 24px;border-top:1px solid #F4F4F5;display:flex;align-items:center}.approve-details .approve-operation button{margin:10px 0 10px 10px}.approve-details .comment{margin-top:5px;margin-left:45px;font-size:12px}.approve-details .comment span{background-color:#eaeaea;border-radius:5px;padding:3px 10px;display:inline-block}.chat-input-box{display:inline-block;width:100%}.chat-input-box.record-ready .chat-input-wrapper .chat-toolbar>li.chat-send:before{transition:all .6s ease;transform:translate(-50%,-50%) scale(2)}.chat-input-box.record-progress .chat-input-wrapper .ql-container{opacity:0}.chat-input-box.record-progress .chat-input-wrapper .chat-toolbar>li.chat-send:before{transition:all .3s ease;transform:translate(-50%,-50%) scale(2.5)}.chat-input-box.record-progress .chat-input-wrapper .chat-toolbar>li.chat-record-recwave{visibility:visible;opacity:1;z-index:1}.chat-input-box.show-menu .chat-input-wrapper .chat-cover,.chat-input-box.show-more .chat-input-wrapper .chat-cover,.chat-input-box.show-emoji .chat-input-wrapper .chat-cover{display:block}.chat-input-box .chat-input-quick-emoji{position:absolute;top:4px;right:24px;width:0;height:0;visibility:hidden;z-index:-1}.chat-input-box .chat-input-wrapper{position:relative;display:inline-block;vertical-align:middle;width:100%}.chat-input-box .chat-input-wrapper .chat-quote{position:relative;padding:0 48px 8px 24px}.chat-input-box .chat-input-wrapper .chat-quote:after{content:"";position:absolute;top:0;left:12px;bottom:8px;width:3px;border-radius:2px;transform:scaleX(.8);transform-origin:left center;background-color:#84c56ab3}.chat-input-box .chat-input-wrapper .chat-quote .quote-label,.chat-input-box .chat-input-wrapper .chat-quote .common-avatar{font-weight:500;font-size:13px;color:#84c56a}.chat-input-box .chat-input-wrapper .chat-quote .quote-desc{font-size:13px;word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.chat-input-box .chat-input-wrapper .chat-quote i.taskfont{position:absolute;right:0;top:0;bottom:8px;z-index:1;font-size:16px;width:48px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .3s ease}.chat-input-box .chat-input-wrapper .chat-quote i.taskfont:hover{transform:rotate(-90deg);color:#303133}.chat-input-box .chat-input-wrapper .ql-container{display:block;float:left;width:auto;max-width:100%;min-width:calc(100% - 170px);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.chat-input-box .chat-input-wrapper .ql-container.ql-bubble:not(.ql-disabled) a{white-space:normal}.chat-input-box .chat-input-wrapper .ql-container .ql-editor{font-size:14px;max-height:200px;padding:0;margin:4px 7px;line-height:22px}.chat-input-box .chat-input-wrapper .ql-container .ql-editor img{max-width:150px;max-height:150px}.chat-input-box .chat-input-wrapper .ql-container .ql-editor ol,.chat-input-box .chat-input-wrapper .ql-container .ql-editor ul{padding-left:0}.chat-input-box .chat-input-wrapper .ql-container .ql-editor ol li:before,.chat-input-box .chat-input-wrapper .ql-container .ql-editor ul li:before{color:#08f;text-align:left;margin-right:.2em}.chat-input-box .chat-input-wrapper .ql-container .ql-editor ul li:before{font-weight:900}.chat-input-box .chat-input-wrapper .ql-container .ql-editor ol li:before{width:auto;min-width:1.2em}.chat-input-box .chat-input-wrapper .ql-container .ql-editor a:before,.chat-input-box .chat-input-wrapper .ql-container .ql-editor a:after{display:none}.chat-input-box .chat-input-wrapper .ql-container .ql-editor.ql-blank:before{left:7px;right:7px;color:#ccc;font-style:normal;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chat-input-box .chat-input-wrapper .ql-container .ql-editor .mention{-webkit-user-select:auto}.chat-input-box .chat-input-wrapper .ql-bubble .ql-tooltip{z-index:1}.chat-input-box .chat-input-wrapper .chat-toolbar{float:right;display:flex;align-items:center;justify-content:flex-end;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chat-input-box .chat-input-wrapper .chat-toolbar>li{width:30px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer}.chat-input-box .chat-input-wrapper .chat-toolbar>li .taskfont{display:inline-block;font-size:22px;line-height:30px}.chat-input-box .chat-input-wrapper .chat-toolbar>li .taskfont.disabled{opacity:.5}.chat-input-box .chat-input-wrapper .chat-toolbar>li.chat-send{width:48px;position:relative}.chat-input-box .chat-input-wrapper .chat-toolbar>li.chat-send:before{content:"";position:absolute;top:50%;left:50%;z-index:2;transform:translate(-50%,-50%) scale(1);border-radius:50%;background-color:#84c56a;width:36px;height:36px;transition:all .3s ease;opacity:1}.chat-input-box .chat-input-wrapper .chat-toolbar>li.chat-send .el-tooltip{height:30px}.chat-input-box .chat-input-wrapper .chat-toolbar>li.chat-send .taskfont{position:absolute;top:50%;left:50%;z-index:3;transform:translate(-50%,-50%) scale(1);transition:all .3s ease;color:#fff;font-size:20px}.chat-input-box .chat-input-wrapper .chat-toolbar>li.chat-send .chat-load{position:absolute;top:50%;left:50%;z-index:3;transform:translate(-50%,-50%) scale(1);display:flex;align-items:center;justify-content:center}.chat-input-box .chat-input-wrapper .chat-toolbar>li.chat-send .chat-load .common-loading{width:20px;height:20px}.chat-input-box .chat-input-wrapper .chat-toolbar>li.chat-record-recwave{position:absolute;top:0;left:0;z-index:-1;height:100%;width:100%;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;pointer-events:none;visibility:hidden;opacity:0}.chat-input-box .chat-input-wrapper .chat-toolbar>li.chat-record-recwave>div{flex:1;width:100%;max-height:46px;display:flex;flex-direction:column;justify-content:flex-end}.chat-input-box .chat-input-wrapper .chat-cover{display:none;position:absolute;top:0;left:0;right:48px;bottom:0;z-index:4}.chat-input-box .chat-emoji-wrapper .chat-emoji-box ul{width:auto;padding:8px 2px}.chat-input-box .chat-emoji-wrapper .chat-emoji-box ul:after{content:"";flex:auto}.chat-input-box .chat-emoji-wrapper .chat-emoji-box ul>li>img{transition:none}.chat-input-box .chat-emoji-wrapper .chat-emoji-box ul>li:hover>img{transform:none}.chat-input-box .chat-emoji-wrapper .chat-emoji-menu{width:100%;padding:3px 0;border-radius:8px;box-sizing:content-box}.chat-input-box .chat-emoji-wrapper .chat-emoji-menu>li{position:relative}.chat-input-box .chat-emoji-wrapper .chat-emoji-menu>li:before{display:none;content:"";position:absolute;top:50%;left:50%;width:36px;height:36px;border-radius:8px;transform:translate(-50%,-50%);background-color:#fff;z-index:1}.chat-input-box .chat-emoji-wrapper .chat-emoji-menu>li>span,.chat-input-box .chat-emoji-wrapper .chat-emoji-menu>li>img,.chat-input-box .chat-emoji-wrapper .chat-emoji-menu>li>i{position:static;z-index:2}.chat-input-box .chat-emoji-wrapper .chat-emoji-menu>li.active{background-color:transparent}.chat-input-box .chat-emoji-wrapper .chat-emoji-menu>li.active:before{display:block}.chat-emoji-wrapper{display:flex;flex-direction:column}.chat-emoji-wrapper .chat-emoji-emosearch{flex-shrink:0;padding:8px 8px 0}.chat-emoji-wrapper .chat-emoji-nav{flex-shrink:0;display:flex;align-items:center;overflow:auto;background:#f8f8f8}.chat-emoji-wrapper .chat-emoji-nav>div{position:relative;width:46px;height:40px;margin:auto;color:#5e6d82}.chat-emoji-wrapper .chat-emoji-nav>div.active{color:#84c56a}.chat-emoji-wrapper .chat-emoji-nav>div.active:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:#ffffff;border-top-left-radius:4px;border-top-right-radius:4px;z-index:1}.chat-emoji-wrapper .chat-emoji-nav>div>svg{fill:currentColor;position:absolute;top:50%;left:50%;width:18px;height:18px;transform:translate(-50%,-50%);z-index:2}.chat-emoji-wrapper .chat-emoji-box{display:flex;flex-direction:column;height:280px}.chat-emoji-wrapper .chat-emoji-box ul{flex:1;width:360px;height:0;display:grid;justify-content:space-between;grid-template-columns:repeat(auto-fill,40px);padding:8px;flex-wrap:wrap;word-break:break-all;box-sizing:content-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.chat-emoji-wrapper .chat-emoji-box ul>li{width:40px;height:40px;line-height:40px;font-size:22px;text-align:center;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chat-emoji-wrapper .chat-emoji-box ul>li>img{max-width:100%;max-height:100%;pointer-events:none;-webkit-touch-callout:none;transition:transform .3s}.chat-emoji-wrapper .chat-emoji-box ul>li:hover>img{transform:scale(1.4)}.chat-emoji-wrapper .chat-emoji-box ul.emoji>li:active{background-color:#eee;border-radius:8px}.chat-emoji-wrapper .chat-emoji-box ul.emosearch,.chat-emoji-wrapper .chat-emoji-box ul.emoticon{grid-template-columns:repeat(auto-fill,72px)}.chat-emoji-wrapper .chat-emoji-box ul.emosearch>li,.chat-emoji-wrapper .chat-emoji-box ul.emoticon>li{width:72px;height:72px;padding:8px}.chat-emoji-wrapper .chat-emoji-menu{width:376px;height:40px;line-height:40px;background-color:#f2f4f7;display:flex;align-items:center;overflow:auto}.chat-emoji-wrapper .chat-emoji-menu::-webkit-scrollbar{display:none}.chat-emoji-wrapper .chat-emoji-menu>li{list-style:none;cursor:pointer;display:flex;align-items:center;height:100%}.chat-emoji-wrapper .chat-emoji-menu>li.active{background-color:#fff}.chat-emoji-wrapper .chat-emoji-menu>li>span{padding:0 13px;font-size:22px}.chat-emoji-wrapper .chat-emoji-menu>li>i{width:48px;font-size:18px;text-align:center}.chat-emoji-wrapper .chat-emoji-menu>li>img{width:24px;height:24px;padding:0 12px;box-sizing:content-box}.chat-input-emoji-popover{padding:0;overflow:hidden}.chat-quick-emoji-popover{padding:0;overflow:hidden;min-width:100px}.chat-quick-emoji-wrapper{display:flex}.chat-quick-emoji-wrapper>li{width:90px;height:90px;display:flex;align-items:center;justify-content:center;cursor:pointer}.chat-quick-emoji-wrapper>li>img{width:72%;height:72%}.chat-input-more-popover{min-width:100px;padding:8px}.chat-input-more-popover .chat-input-popover-item{display:flex;align-items:center;font-size:14px;cursor:pointer;line-height:36px;padding:0 8px;border-radius:4px}.chat-input-more-popover .chat-input-popover-item:hover{background-color:#ecf5ff}.chat-input-more-popover .chat-input-popover-item .taskfont{font-size:20px;margin-right:8px}.chat-input-record-transfer{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9999;padding:14px 26px;color:#303133;background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #0003;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:all .3s ease}.chat-input-record-transfer .record-duration{font-size:20px;line-height:30px}.chat-input-record-transfer .record-loading{display:flex;align-items:center;justify-content:center;height:30px}.chat-input-record-transfer .record-loading .common-loading{width:24px;height:24px;margin:0;padding:0}.chat-input-record-transfer .record-cancel{margin-top:6px;opacity:.6}.chat-input-record-transfer.cancel{background-color:#ff6565;color:#fff}.chat-input-full-input .ivu-modal .ivu-modal-content{margin-top:46px;border-top-left-radius:18px!important;border-top-right-radius:18px!important}.chat-input-full-input .ivu-modal .ivu-modal-content .ivu-modal-body{overflow:visible;padding:24px!important}.chat-input-full-input .ivu-modal .ivu-modal-content .ivu-modal-close>i{top:3px;right:2px;font-size:24px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;background-color:#fff;border-radius:50%;color:#999}.chat-input-full-input .chat-input-box,.chat-input-full-input .chat-input-box .chat-input-wrapper{height:100%}.chat-input-full-input .chat-input-box .chat-input-wrapper .ql-container{height:100%;width:100%}.chat-input-full-input .chat-input-box .chat-input-wrapper .ql-container .ql-editor{max-height:none}.ql-mention-list-container{width:auto;min-width:220px;max-width:280px;max-height:360px;overflow-y:overlay}.ql-mention-list-container.task-mention .ql-mention-list>li:first-child{margin-top:0}.ql-mention-list-container.task-mention .ql-mention-list-item{line-height:36px}.ql-mention-list-container.task-mention .ql-mention-list-item .mention-item-disabled{padding:8px 4px 0}.ql-mention-list-container::-webkit-scrollbar{width:0;height:0}.ql-mention-list-container::-webkit-scrollbar-thumb{border:3px solid transparent;background-color:#0003;background-clip:content-box;border-radius:12px}.ql-mention-list-container::-webkit-scrollbar-thumb:hover{border:2px solid transparent;background-color:#0003}.ql-mention-list-container::-webkit-scrollbar-thumb:active{border:2px solid transparent;background-color:#0006}.ql-mention-list-container::-webkit-scrollbar-track{border-radius:12px;background:rgba(0,0,0,0)}.ql-mention-list-container:hover::-webkit-scrollbar{width:12px;height:12px}.ql-mention-list-container .ql-mention-list>li:first-child{margin-top:8px}.ql-mention-list-container .ql-mention-list>li:last-child{margin-bottom:8px}.ql-mention-list-container .ql-mention-list-item{padding:0 8px;display:flex;align-items:center;margin:0 8px}.ql-mention-list-container .ql-mention-list-item.selected{border-radius:4px}.ql-mention-list-container .ql-mention-list-item .mention-item-at{flex-shrink:0;width:28px;height:28px;line-height:28px;border-radius:50%;text-align:center;color:#fff;background-color:#84c56a;overflow:hidden}.ql-mention-list-container .ql-mention-list-item .mention-item-img{flex-shrink:0;position:relative;display:flex;align-items:center;justify-content:center}.ql-mention-list-container .ql-mention-list-item .mention-item-img>img{width:28px;height:28px;border-radius:50%;overflow:hidden}.ql-mention-list-container .ql-mention-list-item .mention-item-img>em{position:absolute;right:0;bottom:0;width:8px;height:8px;border-radius:50%;background-color:#f90;border:1px solid #ffffff;transform-origin:right bottom;z-index:1}.ql-mention-list-container .ql-mention-list-item .mention-item-img.online>em{background-color:#84c56a}.ql-mention-list-container .ql-mention-list-item .mention-item-bot{font-size:16px;margin-left:8px;margin-right:-5px;color:#84c56a}.ql-mention-list-container .ql-mention-list-item .mention-item-name{flex:1;padding:0 8px;font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ql-mention-list-container .ql-mention-list-item .mention-item-tip{flex-shrink:0;text-align:right;color:#8f8f8e;font-size:12px;font-style:normal;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ql-mention-list-container .ql-mention-list-item .mention-item-disabled{flex-shrink:0;color:#aaa;font-size:12px;padding:0 4px;line-height:40px}.chat-emoji-one-modal .ivu-modal-content{background:transparent;box-shadow:none}.chat-emoji-one-modal .ivu-modal-content .ivu-modal-close{display:none}.chat-emoji-one-modal .ivu-modal-content .ivu-modal-body .chat-emoji-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-width:94%;max-height:94%;background:white;border-radius:8px;overflow:hidden}body.window-portrait .chat-input-box .chat-input-quick-emoji{right:10px}body.window-portrait .chat-input-box .chat-input-wrapper{padding-left:6px;padding-right:6px;background-color:#fff}body.window-portrait .chat-input-box .chat-input-wrapper .ql-container .ql-editor{font-size:16px;color:#303133}body.window-portrait .chat-input-box .chat-emoji-wrapper{margin-top:8px;background-color:#fff}body.window-portrait .chat-input-box .chat-emoji-wrapper .chat-emoji-box{height:246px}body.window-portrait .chat-input-box .chat-emoji-wrapper .chat-emoji-box ul{grid-template-columns:repeat(auto-fill,50px)}body.window-portrait .chat-input-box .chat-emoji-wrapper .chat-emoji-box ul>li{width:50px;height:50px;line-height:50px;font-size:28px}body.window-portrait .chat-input-box .chat-emoji-wrapper .chat-emoji-box ul.emosearch,body.window-portrait .chat-input-box .chat-emoji-wrapper .chat-emoji-box ul.emoticon{grid-template-columns:repeat(auto-fill,80px)}body.window-portrait .chat-input-box .chat-emoji-wrapper .chat-emoji-box ul.emosearch>li,body.window-portrait .chat-input-box .chat-emoji-wrapper .chat-emoji-box ul.emoticon>li{width:80px;height:80px;padding:8px}body.window-portrait .chat-input-box .chat-emoji-wrapper .chat-emoji-menu{border-radius:0;background-color:#f8f8f8;padding:4px;width:calc(100% - 8px)}body.window-portrait .chat-input-box .chat-emoji-wrapper .chat-emoji-menu>li.active:before{background-color:#e1e1e1}.dialog-group-info{display:flex;flex-direction:column;position:absolute;top:10px;left:0;right:0;bottom:0}.dialog-group-info .group-info-title{color:#b7b1b1;margin:18px 24px 0}.dialog-group-info .group-info-value{margin:4px 24px 0;line-height:34px}.dialog-group-info .group-info-value .quick-text{padding:6px 0;height:auto;line-height:20px;box-sizing:content-box;overflow:visible;white-space:normal}.dialog-group-info .group-info-value .quick-input{display:flex;flex-direction:column}.dialog-group-info .group-info-search{margin:24px 24px 0}.dialog-group-info .group-info-button{display:flex;align-items:center;justify-content:center;margin:18px 24px;cursor:pointer}.dialog-group-info .group-info-button>button{margin:0 8px}.dialog-group-info .group-info-user{flex:1;overflow:auto;margin-top:12px;padding:0 12px}.dialog-group-info .group-info-user>ul>li{display:flex;align-items:center;list-style:none;padding:12px;height:56px;border-radius:6px}.dialog-group-info .group-info-user>ul>li:hover{background-color:#9093991a}.dialog-group-info .group-info-user>ul>li:hover .user-exit{opacity:1;transform:translate(0)}.dialog-group-info .group-info-user>ul>li.no{justify-content:center;color:#999}.dialog-group-info .group-info-user>ul>li.no:hover{background-color:transparent}.dialog-group-info .group-info-user>ul>li.no .common-loading{width:16px;height:16px}.dialog-group-info .group-info-user>ul>li .common-avatar{width:0;flex:1}.dialog-group-info .group-info-user>ul>li .common-avatar .avatar-name{margin-left:8px}.dialog-group-info .group-info-user>ul>li .user-tag{margin-left:4px;height:22px;line-height:22px;padding:0 6px;border-radius:3px;transform:scale(.9);transform-origin:right center;color:#fff;background-color:#84c56a}.dialog-group-info .group-info-user>ul>li .user-exit{display:flex;align-items:center;justify-content:flex-end;cursor:pointer;height:100%;width:32px;opacity:0;transform:translate(50%);transition:all .2s}.dialog-group-info .group-info-user>ul>li .user-exit:hover>i{color:#606266}.dialog-group-info .group-info-user>ul>li .user-exit>i{display:flex;align-items:center;justify-content:center;width:22px;height:22px;font-size:12px;color:#909399;border:1px solid #dddddd;border-radius:50%}body.window-portrait .dialog-group-info .group-info-user>ul>li:hover{background-color:transparent}body.window-portrait .dialog-group-info .group-info-user>ul>li .user-exit{opacity:1;transform:translate(0)}.dialog-respond{display:flex;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0}.dialog-respond .respond-title{text-align:center;height:56px;line-height:56px;border-bottom:1px solid #eeeeee;font-size:16px;font-weight:500;display:flex;align-items:center;justify-content:center}.dialog-respond .respond-title>em{font-style:normal;font-size:22px;margin-right:8px}.dialog-respond .respond-user{flex:1;overflow:auto;padding:6px}.dialog-respond .respond-user>ul>li{display:flex;align-items:center;list-style:none;padding:12px;border-radius:6px}.dialog-respond .respond-user>ul>li:hover{background-color:#9093991a}.dialog-respond .respond-user>ul>li .common-avatar{width:0;flex:1}.dialog-respond .respond-user>ul>li .common-avatar .avatar-name{margin-left:8px}body.window-portrait .dialog-respond .respond-user>ul>li:hover{background-color:transparent}.dialog-wrapper-dialogids .ivu-select-arrow{display:none!important}.dialog-wrapper-forward .forward-option{max-width:100%;display:flex;align-items:center}.dialog-wrapper-forward .forward-option .forward-avatar{display:flex;align-items:center}.dialog-wrapper-forward .forward-option .forward-avatar .icon-avatar{width:26px;height:26px;flex-grow:0;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:18px;background-color:#61b2f9;color:#fff}.dialog-wrapper-forward .forward-option .forward-avatar .icon-avatar.department{background-color:#5bc7b0}.dialog-wrapper-forward .forward-option .forward-avatar .icon-avatar.project{background-color:#6e99eb}.dialog-wrapper-forward .forward-option .forward-avatar .icon-avatar.task{background-color:#9b96df;font-size:16px}.dialog-wrapper-forward .forward-option .forward-name{margin-left:10px;flex:1;width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dialog-wrapper-forward .ivu-select-item.ivu-select-item-selected:after{top:8px}.dialog-wrapper-forward .forward-drop-prepend{text-align:center;color:#c5c8ce;line-height:20px;padding-bottom:5px;font-size:12px;border-bottom:1px solid #f1f1f1;margin-bottom:5px}.dialog-wrapper{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;background-color:#fff;z-index:1}.dialog-wrapper.record-ready{overflow:hidden}.dialog-wrapper.drawer-list{border-radius:18px 0 0 18px;overflow:hidden}.dialog-wrapper.drawer-list .dialog-nav .drawer-title{text-align:center;height:56px;line-height:56px;border-bottom:1px solid #eeeeee;font-size:16px;font-weight:500}.dialog-wrapper.drawer-list .dialog-scroller{padding:16px 20px 0}.dialog-wrapper.drawer-list .dialog-scroller .reply-item{border-bottom:1px solid #eeeeee;margin-bottom:16px}.dialog-wrapper.drawer-list .dialog-scroller .original-button{display:block;margin:0 auto;box-shadow:none}.dialog-wrapper.drawer-list .todo-button{flex-shrink:0;display:flex;align-items:center;justify-content:center;margin:18px 24px;cursor:pointer}.dialog-wrapper.drawer-list .todo-button>button{margin:0 8px}.dialog-wrapper .vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:overlay}.dialog-wrapper .dialog-nav{width:100%}.dialog-wrapper .dialog-nav .nav-wrapper{display:flex;align-items:center;padding:0 22px;height:68px;position:relative}.dialog-wrapper .dialog-nav .nav-wrapper:before{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background-color:#f4f5f5}.dialog-wrapper .dialog-nav .nav-wrapper.completed:after{content:"\f373";font-family:Ionicons,serif;pointer-events:none;position:absolute;top:50%;right:52px;transform:translateY(-50%);font-size:40px;color:#19be6b;opacity:.2;z-index:1}.dialog-wrapper .dialog-nav .nav-wrapper.completed .dialog-title{padding-right:52px}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block{flex:1;width:0;display:flex;align-items:center}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-avatar{flex-shrink:0;margin-right:12px}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-avatar .img-avatar,.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-avatar .user-avatar,.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-avatar .icon-avatar{width:42px;height:42px;margin-right:2px;flex-grow:0;flex-shrink:0}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-avatar .img-avatar{display:flex;align-items:center;justify-content:center}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-avatar .img-avatar>img{width:100%;height:100%}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-avatar .icon-avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:26px;background-color:#61b2f9;color:#fff}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-avatar .icon-avatar.department{background-color:#5bc7b0}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-avatar .icon-avatar.project{background-color:#6e99eb}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-avatar .icon-avatar.task{background-color:#9b96df;font-size:24px}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title{flex:1;width:0;display:flex;flex-direction:column;justify-content:center}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title{display:flex;align-items:center;line-height:22px;max-width:100%}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title .ivu-tag{flex-shrink:0;margin:0 6px 0 0;padding:0 5px;display:flex;align-items:center}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title .ivu-tag.ivu-tag-success{padding:0 6px}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title .ivu-tag.after{margin:0 0 0 6px}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title .ivu-tag.pointer{cursor:pointer}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title .ivu-icon{font-size:18px;margin-right:6px}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title .ivu-icon.completed{color:#84c56a}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title>h2{font-size:17px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title>em{display:inline-block;flex-shrink:0;font-style:normal;font-size:17px;font-weight:500;margin-left:6px;cursor:pointer}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title .load{flex-shrink:0;display:flex;align-items:center;justify-content:center;margin-left:6px}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title .load .common-loading{width:16px;height:16px}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-desc{display:none;align-items:center}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-desc>li{font-size:12px;list-style:none;line-height:16px;padding-top:2px;color:#aaa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;transform:scale(.9)}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-desc>li.online{color:#84c56a}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags{display:flex;align-items:center}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li{font-size:12px;list-style:none;line-height:24px;margin-top:4px;margin-right:6px;margin-bottom:-6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;display:flex;align-items:center;padding:0 6px;color:#303133;border-radius:5px}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li>i{flex-shrink:0;width:14px;height:14px;line-height:14px;font-size:14px;margin-right:4px;background-repeat:no-repeat;background-size:contain;background-position:center center}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li.file i{background-image:url(/js/build/file.3e98845a.svg)}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li.image i{background-image:url(/js/build/image.d3eec0cd.svg)}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li.link i{background-image:url(/js/build/link.5b1cd276.svg)}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li.msg i{background-image:url(/js/build/msg.d43597ba.svg)}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li.tag i{background-image:url(/js/build/tag.d5e85a3b.svg)}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li.project i{background-image:url(/js/build/project.91434d04.svg)}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li.task i{background-image:url(/js/build/task.19dff412.svg)}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li.active{font-weight:500;color:#84c56a;background-color:#84c56a2e}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-back,.dialog-wrapper .dialog-nav .nav-wrapper .dialog-menu{font-size:22px;color:#606266}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-menu{margin-right:-22px}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-menu .dialog-menu-icon{cursor:pointer;margin:0 22px;font-size:22px;color:#606266}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-back{display:none;cursor:pointer}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-search{position:absolute;top:0;left:0;right:0;bottom:1px;z-index:2;background-color:#fff;display:flex;align-items:center}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-search .search-location{margin-left:14px;display:flex;align-items:center}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-search .search-location>i{cursor:pointer;font-size:18px;padding:0 6px}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-search .search-input{flex:1;margin-left:12px;border-radius:12px;background-color:#f7f7f7;overflow:hidden;position:relative;display:flex;align-items:center}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-search .search-input .search-pre{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-search .search-input .search-pre .common-loading{width:14px;height:14px;margin:0}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-search .search-input .ivu-input{border-color:transparent;background-color:transparent}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-search .search-input .ivu-input:hover,.dialog-wrapper .dialog-nav .nav-wrapper .dialog-search .search-input .ivu-input:focus{box-shadow:none}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-search .search-input .search-total{padding-right:12px}.dialog-wrapper .dialog-nav .nav-wrapper .dialog-search .search-cancel{cursor:pointer;padding:0 18px;color:#84c56a}.dialog-wrapper .dialog-scroller{flex:1;position:relative;padding:16px 32px 0}.dialog-wrapper .dialog-scroller.scrollbar-virtual{overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.dialog-wrapper .dialog-scroller .dialog-item{display:flex;flex-direction:row;align-items:flex-start;list-style:none;padding-bottom:16px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-tag,.dialog-wrapper .dialog-scroller .dialog-item .dialog-todo,.dialog-wrapper .dialog-scroller .dialog-item .dialog-notice{font-size:12px;max-width:80%;margin:0 auto;padding:4px 8px;border-radius:8px;color:#909399;background-color:#efefef;word-wrap:break-word}.dialog-wrapper .dialog-scroller .dialog-item .dialog-tag{cursor:pointer}.dialog-wrapper .dialog-scroller .dialog-item .dialog-tag .tag-user{display:inline-block}.dialog-wrapper .dialog-scroller .dialog-item .dialog-todo{cursor:pointer}.dialog-wrapper .dialog-scroller .dialog-item .dialog-todo .todo-users{display:inline-block}.dialog-wrapper .dialog-scroller .dialog-item .dialog-todo .todo-users>div+div{padding-left:8px;position:relative}.dialog-wrapper .dialog-scroller .dialog-item .dialog-todo .todo-users>div+div:before{content:"\3001";position:absolute;left:0;bottom:0}.dialog-wrapper .dialog-scroller .dialog-item .dialog-todo .todo-user{display:inline-block}.dialog-wrapper .dialog-scroller .dialog-item .dialog-avatar{position:relative;margin-bottom:20px;flex-shrink:0;width:30px;height:30px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 0 8px;position:relative}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view.text{max-width:70%}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view.operate-action .dialog-head{box-shadow:0 1px 6px #0003}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-username{max-width:100%;height:22px;margin-bottom:6px;opacity:.8}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head{display:flex;flex-direction:column;background-color:#f4f5f7;padding:8px;min-width:32px;border-radius:2px 8px 8px;transition:box-shadow .3s ease;max-width:100%}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head.transparent{background-color:transparent!important}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-reply{position:relative;padding-left:9px;margin-bottom:4px;cursor:pointer}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-reply:after{content:"";position:absolute;top:0;left:0;bottom:0;width:3px;border-radius:2px;transform:scaleX(.8);transform-origin:left center;background-color:#84c56ab3}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-reply .common-avatar{font-weight:500;font-size:13px;color:#84c56a}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-reply .reply-desc{font-size:13px;word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-reply .reply-desc .image-preview{max-width:40px;max-height:40px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content{display:flex;align-items:flex-start;position:relative}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content.an-emoji .content-text>pre{font-size:72px;line-height:1}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content.two-emoji .content-text>pre{font-size:52px;line-height:1;letter-spacing:4px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content.three-emoji .content-text>pre{font-size:32px;line-height:1;letter-spacing:4px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text{color:#303133;padding:2px;max-width:100%}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text .no-size-image-box{display:inline-block;max-width:220px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre{display:block;margin:0;padding:0;line-height:20px;white-space:pre-wrap;word-wrap:break-word;word-break:break-word;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre a{color:#436ff6}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre ol li,.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre ul li{list-style-type:none}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre ol li:before,.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre ul li:before{display:inline-block;white-space:nowrap;width:1.2em;color:#08f;text-align:left;margin-right:.2em}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre ul li:before{content:"\2022";font-weight:900}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre ol li:before{width:auto;min-width:1.2em;content:counter(list-0,decimal) ". "}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre pre{white-space:pre-wrap;margin:5px 0;padding:5px 10px;border-radius:3px;background-color:#23241f;color:#f8f8f2;overflow:visible}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre img{cursor:pointer;max-width:100%;max-height:220px;vertical-align:bottom}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre img.emoticon{max-width:100%;max-height:150px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .mention{color:#0bc037;background-color:transparent;-webkit-user-select:inherit;-moz-user-select:inherit;user-select:inherit;padding:0;margin:0}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .mention>span{margin:0}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .mention.task{cursor:pointer}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .mention.file,.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .mention[data-denotation-char="~"]{color:#436ff6!important}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .mention.me{font-size:13px;font-weight:600;padding:3px 4px;color:#fff;background-color:#84c56a}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .open-approve-details{width:245px;display:inline-block;max-width:100%}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .open-approve-details .cause{border-bottom:1px solid #e3e3e3;border-top:1px solid #e3e3e3;padding-bottom:10px;margin-top:10px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .open-approve-details .cause>span:first-child{display:inline-block;padding:15px 0}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .open-approve-details .cause>b{display:inline-block;margin-bottom:5px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .open-approve-details .cause>span{display:inline-block;margin-bottom:3px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .open-approve-details .btn-raw{display:flex;text-align:center;padding:12px 0 5px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .open-approve-details .btn-raw>button.ivu-btn{flex:1}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .open-approve-details .btn-raw>button.ivu-btn-primary{margin-right:12px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre .open-approve-details .btn-raw>button.ivu-btn-small{height:32px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-file.file{display:inline-block}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-file.file .file-box{background-color:#fff;display:flex;align-items:center;padding:10px 14px;border-radius:3px;width:220px;cursor:pointer}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-file.file .file-box .file-thumb{width:36px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-file.file .file-box .file-info{margin-left:12px;display:flex;flex-direction:column;justify-content:center}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-file.file .file-box .file-info .file-name{color:#303133;font-size:14px;line-height:18px;word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-file.file .file-box .file-info .file-size{padding-top:4px;color:#606266;font-size:14px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-file.img{padding:0;display:flex;max-width:220px;max-height:220px;border-radius:6px;overflow:hidden}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-file.img .file-img{display:flex;cursor:pointer}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-record{display:flex;color:#303133}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-record .dialog-record{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-content:center;line-height:24px;cursor:pointer}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-record .dialog-record .record-time{padding:0 0 0 4px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-record .dialog-record .record-icon{transform:rotate(180deg) scale(.9)}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-record .dialog-record .record-icon:before{content:"\e793"}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-record .dialog-record.playing .record-icon:before{animation:record-playing 1s infinite}@keyframes record-playing{0%{content:"\e793"}33%{content:"\e791"}66%{content:"\e792"}to{content:"\e793"}}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-meeting{padding:4px 6px;color:#303133}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-meeting .dialog-meeting{min-width:220px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-meeting .dialog-meeting>li{list-style:none;display:flex;flex-direction:column;align-items:flex-start;margin-bottom:16px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-meeting .dialog-meeting>li.meeting-operation{margin-bottom:0;padding:12px 0 0;display:flex;flex-direction:row;align-items:center;font-size:12px;position:relative;cursor:pointer}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-meeting .dialog-meeting>li.meeting-operation:hover .taskfont{padding-left:4px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-meeting .dialog-meeting>li.meeting-operation:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background-color:#cccc;transform:scaleY(.5)}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-meeting .dialog-meeting>li.meeting-operation .taskfont{font-size:12px;padding-left:2px;transform:scale(.8);transition:all .2s}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-meeting .dialog-meeting>li>em{font-style:normal;font-weight:700;padding-bottom:2px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-loading{display:flex}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-loading>i{font-size:20px;margin:2px;color:#303133}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-loading .common-loading{width:20px;height:20px;margin:4px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-unknown{text-decoration:underline;color:#303133}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji{display:flex;flex-wrap:wrap;align-items:center}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li{list-style:none;display:flex;align-items:flex-start;padding:2px 8px;margin-top:6px;margin-right:8px;border-radius:14px;line-height:22px;cursor:pointer;background-color:#e1e1e180}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li.hasme{background-color:#e1e1e1}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li .emoji-symbol{font-size:16px;transition:transform .3s}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li .emoji-symbol:hover{transform:scale(1.5)}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li .emoji-users{position:relative;padding-left:6px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li .emoji-users>ul{display:flex;flex-wrap:wrap;align-items:center}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li .emoji-users>ul>li{display:flex;align-items:center;list-style:none;color:#818181;font-size:12px;height:22px;line-height:22px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li .emoji-users>ul>li.bold{font-weight:600}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li .emoji-users>ul>li:after{content:"\3001"}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li .emoji-users>ul>li:last-child:after{display:none}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot{display:flex;align-items:center;padding-top:4px;height:21px;line-height:1}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .error{cursor:pointer;color:#ed4014}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .error>i{font-size:14px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .common-loading{margin:0 2px;width:10px;height:10px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .popover-reference{position:absolute;left:65%;bottom:0;width:0;height:100%;pointer-events:none}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .tag,.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .todo,.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .reply,.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .modify{display:flex;align-items:center;margin-right:6px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .tag>i,.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .todo>i,.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .reply>i,.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .modify>i{font-size:13px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .todo{position:relative;cursor:pointer}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .todo .common-loading{margin:0 3px 0 0}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .reply{font-size:12px;color:#84c56a;cursor:pointer}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .reply>i{padding-right:2px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .time{color:#bbb;font-size:12px}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .done{display:none;margin-left:4px;transform:scale(.9);font-size:12px;color:#84c56a}.dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-foot .percent{display:none;margin-left:4px;align-items:center;position:relative;cursor:pointer}.dialog-wrapper .dialog-scroller .dialog-item .dialog-action{align-self:flex-start;display:flex;align-items:flex-start;height:100%}.dialog-wrapper .dialog-scroller .dialog-item .dialog-action>*{margin:0 5px}.dialog-wrapper .dialog-scroller .dialog-item.loading{height:20px;box-sizing:content-box;align-items:center;justify-content:center}.dialog-wrapper .dialog-scroller .dialog-item.nothing{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#909399;padding:0}.dialog-wrapper .dialog-scroller .dialog-item.self{flex-direction:row-reverse}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view{align-items:flex-end;margin:0 8px 0 0}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head{background-color:#84c56a;border-radius:8px 2px 8px 8px}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-reply,.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-reply .common-avatar,.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-reply .bot{color:#fff}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-reply:after{background-color:#fff}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-text{color:#fff}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-text>pre .mention{color:#303133}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-text>pre .mention.me{font-size:inherit;font-weight:inherit;padding:inherit;background-color:inherit}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-record{color:#fff}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-record .dialog-record{flex-direction:row}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-record .dialog-record .record-time{padding:0 4px 0 0}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-record .dialog-record .record-icon{transform:rotate(0) scale(.9)}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-meeting{color:#fff}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-meeting .dialog-meeting>li.meeting-operation:before{background-color:#fffc}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-loading>i{color:#fff}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-unknown{color:#fff}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-emoji>li{background-color:#5ba93c80}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-emoji>li.hasme{background-color:#5ba93c}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-emoji>li .emoji-users:before{background-color:#ffffff80}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-emoji>li .emoji-users>ul>li{color:#fff}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-foot .done{display:inline-block}.dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-foot .percent{display:flex}.dialog-wrapper .dialog-position{position:absolute;top:100px;right:0;z-index:1;display:flex;align-items:center;justify-content:flex-end}.dialog-wrapper .dialog-position .position-label{display:flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:18px 0 0 18px;color:#fff;background-color:#84c56a;cursor:pointer}.dialog-wrapper .dialog-position .position-label>i{margin-right:4px;width:14px;height:14px;font-size:14px;line-height:14px}.dialog-wrapper .dialog-footer{position:relative;padding:0 24px;margin-bottom:16px}.dialog-wrapper .dialog-footer .dialog-newmsg,.dialog-wrapper .dialog-footer .dialog-goto{position:absolute;right:30px;color:#fff;background-color:#555;cursor:pointer;z-index:2;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0;transform:scale(0)}.dialog-wrapper .dialog-footer .dialog-newmsg{display:block;top:-44px;height:30px;line-height:30px;font-size:12px;padding:0 12px;border-radius:16px}.dialog-wrapper .dialog-footer .dialog-goto{display:flex;align-content:center;justify-content:center;color:#606266;background-color:#fff;border:1px solid #eeeeee;box-shadow:0 0 4px #60626633;top:-48px;width:40px;height:40px;line-height:38px;border-radius:50%}.dialog-wrapper .dialog-footer .dialog-goto .taskfont{font-size:24px}.dialog-wrapper .dialog-footer .chat-upload{display:none;width:0;height:0;overflow:hidden}.dialog-wrapper .dialog-footer .chat-bottom-menu{display:flex;align-items:center;padding:8px 0}.dialog-wrapper .dialog-footer .chat-bottom-menu .bottom-menu-label{flex-shrink:0;padding-right:8px}.dialog-wrapper .dialog-footer .chat-bottom-menu>ul{flex:1;display:flex;align-items:center;overflow-x:auto}.dialog-wrapper .dialog-footer .chat-bottom-menu>ul>li{flex-shrink:0;list-style:none;margin-right:8px;background-color:#f0f1f3;padding:0 12px;border-radius:13px;line-height:26px;font-size:13px;cursor:pointer;display:flex;align-items:center}.dialog-wrapper .dialog-footer .chat-bottom-menu>ul>li .bottom-menu-desc{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-wrapper .dialog-footer .chat-mute{color:#909399;background-color:#f4f5f7;padding:8px 12px;border-radius:10px;text-align:center}.dialog-wrapper .dialog-footer .chat-input-box .chat-input-wrapper{background-color:#f4f5f7;padding:8px 2px;border-radius:10px}.dialog-wrapper .dialog-footer .chat-input-box .chat-input-wrapper .ql-container .ql-editor{margin:4px 12px}.dialog-wrapper .dialog-footer .chat-input-box .chat-input-wrapper .ql-container .ql-editor.ql-blank:before{left:12px;right:12px}.dialog-wrapper .dialog-footer.newmsg .dialog-newmsg,.dialog-wrapper .dialog-footer.goto .dialog-goto{pointer-events:auto;opacity:1;transform:scale(1)}.dialog-wrapper .drag-over{position:absolute;top:0;left:0;right:0;bottom:0;z-index:3;background-color:#ffffffc7;display:flex;align-items:center;justify-content:center}.dialog-wrapper .drag-over:before{content:"";position:absolute;top:16px;left:16px;right:16px;bottom:16px;border:2px dashed #7b7b7b;border-radius:12px}.dialog-wrapper .drag-over .drag-text{padding:12px;font-size:18px;color:#606266}.dialog-wrapper .operate-position{position:absolute;top:0;left:0;width:1px;opacity:0;visibility:hidden;pointer-events:none}.dialog-wrapper-read-poptip{width:360px;max-width:72%}.dialog-wrapper-read-poptip .read-poptip-content{display:flex;position:relative}.dialog-wrapper-read-poptip .read-poptip-content .read,.dialog-wrapper-read-poptip .read-poptip-content .unread{flex:1;max-height:300px}.dialog-wrapper-read-poptip .read-poptip-content .read .read-title,.dialog-wrapper-read-poptip .read-poptip-content .read ul>li,.dialog-wrapper-read-poptip .read-poptip-content .unread .read-title,.dialog-wrapper-read-poptip .read-poptip-content .unread ul>li{padding-bottom:12px}.dialog-wrapper-read-poptip .read-poptip-content .read .read-title,.dialog-wrapper-read-poptip .read-poptip-content .unread .read-title{position:sticky;top:0;z-index:10;background:#ffffff}.dialog-wrapper-read-poptip .read-poptip-content .read .read-title>em,.dialog-wrapper-read-poptip .read-poptip-content .unread .read-title>em{font-size:18px;font-weight:600;font-style:normal;padding-right:6px}.dialog-wrapper-read-poptip .read-poptip-content .read ul>li,.dialog-wrapper-read-poptip .read-poptip-content .unread ul>li{min-height:26px;list-style:none}.dialog-wrapper-read-poptip .read-poptip-content .read ul>li .common-avatar,.dialog-wrapper-read-poptip .read-poptip-content .unread ul>li .common-avatar{width:100%}.dialog-wrapper-read-poptip .read-poptip-content .read ul>li .common-avatar .avatar-name,.dialog-wrapper-read-poptip .read-poptip-content .unread ul>li .common-avatar .avatar-name{margin-left:6px}.dialog-wrapper-read-poptip .read-poptip-content .read ul>li:last-child,.dialog-wrapper-read-poptip .read-poptip-content .unread ul>li:last-child{padding-bottom:6px}.dialog-wrapper-read-poptip .read-poptip-content .read ul>li.read-title,.dialog-wrapper-read-poptip .read-poptip-content .unread ul>li.read-title{min-height:auto}.dialog-wrapper-read-poptip .read-poptip-content .read ul>li.read-title>em,.dialog-wrapper-read-poptip .read-poptip-content .unread ul>li.read-title>em{font-size:18px;font-weight:600;font-style:normal;padding-right:6px}.dialog-wrapper-read-poptip .read-poptip-content .unread .read-title,.dialog-wrapper-read-poptip .read-poptip-content .unread ul>li{padding-left:16px}.dialog-wrapper-read-poptip .read-poptip-content:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background-color:#f4f4f5}.dialog-wrapper-paste{display:flex;flex-direction:column;align-items:center;justify-content:center}.dialog-wrapper-paste.multiple{display:block}.dialog-wrapper-paste>li{list-style:none}.dialog-wrapper-paste>li img{max-width:100%;max-height:500px}.dialog-wrapper-paste>li>div,.dialog-wrapper-paste>li>img{display:flex;flex-direction:column;padding:0}.dialog-wrapper-paste>li+li{margin-top:20px}.dialog-wrapper-todo{display:inline-block}.dialog-wrapper-todo>div{display:flex;align-items:center}.dialog-wrapper-todo>div .ivu-tag{display:flex;align-items:center;margin-left:4px;height:20px;line-height:20px;padding:0 5px}.dialog-wrapper-operate .ivu-dropdown-item{padding:0}.dialog-wrapper-operate .ivu-dropdown-item:hover{background-color:transparent}.dialog-wrapper-operate .dropdown-emoji{position:relative}.dialog-wrapper-operate .dropdown-emoji:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background-color:#f4f5f5}.dialog-wrapper-operate .operate-action{width:316px;padding:8px;margin-bottom:-8px;display:grid;justify-content:space-between;grid-template-columns:repeat(auto-fill,60px)}.dialog-wrapper-operate .operate-action>li{list-style:none;width:60px;height:52px;margin-bottom:14px;display:flex;flex-direction:column;align-items:center;justify-content:space-between}.dialog-wrapper-operate .operate-action>li .taskfont{font-size:22px}.dialog-wrapper-operate .operate-action>li>span{padding:0 1px;font-size:12px;max-width:100%;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-wrapper-operate .operate-emoji{width:316px;padding:8px 4px 2px;display:flex;align-items:center;overflow:auto}.dialog-wrapper-operate .operate-emoji>li{list-style:none;width:44px;height:30px;line-height:30px;box-sizing:content-box;display:flex;flex-shrink:0;font-size:22px;justify-content:center;align-items:center}.dialog-wrapper-operate .operate-emoji>li.more-emoji{position:absolute;right:0;top:8px;bottom:0;width:54px;background-image:linear-gradient(to right,rgba(255,255,255,0) 0%,#ffffff 20%)}.dialog-wrapper-operate .operate-emoji>li.more-emoji>i{font-size:24px;color:#5e6d82}.dialog-wrapper-drawer-list{position:absolute!important;overflow:hidden!important}.dialog-wrapper-loading{width:8px;height:8px;border-radius:50%;display:block;margin:0 auto;position:relative;background:#e3e3e3;box-sizing:border-box;animation:dialog-loading-animation .5s linear infinite alternate}@keyframes dialog-loading-animation{0%{box-shadow:0 0,0 0;color:#e3e3e333}to{box-shadow:-12px 0,12px 0;color:#e3e3e3cc}}body.window-touch .dialog-wrapper .dialog-scroller{-webkit-user-select:none;-moz-user-select:none;user-select:none}body.window-touch .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-file.file .file-box{position:relative}body.window-touch .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-file.file .file-box:before{content:"";position:absolute;top:0;left:0;width:60px;height:100%;z-index:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}body.window-touch .dialog-wrapper .dialog-scroller .dialog-item .dialog-view.operate-enter .dialog-head .dialog-content{-webkit-user-select:text;-moz-user-select:text;user-select:text}body.window-portrait .dialog-wrapper{background-color:#f8f8f8}body.window-portrait .dialog-wrapper.drawer-list .dialog-nav .drawer-title{height:52px;line-height:52px;border-bottom:0}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper{height:52px;padding:0;justify-content:center}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper:before{display:none}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper.completed:after{font-size:36px;right:40px}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper.completed .dialog-title{padding-right:0}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-back,body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-menu{position:absolute;top:0;bottom:0;right:0;width:52px;display:flex;align-items:center;justify-content:center}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-menu,body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-menu .dialog-menu-icon{margin:0}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-back{padding-right:6px;right:auto;left:0}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-back>i{font-size:26px}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-back .back-num{font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif;position:absolute;top:50%;left:32px;background:#e6ebf1;color:#303133;transform:translateY(-50%);font-weight:500;font-size:14px;border-radius:12px;min-width:24px;height:24px;line-height:24px;text-align:center;padding:0 6px}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-block{margin:0 80px;justify-content:center}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-avatar{display:none}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title{flex:unset;width:unset;overflow:hidden;text-align:center}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title{justify-content:center}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-desc{display:flex;justify-content:center}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags{position:absolute;left:0;right:0;top:48px;z-index:1;padding:0 8px;background-color:#f8f8f8;height:32px;align-items:flex-start;overflow-x:auto}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li{flex-shrink:0;line-height:28px;padding:0 8px;font-size:14px}body.window-portrait .dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .title-tags>li>i{width:16px;height:16px;line-height:16px;font-size:16px;margin-right:3px}body.window-portrait .dialog-wrapper .dialog-scroller{padding-right:14px;padding-left:14px;overscroll-behavior:none;background-color:#fff}body.window-portrait .dialog-wrapper .dialog-scroller.default-header{margin-top:34px}body.window-portrait .dialog-wrapper .dialog-scroller .dialog-item .dialog-view.text{max-width:calc(100% - 80px)}body.window-portrait .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content a,body.window-portrait .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content img{-webkit-touch-callout:none}body.window-portrait .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text>pre{font-size:15px}body.window-portrait .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li .emoji-symbol{font-size:14px;margin-right:-1px;transition:none}body.window-portrait .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li .emoji-symbol:hover{transform:none}body.window-portrait .dialog-wrapper .dialog-scroller .dialog-item .dialog-view.operate-enter .dialog-head .dialog-content a,body.window-portrait .dialog-wrapper .dialog-scroller .dialog-item .dialog-view.operate-enter .dialog-head .dialog-content img{-webkit-touch-callout:default}body.window-portrait .dialog-wrapper .dialog-position.down{top:130px}body.window-portrait .dialog-wrapper .dialog-footer{background-color:#f8f8f8;padding:8px 10px;margin-bottom:0}body.window-portrait .dialog-wrapper .dialog-footer .chat-bottom-menu{padding-top:0}body.window-portrait .dialog-wrapper .dialog-footer .chat-bottom-menu>ul>li{background-color:#fff}body.window-portrait .dialog-wrapper .dialog-footer .chat-bottom-menu>ul>li .bottom-menu-desc{max-width:120px}body.window-portrait .dialog-wrapper .dialog-footer .chat-mute,body.window-portrait .dialog-wrapper .dialog-footer .chat-input-box .chat-input-wrapper{background-color:#fff}body.window-portrait .dialog-wrapper .dialog-footer .chat-input-box .chat-input-wrapper .chat-toolbar>li.chat-record-recwave{margin-left:-10px;width:calc(100% + 20px);background-color:#f8f8f8}body.window-portrait .dialog-wrapper .dialog-footer .chat-input-box .chat-emoji-wrapper{margin-left:-10px;margin-bottom:-8px;width:calc(100% + 20px)}body.window-portrait .dialog-wrapper .dialog-footer .dialog-newmsg,body.window-portrait .dialog-wrapper .dialog-footer .dialog-goto{right:16px}body.window-portrait .dialog-wrapper-operate .operate-emoji>li{font-size:24px}@media (max-width: 768px) and (min-width: 390px){body.window-portrait .dialog-wrapper-operate .operate-action,body.window-portrait .dialog-wrapper-operate .operate-emoji{width:376px}body.window-portrait .dialog-wrapper-operate .operate-emoji>li{width:46px}}.file-content,.file-preview{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:flex;flex-direction:column;border-radius:18px 18px 0 0;overflow:hidden;transform:translateZ(0)}.file-content .preview-iframe,.file-preview .preview-iframe{position:absolute;top:0;left:0;width:100%;height:100%;background:0 0;border:0;float:none;max-width:none;margin:0;padding:0;outline:0}.file-content .office-header,.file-preview .office-header{position:absolute;top:0;left:0;z-index:-1;opacity:0}.file-content .edit-header,.file-preview .edit-header{display:flex;flex-direction:row;align-items:center;width:100%;height:42px;background-color:#fff;box-shadow:0 1px 5px #0000000d;position:relative;z-index:99}.file-content .edit-header .header-title,.file-preview .edit-header .header-title{flex:1;color:#303133;padding-left:24px;padding-right:24px;line-height:24px;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-content .edit-header .header-title .file-unsave-tip,.file-preview .edit-header .header-title .file-unsave-tip{color:#303133;padding-right:6px;font-weight:500;cursor:pointer;transition:color .3s}.file-content .edit-header .header-title .file-unsave-tip:hover,.file-preview .edit-header .header-title .file-unsave-tip:hover{color:#000}.file-content .edit-header .header-user,.file-preview .edit-header .header-user{margin-right:24px}.file-content .edit-header .header-user>ul,.file-preview .edit-header .header-user>ul{display:flex;align-items:center}.file-content .edit-header .header-user>ul>li,.file-preview .edit-header .header-user>ul>li{list-style:none;margin-right:-4px}.file-content .edit-header .header-user>ul>li.more,.file-preview .edit-header .header-user>ul>li.more{width:28px;height:28px;text-align:center;line-height:24px;font-size:12px;border:2px solid #ffffff;background-color:#84c56a;color:#fff;z-index:1;border-radius:50%}.file-content .edit-header .header-hint,.file-preview .edit-header .header-hint{padding-right:22px;font-size:12px;color:#666;white-space:nowrap}.file-content .edit-header .header-hint .ivu-btn,.file-preview .edit-header .header-hint .ivu-btn{font-size:12px;padding:0 10px}.file-content .edit-header .header-hint .ivu-dropdown-item,.file-preview .edit-header .header-hint .ivu-dropdown-item{font-size:12px!important}.file-content .edit-header .header-icons,.file-preview .edit-header .header-icons{margin-left:-4px;margin-right:16px;display:flex;align-items:center;justify-content:center}.file-content .edit-header .header-icons .header-icon,.file-preview .edit-header .header-icons .header-icon{display:flex;align-items:center;justify-content:center;width:44px;height:100%;color:#777;cursor:pointer}.file-content .edit-header .header-icons .header-icon>i,.file-preview .edit-header .header-icons .header-icon>i{font-size:20px}.file-content .edit-header .header-button,.file-preview .edit-header .header-button{font-size:12px;margin-right:24px}.file-content .content-body,.file-preview .content-body{flex:1;display:flex;position:relative}.file-content .content-body .teditor-wrapper,.file-content .content-body .mdeditor-wrapper,.file-preview .content-body .teditor-wrapper,.file-preview .content-body .mdeditor-wrapper{flex:1;display:flex}.file-content .content-body .teditor-wrapper .tox-editor-header .tox-toolbar--scrolling,.file-preview .content-body .teditor-wrapper .tox-editor-header .tox-toolbar--scrolling{flex-wrap:wrap}.file-content .content-body .mdeditor-box,.file-preview .content-body .mdeditor-box{position:relative;width:100%}.file-content .content-body .mdeditor-box .markdown,.file-preview .content-body .mdeditor-box .markdown{position:absolute;top:0;left:0;bottom:0;right:0;overflow:auto;transform:translateZ(0)}.file-content .content-body .mdeditor-box .markdown .markdown-toolbars,.file-preview .content-body .mdeditor-box .markdown .markdown-toolbars{border-bottom:1px solid #eeeeee}.file-content .content-body .mdeditor-box .markdown.border,.file-preview .content-body .mdeditor-box .markdown.border{border:0!important}.file-content .content-body .teditor-loadedstyle,.file-preview .content-body .teditor-loadedstyle{height:100%}.file-content .content-body .teditor-loadedstyle .tox-tinymce,.file-preview .content-body .teditor-loadedstyle .tox-tinymce{border:0;border-radius:0}.file-content .content-body .teditor-loadedstyle .tox-mbtn,.file-preview .content-body .teditor-loadedstyle .tox-mbtn{height:36px}.file-content .content-body .teditor-loadedstyle .tox-menubar,.file-content .content-body .teditor-loadedstyle .tox-toolbar-overlord,.file-preview .content-body .teditor-loadedstyle .tox-menubar,.file-preview .content-body .teditor-loadedstyle .tox-toolbar-overlord{padding:0 12%;background:#ffffff}.file-content .content-body .teditor-loadedstyle .tox-toolbar__overflow,.file-content .content-body .teditor-loadedstyle .tox-toolbar__primary,.file-preview .content-body .teditor-loadedstyle .tox-toolbar__overflow,.file-preview .content-body .teditor-loadedstyle .tox-toolbar__primary{background:none!important;border-top:1px solid #eaeaea!important}.file-content .content-body .teditor-loadedstyle .tox-toolbar-overlord,.file-preview .content-body .teditor-loadedstyle .tox-toolbar-overlord{border-bottom:1px solid #E9E9E9!important}.file-content .content-body .teditor-loadedstyle .tox-toolbar__group:not(:last-of-type),.file-preview .content-body .teditor-loadedstyle .tox-toolbar__group:not(:last-of-type){border-right:1px solid #eaeaea!important}.file-content .content-body .teditor-loadedstyle .tox-sidebar-wrap,.file-preview .content-body .teditor-loadedstyle .tox-sidebar-wrap{margin:22px 12%;border:1px solid #e8e8e8;border-radius:2px;box-shadow:0 4px 8px #00000014}.file-content .content-body .teditor-loadedstyle .tox-sidebar-wrap .tox-edit-area,.file-preview .content-body .teditor-loadedstyle .tox-sidebar-wrap .tox-edit-area{border-top:0}.file-content .content-body .teditor-loadedstyle .tox-statusbar,.file-preview .content-body .teditor-loadedstyle .tox-statusbar{border-top:1px solid #E9E9E9}.file-content .content-body .teditor-loadedstyle .tox-statusbar .tox-statusbar__resize-handle,.file-preview .content-body .teditor-loadedstyle .tox-statusbar .tox-statusbar__resize-handle{display:none}.file-content .content-body .content-mask,.file-preview .content-body .content-mask{position:absolute;top:0;left:0;right:0;bottom:0;z-index:2}.file-content .content-load,.file-preview .content-load{display:flex;align-items:center;justify-content:center;position:absolute;top:42px;left:0;right:0;bottom:0;z-index:1000}.file-content .content-load .common-loading,.file-preview .content-load .common-loading{margin:0}.file-preview .edit-header .header-title{display:flex;align-items:center}.file-preview .edit-header .header-title .title-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-preview .edit-header .header-title .ivu-tag{flex-shrink:0;margin-left:6px;padding:0 6px;line-height:20px}.file-preview .edit-header .header-title .refresh{display:flex;align-items:center;margin-left:6px}.file-preview .edit-header .header-title .refresh .common-loading{margin:2px;width:16px;height:16px}.file-preview .edit-header .header-title .refresh>i{opacity:.6;font-size:20px;cursor:pointer;transition:all .2s}.file-preview .edit-header .header-title .refresh>i:hover{opacity:1}.file-preview .content-body{overflow:hidden}.file-preview .content-body .teditor-wrapper .tox-editor-header,.file-preview .content-body .teditor-wrapper .tox-statusbar{display:none}.file-preview .content-body .teditor-loadedstyle .tox-menubar,.file-preview .content-body .teditor-loadedstyle .tox-toolbar-overlord{padding:0}.file-preview .content-body .teditor-loadedstyle .tox-sidebar-wrap{margin:0}.file-preview .content-body .markdown-preview-warp{flex:1;overflow:auto}@media (max-width: 1200px){.file-content{overflow:auto}.file-content .edit-header,.file-content .content-body{min-width:720px;overflow-x:auto}.file-content .edit-header .teditor-loadedstyle .tox-menubar,.file-content .edit-header .teditor-loadedstyle .tox-toolbar-overlord,.file-content .content-body .teditor-loadedstyle .tox-menubar,.file-content .content-body .teditor-loadedstyle .tox-toolbar-overlord{padding:0}.file-content .edit-header .teditor-loadedstyle .tox-sidebar-wrap,.file-content .content-body .teditor-loadedstyle .tox-sidebar-wrap{margin:0}}body.window-portrait .file-preview .edit-header .header-hint{display:none}body .ivu-modal-wrap.meeting-manager .ivu-modal .ivu-modal-content{border-radius:0}body .ivu-modal-wrap.meeting-manager .ivu-modal .ivu-modal-content .ivu-modal-body{padding:16px 24px 0}body .ivu-modal-wrap.meeting-manager .ivu-modal .ivu-modal-content .ivu-modal-body>ul{display:grid;justify-content:space-between;grid-template-columns:repeat(auto-fill,220px);grid-gap:24px}body .ivu-modal-wrap.meeting-manager .ivu-modal .ivu-modal-content .ivu-modal-body>ul>li{list-style:none;position:relative}body .ivu-modal-wrap.meeting-manager .ivu-modal .ivu-modal-content .ivu-modal-body>ul>li .meeting-player{position:relative}body .ivu-modal-wrap.meeting-manager .ivu-modal .ivu-modal-content .ivu-modal-body>ul>li .meeting-player .player{width:220px;height:220px;border-radius:12px;position:relative;z-index:1;overflow:hidden;background-color:#e1e1e1;background-size:136%;background-position:center;background-repeat:no-repeat}body .ivu-modal-wrap.meeting-manager .ivu-modal .ivu-modal-content .ivu-modal-body>ul>li .meeting-player .player-state{position:absolute;top:4px;right:8px;z-index:2;display:flex;align-items:center}body .ivu-modal-wrap.meeting-manager .ivu-modal .ivu-modal-content .ivu-modal-body>ul>li .meeting-player .player-state .taskfont{color:red;font-size:18px;margin-left:8px}body .ivu-modal-wrap.meeting-manager .ivu-modal .ivu-modal-content .ivu-modal-body>ul>li .meeting-player .common-avatar{position:absolute;bottom:-8px;right:-8px;z-index:2}body .ivu-modal-wrap.meeting-hidden{display:none}body.window-portrait .ivu-modal-wrap.meeting-manager .ivu-modal .ivu-modal-content .ivu-modal-body>ul{grid-template-columns:none;grid-gap:12px;display:flex;flex-wrap:wrap;justify-content:flex-start}body.window-portrait .ivu-modal-wrap.meeting-manager .ivu-modal .ivu-modal-content .ivu-modal-body>ul>li{width:calc(50% - 6px);max-width:180px}body.window-portrait .ivu-modal-wrap.meeting-manager .ivu-modal .ivu-modal-content .ivu-modal-body>ul>li .meeting-player .player{width:100%;height:176px}.meeting-drag-ball{position:relative;background-color:#fff;padding:6px 12px;white-space:nowrap;border-radius:4px;box-shadow:0 0 50px #0000004d;cursor:pointer;display:flex;align-items:center}.meeting-drag-ball>i{font-size:20px;height:24px;line-height:24px;margin-right:5px}.meeting-drag-ball>em{font-style:normal;padding-left:4px}.meeting-button-group{display:flex;justify-content:flex-end}.meeting-button-group .taskfont{font-size:20px}.meeting-button-group .ivu-btn{display:flex;align-items:center;justify-content:center}.meeting-button-group .ivu-btn>span{display:flex;align-items:center;justify-content:center}.project-archived{position:absolute;top:0;left:0;right:0;bottom:0;padding:20px;display:flex;flex-direction:column}.project-archived .archived-title{color:#303133;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px;display:flex;align-items:center}.project-archived .archived-title .title-icon{display:flex;align-items:center;width:14px;height:14px;margin-left:4px;margin-top:2px}.project-archived .archived-title .title-icon>i{cursor:pointer}.project-archived .table-page-box{flex:1;height:0}.project-dialog{display:flex;flex-direction:column;background-color:#fff;border-left:1px solid #f4f5f5;z-index:1;position:relative}.project-dialog .dialog-user{margin-top:26px}.project-dialog .dialog-user .member-head{display:flex;align-items:center;padding:0 22px}.project-dialog .dialog-user .member-head .member-title{flex:1;font-size:18px;font-weight:600}.project-dialog .dialog-user .member-head .member-title>span{padding-left:6px;color:#84c56a;cursor:pointer}.project-dialog .dialog-user .member-head .member-close{cursor:pointer}.project-dialog .dialog-user .member-head .member-close .ivu-icon-ios-close{font-size:38px;top:3px;right:2px;transition:all .2s}.project-dialog .dialog-user .member-head .member-close:hover .ivu-icon-ios-close{transform:rotate(-90deg)}.project-dialog .dialog-user .member-list{display:flex;align-items:center;margin-top:12px;padding:0 22px;overflow:auto}.project-dialog .dialog-user .member-list::-webkit-scrollbar{display:none}.project-dialog .dialog-user .member-list>li{position:relative;list-style:none;margin-right:10px;margin-bottom:8px}.project-dialog .dialog-user .member-list.member-all{display:block}.project-dialog .dialog-user .member-list.member-all>li{display:inline-block;overflow:hidden}.project-dialog .dialog-nav .nav-wrapper{padding:0 20px}.project-gstc-gantt{position:absolute;top:15px;left:15px;right:15px;bottom:15px;z-index:1;transform:translateZ(0);background-color:#fdfdfd;border-radius:3px;overflow:hidden}.project-gstc-gantt .project-gstc-dropdown-filtr{position:absolute;top:38px;left:222px}.project-gstc-gantt .project-gstc-dropdown-filtr .project-gstc-dropdown-icon{cursor:pointer;color:#999;font-size:20px}.project-gstc-gantt .project-gstc-dropdown-filtr .project-gstc-dropdown-icon.filtr{color:#058ce4}.project-gstc-gantt .project-gstc-close{position:absolute;top:8px;left:12px;cursor:pointer}.project-gstc-gantt .project-gstc-close:hover i{transform:scale(1) rotate(45deg)}.project-gstc-gantt .project-gstc-close i{color:#606266;font-size:28px;transform:scale(.92);transition:all .2s}.project-gstc-gantt .project-gstc-edit{position:absolute;bottom:6px;right:6px;background:#ffffff;border-radius:4px;opacity:0;transform:translate(120%);transition:all .2s}.project-gstc-gantt .project-gstc-edit.visible{opacity:1;transform:translate(0)}.project-gstc-gantt .project-gstc-edit.info .project-gstc-edit-info{display:block}.project-gstc-gantt .project-gstc-edit.info .project-gstc-edit-small{display:none}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-info{display:none;border:1px solid #e4e4e4;background:#ffffff;padding:6px;border-radius:4px;width:500px}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-info .project-gstc-edit-btns{margin:12px 6px 4px;display:flex;align-items:center;justify-content:flex-end}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-info .project-gstc-edit-btns .ivu-btn{margin-right:8px;font-size:13px}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-info .project-gstc-edit-btns .zoom{font-size:20px;color:#444;cursor:pointer}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-info .project-gstc-edit-btns .zoom:hover{color:#57a3f3}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-small{border:1px solid #e4e4e4;background:#ffffff;padding:6px 12px;display:flex;align-items:center}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-small .project-gstc-edit-text{cursor:pointer;text-decoration:underline;color:#444;margin-right:8px}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-small .project-gstc-edit-text:hover{color:#57a3f3}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-small .ivu-btn{margin-left:4px;font-size:13px}.project-gstc-gantt .ivu-dropdown-item.dropdown-active{color:#058ce4}.project-list{flex:1;height:100%;display:flex;flex-direction:column;align-items:flex-start}.project-list .list-search{width:100%;flex-shrink:0;display:flex;align-items:center;justify-content:center;height:54px;padding:0 12px;background-color:#f8f8f8}.project-list .list-search .search-wrapper{flex:1;background-color:#fff;padding:0 8px;margin:0 4px;border-radius:12px;overflow:hidden}.project-list .list-search .search-wrapper .search-pre{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.project-list .list-search .search-wrapper .search-pre .common-loading{width:14px;height:14px;margin:0}.project-list .list-search .search-wrapper .ivu-input{border-color:transparent;background-color:transparent}.project-list .list-search .search-wrapper .ivu-input:hover,.project-list .list-search .search-wrapper .ivu-input:focus{box-shadow:none}.project-list>ul{flex:1;height:0;width:100%;overflow:auto;background-color:#f8f8f8;-webkit-user-select:none;-moz-user-select:none;user-select:none}.project-list>ul>li{padding:16px;margin:16px;border-radius:12px;background-color:#fff;list-style:none;position:relative}.project-list>ul>li:before{display:none;position:absolute;content:"";top:0;left:0;right:0;bottom:0;z-index:1;border:2px solid #84C56A;pointer-events:none;border-radius:12px}.project-list>ul>li.nothing,.project-list>ul>li.loading{text-align:center;height:100%;margin:0;padding:24px;border-radius:0;line-height:22px}.project-list>ul>li.loading{display:flex;align-items:flex-start;justify-content:center}.project-list>ul>li.loading .common-loading{width:20px;height:20px;margin:1px}.project-list>ul>li.operate:before{display:block}.project-list>ul>li .project-item{display:flex;align-items:center}.project-list>ul>li .project-item .item-left{flex:1;width:0}.project-list>ul>li .project-item .item-left .project-h1{display:flex;align-items:flex-start}.project-list>ul>li .project-item .item-left .project-h1 .project-name{font-size:14px;line-height:22px;color:#303133;word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.project-list>ul>li .project-item .item-left .project-h1 .icon-top{margin-top:4px;margin-left:6px;flex-shrink:0;width:14px;height:14px;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCiAgICAgeT0iMHB4IgogICAgIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjQgMjQ7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojOEJDRjcwO30KPC9zdHlsZT4wCiAgICA8cGF0aCBjbGFzcz0ic3QwIiBkPSJNMjAuNyw4LjFjLTEuNS0xLjUtNC40LTQuNC00LjQtNC40Yy0xLjItMS4yLTIuNS0xLjQtMy40LTAuN2MtMC41LDAuNC0wLjcsMC45LTAuOCwxLjRjLTAuMSwwLjUtMC40LDEtMC44LDEuMwoJbC0wLjEsMC4xYy0yLDEuNS00LjMsMi44LTYuOCwzLjJDMy45LDkuMiwzLjMsOS41LDMsMTBjLTAuNiwwLjktMC40LDIuMSwwLjMsMi45bDMuNCwzLjRjMCwwLDAsMCwwLDBsLTMuMSwzLjEKCWMtMC4zLDAuMy0wLjMsMC44LDAsMS4xYzAuMSwwLjEsMC4zLDAuMiwwLjUsMC4yYzAuMiwwLDAuNC0wLjEsMC41LTAuMmwzLjEtMy4xYzAsMCwwLDAsMCwwbDIuOSwyLjljMS4zLDEuMywyLjUsMS41LDMuNCwwLjkKCWMwLjQtMC4zLDAuNy0wLjcsMC45LTEuMmMwLjYtMi4zLDEuNC00LjYsMi44LTYuNWwwLjUtMC43YzAuMy0wLjQsMC44LTAuOCwxLjMtMC44YzAuNS0wLjEsMS4xLTAuMywxLjQtMC44CglDMjEuNywxMC4yLDIxLjUsOC45LDIwLjcsOC4xeiIvPgo8L3N2Zz4K) no-repeat center center;background-size:contain}.project-list>ul>li .project-item .item-left .project-h1 .num{margin-top:1px;margin-left:6px;flex-shrink:0;font-style:normal;display:inline-block;background-color:#fd9c9b26;color:#ff7559;padding:0 5px;min-width:10px;height:20px;line-height:20px;text-align:center;border-radius:10px;box-sizing:content-box;font-weight:500;font-size:14px;white-space:nowrap}.project-list>ul>li .project-item .item-left .project-h2{margin-top:4px;line-height:20px;font-size:12px;word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#909399}.project-list>ul>li .project-item .item-right{flex-shrink:0;display:flex;align-items:center;margin-left:28px}.project-list>ul>li .project-item .item-right .ivu-chart-circle .ivu-icon{font-size:40px;font-weight:900;color:#84c56a33}.project-list>ul>li .project-item .item-right .ivu-chart-circle .percent-text{color:#84c56a;font-weight:500}.project-list .operate-position{position:absolute;top:0;left:0;width:1px;opacity:0;visibility:hidden;pointer-events:none}.project-log .log-title{display:none}.project-log.is-drawer{position:absolute;top:0;left:0;right:0;bottom:0;padding:20px;overflow:auto}.project-log.is-drawer .log-title{color:#303133;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.project-log .logs-activity{position:relative;word-break:break-all;padding:12px}.project-log .logs-activity>li{list-style:none;padding-top:0}.project-log .logs-activity>li.logs-loading,.project-log .logs-activity>li.logs-more,.project-log .logs-activity>li.logs-none{height:22px;line-height:22px}.project-log .logs-activity>li.logs-loading{display:flex}.project-log .logs-activity>li.logs-loading .common-loading{margin:0}.project-log .logs-activity>li.logs-more{cursor:pointer}.project-log .logs-activity>li.logs-more:hover{color:#048be0}.project-log .logs-activity>li.logs-none{cursor:pointer;color:#bbb}.project-log .logs-activity>li .logs-date{color:#0000005c;padding-bottom:14px}.project-log .logs-activity>li .logs-section{margin:4px}.project-log .logs-activity>li .logs-section .ivu-timeline>li{padding-bottom:8px}.project-log .logs-activity>li .logs-section .ivu-timeline>li:last-child{padding-bottom:0}.project-log .logs-activity>li .logs-section .ivu-timeline>li .ivu-timeline-item-head-custom{position:static;left:auto;margin-top:8px;margin-left:-13px;margin-right:6px;width:auto;min-width:40px}.project-log .logs-activity>li .logs-section .ivu-timeline>li .ivu-timeline-item-content{padding-left:20px;margin-top:-5px}.project-log .logs-activity>li .logs-dot{width:auto;height:18px;margin-left:10px;display:flex}.project-log .logs-activity>li .logs-dot .avatar-name.auto{color:#9599a1}.project-log .logs-activity>li .log-summary{position:relative;padding:4px 0 4px 12px}.project-log .logs-activity>li .log-summary>span,.project-log .logs-activity>li .log-summary>a{padding-right:6px;word-wrap:break-word;word-break:break-word}.project-log .logs-activity>li .log-summary .log-text{display:inline-block;color:#000000b8}.project-log .logs-activity>li .log-summary .log-text .change-value:hover{border-bottom:1px dotted rgba(0,0,0,.3)}.project-log .logs-activity>li .log-summary .log-text .detail-user{display:inline-block;vertical-align:top}.project-log .logs-activity>li .log-summary .log-text .detail-user .detail-user-wrap{display:flex}.project-log .logs-activity>li .log-summary .log-text .detail-user .detail-user-wrap .common-avatar{margin:0 2px}.project-log .logs-activity>li .log-summary .log-operation>button{font-size:12px}.project-log .logs-activity>li .log-summary .log-operation>button+button{margin-left:4px}.project-log .logs-activity>li .log-summary .log-time{color:#0000004d;font-size:12px}.project-log .logs-activity>li .log-task{margin-left:12px;margin-bottom:6px;opacity:.6;cursor:pointer}.project-log .logs-activity>li .log-task:hover{opacity:1}.project-log .logs-activity>li .log-task:hover>em{color:#84c56a}.project-log .logs-activity>li .log-task>em{display:inline-block;font-style:normal;font-size:12px;line-height:18px;height:18px;max-width:100%;color:#909399;border-radius:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-management{position:absolute;top:0;left:0;right:0;bottom:0;padding:20px;display:flex;flex-direction:column}.project-management .management-title{color:#303133;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px;display:flex;align-items:center}.project-management .management-title .title-icon{display:flex;align-items:center;width:14px;height:14px;margin-left:4px;margin-top:2px}.project-management .management-title .title-icon>i{cursor:pointer}.project-management .project-name{display:flex;align-items:center}.project-management .project-name .ivu-tag{height:18px;line-height:18px;padding:0 4px;transform:scale(.8);transform-origin:right center;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-management .project-percent{line-height:1}.project-management .project-percent .ivu-progress{margin-top:2px}.project-management .table-page-box{flex:1;height:0}.project-panel{display:flex;flex-direction:column}.project-panel .project-titbox{width:100%;padding:32px 32px 4px}.project-panel .project-titbox .project-title{float:left;display:flex;align-items:center;margin-bottom:8px}.project-panel .project-titbox .project-title .project-back{display:none}.project-panel .project-titbox .project-title>h1{color:#303133;font-size:28px;font-weight:600}.project-panel .project-titbox .project-title .project-load{display:flex;align-items:center;margin-left:18px}.project-panel .project-titbox .project-title .project-load .common-loading{width:22px;height:22px}.project-panel .project-titbox .project-icons{float:right;display:flex;align-items:center;margin-top:3px;margin-bottom:8px}.project-panel .project-titbox .project-icons>li{list-style:none;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;position:relative;margin-left:16px;cursor:pointer;transition:box-shadow .3s}.project-panel .project-titbox .project-icons>li:hover{box-shadow:0 0 6px #ccc}.project-panel .project-titbox .project-icons>li.cursor-default{cursor:default}.project-panel .project-titbox .project-icons>li.project-avatar{width:auto;min-width:36px}.project-panel .project-titbox .project-icons>li.project-avatar:hover{box-shadow:none}.project-panel .project-titbox .project-icons>li.project-avatar>ul{display:flex;align-items:center}.project-panel .project-titbox .project-icons>li.project-avatar>ul>li{list-style:none;margin-left:-6px;transition:transform .2s}.project-panel .project-titbox .project-icons>li.project-avatar>ul>li .ivu-badge{position:absolute;top:-5px;left:23px;transform:scale(.8)}.project-panel .project-titbox .project-icons>li.project-avatar>ul>li:hover{transform:scale(1.05)}.project-panel .project-titbox .project-icons>li.project-avatar>ul>li:first-child{margin-left:0}.project-panel .project-titbox .project-icons>li.project-avatar>ul>li.more{display:flex;align-items:center;justify-content:center;font-size:17px;width:30px;height:32px;color:#aaa;background-color:transparent;border-color:transparent;transform:scale(1)!important;z-index:1}.project-panel .project-titbox .project-icons>li.project-icon{border-radius:50%;background-color:#f2f3f5}.project-panel .project-titbox .project-icons>li.project-icon .menu-icon{font-size:20px;width:36px;height:36px;line-height:36px}.project-panel .project-titbox .project-icons>li.project-icon .menu-badge{position:absolute;top:-6px;left:20px;z-index:1;transform:scale(.8)}.project-panel .project-titbox .project-icons>li.project-icon .search-input{margin:2px 0;width:170px}.project-panel .project-titbox .project-icons>li.project-icon.active{color:#fff;background-color:#84c56a}.project-panel .project-subbox{width:100%;padding:0 32px}.project-panel .project-subbox .project-subtitle{float:left;color:#909399;line-height:1.5;margin:8px 0 7px;max-height:220px;overflow:auto}.project-panel .project-subbox .project-switch{float:right;margin:3px 0 3px 32px;display:flex;align-items:flex-end}.project-panel .project-subbox .project-switch .project-checkbox{display:flex;align-items:center;margin-right:14px;opacity:.9;height:30px}.project-panel .project-subbox .project-switch .project-checkbox .ivu-checkbox-focus{box-shadow:none}.project-panel .project-subbox .project-switch .project-select{display:flex;align-items:center;margin-right:14px;opacity:.9;height:30px}.project-panel .project-subbox .project-switch .project-select .project-flow{font-size:13px;height:28px;line-height:26px;padding:0 8px;border-radius:4px;background:#f7f7f7;border:1px solid #e8eaec;display:flex;align-items:center;justify-content:center;cursor:pointer}.project-panel .project-subbox .project-switch .project-select .project-flow.start{background-color:#ff70701a;border-color:#ff70701a;color:#ff7070}.project-panel .project-subbox .project-switch .project-select .project-flow.progress{background-color:#fc984b1a;border-color:#fc984b1a;color:#fc984b}.project-panel .project-subbox .project-switch .project-select .project-flow.test{background-color:#2f99ec1a;border-color:#2f99ec1a;color:#2f99ec}.project-panel .project-subbox .project-switch .project-select .project-flow.end{background-color:#0bc0371a;border-color:#0bc0371a;color:#0bc037}.project-panel .project-subbox .project-switch .project-switch-button{display:flex;align-items:center;background-color:#fff;border-radius:6px;height:30px;position:relative;transition:all .2s}.project-panel .project-subbox .project-switch .project-switch-button .active{color:#84c56a}.project-panel .project-subbox .project-switch .project-switch-button .slider{position:absolute;top:0;left:0;width:33.3%;height:100%;z-index:0;color:#84c56a;border-radius:6px;border:1px solid #84C56A;background-color:#84c56a1a;transition:left .2s}.project-panel .project-subbox .project-switch .project-switch-button:hover{box-shadow:0 0 10px #e6ecfa}.project-panel .project-subbox .project-switch .project-switch-button>div{z-index:1;width:32px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:6px;cursor:pointer;color:#606266}.project-panel .project-subbox .project-switch .project-switch-button>div>i{font-size:17px}.project-panel .project-column{display:flex;height:100%;padding-top:15px;overflow-x:auto;overflow-y:hidden}.project-panel .project-column>ul{display:inline-flex;justify-content:space-between;align-items:flex-start}.project-panel .project-column>ul>li{flex-shrink:0;list-style:none;width:300px;height:100%;display:flex;flex-direction:column}.project-panel .project-column>ul>li:first-child{margin-left:22px}.project-panel .project-column>ul>li:last-child{margin-right:22px}.project-panel .project-column>ul>li.add-column{height:36px;color:#888;cursor:pointer;background-color:#f2f3f5;border-radius:4px}.project-panel .project-column>ul>li.add-column .add-column-text{display:flex;flex-direction:row;align-items:center;line-height:36px;padding:0 12px}.project-panel .project-column>ul>li.add-column .add-column-text>i{font-size:16px;padding-right:8px}.project-panel .project-column>ul>li.add-column .add-column-text:hover{color:#777}.project-panel .project-column>ul>li.add-column .add-column-input{display:none;align-items:center;height:36px}.project-panel .project-column>ul>li.add-column .add-column-input .ivu-input{height:36px;padding:4px 10px}.project-panel .project-column>ul>li.add-column .add-column-input .ivu-input-icon{width:36px;height:36px;line-height:36px}.project-panel .project-column>ul>li.add-column.show-input .add-column-text{display:none}.project-panel .project-column>ul>li.add-column.show-input .add-column-input{display:flex}.project-panel .project-column>ul>li .column-head{display:flex;align-items:center;padding:7px 10px;margin:0 10px;background-color:#f2f3f5;border-radius:4px}.project-panel .project-column>ul>li .column-head .column-head-title{flex:1;width:0;display:flex;align-items:center;font-weight:500}.project-panel .project-column>ul>li .column-head .column-head-title>span{font-size:15px}.project-panel .project-column>ul>li .column-head .column-head-title>em{color:#888;font-style:normal;font-size:14px;padding-left:6px}.project-panel .project-column>ul>li .column-head .column-head-icon{display:flex;align-items:center;margin-left:16px}.project-panel .project-column>ul>li .column-head .column-head-icon .loading,.project-panel .project-column>ul>li .column-head .column-head-icon .ivu-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;padding-right:8px}.project-panel .project-column>ul>li .column-head .column-head-icon .loading .common-loading,.project-panel .project-column>ul>li .column-head .column-head-icon .ivu-icon .common-loading{width:16px;height:16px;margin:0}.project-panel .project-column>ul>li .column-head .column-head-icon .ivu-icon{cursor:pointer;font-size:16px;color:#aaa;font-weight:600;transition:color .3s}.project-panel .project-column>ul>li .column-head .column-head-icon .ivu-icon:hover{color:#888}.project-panel .project-column>ul>li .column-head .column-head-icon .last{padding-right:0}.project-panel .project-column>ul>li .column-head.custom-color{color:#fff}.project-panel .project-column>ul>li .column-head.custom-color .column-head-title>em{color:#fff9}.project-panel .project-column>ul>li .column-head.custom-color .ivu-icon{color:#ffffff80}.project-panel .project-column>ul>li .column-head.custom-color .ivu-icon:hover{color:#ffffffe6}.project-panel .project-column>ul>li .column-task{flex:1;display:flex;flex-direction:column}.project-panel .project-column>ul>li .column-task .task-list>div:last-child{margin-bottom:16px}.project-panel .project-column>ul>li .column-task .task-item{cursor:pointer;margin:16px 10px 0;background-color:#fff;border-radius:12px;padding:12px;transition:box-shadow .3s,opacity .3s;position:relative}.project-panel .project-column>ul>li .column-task .task-item:hover{box-shadow:0 0 10px #e6ecfa}.project-panel .project-column>ul>li .column-task .task-item .task-head{display:flex;align-items:flex-start}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-title{flex:1;padding-top:1px}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-title>span{float:left;font-size:12px;height:20px;line-height:18px;padding:0 3px;border-radius:3px;color:#84c56a;border:1px solid #84C56A;margin-right:4px;text-align:center}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-title>span.start{background-color:#ff70701a;border-color:#ff70701a;color:#ff7070}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-title>span.progress{background-color:#fc984b1a;border-color:#fc984b1a;color:#fc984b}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-title>span.test{background-color:#2f99ec1a;border-color:#2f99ec1a;color:#2f99ec}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-title>span.end{background-color:#0bc0371a;border-color:#0bc0371a;color:#0bc037}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-title>pre{display:block;margin:0;padding:0;line-height:1.5;white-space:pre-wrap;word-wrap:break-word;word-break:break-word}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-menu{margin-left:8px;width:22px;height:22px}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-menu .loading,.project-panel .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon{width:22px;height:22px;display:flex;align-items:center;justify-content:center}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-menu .loading .common-loading,.project-panel .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon .common-loading{width:16px;height:16px;margin:0}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon{font-size:22px}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon.uncomplete{color:#777}.project-panel .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon.uncomplete:hover{color:#555}.project-panel .project-column>ul>li .column-task .task-item .task-head.has-desc .task-title{font-weight:600}.project-panel .project-column>ul>li .column-task .task-item .task-desc>pre{color:#909399;padding:0;margin:10px 0 0;line-height:20px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-panel .project-column>ul>li .column-task .task-item .task-tags{margin-top:10px}.project-panel .project-column>ul>li .column-task .task-item .task-users{margin-top:10px;display:flex;align-items:center}.project-panel .project-column>ul>li .column-task .task-item .task-users>ul{flex:1;width:0;display:flex;align-items:center;overflow:auto;margin-right:24px}.project-panel .project-column>ul>li .column-task .task-item .task-users>ul::-webkit-scrollbar{display:none}.project-panel .project-column>ul>li .column-task .task-item .task-users>ul>li{list-style:none;margin-left:-6px;width:32px;height:32px}.project-panel .project-column>ul>li .column-task .task-item .task-users>ul>li:first-child{margin-left:0}.project-panel .project-column>ul>li .column-task .task-item .task-users>ul>li.no-owner{width:auto}.project-panel .project-column>ul>li .column-task .task-item .task-users>ul>li.no-owner .ivu-btn-small{font-size:12px}.project-panel .project-column>ul>li .column-task .task-item .task-users .task-icon{margin-left:6px;font-size:12px}.project-panel .project-column>ul>li .column-task .task-item .task-users .task-icon .ivu-icon{margin-left:1px;font-size:14px}.project-panel .project-column>ul>li .column-task .task-item .task-progress{margin-top:10px;display:flex;align-items:center;justify-content:flex-end}.project-panel .project-column>ul>li .column-task .task-item .task-progress .task-sub-num{font-size:12px;margin-right:8px;color:#777}.project-panel .project-column>ul>li .column-task .task-item .task-progress .task-time{flex-shrink:0;color:#777;background-color:#eaedf2;border:1px solid #EAEDF2;padding:0 3px;margin-left:18px;font-size:12px;border-radius:3px;display:flex;align-items:center}.project-panel .project-column>ul>li .column-task .task-item .task-progress .task-time.overdue,.project-panel .project-column>ul>li .column-task .task-item .task-progress .task-time.today{color:#fff}.project-panel .project-column>ul>li .column-task .task-item .task-progress .task-time.overdue{font-weight:600;background-color:#ed4014;border-color:#ed4014}.project-panel .project-column>ul>li .column-task .task-item .task-progress .task-time.today{font-weight:500;background-color:#f90;border-color:#f90}.project-panel .project-column>ul>li .column-task .task-item .task-progress .task-time .taskfont{margin-right:3px;font-size:12px}.project-panel .project-column>ul>li .column-task .task-item .priority-color{position:absolute;top:12px;left:0;width:3px;height:42px;max-height:50%;border-radius:2px}.project-panel .project-column>ul>li .column-task .task-item.additem{cursor:default;padding:0}.project-panel .project-column>ul>li .column-task .task-item.complete{opacity:.5}.project-panel .project-column>ul>li .column-task .task-item.complete:hover{opacity:.8}.project-panel .project-column>ul>li .column-task .task-item.complete .task-head .task-title{text-decoration:line-through}.project-panel .project-column>ul>li .column-task .task-item.complete .task-desc,.project-panel .project-column>ul>li .column-task .task-item.complete .task-tags,.project-panel .project-column>ul>li .column-task .task-item.complete .task-users,.project-panel .project-column>ul>li .column-task .task-item.complete .task-progress,.project-panel .project-column>ul>li .column-task .task-item.complete .priority-color{display:none}.project-panel .project-column>ul>li .column-task .task-item.hidden{display:none}.project-panel .project-table{height:100%;margin-top:18px}.project-panel .project-table .task-row{background-color:#fff;border-bottom:1px solid #F4F4F5;position:relative}.project-panel .project-table .task-row>div{display:flex;align-items:center;padding:8px 12px;border-right:1px solid #F4F4F5}.project-panel .project-table .task-row>div:first-child{padding-left:32px}.project-panel .project-table .task-row>div:last-child{border-right:0}.project-panel .project-table .task-row>div.complete .item-title{color:#aaa;text-decoration:line-through}.project-panel .project-table .task-row .priority-color{position:absolute;top:0;left:0;bottom:-1px;width:3px}.project-panel .project-table .project-table-head,.project-panel .project-table .project-table-body{min-width:800px;margin:0 32px 12px;border-radius:5px;border:1px solid #F4F4F5;border-bottom:0;overflow:hidden}.project-panel .project-table .project-table-head.project-table-hide .task-rows,.project-panel .project-table .project-table-body.project-table-hide .task-rows{display:none}.project-panel .project-table .project-table-head.project-table-hide .row-title .taskfont,.project-panel .project-table .project-table-body.project-table-hide .row-title .taskfont{transform:rotate(-90deg)}.project-panel .project-table .project-table-head .task-row>div{color:#888;font-size:13px;font-weight:500}.project-panel .project-table .project-table-head .task-row>div .sort{display:flex;align-items:center;cursor:pointer}.project-panel .project-table .project-table-head .task-row>div .task-sort{display:inline-block;width:14px;height:12px;margin-top:-1px;margin-left:1px;vertical-align:middle;overflow:hidden;cursor:pointer;position:relative}.project-panel .project-table .project-table-head .task-row>div .task-sort>i{display:block;height:6px;line-height:6px;overflow:hidden;position:absolute;color:#c5c8ce;transition:color .2s ease-in-out;font-size:16px}.project-panel .project-table .project-table-head .task-row>div .task-sort>i.on{color:#84c56a}.project-panel .project-table .project-table-head .task-row>div .task-sort>i:hover{color:inherit}.project-panel .project-table .project-table-head .task-row>div .task-sort>i:first-child{top:0}.project-panel .project-table .project-table-head .task-row>div .task-sort>i:last-child{bottom:0}.project-panel .project-table .project-table-body{transition:box-shadow .3s}.project-panel .project-table .project-table-body:hover{box-shadow:0 0 10px #e6ecfa}.project-panel .project-table .project-table-body .task-row>div{padding:10px 12px}.project-panel .project-table .project-table-body .task-row>div.row-title{font-size:14px;font-weight:500;color:#303133;padding-left:14px}.project-panel .project-table .project-table-body .task-row>div.row-title .taskfont{cursor:pointer;transition:transform .3s;font-size:12px}.project-panel .project-table .project-table-body .task-row>div.row-title .row-h1{padding-left:18px}.project-panel .project-table .project-table-body .task-row>div.row-title .row-num{color:#909399;padding-left:6px}.project-panel .project-table .project-table-body .task-row>div.row-name{align-items:flex-start;padding:12px 12px 12px 34px;line-height:24px}.project-panel .project-table .project-table-body .task-row>div.row-name .loading{height:24px}.project-panel .project-table .project-table-body .task-row>div.row-name .ivu-icon{cursor:pointer;font-size:16px}.project-panel .project-table .project-table-body .task-row>div.row-name .ivu-icon.sub-icon{font-size:16px;width:16px;height:16px;margin-top:4px;margin-left:-20px;margin-right:4px;color:#cfcfcf;transition:transform .2s}.project-panel .project-table .project-table-body .task-row>div.row-name .ivu-icon.sub-icon.active{transform:rotate(90deg)}.project-panel .project-table .project-table-body .task-row>div.row-name .ivu-icon.uncomplete{color:#ccc}.project-panel .project-table .project-table-body .task-row>div.row-name .item-title{flex:1;padding:0 22px 0 8px;cursor:pointer}.project-panel .project-table .project-table-body .task-row>div.row-name .item-title>span{font-size:12px;height:18px;min-width:20px;line-height:16px;padding:0 2px;border-radius:3px;color:#84c56a;border:1px solid #84C56A;display:inline-block;vertical-align:top;margin-top:3px;margin-right:3px;text-align:center}.project-panel .project-table .project-table-body .task-row>div.row-name .item-title>span.start{background-color:#ff70701a;border-color:#ff70701a;color:#ff7070}.project-panel .project-table .project-table-body .task-row>div.row-name .item-title>span.progress{background-color:#fc984b1a;border-color:#fc984b1a;color:#fc984b}.project-panel .project-table .project-table-body .task-row>div.row-name .item-title>span.test{background-color:#2f99ec1a;border-color:#2f99ec1a;color:#2f99ec}.project-panel .project-table .project-table-body .task-row>div.row-name .item-title>span.end{background-color:#0bc0371a;border-color:#0bc0371a;color:#0bc037}.project-panel .project-table .project-table-body .task-row>div.row-name .item-icons{display:flex;align-items:center;margin-left:4px;flex-shrink:0}.project-panel .project-table .project-table-body .task-row>div.row-name .item-icons .item-icon{display:flex;font-size:12px;margin-left:16px;color:#aaa;cursor:pointer}.project-panel .project-table .project-table-body .task-row>div.row-name .item-icons .item-icon .taskfont{font-size:12px}.project-panel .project-table .project-table-body .task-row>div.row-name .item-icons .item-icon>em{font-style:normal;margin-left:4px}.project-panel .project-table .project-table-body .task-row>div.row-column .el-dropdown,.project-panel .project-table .project-table-body .task-row>div.row-priority .el-dropdown{display:flex;align-items:center;overflow:hidden}.project-panel .project-table .project-table-body .task-row>div.row-column .task-column,.project-panel .project-table .project-table-body .task-row>div.row-column .task-priority,.project-panel .project-table .project-table-body .task-row>div.row-priority .task-column,.project-panel .project-table .project-table-body .task-row>div.row-priority .task-priority{cursor:pointer}.project-panel .project-table .project-table-body .task-row>div.row-column .task-column{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-panel .project-table .project-table-body .task-row>div.row-user{padding:8px}.project-panel .project-table .project-table-body .task-row>div.row-user>ul{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;cursor:pointer}.project-panel .project-table .project-table-body .task-row>div.row-user>ul>li{max-width:100%;list-style:none;display:inline-block;margin-left:-6px}.project-panel .project-table .project-table-body .task-row>div.row-user>ul>li:first-child{margin-left:0}.project-panel .project-table .project-table-body .task-row>div.row-user>ul>li.no-owner{height:32px;display:flex;align-items:center}.project-panel .project-table .project-table-body .task-row>div.row-time .task-time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.project-panel .project-table .project-table-body .task-row>div.row-time .task-time.overdue,.project-panel .project-table .project-table-body .task-row>div.row-time .task-time.today{color:#fff;padding:0 4px;border:1px solid transparent;font-size:13px;border-radius:3px}.project-panel .project-table .project-table-body .task-row>div.row-time .task-time.overdue{font-weight:600;background-color:#ed4014;border-color:#ed4014}.project-panel .project-table .project-table-body .task-row>div.row-time .task-time.today{font-weight:500;background-color:#f90;border-color:#f90}.project-panel .project-table .project-table-body .task-rows .task-rows{position:relative;overflow:hidden}.project-panel .project-table .project-table-body .task-rows .task-rows:before{content:"";position:absolute;top:0;left:0;right:0;box-shadow:#00000014 0 0 8px 1px;z-index:1}.project-panel .project-table .project-table-body .task-rows .task-rows .task-row{background-color:#fcfcfd}.project-panel .project-table .project-table-body .task-rows .task-rows .task-row .priority-color{display:none}.project-panel .project-table .project-table-body .task-rows .task-rows .task-row>div.row-name{padding-left:56px}.project-panel .project-table .project-table-body .task-rows .task-rows .task-row>div.row-name .item-title{color:#6b6e72}.project-panel .project-table .project-table-body .task-rows .task-rows .task-row>div.row-column>div,.project-panel .project-table .project-table-body .task-rows .task-rows .task-row>div.row-priority>div{display:none}.project-panel .project-table .project-table-body .task-rows .task-rows .task-add-row{background-color:#fcfcfd}.project-panel .project-table .project-table-body .task-rows .task-rows .task-add-row>div.row-add{padding-left:56px}.project-panel .project-gantt{height:100%;position:relative}.project-panel-more-dropdown-menu>li .item{display:flex;align-items:center}.project-panel-more-dropdown-menu>li .item>i{width:18px;height:18px;line-height:18px;font-size:18px;margin-right:8px;padding:0;color:#bbb}.project-panel-more-dropdown-menu>li .item>i.ivu-icon{font-size:16px}.project-panel-wait-remove{margin-top:6px}.project-panel-wait-remove>li{display:flex;align-items:center;list-style:none;line-height:26px}.project-panel-wait-remove>li:first-child{font-weight:600}.project-panel-flow-cascader{max-height:none!important}.project-panel-flow-cascader .ivu-cascader-menu{height:auto;max-height:360px;overflow:auto}.project-panel-flow-cascader .ivu-cascader-menu-item{color:#606266!important}.project-panel-flow-cascader .ivu-cascader-menu-item.start{color:#ff7070!important}.project-panel-flow-cascader .ivu-cascader-menu-item.progress{color:#fc984b!important}.project-panel-flow-cascader .ivu-cascader-menu-item.test{color:#2f99ec!important}.project-panel-flow-cascader .ivu-cascader-menu-item.end{color:#0bc037!important}.project-panel-flow-cascader .ivu-cascader-menu-item.user-0{margin-top:12px;position:relative}.project-panel-flow-cascader .ivu-cascader-menu-item.user-0:before{content:"";position:absolute;top:-6px;left:0;right:0;border-top:1px solid #EBEEF5}.project-panel-flow-cascader .ivu-cascader-menu-item:hover.project-panel-flow-cascader-item.start,.project-panel-flow-cascader .ivu-cascader-menu-item.ivu-cascader-menu-item-active.project-panel-flow-cascader-item.start{background-color:#ff70701a}.project-panel-flow-cascader .ivu-cascader-menu-item:hover.project-panel-flow-cascader-item.progress,.project-panel-flow-cascader .ivu-cascader-menu-item.ivu-cascader-menu-item-active.project-panel-flow-cascader-item.progress{background-color:#fc984b1a}.project-panel-flow-cascader .ivu-cascader-menu-item:hover.project-panel-flow-cascader-item.test,.project-panel-flow-cascader .ivu-cascader-menu-item.ivu-cascader-menu-item-active.project-panel-flow-cascader-item.test{background-color:#2f99ec1a}.project-panel-flow-cascader .ivu-cascader-menu-item:hover.project-panel-flow-cascader-item.end,.project-panel-flow-cascader .ivu-cascader-menu-item.ivu-cascader-menu-item-active.project-panel-flow-cascader-item.end{background-color:#0bc0371a}body.window-portrait .project-panel .project-titbox{position:sticky;top:0;z-index:2;background-color:#fafafa;padding:12px 16px 4px}body.window-portrait .project-panel .project-titbox .project-title{float:left;max-width:100%}body.window-portrait .project-panel .project-titbox .project-title .project-back{flex-shrink:0;display:flex;align-items:center;justify-content:center;margin-left:-16px;width:52px}body.window-portrait .project-panel .project-titbox .project-title .project-back>i{font-size:26px}body.window-portrait .project-panel .project-titbox .project-title>h1{font-size:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body.window-portrait .project-panel .project-titbox .project-icons{float:right;margin-left:24px;margin-top:4px;justify-content:flex-end}body.window-portrait .project-panel .project-subbox{padding:0 16px}body.window-portrait .project-panel .project-subbox .project-subtitle{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}body.window-portrait .project-panel .project-subbox .project-switch{margin-left:0;justify-content:flex-end}body.window-portrait .project-panel .project-column::-webkit-scrollbar{display:none}body.window-portrait .project-panel .project-column>ul>li{width:320px}body.window-portrait .project-panel .project-column>ul>li:first-child{margin-left:10px}body.window-portrait .project-panel .project-column>ul>li:last-child{margin-right:10px}body.window-portrait .project-panel .project-table .project-table-head,body.window-portrait .project-panel .project-table .project-table-body{min-width:720px;margin:0 24px 12px}.project-workflow{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column}.project-workflow .workflow-title{color:#303133;font-size:20px;font-weight:500;line-height:1;padding:20px 20px 24px;display:flex;align-items:center}.project-workflow .workflow-title .title-icon{display:flex;align-items:center;width:14px;height:14px;margin-left:4px;margin-top:2px}.project-workflow .workflow-title .title-icon>i{cursor:pointer}.project-workflow .workflow-content{flex:1;padding:0 20px;overflow:auto}.project-workflow .workflow-content .ivu-collapse{min-width:700px}.project-workflow .workflow-content .ivu-collapse-header{display:flex;align-items:center}.project-workflow .workflow-content .workflow-item{flex:1;display:flex;align-items:center}.project-workflow .workflow-content .workflow-item .workflow-name{flex-shrink:0;margin-right:24px}.project-workflow .workflow-content .workflow-item .workflow-status{flex:1;display:flex;align-items:center}.project-workflow .workflow-content .workflow-item .workflow-status>div{height:24px;line-height:22px;margin-right:8px;padding:0 8px;border:1px solid #e8eaec;border-radius:3px;background:#f7f7f7;font-size:12px;vertical-align:middle;overflow:hidden}.project-workflow .workflow-content .workflow-item .workflow-status>div.start{background-color:#ff70701a;border-color:#ff70701a;color:#ff7070}.project-workflow .workflow-content .workflow-item .workflow-status>div.progress{background-color:#fc984b1a;border-color:#fc984b1a;color:#fc984b}.project-workflow .workflow-content .workflow-item .workflow-status>div.test{background-color:#2f99ec1a;border-color:#2f99ec1a;color:#2f99ec}.project-workflow .workflow-content .workflow-item .workflow-status>div.end{background-color:#0bc0371a;border-color:#0bc0371a;color:#0bc037}.project-workflow .workflow-content .workflow-item .workflow-save{margin:0 8px;flex-shrink:0}.project-workflow .workflow-content .workflow-item .workflow-save>button{height:26px;line-height:24px;padding:0 13px;font-size:13px;margin-right:4px}.project-workflow .workflow-no{flex:1;padding:0 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#999}.project-workflow .workflow-no>button{margin-top:18px}.project-workflow .taskflow-config{display:flex;max-height:800px}.project-workflow .taskflow-config .taskflow-config-table{display:flex;width:100%;border-radius:4px;box-shadow:1px 0 3px #0000001a}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-left-container{position:relative;flex-shrink:0;width:246px;padding-top:16px;padding-bottom:16px;overflow-x:scroll;-ms-overflow-style:none}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-left-container:after{content:"";position:absolute;top:0;right:0;bottom:0;z-index:1;border-right:1px solid #f4f4f5}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-column-header{position:absolute;top:0;left:0;right:0;height:58px;padding:0 20px;font-size:16px;font-weight:700;line-height:58px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-column-header.left-header{top:16px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-column-body{margin-top:58px;height:calc(100% - 58px)}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block{width:100%;padding:12px 0}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block.hr{position:relative}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block.hr:after{content:"";position:absolute;top:0;left:0;right:0;z-index:1;border-top:1px solid #f4f4f5}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .taskflow-config-table-block-title{padding:0 20px;height:40px;color:#8c8c8c;line-height:40px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .ivu-radio-group{display:block;text-align:center}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .ivu-radio-group .ivu-radio-group-item{position:relative;display:flex;flex-direction:column;justify-content:center;width:100%;padding:0 20px;height:58px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .ivu-checkbox-group{display:block;text-align:center}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .ivu-checkbox-group .ivu-checkbox-group-item,.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .taskflow-config-table-block-item{position:relative;display:flex;flex-direction:column;justify-content:center;width:100%;padding:0 20px;height:58px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .taskflow-config-table-block-item.with-indicator:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);height:20px;width:4px;border-radius:4px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .taskflow-config-table-block-item .title{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .taskflow-config-table-block-item .subtitle{margin-top:2px;font-size:12px;color:#8c8c8c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .taskflow-config-table-block-item.center{align-items:center}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .taskflow-config-table-block-item.radio-item>span{display:none}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .taskflow-config-table-block-item .transform-status-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-right-container{flex-grow:1;flex-direction:row;padding-top:16px;padding-bottom:16px;overflow-x:auto;overflow-y:hidden}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-list-wrapper,.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-right-container{display:flex}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column{position:relative;flex-shrink:0;width:210px;height:100%;margin-bottom:16px;margin-right:16px;border-radius:4px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column:first-child{margin-left:20px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column:hover .status-label-with-menu .more{opacity:1}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.addnew{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #d9d9d9;cursor:pointer;color:#8c8c8c}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.addnew:hover{color:#777;border-color:#bfbfbf}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.column-border{border-width:1px;border-style:solid}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.start{border-color:#ff707033}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.start:hover{border-color:#ff7070b3}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.start .ivu-radio-checked .ivu-radio-inner{border-color:#ff7070;box-shadow:none}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.start .ivu-radio-inner:after{background-color:#ff7070}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.start .ivu-checkbox-checked .ivu-checkbox-inner{border-color:#ff7070;background-color:#ff7070}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.progress{border-color:#fc984b33}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.progress:hover{border-color:#fc984bb3}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.progress .ivu-radio-checked .ivu-radio-inner{border-color:#fc984b;box-shadow:none}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.progress .ivu-radio-inner:after{background-color:#fc984b}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.progress .ivu-checkbox-checked .ivu-checkbox-inner{border-color:#fc984b;background-color:#fc984b}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.test{border-color:#2f99ec33}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.test:hover{border-color:#2f99ecb3}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.test .ivu-radio-checked .ivu-radio-inner{border-color:#2f99ec;box-shadow:none}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.test .ivu-radio-inner:after{background-color:#2f99ec}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.test .ivu-checkbox-checked .ivu-checkbox-inner{border-color:#2f99ec;background-color:#2f99ec}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.end{border-color:#0bc03733}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.end:hover{border-color:#0bc037b3}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.end .ivu-radio-checked .ivu-radio-inner{border-color:#0bc037;box-shadow:none}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.end .ivu-radio-inner:after{background-color:#0bc037}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.end .ivu-checkbox-checked .ivu-checkbox-inner{border-color:#0bc037;background-color:#0bc037}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column .ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner{background-color:#f3f3f3!important;border-color:#dcdee2!important}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-item{display:flex;align-items:center;padding:8px;height:58px;line-height:58px;cursor:move}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu{max-width:100%;display:inline-flex;align-items:center;border-radius:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:relative;padding:0 32px;width:200px;height:36px;line-height:32px;font-size:14px;font-weight:400;justify-content:center}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu:hover{font-weight:700}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu.start{background-color:#ff70701a;color:#ff7070}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu.progress{background-color:#fc984b1a;color:#fc984b}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu.test{background-color:#2f99ec1a;color:#2f99ec}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu.end{background-color:#0bc0371a;color:#0bc037}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu .more{cursor:pointer;position:absolute;top:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;width:38px;font-size:18px;font-weight:400!important;opacity:.2;transition:opacity .3s}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu .more.opacity{opacity:1}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu .more .more-icon{display:flex;align-items:center}.taskflow-config-more-dropdown-menu .users{display:flex;padding:6px 0;margin:0 -8px;overflow:auto}.taskflow-config-more-dropdown-menu .users .common-avatar{max-width:100%;margin-right:-5px}.taskflow-config-more-dropdown-menu .item{display:flex;align-items:center}.taskflow-config-more-dropdown-menu .delete{color:red}.task-add .head{display:flex;align-items:center;padding:8px 0;margin-bottom:20px;position:relative}.task-add .head .ivu-cascader .ivu-cascader-label{width:auto;padding:0;font-size:15px;display:flex;align-items:center}.task-add .head .ivu-cascader .ivu-cascader-label:after{transition:all .2s;padding:6px;font-family:Ionicons,serif;content:"\f116";opacity:1}.task-add .head .ivu-cascader .ivu-cascader-arrow{display:none}.task-add .head .ivu-cascader .ivu-input{padding:4px 0;border:0;box-shadow:none;font-size:15px}.task-add .head .ivu-cascader .ivu-cascader-not-found-tip{padding:6px 12px}.task-add .head.empty .ivu-cascader .ivu-cascader-label:after{opacity:0}.task-add .head.visible .ivu-cascader .ivu-cascader-label:after{transform:rotate(180deg)}.task-add .task-add-form .title .ivu-input,.task-add .task-add-advanced .title .ivu-input{font-weight:500;font-size:24px;padding:4px 0;line-height:1.4;resize:none;border-color:transparent}.task-add .task-add-form .title .ivu-input:focus,.task-add .task-add-advanced .title .ivu-input:focus{box-shadow:none}.task-add .task-add-form .desc,.task-add .task-add-advanced .desc{margin-top:24px;overflow:auto}.task-add .task-add-form .desc div[contenteditable=true],.task-add .task-add-advanced .desc div[contenteditable=true]{outline:none}.task-add .task-add-form .desc .mce-content-body img,.task-add .task-add-advanced .desc .mce-content-body img{max-width:100%}.task-add .task-add-form .desc .mce-content-body pre,.task-add .task-add-advanced .desc .mce-content-body pre{padding:14px;margin:7px 0;overflow:auto;background:#f5f2f0;border-radius:5px}.task-add .task-add-form .desc .mce-content-body[data-mce-placeholder]:not(.mce-visualblocks):before,.task-add .task-add-advanced .desc .mce-content-body[data-mce-placeholder]:not(.mce-visualblocks):before{color:#bbb}.task-add .task-add-form .advanced-option,.task-add .task-add-advanced .advanced-option{padding-top:42px;z-index:1;display:flex;align-items:center}.task-add .task-add-form .advanced-option.advanced-open>button,.task-add .task-add-advanced .advanced-option.advanced-open>button{margin-left:24px}.task-add .task-add-form .advanced-option>button,.task-add .task-add-advanced .advanced-option>button{transition:margin .2s}.task-add .task-add-form .advanced-option>button:focus,.task-add .task-add-advanced .advanced-option>button:focus{box-shadow:none}.task-add .task-add-form .advanced-option .advanced-priority,.task-add .task-add-advanced .advanced-option .advanced-priority{display:flex;align-items:center;margin-left:24px;height:34px;overflow-y:hidden;overflow-x:auto}.task-add .task-add-form .advanced-option .advanced-priority::-webkit-scrollbar,.task-add .task-add-advanced .advanced-option .advanced-priority::-webkit-scrollbar{display:none}.task-add .task-add-form .advanced-option .advanced-priority>li,.task-add .task-add-advanced .advanced-option .advanced-priority>li{list-style:none;margin-left:3px}.task-add .task-add-form .advanced-option .advanced-priority>li .taskfont,.task-add .task-add-advanced .advanced-option .advanced-priority>li .taskfont{font-size:34px;cursor:pointer}.task-add .task-add-form .advanced-option .advanced-time,.task-add .task-add-advanced .advanced-option .advanced-time{display:flex;align-items:center;margin-left:20px;position:relative;cursor:pointer;transition:margin .2s}.task-add .task-add-form .advanced-option .advanced-time .ivu-icon,.task-add .task-add-advanced .advanced-option .advanced-time .ivu-icon{font-size:32px}.task-add .task-add-form .advanced-option .advanced-time>em,.task-add .task-add-advanced .advanced-option .advanced-time>em{position:absolute;top:-5px;left:16px;font-family:Monospaced Number,"serif";transform:scale(.8);height:20px;min-width:20px;line-height:20px;border-radius:10px;background:#84C56A;color:#fff;text-align:center;padding:0 6px;font-size:12px;font-style:normal;white-space:nowrap;box-shadow:0 0 0 1px #fff}.task-add .task-add-form .visibility-text,.task-add .task-add-advanced .visibility-text{cursor:pointer}.task-add .task-add-form .visibility-text.color,.task-add .task-add-advanced .visibility-text.color{color:#bbb}.task-add .task-add-form .visibility-text .taskfont,.task-add .task-add-advanced .visibility-text .taskfont{display:inline-block;transform:scale(.9);opacity:.8;font-size:12px;margin-right:0}.task-add .task-add-form .task-add-visibility,.task-add .task-add-advanced .task-add-visibility{cursor:pointer;color:#909399b3}.task-add .task-add-advanced{margin:-16px 0 0;padding:46px 32px 6px;border-radius:8px;border:1px solid #e8e8e8}.task-add .task-add-advanced .subtasks{margin-bottom:24px;padding:12px 16px;border-radius:6px;background-color:#f8f8f8}.task-add .task-add-advanced .subtasks .enter-input.empty .ivu-input{background:transparent;border-color:transparent}.task-add .task-add-advanced .subtasks .enter-input.empty .ivu-input:hover,.task-add .task-add-advanced .subtasks .enter-input.empty .ivu-input:focus{box-shadow:none}.task-add .task-add-advanced .subtasks .sublist .ivu-row{margin-bottom:12px}.task-add .task-add-advanced .subtasks .sublist .ivu-row>div{padding-right:7px}.task-add .task-add-advanced .subtasks .sublist .ivu-row>div:last-child{padding-right:0}.task-add .task-add-advanced .ivu-date-picker{width:100%}.task-add .ivu-modal-footer{padding:26px 0 22px!important}body.window-portrait .task-add .task-add-form .advanced-option,body.window-portrait .task-add .task-add-advanced .advanced-option{width:calc(100% + 8px);padding-right:8px;justify-content:space-between}body.window-portrait .task-add .task-add-form .advanced-option.advanced-open>button,body.window-portrait .task-add .task-add-advanced .advanced-option.advanced-open>button{margin-left:8px}body.window-portrait .task-add .task-add-form .advanced-option.advanced-open .advanced-time,body.window-portrait .task-add .task-add-advanced .advanced-option.advanced-open .advanced-time{margin-right:4px}body.window-portrait .task-add .task-add-form .advanced-option .advanced-priority,body.window-portrait .task-add .task-add-advanced .advanced-option .advanced-priority{margin-left:8px}body.window-portrait .task-add .task-add-form .advanced-option .advanced-time,body.window-portrait .task-add .task-add-advanced .advanced-option .advanced-time{margin-left:4px}.task-add-simple{padding:12px}.task-add-simple .ivu-input-wrapper{display:none}.task-add-simple .add-placeholder{cursor:pointer;color:#888;margin:-12px;padding:12px}.task-add-simple .add-placeholder .ivu-icon{margin-right:4px}.task-add-simple .add-placeholder:hover{color:#606266}.task-add-simple .priority{display:none;align-items:center;min-height:22px;margin-top:10px;margin-bottom:-3px}.task-add-simple .priority>ul{flex:1;display:flex;align-items:center}.task-add-simple .priority>ul>li{list-style:none;margin-right:3px}.task-add-simple .priority>ul>li .taskfont{font-size:22px;cursor:pointer}.task-add-simple .priority .ivu-icon{cursor:pointer;font-size:16px}.task-add-simple.active .ivu-input-wrapper{display:block}.task-add-simple.active .add-placeholder{display:none}.task-add-simple.active .priority{display:flex}.task-add-row{background-color:#fff;border-bottom:1px solid #F4F4F5;position:relative}.task-add-row>div{display:flex;padding:8px 12px;border-right:1px solid #F4F4F5}.task-add-row>div:last-child{border-right:0}.task-add-row>div.row-add{display:flex;flex-direction:column;justify-content:center;min-height:48px;padding-left:34px}.task-add-row>div.row-add .add-btn{display:block;cursor:pointer;opacity:.5;transition:opacity .3s}.task-add-row>div.row-add .add-btn .add-icon{font-size:16px;margin-right:8px}.task-add-row>div.row-add .add-btn:hover{opacity:1}.task-add-row>div.row-add .add-input{display:none;align-items:flex-start;border:1px solid #dcdee2;border-radius:4px;color:#606266;background-color:#fff}.task-add-row>div.row-add .add-input:hover{border-color:#57a3f3}.task-add-row>div.row-add .add-input textarea{border-color:transparent;resize:none}.task-add-row>div.row-add .add-input textarea:focus{box-shadow:none}.task-add-row>div.row-add .add-input .priority{margin:0 4px;display:flex;align-items:center;height:31px}.task-add-row>div.row-add .add-input .priority>ul{flex:1;display:flex;align-items:center}.task-add-row>div.row-add .add-input .priority>ul>li{list-style:none;margin-right:4px}.task-add-row>div.row-add .add-input .priority>ul>li .taskfont{font-size:17px;cursor:pointer}.task-add-row>div.row-add .add-input .priority .ivu-icon{cursor:pointer;font-size:15px;margin:0 5px 0 3px}.task-add-row>div.row-add.active{padding-top:7px;padding-bottom:7px}.task-add-row>div.row-add.active .add-btn{display:none}.task-add-row>div.row-add.active .add-input{display:flex}.task-archived{position:absolute;top:0;left:0;right:0;bottom:0;padding:20px;display:flex;flex-direction:column}.task-archived .archived-title{color:#303133;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px;display:flex;align-items:center}.task-archived .archived-title .title-icon{display:flex;align-items:center;width:14px;height:14px;margin-left:4px;margin-top:2px}.task-archived .archived-title .title-icon>i{cursor:pointer}.task-archived .table-page-box{flex:1;height:0}.task-deleted{position:absolute;top:0;left:0;right:0;bottom:0;padding:20px;display:flex;flex-direction:column}.task-deleted .deleted-title{color:#303133;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px;display:flex;align-items:center}.task-deleted .deleted-title .title-icon{display:flex;align-items:center;width:14px;height:14px;margin-left:4px;margin-top:2px}.task-deleted .deleted-title .title-icon>i{cursor:pointer}.task-deleted .table-page-box{flex:1;height:0}.task-detail{display:flex;flex-direction:column;margin:0 -32px 12px -15px;padding:0 22px 10px 0;min-height:120px}.task-detail .task-info{flex:3;display:flex;flex-direction:column;position:relative}.task-detail .task-info .head{display:flex;align-items:center;height:42px;margin-left:5px;padding-bottom:10px;color:#888;position:relative}.task-detail .task-info .head:before{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background-color:#f4f5f5}.task-detail .task-info .head .task-menu-icon{margin-right:18px;display:flex;align-items:center}.task-detail .task-info .head .task-menu-icon .ivu-icon{font-size:18px}.task-detail .task-info .head .task-menu-icon .loading{width:18px;height:18px}.task-detail .task-info .head .task-menu-icon .loading .common-loading{width:16px;height:16px}.task-detail .task-info .head .task-menu-icon .uncomplete{color:#888}.task-detail .task-info .head .flow{display:flex;align-items:center;margin-right:10px}.task-detail .task-info .head .flow>span{font-size:14px;height:26px;line-height:24px;padding:0 8px;border-radius:4px;color:#84c56a;border:1px solid #84C56A;display:inline-block;text-align:center;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.task-detail .task-info .head .flow>span.archived{background-color:#7f7f7f1a;border-color:#7f7f7f1a;color:#7f7f7f}.task-detail .task-info .head .flow>span.start{background-color:#ff70701a;border-color:#ff70701a;color:#ff7070}.task-detail .task-info .head .flow>span.progress{background-color:#fc984b1a;border-color:#fc984b1a;color:#fc984b}.task-detail .task-info .head .flow>span.test{background-color:#2f99ec1a;border-color:#2f99ec1a;color:#2f99ec}.task-detail .task-info .head .flow>span.end{background-color:#0bc0371a;border-color:#0bc0371a;color:#0bc037}.task-detail .task-info .head .nav{flex:1;display:flex;align-items:center;font-size:12px;width:0;height:40px;overflow:auto}.task-detail .task-info .head .nav::-webkit-scrollbar{display:none}.task-detail .task-info .head .nav>p{display:flex;align-items:center;padding-right:5px}.task-detail .task-info .head .nav>p>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-detail .task-info .head .nav>p:after{content:"/";padding-left:5px}.task-detail .task-info .head .nav>p:last-child:after{display:none}.task-detail .task-info .head .function{display:flex;align-items:center;margin:0 32px}.task-detail .task-info .head .function .pick{margin-left:12px;margin-right:10px}.task-detail .task-info .head .function .open{margin-top:-2px;margin-left:12px;font-size:22px;cursor:pointer}.task-detail .task-info .head .function .menu{margin-left:12px;display:flex;align-items:center}.task-detail .task-info .head .function .menu .task-menu-icon{margin-right:0}.task-detail .task-info .head .function .menu .ivu-icon{font-size:22px;color:#606266}.task-detail .task-info .scroller{margin-right:-5px}.task-detail .task-info .scroller .scrollbar-content{padding:0 5px}.task-detail .task-info .scroller .title{margin-top:18px}.task-detail .task-info .scroller .title .ivu-input{font-weight:500;font-size:24px;padding:4px 0;line-height:1.4;resize:none;border-color:transparent}.task-detail .task-info .scroller .title .ivu-input:focus{box-shadow:none}.task-detail .task-info .scroller .desc{margin-top:10px}.task-detail .task-info .scroller .desc div[contenteditable=true]{outline:none}.task-detail .task-info .scroller .desc .mce-content-body img{max-width:100%}.task-detail .task-info .scroller .desc .mce-content-body pre{padding:14px;margin:7px 0;overflow:auto;background:#f5f2f0;border-radius:5px}.task-detail .task-info .scroller .desc .mce-content-body[data-mce-placeholder]:not(.mce-visualblocks):before{color:#bbb}.task-detail .task-info .scroller .items{margin-top:12px}.task-detail .task-info .scroller .items .ivu-form-item{margin-bottom:10px}.task-detail .task-info .scroller .items .item-label{display:flex;align-items:center;color:#bbb}.task-detail .task-info .scroller .items .item-label .taskfont{margin-right:4px}.task-detail .task-info .scroller .items .item-content{margin-top:5px;margin-left:12px}.task-detail .task-info .scroller .items .item-content>li{display:flex;align-items:center;list-style:none;line-height:26px}.task-detail .task-info .scroller .items .item-content>li .el-dropdown{display:flex;cursor:pointer}.task-detail .task-info .scroller .items .item-content>li .task-priority{padding:0 7px}.task-detail .task-info .scroller .items .item-content>li .picker-time{display:flex;align-items:center;flex-wrap:wrap;line-height:26px}.task-detail .task-info .scroller .items .item-content>li .picker-time .time{cursor:pointer;margin-right:10px}.task-detail .task-info .scroller .items .item-content>li .picker-time .ivu-tag{flex-shrink:0;margin-right:10px;padding:0 4px;height:20px;line-height:18px}.task-detail .task-info .scroller .items .item-content>li .picker-time .ivu-tag .ivu-tag-text{display:flex;align-items:center}.task-detail .task-info .scroller .items .item-content>li .picker-time .ivu-tag .ivu-tag-text .taskfont{transform:scale(.9);font-size:14px;padding-right:3px}.task-detail .task-info .scroller .items .item-content.user{margin-top:1px}.task-detail .task-info .scroller .items .item-content.file{margin-bottom:-3px}.task-detail .task-info .scroller .items .item-content.file>li{margin-bottom:2px}.task-detail .task-info .scroller .items .item-content.file>li.tip{color:#999}.task-detail .task-info .scroller .items .item-content.file>li .file-load{margin:0;padding:2px;width:16px;height:16px}.task-detail .task-info .scroller .items .item-content.file>li .file-ext{width:16px}.task-detail .task-info .scroller .items .item-content.file>li .file-name{color:#606266;padding-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-detail .task-info .scroller .items .item-content.file>li .file-size{flex-shrink:0;padding-left:10px;height:24px;font-size:12px;color:#bbb}.task-detail .task-info .scroller .items .item-content.file>li .file-menu{display:flex;align-items:center;opacity:0;transition:all .3s;padding-left:12px}.task-detail .task-info .scroller .items .item-content.file>li .file-menu.show{opacity:1}.task-detail .task-info .scroller .items .item-content.file>li .file-menu i{font-size:14px;color:#aaa;transition:color .3s;cursor:pointer;padding:0 4px}.task-detail .task-info .scroller .items .item-content.file>li .file-menu i:hover{color:#777}.task-detail .task-info .scroller .items .item-content.file>li .file-menu i.del{font-size:13px}.task-detail .task-info .scroller .items .item-content.file>li .file-menu i.del:hover{color:red}.task-detail .task-info .scroller .items .item-content.file>li:hover .file-name{color:#303133}.task-detail .task-info .scroller .items .item-content.file>li:hover .file-menu{opacity:1}.task-detail .task-info .scroller .items .item-content.subtask>li{align-items:flex-start;margin-bottom:4px}.task-detail .task-info .scroller .items .item-content.subtask>li:last-child{margin-bottom:-6px}.task-detail .task-info .scroller .items .item-content.subtask>li:hover .subtask-time .clock{transform:translate(0);opacity:.7}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-icon{padding-top:1px;width:16px;height:26px;line-height:26px;margin-right:6px;display:flex;align-items:center;cursor:pointer}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span{white-space:nowrap;font-size:12px;height:18px;min-width:20px;line-height:16px;padding:0 2px;border-radius:3px;color:#84c56a;border:1px solid #84C56A;display:inline-block;margin-right:3px;text-align:center;cursor:pointer}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span.start{background-color:#ff70701a;border-color:#ff70701a;color:#ff7070}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span.progress{background-color:#fc984b1a;border-color:#fc984b1a;color:#fc984b}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span.test{background-color:#2f99ec1a;border-color:#2f99ec1a;color:#2f99ec}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span.end{background-color:#0bc0371a;border-color:#0bc0371a;color:#0bc037}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-name{flex:1;margin-right:8px;display:flex}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-name .ivu-input{min-width:80px;margin:-2px 0;padding:4px 0;resize:none;border-color:transparent;line-height:20px}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-name .ivu-input:focus{box-shadow:none}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-time{margin-right:8px}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-time .time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;height:26px;line-height:26px;cursor:pointer}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-time .time.overdue{font-weight:600;color:#ed4014}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-time .time.today{font-weight:500;color:#f90}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-time .clock{margin:3px 2px;font-size:20px;transition:all .2s;transform:translate(50%);opacity:0}.task-detail .task-info .scroller .items .item-content.subtask>li .ivu-icon-ios-loading{animation:animation-icon-loading .6s infinite linear}.task-detail .task-info .scroller .items .item-content.nosub{margin-top:0}.task-detail .task-info .scroller .items .item-content.nosub>li .add-input,.task-detail .task-info .scroller .items .item-content.nosub>li .add-button{margin-top:-2px}.task-detail .task-info .scroller .items .visibility-text{cursor:pointer}.task-detail .task-info .scroller .items .visibility-text.color{color:#bbb}.task-detail .task-info .scroller .items .visibility-text .taskfont{display:inline-block;transform:scale(.9);font-size:12px;margin-right:0}.task-detail .task-info .scroller .add{margin-top:12px;margin-bottom:10px}.task-detail .task-info .scroller .add .el-dropdown{max-width:100%}.task-detail .task-info .scroller .add .el-dropdown .add-button>em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-detail .task-info .scroller .add-input{margin-top:6px}.task-detail .task-info .scroller .add-input.loading .ivu-icon-ios-loading{animation:animation-icon-loading .6s infinite linear}.task-detail .task-info .scroller .add-button{cursor:pointer;color:#bbb;display:flex;align-items:center;margin-top:6px;height:32px;white-space:nowrap}.task-detail .task-info .scroller .add-button>i{font-size:14px;padding-right:8px}.task-detail .task-info .scroller .add-button>em{font-style:normal;padding-left:4px}.task-detail .task-info .scroller .add-button>em:after{content:"/";padding-left:4px}.task-detail .task-info .scroller .add-button>em:last-child:after{display:none}.task-detail .task-info .scroller .add-button:hover{color:#909399}.task-detail .task-info .upload{display:none}.task-detail .task-dialog{flex:2;flex-shrink:0;display:flex;flex-direction:column;justify-content:flex-end;margin-top:22px;position:relative}.task-detail .task-dialog .head{display:flex;align-items:center;height:42px;margin-left:5px;padding-bottom:10px;color:#888;position:relative}.task-detail .task-dialog .head:before{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background-color:#f4f5f5}.task-detail .task-dialog .head .icon{width:18px;font-size:18px}.task-detail .task-dialog .head .nav{flex:1;display:flex;align-items:center;padding-left:18px;font-weight:500;color:#606266}.task-detail .task-dialog .head .nav>p{display:flex;align-items:center;margin-right:24px;cursor:pointer}.task-detail .task-dialog .head .nav>p.active{margin-top:-2px;font-size:16px;font-weight:600;color:#555;cursor:default}.task-detail .task-dialog .head .nav .refresh{display:flex;align-items:center;margin-left:-18px}.task-detail .task-dialog .head .nav .refresh>i{font-size:18px;cursor:pointer;opacity:.8;transition:opacity .2s}.task-detail .task-dialog .head .nav .refresh>i:hover{opacity:1}.task-detail .task-dialog .head .nav .refresh .common-loading{margin:3px;width:12px;height:12px}.task-detail .task-dialog .head .menu .menu-item{display:flex;align-items:center;line-height:24px}.task-detail .task-dialog .head .menu .menu-item .menu-load{margin-right:8px;width:14px;height:14px;display:flex}.task-detail .task-dialog .head .menu .menu-item>em{font-style:normal;padding-left:1px}.task-detail .task-dialog .head .menu .menu-item>i{margin-left:4px;font-size:14px}.task-detail .task-dialog .no-dialog{flex:1;display:flex;flex-direction:column;position:relative}.task-detail .task-dialog .no-dialog .no-tip{flex:1;display:none;margin-left:5px}.task-detail .task-dialog .no-dialog .no-input{position:relative;margin:22px 0 0 5px;background-color:#f4f5f7;padding:10px 4px 10px 6px;border-radius:10px}.task-detail .task-dialog .no-dialog .no-input .chat-input-box .chat-input-quick-emoji{right:0}.task-detail .task-dialog .no-dialog .no-input .chat-input-box .chat-input-wrapper{padding:0;background-color:#f4f5f7}.task-detail .task-dialog .no-dialog .no-input .chat-input-box .chat-input-wrapper .chat-toolbar>li.chat-record-recwave{background-color:#f4f5f7}.task-detail .task-dialog .no-dialog .drag-over{position:absolute;top:0;left:0;right:0;bottom:0;z-index:3;background-color:#ffffffc7;display:flex;align-items:center;justify-content:center}.task-detail .task-dialog .no-dialog .drag-over:before{content:"";position:absolute;top:0;left:5px;right:0;bottom:0;border:2px dashed #7b7b7b;border-radius:12px}.task-detail .task-dialog .no-dialog .drag-over .drag-text{padding:12px;font-size:18px;color:#606266}.task-detail .task-dialog .project-log{margin-left:5px}.task-detail .task-dialog .project-log .logs-activity{padding:13px 0 0}.task-detail .task-dialog .project-log .logs-activity>li{list-style:none;padding-top:0}.task-detail .task-dialog .project-log .logs-activity>li.logs-loading,.task-detail .task-dialog .project-log .logs-activity>li.logs-more,.task-detail .task-dialog .project-log .logs-activity>li.logs-none{height:59px;line-height:59px}.task-detail .task-dialog .project-log .logs-activity>li.logs-loading{display:flex;align-items:center}.task-detail .task-dialog .project-log .logs-activity>li.logs-loading .common-loading{width:22px;height:22px;margin:0}.task-detail .task-dialog .dialog-wrapper .dialog-scroller{padding-right:16px;padding-left:32px}.task-detail .task-dialog .dialog-wrapper .dialog-footer{padding:0 0 0 24px}.task-detail .task-dialog .dialog-wrapper .dialog-footer .chat-input-box .chat-input-quick-emoji{right:2px}.task-detail .task-load{margin-top:6px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex}.task-detail .task-load .common-loading{width:32px;height:32px}.task-detail.open-dialog{flex-direction:row}.task-detail.open-dialog .task-info .head .function{margin-right:2px}.task-detail.open-dialog .task-dialog{margin:0 0 0 18px;min-width:320px;max-width:450px;border-left:1px solid #f4f5f5}.task-detail.open-dialog .task-dialog .head:before{left:18px}.task-detail.open-dialog .task-dialog .head .icon:before{display:none}.task-detail.open-dialog .task-dialog .head .nav{padding-left:0}.task-detail.open-dialog .task-dialog .head .nav>p{margin-right:28px}.task-detail.open-dialog .task-dialog .head .nav>p.active{font-size:18px}.task-detail.open-dialog .task-dialog .no-dialog .no-tip{display:flex;align-items:center;justify-content:center;margin-left:18px;color:#909399}.task-detail.open-dialog .task-dialog .no-dialog .no-input{margin:0 0 0 18px}.task-detail.open-dialog .task-dialog .dialog-wrapper{z-index:0}.task-detail.open-dialog .task-dialog .dialog-wrapper .dialog-footer{margin-bottom:0}.task-detail.open-dialog .task-dialog .project-log{position:absolute;top:40px;left:0;right:0;bottom:0;z-index:1;padding:8px;margin-left:8px;background-color:#fff;overflow:auto}.task-detail.open-dialog .task-dialog .project-log .logs-activity{padding:13px 0 0 10px}.task-detail.completed .task-info:before{content:"\f373";font-family:Ionicons,serif;pointer-events:none;position:absolute;top:0;right:13%;font-size:72px;color:#19be6b;opacity:.2;z-index:1}.task-detail-receive{padding:6px 6px 3px}.task-detail-receive .receive-title{font-size:14px}.task-detail-receive .receive-title .ivu-icon{font-size:16px;color:#f90;line-height:18px}.task-detail-receive .receive-time{margin-top:10px}.task-detail-receive .receive-time .ivu-date-picker{width:280px}.task-detail-receive .receive-bottom{text-align:right;margin-top:12px}.task-detail-receive .receive-bottom>button+button{margin-left:4px}.task-detail-delete-file-popover{max-width:200px}.task-detail-delete-file-popover .buttons{text-align:right;margin-top:12px}.task-detail-delete-file-popover .buttons .ivu-btn-small{font-size:12px}.task-detail-loop>li{text-align:center}body.window-portrait .task-detail .task-info .scroller .scrollbar-content{overflow-x:auto}.task-menu-icon{position:relative}.task-menu-icon .loading{width:16px;height:16px;display:flex;align-items:center;justify-content:center}.task-menu-icon .loading .common-loading{margin:0;width:14px;height:14px}.task-menu-icon .ivu-icon{cursor:pointer;font-size:16px;color:#ccc}.task-menu-icon .ivu-icon.completed{color:#84c56a}.task-operation-dropdown{position:absolute;top:0;left:0;width:0;opacity:0;z-index:-1}.task-operation-dropdown .task-operation-icon{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;cursor:pointer}.task-operation-more-dropdown>li.task-operation-more-warp{list-style:none}.task-operation-more-dropdown>li.task-operation-more-warp>ul{max-height:320px;overflow:auto}.task-operation-more-dropdown>li.task-operation-more-warp>ul::-webkit-scrollbar{display:none}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li .item{display:flex;align-items:center}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li .item>i{flex-shrink:0;width:18px;height:18px;line-height:18px;font-size:18px;margin-right:8px;padding:0;color:#bbb}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li .item>i.ivu-icon{font-size:16px}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li .flow{padding:4px 0}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li .flow>i{margin-right:3px}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li .flow>i.check{color:#84c56a}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li .flow .flow-name{border-radius:4px;white-space:nowrap;padding:0 5px;height:20px;line-height:20px;font-size:12px;background:#f4f4f4;color:#595959}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li .flow .flow-name.start{background-color:#ff70701a;border-color:#ff70701a;color:#ff7070}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li .flow .flow-name.progress{background-color:#fc984b1a;border-color:#fc984b1a;color:#fc984b}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li .flow .flow-name.test{background-color:#2f99ec1a;border-color:#2f99ec1a;color:#2f99ec}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li .flow .flow-name.end{background-color:#0bc0371a;border-color:#0bc0371a;color:#0bc037}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li.load-flow{display:flex;align-items:center;justify-content:center;padding:8px}.task-operation-more-dropdown>li.task-operation-more-warp>ul>li.load-flow .load-flow-warp{width:18px;height:18px}.task-operation-more-dropdown>li.task-operation-more-warp.medium>ul>li .flow .flow-name{height:24px;line-height:24px;padding:0 7px}.task-operation-more-dropdown>li.task-operation-more-warp.large>ul>li .flow .flow-name{font-size:13px;height:30px;line-height:30px;padding:0 8px}.task-priority{font-size:13px;display:inline-block;padding:2px 5px;border-radius:3px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:transparent;border:1px solid transparent}.team-management{position:absolute;top:0;left:0;right:0;bottom:0;padding:20px;display:flex;flex-direction:column;overflow:auto}.team-management .management-title{color:#303133;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px;display:flex;align-items:center}.team-management .management-title .title-zoom{display:flex;align-items:center;height:20px;line-height:20px;margin-left:6px}.team-management .management-title .title-zoom>i{cursor:pointer;font-size:24px}.team-management .management-title .title-icon{display:flex;align-items:center;width:14px;height:14px;margin-left:4px;margin-top:2px}.team-management .management-title .title-icon>i{cursor:pointer}.team-management .management-box{flex:1;display:flex;height:0}.team-management .management-box.min-box .management-department{display:none}.team-management .management-box.min-box .management-user{padding-left:0}.team-management .management-box .management-department{width:239px;border-right:1px solid #efefef;flex-shrink:0;display:flex;flex-direction:column}.team-management .management-box .management-department>ul{flex:1;overflow:auto}.team-management .management-box .management-department>ul>li{list-style:none;padding:0;margin:0;height:40px;display:flex;align-items:center;cursor:pointer;overflow:hidden}.team-management .management-box .management-department>ul>li:hover,.team-management .management-box .management-department>ul>li.active{background-color:#ecf5ff}.team-management .management-box .management-department>ul>li.level-1{font-weight:500}.team-management .management-box .management-department>ul>li.level-2{margin-left:24px}.team-management .management-box .management-department>ul>li.level-3{margin-left:48px}.team-management .management-box .management-department>ul>li.level-4{margin-left:72px}.team-management .management-box .management-department>ul>li .department-icon{padding:8px;font-size:16px}.team-management .management-box .management-department>ul>li .department-title{flex:1;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-management .management-box .management-department>ul>li .department-menu{display:inline-block;padding:12px;font-size:16px;transform:rotate(-90deg)}.team-management .management-box .management-department .department-buttons{margin-top:20px;display:flex;align-items:center;justify-content:center}.team-management .management-box .management-user{flex:1;width:0;display:flex;flex-direction:column;padding-left:20px}.team-management .team-email{display:flex;align-items:center}.team-management .team-email .ivu-icon{color:#84c56a;margin-left:6px;font-size:16px}.team-management .team-email .ivu-tag{height:18px;line-height:18px;padding:0 4px;margin-left:4px;zoom:.8;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-management .table-page-box{flex:1;height:0}.team-department-add-dialog-group{display:flex;align-items:center}.team-department-add-dialog-group .dialog-name{flex:1;width:0;padding-right:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-department-checkin-item{margin-bottom:12px}.team-department-checkin-item>div{padding-right:12px}.team-department-checkin-item>div:last-child{padding-right:0}.team-table-department-warp{display:flex;align-items:center}.team-table-department-warp>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-table-department-warp .department-tag-num{background-color:#515a6e;border-radius:9px;color:#fff;cursor:pointer;flex-shrink:0;font-size:12px;height:18px;line-height:18px;margin-left:4px;min-width:18px;padding:0 5px;text-align:center;transform:scale(.9);transform-origin:right center}.update-log .uplog-head{display:flex;align-items:center}.update-log .uplog-head .uplog-title{display:inline-block;vertical-align:middle;font-size:18px;color:#303133;font-weight:500;margin-right:6px}.update-log .ivu-modal-body{padding:0 32px!important}.update-log .ivu-modal-body .uplog-body{max-height:240px}.update-log .ivu-modal-body .uplog-body .markdown-preview{margin:-20px -12px}.update-log .ivu-modal-body .uplog-body .markdown-preview h1{font-size:24px;margin-bottom:12px}.update-log .ivu-modal-body .uplog-body .markdown-preview h1:first-child{padding-top:0}.update-log .ivu-modal-body .uplog-body .markdown-preview h2{font-size:18px!important;padding-top:2px!important}.update-log .ivu-modal-body .uplog-body .markdown-preview ul li{padding:2px 0 2px 2px!important}.update-log .ivu-modal-body .uplog-body .markdown-preview ul li:after{top:10px!important;width:6px!important;height:6px!important}.update-log .ivu-modal-fullscreen .ivu-modal-body{padding:0 16px!important;margin:16px 0!important}.update-log .ivu-modal-fullscreen .ivu-modal-body .uplog-body{max-height:none;overflow-x:auto}.update-log .ivu-modal-fullscreen .ivu-modal-body .uplog-body .markdown-preview{margin:0}.task-exist-tips .ivu-modal-body{padding:0 26px 16px!important;max-height:500px;overflow:auto}.task-exist-tips .list-content{flex:1;width:100%}.task-exist-tips .list-task{margin-left:22px;margin-top:10px}.task-exist-tips .list-task-info{float:left;padding:0 12px}.task-exist-tips .list-task-info span:first-child{color:#a7abb5}.task-exist-tips .list-task-date{float:right}body.dark-mode-reverse .ivu-btn-primary,body.dark-mode-reverse .ivu-badge-count,body.dark-mode-reverse .common-right-bottom .common-right-bottom-link{color:#000}body.dark-mode-reverse .ivu-modal-mask{background-color:#e6e6e699}body.dark-mode-reverse .ivu-modal-content{box-shadow:0 4px 12px #ffffff26}body.dark-mode-reverse .ivu-message-notice-content{box-shadow:0 1px 6px #fff3;border:1px solid #e3e8ed}body.dark-mode-reverse .ivu-select-dropdown,body.dark-mode-reverse .ivu-notice-notice,body.dark-mode-reverse .ivu-tooltip-inner,body.dark-mode-reverse .ivu-poptip-inner{border:1px solid #e3e8ed;box-shadow:none}body.dark-mode-reverse .el-dropdown-menu{border-color:#e3e8ed;box-shadow:0 2px 12px #ffffff1a}body.dark-mode-reverse .el-tooltip__popper.is-light{border:1px solid #e3e8ed;box-shadow:0 1px 6px #fff3}body.dark-mode-reverse .common-avatar.avatar-wrapper .avatar-box .avatar-char{color:#000}body.dark-mode-reverse .common-drawer-overlay .overlay-body .overlay-close>a{color:#323232}body.dark-mode-reverse .common-drawer-overlay .overlay-body .overlay-close>a:hover{color:#000}body.dark-mode-reverse .file-content .content-body .tox .tox-edit-area__iframe,body.dark-mode-reverse .file-preview .content-body .tox .tox-edit-area__iframe{background-color:#000}body.dark-mode-reverse .file-content .content-body .teditor-loadedstyle .tox-sidebar-wrap,body.dark-mode-reverse .file-preview .content-body .teditor-loadedstyle .tox-sidebar-wrap{box-shadow:none}body.dark-mode-reverse .minder-editor-container .quickbar{border:1px solid #e3e8ed!important;box-shadow:3px 3px 10px #fff3!important}body.dark-mode-reverse .project-panel .project-titbox .project-icons>li.project-icon.active{color:#000}body.dark-mode-reverse .project-panel .project-column>ul>li .column-task .task-item .task-progress .task-time.overdue{color:#ed4014;background-color:transparent}body.dark-mode-reverse .project-panel .project-column>ul>li .column-task .task-item .task-progress .task-time.today{color:#f90;background-color:transparent}body.dark-mode-reverse .project-panel .project-table .project-table-body .task-row>div.row-time .task-time.overdue{color:#ed4014;background-color:transparent}body.dark-mode-reverse .project-panel .project-table .project-table-body .task-row>div.row-time .task-time.today{color:#f90;background-color:transparent}body.dark-mode-reverse .dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-avatar .icon-avatar{color:#1c1917}body.dark-mode-reverse .dialog-wrapper .dialog-nav .nav-wrapper .dialog-block .dialog-title .main-title>h2{color:#555}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head{background-color:#e1e1e1}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-reply .reply-desc,body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-text,body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-record,body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .content-meeting{color:#fff}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-content .open-approve-details .cause{border-bottom:1px solid #7f7f7f;border-top:1px solid #7f7f7f}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li{background-color:#f3f3f380}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item .dialog-view .dialog-head .dialog-emoji>li.hasme{background-color:#f3f3f3}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head{background-color:#84c56a}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-text>pre a{color:#0027a1}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-text>pre .mention{color:#000}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-text>pre .mention.file,body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-content .content-text>pre .mention[data-denotation-char="~"]{color:#0027a1!important}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-emoji>li{background-color:#b2ff9380}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-emoji>li.hasme{background-color:#b2ff93}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-emoji>li .emoji-users:before{background-color:#000000b3}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-item.self .dialog-view .dialog-head .dialog-emoji>li .emoji-users>ul>li{color:#000}body.dark-mode-reverse .dialog-group-info .group-info-user>ul>li .user-tag{color:#1c1917}body.dark-mode-reverse .file-icon:before{background-image:url(/js/build/other.0cd5a04c.svg)}body.dark-mode-reverse .file-icon.archive:before{background-image:url(/js/build/archive.12fcb5b5.svg)}body.dark-mode-reverse .file-icon.cad:before{background-image:url(/js/build/cad.868e2ca7.svg)}body.dark-mode-reverse .file-icon.code:before{background-image:url(/js/build/code.1f28156e.svg)}body.dark-mode-reverse .file-icon.document:before{background-image:url(/js/build/document.7a75f110.svg)}body.dark-mode-reverse .file-icon.drawio:before{background-image:url(/js/build/flow.0122e3f0.svg)}body.dark-mode-reverse .file-icon.excel:before{background-image:url(/js/build/excel.03422f0b.svg)}body.dark-mode-reverse .file-icon.flow:before{background-image:url(/js/build/flow.0122e3f0.svg)}body.dark-mode-reverse .file-icon.folder:before{background-image:url(/js/build/folder.f3036060.svg)}body.dark-mode-reverse .file-icon.folder.share:before{background-image:url(/js/build/folder-share.08f619a2.svg)}body.dark-mode-reverse .file-icon.media:before{background-image:url(/js/build/media.59a8ab73.svg)}body.dark-mode-reverse .file-icon.mind:before{background-image:url(/js/build/mind.8663d6b3.svg)}body.dark-mode-reverse .file-icon.ofd:before{background-image:url(/js/build/ofd.50e43c45.svg)}body.dark-mode-reverse .file-icon.pdf:before{background-image:url(/js/build/pdf.13216727.svg)}body.dark-mode-reverse .file-icon.picture:before{background-image:url(/js/build/picture.7c0acca9.svg)}body.dark-mode-reverse .file-icon.ppt:before{background-image:url(/js/build/ppt.0788eae8.svg)}body.dark-mode-reverse .file-icon.sheet:before{background-image:url(/js/build/sheet.74a69469.svg)}body.dark-mode-reverse .file-icon.tif:before{background-image:url(/js/build/tif.37ae91f2.svg)}body.dark-mode-reverse .file-icon.txt:before{background-image:url(/js/build/txt.13b9241a.svg)}body.dark-mode-reverse .file-icon.updir:before{background-image:url(/js/build/updir.39b387be.svg)}body.dark-mode-reverse .file-icon.upload:before{background-image:url(/js/build/upload.c7a709a7.svg)}body.dark-mode-reverse .file-icon.word:before{background-image:url(/js/build/word.41e80094.svg)}body.dark-mode-reverse .file-icon.wps:before{background-image:url(/js/build/wps.045449a7.svg)}body.dark-mode-reverse .page-login .login-body .login-box{box-shadow:none}body.dark-mode-reverse .page-manage .manage-box-menu .manage-box-dropdown .manage-box-title.menu-visible{box-shadow:0 1px 6px #fff3}body.dark-mode-reverse .page-dashboard .dashboard-wrapper .dashboard-block>li .block-title{color:#0009;font-size:12px}body.dark-mode-reverse .page-dashboard .dashboard-wrapper .dashboard-block>li .block-data .block-num{color:#000}body.dark-mode-reverse .page-dashboard .dashboard-wrapper .dashboard-block>li .block-data .taskfont{color:#000000b3}body.dark-mode-reverse .page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .icon-avatar{color:#1c1917}body.dark-mode-reverse .page-messenger .messenger-wrapper .messenger-select .messenger-list ul.dialog>li .dialog-box .dialog-text{color:#555}body.dark-mode-reverse .page-file .file-wrapper .file-navigator .ivu-btn{color:#000}body.dark-mode-reverse .page-index .page-warp{background-color:#efefef}body.dark-mode-reverse .page-index .page-warp .page-header .header-nav .header-nav-box .header-right-github,body.dark-mode-reverse .page-index .page-warp .page-header .header-nav .header-nav-box .header-right-uplog,body.dark-mode-reverse .page-index .page-warp .page-header .header-nav .header-nav-box .header-right-1 .header-right-1-dropdown,body.dark-mode-reverse .page-index .page-warp .page-header .header-nav .header-nav-box .header-right-2 .header-right-2-dropdown,body.dark-mode-reverse .page-index .page-warp .page-header .header-nav .header-nav-box .header-right-3,body.dark-mode-reverse .page-index .page-warp .page-header .header-content .header-title,body.dark-mode-reverse .page-index .page-warp .page-header .header-content .header-tips{color:#000}body.dark-mode-reverse .page-index .page-warp .page-header-bottom{background-color:#efefef}body.dark-mode-reverse .chat-input-box .chat-input-wrapper .ql-container .ql-editor{color:#ccc}body.dark-mode-reverse .chat-input-box .chat-input-wrapper .ql-container .ql-editor.ql-blank:before{color:#333}body.dark-mode-reverse .chat-input-box .chat-input-wrapper .ql-container .ql-editor .mention{color:#333}body.dark-mode-reverse .chat-input-box .chat-input-wrapper .chat-toolbar>li.chat-send .taskfont{color:#000}body.dark-mode-reverse .common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-search .search-selected ul>li .icon-avatar{color:#1c1917}body.dark-mode-reverse .common-user-select-modal .ivu-modal .ivu-modal-body .user-modal-list ul>li .user-modal-avatar .icon-avatar{color:#1c1917} diff --git a/public/js/build/app.92886a13.js b/public/js/build/app.6cefc0c3.js similarity index 98% rename from public/js/build/app.92886a13.js rename to public/js/build/app.6cefc0c3.js index 6d5e0ffde..9b8faf06e 100644 --- a/public/js/build/app.92886a13.js +++ b/public/js/build/app.6cefc0c3.js @@ -1,4 +1,4 @@ -var mL={languageTypes:{zh:"\u7B80\u4F53\u4E2D\u6587","zh-CHT":"\u7E41\u9AD4\u4E2D\u6587",en:"English",ko:"\uD55C\uAD6D\uC5B4",ja:"\u65E5\u672C\u8A9E",de:"Deutsch",fr:"Fran\xE7ais",id:"Indonesia"},replaceArgumentsLanguage(e,t){let n=1;for(;e.indexOf("(*)")!==-1;)typeof t[n]=="object"?e=e.replace("(*)",""):e=e.replace("(*)",t[n]),n++;return e},replaceEscape(e){return!e||e==""?"":e.replace(/\(\*\)/g,"~%~").replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&").replace(/~%~/g,"(.*?)")},getLanguage(){let e=window.localStorage.getItem("__language:type__");if(typeof e=="string"&&typeof this.languageTypes[e]!="undefined")return e;e="en";let t=((window.navigator.language||navigator.userLanguage)+"").toLowerCase();switch(t){case"zh":case"cn":case"zh-cn":e="zh";break;case"zh-tw":case"zh-tr":case"zh-hk":case"zh-cnt":case"zh-cht":e="zh-CHT";break;default:typeof this.languageTypes[t]!="undefined"&&(e=t);break}return window.localStorage.setItem("__language:type__",e),e}};const Zv=mL,gL=Zv.languageTypes,Fl=Zv.getLanguage(),Ou={};function Zq(e){if(!$A.isArray(e))return;const t=Object.assign(Object.keys(gL));e.some(n=>{let r=-1;n.key&&t.some(a=>{const s=n[a]||n.general||null;s&&typeof window.LANGUAGE_DATA[a]!="undefined"&&(r=window.LANGUAGE_DATA[a].push(s)-1)}),r>-1&&(window.LANGUAGE_DATA.key[n.key]=r)})}function Qq(e){e!==void 0&&$A.modalConfirm({content:"\u5207\u6362\u8BED\u8A00\u9700\u8981\u5237\u65B0\u540E\u751F\u6548\uFF0C\u662F\u5426\u786E\u5B9A\u5237\u65B0\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",onOk:()=>{window.localStorage.setItem("__language:type__",e),$A.reloadUrl()}})}function Ab(e){var n;if(typeof arguments[1]!="undefined")return Ab(Zv.replaceArgumentsLanguage(e,arguments));if(typeof e!="string"||!e||typeof window.LANGUAGE_DATA=="undefined"||typeof window.LANGUAGE_DATA.key=="undefined"||typeof window.LANGUAGE_DATA[Fl]=="undefined")return e;const t=window.LANGUAGE_DATA.key[e]||-1;if(t>-1)return window.LANGUAGE_DATA[Fl][t]||e;if(typeof Ou[e]=="undefined"){Ou[e]=!1;for(let r in window.LANGUAGE_DATA.key)if(r.indexOf("(*)")>-1){const a=new RegExp("^"+Zv.replaceEscape(r)+"$","g");if(a.test(e)){let s=0;const l=window.LANGUAGE_DATA.key[r],c=(n=window.LANGUAGE_DATA[Fl][l]||r)==null?void 0:n.replace(/\(\*\)/g,function(){return"$"+ ++s});Ou[e]={rege:a,value:c};break}}}return Ou[e]?e.replace(Ou[e].rege,Ou[e].value):(window.systemInfo.debug==="yes"&&setTimeout(r=>{try{let a="__language:Undefined__",s=JSON.parse(window.localStorage.getItem(a)||"[]");$A.isArray(s)||(s=[]);let l=null;s.find(h=>(l=new RegExp("^"+h.replace(/\(\*\)/g,"(.*?)")+"$","g"),!!e.match(l)))||(s.push(e),window.localStorage.setItem(a,JSON.stringify(s)))}catch{}},10),e)}var Ss=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function k6(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Gm(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}function Pp(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var D6={exports:{}};/*! +var mL={languageTypes:{zh:"\u7B80\u4F53\u4E2D\u6587","zh-CHT":"\u7E41\u9AD4\u4E2D\u6587",en:"English",ko:"\uD55C\uAD6D\uC5B4",ja:"\u65E5\u672C\u8A9E",de:"Deutsch",fr:"Fran\xE7ais",id:"Indonesia"},replaceArgumentsLanguage(e,t){let n=1;for(;e.indexOf("(*)")!==-1;)typeof t[n]=="object"?e=e.replace("(*)",""):e=e.replace("(*)",t[n]),n++;return e},replaceEscape(e){return!e||e==""?"":e.replace(/\(\*\)/g,"~%~").replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&").replace(/~%~/g,"(.*?)")},getLanguage(){let e=window.localStorage.getItem("__language:type__");if(typeof e=="string"&&typeof this.languageTypes[e]!="undefined")return e;e="en";let t=((window.navigator.language||navigator.userLanguage)+"").toLowerCase();switch(t){case"zh":case"cn":case"zh-cn":e="zh";break;case"zh-tw":case"zh-tr":case"zh-hk":case"zh-cnt":case"zh-cht":e="zh-CHT";break;default:typeof this.languageTypes[t]!="undefined"&&(e=t);break}return window.localStorage.setItem("__language:type__",e),e}};const Zv=mL,gL=Zv.languageTypes,Fl=Zv.getLanguage(),Ou={};function Zq(e){if(!$A.isArray(e))return;const t=Object.assign(Object.keys(gL));e.some(n=>{let r=-1;n.key&&t.some(a=>{const s=n[a]||n.general||null;s&&typeof window.LANGUAGE_DATA[a]!="undefined"&&(r=window.LANGUAGE_DATA[a].push(s)-1)}),r>-1&&(window.LANGUAGE_DATA.key[n.key]=r)})}function Qq(e){e!==void 0&&$A.modalConfirm({content:"\u5207\u6362\u8BED\u8A00\u9700\u8981\u5237\u65B0\u540E\u751F\u6548\uFF0C\u662F\u5426\u786E\u5B9A\u5237\u65B0\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",onOk:()=>{window.localStorage.setItem("__language:type__",e),$A.reloadUrl()}})}function Ab(e){var n;if(typeof arguments[1]!="undefined")return Ab(Zv.replaceArgumentsLanguage(e,arguments));if(typeof e!="string"||!e||typeof window.LANGUAGE_DATA=="undefined"||typeof window.LANGUAGE_DATA.key=="undefined"||typeof window.LANGUAGE_DATA[Fl]=="undefined")return e;const t=window.LANGUAGE_DATA.key[e]||-1;if(t>-1)return window.LANGUAGE_DATA[Fl][t]||e;if(typeof Ou[e]=="undefined"){Ou[e]=!1;for(let r in window.LANGUAGE_DATA.key)if(r.indexOf("(*)")>-1){const a=new RegExp("^"+Zv.replaceEscape(r)+"$","g");if(a.test(e)){let s=0;const l=window.LANGUAGE_DATA.key[r],c=(n=window.LANGUAGE_DATA[Fl][l]||r)==null?void 0:n.replace(/\(\*\)/g,function(){return"$"+ ++s});Ou[e]={rege:a,value:c};break}}}return Ou[e]?e.replace(Ou[e].rege,Ou[e].value):(window.systemInfo.debug==="yes"&&setTimeout(r=>{try{let a="__language:Undefined__",s=JSON.parse(window.localStorage.getItem(a)||"[]");$A.isArray(s)||(s=[]);let l=null;s.find(h=>(l=new RegExp("^"+h.replace(/\(\*\)/g,"(.*?)")+"$","g"),!!e.match(l)))||(s.push(e),window.localStorage.setItem(a,JSON.stringify(s)))}catch{}},10),e)}var Ss=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function kk(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Gm(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}function Pp(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Dk={exports:{}};/*! * jQuery JavaScript Library v3.6.4 * https://jquery.com/ * @@ -13,24 +13,24 @@ var mL={languageTypes:{zh:"\u7B80\u4F53\u4E2D\u6587","zh-CHT":"\u7E41\u9AD4\u4E2 */(function(e){(function(t,n){e.exports=t.document?n(t,!0):function(r){if(!r.document)throw new Error("jQuery requires a window with a document");return n(r)}})(typeof window!="undefined"?window:Ss,function(t,n){var r=[],a=Object.getPrototypeOf,s=r.slice,l=r.flat?function(O){return r.flat.call(O)}:function(O){return r.concat.apply([],O)},c=r.push,h=r.indexOf,i={},p=i.toString,d=i.hasOwnProperty,v=d.toString,m=v.call(Object),_={},y=function(N){return typeof N=="function"&&typeof N.nodeType!="number"&&typeof N.item!="function"},b=function(N){return N!=null&&N===N.window},E=t.document,D={type:!0,src:!0,nonce:!0,noModule:!0};function x(O,N,K){K=K||E;var te,Ce,Se=K.createElement("script");if(Se.text=O,N)for(te in D)Ce=N[te]||N.getAttribute&&N.getAttribute(te),Ce&&Se.setAttribute(te,Ce);K.head.appendChild(Se).parentNode.removeChild(Se)}function C(O){return O==null?O+"":typeof O=="object"||typeof O=="function"?i[p.call(O)]||"object":typeof O}var k="3.6.4",w=function(O,N){return new w.fn.init(O,N)};w.fn=w.prototype={jquery:k,constructor:w,length:0,toArray:function(){return s.call(this)},get:function(O){return O==null?s.call(this):O<0?this[O+this.length]:this[O]},pushStack:function(O){var N=w.merge(this.constructor(),O);return N.prevObject=this,N},each:function(O){return w.each(this,O)},map:function(O){return this.pushStack(w.map(this,function(N,K){return O.call(N,K,N)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,function(O,N){return(N+1)%2}))},odd:function(){return this.pushStack(w.grep(this,function(O,N){return N%2}))},eq:function(O){var N=this.length,K=+O+(O<0?N:0);return this.pushStack(K>=0&&K0&&N-1 in O}var M=function(O){var N,K,te,Ce,Se,Me,He,je,Qe,it,bt,nt,lt,rn,_n,Zt,Sr,yr,Ei,Wn="sizzle"+1*new Date,yn=O.document,Zr=0,$n=0,nr=_u(),bo=_u(),mu=_u(),ki=_u(),zs=function($e,ze){return $e===ze&&(bt=!0),0},ts={}.hasOwnProperty,Fr=[],Ma=Fr.pop,Di=Fr.push,ns=Fr.push,zc=Fr.slice,Us=function($e,ze){for(var Ke=0,ct=$e.length;Ke+~]|"+zn+")"+zn+"*"),sh=new RegExp(zn+"|>"),ol=new RegExp(gu),o_=new RegExp("^"+rs+"$"),ll={ID:new RegExp("^#("+rs+")"),CLASS:new RegExp("^\\.("+rs+")"),TAG:new RegExp("^("+rs+"|[*])"),ATTR:new RegExp("^"+ih),PSEUDO:new RegExp("^"+gu),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+zn+"*(even|odd|(([+-]|)(\\d*)n|)"+zn+"*(?:([+-]|)"+zn+"*(\\d+)|))"+zn+"*\\)|)","i"),bool:new RegExp("^(?:"+Uc+")$","i"),needsContext:new RegExp("^"+zn+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+zn+"*((?:-\\d)?\\d*)"+zn+"*\\)|)(?=[^-]|$)","i")},zi=/HTML$/i,l_=/^(?:input|select|textarea|button)$/i,Vc=/^h\d$/i,ul=/^[^{]+\{\s*\[native \w/,u_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Wc=/[+~]/,wa=new RegExp("\\\\[\\da-fA-F]{1,6}"+zn+"?|\\\\([^\\r\\n\\f])","g"),Ui=function($e,ze){var Ke="0x"+$e.slice(1)-65536;return ze||(Ke<0?String.fromCharCode(Ke+65536):String.fromCharCode(Ke>>10|55296,Ke&1023|56320))},Hc=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Kc=function($e,ze){return ze?$e==="\0"?"\uFFFD":$e.slice(0,-1)+"\\"+$e.charCodeAt($e.length-1).toString(16)+" ":"\\"+$e},Gc=function(){nt()},c_=bu(function($e){return $e.disabled===!0&&$e.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{ns.apply(Fr=zc.call(yn.childNodes),yn.childNodes),Fr[yn.childNodes.length].nodeType}catch{ns={apply:Fr.length?function(ze,Ke){Di.apply(ze,zc.call(Ke))}:function(ze,Ke){for(var ct=ze.length,qe=0;ze[ct++]=Ke[qe++];);ze.length=ct-1}}}function Kn($e,ze,Ke,ct){var qe,vt,wt,$t,jt,un,Ft,fn=ze&&ze.ownerDocument,On=ze?ze.nodeType:9;if(Ke=Ke||[],typeof $e!="string"||!$e||On!==1&&On!==9&&On!==11)return Ke;if(!ct&&(nt(ze),ze=ze||lt,_n)){if(On!==11&&(jt=u_.exec($e)))if(qe=jt[1]){if(On===9)if(wt=ze.getElementById(qe)){if(wt.id===qe)return Ke.push(wt),Ke}else return Ke;else if(fn&&(wt=fn.getElementById(qe))&&Ei(ze,wt)&&wt.id===qe)return Ke.push(wt),Ke}else{if(jt[2])return ns.apply(Ke,ze.getElementsByTagName($e)),Ke;if((qe=jt[3])&&K.getElementsByClassName&&ze.getElementsByClassName)return ns.apply(Ke,ze.getElementsByClassName(qe)),Ke}if(K.qsa&&!ki[$e+" "]&&(!Zt||!Zt.test($e))&&(On!==1||ze.nodeName.toLowerCase()!=="object")){if(Ft=$e,fn=ze,On===1&&(sh.test($e)||ah.test($e))){for(fn=Wc.test($e)&&wo(ze.parentNode)||ze,(fn!==ze||!K.scope)&&(($t=ze.getAttribute("id"))?$t=$t.replace(Hc,Kc):ze.setAttribute("id",$t=Wn)),un=Me($e),vt=un.length;vt--;)un[vt]=($t?"#"+$t:":scope")+" "+cl(un[vt]);Ft=un.join(",")}try{return ns.apply(Ke,fn.querySelectorAll(Ft)),Ke}catch{ki($e,!0)}finally{$t===Wn&&ze.removeAttribute("id")}}}return je($e.replace(sl,"$1"),ze,Ke,ct)}function _u(){var $e=[];function ze(Ke,ct){return $e.push(Ke+" ")>te.cacheLength&&delete ze[$e.shift()],ze[Ke+" "]=ct}return ze}function Vi($e){return $e[Wn]=!0,$e}function Qr($e){var ze=lt.createElement("fieldset");try{return!!$e(ze)}catch{return!1}finally{ze.parentNode&&ze.parentNode.removeChild(ze),ze=null}}function yu($e,ze){for(var Ke=$e.split("|"),ct=Ke.length;ct--;)te.attrHandle[Ke[ct]]=ze}function Yc($e,ze){var Ke=ze&&$e,ct=Ke&&$e.nodeType===1&&ze.nodeType===1&&$e.sourceIndex-ze.sourceIndex;if(ct)return ct;if(Ke){for(;Ke=Ke.nextSibling;)if(Ke===ze)return-1}return $e?1:-1}function d_($e){return function(ze){var Ke=ze.nodeName.toLowerCase();return Ke==="input"&&ze.type===$e}}function f_($e){return function(ze){var Ke=ze.nodeName.toLowerCase();return(Ke==="input"||Ke==="button")&&ze.type===$e}}function oh($e){return function(ze){return"form"in ze?ze.parentNode&&ze.disabled===!1?"label"in ze?"label"in ze.parentNode?ze.parentNode.disabled===$e:ze.disabled===$e:ze.isDisabled===$e||ze.isDisabled!==!$e&&c_(ze)===$e:ze.disabled===$e:"label"in ze?ze.disabled===$e:!1}}function is($e){return Vi(function(ze){return ze=+ze,Vi(function(Ke,ct){for(var qe,vt=$e([],Ke.length,ze),wt=vt.length;wt--;)Ke[qe=vt[wt]]&&(Ke[qe]=!(ct[qe]=Ke[qe]))})})}function wo($e){return $e&&typeof $e.getElementsByTagName!="undefined"&&$e}K=Kn.support={},Se=Kn.isXML=function($e){var ze=$e&&$e.namespaceURI,Ke=$e&&($e.ownerDocument||$e).documentElement;return!zi.test(ze||Ke&&Ke.nodeName||"HTML")},nt=Kn.setDocument=function($e){var ze,Ke,ct=$e?$e.ownerDocument||$e:yn;return ct==lt||ct.nodeType!==9||!ct.documentElement||(lt=ct,rn=lt.documentElement,_n=!Se(lt),yn!=lt&&(Ke=lt.defaultView)&&Ke.top!==Ke&&(Ke.addEventListener?Ke.addEventListener("unload",Gc,!1):Ke.attachEvent&&Ke.attachEvent("onunload",Gc)),K.scope=Qr(function(qe){return rn.appendChild(qe).appendChild(lt.createElement("div")),typeof qe.querySelectorAll!="undefined"&&!qe.querySelectorAll(":scope fieldset div").length}),K.cssHas=Qr(function(){try{return lt.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),K.attributes=Qr(function(qe){return qe.className="i",!qe.getAttribute("className")}),K.getElementsByTagName=Qr(function(qe){return qe.appendChild(lt.createComment("")),!qe.getElementsByTagName("*").length}),K.getElementsByClassName=ul.test(lt.getElementsByClassName),K.getById=Qr(function(qe){return rn.appendChild(qe).id=Wn,!lt.getElementsByName||!lt.getElementsByName(Wn).length}),K.getById?(te.filter.ID=function(qe){var vt=qe.replace(wa,Ui);return function(wt){return wt.getAttribute("id")===vt}},te.find.ID=function(qe,vt){if(typeof vt.getElementById!="undefined"&&_n){var wt=vt.getElementById(qe);return wt?[wt]:[]}}):(te.filter.ID=function(qe){var vt=qe.replace(wa,Ui);return function(wt){var $t=typeof wt.getAttributeNode!="undefined"&&wt.getAttributeNode("id");return $t&&$t.value===vt}},te.find.ID=function(qe,vt){if(typeof vt.getElementById!="undefined"&&_n){var wt,$t,jt,un=vt.getElementById(qe);if(un){if(wt=un.getAttributeNode("id"),wt&&wt.value===qe)return[un];for(jt=vt.getElementsByName(qe),$t=0;un=jt[$t++];)if(wt=un.getAttributeNode("id"),wt&&wt.value===qe)return[un]}return[]}}),te.find.TAG=K.getElementsByTagName?function(qe,vt){if(typeof vt.getElementsByTagName!="undefined")return vt.getElementsByTagName(qe);if(K.qsa)return vt.querySelectorAll(qe)}:function(qe,vt){var wt,$t=[],jt=0,un=vt.getElementsByTagName(qe);if(qe==="*"){for(;wt=un[jt++];)wt.nodeType===1&&$t.push(wt);return $t}return un},te.find.CLASS=K.getElementsByClassName&&function(qe,vt){if(typeof vt.getElementsByClassName!="undefined"&&_n)return vt.getElementsByClassName(qe)},Sr=[],Zt=[],(K.qsa=ul.test(lt.querySelectorAll))&&(Qr(function(qe){var vt;rn.appendChild(qe).innerHTML="
",qe.querySelectorAll("[msallowcapture^='']").length&&Zt.push("[*^$]="+zn+`*(?:''|"")`),qe.querySelectorAll("[selected]").length||Zt.push("\\["+zn+"*(?:value|"+Uc+")"),qe.querySelectorAll("[id~="+Wn+"-]").length||Zt.push("~="),vt=lt.createElement("input"),vt.setAttribute("name",""),qe.appendChild(vt),qe.querySelectorAll("[name='']").length||Zt.push("\\["+zn+"*name"+zn+"*="+zn+`*(?:''|"")`),qe.querySelectorAll(":checked").length||Zt.push(":checked"),qe.querySelectorAll("a#"+Wn+"+*").length||Zt.push(".#.+[+~]"),qe.querySelectorAll("\\\f"),Zt.push("[\\r\\n\\f]")}),Qr(function(qe){qe.innerHTML="";var vt=lt.createElement("input");vt.setAttribute("type","hidden"),qe.appendChild(vt).setAttribute("name","D"),qe.querySelectorAll("[name=d]").length&&Zt.push("name"+zn+"*[*^$|!~]?="),qe.querySelectorAll(":enabled").length!==2&&Zt.push(":enabled",":disabled"),rn.appendChild(qe).disabled=!0,qe.querySelectorAll(":disabled").length!==2&&Zt.push(":enabled",":disabled"),qe.querySelectorAll("*,:x"),Zt.push(",.*:")})),(K.matchesSelector=ul.test(yr=rn.matches||rn.webkitMatchesSelector||rn.mozMatchesSelector||rn.oMatchesSelector||rn.msMatchesSelector))&&Qr(function(qe){K.disconnectedMatch=yr.call(qe,"*"),yr.call(qe,"[s!='']:x"),Sr.push("!=",gu)}),K.cssHas||Zt.push(":has"),Zt=Zt.length&&new RegExp(Zt.join("|")),Sr=Sr.length&&new RegExp(Sr.join("|")),ze=ul.test(rn.compareDocumentPosition),Ei=ze||ul.test(rn.contains)?function(qe,vt){var wt=qe.nodeType===9&&qe.documentElement||qe,$t=vt&&vt.parentNode;return qe===$t||!!($t&&$t.nodeType===1&&(wt.contains?wt.contains($t):qe.compareDocumentPosition&&qe.compareDocumentPosition($t)&16))}:function(qe,vt){if(vt){for(;vt=vt.parentNode;)if(vt===qe)return!0}return!1},zs=ze?function(qe,vt){if(qe===vt)return bt=!0,0;var wt=!qe.compareDocumentPosition-!vt.compareDocumentPosition;return wt||(wt=(qe.ownerDocument||qe)==(vt.ownerDocument||vt)?qe.compareDocumentPosition(vt):1,wt&1||!K.sortDetached&&vt.compareDocumentPosition(qe)===wt?qe==lt||qe.ownerDocument==yn&&Ei(yn,qe)?-1:vt==lt||vt.ownerDocument==yn&&Ei(yn,vt)?1:it?Us(it,qe)-Us(it,vt):0:wt&4?-1:1)}:function(qe,vt){if(qe===vt)return bt=!0,0;var wt,$t=0,jt=qe.parentNode,un=vt.parentNode,Ft=[qe],fn=[vt];if(!jt||!un)return qe==lt?-1:vt==lt?1:jt?-1:un?1:it?Us(it,qe)-Us(it,vt):0;if(jt===un)return Yc(qe,vt);for(wt=qe;wt=wt.parentNode;)Ft.unshift(wt);for(wt=vt;wt=wt.parentNode;)fn.unshift(wt);for(;Ft[$t]===fn[$t];)$t++;return $t?Yc(Ft[$t],fn[$t]):Ft[$t]==yn?-1:fn[$t]==yn?1:0}),lt},Kn.matches=function($e,ze){return Kn($e,null,null,ze)},Kn.matchesSelector=function($e,ze){if(nt($e),K.matchesSelector&&_n&&!ki[ze+" "]&&(!Sr||!Sr.test(ze))&&(!Zt||!Zt.test(ze)))try{var Ke=yr.call($e,ze);if(Ke||K.disconnectedMatch||$e.document&&$e.document.nodeType!==11)return Ke}catch{ki(ze,!0)}return Kn(ze,lt,null,[$e]).length>0},Kn.contains=function($e,ze){return($e.ownerDocument||$e)!=lt&&nt($e),Ei($e,ze)},Kn.attr=function($e,ze){($e.ownerDocument||$e)!=lt&&nt($e);var Ke=te.attrHandle[ze.toLowerCase()],ct=Ke&&ts.call(te.attrHandle,ze.toLowerCase())?Ke($e,ze,!_n):void 0;return ct!==void 0?ct:K.attributes||!_n?$e.getAttribute(ze):(ct=$e.getAttributeNode(ze))&&ct.specified?ct.value:null},Kn.escape=function($e){return($e+"").replace(Hc,Kc)},Kn.error=function($e){throw new Error("Syntax error, unrecognized expression: "+$e)},Kn.uniqueSort=function($e){var ze,Ke=[],ct=0,qe=0;if(bt=!K.detectDuplicates,it=!K.sortStable&&$e.slice(0),$e.sort(zs),bt){for(;ze=$e[qe++];)ze===$e[qe]&&(ct=Ke.push(qe));for(;ct--;)$e.splice(Ke[ct],1)}return it=null,$e},Ce=Kn.getText=function($e){var ze,Ke="",ct=0,qe=$e.nodeType;if(qe){if(qe===1||qe===9||qe===11){if(typeof $e.textContent=="string")return $e.textContent;for($e=$e.firstChild;$e;$e=$e.nextSibling)Ke+=Ce($e)}else if(qe===3||qe===4)return $e.nodeValue}else for(;ze=$e[ct++];)Ke+=Ce(ze);return Ke},te=Kn.selectors={cacheLength:50,createPseudo:Vi,match:ll,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(wa,Ui),$e[3]=($e[3]||$e[4]||$e[5]||"").replace(wa,Ui),$e[2]==="~="&&($e[3]=" "+$e[3]+" "),$e.slice(0,4)},CHILD:function($e){return $e[1]=$e[1].toLowerCase(),$e[1].slice(0,3)==="nth"?($e[3]||Kn.error($e[0]),$e[4]=+($e[4]?$e[5]+($e[6]||1):2*($e[3]==="even"||$e[3]==="odd")),$e[5]=+($e[7]+$e[8]||$e[3]==="odd")):$e[3]&&Kn.error($e[0]),$e},PSEUDO:function($e){var ze,Ke=!$e[6]&&$e[2];return ll.CHILD.test($e[0])?null:($e[3]?$e[2]=$e[4]||$e[5]||"":Ke&&ol.test(Ke)&&(ze=Me(Ke,!0))&&(ze=Ke.indexOf(")",Ke.length-ze)-Ke.length)&&($e[0]=$e[0].slice(0,ze),$e[2]=Ke.slice(0,ze)),$e.slice(0,3))}},filter:{TAG:function($e){var ze=$e.replace(wa,Ui).toLowerCase();return $e==="*"?function(){return!0}:function(Ke){return Ke.nodeName&&Ke.nodeName.toLowerCase()===ze}},CLASS:function($e){var ze=nr[$e+" "];return ze||(ze=new RegExp("(^|"+zn+")"+$e+"("+zn+"|$)"))&&nr($e,function(Ke){return ze.test(typeof Ke.className=="string"&&Ke.className||typeof Ke.getAttribute!="undefined"&&Ke.getAttribute("class")||"")})},ATTR:function($e,ze,Ke){return function(ct){var qe=Kn.attr(ct,$e);return qe==null?ze==="!=":ze?(qe+="",ze==="="?qe===Ke:ze==="!="?qe!==Ke:ze==="^="?Ke&&qe.indexOf(Ke)===0:ze==="*="?Ke&&qe.indexOf(Ke)>-1:ze==="$="?Ke&&qe.slice(-Ke.length)===Ke:ze==="~="?(" "+qe.replace(a_," ")+" ").indexOf(Ke)>-1:ze==="|="?qe===Ke||qe.slice(0,Ke.length+1)===Ke+"-":!1):!0}},CHILD:function($e,ze,Ke,ct,qe){var vt=$e.slice(0,3)!=="nth",wt=$e.slice(-4)!=="last",$t=ze==="of-type";return ct===1&&qe===0?function(jt){return!!jt.parentNode}:function(jt,un,Ft){var fn,On,Hn,cn,Er,Wr,ci=vt!==wt?"nextSibling":"previousSibling",Mn=jt.parentNode,ra=$t&&jt.nodeName.toLowerCase(),fl=!Ft&&!$t,Oi=!1;if(Mn){if(vt){for(;ci;){for(cn=jt;cn=cn[ci];)if($t?cn.nodeName.toLowerCase()===ra:cn.nodeType===1)return!1;Wr=ci=$e==="only"&&!Wr&&"nextSibling"}return!0}if(Wr=[wt?Mn.firstChild:Mn.lastChild],wt&&fl){for(cn=Mn,Hn=cn[Wn]||(cn[Wn]={}),On=Hn[cn.uniqueID]||(Hn[cn.uniqueID]={}),fn=On[$e]||[],Er=fn[0]===Zr&&fn[1],Oi=Er&&fn[2],cn=Er&&Mn.childNodes[Er];cn=++Er&&cn&&cn[ci]||(Oi=Er=0)||Wr.pop();)if(cn.nodeType===1&&++Oi&&cn===jt){On[$e]=[Zr,Er,Oi];break}}else if(fl&&(cn=jt,Hn=cn[Wn]||(cn[Wn]={}),On=Hn[cn.uniqueID]||(Hn[cn.uniqueID]={}),fn=On[$e]||[],Er=fn[0]===Zr&&fn[1],Oi=Er),Oi===!1)for(;(cn=++Er&&cn&&cn[ci]||(Oi=Er=0)||Wr.pop())&&!(($t?cn.nodeName.toLowerCase()===ra:cn.nodeType===1)&&++Oi&&(fl&&(Hn=cn[Wn]||(cn[Wn]={}),On=Hn[cn.uniqueID]||(Hn[cn.uniqueID]={}),On[$e]=[Zr,Oi]),cn===jt)););return Oi-=qe,Oi===ct||Oi%ct===0&&Oi/ct>=0}}},PSEUDO:function($e,ze){var Ke,ct=te.pseudos[$e]||te.setFilters[$e.toLowerCase()]||Kn.error("unsupported pseudo: "+$e);return ct[Wn]?ct(ze):ct.length>1?(Ke=[$e,$e,"",ze],te.setFilters.hasOwnProperty($e.toLowerCase())?Vi(function(qe,vt){for(var wt,$t=ct(qe,ze),jt=$t.length;jt--;)wt=Us(qe,$t[jt]),qe[wt]=!(vt[wt]=$t[jt])}):function(qe){return ct(qe,0,Ke)}):ct}},pseudos:{not:Vi(function($e){var ze=[],Ke=[],ct=He($e.replace(sl,"$1"));return ct[Wn]?Vi(function(qe,vt,wt,$t){for(var jt,un=ct(qe,null,$t,[]),Ft=qe.length;Ft--;)(jt=un[Ft])&&(qe[Ft]=!(vt[Ft]=jt))}):function(qe,vt,wt){return ze[0]=qe,ct(ze,null,wt,Ke),ze[0]=null,!Ke.pop()}}),has:Vi(function($e){return function(ze){return Kn($e,ze).length>0}}),contains:Vi(function($e){return $e=$e.replace(wa,Ui),function(ze){return(ze.textContent||Ce(ze)).indexOf($e)>-1}}),lang:Vi(function($e){return o_.test($e||"")||Kn.error("unsupported lang: "+$e),$e=$e.replace(wa,Ui).toLowerCase(),function(ze){var Ke;do if(Ke=_n?ze.lang:ze.getAttribute("xml:lang")||ze.getAttribute("lang"))return Ke=Ke.toLowerCase(),Ke===$e||Ke.indexOf($e+"-")===0;while((ze=ze.parentNode)&&ze.nodeType===1);return!1}}),target:function($e){var ze=O.location&&O.location.hash;return ze&&ze.slice(1)===$e.id},root:function($e){return $e===rn},focus:function($e){return $e===lt.activeElement&&(!lt.hasFocus||lt.hasFocus())&&!!($e.type||$e.href||~$e.tabIndex)},enabled:oh(!1),disabled:oh(!0),checked:function($e){var ze=$e.nodeName.toLowerCase();return ze==="input"&&!!$e.checked||ze==="option"&&!!$e.selected},selected:function($e){return $e.parentNode&&$e.parentNode.selectedIndex,$e.selected===!0},empty:function($e){for($e=$e.firstChild;$e;$e=$e.nextSibling)if($e.nodeType<6)return!1;return!0},parent:function($e){return!te.pseudos.empty($e)},header:function($e){return Vc.test($e.nodeName)},input:function($e){return l_.test($e.nodeName)},button:function($e){var ze=$e.nodeName.toLowerCase();return ze==="input"&&$e.type==="button"||ze==="button"},text:function($e){var ze;return $e.nodeName.toLowerCase()==="input"&&$e.type==="text"&&((ze=$e.getAttribute("type"))==null||ze.toLowerCase()==="text")},first:is(function(){return[0]}),last:is(function($e,ze){return[ze-1]}),eq:is(function($e,ze,Ke){return[Ke<0?Ke+ze:Ke]}),even:is(function($e,ze){for(var Ke=0;Keze?ze:Ke;--ct>=0;)$e.push(ct);return $e}),gt:is(function($e,ze,Ke){for(var ct=Ke<0?Ke+ze:Ke;++ct1?function(ze,Ke,ct){for(var qe=$e.length;qe--;)if(!$e[qe](ze,Ke,ct))return!1;return!0}:$e[0]}function h_($e,ze,Ke){for(var ct=0,qe=ze.length;ct-1&&(wt[Ft]=!($t[Ft]=On))}}else Mn=dl(Mn===$t?Mn.splice(Er,Mn.length):Mn),qe?qe(null,$t,Mn,un):ns.apply($t,Mn)})}function wu($e){for(var ze,Ke,ct,qe=$e.length,vt=te.relative[$e[0].type],wt=vt||te.relative[" "],$t=vt?1:0,jt=bu(function(fn){return fn===ze},wt,!0),un=bu(function(fn){return Us(ze,fn)>-1},wt,!0),Ft=[function(fn,On,Hn){var cn=!vt&&(Hn||On!==Qe)||((ze=On).nodeType?jt(fn,On,Hn):un(fn,On,Hn));return ze=null,cn}];$t1&&Jc(Ft),$t>1&&cl($e.slice(0,$t-1).concat({value:$e[$t-2].type===" "?"*":""})).replace(sl,"$1"),Ke,$t0,ct=$e.length>0,qe=function(vt,wt,$t,jt,un){var Ft,fn,On,Hn=0,cn="0",Er=vt&&[],Wr=[],ci=Qe,Mn=vt||ct&&te.find.TAG("*",un),ra=Zr+=ci==null?1:Math.random()||.1,fl=Mn.length;for(un&&(Qe=wt==lt||wt||un);cn!==fl&&(Ft=Mn[cn])!=null;cn++){if(ct&&Ft){for(fn=0,!wt&&Ft.ownerDocument!=lt&&(nt(Ft),$t=!_n);On=$e[fn++];)if(On(Ft,wt||lt,$t)){jt.push(Ft);break}un&&(Zr=ra)}Ke&&((Ft=!On&&Ft)&&Hn--,vt&&Er.push(Ft))}if(Hn+=cn,Ke&&cn!==Hn){for(fn=0;On=ze[fn++];)On(Er,Wr,wt,$t);if(vt){if(Hn>0)for(;cn--;)Er[cn]||Wr[cn]||(Wr[cn]=Ma.call(jt));Wr=dl(Wr)}ns.apply(jt,Wr),un&&!vt&&Wr.length>0&&Hn+ze.length>1&&Kn.uniqueSort(jt)}return un&&(Zr=ra,Qe=ci),Er};return Ke?Vi(qe):qe}return He=Kn.compile=function($e,ze){var Ke,ct=[],qe=[],vt=mu[$e+" "];if(!vt){for(ze||(ze=Me($e)),Ke=ze.length;Ke--;)vt=wu(ze[Ke]),vt[Wn]?ct.push(vt):qe.push(vt);vt=mu($e,lh(qe,ct)),vt.selector=$e}return vt},je=Kn.select=function($e,ze,Ke,ct){var qe,vt,wt,$t,jt,un=typeof $e=="function"&&$e,Ft=!ct&&Me($e=un.selector||$e);if(Ke=Ke||[],Ft.length===1){if(vt=Ft[0]=Ft[0].slice(0),vt.length>2&&(wt=vt[0]).type==="ID"&&ze.nodeType===9&&_n&&te.relative[vt[1].type]){if(ze=(te.find.ID(wt.matches[0].replace(wa,Ui),ze)||[])[0],ze)un&&(ze=ze.parentNode);else return Ke;$e=$e.slice(vt.shift().value.length)}for(qe=ll.needsContext.test($e)?0:vt.length;qe--&&(wt=vt[qe],!te.relative[$t=wt.type]);)if((jt=te.find[$t])&&(ct=jt(wt.matches[0].replace(wa,Ui),Wc.test(vt[0].type)&&wo(ze.parentNode)||ze))){if(vt.splice(qe,1),$e=ct.length&&cl(vt),!$e)return ns.apply(Ke,ct),Ke;break}}return(un||He($e,Ft))(ct,ze,!_n,Ke,!ze||Wc.test($e)&&wo(ze.parentNode)||ze),Ke},K.sortStable=Wn.split("").sort(zs).join("")===Wn,K.detectDuplicates=!!bt,nt(),K.sortDetached=Qr(function($e){return $e.compareDocumentPosition(lt.createElement("fieldset"))&1}),Qr(function($e){return $e.innerHTML="",$e.firstChild.getAttribute("href")==="#"})||yu("type|href|height|width",function($e,ze,Ke){if(!Ke)return $e.getAttribute(ze,ze.toLowerCase()==="type"?1:2)}),(!K.attributes||!Qr(function($e){return $e.innerHTML="",$e.firstChild.setAttribute("value",""),$e.firstChild.getAttribute("value")===""}))&&yu("value",function($e,ze,Ke){if(!Ke&&$e.nodeName.toLowerCase()==="input")return $e.defaultValue}),Qr(function($e){return $e.getAttribute("disabled")==null})||yu(Uc,function($e,ze,Ke){var ct;if(!Ke)return $e[ze]===!0?ze.toLowerCase():(ct=$e.getAttributeNode(ze))&&ct.specified?ct.value:null}),Kn}(t);w.find=M,w.expr=M.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=M.uniqueSort,w.text=M.getText,w.isXMLDoc=M.isXML,w.contains=M.contains,w.escapeSelector=M.escape;var A=function(O,N,K){for(var te=[],Ce=K!==void 0;(O=O[N])&&O.nodeType!==9;)if(O.nodeType===1){if(Ce&&w(O).is(K))break;te.push(O)}return te},R=function(O,N){for(var K=[];O;O=O.nextSibling)O.nodeType===1&&O!==N&&K.push(O);return K},H=w.expr.match.needsContext;function L(O,N){return O.nodeName&&O.nodeName.toLowerCase()===N.toLowerCase()}var V=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(O,N,K){return y(N)?w.grep(O,function(te,Ce){return!!N.call(te,Ce,te)!==K}):N.nodeType?w.grep(O,function(te){return te===N!==K}):typeof N!="string"?w.grep(O,function(te){return h.call(N,te)>-1!==K}):w.filter(N,O,K)}w.filter=function(O,N,K){var te=N[0];return K&&(O=":not("+O+")"),N.length===1&&te.nodeType===1?w.find.matchesSelector(te,O)?[te]:[]:w.find.matches(O,w.grep(N,function(Ce){return Ce.nodeType===1}))},w.fn.extend({find:function(O){var N,K,te=this.length,Ce=this;if(typeof O!="string")return this.pushStack(w(O).filter(function(){for(N=0;N1?w.uniqueSort(K):K},filter:function(O){return this.pushStack(j(this,O||[],!1))},not:function(O){return this.pushStack(j(this,O||[],!0))},is:function(O){return!!j(this,typeof O=="string"&&H.test(O)?w(O):O||[],!1).length}});var oe,Te=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,pe=w.fn.init=function(O,N,K){var te,Ce;if(!O)return this;if(K=K||oe,typeof O=="string")if(O[0]==="<"&&O[O.length-1]===">"&&O.length>=3?te=[null,O,null]:te=Te.exec(O),te&&(te[1]||!N))if(te[1]){if(N=N instanceof w?N[0]:N,w.merge(this,w.parseHTML(te[1],N&&N.nodeType?N.ownerDocument||N:E,!0)),V.test(te[1])&&w.isPlainObject(N))for(te in N)y(this[te])?this[te](N[te]):this.attr(te,N[te]);return this}else return Ce=E.getElementById(te[2]),Ce&&(this[0]=Ce,this.length=1),this;else return!N||N.jquery?(N||K).find(O):this.constructor(N).find(O);else{if(O.nodeType)return this[0]=O,this.length=1,this;if(y(O))return K.ready!==void 0?K.ready(O):O(w)}return w.makeArray(O,this)};pe.prototype=w.fn,oe=w(E);var ye=/^(?:parents|prev(?:Until|All))/,de={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(O){var N=w(O,this),K=N.length;return this.filter(function(){for(var te=0;te-1:K.nodeType===1&&w.find.matchesSelector(K,O))){Se.push(K);break}}return this.pushStack(Se.length>1?w.uniqueSort(Se):Se)},index:function(O){return O?typeof O=="string"?h.call(w(O),this[0]):h.call(this,O.jquery?O[0]:O):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(O,N){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(O,N))))},addBack:function(O){return this.add(O==null?this.prevObject:this.prevObject.filter(O))}});function xe(O,N){for(;(O=O[N])&&O.nodeType!==1;);return O}w.each({parent:function(O){var N=O.parentNode;return N&&N.nodeType!==11?N:null},parents:function(O){return A(O,"parentNode")},parentsUntil:function(O,N,K){return A(O,"parentNode",K)},next:function(O){return xe(O,"nextSibling")},prev:function(O){return xe(O,"previousSibling")},nextAll:function(O){return A(O,"nextSibling")},prevAll:function(O){return A(O,"previousSibling")},nextUntil:function(O,N,K){return A(O,"nextSibling",K)},prevUntil:function(O,N,K){return A(O,"previousSibling",K)},siblings:function(O){return R((O.parentNode||{}).firstChild,O)},children:function(O){return R(O.firstChild)},contents:function(O){return O.contentDocument!=null&&a(O.contentDocument)?O.contentDocument:(L(O,"template")&&(O=O.content||O),w.merge([],O.childNodes))}},function(O,N){w.fn[O]=function(K,te){var Ce=w.map(this,N,K);return O.slice(-5)!=="Until"&&(te=K),te&&typeof te=="string"&&(Ce=w.filter(te,Ce)),this.length>1&&(de[O]||w.uniqueSort(Ce),ye.test(O)&&Ce.reverse()),this.pushStack(Ce)}});var Y=/[^\x20\t\r\n\f]+/g;function se(O){var N={};return w.each(O.match(Y)||[],function(K,te){N[te]=!0}),N}w.Callbacks=function(O){O=typeof O=="string"?se(O):w.extend({},O);var N,K,te,Ce,Se=[],Me=[],He=-1,je=function(){for(Ce=Ce||O.once,te=N=!0;Me.length;He=-1)for(K=Me.shift();++He-1;)Se.splice(nt,1),nt<=He&&He--}),this},has:function(it){return it?w.inArray(it,Se)>-1:Se.length>0},empty:function(){return Se&&(Se=[]),this},disable:function(){return Ce=Me=[],Se=K="",this},disabled:function(){return!Se},lock:function(){return Ce=Me=[],!K&&!N&&(Se=K=""),this},locked:function(){return!!Ce},fireWith:function(it,bt){return Ce||(bt=bt||[],bt=[it,bt.slice?bt.slice():bt],Me.push(bt),N||je()),this},fire:function(){return Qe.fireWith(this,arguments),this},fired:function(){return!!te}};return Qe};function be(O){return O}function _e(O){throw O}function re(O,N,K,te){var Ce;try{O&&y(Ce=O.promise)?Ce.call(O).done(N).fail(K):O&&y(Ce=O.then)?Ce.call(O,N,K):N.apply(void 0,[O].slice(te))}catch(Se){K.apply(void 0,[Se])}}w.extend({Deferred:function(O){var N=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],K="pending",te={state:function(){return K},always:function(){return Ce.done(arguments).fail(arguments),this},catch:function(Se){return te.then(null,Se)},pipe:function(){var Se=arguments;return w.Deferred(function(Me){w.each(N,function(He,je){var Qe=y(Se[je[4]])&&Se[je[4]];Ce[je[1]](function(){var it=Qe&&Qe.apply(this,arguments);it&&y(it.promise)?it.promise().progress(Me.notify).done(Me.resolve).fail(Me.reject):Me[je[0]+"With"](this,Qe?[it]:arguments)})}),Se=null}).promise()},then:function(Se,Me,He){var je=0;function Qe(it,bt,nt,lt){return function(){var rn=this,_n=arguments,Zt=function(){var yr,Ei;if(!(it=je&&(nt!==_e&&(rn=void 0,_n=[yr]),bt.rejectWith(rn,_n))}};it?Sr():(w.Deferred.getStackHook&&(Sr.stackTrace=w.Deferred.getStackHook()),t.setTimeout(Sr))}}return w.Deferred(function(it){N[0][3].add(Qe(0,it,y(He)?He:be,it.notifyWith)),N[1][3].add(Qe(0,it,y(Se)?Se:be)),N[2][3].add(Qe(0,it,y(Me)?Me:_e))}).promise()},promise:function(Se){return Se!=null?w.extend(Se,te):te}},Ce={};return w.each(N,function(Se,Me){var He=Me[2],je=Me[5];te[Me[1]]=He.add,je&&He.add(function(){K=je},N[3-Se][2].disable,N[3-Se][3].disable,N[0][2].lock,N[0][3].lock),He.add(Me[3].fire),Ce[Me[0]]=function(){return Ce[Me[0]+"With"](this===Ce?void 0:this,arguments),this},Ce[Me[0]+"With"]=He.fireWith}),te.promise(Ce),O&&O.call(Ce,Ce),Ce},when:function(O){var N=arguments.length,K=N,te=Array(K),Ce=s.call(arguments),Se=w.Deferred(),Me=function(He){return function(je){te[He]=this,Ce[He]=arguments.length>1?s.call(arguments):je,--N||Se.resolveWith(te,Ce)}};if(N<=1&&(re(O,Se.done(Me(K)).resolve,Se.reject,!N),Se.state()==="pending"||y(Ce[K]&&Ce[K].then)))return Se.then();for(;K--;)re(Ce[K],Me(K),Se.reject);return Se.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(O,N){t.console&&t.console.warn&&O&&Q.test(O.name)&&t.console.warn("jQuery.Deferred exception: "+O.message,O.stack,N)},w.readyException=function(O){t.setTimeout(function(){throw O})};var B=w.Deferred();w.fn.ready=function(O){return B.then(O).catch(function(N){w.readyException(N)}),this},w.extend({isReady:!1,readyWait:1,ready:function(O){(O===!0?--w.readyWait:w.isReady)||(w.isReady=!0,!(O!==!0&&--w.readyWait>0)&&B.resolveWith(E,[w]))}}),w.ready.then=B.then;function I(){E.removeEventListener("DOMContentLoaded",I),t.removeEventListener("load",I),w.ready()}E.readyState==="complete"||E.readyState!=="loading"&&!E.documentElement.doScroll?t.setTimeout(w.ready):(E.addEventListener("DOMContentLoaded",I),t.addEventListener("load",I));var Z=function(O,N,K,te,Ce,Se,Me){var He=0,je=O.length,Qe=K==null;if(C(K)==="object"){Ce=!0;for(He in K)Z(O,N,He,K[He],!0,Se,Me)}else if(te!==void 0&&(Ce=!0,y(te)||(Me=!0),Qe&&(Me?(N.call(O,te),N=null):(Qe=N,N=function(it,bt,nt){return Qe.call(w(it),nt)})),N))for(;He1,null,!0)},removeData:function(O){return this.each(function(){Pe.remove(this,O)})}}),w.extend({queue:function(O,N,K){var te;if(O)return N=(N||"fx")+"queue",te=q.get(O,N),K&&(!te||Array.isArray(K)?te=q.access(O,N,w.makeArray(K)):te.push(K)),te||[]},dequeue:function(O,N){N=N||"fx";var K=w.queue(O,N),te=K.length,Ce=K.shift(),Se=w._queueHooks(O,N),Me=function(){w.dequeue(O,N)};Ce==="inprogress"&&(Ce=K.shift(),te--),Ce&&(N==="fx"&&K.unshift("inprogress"),delete Se.stop,Ce.call(O,Me,Se)),!te&&Se&&Se.empty.fire()},_queueHooks:function(O,N){var K=N+"queueHooks";return q.get(O,K)||q.access(O,K,{empty:w.Callbacks("once memory").add(function(){q.remove(O,[N+"queue",K])})})}}),w.fn.extend({queue:function(O,N){var K=2;return typeof O!="string"&&(N=O,O="fx",K--),arguments.length\x20\t\r\n\f]*)/i,At=/^$|^module$|\/(?:java|ecma)script/i;(function(){var O=E.createDocumentFragment(),N=O.appendChild(E.createElement("div")),K=E.createElement("input");K.setAttribute("type","radio"),K.setAttribute("checked","checked"),K.setAttribute("name","t"),N.appendChild(K),_.checkClone=N.cloneNode(!0).cloneNode(!0).lastChild.checked,N.innerHTML="",_.noCloneChecked=!!N.cloneNode(!0).lastChild.defaultValue,N.innerHTML="",_.option=!!N.lastChild})();var It={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};It.tbody=It.tfoot=It.colgroup=It.caption=It.thead,It.th=It.td,_.option||(It.optgroup=It.option=[1,""]);function ht(O,N){var K;return typeof O.getElementsByTagName!="undefined"?K=O.getElementsByTagName(N||"*"):typeof O.querySelectorAll!="undefined"?K=O.querySelectorAll(N||"*"):K=[],N===void 0||N&&L(O,N)?w.merge([O],K):K}function Rt(O,N){for(var K=0,te=O.length;K-1){Ce&&Ce.push(Se);continue}if(Qe=ne(Se),Me=ht(bt.appendChild(Se),"script"),Qe&&Rt(Me),K)for(it=0;Se=Me[it++];)At.test(Se.type||"")&&K.push(Se)}return bt}var an=/^([^.]*)(?:\.(.+)|)/;function Jt(){return!0}function Yt(){return!1}function Qt(O,N){return O===Xt()==(N==="focus")}function Xt(){try{return E.activeElement}catch{}}function dn(O,N,K,te,Ce,Se){var Me,He;if(typeof N=="object"){typeof K!="string"&&(te=te||K,K=void 0);for(He in N)dn(O,He,K,te,N[He],Se);return O}if(te==null&&Ce==null?(Ce=K,te=K=void 0):Ce==null&&(typeof K=="string"?(Ce=te,te=void 0):(Ce=te,te=K,K=void 0)),Ce===!1)Ce=Yt;else if(!Ce)return O;return Se===1&&(Me=Ce,Ce=function(je){return w().off(je),Me.apply(this,arguments)},Ce.guid=Me.guid||(Me.guid=w.guid++)),O.each(function(){w.event.add(this,N,Ce,te,K)})}w.event={global:{},add:function(O,N,K,te,Ce){var Se,Me,He,je,Qe,it,bt,nt,lt,rn,_n,Zt=q.get(O);if(!!G(O))for(K.handler&&(Se=K,K=Se.handler,Ce=Se.selector),Ce&&w.find.matchesSelector(X,Ce),K.guid||(K.guid=w.guid++),(je=Zt.events)||(je=Zt.events=Object.create(null)),(Me=Zt.handle)||(Me=Zt.handle=function(Sr){return typeof w!="undefined"&&w.event.triggered!==Sr.type?w.event.dispatch.apply(O,arguments):void 0}),N=(N||"").match(Y)||[""],Qe=N.length;Qe--;)He=an.exec(N[Qe])||[],lt=_n=He[1],rn=(He[2]||"").split(".").sort(),lt&&(bt=w.event.special[lt]||{},lt=(Ce?bt.delegateType:bt.bindType)||lt,bt=w.event.special[lt]||{},it=w.extend({type:lt,origType:_n,data:te,handler:K,guid:K.guid,selector:Ce,needsContext:Ce&&w.expr.match.needsContext.test(Ce),namespace:rn.join(".")},Se),(nt=je[lt])||(nt=je[lt]=[],nt.delegateCount=0,(!bt.setup||bt.setup.call(O,te,rn,Me)===!1)&&O.addEventListener&&O.addEventListener(lt,Me)),bt.add&&(bt.add.call(O,it),it.handler.guid||(it.handler.guid=K.guid)),Ce?nt.splice(nt.delegateCount++,0,it):nt.push(it),w.event.global[lt]=!0)},remove:function(O,N,K,te,Ce){var Se,Me,He,je,Qe,it,bt,nt,lt,rn,_n,Zt=q.hasData(O)&&q.get(O);if(!(!Zt||!(je=Zt.events))){for(N=(N||"").match(Y)||[""],Qe=N.length;Qe--;){if(He=an.exec(N[Qe])||[],lt=_n=He[1],rn=(He[2]||"").split(".").sort(),!lt){for(lt in je)w.event.remove(O,lt+N[Qe],K,te,!0);continue}for(bt=w.event.special[lt]||{},lt=(te?bt.delegateType:bt.bindType)||lt,nt=je[lt]||[],He=He[2]&&new RegExp("(^|\\.)"+rn.join("\\.(?:.*\\.|)")+"(\\.|$)"),Me=Se=nt.length;Se--;)it=nt[Se],(Ce||_n===it.origType)&&(!K||K.guid===it.guid)&&(!He||He.test(it.namespace))&&(!te||te===it.selector||te==="**"&&it.selector)&&(nt.splice(Se,1),it.selector&&nt.delegateCount--,bt.remove&&bt.remove.call(O,it));Me&&!nt.length&&((!bt.teardown||bt.teardown.call(O,rn,Zt.handle)===!1)&&w.removeEvent(O,lt,Zt.handle),delete je[lt])}w.isEmptyObject(je)&&q.remove(O,"handle events")}},dispatch:function(O){var N,K,te,Ce,Se,Me,He=new Array(arguments.length),je=w.event.fix(O),Qe=(q.get(this,"events")||Object.create(null))[je.type]||[],it=w.event.special[je.type]||{};for(He[0]=je,N=1;N=1)){for(;Qe!==this;Qe=Qe.parentNode||this)if(Qe.nodeType===1&&!(O.type==="click"&&Qe.disabled===!0)){for(Se=[],Me={},K=0;K-1:w.find(Ce,this,null,[Qe]).length),Me[Ce]&&Se.push(te);Se.length&&He.push({elem:Qe,handlers:Se})}}return Qe=this,je\s*$/g;function Vt(O,N){return L(O,"table")&&L(N.nodeType!==11?N:N.firstChild,"tr")&&w(O).children("tbody")[0]||O}function Oe(O){return O.type=(O.getAttribute("type")!==null)+"/"+O.type,O}function Be(O){return(O.type||"").slice(0,5)==="true/"?O.type=O.type.slice(5):O.removeAttribute("type"),O}function Fe(O,N){var K,te,Ce,Se,Me,He,je;if(N.nodeType===1){if(q.hasData(O)&&(Se=q.get(O),je=Se.events,je)){q.remove(N,"handle events");for(Ce in je)for(K=0,te=je[Ce].length;K1&&typeof lt=="string"&&!_.checkClone&&at.test(lt))return O.each(function(_n){var Zt=O.eq(_n);rn&&(N[0]=lt.call(this,_n,Zt.html())),tt(Zt,N,K,te)});if(bt&&(Ce=hn(N,O[0].ownerDocument,!1,O,te),Se=Ce.firstChild,Ce.childNodes.length===1&&(Ce=Se),Se||te)){for(Me=w.map(ht(Ce,"script"),Oe),He=Me.length;it0&&Rt(Me,!je&&ht(O,"script")),He},cleanData:function(O){for(var N,K,te,Ce=w.event.special,Se=0;(K=O[Se])!==void 0;Se++)if(G(K)){if(N=K[q.expando]){if(N.events)for(te in N.events)Ce[te]?w.event.remove(K,te):w.removeEvent(K,te,N.handle);K[q.expando]=void 0}K[Pe.expando]&&(K[Pe.expando]=void 0)}}}),w.fn.extend({detach:function(O){return ot(this,O,!0)},remove:function(O){return ot(this,O)},text:function(O){return Z(this,function(N){return N===void 0?w.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=N)})},null,O,arguments.length)},append:function(){return tt(this,arguments,function(O){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var N=Vt(this,O);N.appendChild(O)}})},prepend:function(){return tt(this,arguments,function(O){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var N=Vt(this,O);N.insertBefore(O,N.firstChild)}})},before:function(){return tt(this,arguments,function(O){this.parentNode&&this.parentNode.insertBefore(O,this)})},after:function(){return tt(this,arguments,function(O){this.parentNode&&this.parentNode.insertBefore(O,this.nextSibling)})},empty:function(){for(var O,N=0;(O=this[N])!=null;N++)O.nodeType===1&&(w.cleanData(ht(O,!1)),O.textContent="");return this},clone:function(O,N){return O=O==null?!1:O,N=N==null?O:N,this.map(function(){return w.clone(this,O,N)})},html:function(O){return Z(this,function(N){var K=this[0]||{},te=0,Ce=this.length;if(N===void 0&&K.nodeType===1)return K.innerHTML;if(typeof N=="string"&&!rt.test(N)&&!It[(Tt.exec(N)||["",""])[1].toLowerCase()]){N=w.htmlPrefilter(N);try{for(;te=0&&(je+=Math.max(0,Math.ceil(O["offset"+N[0].toUpperCase()+N.slice(1)]-Se-je-He-.5))||0),je}function Fi(O,N,K){var te=Dt(O),Ce=!_.boxSizingReliable()||K,Se=Ce&&w.css(O,"boxSizing",!1,te)==="border-box",Me=Se,He=qt(O,N,te),je="offset"+N[0].toUpperCase()+N.slice(1);if(pt.test(He)){if(!K)return He;He="auto"}return(!_.boxSizingReliable()&&Se||!_.reliableTrDimensions()&&L(O,"tr")||He==="auto"||!parseFloat(He)&&w.css(O,"display",!1,te)==="inline")&&O.getClientRects().length&&(Se=w.css(O,"boxSizing",!1,te)==="border-box",Me=je in O,Me&&(He=O[je])),He=parseFloat(He)||0,He+xi(O,N,K||(Se?"border":"content"),Me,te,He)+"px"}w.extend({cssHooks:{opacity:{get:function(O,N){if(N){var K=qt(O,"opacity");return K===""?"1":K}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!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,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(O,N,K,te){if(!(!O||O.nodeType===3||O.nodeType===8||!O.style)){var Ce,Se,Me,He=J(N),je=yt.test(N),Qe=O.style;if(je||(N=Yn(He)),Me=w.cssHooks[N]||w.cssHooks[He],K!==void 0){if(Se=typeof K,Se==="string"&&(Ce=F.exec(K))&&Ce[1]&&(K=fe(O,N,Ce),Se="number"),K==null||K!==K)return;Se==="number"&&!je&&(K+=Ce&&Ce[3]||(w.cssNumber[He]?"":"px")),!_.clearCloneStyle&&K===""&&N.indexOf("background")===0&&(Qe[N]="inherit"),(!Me||!("set"in Me)||(K=Me.set(O,K,te))!==void 0)&&(je?Qe.setProperty(N,K):Qe[N]=K)}else return Me&&"get"in Me&&(Ce=Me.get(O,!1,te))!==void 0?Ce:Qe[N]}},css:function(O,N,K,te){var Ce,Se,Me,He=J(N),je=yt.test(N);return je||(N=Yn(He)),Me=w.cssHooks[N]||w.cssHooks[He],Me&&"get"in Me&&(Ce=Me.get(O,!0,K)),Ce===void 0&&(Ce=qt(O,N,te)),Ce==="normal"&&N in Bi&&(Ce=Bi[N]),K===""||K?(Se=parseFloat(Ce),K===!0||isFinite(Se)?Se||0:Ce):Ce}}),w.each(["height","width"],function(O,N){w.cssHooks[N]={get:function(K,te,Ce){if(te)return Ur.test(w.css(K,"display"))&&(!K.getClientRects().length||!K.getBoundingClientRect().width)?Ut(K,xr,function(){return Fi(K,N,Ce)}):Fi(K,N,Ce)},set:function(K,te,Ce){var Se,Me=Dt(K),He=!_.scrollboxSize()&&Me.position==="absolute",je=He||Ce,Qe=je&&w.css(K,"boxSizing",!1,Me)==="border-box",it=Ce?xi(K,N,Ce,Qe,Me):0;return Qe&&He&&(it-=Math.ceil(K["offset"+N[0].toUpperCase()+N.slice(1)]-parseFloat(Me[N])-xi(K,N,"border",!1,Me)-.5)),it&&(Se=F.exec(te))&&(Se[3]||"px")!=="px"&&(K.style[N]=te,te=w.css(K,N)),Jr(K,te,it)}}}),w.cssHooks.marginLeft=sn(_.reliableMarginLeft,function(O,N){if(N)return(parseFloat(qt(O,"marginLeft"))||O.getBoundingClientRect().left-Ut(O,{marginLeft:0},function(){return O.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(O,N){w.cssHooks[O+N]={expand:function(K){for(var te=0,Ce={},Se=typeof K=="string"?K.split(" "):[K];te<4;te++)Ce[O+W[te]+N]=Se[te]||Se[te-2]||Se[0];return Ce}},O!=="margin"&&(w.cssHooks[O+N].set=Jr)}),w.fn.extend({css:function(O,N){return Z(this,function(K,te,Ce){var Se,Me,He={},je=0;if(Array.isArray(te)){for(Se=Dt(K),Me=te.length;je1)}});function pr(O,N,K,te,Ce){return new pr.prototype.init(O,N,K,te,Ce)}w.Tween=pr,pr.prototype={constructor:pr,init:function(O,N,K,te,Ce,Se){this.elem=O,this.prop=K,this.easing=Ce||w.easing._default,this.options=N,this.start=this.now=this.cur(),this.end=te,this.unit=Se||(w.cssNumber[K]?"":"px")},cur:function(){var O=pr.propHooks[this.prop];return O&&O.get?O.get(this):pr.propHooks._default.get(this)},run:function(O){var N,K=pr.propHooks[this.prop];return this.options.duration?this.pos=N=w.easing[this.easing](O,this.options.duration*O,0,1,this.options.duration):this.pos=N=O,this.now=(this.end-this.start)*N+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),K&&K.set?K.set(this):pr.propHooks._default.set(this),this}},pr.prototype.init.prototype=pr.prototype,pr.propHooks={_default:{get:function(O){var N;return O.elem.nodeType!==1||O.elem[O.prop]!=null&&O.elem.style[O.prop]==null?O.elem[O.prop]:(N=w.css(O.elem,O.prop,""),!N||N==="auto"?0:N)},set:function(O){w.fx.step[O.prop]?w.fx.step[O.prop](O):O.elem.nodeType===1&&(w.cssHooks[O.prop]||O.elem.style[Yn(O.prop)]!=null)?w.style(O.elem,O.prop,O.now+O.unit):O.elem[O.prop]=O.now}}},pr.propHooks.scrollTop=pr.propHooks.scrollLeft={set:function(O){O.elem.nodeType&&O.elem.parentNode&&(O.elem[O.prop]=O.now)}},w.easing={linear:function(O){return O},swing:function(O){return .5-Math.cos(O*Math.PI)/2},_default:"swing"},w.fx=pr.prototype.init,w.fx.step={};var Nr,Si,ji=/^(?:toggle|show|hide)$/,Ie=/queueHooks$/;function We(){Si&&(E.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(We):t.setTimeout(We,w.fx.interval),w.fx.tick())}function Ne(){return t.setTimeout(function(){Nr=void 0}),Nr=Date.now()}function Ye(O,N){var K,te=0,Ce={height:O};for(N=N?1:0;te<4;te+=2-N)K=W[te],Ce["margin"+K]=Ce["padding"+K]=O;return N&&(Ce.opacity=Ce.width=O),Ce}function Ze(O,N,K){for(var te,Ce=(mt.tweeners[N]||[]).concat(mt.tweeners["*"]),Se=0,Me=Ce.length;Se1)},removeAttr:function(O){return this.each(function(){w.removeAttr(this,O)})}}),w.extend({attr:function(O,N,K){var te,Ce,Se=O.nodeType;if(!(Se===3||Se===8||Se===2)){if(typeof O.getAttribute=="undefined")return w.prop(O,N,K);if((Se!==1||!w.isXMLDoc(O))&&(Ce=w.attrHooks[N.toLowerCase()]||(w.expr.match.bool.test(N)?kt:void 0)),K!==void 0){if(K===null){w.removeAttr(O,N);return}return Ce&&"set"in Ce&&(te=Ce.set(O,K,N))!==void 0?te:(O.setAttribute(N,K+""),K)}return Ce&&"get"in Ce&&(te=Ce.get(O,N))!==null?te:(te=w.find.attr(O,N),te==null?void 0:te)}},attrHooks:{type:{set:function(O,N){if(!_.radioValue&&N==="radio"&&L(O,"input")){var K=O.value;return O.setAttribute("type",N),K&&(O.value=K),N}}}},removeAttr:function(O,N){var K,te=0,Ce=N&&N.match(Y);if(Ce&&O.nodeType===1)for(;K=Ce[te++];)O.removeAttribute(K)}}),kt={set:function(O,N,K){return N===!1?w.removeAttr(O,K):O.setAttribute(K,K),K}},w.each(w.expr.match.bool.source.match(/\w+/g),function(O,N){var K=St[N]||w.find.attr;St[N]=function(te,Ce,Se){var Me,He,je=Ce.toLowerCase();return Se||(He=St[je],St[je]=Me,Me=K(te,Ce,Se)!=null?je:null,St[je]=He),Me}});var Ct=/^(?:input|select|textarea|button)$/i,Wt=/^(?:a|area)$/i;w.fn.extend({prop:function(O,N){return Z(this,w.prop,O,N,arguments.length>1)},removeProp:function(O){return this.each(function(){delete this[w.propFix[O]||O]})}}),w.extend({prop:function(O,N,K){var te,Ce,Se=O.nodeType;if(!(Se===3||Se===8||Se===2))return(Se!==1||!w.isXMLDoc(O))&&(N=w.propFix[N]||N,Ce=w.propHooks[N]),K!==void 0?Ce&&"set"in Ce&&(te=Ce.set(O,K,N))!==void 0?te:O[N]=K:Ce&&"get"in Ce&&(te=Ce.get(O,N))!==null?te:O[N]},propHooks:{tabIndex:{get:function(O){var N=w.find.attr(O,"tabindex");return N?parseInt(N,10):Ct.test(O.nodeName)||Wt.test(O.nodeName)&&O.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),_.optSelected||(w.propHooks.selected={get:function(O){var N=O.parentNode;return N&&N.parentNode&&N.parentNode.selectedIndex,null},set:function(O){var N=O.parentNode;N&&(N.selectedIndex,N.parentNode&&N.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function pn(O){var N=O.match(Y)||[];return N.join(" ")}function wn(O){return O.getAttribute&&O.getAttribute("class")||""}function Et(O){return Array.isArray(O)?O:typeof O=="string"?O.match(Y)||[]:[]}w.fn.extend({addClass:function(O){var N,K,te,Ce,Se,Me;return y(O)?this.each(function(He){w(this).addClass(O.call(this,He,wn(this)))}):(N=Et(O),N.length?this.each(function(){if(te=wn(this),K=this.nodeType===1&&" "+pn(te)+" ",K){for(Se=0;Se-1;)K=K.replace(" "+Ce+" "," ");Me=pn(K),te!==Me&&this.setAttribute("class",Me)}}):this):this.attr("class","")},toggleClass:function(O,N){var K,te,Ce,Se,Me=typeof O,He=Me==="string"||Array.isArray(O);return y(O)?this.each(function(je){w(this).toggleClass(O.call(this,je,wn(this),N),N)}):typeof N=="boolean"&&He?N?this.addClass(O):this.removeClass(O):(K=Et(O),this.each(function(){if(He)for(Se=w(this),Ce=0;Ce-1)return!0;return!1}});var Qn=/\r/g;w.fn.extend({val:function(O){var N,K,te,Ce=this[0];return arguments.length?(te=y(O),this.each(function(Se){var Me;this.nodeType===1&&(te?Me=O.call(this,Se,w(this).val()):Me=O,Me==null?Me="":typeof Me=="number"?Me+="":Array.isArray(Me)&&(Me=w.map(Me,function(He){return He==null?"":He+""})),N=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()],(!N||!("set"in N)||N.set(this,Me,"value")===void 0)&&(this.value=Me))})):Ce?(N=w.valHooks[Ce.type]||w.valHooks[Ce.nodeName.toLowerCase()],N&&"get"in N&&(K=N.get(Ce,"value"))!==void 0?K:(K=Ce.value,typeof K=="string"?K.replace(Qn,""):K==null?"":K)):void 0}}),w.extend({valHooks:{option:{get:function(O){var N=w.find.attr(O,"value");return N!=null?N:pn(w.text(O))}},select:{get:function(O){var N,K,te,Ce=O.options,Se=O.selectedIndex,Me=O.type==="select-one",He=Me?null:[],je=Me?Se+1:Ce.length;for(Se<0?te=je:te=Me?Se:0;te-1)&&(K=!0);return K||(O.selectedIndex=-1),Se}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(O,N){if(Array.isArray(N))return O.checked=w.inArray(w(O).val(),N)>-1}},_.checkOn||(w.valHooks[this].get=function(O){return O.getAttribute("value")===null?"on":O.value})}),_.focusin="onfocusin"in t;var xn=/^(?:focusinfocus|focusoutblur)$/,or=function(O){O.stopPropagation()};w.extend(w.event,{trigger:function(O,N,K,te){var Ce,Se,Me,He,je,Qe,it,bt,nt=[K||E],lt=d.call(O,"type")?O.type:O,rn=d.call(O,"namespace")?O.namespace.split("."):[];if(Se=bt=Me=K=K||E,!(K.nodeType===3||K.nodeType===8)&&!xn.test(lt+w.event.triggered)&&(lt.indexOf(".")>-1&&(rn=lt.split("."),lt=rn.shift(),rn.sort()),je=lt.indexOf(":")<0&&"on"+lt,O=O[w.expando]?O:new w.Event(lt,typeof O=="object"&&O),O.isTrigger=te?2:3,O.namespace=rn.join("."),O.rnamespace=O.namespace?new RegExp("(^|\\.)"+rn.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,O.result=void 0,O.target||(O.target=K),N=N==null?[O]:w.makeArray(N,[O]),it=w.event.special[lt]||{},!(!te&&it.trigger&&it.trigger.apply(K,N)===!1))){if(!te&&!it.noBubble&&!b(K)){for(He=it.delegateType||lt,xn.test(He+lt)||(Se=Se.parentNode);Se;Se=Se.parentNode)nt.push(Se),Me=Se;Me===(K.ownerDocument||E)&&nt.push(Me.defaultView||Me.parentWindow||t)}for(Ce=0;(Se=nt[Ce++])&&!O.isPropagationStopped();)bt=Se,O.type=Ce>1?He:it.bindType||lt,Qe=(q.get(Se,"events")||Object.create(null))[O.type]&&q.get(Se,"handle"),Qe&&Qe.apply(Se,N),Qe=je&&Se[je],Qe&&Qe.apply&&G(Se)&&(O.result=Qe.apply(Se,N),O.result===!1&&O.preventDefault());return O.type=lt,!te&&!O.isDefaultPrevented()&&(!it._default||it._default.apply(nt.pop(),N)===!1)&&G(K)&&je&&y(K[lt])&&!b(K)&&(Me=K[je],Me&&(K[je]=null),w.event.triggered=lt,O.isPropagationStopped()&&bt.addEventListener(lt,or),K[lt](),O.isPropagationStopped()&&bt.removeEventListener(lt,or),w.event.triggered=void 0,Me&&(K[je]=Me)),O.result}},simulate:function(O,N,K){var te=w.extend(new w.Event,K,{type:O,isSimulated:!0});w.event.trigger(te,null,N)}}),w.fn.extend({trigger:function(O,N){return this.each(function(){w.event.trigger(O,N,this)})},triggerHandler:function(O,N){var K=this[0];if(K)return w.event.trigger(O,N,K,!0)}}),_.focusin||w.each({focus:"focusin",blur:"focusout"},function(O,N){var K=function(te){w.event.simulate(N,te.target,w.event.fix(te))};w.event.special[N]={setup:function(){var te=this.ownerDocument||this.document||this,Ce=q.access(te,N);Ce||te.addEventListener(O,K,!0),q.access(te,N,(Ce||0)+1)},teardown:function(){var te=this.ownerDocument||this.document||this,Ce=q.access(te,N)-1;Ce?q.access(te,N,Ce):(te.removeEventListener(O,K,!0),q.remove(te,N))}}});var ui=t.location,Vr={guid:Date.now()},Br=/\?/;w.parseXML=function(O){var N,K;if(!O||typeof O!="string")return null;try{N=new t.DOMParser().parseFromString(O,"text/xml")}catch{}return K=N&&N.getElementsByTagName("parsererror")[0],(!N||K)&&w.error("Invalid XML: "+(K?w.map(K.childNodes,function(te){return te.textContent}).join(` `):O)),N};var ba=/\[\]$/,gt=/\r?\n/g,Fs=/^(?:submit|button|image|reset|file)$/i,Rc=/^(?:input|select|textarea|keygen)/i;function js(O,N,K,te){var Ce;if(Array.isArray(N))w.each(N,function(Se,Me){K||ba.test(O)?te(O,Me):js(O+"["+(typeof Me=="object"&&Me!=null?Se:"")+"]",Me,K,te)});else if(!K&&C(N)==="object")for(Ce in N)js(O+"["+Ce+"]",N[Ce],K,te);else te(O,N)}w.param=function(O,N){var K,te=[],Ce=function(Se,Me){var He=y(Me)?Me():Me;te[te.length]=encodeURIComponent(Se)+"="+encodeURIComponent(He==null?"":He)};if(O==null)return"";if(Array.isArray(O)||O.jquery&&!w.isPlainObject(O))w.each(O,function(){Ce(this.name,this.value)});else for(K in O)js(K,O[K],N,Ce);return te.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var O=w.prop(this,"elements");return O?w.makeArray(O):this}).filter(function(){var O=this.type;return this.name&&!w(this).is(":disabled")&&Rc.test(this.nodeName)&&!Fs.test(O)&&(this.checked||!_t.test(O))}).map(function(O,N){var K=w(this).val();return K==null?null:Array.isArray(K)?w.map(K,function(te){return{name:N.name,value:te.replace(gt,`\r `)}}):{name:N.name,value:K.replace(gt,`\r -`)}}).get()}});var Qg=/%20/g,qg=/#.*$/,qf=/([?&])_=[^&]*/,hu=/^(.*?):[ \t]*([^\r\n]*)$/mg,eh=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,th=/^(?:GET|HEAD)$/,e_=/^\/\//,nh={},Lc={},Nc="*/".concat("*"),_o=E.createElement("a");_o.href=ui.href;function Bc(O){return function(N,K){typeof N!="string"&&(K=N,N="*");var te,Ce=0,Se=N.toLowerCase().match(Y)||[];if(y(K))for(;te=Se[Ce++];)te[0]==="+"?(te=te.slice(1)||"*",(O[te]=O[te]||[]).unshift(K)):(O[te]=O[te]||[]).push(K)}}function Fc(O,N,K,te){var Ce={},Se=O===Lc;function Me(He){var je;return Ce[He]=!0,w.each(O[He]||[],function(Qe,it){var bt=it(N,K,te);if(typeof bt=="string"&&!Se&&!Ce[bt])return N.dataTypes.unshift(bt),Me(bt),!1;if(Se)return!(je=bt)}),je}return Me(N.dataTypes[0])||!Ce["*"]&&Me("*")}function jc(O,N){var K,te,Ce=w.ajaxSettings.flatOptions||{};for(K in N)N[K]!==void 0&&((Ce[K]?O:te||(te={}))[K]=N[K]);return te&&w.extend(!0,O,te),O}function pu(O,N,K){for(var te,Ce,Se,Me,He=O.contents,je=O.dataTypes;je[0]==="*";)je.shift(),te===void 0&&(te=O.mimeType||N.getResponseHeader("Content-Type"));if(te){for(Ce in He)if(He[Ce]&&He[Ce].test(te)){je.unshift(Ce);break}}if(je[0]in K)Se=je[0];else{for(Ce in K){if(!je[0]||O.converters[Ce+" "+je[0]]){Se=Ce;break}Me||(Me=Ce)}Se=Se||Me}if(Se)return Se!==je[0]&&je.unshift(Se),K[Se]}function t_(O,N,K,te){var Ce,Se,Me,He,je,Qe={},it=O.dataTypes.slice();if(it[1])for(Me in O.converters)Qe[Me.toLowerCase()]=O.converters[Me];for(Se=it.shift();Se;)if(O.responseFields[Se]&&(K[O.responseFields[Se]]=N),!je&&te&&O.dataFilter&&(N=O.dataFilter(N,O.dataType)),je=Se,Se=it.shift(),Se){if(Se==="*")Se=je;else if(je!=="*"&&je!==Se){if(Me=Qe[je+" "+Se]||Qe["* "+Se],!Me){for(Ce in Qe)if(He=Ce.split(" "),He[1]===Se&&(Me=Qe[je+" "+He[0]]||Qe["* "+He[0]],Me)){Me===!0?Me=Qe[Ce]:Qe[Ce]!==!0&&(Se=He[0],it.unshift(He[1]));break}}if(Me!==!0)if(Me&&O.throws)N=Me(N);else try{N=Me(N)}catch(bt){return{state:"parsererror",error:Me?bt:"No conversion from "+je+" to "+Se}}}}return{state:"success",data:N}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ui.href,type:"GET",isLocal:eh.test(ui.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Nc,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":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(O,N){return N?jc(jc(O,w.ajaxSettings),N):jc(w.ajaxSettings,O)},ajaxPrefilter:Bc(nh),ajaxTransport:Bc(Lc),ajax:function(O,N){typeof O=="object"&&(N=O,O=void 0),N=N||{};var K,te,Ce,Se,Me,He,je,Qe,it,bt,nt=w.ajaxSetup({},N),lt=nt.context||nt,rn=nt.context&&(lt.nodeType||lt.jquery)?w(lt):w.event,_n=w.Deferred(),Zt=w.Callbacks("once memory"),Sr=nt.statusCode||{},yr={},Ei={},Wn="canceled",yn={readyState:0,getResponseHeader:function($n){var nr;if(je){if(!Se)for(Se={};nr=hu.exec(Ce);)Se[nr[1].toLowerCase()+" "]=(Se[nr[1].toLowerCase()+" "]||[]).concat(nr[2]);nr=Se[$n.toLowerCase()+" "]}return nr==null?null:nr.join(", ")},getAllResponseHeaders:function(){return je?Ce:null},setRequestHeader:function($n,nr){return je==null&&($n=Ei[$n.toLowerCase()]=Ei[$n.toLowerCase()]||$n,yr[$n]=nr),this},overrideMimeType:function($n){return je==null&&(nt.mimeType=$n),this},statusCode:function($n){var nr;if($n)if(je)yn.always($n[yn.status]);else for(nr in $n)Sr[nr]=[Sr[nr],$n[nr]];return this},abort:function($n){var nr=$n||Wn;return K&&K.abort(nr),Zr(0,nr),this}};if(_n.promise(yn),nt.url=((O||nt.url||ui.href)+"").replace(e_,ui.protocol+"//"),nt.type=N.method||N.type||nt.method||nt.type,nt.dataTypes=(nt.dataType||"*").toLowerCase().match(Y)||[""],nt.crossDomain==null){He=E.createElement("a");try{He.href=nt.url,He.href=He.href,nt.crossDomain=_o.protocol+"//"+_o.host!=He.protocol+"//"+He.host}catch{nt.crossDomain=!0}}if(nt.data&&nt.processData&&typeof nt.data!="string"&&(nt.data=w.param(nt.data,nt.traditional)),Fc(nh,nt,N,yn),je)return yn;Qe=w.event&&nt.global,Qe&&w.active++===0&&w.event.trigger("ajaxStart"),nt.type=nt.type.toUpperCase(),nt.hasContent=!th.test(nt.type),te=nt.url.replace(qg,""),nt.hasContent?nt.data&&nt.processData&&(nt.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(nt.data=nt.data.replace(Qg,"+")):(bt=nt.url.slice(te.length),nt.data&&(nt.processData||typeof nt.data=="string")&&(te+=(Br.test(te)?"&":"?")+nt.data,delete nt.data),nt.cache===!1&&(te=te.replace(qf,"$1"),bt=(Br.test(te)?"&":"?")+"_="+Vr.guid+++bt),nt.url=te+bt),nt.ifModified&&(w.lastModified[te]&&yn.setRequestHeader("If-Modified-Since",w.lastModified[te]),w.etag[te]&&yn.setRequestHeader("If-None-Match",w.etag[te])),(nt.data&&nt.hasContent&&nt.contentType!==!1||N.contentType)&&yn.setRequestHeader("Content-Type",nt.contentType),yn.setRequestHeader("Accept",nt.dataTypes[0]&&nt.accepts[nt.dataTypes[0]]?nt.accepts[nt.dataTypes[0]]+(nt.dataTypes[0]!=="*"?", "+Nc+"; q=0.01":""):nt.accepts["*"]);for(it in nt.headers)yn.setRequestHeader(it,nt.headers[it]);if(nt.beforeSend&&(nt.beforeSend.call(lt,yn,nt)===!1||je))return yn.abort();if(Wn="abort",Zt.add(nt.complete),yn.done(nt.success),yn.fail(nt.error),K=Fc(Lc,nt,N,yn),!K)Zr(-1,"No Transport");else{if(yn.readyState=1,Qe&&rn.trigger("ajaxSend",[yn,nt]),je)return yn;nt.async&&nt.timeout>0&&(Me=t.setTimeout(function(){yn.abort("timeout")},nt.timeout));try{je=!1,K.send(yr,Zr)}catch($n){if(je)throw $n;Zr(-1,$n)}}function Zr($n,nr,bo,mu){var ki,zs,ts,Fr,Ma,Di=nr;je||(je=!0,Me&&t.clearTimeout(Me),K=void 0,Ce=mu||"",yn.readyState=$n>0?4:0,ki=$n>=200&&$n<300||$n===304,bo&&(Fr=pu(nt,yn,bo)),!ki&&w.inArray("script",nt.dataTypes)>-1&&w.inArray("json",nt.dataTypes)<0&&(nt.converters["text script"]=function(){}),Fr=t_(nt,Fr,yn,ki),ki?(nt.ifModified&&(Ma=yn.getResponseHeader("Last-Modified"),Ma&&(w.lastModified[te]=Ma),Ma=yn.getResponseHeader("etag"),Ma&&(w.etag[te]=Ma)),$n===204||nt.type==="HEAD"?Di="nocontent":$n===304?Di="notmodified":(Di=Fr.state,zs=Fr.data,ts=Fr.error,ki=!ts)):(ts=Di,($n||!Di)&&(Di="error",$n<0&&($n=0))),yn.status=$n,yn.statusText=(nr||Di)+"",ki?_n.resolveWith(lt,[zs,Di,yn]):_n.rejectWith(lt,[yn,Di,ts]),yn.statusCode(Sr),Sr=void 0,Qe&&rn.trigger(ki?"ajaxSuccess":"ajaxError",[yn,nt,ki?zs:ts]),Zt.fireWith(lt,[yn,Di]),Qe&&(rn.trigger("ajaxComplete",[yn,nt]),--w.active||w.event.trigger("ajaxStop")))}return yn},getJSON:function(O,N,K){return w.get(O,N,K,"json")},getScript:function(O,N){return w.get(O,void 0,N,"script")}}),w.each(["get","post"],function(O,N){w[N]=function(K,te,Ce,Se){return y(te)&&(Se=Se||Ce,Ce=te,te=void 0),w.ajax(w.extend({url:K,type:N,dataType:Se,data:te,success:Ce},w.isPlainObject(K)&&K))}}),w.ajaxPrefilter(function(O){var N;for(N in O.headers)N.toLowerCase()==="content-type"&&(O.contentType=O.headers[N]||"")}),w._evalUrl=function(O,N,K){return w.ajax({url:O,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(te){w.globalEval(te,N,K)}})},w.fn.extend({wrapAll:function(O){var N;return this[0]&&(y(O)&&(O=O.call(this[0])),N=w(O,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&N.insertBefore(this[0]),N.map(function(){for(var K=this;K.firstElementChild;)K=K.firstElementChild;return K}).append(this)),this},wrapInner:function(O){return y(O)?this.each(function(N){w(this).wrapInner(O.call(this,N))}):this.each(function(){var N=w(this),K=N.contents();K.length?K.wrapAll(O):N.append(O)})},wrap:function(O){var N=y(O);return this.each(function(K){w(this).wrapAll(N?O.call(this,K):O)})},unwrap:function(O){return this.parent(O).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(O){return!w.expr.pseudos.visible(O)},w.expr.pseudos.visible=function(O){return!!(O.offsetWidth||O.offsetHeight||O.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var n_={0:200,1223:204},yo=w.ajaxSettings.xhr();_.cors=!!yo&&"withCredentials"in yo,_.ajax=yo=!!yo,w.ajaxTransport(function(O){var N,K;if(_.cors||yo&&!O.crossDomain)return{send:function(te,Ce){var Se,Me=O.xhr();if(Me.open(O.type,O.url,O.async,O.username,O.password),O.xhrFields)for(Se in O.xhrFields)Me[Se]=O.xhrFields[Se];O.mimeType&&Me.overrideMimeType&&Me.overrideMimeType(O.mimeType),!O.crossDomain&&!te["X-Requested-With"]&&(te["X-Requested-With"]="XMLHttpRequest");for(Se in te)Me.setRequestHeader(Se,te[Se]);N=function(He){return function(){N&&(N=K=Me.onload=Me.onerror=Me.onabort=Me.ontimeout=Me.onreadystatechange=null,He==="abort"?Me.abort():He==="error"?typeof Me.status!="number"?Ce(0,"error"):Ce(Me.status,Me.statusText):Ce(n_[Me.status]||Me.status,Me.statusText,(Me.responseType||"text")!=="text"||typeof Me.responseText!="string"?{binary:Me.response}:{text:Me.responseText},Me.getAllResponseHeaders()))}},Me.onload=N(),K=Me.onerror=Me.ontimeout=N("error"),Me.onabort!==void 0?Me.onabort=K:Me.onreadystatechange=function(){Me.readyState===4&&t.setTimeout(function(){N&&K()})},N=N("abort");try{Me.send(O.hasContent&&O.data||null)}catch(He){if(N)throw He}},abort:function(){N&&N()}}}),w.ajaxPrefilter(function(O){O.crossDomain&&(O.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(O){return w.globalEval(O),O}}}),w.ajaxPrefilter("script",function(O){O.cache===void 0&&(O.cache=!1),O.crossDomain&&(O.type="GET")}),w.ajaxTransport("script",function(O){if(O.crossDomain||O.scriptAttrs){var N,K;return{send:function(te,Ce){N=w("