diff --git a/package.json b/package.json index 6ad73863f..19f7477c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "DooTask", - "version": "0.12.65", + "version": "0.12.66", "description": "DooTask is task management system.", "scripts": { "start": "./cmd dev", diff --git a/public/css/app.css b/public/css/app.css index a6e172226..b0ba91113 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -1 +1 @@ -@charset "UTF-8";.file-icon:before{background-image:url(../images/file/light/other.svg);background-repeat:no-repeat;background-size:contain;content:""}.file-icon.archive:before{background-image:url(../images/file/light/archive.svg)}.file-icon.cad:before{background-image:url(../images/file/light/cad.svg)}.file-icon.code:before{background-image:url(../images/file/light/code.svg)}.file-icon.document:before{background-image:url(../images/file/light/document.svg)}.file-icon.drawio:before{background-image:url(../images/file/light/drawio.svg)}.file-icon.excel:before{background-image:url(../images/file/light/excel.svg)}.file-icon.flow:before{background-image:url(../images/file/light/flow.svg)}.file-icon.folder:before{background-image:url(../images/file/light/folder.svg)}.file-icon.media:before{background-image:url(../images/file/light/media.svg)}.file-icon.mind:before{background-image:url(../images/file/light/mind.svg)}.file-icon.ofd:before{background-image:url(../images/file/light/ofd.svg)}.file-icon.pdf:before{background-image:url(../images/file/light/pdf.svg)}.file-icon.picture:before{background-image:url(../images/file/light/picture.svg)}.file-icon.ppt:before{background-image:url(../images/file/light/ppt.svg)}.file-icon.sheet:before{background-image:url(../images/file/light/sheet.svg)}.file-icon.tif:before{background-image:url(../images/file/light/tif.svg)}.file-icon.txt:before{background-image:url(../images/file/light/txt.svg)}.file-icon.updir:before{background-image:url(../images/file/light/updir.svg)}.file-icon.upload:before{background-image:url(../images/file/light/upload.svg)}.file-icon.word:before{background-image:url(../images/file/light/word.svg)}.file-icon.wps:before{background-image:url(../images/file/light/wps.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);transform-origin:center top;transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1)}.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);transform-origin:center bottom;transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1)}.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);transform-origin:top left;transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1)}.el-zoom-in-left-enter,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:height .3s ease-in-out,padding-top .3s ease-in-out,padding-bottom .3s ease-in-out}.horizontal-collapse-transition{transition:width .3s ease-in-out,padding-left .3s ease-in-out,padding-right .3s 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-display:"auto";font-family:element-icons;font-style:normal;font-weight:400;src:url(fonts/element-icons.woff) format("woff"),url(fonts/element-icons.ttf) format("truetype")}[class*=" el-icon-"],[class^=el-icon-]{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:element-icons!important;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none;vertical-align:baseline}.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{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.el-avatar{background:#c0c4cc;box-sizing:border-box;color:#fff;display:inline-block;font-size:14px;height:40px;line-height:40px;overflow:hidden;text-align:center;width:40px}.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{height:40px;line-height:40px;width:40px}.el-avatar--medium{height:36px;line-height:36px;width:36px}.el-avatar--small{height:28px;line-height:28px;width:28px}.el-tooltip:focus:hover,.el-tooltip:focus:not(.focusing){outline-width:0}.el-tooltip__popper{word-wrap:break-word;border-radius:4px;font-size:14px;line-height:1.2;min-width:10px;padding:10px;position:absolute;z-index:2000}.el-tooltip__popper .popper__arrow,.el-tooltip__popper .popper__arrow:after{border-color:transparent;border-style:solid;display:block;height:0;position:absolute;width:0}.el-tooltip__popper .popper__arrow{border-width:6px}.el-tooltip__popper .popper__arrow:after{border-width:5px;content:" "}.el-tooltip__popper[x-placement^=top]{margin-bottom:12px}.el-tooltip__popper[x-placement^=top] .popper__arrow{border-bottom-width:0;border-top-color:#585e6a;bottom:-6px}.el-tooltip__popper[x-placement^=top] .popper__arrow:after{border-bottom-width:0;border-top-color:#585e6a;bottom:1px;margin-left:-5px}.el-tooltip__popper[x-placement^=bottom]{margin-top:12px}.el-tooltip__popper[x-placement^=bottom] .popper__arrow{border-bottom-color:#585e6a;border-top-width:0;top:-6px}.el-tooltip__popper[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#585e6a;border-top-width:0;margin-left:-5px;top:1px}.el-tooltip__popper[x-placement^=right]{margin-left:12px}.el-tooltip__popper[x-placement^=right] .popper__arrow{border-left-width:0;border-right-color:#585e6a;left:-6px}.el-tooltip__popper[x-placement^=right] .popper__arrow:after{border-left-width:0;border-right-color:#585e6a;bottom:-5px;left:1px}.el-tooltip__popper[x-placement^=left]{margin-right:12px}.el-tooltip__popper[x-placement^=left] .popper__arrow{border-left-color:#585e6a;border-right-width:0;right:-6px}.el-tooltip__popper[x-placement^=left] .popper__arrow:after{border-left-color:#585e6a;border-right-width:0;bottom:-5px;margin-left:-5px;right:1px}.el-tooltip__popper.is-dark{background:#585e6a;color:#fff}.el-tooltip__popper.is-light{background:#fff;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-popover{background:#fff;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);color:#606266;font-size:14px;line-height:1.4;min-width:150px;padding:12px;position:absolute;text-align:justify;word-break:break-all;z-index:2000}.el-popover--plain{padding:18px 20px}.el-popover__title{color:#303133;font-size:16px;line-height:1;margin-bottom:12px}.el-popover:focus,.el-popover:focus:active,.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-button{-webkit-appearance:none;background:#fff;border:1px solid #dcdfe6;border-radius:4px;box-sizing:border-box;color:#606266;cursor:pointer;display:inline-block;font-size:14px;font-weight:500;line-height:1;margin:0;outline:none;padding:12px 20px;text-align:center;transition:.1s;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;white-space:nowrap}.el-button+.el-button{margin-left:10px}.el-button.is-round{padding:12px 20px}.el-button:focus,.el-button:hover{background-color:#ecf5ff;border-color:#c6e2ff;color:#409eff}.el-button:active{border-color:#3a8ee6;color:#3a8ee6;outline:none}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon-]+span{margin-left:5px}.el-button.is-plain:focus,.el-button.is-plain:hover{background:#fff;border-color:#409eff;color:#409eff}.el-button.is-plain:active{background:#fff;outline:none}.el-button.is-active,.el-button.is-plain:active{border-color:#3a8ee6;color:#3a8ee6}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{background-color:#fff;background-image:none;border-color:#ebeef5;color:#c0c4cc;cursor:not-allowed}.el-button.is-disabled.el-button--text{background-color:transparent}.el-button.is-disabled.is-plain,.el-button.is-disabled.is-plain:focus,.el-button.is-disabled.is-plain:hover{background-color:#fff;border-color:#ebeef5;color:#c0c4cc}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:hsla(0,0%,100%,.35);border-radius:inherit;bottom:-1px;content:"";left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px}.el-button.is-round{border-radius:20px;padding:12px 23px}.el-button.is-circle{border-radius:50%;padding:12px}.el-button--primary{background-color:#409eff;border-color:#409eff;color:#fff}.el-button--primary:focus,.el-button--primary:hover{background:#66b1ff;border-color:#66b1ff;color:#fff}.el-button--primary:active{outline:none}.el-button--primary.is-active,.el-button--primary:active{background:#3a8ee6;border-color:#3a8ee6;color:#fff}.el-button--primary.is-disabled,.el-button--primary.is-disabled:active,.el-button--primary.is-disabled:focus,.el-button--primary.is-disabled:hover{background-color:#a0cfff;border-color:#a0cfff;color:#fff}.el-button--primary.is-plain{background:#ecf5ff;border-color:#b3d8ff;color:#409eff}.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover{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:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover{background-color:#ecf5ff;border-color:#d9ecff;color:#8cc5ff}.el-button--success{background-color:#67c23a;border-color:#67c23a;color:#fff}.el-button--success:focus,.el-button--success:hover{background:#85ce61;border-color:#85ce61;color:#fff}.el-button--success:active{outline:none}.el-button--success.is-active,.el-button--success:active{background:#5daf34;border-color:#5daf34;color:#fff}.el-button--success.is-disabled,.el-button--success.is-disabled:active,.el-button--success.is-disabled:focus,.el-button--success.is-disabled:hover{background-color:#b3e19d;border-color:#b3e19d;color:#fff}.el-button--success.is-plain{background:#f0f9eb;border-color:#c2e7b0;color:#67c23a}.el-button--success.is-plain:focus,.el-button--success.is-plain:hover{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:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover{background-color:#f0f9eb;border-color:#e1f3d8;color:#a4da89}.el-button--warning{background-color:#e6a23c;border-color:#e6a23c;color:#fff}.el-button--warning:focus,.el-button--warning:hover{background:#ebb563;border-color:#ebb563;color:#fff}.el-button--warning:active{outline:none}.el-button--warning.is-active,.el-button--warning:active{background:#cf9236;border-color:#cf9236;color:#fff}.el-button--warning.is-disabled,.el-button--warning.is-disabled:active,.el-button--warning.is-disabled:focus,.el-button--warning.is-disabled:hover{background-color:#f3d19e;border-color:#f3d19e;color:#fff}.el-button--warning.is-plain{background:#fdf6ec;border-color:#f5dab1;color:#e6a23c}.el-button--warning.is-plain:focus,.el-button--warning.is-plain:hover{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:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover{background-color:#fdf6ec;border-color:#faecd8;color:#f0c78a}.el-button--danger{background-color:#f56c6c;border-color:#f56c6c;color:#fff}.el-button--danger:focus,.el-button--danger:hover{background:#f78989;border-color:#f78989;color:#fff}.el-button--danger:active{outline:none}.el-button--danger.is-active,.el-button--danger:active{background:#dd6161;border-color:#dd6161;color:#fff}.el-button--danger.is-disabled,.el-button--danger.is-disabled:active,.el-button--danger.is-disabled:focus,.el-button--danger.is-disabled:hover{background-color:#fab6b6;border-color:#fab6b6;color:#fff}.el-button--danger.is-plain{background:#fef0f0;border-color:#fbc4c4;color:#f56c6c}.el-button--danger.is-plain:focus,.el-button--danger.is-plain:hover{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:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover{background-color:#fef0f0;border-color:#fde2e2;color:#f9a7a7}.el-button--info{background-color:#909399;border-color:#909399;color:#fff}.el-button--info:focus,.el-button--info:hover{background:#a6a9ad;border-color:#a6a9ad;color:#fff}.el-button--info:active{outline:none}.el-button--info.is-active,.el-button--info:active{background:#82848a;border-color:#82848a;color:#fff}.el-button--info.is-disabled,.el-button--info.is-disabled:active,.el-button--info.is-disabled:focus,.el-button--info.is-disabled:hover{background-color:#c8c9cc;border-color:#c8c9cc;color:#fff}.el-button--info.is-plain{background:#f4f4f5;border-color:#d3d4d6;color:#909399}.el-button--info.is-plain:focus,.el-button--info.is-plain:hover{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:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover{background-color:#f4f4f5;border-color:#e9e9eb;color:#bcbec2}.el-button--medium{border-radius:4px;font-size:14px;padding:10px 20px}.el-button--medium.is-round{padding:10px 20px}.el-button--medium.is-circle{padding:10px}.el-button--small{border-radius:3px;font-size:12px;padding:9px 15px}.el-button--small.is-round{padding:9px 15px}.el-button--small.is-circle{padding:9px}.el-button--mini{border-radius:3px;font-size:12px;padding:7px 15px}.el-button--mini.is-round{padding:7px 15px}.el-button--mini.is-circle{padding:7px}.el-button--text{background:transparent;border-color:transparent;color:#409eff;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{background-color:transparent;border-color:transparent;color:#66b1ff}.el-button--text:active{background-color:transparent;color:#3a8ee6}.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover,.el-button--text:active{border-color:transparent}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{content:"";display:table}.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-bottom-right-radius:0;border-top-right-radius:0}.el-button-group>.el-button:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-top-left-radius:4px;border-top-right-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.is-active,.el-button-group>.el-button:not(.is-disabled):active,.el-button-group>.el-button:not(.is-disabled):focus,.el-button-group>.el-button:not(.is-disabled):hover{z-index:1}.el-button-group>.el-dropdown>.el-button{border-bottom-left-radius:0;border-left-color:hsla(0,0%,100%,.5);border-top-left-radius:0}.el-button-group .el-button--primary:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-popper .popper__arrow,.el-popper .popper__arrow:after{border-color:transparent;border-style:solid;display:block;height:0;position:absolute;width:0}.el-popper .popper__arrow{border-width:6px;filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.el-popper .popper__arrow:after{border-width:6px;content:" "}.el-popper[x-placement^=top]{margin-bottom:12px}.el-popper[x-placement^=top] .popper__arrow{border-bottom-width:0;border-top-color:#ebeef5;bottom:-6px;left:50%;margin-right:3px}.el-popper[x-placement^=top] .popper__arrow:after{border-bottom-width:0;border-top-color:#fff;bottom:1px;margin-left:-6px}.el-popper[x-placement^=bottom]{margin-top:12px}.el-popper[x-placement^=bottom] .popper__arrow{border-bottom-color:#ebeef5;border-top-width:0;left:50%;margin-right:3px;top:-6px}.el-popper[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#fff;border-top-width:0;margin-left:-6px;top:1px}.el-popper[x-placement^=right]{margin-left:12px}.el-popper[x-placement^=right] .popper__arrow{border-left-width:0;border-right-color:#ebeef5;left:-6px;margin-bottom:3px;top:50%}.el-popper[x-placement^=right] .popper__arrow:after{border-left-width:0;border-right-color:#fff;bottom:-6px;left:1px}.el-popper[x-placement^=left]{margin-right:12px}.el-popper[x-placement^=left] .popper__arrow{border-left-color:#ebeef5;border-right-width:0;margin-bottom:3px;right:-6px;top:50%}.el-popper[x-placement^=left] .popper__arrow:after{border-left-color:#fff;border-right-width:0;bottom:-6px;margin-left:-6px;right:1px}.el-dropdown{color:#606266;display:inline-block;font-size:14px;position:relative}.el-dropdown .el-button-group{display:block}.el-dropdown .el-button-group .el-button{float:none}.el-dropdown .el-dropdown__caret-button{border-left:none;padding-left:5px;padding-right:5px;position:relative}.el-dropdown .el-dropdown__caret-button:before{background:hsla(0,0%,100%,.5);bottom:5px;content:"";display:block;left:0;position:absolute;top:5px;width:1px}.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{bottom:0;top: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]{color:#bbb;cursor:not-allowed}.el-dropdown-menu{background-color:#fff;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);left:0;margin:5px 0;padding:10px 0;position:absolute;top:0;z-index:10}.el-dropdown-menu__item{color:#606266;cursor:pointer;font-size:14px;line-height:36px;list-style:none;margin:0;outline:none;padding:0 20px}.el-dropdown-menu__item:focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:#f4f5f7;color:#606266}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid #ebeef5;margin-top:6px;position:relative}.el-dropdown-menu__item--divided:before{background-color:#fff;content:"";display:block;height:6px;margin:0 -20px}.el-dropdown-menu__item.is-disabled{color:#bbb;cursor:default;pointer-events:none}.el-dropdown-menu--medium{padding:6px 0}.el-dropdown-menu--medium .el-dropdown-menu__item{font-size:14px;line-height:30px;padding:0 17px}.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{font-size:13px;line-height:27px;padding:0 15px}.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{font-size:12px;line-height:24px;padding:0 10px}.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{background-color:#fff;border:1px solid #ebeef5;border-radius:8px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-sizing:border-box;display:flex;overflow:hidden;padding:14px 26px 14px 13px;position:fixed;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;width:330px}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:13px;margin-right:8px}.el-notification__title{color:#303133;font-size:16px;font-weight:700;margin:0}.el-notification__content{color:#606266;font-size:14px;line-height:21px;margin:6px 0 0;text-align:justify}.el-notification__content p{margin:0}.el-notification__icon{font-size:24px;height:24px;width:24px}.el-notification__closeBtn{color:#909399;cursor:pointer;font-size:16px;position:absolute;right:15px;top:18px}.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:translateX(100%)}.el-notification-fade-enter.left{left:0;transform:translateX(-100%)}.el-notification-fade-leave-active{opacity:0}.el-dropdown-menu__item{min-width:100px}.el-dropdown-menu__item .item.red,.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 rgba(0,0,0,.2)}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow{border-top-color:hsla(0,0%,85%,.5)}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow{border-bottom-color:hsla(0,0%,85%,.5)}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow{border-left-color:hsla(0,0%,85%,.5)}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow{border-right-color:hsla(0,0%,85%,.5)}.el-popover{border-width:0;box-shadow:0 1px 6px rgba(0,0,0,.2)}@font-face{font-family:zenicon;src:url(../css/fonts/zenicon.woff2) format("woff2")}.ft.icon{word-wrap:normal;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;-webkit-font-feature-settings:"liga";direction:ltr;font-family:zenicon,serif;letter-spacing:normal;line-height:1;padding-left:1px;text-transform:none;transform:scale(1.2);transform-origin:50% 0;white-space:nowrap}.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(../css/fonts/taskfont.woff2) format("woff2"),url(../css/fonts/taskfont.woff) format("woff"),url(../css/fonts/taskfont.ttf) format("truetype")}.taskfont{-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:.2px;-moz-osx-font-smoothing:grayscale;font-family:taskfont,"serif"!important;font-size:16px;font-style:normal}.app-view-loading{align-items:center;background-color:hsla(0,0%,100%,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:99999}.app-view-loading>div{text-align:center}.app-view-loading>div>div{color:#ccc;font:11px verdana;letter-spacing:1px;line-height:16px;margin:0;text-transform:uppercase}.app-view-loading>div>span{-webkit-animation:app-view-loadanim 1s infinite alternate;animation:app-view-loadanim 1s infinite alternate;background:#007db6;border-radius:8px;display:inline-block;height:8px;margin:2px;vertical-align:middle;width:8px}.app-view-loading>div>span:nth-of-type(2){-webkit-animation-delay:.2s;animation-delay:.2s;background:#008fb2}.app-view-loading>div>span:nth-of-type(3){-webkit-animation-delay:.4s;animation-delay:.4s;background:#009b9e}.app-view-loading>div>span:nth-of-type(4){-webkit-animation-delay:.6s;animation-delay:.6s;background:#00a77d}.app-view-loading>div>span:nth-of-type(5){-webkit-animation-delay:.8s;animation-delay:.8s;background:#00b247}.app-view-loading>div>span:nth-of-type(6){-webkit-animation-delay:1s;animation-delay:1s;background:#5ab027}.app-view-loading>div>span:nth-of-type(7){-webkit-animation-delay:1.2s;animation-delay:1.2s;background:#a0b61e}@-webkit-keyframes app-view-loadanim{0%{opacity:0}to{opacity:1}}@keyframes app-view-loadanim{0%{opacity:0}to{opacity:1}}.overlay-y{overflow-y:overlay!important}.overlay-y::-webkit-scrollbar{height:10px;width:10px}.overlay-y::-webkit-scrollbar-thumb{background:transparent;border-radius:10px}.overlay-y::-webkit-scrollbar-thumb:active{background:rgba(0,0,0,.5);border-radius:10px}.overlay-y:hover::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);background-clip:content-box;border:2px solid transparent}.overlay-y:hover::-webkit-scrollbar-thumb:hover{border-bottom-width:0;border-top-width:0}.overlay-y::-webkit-scrollbar-track{background:transparent;border-radius:10px}.overlay-none::-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:#8bcf70}.common-circle .common-circle-g-path-core{fill:#8bcf70;transform:scale(.56);transform-origin:50%}.drawer-overlay{background:hsla(0,0%,4%,.76);box-sizing:border-box;display:flex;flex-direction:column;height:0;justify-content:flex-end;left:0;opacity:0;outline:none;pointer-events:none;position:fixed;top:0;width:0;z-index:1000}.drawer-overlay .overlay-mask{bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.drawer-overlay .overlay-body{display:flex;flex-direction:column;height:100%;max-height:100%;max-width:100%;width:100%;z-index:2}.drawer-overlay .overlay-body .overlay-close{align-items:flex-end;display:flex;flex-shrink:0;justify-content:flex-end}.drawer-overlay .overlay-body .overlay-close>a{align-items:center;color:#dbdbde;display:flex;height:40px;justify-content:center;width:40px}.drawer-overlay .overlay-body .overlay-close>a .icon{height:24px;width:24px}.drawer-overlay .overlay-body .overlay-close>a>svg{transition:all .3s}.drawer-overlay .overlay-body .overlay-close>a:hover{color:#fff}.drawer-overlay .overlay-body .overlay-close>a:hover>svg{transform:rotate(-90deg)}.drawer-overlay .overlay-body .overlay-resize{height:5px;margin-bottom:-5px;width:100%;z-index:1}.drawer-overlay .overlay-body .overlay-content{background:#fff;border-radius:18px 18px 0 0;cursor:default;flex:1;opacity:0;position:relative;transform:translateY(15%) scale(.98)}.drawer-overlay.overlay-visible{height:100%;opacity:1;pointer-events:auto;transition:opacity .2s ease;width:100%}.drawer-overlay.overlay-visible .overlay-body .overlay-content{opacity:1;transform:translate(0) scale(1);transition:opacity .2s ease,transform .3s ease}.drawer-overlay.overlay-hide{height:100%;transition:opacity .2s ease;width:100%}.drawer-overlay.overlay-hide .overlay-body .overlay-content{transform:translateY(15%) scale(.98);transition:opacity .2s ease,transform .2s ease}.drawer-overlay.right{flex-direction:row;justify-content:flex-end}.drawer-overlay.right .overlay-body{flex-direction:row}.drawer-overlay.right .overlay-body .overlay-close{align-items:flex-start}.drawer-overlay.right .overlay-body .overlay-resize{height:100%;margin-right:-5px;width:5px;z-index:1}.drawer-overlay.right .overlay-body .overlay-content{border-radius:18px 0 0 18px;transform:translate(15%) scale(.98)}.drawer-overlay.right.overlay-visible .overlay-body .overlay-content{transform:translate(0) scale(1)}.drawer-overlay.right.overlay-hide .overlay-body .overlay-content{transform:translate(15%) scale(.98)}.img-upload-modal .ivu-modal-mask{z-index:1001}.img-upload-modal .ivu-modal-no-mask{background-color:rgba(55,55,55,.2)}.img-upload-modal .ivu-modal-wrap{z-index:1001}.imgcomp-upload-list{background:#fff;border:1px solid transparent;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.2);display:inline-block;height:60px;line-height:60px;margin-right:4px;overflow:hidden;position:relative;text-align:center;vertical-align:top;width:60px}.imgcomp-upload-list .imgcomp-upload-img{background-position:50%;background-size:cover;height:100%;left:0;position:absolute;top:0;width:100%}.imgcomp-upload-list .imgcomp-upload-list-cover{background:rgba(0,0,0,.6);bottom:0;display:none;left:0;position:absolute;right:0;top:0}.imgcomp-upload-list .imgcomp-upload-list-cover i{color:#fff;cursor:pointer;font-size:24px;margin:0;transition:all .2s;vertical-align:middle}.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:rgba(0,0,0,.68);height:100%}.imgcomp-upload-list .ivu-progress .ivu-progress-outer .ivu-progress-inner{margin:0 auto;width:88%}.imgcomp-upload-list:hover .imgcomp-upload-list-cover{display:block}.img-upload-foot,.img-upload-foot .img-upload-foot-input{align-items:center;display:flex;justify-content:flex-end}.img-upload-foot .img-upload-foot-input{flex:1;text-align:left}.img-upload-foot .img-upload-foot-input .img-upload-foot-httptitle{cursor:pointer;margin-right:22px;padding-left:3px}.add-box{background:#fff;border:1px dashed #dddee1;border-radius:4px;display:inline-block;height:60px;line-height:60px;overflow:hidden;position:relative;text-align:center;vertical-align:top;width:60px}.add-box .add-box-icon i{padding-bottom:2px;vertical-align:middle}.add-box .add-box-upload{background:rgba(0,0,0,.6);color:#fff;display:none;height:100%;left:0;padding-top:9px;position:absolute;top:0;width:100%}.add-box .add-box-upload .add-box-item{cursor:pointer;height:22px;line-height:22px}.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{font-size:12px;transition:all .2s}.add-box .add-box-upload .add-box-item:hover span{font-size:14px}.add-box em{font-style:normal}.add-box:hover{border-color:rgba(0,0,0,.6)}.add-box:hover .add-box-upload{display:block}.callback-add-box{background:transparent;border:0;display:block;height:25px;line-height:25px;width:auto}.callback-add-box .add-box-icon{display:none}.callback-add-box .add-box-upload{background:transparent;color:#333;display:block;padding:0;width:auto}.callback-add-box .add-box-upload>div{display:inline-block;padding-right:10px}.browse-load{margin:20px;text-align:center}.browse-list{max-height:540px;overflow:auto}.browse-list .browse-item{cursor:pointer;display:inline-block;margin:10px 15px;position:relative;text-align:center}.browse-list .browse-item .browse-img{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAABxCAAAAABg5GeyAAACW0lEQVR4Ae3XVRLjMBAE0L3/rSwKM3OcSNPyLVYOLvM6UD0Bd03LVe9XH+RlhlRSSSWVVFJJJZVUUkkllVRSSSWVVFJJJZVUUkl9WyqppJJKKqmkkgpURP17xngOAR5NxW5wlJ9MaLQh83F4NHWmd/gZtdVBaOldfDB1bq5UpJFbFOC6LKnYrkRO209PAw+hIuzWB8Ep5es8HvYo4z4tE1X8UeRwlMM2D5Bzkc7kj6Bi3VTKDDwEeUcrMxrUvGDXTnHa6kK69SDN9sgq1clxKSbNHqqnYmdri81Q9QHf1JPt1Frncaib2XbiTKL2GkHaurnY9LOulMV0O7G6Kw+g9sw2ohhm62KezVJaaufjWC1TnOkr1exilJ7Ji0vxCCqO9V4UwV4PYr9+apouhGYLKfnahdpqegjmeoXOpXgANe70pKT6Zhu19qkY2nC0PZS527lQOyInqr8Uvc5jqfUb1X+PGh5IhW90S2quh3FQC2XRcF66TUkTXPcLKm5FtdR9RJq+2hWII7UpFtmsQLEyzsdJtkxxpr6gLotbUSlV9yeT0Trmzk2XPdUThLYarUbWOY9j04xXQ2u+pMZLYSumGmNUH3HbM9qOAwSHodN2Pks25F2j3aI7+IxqNsB+YLWb16ukSjiW4xNB0gMoMfApBS/XZQgi3p9/5RsiKNKZEOwYFVIF5VyTyD19sbyjIJiNJRZxpNbx2S8sGKvGZNHJBniBu9Wy5WxjGuQFqIAcBHiRGyt4ua5gSCWVVFJJJZVUUkkllVRSSSWVVFJJJZVUUkkllVRSSSWVVFI/AgO0SXIVYHeGAAAAAElFTkSuQmCC);background-position:50%;background-repeat:no-repeat;background-size:cover;height:64px;width:64px}.browse-list .browse-item .browse-title{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:64px}.browse-list .browse-item .browse-icon{background-color:rgba(0,0,0,.5);color:#fff;font-size:36px;height:64px;left:0;padding-top:15px;position:absolute;top:0;width:100%}.browse-list-disabled{position:relative}.browse-list-disabled:after{background-color:hsla(0,0%,100%,.9);content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.common-loading{-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite;height:30px;margin:auto;max-height:100%;max-width:100%;overflow:hidden;transform-origin:center center;width:30px}.common-loading .common-path{fill:none;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite,color 6s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite,color 6s ease-in-out infinite}@-webkit-keyframes rotate{to{transform:rotate(1turn)}}@keyframes rotate{to{transform:rotate(1turn)}}@-webkit-keyframes 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 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}}@-webkit-keyframes color{0%,to{stroke:#d62d20}40%{stroke:#0057e7}66%{stroke:#008744}80%,90%{stroke:#ffa700}}@keyframes color{0%,to{stroke:#d62d20}40%{stroke:#0057e7}66%{stroke:#008744}80%,90%{stroke:#ffa700}}.app-scroller-y{-webkit-overflow-scrolling:touch;bottom:0;left:0;overflow-x:hidden;overflow-y:auto;position:absolute;right:0;top:0}.app-scroller-y .app-scroller-bottom{height:0;margin:0;padding:0}.app-scroller-y.static{flex:1;position:static}.common-spinner{bottom:20px;display:none;height:30px;margin:0 auto;position:fixed;right:20px;width:30px;z-index:9999}.common-spinner .common-circular{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.teditor-box .tox.tox-silver-sink,.teditor-transfer .tox.tox-silver-sink{z-index:13000}.teditor-box{min-height:22px;position:relative}.teditor-box .icon-inline{color:#bbb;left:0;position:absolute;top:0}.teditor-box textarea{opacity:0}.teditor-box .tox-tinymce{border-color:#dddee1;border-radius:4px;box-shadow:none;box-sizing:border-box;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{height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%}.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{height:180px;overflow:hidden;position:relative;width:100%}.teditor-loadedstyle{max-height:inherit;overflow:inherit;position:relative;width:100%}.upload-control{display:none;height:0;overflow:hidden;width:0}.tox-tinymce-inline{z-index:100000}.quick-edit{align-items:center;display:flex;max-width:100%}.quick-edit .quick-input{flex:1;max-width:100%;position:relative}.quick-edit .quick-input .quick-loading{align-items:center;bottom:0;display:flex;position:absolute;right:8px;top:0}.quick-edit .quick-input .quick-loading .common-loading{height:14px;margin:0;width:14px}.quick-edit .quick-text{align-items:center;height:20px;line-height:20px;margin-right:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-edit .quick-icon{cursor:pointer;display:none;font-size:16px}.quick-edit.quick-always .quick-icon{display:inline-block;opacity:.3;transition:opacity .2s}.ivu-table-row-hover .quick-edit .quick-icon,.quick-edit:hover .quick-icon{display:inline-block;opacity:1}.common-tag-input{background:#fff;border:1px solid #dddee1;border-radius:4px;color:#495060;cursor:text;display:inline-block;line-height:normal;min-height:32px;padding:2px 7px;position:relative;transition:all .2s;vertical-align:middle;width:100%}.common-tag-input:hover{border-color:#a2d98d}.common-tag-input.focus{border-color:#a2d98d;box-shadow:0 0 0 2px rgba(139,207,112,.2)}.common-tag-input .tags-input,.common-tag-input .tags-item{background-color:#f1f8ff;border-radius:3px;color:#495060;float:left;line-height:22px;margin:2px 6px 2px 0;padding:0 20px 0 6px;position:relative}.common-tag-input .tags-input .tags-content,.common-tag-input .tags-item .tags-content{line-height:22px}.common-tag-input .tags-input .tags-del,.common-tag-input .tags-item .tags-del{cursor:pointer;height:22px;position:absolute;right:0;text-align:center;top:-1px;width:20px}.common-tag-input .tags-input{-webkit-appearance:none;background-color:inherit;border:none;color:inherit;height:22px;line-height:22px;max-width:80%;outline:none;overflow:hidden;padding:0;resize:none}.common-tag-input .tags-input::-moz-placeholder{color:#bbb}.common-tag-input .tags-input:-ms-input-placeholder{color:#bbb}.common-tag-input .tags-input::placeholder{color:#bbb}.common-tag-input .tags-placeholder{color:hsla(0,0%,100%,0);left:0;position:absolute;top:0;z-index:-1}.common-tag-input:after{clear:both;content:"";display:block;height:0}.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 rgba(237,64,20,.2)}.common-avatar{position:relative}.common-avatar.avatar-wrapper{align-items:center;display:flex}.common-avatar.avatar-wrapper .avatar-box{align-items:center;border-radius:50%;display:flex;position:relative}.common-avatar.avatar-wrapper .avatar-box .avatar-default{background-color:transparent}.common-avatar.avatar-wrapper .avatar-box .avatar-text{background-color:#8bcf70}.common-avatar.avatar-wrapper .avatar-box .avatar-char{display:inline-block;font-size:15px;line-height:inherit}.common-avatar.avatar-wrapper .avatar-box>em{background-color:#f90;border:1px solid #fff;border-radius:50%;bottom:0;height:8px;position:absolute;right:0;transform-origin:right bottom;width:8px;z-index:1}.common-avatar.avatar-wrapper .avatar-box.online>em{background-color:#8bcf70}.common-avatar.avatar-wrapper .avatar-name{overflow:hidden;padding-left:6px;text-overflow:ellipsis;white-space:nowrap}.common-avatar-transfer{line-height:1.5;padding:4px 2px}.common-avatar-transfer>p{padding:1px 2px}.common-avatar-transfer .avatar-icons{align-items:center;border-top:1px solid hsla(240,5%,96%,.5);display:flex;margin-top:12px;padding:8px 0 2px}.common-avatar-transfer .avatar-icons>i{color:#f4f4f5;cursor:pointer;font-size:22px;margin-right:12px}.common-avatar-transfer .avatar-icons>i:last-child{margin-right:0}.common-avatar-transfer .avatar-icons>i:hover{color:#fff}.common-user{position:relative;white-space:normal}.common-user .common-user-loading{align-items:center;bottom:0;display:flex;position:absolute;right:10px;top:2px}.common-user .common-user-loading .common-loading{height:14px;width:14px}.common-user.hidden-input .ivu-select-selection{padding:0 4px}.common-user.hidden-input .ivu-select-selection .ivu-select-input{display:none}.common-user-transfer .user-input-option,.common-user-transfer .user-input-option .user-input-avatar{align-items:center;display:flex}.common-user-transfer .user-input-option .user-input-avatar .avatar{height:26px;line-height:26px;width:26px}.common-user-transfer .user-input-option .user-input-nickname{flex:1;margin-left:10px}.common-user-transfer .user-input-option .user-input-userid{color:#ccc;font-size:12px;margin-left:10px;transition:margin .1s}.common-user-transfer .ivu-select-item.ivu-select-item-selected:after{top:8px}.common-user-transfer .ivu-select-item.ivu-select-item-selected .user-input-option .user-input-userid{margin-right:16px}.common-user-transfer .user-drop-prepend{border-bottom:1px solid #f1f1f1;color:#c5c8ce;font-size:12px;line-height:20px;margin-bottom:5px;padding-bottom:5px;text-align:center}.report{height:100%;padding:20px}.report .report-list-wrap{display:flex;flex-direction:column;height:100%;padding-top:53px;position:absolute;top:0;width:100%}.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{background:#fff;position:relative;z-index:2}.report .ivu-tabs .ivu-tabs-content{height:100%;margin-top:-53px;padding-top:53px;width:100%}.report-detail{display:flex;flex-direction:column;height:100%}.report-detail .report-title{border-bottom:1px solid #eee;flex-shrink:0;font-size:16px;font-weight:700;margin-bottom:12px;padding:20px 24px}.report-detail .report-detail-context{display:flex;flex:1;flex-direction:column;height:0;overflow:auto;padding:12px 0 12px 24px}.report-detail .report-form{display:flex;margin-bottom:12px}.report-detail .report-form .ivu-form-item{flex:1;flex-shrink:0}.report-detail .report-form .ivu-form-item .ivu-form-item-label{opacity:.8;padding-top:8px}.report-detail .report-form .ivu-form-item .ivu-form-item-content{align-items:center;display:flex;line-height:30px}.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:#666}.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{display:flex;height:100%}.report-edit .report-content .report-content-editor .ivu-form-item-content .teditor-wrapper{display:flex;flex:1}.report-edit .report-users{align-items:center;display:flex}.report-edit .report-users .common-user{flex:1;margin-right:12px}.report-edit .report-users .report-user-link{flex-shrink:0}.report-edit .report-users .report-user-link>i{font-size:16px;margin-right:2px;transform:rotate(-90deg)}.report-edit .report-radiogroup{background:#f4f5f7!important;border-radius:4px!important;padding:2px!important}.report-edit .report-radiogroup .ivu-radio-wrapper{background:#f4f5f7!important;border:none!important;box-shadow:none!important;color:#515a6e!important;padding:0 30px!important}.report-edit .report-radiogroup .ivu-radio-wrapper.ivu-radio-wrapper-disabled{color:#c6c6c6!important}.report-edit .report-radiogroup .ivu-radio-wrapper:after,.report-edit .report-radiogroup .ivu-radio-wrapper:before{width:0!important}.report-edit .report-radiogroup .ivu-radio-focus{border:none!important;box-shadow: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;border:none!important;border-radius:4px!important;box-shadow:none!important;color:#8bcf70!important}.report-edit .report-buttongroup{background:#f4f5f7!important;border-radius:4px;margin-left:20px}.report-edit .report-buttongroup .report-buttongroup-vertical{background-color:#e9e9e9;height:15px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:1px;z-index:9}.report-edit .report-buttongroup .ivu-btn-primary{background:#f4f5f7!important;border:none!important;box-shadow:none!important;color:#8bcf70!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}.common-right-bottom{align-items:flex-end;bottom:22px;display:flex;flex-direction:column;position:absolute;right:26px;transition:bottom .3s;z-index:1}.common-right-bottom .common-right-bottom-link{background-color:#8bcf70;border-color:#8bcf70;border-radius:4px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;height:32px;line-height:32px;margin:4px 0;padding:0 15px}.common-right-bottom .common-right-bottom-link:hover{color:#fff;opacity:.9}.common-right-bottom-notification .notification-head{align-items:center;display:flex}.common-right-bottom-notification .notification-head .notification-title{color:#303133;display:inline-block;font-size:18px;font-weight:500;margin-right:6px;vertical-align:middle}.common-right-bottom-notification .notification-body{margin-bottom:16px;max-height:210px;overflow-x:hidden;overflow-y:auto}.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{height:6px!important;top:10px!important;width:6px!important}.common-right-bottom-notification .notification-link{margin-top:20px;text-align:right}.common-right-bottom-notification .notification-link>button+button{margin-left:6px}body{overflow:hidden}body .form-tip{color:#999;line-height:22px;padding:5px 0}body .ivu-input,body .ivu-select-selection{border-color:#e8e8e8}body .ivu-select-dropdown{max-height:360px}body .ivu-select-dropdown.select-node .ivu-select-item{align-items:center;display:flex;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-select-dropdown.ivu-date-picker-transfer{max-width:98%;overflow:auto}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;text-overflow:ellipsis;white-space:nowrap}body .ivu-table table tbody .tree-icon-loading .ivu-table-cell{align-items:center;display:flex}body .ivu-table table tbody .tree-icon-loading .ivu-table-cell .ivu-table-cell-tree{margin-right:6px}body .ivu-table .td-ellipsis{align-items:center;display:flex;max-width:100%}body .ivu-table .td-ellipsis .remark-text{align-items:center;height:20px;line-height:20px;margin-right:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .ivu-table .td-ellipsis .remark-icon{cursor:pointer;display:none;font-size:16px}body .ivu-table .td-ellipsis .remark-tag{background:#f7f7f7;border:1px solid #e8eaec;border-radius:3px;color:#606266;display:inline-block;font-size:12px;height:22px;line-height:22px;margin:2px 4px 2px 0;opacity:1;overflow:visible;padding:0 4px;vertical-align:middle;white-space:nowrap}body .ivu-table .td-ellipsis .remark-tag.pointer-tag{background:#e6f7ff;border-color:#91d5ff;color:#1890ff;cursor:pointer}body .ivu-table .td-action,body .ivu-table .td-ellipsis .icon-tooltip .ivu-tooltip-rel{align-items:center;display:flex}body .ivu-table .td-action{justify-content:center;max-width:100%}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{align-items:center;display:flex}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{padding-bottom:100px;top:100px}@media (max-height:900px){body .ivu-modal-wrap .ivu-modal{padding-bottom:35px;top:35px}}body .ivu-modal-wrap .ivu-modal.ivu-modal-fullscreen{top:0}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer,body .ivu-modal-wrap .ivu-modal .ivu-modal-header{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-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{align-items:center;display:flex}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption>.ivu-btn{padding:0}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption>.ivu-btn>span{padding:0 15px}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{align-items:center;display:flex}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption .ivu-poptip .ivu-poptip-rel{align-items:center;display:flex;flex:1}}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;right:2px;top:3px;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{border:1px solid #8bcf70!important;color:#8bcf70}body .ivu-modal-wrap .form-network-add-in-out .select-in-type .select-in-type-item{align-items:center;border:1px solid #e8ebee;border-radius:4px;display:flex;margin:0 8px 0 0;min-width:90px;padding:0 12px}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{align-items:center;display:flex}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;text-overflow:ellipsis;white-space:nowrap}body .ivu-drawer-right .ivu-drawer-content{border-radius:18px 0 0 18px}body .ivu-drawer-right .ivu-drawer-content .ivu-drawer-header{border-bottom:1px solid transparent;padding-bottom:6px;padding-top:16px}body .ivu-drawer-right .ivu-drawer-content .ivu-drawer-header .ivu-drawer-header-inner{font-size:18px;height:32px;line-height:32px;padding:0 4px}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{color:#fff;font-size:40px}[hidden=hidden]{display:none!important}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{content:"";display:table}.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{height:10px;width:10px}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body::-webkit-scrollbar-thumb{background:transparent;border-radius:10px}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body::-webkit-scrollbar-thumb:active{background:rgba(0,0,0,.5);border-radius:10px}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body:hover::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);background-clip:content-box;border:2px solid transparent}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body:hover::-webkit-scrollbar-thumb:hover{border-bottom-width:0;border-top-width:0}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body::-webkit-scrollbar-track{background:transparent;border-radius:10px}.table-page-box .ivu-page{flex-shrink:0;margin-top:20px;text-align:center}.page-container{padding:20px 0;text-align:center}.search-container{margin-bottom:12px}.search-container>ul{align-items:flex-end;display:flex;flex-wrap:wrap}.search-container>ul>li{display:flex;flex:1;flex-direction:column;flex-shrink:0;list-style:none;margin-bottom:12px;margin-right:12px}.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{align-items:center;display:flex;flex:none;flex-direction:row}.search-container>ul>li.search-button>button+button{margin-left:8px}.search-container.lr>ul>li:not(.search-button){align-items:center;flex:none;flex-direction:row;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-left:6px;margin-top:0}.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{max-width:100%;width:168px}.search-container.auto>ul>li:not(.search-button){flex:none}.search-container.auto>ul>li:not(.search-button) .search-content{margin-left:6px;margin-top:0}.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{max-width:100%;width:150px}.search-expand{align-items:flex-end;display:flex}.search-expand .search-container{flex:1}.search-expand .expand-button-group{flex-shrink:0;margin-bottom:24px;margin-left:24px}.search-button-clear .ivu-tooltip-inner{align-items:center;display:flex;padding:0}.search-button-clear .ivu-tooltip-inner .ivu-btn{font-size:13px;min-width:80px}.icon-loading{-webkit-animation:icon-loading-load .6s linear infinite;animation:icon-loading-load .6s linear infinite}@-webkit-keyframes icon-loading-load{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes icon-loading-load{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.page-calendar{display:flex;flex-direction:column}.page-calendar .calendar-head{align-items:flex-start;border-bottom:1px solid #f4f4f5;display:flex;flex-shrink:0;margin:32px 32px 16px}.page-calendar .calendar-head .calendar-titbox{align-items:center;display:flex;flex:1;margin-bottom:16px}.page-calendar .calendar-head .calendar-titbox .calendar-title{align-items:center;display:flex;margin-right:36px}.page-calendar .calendar-head .calendar-titbox .calendar-title>h1{color:#333;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{display:flex;flex:1;justify-content:flex-end}.page-calendar .calendar-head .calendar-titbox .calendar-view>button:focus{box-shadow:none}.page-calendar .calendar-box{display:flex;flex:1;flex-direction:column;overflow:hidden;padding:0 48px 6px}.page-calendar .calendar-box .calendar-wrapper{flex:1;position:relative}.page-calendar .calendar-box .calendar-wrapper:before{background-color:#fff;content:"";height:2px;left:0;position:absolute;right:0;top:0;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;border-radius:6px;box-shadow:0 1px 6px rgba(0,0,0,.2)}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup .tui-full-calendar-arrow-top .tui-full-calendar-popup-arrow-border{border-bottom-color:hsla(0,0%,85%,.5);top:-8px}.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-calendar-dot,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-icon.tui-full-calendar-ic-title{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,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTk2MCAxMjhIODMzYzAtNTMtNDMtOTYtOTYtOTZoLTE2Yy01MyAwLTk2IDQzLTk2IDk2SDQwMGMwLTI2LjUtMTAuNy01MC41LTI4LjEtNjcuOUMzNTQuNSA0Mi43IDMzMC41IDMyIDMwNCAzMmgtMTZjLTUzIDAtOTYgNDMtOTYgOTZINjRjLTM1LjMgMC02NCAyOC42LTY0IDY0djczNmMwIDM1LjMgMjguNyA2NCA2NCA2NGg4OTZjMzUuMyAwIDY0LTI4LjcgNjQtNjRWMTkyYzAtMzUuNC0yOC43LTY0LTY0LTY0em0tMjcxIDhjMC0yMi4xIDE3LjktNDAgNDAtNDBzNDAgMTcuOSA0MCA0MHY4MGMwIDIyLjEtMTcuOSA0MC00MCA0MC0xMSAwLTIxLTQuNS0yOC4zLTExLjdDNjkzLjUgMjM3IDY4OSAyMjcgNjg5IDIxNnYtODB6bS00MzMgMGMwLTIyLjEgMTcuOS00MCA0MC00MHM0MCAxNy45IDQwIDQwdjgwYzAgMjIuMS0xNy45IDQwLTQwIDQwLTExIDAtMjEtNC41LTI4LjMtMTEuN0MyNjAuNSAyMzcgMjU2IDIyNyAyNTYgMjE2di04MHptNzA0IDc2MGMwIDE3LjctMTQuMyAzMi0zMiAzMkg5NmMtMTcuNyAwLTMyLTE0LjMtMzItMzJWNDQ4aDg5NnY0NDh6IiBmaWxsPSIjNTE1MTUxIi8+PC9zdmc+");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{border-color:#e8e8e8;border-radius:4px;height:36px;line-height:34px}.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-end-date,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-start-date{width:210px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-end-date .tui-full-calendar-content,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-start-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-allday,.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-state{display:none}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .priority{border-radius:4px;color:#fff;margin-right:6px;padding:2px 4px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .overdue{background:#fff1f0;border:1px solid #ffa39e;border-radius:4px;color:#f5222d;margin-right:6px;padding:1px 3px}.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{background-image:url("data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTgzMy40MjkgNjJIMTkwLjU3QTEyOC41NzEgMTI4LjU3MSAwIDAgMCA2MiAxOTAuNTcxVjgzMy40M0ExMjguNTcxIDEyOC41NzEgMCAwIDAgMTkwLjU3MSA5NjJIODMzLjQzQTEyOC41NzEgMTI4LjU3MSAwIDAgMCA5NjIgODMzLjQyOVYxOTAuNTdBMTI4LjU3MSAxMjguNTcxIDAgMCAwIDgzMy40MjkgNjJ6bTY0LjI4NSA3NzEuNDI5YTY0LjI4NiA2NC4yODYgMCAwIDEtNjQuMjg1IDY0LjI4NUgxOTAuNTdhNjQuMjg2IDY0LjI4NiAwIDAgMS02NC4yODUtNjQuMjg1VjE5MC41N2E2NC4yODYgNjQuMjg2IDAgMCAxIDY0LjI4NS02NC4yODVIODMzLjQzYTY0LjI4NiA2NC4yODYgMCAwIDEgNjQuMjg1IDY0LjI4NXoiIGZpbGw9IiM1MTUxNTEiLz48cGF0aCBkPSJNMTkwLjU3MSAyNTQuODU3aDY0LjI4NnY2NC4yODZoLTY0LjI4NnptMTI4LjU3MiAwaDQ1MHY2NC4yODZoLTQ1MHpNMTkwLjU3IDQ0Ny43MTRoNjQuMjg2VjUxMmgtNjQuMjg2em0xMjguNTcyIDBoNDUwVjUxMmgtNDUwek0xOTAuNTcgNjQwLjU3MWg2NC4yODZ2NjQuMjg2aC02NC4yODZ6bTEyOC41NzIgMEg2NDAuNTd2NjQuMjg2SDMxOS4xNDN6IiBmaWxsPSIjNTE1MTUxIi8+PC9zdmc+");top:-2px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .tui-full-calendar-ic-delete{background-image:url("data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTg5Mi4yODggMjU2SDcwMS4xMkEyMDIuMjQgMjAyLjI0IDAgMCAwIDUwOS42MzIgNjIuMDggMjAxLjIxNiAyMDEuMjE2IDAgMCAwIDMxOC44NDggMjU2SDEyOGMtMTguNjg4IDAtNjYuMDQ4LTQuMjI0LTY2LjA0OCAyNC43NjhDNjEuOTUyIDMyNy43NDQgMTA5LjM3NiAzMjAgMTI4IDMyMGg2NHY1MTJhMTQ2LjQ5NiAxNDYuNDk2IDAgMCAwIDEyNy40MjQgMTI4aDM4Mi4yNzJBMTUwLjAxNiAxNTAuMDE2IDAgMCAwIDgzMiA4MzJsLTMuMzkyLTUxMmg2NGMxOC4zNjggMCA2NS4wMjQgMS40NzIgNjUuMDI0LTM5Ljc0NEE3Mi4zODQgNzIuMzg0IDAgMCAwIDg5Mi4yODggMjU2ek01MDkuNjMyIDEyOC41MTJBMTM4LjE3NiAxMzguMTc2IDAgMCAxIDYzNy40NCAyNTZIMzgyLjU5MmExMzcuOTIgMTM3LjkyIDAgMCAxIDEyNy4wNC0xMjcuNDg4ek03NjggODMyYTk3Ljk4NCA5Ny45ODQgMCAwIDEtNjYuODggNjRIMzE4Ljg0OGE5My41NjggOTMuNTY4IDAgMCAxLTY0LTY0VjMyMEg3Njh2NTEyem0tMzg1LjQwOC02NFY1MTJjMC0xOC40OTYuOTYtNjAuOTkyIDM2LjczNi02MC45OTIgMjcuMzI4IDAgMjYuNDk2IDQzLjAwOCAyNi45NDQgNjAuOTkydjI1NmMwIDE4LjQ5Ni02LjQgMjAuMDMyLTI0Ljk2IDIwLjAzMnMtMzguNzItMS41MzYtMzguNzItMjAuMDMyem0xOTEuMTY4IDBWNTEyYTY0IDY0IDAgMCAxIDIzLjgwOC02MC45OTJjNDIuNDMyIDAgMzkuMzYgNDMuMDA4IDM5Ljg3MiA2MC45OTJ2MjU2YzAgMTguNDk2LTE5LjU4NCAyMC4wMzItMzcuOTUyIDIwLjAzMnMtMjUuNzkyLTEuNTM2LTI1Ljc5Mi0yMC4wMzJ6IiBmaWxsPSIjNTE1MTUxIi8+PC9zdmc+");top:-2px}.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 td,.page-calendar .calendar-box .calendar-wrapper .tui-datepicker .tui-calendar th{height:32px}.page-calendar .calendar-box .calendar-wrapper .tui-datepicker .tui-calendar .tui-calendar-next-month.tui-calendar-date,.page-calendar .calendar-box .calendar-wrapper .tui-datepicker .tui-calendar .tui-calendar-prev-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{opacity:0;position:absolute;right:2px;top:2px;z-index:-1}@media (max-width:768px){.page-calendar .calendar-head .calendar-titbox .calendar-title{flex:1}.page-calendar .calendar-head .calendar-titbox .calendar-arrow{margin-left:12px;margin-right:0}.page-calendar .calendar-head .calendar-titbox .calendar-view{display:none}.page-calendar .calendar-box{padding:0 24px 5px}}.page-dashboard{background-color:#fff;height:100%;justify-content:center}.page-dashboard,.page-dashboard .dashboard-wrapper{align-items:center;display:flex;flex-direction:column;width:100%}.page-dashboard .dashboard-wrapper{height:auto;max-height:100%}.page-dashboard .dashboard-wrapper .dashboard-block,.page-dashboard .dashboard-wrapper .dashboard-desc,.page-dashboard .dashboard-wrapper .dashboard-hello,.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-title,.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul{margin:0 auto;max-width:80%;width:660px}.page-dashboard .dashboard-wrapper .dashboard-hello{word-wrap:break-word;color:#333;font-size:24px;font-weight:600;padding:6% 12px 0}.page-dashboard .dashboard-wrapper .dashboard-desc{color:#888;font-size:13px;margin-top:18px;padding:0 12px}.page-dashboard .dashboard-wrapper .dashboard-block{display:flex;margin-top:18px;padding:0 12px}.page-dashboard .dashboard-wrapper .dashboard-block>li{background-color:#fa8e8c;border-radius:8px;cursor:pointer;display:flex;flex:1;flex-direction:column;flex-shrink:0;justify-content:center;list-style:none;margin-right:24px;padding:16px 24px;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{box-shadow:0 2px 10px 0 #fa8e8c;transform:translateY(-3px)}.page-dashboard .dashboard-wrapper .dashboard-block>li:hover:first-child{box-shadow:0 2px 10px 0 #6f9ef6}.page-dashboard .dashboard-wrapper .dashboard-block>li:hover:last-child{box-shadow:0 2px 10px 0 #98de6e}.page-dashboard .dashboard-wrapper .dashboard-block>li .block-title{color:hsla(0,0%,100%,.6);font-size:12px}.page-dashboard .dashboard-wrapper .dashboard-block>li .block-data{align-items:center;display:flex;line-height:1;padding-top:10px}.page-dashboard .dashboard-wrapper .dashboard-block>li .block-data .block-num{color:#fff;flex:1;font-size:32px;font-weight:600}.page-dashboard .dashboard-wrapper .dashboard-block>li .block-data .taskfont{color:hsla(0,0%,100%,.7);font-size:20px}.page-dashboard .dashboard-wrapper .dashboard-list{margin-top:48px;overflow:auto;padding-bottom:6%;width:100%}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ref{height:0}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-title{background-color:#fff;font-size:15px;font-weight:600;height:46px;line-height:46px;margin:0 auto;padding:0 12px;position:-webkit-sticky;position:sticky;top:0;z-index:1}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul{margin:0 auto 18px;overflow:hidden;padding:0 12px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li{background:#f9fafb;border-radius:6px;cursor:pointer;display:flex;list-style:none;margin-bottom:8px;padding:12px;position:relative;transition:transform .3s ease-out 0s,box-shadow .3s ease-out 0s}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li:hover{box-shadow:0 0 6px #dfdfdf;transform:translateX(-2px)}.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{height:12px;left:0;position:absolute;top:50%;transform:translateY(-50%);width:2px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .el-dropdown{flex-shrink:0;height:22px;line-height:22px;width:22px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .el-dropdown .taskfont{color:#bbb;font-size:18px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title{flex:1;line-height:22px;overflow:hidden;padding-left:6px;text-overflow:ellipsis;white-space:nowrap}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span{border:1px solid #8bcf70;border-radius:3px;color:#8bcf70;display:inline-block;font-size:12px;height:18px;line-height:16px;margin-right:3px;margin-top:3px;min-width:20px;padding:0 2px;text-align:center;vertical-align:top}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-icon{align-items:center;color:#aaa;cursor:pointer;display:flex;font-size:13px;height:22px;margin-left:16px}.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{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}.page-dashboard .nopage .nopage-icon{background-color:#f4f5f7;border-radius:50%;padding:20px}.page-dashboard .nopage .nopage-icon .ivu-icon{color:#d1d8dd;font-size:46px}.page-dashboard .nopage .nopage-text{background-color:#f4f5f7;border-radius:14px;color:#bec6cc;margin-top:16px;padding:4px 15px}@media (max-width:768px){.page-dashboard .dashboard-wrapper{display:block;max-height:86%}.page-dashboard .dashboard-wrapper .dashboard-block,.page-dashboard .dashboard-wrapper .dashboard-desc,.page-dashboard .dashboard-wrapper .dashboard-hello,.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-title,.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul{max-width:86%}.page-dashboard .dashboard-wrapper .dashboard-block{display:block;margin-top:10px}.page-dashboard .dashboard-wrapper .dashboard-block>li{margin:0 0 10px;padding:8px 12px}.page-dashboard .dashboard-wrapper .dashboard-list{overflow:visible!important;padding-bottom:2px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul{margin-bottom:36px}}.page-file{display:flex;flex-direction:column;height:100%;width:100%}.page-file .file-wrapper{display:flex;flex:1;flex-direction:column;height:0;position:relative}.page-file .file-wrapper .file-head{align-items:center;border-bottom:1px solid #f4f4f5;display:flex;margin:32px 32px 16px;padding-bottom:16px}.page-file .file-wrapper .file-head .file-nav{align-items:center;display:flex;flex:1}.page-file .file-wrapper .file-head .file-nav>h1{color:#333;font-size:28px;font-weight:600}.page-file .file-wrapper .file-head .file-nav .file-refresh{cursor:pointer;display:none;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{align-items:center;cursor:pointer;display:flex;flex-shrink:0;margin-left:22px}.page-file .file-wrapper .file-head .file-status>button{background:#8bcf70;border-color:#8bcf70;color:#fff}.page-file .file-wrapper .file-head .file-search{cursor:pointer;flex-shrink:0;margin-left:22px}.page-file .file-wrapper .file-head .file-search .ivu-input-wrapper{transform:translateZ(0);width:auto}.page-file .file-wrapper .file-head .file-search .ivu-input-wrapper .ivu-input{border-color:#dcdee2;border-radius:16px;padding-left:0;padding-right:30px;transition:all .3s;width:0}.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{padding-left:14px;width:160px}.page-file .file-wrapper .file-head .file-add{cursor:pointer;flex-shrink:0;margin-left:18px}.page-file .file-wrapper .file-head .file-add .taskfont{font-size:18px}.page-file .file-wrapper .file-navigator{align-items:center;display:flex;height:24px;line-height:24px;margin:0 32px}.page-file .file-wrapper .file-navigator>ul{align-items:center;display:flex;overflow:auto}.page-file .file-wrapper .file-navigator>ul>li{align-items:center;color:#8bcf70;cursor:pointer;display:flex;font-size:14px;list-style:none;padding-left:8px}.page-file .file-wrapper .file-navigator>ul>li:last-child{color:#606266;cursor:default}.page-file .file-wrapper .file-navigator>ul>li+li:before{color:#606266;content:"›";font-family:system-ui,sans-serif;font-size:16px;font-weight:500;line-height:1;margin-top:-2px;padding-right:8px}.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;text-overflow:ellipsis;white-space:nowrap}.page-file .file-wrapper .file-navigator>ul>li>span.readonly{background:#f7f7f7;border:1px solid #e8eaec;border-radius:2px;color:#606266;font-size:12px;line-height:20px;padding:0 5px;transform:scale(.8);transform-origin:right center}.page-file .file-wrapper .file-navigator .nav-load{align-items:center;display:flex;height:24px;justify-content:center;margin-left:8px;width:24px}.page-file .file-wrapper .file-navigator .nav-load .common-loading{height:12px;width: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{align-items:center;display:flex}.page-file .file-wrapper .file-navigator .file-shear>span{padding-right:3px}.page-file .file-wrapper .file-navigator .file-shear>em{display:inline-block;font-style:normal;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-file .file-wrapper .file-navigator .flex-full{flex:1}.page-file .file-wrapper .file-navigator .switch-button{align-items:center;background-color:#fff;border-radius:6px;display:flex;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{background-color:rgba(139,207,112,.1);border:1px solid #8bcf70;border-radius:6px;color:#8bcf70;content:"";height:100%;left:0;position:absolute;top:0;transition:left .2s;width:50%;z-index:0}.page-file .file-wrapper .file-navigator .switch-button>div{align-items:center;border-radius:6px;color:#606266;cursor:pointer;display:flex;height:30px;justify-content:center;width:32px;z-index:1}.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:#8bcf70}.page-file .file-wrapper .file-navigator .switch-button.block:before{left:50%}.page-file .file-wrapper .file-navigator .switch-button.block>div:first-child{color:#606266}.page-file .file-wrapper .file-navigator .switch-button.block>div:last-child{color:#8bcf70}.page-file .file-wrapper .file-drag{display:flex;flex:1;flex-direction:column;height:0;position:relative}.page-file .file-wrapper .file-drag .file-no{align-items:center;display:flex;flex:1;flex-direction:column;justify-content:center;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{font-size:14px;font-weight:500;line-height:1;margin-top:18px}.page-file .file-wrapper .file-drag .file-table{cursor:default;flex:1;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{-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:.2px;content:"\e60b";display:block;font-family:taskfont,"serif"!important;font-size:64px;font-style:normal}.page-file .file-wrapper .file-drag .file-table .file-nbox{align-items:center;display:flex;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{align-items:center;display:flex;flex:1;margin-right:46px;position:relative;width:0}.page-file .file-wrapper .file-drag .file-table .file-nbox .file-name:before{content:"";flex-shrink:0;height:22px;margin-right:8px;width:22px}.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;margin-top:16px;overflow:auto;padding:0 20px 20px}.page-file .file-wrapper .file-drag .file-list>ul{margin-top:-12px}.page-file .file-wrapper .file-drag .file-list>ul>li{align-items:center;border-radius:5px;cursor:pointer;display:flex;flex-direction:column;float:left;height:110px;justify-content:space-between;list-style:none;margin:12px;position:relative;width:100px}.page-file .file-wrapper .file-drag .file-list>ul>li .file-input{margin:0 4px 4px;position:relative}.page-file .file-wrapper .file-drag .file-list>ul>li .file-input input{font-size:13px;margin:0;padding:1px 5px}.page-file .file-wrapper .file-drag .file-list>ul>li .file-input .file-load{bottom:0;display:flex;position:absolute;right:6px;top:0}.page-file .file-wrapper .file-drag .file-list>ul>li .file-input .file-load .common-loading{height:10px;width:10px}.page-file .file-wrapper .file-drag .file-list>ul>li .file-name{color:#606266;display:block;font-size:12px;height:20px;line-height:20px;margin-bottom:5px;overflow:hidden;padding:0 6px;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}.page-file .file-wrapper .file-drag .file-list>ul>li .file-check{left:4px;opacity:0;position:absolute;top:1px;transition:opacity .2s}.page-file .file-wrapper .file-drag .file-list>ul>li .file-check.file-checked{opacity:1}.page-file .file-wrapper .file-drag .file-list>ul>li .file-menu{display:flex;opacity:0;position:absolute;right:2px;top:2px;transition:opacity .2s}.page-file .file-wrapper .file-drag .file-list>ul>li .file-menu .ivu-icon{color:#aaa;font-size:16px;padding:2px 5px;transition:color .2s}.page-file .file-wrapper .file-drag .file-list>ul>li .file-menu .ivu-icon:hover{color:#606266}.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon{display:inline-block;height:64px;margin-top:12px;position:relative;width:64px}.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon:before{bottom:0;left:0;position:absolute;right:0;top:0}.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon .share-avatar,.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon .share-icon{align-items:center;background-color:#9acd7b;border-radius:50%;bottom:0;display:flex;height:20px;justify-content:center;position:absolute;right:0;transform:scale(.9);width:20px}.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon .share-avatar .taskfont,.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon .share-icon .taskfont{color:#fff;font-size:18px}.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon .avatar-char{font-size:18px}.page-file .file-wrapper .file-drag .file-list>ul>li.shear{opacity:.38}.page-file .file-wrapper .file-drag .file-list>ul>li.highlight,.page-file .file-wrapper .file-drag .file-list>ul>li:hover{background-color:#f4f5f7}.page-file .file-wrapper .file-drag .file-list>ul>li:hover .file-check,.page-file .file-wrapper .file-drag .file-list>ul>li:hover .file-menu{opacity:1}.page-file .file-wrapper .file-drag .drag-over{align-items:center;background-color:hsla(0,0%,100%,.78);bottom:0;display:flex;justify-content:center;left:0;margin:16px 32px 32px;position:absolute;right:0;top:0;z-index:3}.page-file .file-wrapper .file-drag .drag-over:before{border:2px dashed #7b7b7b;border-radius:12px;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.page-file .file-wrapper .file-drag .drag-over .drag-text{color:#666;font-size:18px;padding:12px}.page-file .file-wrapper .file-menu{position:absolute}.page-file .file-upload-list{background-color:#fff;border:1px solid #ebeef5;border-radius:8px;bottom:16px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);display:flex;overflow:hidden;padding:14px 26px;position:fixed;right:16px;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;width:380px}.page-file .file-upload-list .upload-wrap{flex:1;width:100%}.page-file .file-upload-list .upload-wrap .title{color:#303133;font-size:16px;font-weight:700;margin:0}.page-file .file-upload-list .upload-wrap .title>em{color:#2b85e4;cursor:pointer;font-size:12px;font-style:normal;font-weight:400;padding-left:4px}.page-file .file-upload-list .upload-wrap .content{color:#606266;font-size:14px;line-height:21px;margin:12px 0 0;max-height:500px;max-width:100%;overflow: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{color:red;font-size:12px}.page-file .file-upload-list .upload-wrap .content>li .file-close{cursor:pointer;display:none;font-size:14px;position:absolute;right:-1px;top:7px}.page-file .file-upload-list .upload-wrap .content>li:hover .file-close{display:block}.page-file .file-upload-list .upload-wrap .close{color:#909399;cursor:pointer;font-size:16px;position:absolute;right:15px;top:18px}.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{align-items:center;display:flex;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{align-items:center;display:flex;position:relative}.page-file-dropdown-menu .file-item:before{content:"";flex-shrink:0;height:20px;margin-right:8px;width:20px}.page-file-share-form{display:flex;margin-bottom:12px}.page-file-share-form .share-userid{flex:1}.page-file-share-form>div{flex-shrink:0}.page-file-share-form>div:last-child{margin-right:0}.page-file-share-title{margin-bottom:14px;margin-top:-8px;padding:0 2px}.page-file-share-list{margin-bottom:26px;max-height:500px}.page-file-share-list>li{align-items:center;display:flex;margin-bottom:12px}.page-file-share-list>li .common-avatar{flex:1}.page-file-share-list>li .all-avatar{align-items:center;display:flex;flex:1}.page-file-share-list>li .all-avatar .avatar-text{height:32px;line-height:32px;width:32px}.page-file-share-list>li .all-avatar .avatar-name{overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.page-file-share-list>li .ivu-select{flex-shrink:0;width:auto}.page-file-share-list>li .delete{color:red}.page-file-drawer .overlay-content{border-radius:20px 20px 0 0!important}@media (max-width:768px){.page-file .file-wrapper .file-head{margin:24px 24px 16px}.page-file .file-wrapper .file-navigator{margin:0 24px}.page-file .file-wrapper .file-drag .file-table{margin:16px 24px 24px}}.page-login{align-items:center;background-color:#f3f6fe;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.page-login .login-body{align-items:center;display:flex;flex-direction:column;max-height:100%;overflow:auto;padding:32px 0;width:100%}.page-login .login-body .login-logo{background:url(../images/logo.svg) no-repeat 50%;background-size:contain;flex-shrink:0;height:68px;width:68px}.page-login .login-body .login-logo.can-click{cursor:pointer}.page-login .login-body .login-box{background-color:#fff;border-radius:12px;box-shadow:0 0 10px #e6ecfa;margin-top:32px;width:400px}.page-login .login-body .login-box .login-title{font-size:24px;font-weight:600;margin-top:36px;text-align:center}.page-login .login-body .login-box .login-subtitle{color:#aaa;font-size:14px;margin-top:12px;padding:0 12px;text-align:center}.page-login .login-body .login-box .login-input{margin:32px 40px}.page-login .login-body .login-box .login-input>*{margin-top:26px}.page-login .login-body .login-box .login-input .ivu-input{border-color:#f1f1f1}.page-login .login-body .login-box .login-input .ivu-input[readonly=readonly]{background-color:#f5f5f5}.page-login .login-body .login-box .login-input .ivu-input-large{font-size:15px}.page-login .login-body .login-box .login-input .login-code .ivu-input-group-append,.page-login .login-body .login-box .login-input .login-code .ivu-input-group-prepend{background:transparent;border-color:#f1f1f1;font-size:14px}.page-login .login-body .login-box .login-input .login-code .ivu-input{border-left-color:transparent}.page-login .login-body .login-box .login-input .login-code .login-code-end{cursor:pointer;height:38px;margin:-6px -7px;overflow:hidden}.page-login .login-body .login-box .login-input .login-code .login-code-end img{height:100%}.page-login .login-body .login-box .login-input .login-switch{color:#aaa}.page-login .login-body .login-box .login-input .login-input-tips-box{position:relative}.page-login .login-body .login-box .login-input .login-input-tips-box .login-input-tips{bottom:-20px;color:#c7c7c7;font-size:12px;left:0;position:absolute}.page-login .login-body .login-box .login-input>.ivu-poptip,.page-login .login-body .login-box .login-input>.ivu-poptip>.ivu-poptip-rel{width:100%}.page-login .login-body .login-bottom{align-items:center;display:flex;margin-top:18px;width:388px}.page-login .login-body .login-bottom .login-setting{align-items:center;color:#666;cursor:pointer;display:flex;flex-shrink:0}.page-login .login-body .login-bottom .login-setting .taskfont{font-size:12px;margin-left:3px;margin-top:1px;transform:scale(.8)}.page-login .login-body .login-bottom .login-setting-menu{display:flex;flex-direction:column}.page-login .login-body .login-bottom .login-setting-item{align-items:center;display:flex;justify-content:space-between}.page-login .login-body .login-bottom .login-setting-item .ivu-icon{color:#666;margin-right:-6px;padding-left:6px}.page-login .login-body .login-bottom .login-forgot{color:#aaa;flex:1;padding-left:24px;text-align:right}.page-manage{bottom:0;display:flex;left:0;position:absolute;right:0;top:0}.page-manage .manage-box-menu{align-items:center;background:#f4f5f7;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;height:100%;position:relative;transition:all .2s;width:255px}.page-manage .manage-box-menu .manage-box-dropdown{flex-shrink:0;width:86%}.page-manage .manage-box-menu .manage-box-dropdown .ivu-select-dropdown{padding:7px 0}.page-manage .manage-box-menu .manage-box-dropdown .ivu-select-dropdown .ivu-dropdown-item{padding:9px 16px}.page-manage .manage-box-menu .manage-box-dropdown .ivu-select-dropdown .ivu-dropdown-item-divided{margin-top:7px}.page-manage .manage-box-menu .manage-box-dropdown .ivu-select-dropdown .ivu-dropdown-item-divided:before{top:-9px}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title{align-items:center;background-color:#fff;border-radius:8px;cursor:pointer;display:flex;flex-shrink:0;margin-top:27px;padding:6px 10px;transition:box-shadow .3s}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title.menu-visible{box-shadow:0 1px 6px rgba(0,0,0,.2)}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title .manage-box-avatar{height:36px;width:36px}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title>span{flex:1;font-size:16px;font-weight:600;overflow:hidden;padding-left:12px;text-overflow:ellipsis;white-space:nowrap}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title .manage-box-arrow{align-items:center;display:flex;flex-direction:column;justify-content:center;padding-left:16px;padding-right:2px}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title .manage-box-arrow>i{font-size:12px;margin:-1px}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title .manage-box-top-report{align-items:center;flex:0 0 auto;flex-direction:column;justify-content:center;margin-right:-6px;overflow:unset}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title .manage-box-top-report>i{font-size:12px;margin:-1px}.page-manage .manage-box-menu .manage-box-dropdown .manage-menu-report-badge{margin-left:6px;transform:scale(.9);vertical-align:top}.page-manage .manage-box-menu .manage-box-dropdown .manage-menu-flex{align-items:center;display:flex;justify-content:space-between}.page-manage .manage-box-menu .manage-box-dropdown .manage-menu-flex .ivu-icon{color:#666}.page-manage .manage-box-menu .manage-box-dropdown .task-title{overflow:hidden;text-overflow:ellipsis}.page-manage .manage-box-menu>ul{display:flex;flex:1;flex-direction:column;margin-top:16px;overflow:hidden!important;width:100%}.page-manage .manage-box-menu>ul>li{align-items:center;border-radius:4px;color:#6b6e72;cursor:pointer;display:flex;flex-shrink:0;height:36px;margin:5px auto;max-width:100%;padding:0 4%;position:relative;width:80%}.page-manage .manage-box-menu>ul>li>i{font-size:20px;margin-right:10px;opacity:.3}.page-manage .manage-box-menu>ul>li .menu-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-manage .manage-box-menu>ul>li .menu-badge{margin-left:12px;transform:scale(.9)}.page-manage .manage-box-menu>ul>li:first-child{margin-top:12px}.page-manage .manage-box-menu>ul>li.active{background-color:#fff}.page-manage .manage-box-menu>ul>li.menu-project{align-items:center;cursor:default;display:flex;flex:1;flex-direction:column;padding:12px 0 0;width:100%}.page-manage .manage-box-menu>ul>li.menu-project>ul{overflow:auto;width:100%}.page-manage .manage-box-menu>ul>li.menu-project>ul>li{border:2px solid transparent;cursor:pointer;display:flex;flex-direction:column;list-style:none;margin:2px auto;width:80%}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h1{align-items:center;border-radius:4px;display:flex;justify-content:space-between;padding:0 8px 0 28px;position:relative}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h1>em{align-items:center;cursor:pointer;display:flex;height:24px;justify-content:center;left:2px;position:absolute;top:50%;transform:translateY(-50%);width:24px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h1>em:before{background:url("data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiPjxwYXRoIGQ9Im0zNjYuMTgyIDEwOC4yMzcgNDQ1Ljg1IDMxOS43OTVhMTAyLjQgMTAyLjQgMCAwIDEgMCAxNjYuNTAyTDM2Ni4xODIgOTE0LjMzYTEwMi40IDEwMi40IDAgMCAxLTE2Mi4wOTktODMuMjUydi02MzkuNTlhMTAyLjQgMTAyLjQgMCAwIDEgMTYyLjEtODMuMjUxeiIgZmlsbD0iIzk5OSIvPjwvc3ZnPg==") no-repeat 50%;background-size:contain;content:"";height:12px;transition:transform .2s;width:12px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h1 .title{color:#333;flex:1;height:38px;line-height:38px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h1 .icon-top{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjQgMjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPjA8cGF0aCBkPSJtMjAuNyA4LjEtNC40LTQuNGMtMS4yLTEuMi0yLjUtMS40LTMuNC0uNy0uNS40LS43LjktLjggMS40LS4xLjUtLjQgMS0uOCAxLjNsLS4xLjFDOS4yIDcuMyA2LjkgOC42IDQuNCA5Yy0uNS4yLTEuMS41LTEuNCAxLS42LjktLjQgMi4xLjMgMi45bDMuNCAzLjQtMy4xIDMuMWMtLjMuMy0uMy44IDAgMS4xLjEuMS4zLjIuNS4ycy40LS4xLjUtLjJsMy4xLTMuMSAyLjkgMi45YzEuMyAxLjMgMi41IDEuNSAzLjQuOS40LS4zLjctLjcuOS0xLjIuNi0yLjMgMS40LTQuNiAyLjgtNi41bC41LS43Yy4zLS40LjgtLjggMS4zLS44LjUtLjEgMS4xLS4zIDEuNC0uOC44LTEgLjYtMi4zLS4yLTMuMXoiIHN0eWxlPSJmaWxsOiM4YmNmNzAiLz48L3N2Zz4=") no-repeat 50%;background-size:contain;height:14px;padding-left:8px;width:14px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h1 .num{font-size:12px;padding-left:8px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h2{cursor:default;display:none;margin:16px 4px;padding:0 8px 0 24px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h2>p{align-items:center;display:flex;height:36px;padding:4px 0}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h2>p em,.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h2>p span{flex-shrink:0;font-size:12px;font-style:normal;padding-right:6px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h2>p .ivu-progress{margin-right:-18px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h2>p .ivu-progress .ivu-progress-inner{background-color:#e4e4e4}.page-manage .manage-box-menu>ul>li.menu-project>ul>li.top .project-h1{background-color:#eeeff1}.page-manage .manage-box-menu>ul>li.menu-project>ul>li.active .project-h1{background-color:#fff}.page-manage .manage-box-menu>ul>li.menu-project>ul>li.open-menu .project-h1>em:before{transform:rotate(90deg)}.page-manage .manage-box-menu>ul>li.menu-project>ul>li.open-menu .project-h2{display:block}.page-manage .manage-box-menu>ul>li.menu-project>ul>li.operate{border-color:#8bcf70}.page-manage .manage-box-menu>ul>li.menu-project .common-loading{height:22px;margin:6px;width:22px}.page-manage .manage-box-menu>ul>li.menu-project .top-operate{display:flex;opacity:0;position:absolute;right:0;top:0}.page-manage .manage-box-menu .manage-project-search{background-color:#fff;border-radius:12px;margin:8px 0 -2px;overflow:hidden;padding:0 3px;width:80%}.page-manage .manage-box-menu .manage-project-search .ivu-input{background-color:transparent;border-color:transparent;padding-left:30px}.page-manage .manage-box-menu .manage-project-search .ivu-input:focus,.page-manage .manage-box-menu .manage-project-search .ivu-input:hover{box-shadow:none}.page-manage .manage-box-menu .manage-project-search.loading .ivu-icon-ios-search{-webkit-animation:icon-loading-load .6s linear infinite;animation:icon-loading-load .6s linear infinite}.page-manage .manage-box-menu .manage-project-search.loading .ivu-icon-ios-search:before{content:"\f45b"}.page-manage .manage-box-menu .manage-box-new-group{align-items:center;display:flex;margin-bottom:20px;margin-top:16px;width:80%}.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{border-radius:0 4px 4px 0;min-width:auto!important;padding:0 4px}.page-manage .manage-box-main{flex:1;position:relative}.page-manage .manage-box-main .manage-box-view{bottom:0;left:0;overflow:auto;position:absolute;right:0;top:0}.page-manage .manage-mini-menu{display:none;position:relative}.page-manage .manage-mini-menu .ivu-badge{left:30px;position:absolute;top:-6px;transform:scale(.9)}.page-manage-task-modal{display:flex;flex-direction:column}.page-manage-add-task-button-group{margin-left:8px!important}.page-manage-add-task-button-group .ivu-dropdown .ivu-btn{border-radius:0 4px 4px 0;min-width:auto!important;padding:0 4px}@media (max-height:640px){.page-manage .manage-box-menu>ul{overflow:auto!important}.page-manage .manage-box-menu>ul.overlay-y{overflow-y:overlay!important}.page-manage .manage-box-menu>ul>li.menu-project>ul{overflow:visible!important}.page-manage .manage-box-menu .manage-project-search{margin-top:12px}}@media (max-width:768px){.page-manage .manage-box-menu{bottom:0;left:0;position:fixed;top:0;transform:translateX(-120%);width:100%;z-index:49}.page-manage .manage-box-menu.show768-menu{transform:translateX(0)}.page-manage .manage-mini-menu{align-items:center;background-color:#fff;border-radius:4px;box-shadow:0 0 50px rgba(0,0,0,.3);cursor:pointer;display:flex;font-size:22px;height:42px;justify-content:center;white-space:nowrap;width:46px}}.page-messenger{display:flex}.page-messenger .messenger-wrapper{align-items:flex-start;display:flex;flex:1}.page-messenger .messenger-wrapper .messenger-select{display:flex;flex-direction:column;flex-shrink:0;height:100%;max-width:320px;min-width:240px;position:relative;width:30%}.page-messenger .messenger-wrapper .messenger-select:after{background-color:#f4f5f5;content:"";height:100%;position:absolute;right:0;top:0;width:1px}.page-messenger .messenger-wrapper .messenger-select .messenger-search{align-items:center;display:flex;flex-shrink:0;height:54px;justify-content:center;padding:0 12px}.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper{background-color:#f7f7f7;border-radius:12px;flex:1;margin:0 4px;overflow:hidden;padding:0 8px}.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper .ivu-input{background-color:transparent;border-color:transparent}.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper .ivu-input:focus,.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper .ivu-input:hover{box-shadow:none}.page-messenger .messenger-wrapper .messenger-select .messenger-nav{align-items:center;display:flex;justify-content:space-evenly;padding:2px 0 12px}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>p{color:#888;cursor:pointer;line-height:1;padding:0 6px;position:relative}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>p .nav-num{position:absolute;right:-8px;top:-12px;transform:scale(.7)}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>p.active{color:#555;font-weight:500}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>p:hover{color:#777}.page-messenger .messenger-wrapper .messenger-select .messenger-list{flex:1;height:0;overflow-x:hidden;overflow-y:auto;width:100%}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li{align-items:flex-start;border:2px solid transparent;cursor:pointer;display:flex;flex-direction:row;list-style:none;margin-right:1px;padding:14px 10px;position:relative}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .icon-avatar,.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .user-avatar{flex-grow:0;flex-shrink:0;height:42px;margin:2px;width:42px}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .icon-avatar{align-items:center;background-color:#61b2f9;border-radius:50%;color:#fff;display:flex;font-size:26px;justify-content:center}.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 .icon-avatar.completed:after{bottom:0;color:#19be6b;content:"\f373";font-family:Ionicons,serif;font-size:28px;opacity:.2;pointer-events:none;position:absolute;right:12px;z-index:1}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .dialog-box{display:flex;flex:1;flex-direction:column;padding-left:12px;width:0}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .dialog-box .dialog-title{align-items:center;display:flex;flex-direction:row;justify-content:space-between;line-height:24px}.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{color:#333;flex:1;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .dialog-box .dialog-title>i{color:#8bcf70;flex-shrink:0;font-size:12px;margin-left:8px;transform:scale(.9)}.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{color:#999;flex-shrink:0;font-size:12px;font-style:normal;margin-left:8px}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .dialog-box .dialog-text{color:#999;font-size:12px;line-height:24px;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .dialog-num{left:42px;position:absolute;top:10px;transform:scale(.8)}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li.top{background-color:#eeeff1}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li.active{background-color:#f4f5f7}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li.operate{border-color:#8bcf70}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li.loading{align-items:center;display:flex;height:52px;justify-content:center;margin:0}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li.loading .common-loading{height:20px;margin:0;width:20px}.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{border-bottom:1px solid #efefef;height:34px;line-height:34px;margin-bottom:6px;margin-top:6px;padding-left:4px}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li.loaded,.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li.loading{align-items:center;display:flex;height:52px;justify-content:center;margin:0}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li.loaded .common-loading,.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li.loading .common-loading{height:20px;margin:0;width:20px}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li>ul>li{align-items:center;cursor:pointer;display:flex;flex-direction:row;height:52px;list-style:none}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li>ul>li .avatar{flex-grow:0;flex-shrink:0;height:30px;width:30px}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li>ul>li .nickname{font-size:14px;overflow:hidden;padding:0 12px;text-overflow:ellipsis;white-space:nowrap}.page-messenger .messenger-wrapper .messenger-select .messenger-list .top-operate{display:flex;opacity:0;position:absolute;right:0;top:0}.page-messenger .messenger-wrapper .messenger-select .messenger-menu{align-items:center;border-top:1px solid #f4f5f5;display:flex;flex-shrink:0;height:52px;justify-content:center}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon{align-items:center;display:flex;height:100%;position:relative}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon .menu-num{left:50%;margin-left:3px;position:absolute;top:4px;transform:scale(.8)}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon>i{color:#aaa;cursor:pointer;font-size:24px;margin:0 24px;opacity:.9}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon>i.active{color:#8bcf70;opacity:1}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon>i:hover{opacity:1}.page-messenger .messenger-wrapper .messenger-msg{display:flex;flex:1;height:100%;position:relative;width:0}.page-messenger .messenger-wrapper .messenger-msg .dialog-wrapper .dialog-footer .dialog-back{display:none}.page-messenger .messenger-wrapper .messenger-msg .msg-dialog-bg{align-items:center;bottom:0;display:flex;flex:1;flex-direction:column;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:0}.page-messenger .messenger-wrapper .messenger-msg .msg-dialog-bg .msg-dialog-bg-icon{background-color:#f4f5f7;border-radius:50%;padding:20px}.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{background-color:#f4f5f7;border-radius:14px;color:#bec6cc;margin-top:16px;padding:4px 15px}@media (max-width:768px){.page-messenger .messenger-wrapper .messenger-select{background-color:#fff;height:100%;left:0;max-width:none;position:fixed;top:0;transform:translateX(-120%);transition:all .2s;width:100%;z-index:48}.page-messenger .messenger-wrapper .messenger-select.show768-menu{transform:translateX(0)}.page-messenger .messenger-wrapper .messenger-msg .dialog-wrapper .dialog-nav{height:54px;justify-content:center}.page-messenger .messenger-wrapper .messenger-msg .dialog-wrapper .dialog-nav .dialog-title{flex:0;width:auto}.page-messenger .messenger-wrapper .messenger-msg .dialog-wrapper .dialog-footer{position:relative}.page-messenger .messenger-wrapper .messenger-msg .dialog-wrapper .dialog-footer .dialog-back{align-items:center;bottom:0;display:flex;font-size:26px;height:49px;justify-content:center;left:0;position:absolute;width:64px;z-index:1}.page-messenger .messenger-wrapper .messenger-msg .dialog-wrapper .dialog-footer .dialog-input{width:calc(100% - 44px)}}.page-project{align-items:flex-start;display:flex;flex:1}.page-project .project-list{background-color:#fafafa;flex:1;height:100%;width:0}.page-project .project-dialog{flex-shrink:0;height:100%;max-width:520px;min-width:320px;position:relative;width:35%}@media (max-width:768px){.page-project .project-list{height:auto}.page-project .project-list.gantt{height:100%}.page-project .project-dialog{height:100%;left:0;max-width:none;position:fixed;top:0;width:100%}}.page-setting{display:flex;flex-direction:column}.page-setting .setting-head{align-items:center;border-bottom:1px solid #f4f4f5;display:flex;margin:32px 32px 16px}.page-setting .setting-head .setting-titbox{flex:1;margin-bottom:16px}.page-setting .setting-head .setting-titbox .setting-title{align-items:center;display:flex}.page-setting .setting-head .setting-titbox .setting-title>h1{color:#333;flex:1;font-size:28px;font-weight:600}.page-setting .setting-head .setting-titbox .setting-title .setting-more{display:none}.page-setting .setting-box{display:flex;flex:1;height:0;padding-bottom:16px}.page-setting .setting-box .setting-menu{border-right:1px solid #f4f4f5;flex-shrink:0;overflow:auto;width:200px}.page-setting .setting-box .setting-menu>ul{padding:12px 0 0 32px}.page-setting .setting-box .setting-menu>ul>li{align-items:center;color:#6b6e72;cursor:pointer;display:flex;line-height:42px;list-style:none;margin:5px 0;padding:0 20px;position:relative}.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.version{cursor:default}.page-setting .setting-box .setting-menu>ul>li.version:hover{background-color:transparent}.page-setting .setting-box .setting-menu>ul>li.divided{margin-top:10px;padding-top:10px;position:relative}.page-setting .setting-box .setting-menu>ul>li.divided:before{background-color:#f4f4f5;content:"";height:1px;left:0;position:absolute;right:0;top:0;z-index:1}.page-setting .setting-box .setting-menu>ul>li.divided:after{background-color:#fff;content:"";height:9px;left:0;position:absolute;right:0;top:1px;z-index:2}.page-setting .setting-box .setting-content{display:flex;flex:1;flex-direction:column;overflow:auto;position:relative}.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-selection{max-width:460px}.page-setting .setting-item .ivu-form{overflow:auto}.page-setting .setting-item .setting-color,.page-setting .setting-item .setting-template{margin-bottom:12px;max-width:600px;min-width:400px}.page-setting .setting-item .setting-color>div,.page-setting .setting-item .setting-template>div{padding-right:12px;text-align:center}.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{flex:auto;flex-shrink:0;padding-right:0;width:60px}.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:#999}.page-setting .setting-item .setting-template>div{flex-shrink:0;text-align:left}.page-setting .setting-item .setting-template>div:last-child{flex:1;max-width:none;width:auto}.page-setting .setting-item .setting-footer>button{height:34px;line-height:32px;min-width:94px}.page-setting .setting-item .setting-auto-day{display:block;line-height:32px;margin-bottom:-10px;margin-top:12px;width:110px}.page-setting .setting-item.submit{bottom:0;display:flex;flex-direction:column;left:0;padding:0!important;position:absolute;right:0;top:0}.page-setting .setting-item.submit .ivu-form{flex:1;overflow:auto;padding:24px 40px}.page-setting .setting-item.submit .ivu-tabs{display:flex;flex:1;flex-direction:column;padding:16px 32px 0}.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-system-item{bottom:0;display:flex;flex:1;flex-direction:column;left:0;position:absolute;right:0;top:0}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-system-item .ivu-form{padding:8px 12px}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-system-item .setting-footer{margin:0 -32px}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-system-item .email-setting-box{border:1px solid #eee;border-radius:8px;margin:24px 0 12px;padding:36px 24px 4px;position:relative;transition:box-shadow .3s}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-system-item .email-setting-box:hover{box-shadow:0 0 10px #e6ecfa}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-system-item .email-setting-box h3{background-color:#fff;border:1px solid #eee;border-radius:4px;display:inline-block;font-size:15px;font-weight:500;left:24px;padding:4px 10px;position:absolute;top:0;transform:translateY(-50%)}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-system-item .email-setting-placeholder{height:8px}.page-setting .setting-item.submit .setting-footer{border-top:1px solid #f4f4f5;flex-shrink:0;padding:16px 24px 0;position:static}@media (max-width:768px){.page-setting .setting-head .setting-titbox .setting-title .setting-more{align-items:center;display:flex;font-size:24px;height:42px;justify-content:center;width:42px}.page-setting .setting-box{position:relative}.page-setting .setting-box .setting-menu{background-color:#fff;height:100%;left:0;position:absolute;top:0;transform:translateX(-120%);transition:all .2s;width:100%;z-index:9}.page-setting .setting-box .setting-menu.show768-menu{transform:translateX(0)}.page-setting .setting-box .setting-menu>ul{padding:12px 32px}}.page-index{height:100%;left:0;overflow:auto;position:absolute;top:0;width:100%}.page-index .page-warp{margin:0 auto;max-width:1920px}.page-index .page-warp .page-header{background:#8bcf70;padding-bottom:40px;position:relative;width:100%}.page-index .page-warp .page-header .header-nav{display:flex;height:72px;justify-content:space-between;margin:auto;max-width:1200px}.page-index .page-warp .page-header .header-nav .header-nav-box{align-items:center;color:#fff;display:flex;font-weight:400;padding-left:20px;position:relative}.page-index .page-warp .page-header .header-nav .header-nav-box .logo{background:url(../images/logo-index.svg) no-repeat 50%;background-size:contain;height:36px;width:143px}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-one{display:flex}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-one .header-right-one-language{font-size:26px;margin-right:8px}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-one .header-right-one-dropdown{color:#fff;font-size:16px}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-two{cursor:pointer;font-size:16px;margin:0 30px}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-three{background:#ffa25a;border-radius:4px;cursor:pointer;font-size:16px;height:36px;line-height:36px;min-width:100px;padding:0 10px;text-align:center}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-four{cursor:pointer;font-size:16px;margin-left:30px}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-four .ivu-dropdown .ivu-dropdown-rel .header-right-one-dropdown{color:#fff;font-size:16px}.page-index .page-warp .page-header .header-nav .header-nav-boxs{justify-content:flex-end;padding-right:20px}.page-index .page-warp .page-header .header-nav .header-nav-boxs .header-nav-more{color:#fff;font-size:36px}.page-index .page-warp .page-header .header-content{margin:0 auto;max-width:1200px}.page-index .page-warp .page-header .header-content .header-title{color:#fff;font-size:44px;font-weight:500;line-height:67px;text-align:center}.page-index .page-warp .page-header .header-content .header-title-one{font-size:48px;margin-top:40px}.page-index .page-warp .page-header .header-content .header-tips{color:#fff;font-size:22px;font-weight:400;line-height:36px;margin:22px auto 0;max-width:88%;padding:0 30px;text-align:center}.page-index .page-warp .page-header .header-content .login-buttom{background:#ffa25a;border-radius:8px;color:#fff;cursor:pointer;font-size:18px;font-weight:500;height:48px;line-height:48px;margin:34px auto 0;text-align:center;width:150px}.page-index .page-warp .page-header-bottom{background:#fff url(../images/index/bg-bottom.svg) no-repeat;background-size:100%;margin-bottom:190px;margin-top:-2px;position:relative}.page-index .page-warp .page-header-bottom .page-header-bottoms{left:0;margin:auto;max-width:1200px;right:0;top:0}.page-index .page-warp .page-header-bottom .page-header-bottoms img{display:block;margin:auto;width:80%}.page-index .page-warp .page-main{margin:auto;max-width:1200px}.page-index .page-warp .page-main .page-main-row{margin-bottom:150px}.page-index .page-warp .page-main .page-main-rows{margin-bottom:140px}.page-index .page-warp .page-main .page-main-img img{width:100%}.page-index .page-warp .page-main .page-main-imgs img{display:block;margin:auto;width:90%}.page-index .page-warp .page-main .page-main-text{padding-left:60px;padding-top:120px}.page-index .page-warp .page-main .page-main-text h3{color:#333;font-size:32px;font-weight:500;line-height:45px;margin-bottom:17px}.page-index .page-warp .page-main .page-main-text p{color:#828282;font-size:18px;font-weight:400;line-height:28px;padding-right:70px}.page-index .page-warp .page-main .page-main-texts{padding-top:40px}.page-index .page-warp .page-main .page-main-texts h3{align-items:center;display:flex;font-size:30px}.page-index .page-warp .page-main .page-main-texts h3 img{margin-right:10px}.page-index .page-warp .page-main .page-main-texts p{font-size:16px}.page-index .page-warp .page-footer .footer-service{background-color:#ffa25a;height:188px;position:relative;width:100%}.page-index .page-warp .page-footer .footer-service .footer-bg-box{height:188px;overflow:hidden;width:100%}.page-index .page-warp .page-footer .footer-service .footer-bg-box .box-title{color:#fff;font-size:16px;font-weight:500;height:45px;line-height:45px;margin:33px 0 22px;text-align:center}.page-index .page-warp .page-footer .footer-service .footer-bg-box .buttom-box{display:flex;justify-content:center}.page-index .page-warp .page-footer .footer-service .footer-bg-box .buttom-box .login-btn{background:#fff;border-radius:8px;color:#ffa25a;cursor:pointer;font-size:14px;font-weight:500;height:48px;line-height:48px;margin-right:20px;text-align:center;width:150px}.page-index .page-warp .page-footer .footer-service .footer-bg-box .buttom-box .reg-btn{border:1px solid #fff;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;height:48px;line-height:48px;text-align:center;width:150px}.page-index .page-warp .page-footer .footer-copyright{background:#fff;color:#828282;font-size:12px;font-weight:400;height:60px;line-height:60px;text-align:center;width:100%}@media screen and (max-width:1440px){.page-index .page-warp .page-header .header-content .header-title{font-size:34px;line-height:60px}.page-index .page-warp .page-header .header-content .header-title-one{font-size:40px}.page-index .page-warp .page-header .header-content .header-tips{font-size:20px;padding:0 20px}.page-index .page-warp .page-header-bottom{margin-bottom:100px}.page-index .page-warp .page-main .page-main-text{padding-left:20px;padding-top:80px}.page-index .page-warp .page-main .page-main-text p{padding-right:20px}.page-index .page-warp .page-main .page-main-texts h3{font-size:24px}.page-index .page-warp .page-main .page-main-texts h3 img{width:24px}.page-index .page-warp .page-main .page-main-texts p{font-size:14px}}@media screen and (max-width:468px){.page-index .page-warp .page-header .header-content .header-title{font-size:24px;line-height:38px}.page-index .page-warp .page-header .header-content .header-title-one{font-size:28px}.page-index .page-warp .page-header .header-content .header-tips{font-size:16px;line-height:26px}}.dialog-wrapper{background-color:#fff;bottom:0;display:flex;flex-direction:column;left:0;position:absolute;right:0;top:0;z-index:1}.dialog-wrapper .dialog-nav{align-items:center;display:flex;height:68px;padding:0 22px;position:relative}.dialog-wrapper .dialog-nav:before{background-color:#f4f5f5;bottom:0;content:"";height:1px;left:0;position:absolute;width:100%}.dialog-wrapper .dialog-nav .dialog-avatar{flex-shrink:0;margin-right:12px}.dialog-wrapper .dialog-nav .dialog-avatar .icon-avatar,.dialog-wrapper .dialog-nav .dialog-avatar .user-avatar{flex-grow:0;flex-shrink:0;height:42px;margin:2px;width:42px}.dialog-wrapper .dialog-nav .dialog-avatar .icon-avatar{align-items:center;background-color:#61b2f9;border-radius:50%;color:#fff;display:flex;font-size:26px;justify-content:center}.dialog-wrapper .dialog-nav .dialog-avatar .icon-avatar.project{background-color:#6e99eb}.dialog-wrapper .dialog-nav .dialog-avatar .icon-avatar.task{background-color:#9b96df;font-size:24px}.dialog-wrapper .dialog-nav .dialog-avatar .icon-avatar.completed:after{color:#19be6b;content:"\f373";font-family:Ionicons,serif;font-size:40px;opacity:.2;pointer-events:none;position:absolute;right:22px;top:50%;transform:translateY(-50%);z-index:1}.dialog-wrapper .dialog-nav .dialog-title{display:flex;flex:1;flex-direction:column;justify-content:center;width:0}.dialog-wrapper .dialog-nav .dialog-title .main-title{align-items:center;display:flex;line-height:22px;max-width:100%}.dialog-wrapper .dialog-nav .dialog-title .main-title .ivu-tag{flex-shrink:0;margin:0 6px 0 0;padding:0 5px}.dialog-wrapper .dialog-nav .dialog-title .main-title .ivu-tag.ivu-tag-success{padding:0 6px}.dialog-wrapper .dialog-nav .dialog-title .main-title .ivu-icon{font-size:18px;margin-right:6px}.dialog-wrapper .dialog-nav .dialog-title .main-title .ivu-icon.completed{color:#8bcf70}.dialog-wrapper .dialog-nav .dialog-title .main-title>h2{font-size:17px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-wrapper .dialog-nav .dialog-title .main-title>em{flex-shrink:0;font-size:17px;font-style:normal;font-weight:500;padding-left:6px}.dialog-wrapper .dialog-nav .dialog-title .main-title .top-text{background-color:#8bcf70;border-radius:4px;color:#fff;flex-shrink:0;height:24px;margin-left:10px;padding-top:1px;text-align:center;width:40px}.dialog-wrapper .dialog-nav .dialog-title .sub-title{color:#aaa;flex-shrink:0;font-size:12px;line-height:20px;padding-top:2px}.dialog-wrapper .dialog-nav .dialog-title .sub-title.pointer{cursor:pointer}.dialog-wrapper .dialog-nav .dialog-title .sub-title.pointer:hover{color:#888}.dialog-wrapper .dialog-scroller{flex:1;overflow:auto;padding:0 32px;position:relative}.dialog-wrapper .dialog-scroller .dialog-list>ul>li{align-items:flex-end;display:flex;flex-direction:row;list-style:none;margin-bottom:16px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li:first-child{margin-top:16px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-avatar{flex-shrink:0;height:30px;margin-bottom:20px;position:relative;width:30px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view{align-items:flex-start;display:flex;flex-direction:column;margin:0 0 0 8px;position:relative}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view.text{max-width:70%}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view:hover .dialog-head .dialog-menu{opacity:1}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head{align-items:flex-start;display:flex}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content{align-items:flex-start;background-color:#f4f5f7;border-radius:6px 6px 6px 0;display:flex;min-width:32px;padding:8px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-text{color:#333}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-text>pre{word-wrap:break-word;display:block;line-height:1.5;margin:0;padding:0;white-space:pre-wrap;word-break:break-word}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.file{display:inline-block}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.file .file-box{align-items:center;background-color:#fff;border-radius:3px;display:flex;padding:10px 14px;width:220px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.file .file-box .file-thumb{width:36px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.file .file-box .file-info{display:flex;flex-direction:column;justify-content:center;margin-left:12px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.file .file-box .file-info .file-name{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#333;display:-webkit-box;font-size:14px;line-height:18px;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.file .file-box .file-info .file-size{color:#666;font-size:14px;padding-top:4px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.img{background-color:transparent;border-radius:6px;display:flex;max-height:220px;max-width:220px;overflow:hidden;padding:0}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.img .file-img{cursor:pointer;display:flex}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-loading{display:flex}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-loading .common-loading{height:20px;margin:4px;width:20px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-unknown{text-decoration:underline}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-menu{margin-left:6px;opacity:0;transition:all .3s}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-menu .menu-icon{align-items:center;background-color:#fff;border:1px solid #ddd;border-radius:4px;display:flex}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-menu .menu-icon>i{color:#999;cursor:pointer;display:inline-block;flex:1;font-size:13px;padding:4px 6px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-menu .menu-icon>i+i{border-left:1px solid #ddd}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-menu .menu-icon>i:hover{color:#777}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-foot{align-items:center;display:flex;height:21px;line-height:1;padding-top:4px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-foot .common-loading{height:10px;margin:0 2px;width:10px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-foot .time{color:#bbb;font-size:12px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-foot .done{color:#8bcf70;display:none;font-size:12px;margin-left:4px;transform:scale(.9)}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-foot .percent{cursor:pointer;display:none;margin-left:4px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-action{align-items:flex-start;align-self:flex-start;display:flex;height:100%}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-action>*{margin:0 5px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.history{cursor:pointer;font-size:13px;justify-content:center;margin:12px 0;opacity:.6;padding:3px 0;transition:opacity .2s}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.history:hover{opacity:1}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.history-tip{padding-top:60px;position:relative}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.history-tip .history-text{background:#f5f5f5;border-radius:2px;font-size:12px;font-style:normal;height:22px;left:50%;line-height:22px;padding:0 48px;position:absolute;text-align:center;top:10px;transform:translateX(-50%)}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.loading{justify-content:center;padding:12px 0}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.loading .common-loading{height:18px;margin:0;width:18px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.nothing{color:#999;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.bottom{height:0;margin:0;padding:0}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self{flex-direction:row-reverse}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view{align-items:flex-end;margin:0 8px 0 0}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-head{flex-direction:row-reverse}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-head .dialog-content{background-color:#8bcf70;border-radius:6px 6px 0 6px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-head .dialog-content .content-text{color:#fff}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-head .dialog-content .content-file.file{background-color:#f4f5f7}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-head .dialog-content .content-file.img{background-color:transparent;border-radius:6px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-head .dialog-menu{margin-left:0;margin-right:6px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-foot .done,.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-foot .percent{display:inline-block}.dialog-wrapper .dialog-footer{align-items:flex-end;display:flex;flex-direction:column;margin-bottom:20px;padding:0 28px;position:relative}.dialog-wrapper .dialog-footer .dialog-newmsg{background-color:rgba(0,0,0,.6);border-radius:16px;color:#fff;cursor:pointer;display:none;font-size:12px;height:30px;line-height:30px;margin-bottom:20px;margin-right:10px;padding:0 12px;z-index:2}.dialog-wrapper .dialog-footer .dialog-input{background-color:#f4f5f7;border-radius:10px;padding:10px 52px 10px 12px}.dialog-wrapper .dialog-footer .dialog-input .ivu-input{background-color:transparent;border:0;resize:none}.dialog-wrapper .dialog-footer .dialog-input .ivu-input:focus{box-shadow:none}.dialog-wrapper .dialog-footer .dialog-send{align-items:center;bottom:0;display:flex;font-size:18px;justify-content:center;position:absolute;right:14px;top:0;width:46px}.dialog-wrapper .dialog-footer .chat-upload{display:none;height:0;overflow:hidden;width:0}.dialog-wrapper .dialog-footer.newmsg{margin-top:-50px}.dialog-wrapper .dialog-footer.newmsg .dialog-newmsg{display:block}.dialog-wrapper .drag-over{align-items:center;background-color:hsla(0,0%,100%,.78);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.dialog-wrapper .drag-over:before{border:2px dashed #7b7b7b;border-radius:12px;bottom:16px;content:"";left:16px;position:absolute;right:16px;top:16px}.dialog-wrapper .drag-over .drag-text{color:#666;font-size:18px;padding:12px}.dialog-wrapper-read-poptip-content{display:flex;position:relative}.dialog-wrapper-read-poptip-content .read,.dialog-wrapper-read-poptip-content .unread{flex:1;max-height:300px;overflow:auto}.dialog-wrapper-read-poptip-content .read>li,.dialog-wrapper-read-poptip-content .unread>li{list-style:none;margin-bottom:12px}.dialog-wrapper-read-poptip-content .read>li .common-avatar,.dialog-wrapper-read-poptip-content .unread>li .common-avatar{width:100%}.dialog-wrapper-read-poptip-content .read>li:last-child,.dialog-wrapper-read-poptip-content .unread>li:last-child{margin-bottom:6px}.dialog-wrapper-read-poptip-content .read>li.read-title>em,.dialog-wrapper-read-poptip-content .unread>li.read-title>em{font-size:18px;font-style:normal;font-weight:600;padding-right:6px}.dialog-wrapper-read-poptip-content .unread>li{padding-left:16px}.dialog-wrapper-read-poptip-content:before{background-color:#f4f4f5;bottom:0;content:"";left:50%;position:absolute;top:0;width:1px}.dialog-wrapper-paste{margin-top:-4px}.dialog-wrapper-paste img{max-height:1000px;max-width:100%}.dialog-wrapper-paste>div,.dialog-wrapper-paste>img{display:flex;flex-direction:column;margin:4px 0;padding:0}@media (max-width:768px){.dialog-wrapper .dialog-footer{margin-bottom:16px;padding:0 20px}}.file-content,.file-preview{border-radius:18px 18px 0 0;bottom:0;display:flex;flex-direction:column;left:0;overflow:hidden;position:absolute;right:0;top:0}.file-content .preview-iframe,.file-preview .preview-iframe{background:0 0;border:0;float:none;height:100%;left:0;margin:-1px 0 0;max-width:none;outline:0;padding:0;position:absolute;top:0;width:100%}.file-content .edit-header,.file-preview .edit-header{align-items:center;background-color:#fff;box-shadow:0 1px 5px 0 rgba(0,0,0,.05);display:flex;flex-direction:row;height:42px;position:relative;width:100%;z-index:99}.file-content .edit-header .header-title,.file-preview .edit-header .header-title{color:#333;flex:1;font-size:16px;line-height:24px;overflow:hidden;padding-left:24px;padding-right:24px;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:#333;cursor:pointer;font-weight:500;padding-right:6px;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{align-items:center;display:flex}.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{background-color:#8bcf70;border:2px solid #fff;border-radius:50%;color:#fff;font-size:12px;height:28px;line-height:24px;text-align:center;width:28px;z-index:1}.file-content .edit-header .header-hint,.file-preview .edit-header .header-hint{color:#666;font-size:12px;padding-right:22px;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-button,.file-preview .edit-header .header-button{font-size:12px;margin-right:24px}.file-content .content-body,.file-preview .content-body{display:flex;flex:1;position:relative}.file-content .content-body .mdeditor-wrapper,.file-content .content-body .teditor-wrapper,.file-preview .content-body .mdeditor-wrapper,.file-preview .content-body .teditor-wrapper{display:flex;flex:1}.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{bottom:0;left:0;overflow:auto;position:absolute;right:0;top:0;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 #eee}.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{background:#fff;padding:0 12%}.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{border:1px solid #e8e8e8;border-radius:2px;box-shadow:0 4px 8px 0 rgba(0,0,0,.08);margin:22px 12%}.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-load,.file-preview .content-load{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:42px;z-index:1000}.file-content .content-load .common-loading,.file-preview .content-load .common-loading{margin:0}.file-preview .edit-header .header-title{align-items:center;display:flex}.file-preview .edit-header .header-title .ivu-tag{line-height:20px;margin-left:6px;padding:0 6px}.file-preview .edit-header .header-title .refresh{align-items:center;display:flex;margin-left:6px}.file-preview .edit-header .header-title .refresh .common-loading{height:16px;margin:2px;width:16px}.file-preview .edit-header .header-title .refresh>i{cursor:pointer;font-size:20px;opacity:.6;transition:all .2s}.file-preview .edit-header .header-title .refresh>i:hover{opacity:1}.file-preview .content-body{overflow:hidden}.file-preview .content-body .markdown-preview-warp{flex:1;overflow:auto}@media (max-width:1200px){.file-content{overflow:auto}.file-content .content-body,.file-content .edit-header{min-width:768px;overflow-x:auto}.file-content .content-body .tox .tox-toolbar--scrolling,.file-content .edit-header .tox .tox-toolbar--scrolling{flex-wrap:wrap}.file-content .content-body .teditor-loadedstyle .tox-menubar,.file-content .content-body .teditor-loadedstyle .tox-toolbar-overlord,.file-content .edit-header .teditor-loadedstyle .tox-menubar,.file-content .edit-header .teditor-loadedstyle .tox-toolbar-overlord{padding:0}.file-content .content-body .teditor-loadedstyle .tox-sidebar-wrap,.file-content .edit-header .teditor-loadedstyle .tox-sidebar-wrap{margin:0}}.project-archived{bottom:0;display:flex;flex-direction:column;left:0;padding:20px;position:absolute;right:0;top:0}.project-archived .archived-title{align-items:center;color:#333;display:flex;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.project-archived .archived-title .title-icon{align-items:center;display:flex;height:14px;margin-left:4px;margin-top:2px;width:14px}.project-archived .archived-title .title-icon>i{cursor:pointer}.project-archived .table-page-box{flex:1;height:0}.project-dialog{background-color:#fff;border-left:1px solid #f4f5f5;display:flex;flex-direction:column;position:relative;z-index:1}.project-dialog .project-dialog-wrapper .dialog-user{margin-top:26px;padding:0 22px}.project-dialog .project-dialog-wrapper .dialog-user .member-head{align-items:center;display:flex}.project-dialog .project-dialog-wrapper .dialog-user .member-head .member-title{flex:1;font-size:18px;font-weight:600}.project-dialog .project-dialog-wrapper .dialog-user .member-head .member-title>span{color:#8bcf70;cursor:pointer;padding-left:6px}.project-dialog .project-dialog-wrapper .dialog-user .member-head .member-close{cursor:pointer}.project-dialog .project-dialog-wrapper .dialog-user .member-head .member-close .ivu-icon-ios-close{font-size:38px;right:2px;top:3px;transition:all .2s}.project-dialog .project-dialog-wrapper .dialog-user .member-head .member-close:hover .ivu-icon-ios-close{transform:rotate(-90deg)}.project-dialog .project-dialog-wrapper .dialog-user .member-list{align-items:center;display:flex;margin-top:12px;overflow:auto}.project-dialog .project-dialog-wrapper .dialog-user .member-list::-webkit-scrollbar{display:none}.project-dialog .project-dialog-wrapper .dialog-user .member-list>li{list-style:none;margin-bottom:8px;margin-right:10px;position:relative}.project-dialog .project-dialog-wrapper .dialog-user .member-list.member-all{display:block}.project-dialog .project-dialog-wrapper .dialog-user .member-list.member-all>li{display:inline-block;overflow:hidden}.project-dialog .project-dialog-wrapper .dialog-nav{padding:0 20px}.project-dialog .project-dialog-wrapper .dialog-footer .dialog-back{display:none}@media (max-width:768px){.project-dialog .project-dialog-wrapper .dialog-user{margin-top:16px;padding:0 12px}.project-dialog .project-dialog-wrapper .dialog-nav{height:58px;padding:0 12px}.project-dialog .project-dialog-wrapper .dialog-scroller{padding:0 20px}.project-dialog .project-dialog-wrapper .dialog-footer{position:relative}.project-dialog .project-dialog-wrapper .dialog-footer .dialog-back{align-items:center;bottom:0;display:flex;font-size:26px;justify-content:center;left:0;position:absolute;top:0;width:64px;z-index:1}.project-dialog .project-dialog-wrapper .dialog-footer .dialog-input{width:calc(100% - 44px)}}.project-gstc-gantt{background-color:#fdfdfd;border-radius:3px;bottom:15px;left:15px;overflow:hidden;position:absolute;right:15px;top:15px;transform:translateZ(0);z-index:1}.project-gstc-gantt .project-gstc-dropdown-filtr{left:222px;position:absolute;top:38px}.project-gstc-gantt .project-gstc-dropdown-filtr .project-gstc-dropdown-icon{color:#999;cursor:pointer;font-size:20px}.project-gstc-gantt .project-gstc-dropdown-filtr .project-gstc-dropdown-icon.filtr{color:#058ce4}.project-gstc-gantt .project-gstc-close{cursor:pointer;left:12px;position:absolute;top:8px}.project-gstc-gantt .project-gstc-close:hover i{transform:scale(1) rotate(45deg)}.project-gstc-gantt .project-gstc-close i{color:#666;font-size:28px;transform:scale(.92);transition:all .2s}.project-gstc-gantt .project-gstc-edit{background:#fff;border-radius:4px;bottom:6px;opacity:0;position:absolute;right:6px;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{background:#fff;border:1px solid #e4e4e4;border-radius:4px;display:none;padding:6px;width:500px}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-info .project-gstc-edit-btns{align-items:center;display:flex;justify-content:flex-end;margin:12px 6px 4px}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-info .project-gstc-edit-btns .ivu-btn{font-size:13px;margin-right:8px}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-info .project-gstc-edit-btns .zoom{color:#444;cursor:pointer;font-size:20px}.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{align-items:center;background:#fff;border:1px solid #e4e4e4;display:flex;padding:6px 12px}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-small .project-gstc-edit-text{color:#444;cursor:pointer;margin-right:8px;text-decoration:underline}.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{font-size:13px;margin-left:4px}.project-gstc-gantt .ivu-dropdown-item.dropdown-active{color:#058ce4}.project-list,.project-list .project-head{display:flex;flex-direction:column}.project-list .project-head{align-items:flex-start;margin:32px 32px 0}.project-list .project-head .project-titbox{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:24px;width:100%}.project-list .project-head .project-titbox .project-title{align-items:center;display:flex}.project-list .project-head .project-titbox .project-title>h1{color:#333;font-size:28px;font-weight:600}.project-list .project-head .project-titbox .project-title .project-load{align-items:center;display:flex;margin-left:18px}.project-list .project-head .project-titbox .project-title .project-load .common-loading{height:22px;width:22px}.project-list .project-head .project-titbox .project-title .top-text{background-color:#8bcf70;border-radius:4px;color:#fff;height:24px;margin-left:10px;margin-top:3px;padding-top:2px;text-align:center;width:40px}.project-list .project-head .project-titbox .project-icons{align-items:center;display:flex;flex-shrink:0;margin-top:3px}.project-list .project-head .project-titbox .project-icons>li{align-items:center;border-radius:50%;cursor:pointer;display:flex;height:36px;justify-content:center;list-style:none;margin-left:16px;position:relative;transition:box-shadow .3s;width:36px}.project-list .project-head .project-titbox .project-icons>li:hover{box-shadow:0 0 6px #ccc}.project-list .project-head .project-titbox .project-icons>li.project-avatar{min-width:36px;width:auto}.project-list .project-head .project-titbox .project-icons>li.project-avatar:hover{box-shadow:none}.project-list .project-head .project-titbox .project-icons>li.project-avatar>ul{align-items:center;display:flex}.project-list .project-head .project-titbox .project-icons>li.project-avatar>ul>li{list-style:none;margin-left:-6px;transition:transform .2s}.project-list .project-head .project-titbox .project-icons>li.project-avatar>ul>li .ivu-badge{left:23px;position:absolute;top:-5px;transform:scale(.8)}.project-list .project-head .project-titbox .project-icons>li.project-avatar>ul>li:hover{transform:scale(1.05)}.project-list .project-head .project-titbox .project-icons>li.project-avatar>ul>li:first-child{margin-left:0}.project-list .project-head .project-titbox .project-icons>li.project-avatar>ul>li.more{align-items:center;background-color:transparent;border-color:transparent;color:#aaa;display:flex;font-size:17px;height:32px;justify-content:center;transform:scale(1)!important;width:30px;z-index:1}.project-list .project-head .project-titbox .project-icons>li.project-icon{background-color:#f2f3f5;border-radius:50%}.project-list .project-head .project-titbox .project-icons>li.project-icon .menu-icon{font-size:20px;height:36px;line-height:36px;width:36px}.project-list .project-head .project-titbox .project-icons>li.project-icon .menu-badge{left:20px;position:absolute;top:-6px;transform:scale(.8)}.project-list .project-head .project-titbox .project-icons>li.project-icon .search-input{margin:2px 0;width:170px}.project-list .project-head .project-titbox .project-icons>li.project-icon.active{background-color:#8bcf70;color:#fff}.project-list .project-head .project-subbox{width:100%}.project-list .project-head .project-subbox .project-subtitle{color:#999;float:left;line-height:24px;padding:3px 0}.project-list .project-head .project-subbox .project-switch{align-items:flex-end;display:flex;float:right;margin-left:32px}.project-list .project-head .project-subbox .project-switch .project-checkbox{align-items:center;display:flex;height:30px;margin-right:14px;opacity:.9}.project-list .project-head .project-subbox .project-switch .project-checkbox .ivu-checkbox-focus{box-shadow:none}.project-list .project-head .project-subbox .project-switch .project-select{align-items:center;display:flex;height:30px;margin-right:14px;opacity:.9}.project-list .project-head .project-subbox .project-switch .project-select .project-flow{align-items:center;background:#f7f7f7;border:1px solid #e8eaec;border-radius:4px;cursor:pointer;display:flex;font-size:13px;height:28px;justify-content:center;line-height:26px;padding:0 8px}.project-list .project-head .project-subbox .project-switch .project-select .project-flow.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.project-list .project-head .project-subbox .project-switch .project-select .project-flow.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.project-list .project-head .project-subbox .project-switch .project-select .project-flow.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.project-list .project-head .project-subbox .project-switch .project-select .project-flow.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.project-list .project-head .project-subbox .project-switch .project-switch-button{align-items:center;background-color:#fff;border-radius:6px;display:flex;height:30px;position:relative;transition:all .2s}.project-list .project-head .project-subbox .project-switch .project-switch-button .active{color:#8bcf70}.project-list .project-head .project-subbox .project-switch .project-switch-button .slider{background-color:rgba(139,207,112,.1);border:1px solid #8bcf70;border-radius:6px;color:#8bcf70;height:100%;left:0;position:absolute;top:0;transition:left .2s;width:33.3%;z-index:0}.project-list .project-head .project-subbox .project-switch .project-switch-button:hover{box-shadow:0 0 10px #e6ecfa}.project-list .project-head .project-subbox .project-switch .project-switch-button>div{align-items:center;border-radius:6px;color:#606266;cursor:pointer;display:flex;height:30px;justify-content:center;width:32px;z-index:1}.project-list .project-head .project-subbox .project-switch .project-switch-button>div>i{font-size:17px}.project-list .project-column{display:flex;height:100%;overflow-x:auto;overflow-y:hidden;padding-top:15px}.project-list .project-column>ul{align-items:flex-start;display:inline-flex;justify-content:space-between}.project-list .project-column>ul>li{display:flex;flex-direction:column;flex-shrink:0;height:100%;list-style:none;width:260px}.project-list .project-column>ul>li:first-child{margin-left:22px}.project-list .project-column>ul>li:last-child{margin-right:22px}.project-list .project-column>ul>li.add-column{background-color:#f2f3f5;border-radius:4px;color:#888;cursor:pointer;height:36px}.project-list .project-column>ul>li.add-column .add-column-text{align-items:center;display:flex;flex-direction:row;line-height:36px;padding:0 12px}.project-list .project-column>ul>li.add-column .add-column-text>i{font-size:16px;padding-right:8px}.project-list .project-column>ul>li.add-column .add-column-text:hover{color:#777}.project-list .project-column>ul>li.add-column .add-column-input{align-items:center;display:none;height:36px}.project-list .project-column>ul>li.add-column .add-column-input .ivu-input{height:36px;padding:4px 10px}.project-list .project-column>ul>li.add-column .add-column-input .ivu-input-icon{height:36px;line-height:36px;width:36px}.project-list .project-column>ul>li.add-column.show-input .add-column-text{display:none}.project-list .project-column>ul>li.add-column.show-input .add-column-input{display:flex}.project-list .project-column>ul>li .column-head{align-items:center;background-color:#f2f3f5;border-radius:4px;display:flex;margin:0 10px;padding:7px 10px}.project-list .project-column>ul>li .column-head .column-head-title{align-items:center;display:flex;flex:1;font-weight:500;width:0}.project-list .project-column>ul>li .column-head .column-head-title>span{font-size:15px}.project-list .project-column>ul>li .column-head .column-head-title>em{color:#888;font-size:14px;font-style:normal;padding-left:6px}.project-list .project-column>ul>li .column-head .column-head-icon{align-items:center;display:flex;margin-left:16px}.project-list .project-column>ul>li .column-head .column-head-icon .ivu-icon,.project-list .project-column>ul>li .column-head .column-head-icon .loading{align-items:center;display:flex;height:24px;justify-content:center;padding-right:8px;width:24px}.project-list .project-column>ul>li .column-head .column-head-icon .ivu-icon .common-loading,.project-list .project-column>ul>li .column-head .column-head-icon .loading .common-loading{height:16px;margin:0;width:16px}.project-list .project-column>ul>li .column-head .column-head-icon .ivu-icon{color:#aaa;cursor:pointer;font-size:16px;font-weight:600;transition:color .3s}.project-list .project-column>ul>li .column-head .column-head-icon .ivu-icon:hover{color:#888}.project-list .project-column>ul>li .column-head .column-head-icon .last{padding-right:0}.project-list .project-column>ul>li .column-head.custom-color{color:#fff}.project-list .project-column>ul>li .column-head.custom-color .column-head-title>em{color:hsla(0,0%,100%,.6)}.project-list .project-column>ul>li .column-head.custom-color .ivu-icon{color:hsla(0,0%,100%,.5)}.project-list .project-column>ul>li .column-head.custom-color .ivu-icon:hover{color:hsla(0,0%,100%,.9)}.project-list .project-column>ul>li .column-task{display:flex;flex:1;flex-direction:column;overflow-x:hidden;overflow-y:auto}.project-list .project-column>ul>li .column-task .task-list>div:last-child{margin-bottom:16px}.project-list .project-column>ul>li .column-task .task-item{background-color:#fff;border-radius:12px;cursor:pointer;margin:16px 10px 0;padding:12px;position:relative;transition:box-shadow .3s,opacity .3s}.project-list .project-column>ul>li .column-task .task-item:hover{box-shadow:0 0 10px #e6ecfa}.project-list .project-column>ul>li .column-task .task-item .task-head{align-items:flex-start;display:flex}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title{flex:1;padding-top:1px}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title>span{border:1px solid #8bcf70;border-radius:3px;color:#8bcf70;float:left;font-size:12px;height:20px;line-height:18px;margin-right:4px;padding:0 3px;text-align:center}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title>span.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title>span.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title>span.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title>span.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title>pre{word-wrap:break-word;display:block;line-height:1.5;margin:0;padding:0;white-space:pre-wrap;word-break:break-word}.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu{height:22px;margin-left:8px;width:22px}.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon,.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .loading{align-items:center;display:flex;height:22px;justify-content:center;width:22px}.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon .common-loading,.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .loading .common-loading{height:16px;margin:0;width:16px}.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon{font-size:22px}.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon.uncomplete{color:#777}.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon.uncomplete:hover{color:#555}.project-list .project-column>ul>li .column-task .task-item .task-head.has-desc .task-title{font-weight:600}.project-list .project-column>ul>li .column-task .task-item .task-desc>pre{color:#999;line-height:20px;margin:10px 0 0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}.project-list .project-column>ul>li .column-task .task-item .task-tags{margin-top:10px}.project-list .project-column>ul>li .column-task .task-item .task-users{align-items:center;display:flex;margin-top:10px}.project-list .project-column>ul>li .column-task .task-item .task-users>ul{align-items:center;display:flex;flex:1;margin-right:24px;overflow:auto;width:0}.project-list .project-column>ul>li .column-task .task-item .task-users>ul>li{height:32px;list-style:none;margin-left:-6px;width:32px}.project-list .project-column>ul>li .column-task .task-item .task-users>ul>li:first-child{margin-left:0}.project-list .project-column>ul>li .column-task .task-item .task-users>ul>li.no-owner{width:auto}.project-list .project-column>ul>li .column-task .task-item .task-users>ul>li.no-owner .ivu-btn-small{font-size:12px}.project-list .project-column>ul>li .column-task .task-item .task-users .task-icon{font-size:12px;margin-left:6px}.project-list .project-column>ul>li .column-task .task-item .task-users .task-icon .ivu-icon{font-size:14px;margin-left:1px}.project-list .project-column>ul>li .column-task .task-item .task-progress{align-items:center;display:flex;justify-content:flex-end;margin-top:10px}.project-list .project-column>ul>li .column-task .task-item .task-progress .task-sub-num{color:#777;font-size:12px;margin-right:8px}.project-list .project-column>ul>li .column-task .task-item .task-progress .task-time{align-items:center;background-color:#eaedf2;border:1px solid #eaedf2;border-radius:3px;color:#777;display:flex;flex-shrink:0;font-size:12px;margin-left:18px;padding:0 3px}.project-list .project-column>ul>li .column-task .task-item .task-progress .task-time.overdue,.project-list .project-column>ul>li .column-task .task-item .task-progress .task-time.today{color:#fff}.project-list .project-column>ul>li .column-task .task-item .task-progress .task-time.overdue{background-color:#ed4014;border-color:#ed4014;font-weight:600}.project-list .project-column>ul>li .column-task .task-item .task-progress .task-time.today{background-color:#f90;border-color:#f90;font-weight:500}.project-list .project-column>ul>li .column-task .task-item .task-progress .task-time .taskfont{font-size:12px;margin-right:3px}.project-list .project-column>ul>li .column-task .task-item .priority-color{border-radius:2px;height:42px;left:0;max-height:50%;position:absolute;top:12px;width:3px}.project-list .project-column>ul>li .column-task .task-item.additem{cursor:default;padding:0}.project-list .project-column>ul>li .column-task .task-item.complete{opacity:.5}.project-list .project-column>ul>li .column-task .task-item.complete:hover{opacity:.8}.project-list .project-column>ul>li .column-task .task-item.complete .task-head .task-title{text-decoration:line-through}.project-list .project-column>ul>li .column-task .task-item.complete .priority-color,.project-list .project-column>ul>li .column-task .task-item.complete .task-desc,.project-list .project-column>ul>li .column-task .task-item.complete .task-progress,.project-list .project-column>ul>li .column-task .task-item.complete .task-tags,.project-list .project-column>ul>li .column-task .task-item.complete .task-users,.project-list .project-column>ul>li .column-task .task-item.hidden{display:none}.project-list .project-table{height:100%;margin-top:18px;overflow:auto}.project-list .project-table .task-row{background-color:#fff;border-bottom:1px solid #f4f4f5;position:relative}.project-list .project-table .task-row>div{align-items:center;border-right:1px solid #f4f4f5;display:flex;padding:8px 12px}.project-list .project-table .task-row>div:first-child{padding-left:32px}.project-list .project-table .task-row>div:last-child{border-right:0}.project-list .project-table .task-row>div.complete .item-title{color:#aaa;text-decoration:line-through}.project-list .project-table .task-row .priority-color{bottom:-1px;left:0;position:absolute;top:0;width:3px}.project-list .project-table .project-table-body,.project-list .project-table .project-table-head{border:1px solid #f4f4f5;border-bottom:0;border-radius:5px;margin:0 32px 12px;min-width:800px;overflow:hidden}.project-list .project-table .project-table-body.project-table-hide .task-rows,.project-list .project-table .project-table-head.project-table-hide .task-rows{display:none}.project-list .project-table .project-table-body.project-table-hide .row-title .taskfont,.project-list .project-table .project-table-head.project-table-hide .row-title .taskfont{transform:rotate(-90deg)}.project-list .project-table .project-table-head .task-row>div{color:#888;font-size:13px;font-weight:500}.project-list .project-table .project-table-head .task-row>div .sort{align-items:center;cursor:pointer;display:flex}.project-list .project-table .project-table-head .task-row>div .task-sort{cursor:pointer;display:inline-block;height:12px;margin-left:1px;margin-top:-1px;overflow:hidden;position:relative;vertical-align:middle;width:14px}.project-list .project-table .project-table-head .task-row>div .task-sort>i{color:#c5c8ce;display:block;font-size:16px;height:6px;line-height:6px;overflow:hidden;position:absolute;transition:color .2s ease-in-out}.project-list .project-table .project-table-head .task-row>div .task-sort>i.on{color:#8bcf70}.project-list .project-table .project-table-head .task-row>div .task-sort>i:hover{color:inherit}.project-list .project-table .project-table-head .task-row>div .task-sort>i:first-child{top:0}.project-list .project-table .project-table-head .task-row>div .task-sort>i:last-child{bottom:0}.project-list .project-table .project-table-body{transition:box-shadow .3s}.project-list .project-table .project-table-body:hover{box-shadow:0 0 10px #e6ecfa}.project-list .project-table .project-table-body .task-row>div{padding:10px 12px}.project-list .project-table .project-table-body .task-row>div.row-title{color:#333;font-size:14px;font-weight:500;padding-left:14px}.project-list .project-table .project-table-body .task-row>div.row-title .taskfont{cursor:pointer;font-size:12px;transition:transform .3s}.project-list .project-table .project-table-body .task-row>div.row-title .row-h1{padding-left:18px}.project-list .project-table .project-table-body .task-row>div.row-title .row-num{color:#999;padding-left:6px}.project-list .project-table .project-table-body .task-row>div.row-name{align-items:flex-start;line-height:24px;padding:12px 12px 12px 34px}.project-list .project-table .project-table-body .task-row>div.row-name .loading{height:24px}.project-list .project-table .project-table-body .task-row>div.row-name .ivu-icon{cursor:pointer;font-size:16px}.project-list .project-table .project-table-body .task-row>div.row-name .ivu-icon.sub-icon{color:#cfcfcf;font-size:16px;height:16px;margin-left:-20px;margin-right:4px;margin-top:4px;transition:transform .2s;width:16px}.project-list .project-table .project-table-body .task-row>div.row-name .ivu-icon.sub-icon.active{transform:rotate(90deg)}.project-list .project-table .project-table-body .task-row>div.row-name .ivu-icon.uncomplete{color:#ccc}.project-list .project-table .project-table-body .task-row>div.row-name .item-title{cursor:pointer;flex:1;padding:0 22px 0 8px}.project-list .project-table .project-table-body .task-row>div.row-name .item-title>span{border:1px solid #8bcf70;border-radius:3px;color:#8bcf70;display:inline-block;font-size:12px;height:18px;line-height:16px;margin-right:3px;margin-top:3px;min-width:20px;padding:0 2px;text-align:center;vertical-align:top}.project-list .project-table .project-table-body .task-row>div.row-name .item-title>span.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.project-list .project-table .project-table-body .task-row>div.row-name .item-title>span.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.project-list .project-table .project-table-body .task-row>div.row-name .item-title>span.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.project-list .project-table .project-table-body .task-row>div.row-name .item-title>span.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.project-list .project-table .project-table-body .task-row>div.row-name .item-icons{align-items:center;display:flex;flex-shrink:0;margin-left:4px}.project-list .project-table .project-table-body .task-row>div.row-name .item-icons .item-icon{color:#aaa;cursor:pointer;display:flex;font-size:12px;margin-left:16px}.project-list .project-table .project-table-body .task-row>div.row-name .item-icons .item-icon .taskfont{font-size:12px}.project-list .project-table .project-table-body .task-row>div.row-name .item-icons .item-icon>em{font-style:normal;margin-left:4px}.project-list .project-table .project-table-body .task-row>div.row-column .el-dropdown,.project-list .project-table .project-table-body .task-row>div.row-priority .el-dropdown{align-items:center;display:flex;overflow:hidden}.project-list .project-table .project-table-body .task-row>div.row-column .task-column,.project-list .project-table .project-table-body .task-row>div.row-column .task-priority,.project-list .project-table .project-table-body .task-row>div.row-priority .task-column,.project-list .project-table .project-table-body .task-row>div.row-priority .task-priority{cursor:pointer}.project-list .project-table .project-table-body .task-row>div.row-column .task-column{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-list .project-table .project-table-body .task-row>div.row-user{padding:8px}.project-list .project-table .project-table-body .task-row>div.row-user>ul{align-items:center;cursor:pointer;display:flex;height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-list .project-table .project-table-body .task-row>div.row-user>ul>li{display:inline-block;list-style:none;margin-left:-6px;max-width:100%}.project-list .project-table .project-table-body .task-row>div.row-user>ul>li:first-child{margin-left:0}.project-list .project-table .project-table-body .task-row>div.row-user>ul>li.no-owner{align-items:center;display:flex;height:32px}.project-list .project-table .project-table-body .task-row>div.row-time .task-time{cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-list .project-table .project-table-body .task-row>div.row-time .task-time.overdue,.project-list .project-table .project-table-body .task-row>div.row-time .task-time.today{border:1px solid transparent;border-radius:3px;color:#fff;font-size:13px;padding:0 4px}.project-list .project-table .project-table-body .task-row>div.row-time .task-time.overdue{background-color:#ed4014;border-color:#ed4014;font-weight:600}.project-list .project-table .project-table-body .task-row>div.row-time .task-time.today{background-color:#f90;border-color:#f90;font-weight:500}.project-list .project-table .project-table-body .task-rows .task-rows{overflow:hidden;position:relative}.project-list .project-table .project-table-body .task-rows .task-rows:before{box-shadow:0 0 8px 1px rgba(0,0,0,.08);content:"";left:0;position:absolute;right:0;top:0;z-index:1}.project-list .project-table .project-table-body .task-rows .task-rows .task-row{background-color:#fcfcfd}.project-list .project-table .project-table-body .task-rows .task-rows .task-row .priority-color{display:none}.project-list .project-table .project-table-body .task-rows .task-rows .task-row>div.row-name{padding-left:56px}.project-list .project-table .project-table-body .task-rows .task-rows .task-row>div.row-name .item-title{color:#6b6e72}.project-list .project-table .project-table-body .task-rows .task-rows .task-row>div.row-column>div,.project-list .project-table .project-table-body .task-rows .task-rows .task-row>div.row-priority>div{display:none}.project-list .project-table .project-table-body .task-rows .task-rows .task-add-row{background-color:#fcfcfd}.project-list .project-table .project-table-body .task-rows .task-rows .task-add-row>div.row-add{padding-left:56px}.project-list .project-gantt{height:100%;position:relative}.project-list-more-dropdown-menu>li .item{align-items:center;display:flex}.project-list-more-dropdown-menu>li .item>i{color:#bbb;font-size:18px;height:18px;line-height:18px;margin-right:8px;padding:0;width:18px}.project-list-more-dropdown-menu>li .item>i.ivu-icon{font-size:16px}.project-list-wait-remove{margin-top:6px}.project-list-wait-remove>li{align-items:center;display:flex;line-height:26px;list-style:none}.project-list-wait-remove>li:first-child{font-weight:600}.project-list-flow-cascader .ivu-cascader-menu-item{color:#606266!important}.project-list-flow-cascader .ivu-cascader-menu-item.start{color:#ff7070!important}.project-list-flow-cascader .ivu-cascader-menu-item.progress{color:#fc984b!important}.project-list-flow-cascader .ivu-cascader-menu-item.test{color:#2f99ec!important}.project-list-flow-cascader .ivu-cascader-menu-item.end{color:#0bc037!important}.project-list-flow-cascader .ivu-cascader-menu-item.ivu-cascader-menu-item-active.project-list-flow-cascader-item.start,.project-list-flow-cascader .ivu-cascader-menu-item:hover.project-list-flow-cascader-item.start{background-color:hsla(0,100%,72%,.1)}.project-list-flow-cascader .ivu-cascader-menu-item.ivu-cascader-menu-item-active.project-list-flow-cascader-item.progress,.project-list-flow-cascader .ivu-cascader-menu-item:hover.project-list-flow-cascader-item.progress{background-color:rgba(252,152,75,.1)}.project-list-flow-cascader .ivu-cascader-menu-item.ivu-cascader-menu-item-active.project-list-flow-cascader-item.test,.project-list-flow-cascader .ivu-cascader-menu-item:hover.project-list-flow-cascader-item.test{background-color:rgba(47,153,236,.1)}.project-list-flow-cascader .ivu-cascader-menu-item.ivu-cascader-menu-item-active.project-list-flow-cascader-item.end,.project-list-flow-cascader .ivu-cascader-menu-item:hover.project-list-flow-cascader-item.end{background-color:rgba(11,192,55,.1)}@media (max-width:768px){.project-list .project-head{margin:24px 24px 0}.project-list .project-head .project-titbox{display:block}.project-list .project-head .project-titbox .project-title{float:left;padding-bottom:4px}.project-list .project-head .project-titbox .project-icons{float:right;justify-content:flex-end;margin-left:24px;margin-top:4px}.project-list .project-head .project-subbox{display:block}.project-list .project-head .project-subbox .project-subtitle{margin-bottom:6px}.project-list .project-head .project-subbox .project-switch{justify-content:flex-end;margin-left:0}.project-list .project-column>ul>li:first-child{margin-left:10px}.project-list .project-column>ul>li:last-child{margin-right:10px}.project-list .project-table{overflow-x:auto}.project-list .project-table .project-table-body,.project-list .project-table .project-table-head{margin:0 24px 12px;min-width:768px}}.project-log .log-title{display:none}.project-log.is-drawer{bottom:0;left:0;overflow:auto;padding:20px;position:absolute;right:0;top:0}.project-log.is-drawer .log-title{color:#333;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.project-log .logs-activity{padding:12px;position:relative;word-break:break-all}.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{color:#bbb;cursor:pointer}.project-log .logs-activity>li .logs-date{color:rgba(0,0,0,.36);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{left:auto;margin-left:-13px;margin-right:6px;margin-top:8px;min-width:40px;position:static;width:auto}.project-log .logs-activity>li .logs-section .ivu-timeline>li .ivu-timeline-item-content{margin-top:-5px;padding-left:20px}.project-log .logs-activity>li .logs-dot{display:flex;height:18px;margin-left:10px;width:auto}.project-log .logs-activity>li .logs-dot .avatar-name.auto{color:#9599a1}.project-log .logs-activity>li .log-summary{padding:4px 0 4px 12px;position:relative}.project-log .logs-activity>li .log-summary>a,.project-log .logs-activity>li .log-summary>span{word-wrap:break-word;padding-right:6px;word-break:break-word}.project-log .logs-activity>li .log-summary .log-text{color:rgba(0,0,0,.72);display:inline-block}.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:rgba(0,0,0,.3);font-size:12px}.project-log .logs-activity>li .log-task{cursor:pointer;margin-bottom:6px;margin-left:12px;opacity:.6}.project-log .logs-activity>li .log-task:hover{opacity:1}.project-log .logs-activity>li .log-task:hover>em{color:#8bcf70}.project-log .logs-activity>li .log-task>em{border-radius:5px;color:#999;display:inline-block;font-size:12px;font-style:normal;height:18px;line-height:18px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-management{bottom:0;display:flex;flex-direction:column;left:0;padding:20px;position:absolute;right:0;top:0}.project-management .management-title{align-items:center;color:#333;display:flex;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.project-management .management-title .title-icon{align-items:center;display:flex;height:14px;margin-left:4px;margin-top:2px;width:14px}.project-management .management-title .title-icon>i{cursor:pointer}.project-management .project-name{align-items:center;display:flex}.project-management .project-name .ivu-tag{flex-shrink:0;height:18px;line-height:18px;overflow:hidden;padding:0 4px;text-overflow:ellipsis;transform:scale(.8);transform-origin:right center;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-workflow{bottom:0;display:flex;flex-direction:column;left:0;position:absolute;right:0;top:0}.project-workflow .workflow-title{align-items:center;color:#333;display:flex;font-size:20px;font-weight:500;line-height:1;padding:20px 20px 24px}.project-workflow .workflow-title .title-icon{align-items:center;display:flex;height:14px;margin-left:4px;margin-top:2px;width:14px}.project-workflow .workflow-title .title-icon>i{cursor:pointer}.project-workflow .workflow-content{flex:1;overflow:auto;padding:0 20px}.project-workflow .workflow-content .ivu-collapse-header{align-items:center;display:flex}.project-workflow .workflow-content .workflow-item{align-items:center;display:flex;flex:1}.project-workflow .workflow-content .workflow-item .workflow-name{flex-shrink:0;margin-right:24px}.project-workflow .workflow-content .workflow-item .workflow-status{align-items:center;display:flex;flex:1}.project-workflow .workflow-content .workflow-item .workflow-status>div{background:#f7f7f7;border:1px solid #e8eaec;border-radius:3px;font-size:12px;height:24px;line-height:22px;margin-right:8px;overflow:hidden;padding:0 8px;vertical-align:middle}.project-workflow .workflow-content .workflow-item .workflow-status>div.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.project-workflow .workflow-content .workflow-item .workflow-status>div.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.project-workflow .workflow-content .workflow-item .workflow-status>div.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.project-workflow .workflow-content .workflow-item .workflow-status>div.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.project-workflow .workflow-content .workflow-item .workflow-save{flex-shrink:0;margin:0 8px}.project-workflow .workflow-content .workflow-item .workflow-save>button{font-size:13px;height:26px;line-height:24px;margin-right:4px;padding:0 13px}.project-workflow .workflow-no{align-items:center;color:#999;display:flex;flex:1;flex-direction:column;justify-content:center;padding:0 20px}.project-workflow .workflow-no>button{margin-top:18px}.project-workflow .taskflow-config{display:flex;max-height:800px}.project-workflow .taskflow-config .taskflow-config-table{border-radius:4px;box-shadow:1px 0 3px rgba(0,0,0,.1);display:flex;width:100%}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-left-container{-ms-overflow-style:none;flex-shrink:0;overflow-x:scroll;padding-bottom:16px;padding-top:16px;position:relative;width:246px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-left-container:after{border-right:1px solid #f4f4f5;bottom:0;content:"";position:absolute;right:0;top:0;z-index:1}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-column-header{font-size:16px;font-weight:700;height:58px;left:0;line-height:58px;padding:0 20px;position:absolute;right:0;top:0}.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{height:calc(100% - 58px);margin-top:58px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block{padding:12px 0;width:100%}.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{border-top:1px solid #f4f4f5;content:"";left:0;position:absolute;right:0;top:0;z-index:1}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .taskflow-config-table-block-title{color:#8c8c8c;height:40px;line-height:40px;padding:0 20px}.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{display:flex;flex-direction:column;height:58px;justify-content:center;padding:0 20px;position:relative;width:100%}.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{display:flex;flex-direction:column;height:58px;justify-content:center;padding:0 20px;position:relative;width:100%}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .taskflow-config-table-block-item.with-indicator:before{border-radius:4px;content:"";height:20px;left:0;position:absolute;top:50%;transform:translateY(-50%);width: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{color:#8c8c8c;font-size:12px;margin-top:2px;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-direction:row;flex-grow:1;overflow-x:auto;overflow-y:hidden;padding-bottom:16px;padding-top:16px}.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{border-radius:4px;flex-shrink:0;height:100%;margin-bottom:16px;margin-right:16px;position:relative;width:210px}.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{align-items:center;border:1px dashed #d9d9d9;color:#8c8c8c;cursor:pointer;display:flex;flex-direction:column;justify-content:center}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.addnew:hover{border-color:#bfbfbf;color:#777}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.column-border{border-style:solid;border-width:1px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.start{border-color:hsla(0,100%,72%,.2)}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.start:hover{border-color:hsla(0,100%,72%,.7)}.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{background-color:#ff7070;border-color:#ff7070}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.progress{border-color:rgba(252,152,75,.2)}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.progress:hover{border-color:rgba(252,152,75,.7)}.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{background-color:#fc984b;border-color:#fc984b}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.test{border-color:rgba(47,153,236,.2)}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.test:hover{border-color:rgba(47,153,236,.7)}.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{background-color:#2f99ec;border-color:#2f99ec}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.end{border-color:rgba(11,192,55,.2)}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.end:hover{border-color:rgba(11,192,55,.7)}.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{background-color:#0bc037;border-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{align-items:center;cursor:move;display:flex;height:58px;line-height:58px;padding:8px}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu{align-items:center;border-radius:4px;display:inline-flex;font-size:14px;font-weight:400;height:36px;justify-content:center;line-height:32px;max-width:100%;overflow:hidden;padding:0 32px;position:relative;text-overflow:ellipsis;white-space:nowrap;width:200px}.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:hsla(0,100%,72%,.1);color:#ff7070}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu.progress{background-color:rgba(252,152,75,.1);color:#fc984b}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu.test{background-color:rgba(47,153,236,.1);color:#2f99ec}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu.end{background-color:rgba(11,192,55,.1);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{align-items:center;bottom:0;cursor:pointer;display:flex;font-size:18px;font-weight:400!important;justify-content:center;opacity:.2;position:absolute;right:0;top:0;transition:opacity .3s;width:38px}.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{align-items:center;display:flex}.taskflow-config-more-dropdown-menu .users{display:flex;margin:0 -8px;overflow:auto;padding:6px 0}.taskflow-config-more-dropdown-menu .users .common-avatar{margin-right:-5px;max-width:100%}.taskflow-config-more-dropdown-menu .item{align-items:center;display:flex}.taskflow-config-more-dropdown-menu .delete{color:red}.task-add .head{align-items:center;display:flex;margin-bottom:20px;padding:8px 0;position:relative}.task-add .head .ivu-cascader .ivu-cascader-label{align-items:center;display:flex;font-size:15px;padding:0;width:auto}.task-add .head .ivu-cascader .ivu-cascader-label:after{content:"\f116";font-family:Ionicons,serif;opacity:1;padding:6px;transition:all .2s}.task-add .head .ivu-cascader .ivu-cascader-arrow{display:none}.task-add .head .ivu-cascader .ivu-input{border:0;box-shadow:none;font-size:15px;padding:4px 0}.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-advanced .title .ivu-input,.task-add .task-add-form .title .ivu-input{border-color:transparent;font-size:24px;font-weight:500;line-height:1.4;padding:4px 0;resize:none}.task-add .task-add-advanced .title .ivu-input:focus,.task-add .task-add-form .title .ivu-input:focus{box-shadow:none}.task-add .task-add-advanced .desc,.task-add .task-add-form .desc{margin-top:24px;overflow:auto}.task-add .task-add-advanced .desc div[contenteditable=true],.task-add .task-add-form .desc div[contenteditable=true]{outline:none}.task-add .task-add-advanced .desc .mce-content-body img,.task-add .task-add-form .desc .mce-content-body img{max-width:100%}.task-add .task-add-advanced .desc .mce-content-body pre,.task-add .task-add-form .desc .mce-content-body pre{background:#f5f2f0;border-radius:5px;margin:7px 0;overflow:auto;padding:14px}.task-add .task-add-advanced .desc .mce-content-body[data-mce-placeholder]:not(.mce-visualblocks):before,.task-add .task-add-form .desc .mce-content-body[data-mce-placeholder]:not(.mce-visualblocks):before{color:#bbb}.task-add .task-add-advanced .advanced-option,.task-add .task-add-form .advanced-option{align-items:center;display:flex;margin-top:42px;z-index:1}.task-add .task-add-advanced .advanced-option>button,.task-add .task-add-form .advanced-option>button{transition:margin .2s}.task-add .task-add-advanced .advanced-option>button.advanced,.task-add .task-add-form .advanced-option>button.advanced{margin-left:24px}.task-add .task-add-advanced .advanced-option>button:focus,.task-add .task-add-form .advanced-option>button:focus{box-shadow:none}.task-add .task-add-advanced .advanced-option .advanced-priority,.task-add .task-add-form .advanced-option .advanced-priority{align-items:center;display:flex;height:34px;margin-left:24px}.task-add .task-add-advanced .advanced-option .advanced-priority>li,.task-add .task-add-form .advanced-option .advanced-priority>li{list-style:none;margin-left:3px}.task-add .task-add-advanced .advanced-option .advanced-priority>li .taskfont,.task-add .task-add-form .advanced-option .advanced-priority>li .taskfont{cursor:pointer;font-size:34px}.task-add .task-add-advanced .advanced-option .advanced-time,.task-add .task-add-form .advanced-option .advanced-time{align-items:center;cursor:pointer;display:flex;margin-left:20px;position:relative}.task-add .task-add-advanced .advanced-option .advanced-time .ivu-icon,.task-add .task-add-form .advanced-option .advanced-time .ivu-icon{font-size:32px}.task-add .task-add-advanced .advanced-option .advanced-time>em,.task-add .task-add-form .advanced-option .advanced-time>em{background:#8bcf70;border-radius:10px;box-shadow:0 0 0 1px #fff;color:#fff;font-family:"Monospaced Number","serif";font-size:12px;font-style:normal;height:20px;left:16px;line-height:20px;min-width:20px;padding:0 6px;position:absolute;text-align:center;top:-5px;transform:scale(.8);white-space:nowrap}.task-add .task-add-advanced{border:1px solid #e8e8e8;border-radius:8px;margin:-16px 0 0;padding:46px 32px 6px}.task-add .task-add-advanced .subtasks{background-color:#f8f8f8;border-radius:6px;margin-bottom:24px;padding:12px 16px}.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:focus,.task-add .task-add-advanced .subtasks .enter-input.empty .ivu-input:hover{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 .task-add-assist{align-items:center;display:flex;justify-content:flex-end;margin-top:6px}.task-add .task-add-assist .ivu-icon{color:#999;font-size:16px}.task-add .ivu-modal-footer{padding:26px 0 22px!important}.task-add-simple{padding:12px}.task-add-simple .ivu-input-wrapper{display:none}.task-add-simple .add-placeholder{color:#888;cursor:pointer;margin:-12px;padding:12px}.task-add-simple .add-placeholder .ivu-icon{margin-right:4px}.task-add-simple .add-placeholder:hover{color:#666}.task-add-simple .priority{align-items:center;display:none;margin-bottom:-3px;margin-top:10px;min-height:22px}.task-add-simple .priority>ul{align-items:center;display:flex;flex:1}.task-add-simple .priority>ul>li{list-style:none;margin-right:3px}.task-add-simple .priority>ul>li .taskfont{cursor:pointer;font-size:22px}.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{border-right:1px solid #f4f4f5;display:flex;padding:8px 12px}.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{cursor:pointer;display:block;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{align-items:flex-start;background-color:#fff;border:1px solid #dcdee2;border-radius:4px;color:#606266;display:none}.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{align-items:center;display:flex;height:31px;margin:0 4px}.task-add-row>div.row-add .add-input .priority>ul{align-items:center;display:flex;flex:1}.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{cursor:pointer;font-size:17px}.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-bottom:7px;padding-top: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{bottom:0;display:flex;flex-direction:column;left:0;padding:20px;position:absolute;right:0;top:0}.task-archived .archived-title{align-items:center;color:#333;display:flex;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.task-archived .archived-title .title-icon{align-items:center;display:flex;height:14px;margin-left:4px;margin-top:2px;width:14px}.task-archived .archived-title .title-icon>i{cursor:pointer}.task-archived .table-page-box{flex:1;height:0}.task-deleted{bottom:0;display:flex;flex-direction:column;left:0;padding:20px;position:absolute;right:0;top:0}.task-deleted .deleted-title{align-items:center;color:#333;display:flex;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.task-deleted .deleted-title .title-icon{align-items:center;display:flex;height:14px;margin-left:4px;margin-top:2px;width:14px}.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 -10px;min-height:120px;overflow:auto;padding:0 22px 12px 0}.task-detail .task-info{display:flex;flex:3;flex-direction:column;position:relative}.task-detail .task-info .head{align-items:center;color:#888;display:flex;height:42px;padding-bottom:10px;position:relative}.task-detail .task-info .head:before{background-color:#f4f5f5;bottom:0;content:"";height:1px;left:36px;position:absolute;right:0}.task-detail .task-info .head .icon{margin-right:18px}.task-detail .task-info .head .icon .task-menu-icon{align-items:center;display:flex}.task-detail .task-info .head .icon .task-menu-icon .ivu-icon{font-size:18px}.task-detail .task-info .head .icon .task-menu-icon .loading{height:18px;width:18px}.task-detail .task-info .head .icon .task-menu-icon .loading .common-loading{height:16px;width:16px}.task-detail .task-info .head .icon .task-menu-icon .uncomplete{color:#888}.task-detail .task-info .head .flow{align-items:center;display:flex;margin-right:10px}.task-detail .task-info .head .flow>span{border:1px solid #8bcf70;border-radius:4px;color:#8bcf70;cursor:pointer;display:inline-block;font-size:14px;height:26px;line-height:24px;overflow:hidden;padding:0 8px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.task-detail .task-info .head .flow>span.archived{background-color:hsla(0,0%,50%,.1);border-color:hsla(0,0%,50%,.1);color:#7f7f7f}.task-detail .task-info .head .flow>span.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.task-detail .task-info .head .flow>span.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.task-detail .task-info .head .flow>span.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.task-detail .task-info .head .flow>span.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.task-detail .task-info .head .nav{align-items:center;display:flex;flex:1;font-size:12px;height:40px;overflow:auto;width:0}.task-detail .task-info .head .nav::-webkit-scrollbar{display:none}.task-detail .task-info .head .nav>p{align-items:center;display:flex;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{align-items:center;display:flex;margin:0 32px}.task-detail .task-info .head .function .pick{margin-left:12px;margin-right:10px}.task-detail .task-info .head .function .open{cursor:pointer;font-size:22px;margin-left:12px;margin-top:-2px}.task-detail .task-info .head .function .menu{align-items:center;display:flex;margin-left:12px}.task-detail .task-info .head .function .menu .ivu-icon{color:#606266;font-size:22px}.task-detail .task-info .scroller{margin-left:28px;overflow-x:hidden;overflow-y:auto;padding-left:8px;padding-right:36px}.task-detail .task-info .scroller .title{margin-top:18px}.task-detail .task-info .scroller .title .ivu-input{border-color:transparent;font-size:24px;font-weight:500;line-height:1.4;padding:4px 0;resize:none}.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{background:#f5f2f0;border-radius:5px;margin:7px 0;overflow:auto;padding:14px}.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{align-items:center;color:#bbb;display:flex}.task-detail .task-info .scroller .items .item-label .taskfont{margin-right:4px}.task-detail .task-info .scroller .items .item-content{margin-left:12px;margin-top:5px}.task-detail .task-info .scroller .items .item-content>li{align-items:center;display:flex;line-height:26px;list-style:none}.task-detail .task-info .scroller .items .item-content>li .el-dropdown{cursor:pointer;display:flex}.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{align-items:center;display:flex;line-height:26px}.task-detail .task-info .scroller .items .item-content>li .picker-time .time{cursor:pointer}.task-detail .task-info .scroller .items .item-content>li .picker-time .ivu-tag{flex-shrink:0;height:20px;line-height:18px;margin-left:10px;padding:0 4px}.task-detail .task-info .scroller .items .item-content>li .picker-time .ivu-tag .ivu-tag-text{align-items:center;display:flex}.task-detail .task-info .scroller .items .item-content>li .picker-time .ivu-tag .ivu-tag-text .taskfont{font-size:14px;padding-right:3px;transform:scale(.9)}.task-detail .task-info .scroller .items .item-content.user{cursor:pointer;margin-top:1px}.task-detail .task-info .scroller .items .item-content.user .user-list{align-items:center;display:flex}.task-detail .task-info .scroller .items .item-content.user .user-list>div{margin-right:6px}.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{height:16px;margin:0;padding:2px;width: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;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.task-detail .task-info .scroller .items .item-content.file>li .file-size{color:#bbb;flex-shrink:0;font-size:12px;height:24px;padding-left:10px}.task-detail .task-info .scroller .items .item-content.file>li .file-menu{align-items:center;display:flex;opacity:0;padding-left:12px;transition:all .3s}.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{color:#aaa;cursor:pointer;font-size:14px;padding:0 4px;transition:color .3s}.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{opacity:.7;transform:translateX(0)}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-icon{align-items:center;cursor:pointer;display:flex;height:26px;line-height:26px;margin-right:6px;padding-top:1px;width:16px}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span{border:1px solid #8bcf70;border-radius:3px;color:#8bcf70;cursor:pointer;display:inline-block;font-size:12px;height:18px;line-height:16px;margin-right:3px;min-width:20px;padding:0 2px;text-align:center}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-name{display:flex;flex:1;margin-right:8px}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-name .ivu-input{border-color:transparent;line-height:20px;margin:-2px 0;padding:4px 0;resize:none}.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{cursor:pointer;font-size:13px;height:26px;line-height:26px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-time .time.overdue{color:#ed4014;font-weight:600}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-time .time.today{color:#f90;font-weight:500}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-time .clock{font-size:20px;margin:3px 2px;opacity:0;transform:translateX(50%);transition:all .2s}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-avatar{cursor:pointer;height:20px;margin-top:3px}.task-detail .task-info .scroller .items .item-content.subtask>li .ivu-icon-ios-loading{-webkit-animation:icon-loading-load .6s linear infinite;animation:icon-loading-load .6s linear infinite}.task-detail .task-info .scroller .items .item-content.nosub{margin-top:0}.task-detail .task-info .scroller .items .item-content.nosub>li .add-button,.task-detail .task-info .scroller .items .item-content.nosub>li .add-input{margin-top:-2px}.task-detail .task-info .scroller .add{margin-bottom:10px;margin-top:12px}.task-detail .task-info .scroller .add-input{margin-top:6px}.task-detail .task-info .scroller .add-input.loading .ivu-icon-ios-loading{-webkit-animation:icon-loading-load .6s linear infinite;animation:icon-loading-load .6s linear infinite}.task-detail .task-info .scroller .add-button{align-items:center;color:#bbb;cursor:pointer;display:flex;height:32px;margin-top:6px;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:#999}.task-detail .task-info .upload{display:none}.task-detail .task-dialog{display:flex;flex:2;flex-direction:column;flex-shrink:0;margin-top:22px;position:relative}.task-detail .task-dialog .head{align-items:center;color:#888;display:flex;height:40px;padding-bottom:10px;position:relative}.task-detail .task-dialog .head:before{background-color:#f4f5f5;bottom:0;content:"";height:1px;left:36px;position:absolute;right:0}.task-detail .task-dialog .head .icon{font-size:18px;width:18px}.task-detail .task-dialog .head .nav{align-items:center;color:#666;display:flex;flex:1;font-weight:500;padding-left:18px}.task-detail .task-dialog .head .nav>p{align-items:center;cursor:pointer;display:flex;margin-right:24px}.task-detail .task-dialog .head .nav>p.active{color:#555;cursor:default;font-size:16px;font-weight:600;margin-top:-2px}.task-detail .task-dialog .head .nav .refresh{align-items:center;display:flex;margin-left:-18px}.task-detail .task-dialog .head .nav .refresh>i{cursor:pointer;font-size:18px;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{height:12px;margin:3px;width:12px}.task-detail .task-dialog .no-dialog{display:flex;flex:1;flex-direction:column;position:relative}.task-detail .task-dialog .no-dialog .no-tip{display:none;flex:1;margin-left:36px}.task-detail .task-dialog .no-dialog .no-input{align-items:center;background-color:#f4f5f7;border-radius:10px;display:flex;margin:22px 0 0 36px;padding:10px 12px}.task-detail .task-dialog .no-dialog .no-input .ivu-input{background-color:transparent;border:0;resize:none}.task-detail .task-dialog .no-dialog .no-input .ivu-input:focus{box-shadow:none}.task-detail .task-dialog .no-dialog .no-input .no-send{display:none}.task-detail .task-dialog .no-dialog .no-input .no-send .ivu-badge{left:4px;position:absolute;top:5px;transform:scale(.6)}.task-detail .task-dialog .no-dialog .drag-over{align-items:center;background-color:hsla(0,0%,100%,.78);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.task-detail .task-dialog .no-dialog .drag-over:before{border:2px dashed #7b7b7b;border-radius:12px;bottom:0;content:"";left:36px;position:absolute;right:0;top:0}.task-detail .task-dialog .no-dialog .drag-over .drag-text{color:#666;font-size:18px;padding:12px}.task-detail .task-dialog .project-log{margin-left:36px}.task-detail .task-dialog .project-log .logs-activity{padding:22px 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{align-items:center;display:flex}.task-detail .task-dialog .project-log .logs-activity>li.logs-loading .common-loading{height:22px;margin:0;width:22px}.task-detail .task-dialog .dialog-wrapper .dialog-scroller{padding:0 16px 0 32px}.task-detail .task-dialog .dialog-wrapper .dialog-footer{padding:0 14px 0 28px}.task-detail .task-load{display:flex;left:50%;margin-top:6px;position:absolute;top:50%;transform:translate(-50%,-50%)}.task-detail .task-load .common-loading{height:32px;width:32px}.task-detail.open-dialog{flex-direction:row}.task-detail.open-dialog .task-info{overflow:auto}.task-detail.open-dialog .task-info .head .function{margin-right:2px}.task-detail.open-dialog .task-dialog{margin:0 0 0 18px;max-width:450px;min-width:320px}.task-detail.open-dialog .task-dialog:before{background-color:#f4f5f5;bottom:0;content:"";left:0;position:absolute;top:0;width:1px;z-index:1}.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{align-items:center;color:#999;display:flex;justify-content:center;margin-left:18px}.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{background-color:#fff;bottom:0;left:0;margin-left:8px;overflow:auto;padding:8px;position:absolute;right:0;top:40px;z-index:1}.task-detail.open-dialog .task-dialog .project-log .logs-activity{padding:22px 0 0 10px}.task-detail.completed .task-info:before{color:#19be6b;content:"\f373";font-family:Ionicons,serif;font-size:72px;opacity:.2;pointer-events:none;position:absolute;right:13%;top:0;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{color:#f90;font-size:16px;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{margin-top:12px;text-align:right}.task-detail-receive .receive-bottom>button+button{margin-left:4px}.task-detail-delete-file-popover{max-width:200px}.task-detail-delete-file-popover .buttons{margin-top:12px;text-align:right}.task-detail-delete-file-popover .buttons .ivu-btn-small{font-size:12px}.task-detail-user-popper .ivu-poptip-body-content{overflow:visible}.task-detail-avatar-buttons{margin-bottom:4px;margin-top:12px;position:absolute;right:14px;text-align:right;top:5px}.task-detail-avatar-buttons>button{font-size:12px;transform:scale(.9)}@media (max-width:768px){.task-detail .task-info .scroller{overflow-x:auto}.task-detail .task-dialog .no-dialog .no-input{padding-right:52px;position:relative}.task-detail .task-dialog .no-dialog .no-input .no-send{align-items:center;bottom:0;display:flex;font-size:18px;justify-content:center;position:absolute;right:0;top:0;width:46px}.task-detail .task-dialog .no-dialog .no-input .no-send .common-loading{height:20px;width:20px}}.task-menu-icon{position:relative}.task-menu-icon .loading{align-items:center;display:flex;height:16px;justify-content:center;width:16px}.task-menu-icon .loading .common-loading{height:14px;margin:0;width:14px}.task-menu-icon .ivu-icon{color:#ccc;cursor:pointer;font-size:16px}.task-menu-icon .ivu-icon.completed{color:#8bcf70}.task-menu-more-dropdown>li.task-menu-more-warp{list-style:none}.task-menu-more-dropdown>li.task-menu-more-warp>ul{max-height:320px;overflow:auto}.task-menu-more-dropdown>li.task-menu-more-warp>ul::-webkit-scrollbar{display:none}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .item{align-items:center;display:flex}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .item>i{color:#bbb;flex-shrink:0;font-size:18px;height:18px;line-height:18px;margin-right:8px;padding:0;width:18px}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .item>i.ivu-icon{font-size:16px}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow{padding:4px 0}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow>i{margin-right:3px}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow>i.check{color:#8bcf70}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow .flow-name{background:#f4f4f4;border-radius:4px;color:#595959;font-size:12px;height:20px;line-height:20px;padding:0 5px;white-space:nowrap}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow .flow-name.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow .flow-name.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow .flow-name.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow .flow-name.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li.load-flow{align-items:center;display:flex;justify-content:center;padding:8px}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li.load-flow .load-flow-warp{height:18px;width:18px}.task-menu-more-dropdown>li.task-menu-more-warp.medium>ul>li .flow .flow-name{height:24px;line-height:24px;padding:0 7px}.task-menu-more-dropdown>li.task-menu-more-warp.large>ul>li .flow .flow-name{font-size:13px;height:30px;line-height:30px;padding:0 8px}.task-priority{background:transparent;border:1px solid transparent;border-radius:3px;display:inline-block;font-size:13px;max-width:100%;overflow:hidden;padding:2px 5px;text-overflow:ellipsis;white-space:nowrap}.team-management{bottom:0;display:flex;flex-direction:column;left:0;padding:20px;position:absolute;right:0;top:0}.team-management .management-title{align-items:center;color:#333;display:flex;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.team-management .management-title .title-icon{align-items:center;display:flex;height:14px;margin-left:4px;margin-top:2px;width:14px}.team-management .management-title .title-icon>i{cursor:pointer}.team-management .team-email{align-items:center;display:flex}.team-management .team-email .ivu-icon{color:#8bcf70;font-size:16px;margin-left:6px}.team-management .team-email .ivu-tag{flex-shrink:0;height:18px;line-height:18px;overflow:hidden;padding:0 4px;text-overflow:ellipsis;transform:scale(.8);transform-origin:right center;white-space:nowrap}.team-management .table-page-box{flex:1;height:0}body.dark-mode-reverse .common-right-bottom .common-right-bottom-link,body.dark-mode-reverse .ivu-badge-count,body.dark-mode-reverse .ivu-btn-primary{color:#000}body.dark-mode-reverse .ivu-modal-mask{background-color:hsla(0,0%,90%,.6)}body.dark-mode-reverse .ivu-modal-content{box-shadow:0 4px 12px hsla(0,0%,100%,.15)}body.dark-mode-reverse .ivu-message-notice-content{border:1px solid #e3e8ed;box-shadow:0 1px 6px hsla(0,0%,100%,.2)}body.dark-mode-reverse .ivu-notice-notice,body.dark-mode-reverse .ivu-poptip-inner,body.dark-mode-reverse .ivu-select-dropdown,body.dark-mode-reverse .ivu-tooltip-inner{border:1px solid #e3e8ed;box-shadow:none}body.dark-mode-reverse .el-dropdown-menu{border-color:#e3e8ed;box-shadow:0 2px 12px 0 hsla(0,0%,100%,.1)}body.dark-mode-reverse .el-tooltip__popper.is-light{border:1px solid #e3e8ed;box-shadow:0 1px 6px hsla(0,0%,100%,.2)}body.dark-mode-reverse .drawer-overlay{background:hsla(0,0%,90%,.6)}body.dark-mode-reverse .drawer-overlay .overlay-body .overlay-close>a{color:#323232}body.dark-mode-reverse .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 hsla(0,0%,100%,.2)!important}body.dark-mode-reverse .project-list .project-head .project-titbox .project-icons>li.project-icon.active,body.dark-mode-reverse .project-list .project-head .project-titbox .project-title .top-text{color:#000}body.dark-mode-reverse .project-list .project-column>ul>li .column-task .task-item .task-progress .task-time.overdue{background-color:transparent;color:#ed4014}body.dark-mode-reverse .project-list .project-column>ul>li .column-task .task-item .task-progress .task-time.today{background-color:transparent;color:#f90}body.dark-mode-reverse .project-list .project-table .project-table-body .task-row>div.row-time .task-time.overdue{background-color:transparent;color:#ed4014}body.dark-mode-reverse .project-list .project-table .project-table-body .task-row>div.row-time .task-time.today{background-color:transparent;color:#f90}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-content{background-color:#e1e1e1}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-content .content-text{color:#fff}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-content{background-color:#8bcf70}body.dark-mode-reverse .file-icon:before{background-image:url(../images/file/dark/other.svg)}body.dark-mode-reverse .file-icon.archive:before{background-image:url(../images/file/dark/archive.svg)}body.dark-mode-reverse .file-icon.cad:before{background-image:url(../images/file/dark/cad.svg)}body.dark-mode-reverse .file-icon.code:before{background-image:url(../images/file/dark/code.svg)}body.dark-mode-reverse .file-icon.document:before{background-image:url(../images/file/dark/document.svg)}body.dark-mode-reverse .file-icon.drawio:before{background-image:url(../images/file/dark/drawio.svg)}body.dark-mode-reverse .file-icon.excel:before{background-image:url(../images/file/dark/excel.svg)}body.dark-mode-reverse .file-icon.flow:before{background-image:url(../images/file/dark/flow.svg)}body.dark-mode-reverse .file-icon.folder:before{background-image:url(../images/file/dark/folder.svg)}body.dark-mode-reverse .file-icon.media:before{background-image:url(../images/file/dark/media.svg)}body.dark-mode-reverse .file-icon.mind:before{background-image:url(../images/file/dark/mind.svg)}body.dark-mode-reverse .file-icon.ofd:before{background-image:url(../images/file/dark/ofd.svg)}body.dark-mode-reverse .file-icon.pdf:before{background-image:url(../images/file/dark/pdf.svg)}body.dark-mode-reverse .file-icon.picture:before{background-image:url(../images/file/dark/picture.svg)}body.dark-mode-reverse .file-icon.ppt:before{background-image:url(../images/file/dark/ppt.svg)}body.dark-mode-reverse .file-icon.sheet:before{background-image:url(../images/file/dark/sheet.svg)}body.dark-mode-reverse .file-icon.tif:before{background-image:url(../images/file/dark/tif.svg)}body.dark-mode-reverse .file-icon.txt:before{background-image:url(../images/file/dark/txt.svg)}body.dark-mode-reverse .file-icon.updir:before{background-image:url(../images/file/dark/updir.svg)}body.dark-mode-reverse .file-icon.upload:before{background-image:url(../images/file/dark/upload.svg)}body.dark-mode-reverse .file-icon.word:before{background-image:url(../images/file/dark/word.svg)}body.dark-mode-reverse .file-icon.wps:before{background-image:url(../images/file/dark/wps.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 hsla(0,0%,100%,.2)}body.dark-mode-reverse .page-dashboard .dashboard-wrapper .dashboard-block>li .block-title{color:rgba(0,0,0,.6);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:rgba(0,0,0,.7)}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-content .header-tips,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-nav .header-nav-box .header-right-four .ivu-dropdown .ivu-dropdown-rel .header-right-one-dropdown,body.dark-mode-reverse .page-index .page-warp .page-header .header-nav .header-nav-box .header-right-one .header-right-one-dropdown,body.dark-mode-reverse .page-index .page-warp .page-header .header-nav .header-nav-box .header-right-two{color:#000}body.dark-mode-reverse .page-index .page-warp .page-header-bottom{background-color:#efefef} +@charset "UTF-8";.file-icon:before{background-image:url(../images/file/light/other.svg);background-repeat:no-repeat;background-size:contain;content:""}.file-icon.archive:before{background-image:url(../images/file/light/archive.svg)}.file-icon.cad:before{background-image:url(../images/file/light/cad.svg)}.file-icon.code:before{background-image:url(../images/file/light/code.svg)}.file-icon.document:before{background-image:url(../images/file/light/document.svg)}.file-icon.drawio:before{background-image:url(../images/file/light/drawio.svg)}.file-icon.excel:before{background-image:url(../images/file/light/excel.svg)}.file-icon.flow:before{background-image:url(../images/file/light/flow.svg)}.file-icon.folder:before{background-image:url(../images/file/light/folder.svg)}.file-icon.media:before{background-image:url(../images/file/light/media.svg)}.file-icon.mind:before{background-image:url(../images/file/light/mind.svg)}.file-icon.ofd:before{background-image:url(../images/file/light/ofd.svg)}.file-icon.pdf:before{background-image:url(../images/file/light/pdf.svg)}.file-icon.picture:before{background-image:url(../images/file/light/picture.svg)}.file-icon.ppt:before{background-image:url(../images/file/light/ppt.svg)}.file-icon.sheet:before{background-image:url(../images/file/light/sheet.svg)}.file-icon.tif:before{background-image:url(../images/file/light/tif.svg)}.file-icon.txt:before{background-image:url(../images/file/light/txt.svg)}.file-icon.updir:before{background-image:url(../images/file/light/updir.svg)}.file-icon.upload:before{background-image:url(../images/file/light/upload.svg)}.file-icon.word:before{background-image:url(../images/file/light/word.svg)}.file-icon.wps:before{background-image:url(../images/file/light/wps.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);transform-origin:center top;transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1)}.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);transform-origin:center bottom;transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1)}.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);transform-origin:top left;transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1)}.el-zoom-in-left-enter,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:height .3s ease-in-out,padding-top .3s ease-in-out,padding-bottom .3s ease-in-out}.horizontal-collapse-transition{transition:width .3s ease-in-out,padding-left .3s ease-in-out,padding-right .3s 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-display:"auto";font-family:element-icons;font-style:normal;font-weight:400;src:url(fonts/element-icons.woff) format("woff"),url(fonts/element-icons.ttf) format("truetype")}[class*=" el-icon-"],[class^=el-icon-]{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:element-icons!important;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none;vertical-align:baseline}.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{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.el-avatar{background:#c0c4cc;box-sizing:border-box;color:#fff;display:inline-block;font-size:14px;height:40px;line-height:40px;overflow:hidden;text-align:center;width:40px}.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{height:40px;line-height:40px;width:40px}.el-avatar--medium{height:36px;line-height:36px;width:36px}.el-avatar--small{height:28px;line-height:28px;width:28px}.el-tooltip:focus:hover,.el-tooltip:focus:not(.focusing){outline-width:0}.el-tooltip__popper{word-wrap:break-word;border-radius:4px;font-size:14px;line-height:1.2;min-width:10px;padding:10px;position:absolute;z-index:2000}.el-tooltip__popper .popper__arrow,.el-tooltip__popper .popper__arrow:after{border-color:transparent;border-style:solid;display:block;height:0;position:absolute;width:0}.el-tooltip__popper .popper__arrow{border-width:6px}.el-tooltip__popper .popper__arrow:after{border-width:5px;content:" "}.el-tooltip__popper[x-placement^=top]{margin-bottom:12px}.el-tooltip__popper[x-placement^=top] .popper__arrow{border-bottom-width:0;border-top-color:#585e6a;bottom:-6px}.el-tooltip__popper[x-placement^=top] .popper__arrow:after{border-bottom-width:0;border-top-color:#585e6a;bottom:1px;margin-left:-5px}.el-tooltip__popper[x-placement^=bottom]{margin-top:12px}.el-tooltip__popper[x-placement^=bottom] .popper__arrow{border-bottom-color:#585e6a;border-top-width:0;top:-6px}.el-tooltip__popper[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#585e6a;border-top-width:0;margin-left:-5px;top:1px}.el-tooltip__popper[x-placement^=right]{margin-left:12px}.el-tooltip__popper[x-placement^=right] .popper__arrow{border-left-width:0;border-right-color:#585e6a;left:-6px}.el-tooltip__popper[x-placement^=right] .popper__arrow:after{border-left-width:0;border-right-color:#585e6a;bottom:-5px;left:1px}.el-tooltip__popper[x-placement^=left]{margin-right:12px}.el-tooltip__popper[x-placement^=left] .popper__arrow{border-left-color:#585e6a;border-right-width:0;right:-6px}.el-tooltip__popper[x-placement^=left] .popper__arrow:after{border-left-color:#585e6a;border-right-width:0;bottom:-5px;margin-left:-5px;right:1px}.el-tooltip__popper.is-dark{background:#585e6a;color:#fff}.el-tooltip__popper.is-light{background:#fff;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-popover{background:#fff;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);color:#606266;font-size:14px;line-height:1.4;min-width:150px;padding:12px;position:absolute;text-align:justify;word-break:break-all;z-index:2000}.el-popover--plain{padding:18px 20px}.el-popover__title{color:#303133;font-size:16px;line-height:1;margin-bottom:12px}.el-popover:focus,.el-popover:focus:active,.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-button{-webkit-appearance:none;background:#fff;border:1px solid #dcdfe6;border-radius:4px;box-sizing:border-box;color:#606266;cursor:pointer;display:inline-block;font-size:14px;font-weight:500;line-height:1;margin:0;outline:none;padding:12px 20px;text-align:center;transition:.1s;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;white-space:nowrap}.el-button+.el-button{margin-left:10px}.el-button.is-round{padding:12px 20px}.el-button:focus,.el-button:hover{background-color:#ecf5ff;border-color:#c6e2ff;color:#409eff}.el-button:active{border-color:#3a8ee6;color:#3a8ee6;outline:none}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon-]+span{margin-left:5px}.el-button.is-plain:focus,.el-button.is-plain:hover{background:#fff;border-color:#409eff;color:#409eff}.el-button.is-plain:active{background:#fff;outline:none}.el-button.is-active,.el-button.is-plain:active{border-color:#3a8ee6;color:#3a8ee6}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{background-color:#fff;background-image:none;border-color:#ebeef5;color:#c0c4cc;cursor:not-allowed}.el-button.is-disabled.el-button--text{background-color:transparent}.el-button.is-disabled.is-plain,.el-button.is-disabled.is-plain:focus,.el-button.is-disabled.is-plain:hover{background-color:#fff;border-color:#ebeef5;color:#c0c4cc}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:hsla(0,0%,100%,.35);border-radius:inherit;bottom:-1px;content:"";left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px}.el-button.is-round{border-radius:20px;padding:12px 23px}.el-button.is-circle{border-radius:50%;padding:12px}.el-button--primary{background-color:#409eff;border-color:#409eff;color:#fff}.el-button--primary:focus,.el-button--primary:hover{background:#66b1ff;border-color:#66b1ff;color:#fff}.el-button--primary:active{outline:none}.el-button--primary.is-active,.el-button--primary:active{background:#3a8ee6;border-color:#3a8ee6;color:#fff}.el-button--primary.is-disabled,.el-button--primary.is-disabled:active,.el-button--primary.is-disabled:focus,.el-button--primary.is-disabled:hover{background-color:#a0cfff;border-color:#a0cfff;color:#fff}.el-button--primary.is-plain{background:#ecf5ff;border-color:#b3d8ff;color:#409eff}.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover{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:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover{background-color:#ecf5ff;border-color:#d9ecff;color:#8cc5ff}.el-button--success{background-color:#67c23a;border-color:#67c23a;color:#fff}.el-button--success:focus,.el-button--success:hover{background:#85ce61;border-color:#85ce61;color:#fff}.el-button--success:active{outline:none}.el-button--success.is-active,.el-button--success:active{background:#5daf34;border-color:#5daf34;color:#fff}.el-button--success.is-disabled,.el-button--success.is-disabled:active,.el-button--success.is-disabled:focus,.el-button--success.is-disabled:hover{background-color:#b3e19d;border-color:#b3e19d;color:#fff}.el-button--success.is-plain{background:#f0f9eb;border-color:#c2e7b0;color:#67c23a}.el-button--success.is-plain:focus,.el-button--success.is-plain:hover{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:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover{background-color:#f0f9eb;border-color:#e1f3d8;color:#a4da89}.el-button--warning{background-color:#e6a23c;border-color:#e6a23c;color:#fff}.el-button--warning:focus,.el-button--warning:hover{background:#ebb563;border-color:#ebb563;color:#fff}.el-button--warning:active{outline:none}.el-button--warning.is-active,.el-button--warning:active{background:#cf9236;border-color:#cf9236;color:#fff}.el-button--warning.is-disabled,.el-button--warning.is-disabled:active,.el-button--warning.is-disabled:focus,.el-button--warning.is-disabled:hover{background-color:#f3d19e;border-color:#f3d19e;color:#fff}.el-button--warning.is-plain{background:#fdf6ec;border-color:#f5dab1;color:#e6a23c}.el-button--warning.is-plain:focus,.el-button--warning.is-plain:hover{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:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover{background-color:#fdf6ec;border-color:#faecd8;color:#f0c78a}.el-button--danger{background-color:#f56c6c;border-color:#f56c6c;color:#fff}.el-button--danger:focus,.el-button--danger:hover{background:#f78989;border-color:#f78989;color:#fff}.el-button--danger:active{outline:none}.el-button--danger.is-active,.el-button--danger:active{background:#dd6161;border-color:#dd6161;color:#fff}.el-button--danger.is-disabled,.el-button--danger.is-disabled:active,.el-button--danger.is-disabled:focus,.el-button--danger.is-disabled:hover{background-color:#fab6b6;border-color:#fab6b6;color:#fff}.el-button--danger.is-plain{background:#fef0f0;border-color:#fbc4c4;color:#f56c6c}.el-button--danger.is-plain:focus,.el-button--danger.is-plain:hover{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:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover{background-color:#fef0f0;border-color:#fde2e2;color:#f9a7a7}.el-button--info{background-color:#909399;border-color:#909399;color:#fff}.el-button--info:focus,.el-button--info:hover{background:#a6a9ad;border-color:#a6a9ad;color:#fff}.el-button--info:active{outline:none}.el-button--info.is-active,.el-button--info:active{background:#82848a;border-color:#82848a;color:#fff}.el-button--info.is-disabled,.el-button--info.is-disabled:active,.el-button--info.is-disabled:focus,.el-button--info.is-disabled:hover{background-color:#c8c9cc;border-color:#c8c9cc;color:#fff}.el-button--info.is-plain{background:#f4f4f5;border-color:#d3d4d6;color:#909399}.el-button--info.is-plain:focus,.el-button--info.is-plain:hover{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:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover{background-color:#f4f4f5;border-color:#e9e9eb;color:#bcbec2}.el-button--medium{border-radius:4px;font-size:14px;padding:10px 20px}.el-button--medium.is-round{padding:10px 20px}.el-button--medium.is-circle{padding:10px}.el-button--small{border-radius:3px;font-size:12px;padding:9px 15px}.el-button--small.is-round{padding:9px 15px}.el-button--small.is-circle{padding:9px}.el-button--mini{border-radius:3px;font-size:12px;padding:7px 15px}.el-button--mini.is-round{padding:7px 15px}.el-button--mini.is-circle{padding:7px}.el-button--text{background:transparent;border-color:transparent;color:#409eff;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{background-color:transparent;border-color:transparent;color:#66b1ff}.el-button--text:active{background-color:transparent;color:#3a8ee6}.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover,.el-button--text:active{border-color:transparent}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{content:"";display:table}.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-bottom-right-radius:0;border-top-right-radius:0}.el-button-group>.el-button:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-top-left-radius:4px;border-top-right-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.is-active,.el-button-group>.el-button:not(.is-disabled):active,.el-button-group>.el-button:not(.is-disabled):focus,.el-button-group>.el-button:not(.is-disabled):hover{z-index:1}.el-button-group>.el-dropdown>.el-button{border-bottom-left-radius:0;border-left-color:hsla(0,0%,100%,.5);border-top-left-radius:0}.el-button-group .el-button--primary:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-popper .popper__arrow,.el-popper .popper__arrow:after{border-color:transparent;border-style:solid;display:block;height:0;position:absolute;width:0}.el-popper .popper__arrow{border-width:6px;filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.el-popper .popper__arrow:after{border-width:6px;content:" "}.el-popper[x-placement^=top]{margin-bottom:12px}.el-popper[x-placement^=top] .popper__arrow{border-bottom-width:0;border-top-color:#ebeef5;bottom:-6px;left:50%;margin-right:3px}.el-popper[x-placement^=top] .popper__arrow:after{border-bottom-width:0;border-top-color:#fff;bottom:1px;margin-left:-6px}.el-popper[x-placement^=bottom]{margin-top:12px}.el-popper[x-placement^=bottom] .popper__arrow{border-bottom-color:#ebeef5;border-top-width:0;left:50%;margin-right:3px;top:-6px}.el-popper[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#fff;border-top-width:0;margin-left:-6px;top:1px}.el-popper[x-placement^=right]{margin-left:12px}.el-popper[x-placement^=right] .popper__arrow{border-left-width:0;border-right-color:#ebeef5;left:-6px;margin-bottom:3px;top:50%}.el-popper[x-placement^=right] .popper__arrow:after{border-left-width:0;border-right-color:#fff;bottom:-6px;left:1px}.el-popper[x-placement^=left]{margin-right:12px}.el-popper[x-placement^=left] .popper__arrow{border-left-color:#ebeef5;border-right-width:0;margin-bottom:3px;right:-6px;top:50%}.el-popper[x-placement^=left] .popper__arrow:after{border-left-color:#fff;border-right-width:0;bottom:-6px;margin-left:-6px;right:1px}.el-dropdown{color:#606266;display:inline-block;font-size:14px;position:relative}.el-dropdown .el-button-group{display:block}.el-dropdown .el-button-group .el-button{float:none}.el-dropdown .el-dropdown__caret-button{border-left:none;padding-left:5px;padding-right:5px;position:relative}.el-dropdown .el-dropdown__caret-button:before{background:hsla(0,0%,100%,.5);bottom:5px;content:"";display:block;left:0;position:absolute;top:5px;width:1px}.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{bottom:0;top: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]{color:#bbb;cursor:not-allowed}.el-dropdown-menu{background-color:#fff;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);left:0;margin:5px 0;padding:10px 0;position:absolute;top:0;z-index:10}.el-dropdown-menu__item{color:#606266;cursor:pointer;font-size:14px;line-height:36px;list-style:none;margin:0;outline:none;padding:0 20px}.el-dropdown-menu__item:focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:#f4f5f7;color:#606266}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid #ebeef5;margin-top:6px;position:relative}.el-dropdown-menu__item--divided:before{background-color:#fff;content:"";display:block;height:6px;margin:0 -20px}.el-dropdown-menu__item.is-disabled{color:#bbb;cursor:default;pointer-events:none}.el-dropdown-menu--medium{padding:6px 0}.el-dropdown-menu--medium .el-dropdown-menu__item{font-size:14px;line-height:30px;padding:0 17px}.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{font-size:13px;line-height:27px;padding:0 15px}.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{font-size:12px;line-height:24px;padding:0 10px}.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{background-color:#fff;border:1px solid #ebeef5;border-radius:8px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-sizing:border-box;display:flex;overflow:hidden;padding:14px 26px 14px 13px;position:fixed;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;width:330px}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:13px;margin-right:8px}.el-notification__title{color:#303133;font-size:16px;font-weight:700;margin:0}.el-notification__content{color:#606266;font-size:14px;line-height:21px;margin:6px 0 0;text-align:justify}.el-notification__content p{margin:0}.el-notification__icon{font-size:24px;height:24px;width:24px}.el-notification__closeBtn{color:#909399;cursor:pointer;font-size:16px;position:absolute;right:15px;top:18px}.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:translateX(100%)}.el-notification-fade-enter.left{left:0;transform:translateX(-100%)}.el-notification-fade-leave-active{opacity:0}.el-dropdown-menu__item{min-width:100px}.el-dropdown-menu__item .item.red,.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 rgba(0,0,0,.2)}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow{border-top-color:hsla(0,0%,85%,.5)}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow{border-bottom-color:hsla(0,0%,85%,.5)}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow{border-left-color:hsla(0,0%,85%,.5)}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow{border-right-color:hsla(0,0%,85%,.5)}.el-popover{border-width:0;box-shadow:0 1px 6px rgba(0,0,0,.2)}@font-face{font-family:zenicon;src:url(../css/fonts/zenicon.woff2) format("woff2")}.ft.icon{word-wrap:normal;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;-webkit-font-feature-settings:"liga";direction:ltr;font-family:zenicon,serif;letter-spacing:normal;line-height:1;padding-left:1px;text-transform:none;transform:scale(1.2);transform-origin:50% 0;white-space:nowrap}.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(../css/fonts/taskfont.woff2) format("woff2"),url(../css/fonts/taskfont.woff) format("woff"),url(../css/fonts/taskfont.ttf) format("truetype")}.taskfont{-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:.2px;-moz-osx-font-smoothing:grayscale;font-family:taskfont,"serif"!important;font-size:16px;font-style:normal}.app-view-loading{align-items:center;background-color:hsla(0,0%,100%,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:99999}.app-view-loading>div{text-align:center}.app-view-loading>div>div{color:#ccc;font:11px verdana;letter-spacing:1px;line-height:16px;margin:0;text-transform:uppercase}.app-view-loading>div>span{-webkit-animation:app-view-loadanim 1s infinite alternate;animation:app-view-loadanim 1s infinite alternate;background:#007db6;border-radius:8px;display:inline-block;height:8px;margin:2px;vertical-align:middle;width:8px}.app-view-loading>div>span:nth-of-type(2){-webkit-animation-delay:.2s;animation-delay:.2s;background:#008fb2}.app-view-loading>div>span:nth-of-type(3){-webkit-animation-delay:.4s;animation-delay:.4s;background:#009b9e}.app-view-loading>div>span:nth-of-type(4){-webkit-animation-delay:.6s;animation-delay:.6s;background:#00a77d}.app-view-loading>div>span:nth-of-type(5){-webkit-animation-delay:.8s;animation-delay:.8s;background:#00b247}.app-view-loading>div>span:nth-of-type(6){-webkit-animation-delay:1s;animation-delay:1s;background:#5ab027}.app-view-loading>div>span:nth-of-type(7){-webkit-animation-delay:1.2s;animation-delay:1.2s;background:#a0b61e}@-webkit-keyframes app-view-loadanim{0%{opacity:0}to{opacity:1}}@keyframes app-view-loadanim{0%{opacity:0}to{opacity:1}}.overlay-y{overflow-y:overlay!important}.overlay-y::-webkit-scrollbar{height:10px;width:10px}.overlay-y::-webkit-scrollbar-thumb{background:transparent;border-radius:10px}.overlay-y::-webkit-scrollbar-thumb:active{background:rgba(0,0,0,.5);border-radius:10px}.overlay-y:hover::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);background-clip:content-box;border:2px solid transparent}.overlay-y:hover::-webkit-scrollbar-thumb:hover{border-bottom-width:0;border-top-width:0}.overlay-y::-webkit-scrollbar-track{background:transparent;border-radius:10px}.overlay-none::-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:#8bcf70}.common-circle .common-circle-g-path-core{fill:#8bcf70;transform:scale(.56);transform-origin:50%}.drawer-overlay{background:hsla(0,0%,4%,.76);box-sizing:border-box;display:flex;flex-direction:column;height:0;justify-content:flex-end;left:0;opacity:0;outline:none;pointer-events:none;position:fixed;top:0;width:0;z-index:1000}.drawer-overlay .overlay-mask{bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.drawer-overlay .overlay-body{display:flex;flex-direction:column;height:100%;max-height:100%;max-width:100%;width:100%;z-index:2}.drawer-overlay .overlay-body .overlay-close{align-items:flex-end;display:flex;flex-shrink:0;justify-content:flex-end}.drawer-overlay .overlay-body .overlay-close>a{align-items:center;color:#dbdbde;display:flex;height:40px;justify-content:center;width:40px}.drawer-overlay .overlay-body .overlay-close>a .icon{height:24px;width:24px}.drawer-overlay .overlay-body .overlay-close>a>svg{transition:all .3s}.drawer-overlay .overlay-body .overlay-close>a:hover{color:#fff}.drawer-overlay .overlay-body .overlay-close>a:hover>svg{transform:rotate(-90deg)}.drawer-overlay .overlay-body .overlay-resize{height:5px;margin-bottom:-5px;width:100%;z-index:1}.drawer-overlay .overlay-body .overlay-content{background:#fff;border-radius:18px 18px 0 0;cursor:default;flex:1;opacity:0;position:relative;transform:translateY(15%) scale(.98)}.drawer-overlay.overlay-visible{height:100%;opacity:1;pointer-events:auto;transition:opacity .2s ease;width:100%}.drawer-overlay.overlay-visible .overlay-body .overlay-content{opacity:1;transform:translate(0) scale(1);transition:opacity .2s ease,transform .3s ease}.drawer-overlay.overlay-hide{height:100%;transition:opacity .2s ease;width:100%}.drawer-overlay.overlay-hide .overlay-body .overlay-content{transform:translateY(15%) scale(.98);transition:opacity .2s ease,transform .2s ease}.drawer-overlay.right{flex-direction:row;justify-content:flex-end}.drawer-overlay.right .overlay-body{flex-direction:row}.drawer-overlay.right .overlay-body .overlay-close{align-items:flex-start}.drawer-overlay.right .overlay-body .overlay-resize{height:100%;margin-right:-5px;width:5px;z-index:1}.drawer-overlay.right .overlay-body .overlay-content{border-radius:18px 0 0 18px;transform:translate(15%) scale(.98)}.drawer-overlay.right.overlay-visible .overlay-body .overlay-content{transform:translate(0) scale(1)}.drawer-overlay.right.overlay-hide .overlay-body .overlay-content{transform:translate(15%) scale(.98)}.img-upload-modal .ivu-modal-mask{z-index:1001}.img-upload-modal .ivu-modal-no-mask{background-color:rgba(55,55,55,.2)}.img-upload-modal .ivu-modal-wrap{z-index:1001}.imgcomp-upload-list{background:#fff;border:1px solid transparent;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.2);display:inline-block;height:60px;line-height:60px;margin-right:4px;overflow:hidden;position:relative;text-align:center;vertical-align:top;width:60px}.imgcomp-upload-list .imgcomp-upload-img{background-position:50%;background-size:cover;height:100%;left:0;position:absolute;top:0;width:100%}.imgcomp-upload-list .imgcomp-upload-list-cover{background:rgba(0,0,0,.6);bottom:0;display:none;left:0;position:absolute;right:0;top:0}.imgcomp-upload-list .imgcomp-upload-list-cover i{color:#fff;cursor:pointer;font-size:24px;margin:0;transition:all .2s;vertical-align:middle}.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:rgba(0,0,0,.68);height:100%}.imgcomp-upload-list .ivu-progress .ivu-progress-outer .ivu-progress-inner{margin:0 auto;width:88%}.imgcomp-upload-list:hover .imgcomp-upload-list-cover{display:block}.img-upload-foot,.img-upload-foot .img-upload-foot-input{align-items:center;display:flex;justify-content:flex-end}.img-upload-foot .img-upload-foot-input{flex:1;text-align:left}.img-upload-foot .img-upload-foot-input .img-upload-foot-httptitle{cursor:pointer;margin-right:22px;padding-left:3px}.add-box{background:#fff;border:1px dashed #dddee1;border-radius:4px;display:inline-block;height:60px;line-height:60px;overflow:hidden;position:relative;text-align:center;vertical-align:top;width:60px}.add-box .add-box-icon i{padding-bottom:2px;vertical-align:middle}.add-box .add-box-upload{background:rgba(0,0,0,.6);color:#fff;display:none;height:100%;left:0;padding-top:9px;position:absolute;top:0;width:100%}.add-box .add-box-upload .add-box-item{cursor:pointer;height:22px;line-height:22px}.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{font-size:12px;transition:all .2s}.add-box .add-box-upload .add-box-item:hover span{font-size:14px}.add-box em{font-style:normal}.add-box:hover{border-color:rgba(0,0,0,.6)}.add-box:hover .add-box-upload{display:block}.callback-add-box{background:transparent;border:0;display:block;height:25px;line-height:25px;width:auto}.callback-add-box .add-box-icon{display:none}.callback-add-box .add-box-upload{background:transparent;color:#333;display:block;padding:0;width:auto}.callback-add-box .add-box-upload>div{display:inline-block;padding-right:10px}.browse-load{margin:20px;text-align:center}.browse-list{max-height:540px;overflow:auto}.browse-list .browse-item{cursor:pointer;display:inline-block;margin:10px 15px;position:relative;text-align:center}.browse-list .browse-item .browse-img{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAABxCAAAAABg5GeyAAACW0lEQVR4Ae3XVRLjMBAE0L3/rSwKM3OcSNPyLVYOLvM6UD0Bd03LVe9XH+RlhlRSSSWVVFJJJZVUUkkllVRSSSWVVFJJJZVUUkl9WyqppJJKKqmkkgpURP17xngOAR5NxW5wlJ9MaLQh83F4NHWmd/gZtdVBaOldfDB1bq5UpJFbFOC6LKnYrkRO209PAw+hIuzWB8Ep5es8HvYo4z4tE1X8UeRwlMM2D5Bzkc7kj6Bi3VTKDDwEeUcrMxrUvGDXTnHa6kK69SDN9sgq1clxKSbNHqqnYmdri81Q9QHf1JPt1Frncaib2XbiTKL2GkHaurnY9LOulMV0O7G6Kw+g9sw2ohhm62KezVJaaufjWC1TnOkr1exilJ7Ji0vxCCqO9V4UwV4PYr9+apouhGYLKfnahdpqegjmeoXOpXgANe70pKT6Zhu19qkY2nC0PZS527lQOyInqr8Uvc5jqfUb1X+PGh5IhW90S2quh3FQC2XRcF66TUkTXPcLKm5FtdR9RJq+2hWII7UpFtmsQLEyzsdJtkxxpr6gLotbUSlV9yeT0Trmzk2XPdUThLYarUbWOY9j04xXQ2u+pMZLYSumGmNUH3HbM9qOAwSHodN2Pks25F2j3aI7+IxqNsB+YLWb16ukSjiW4xNB0gMoMfApBS/XZQgi3p9/5RsiKNKZEOwYFVIF5VyTyD19sbyjIJiNJRZxpNbx2S8sGKvGZNHJBniBu9Wy5WxjGuQFqIAcBHiRGyt4ua5gSCWVVFJJJZVUUkkllVRSSSWVVFJJJZVUUkkllVRSSSWVVFI/AgO0SXIVYHeGAAAAAElFTkSuQmCC);background-position:50%;background-repeat:no-repeat;background-size:cover;height:64px;width:64px}.browse-list .browse-item .browse-title{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:64px}.browse-list .browse-item .browse-icon{background-color:rgba(0,0,0,.5);color:#fff;font-size:36px;height:64px;left:0;padding-top:15px;position:absolute;top:0;width:100%}.browse-list-disabled{position:relative}.browse-list-disabled:after{background-color:hsla(0,0%,100%,.9);content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.common-loading{-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite;height:30px;margin:auto;max-height:100%;max-width:100%;overflow:hidden;transform-origin:center center;width:30px}.common-loading .common-path{fill:none;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite,color 6s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite,color 6s ease-in-out infinite}@-webkit-keyframes rotate{to{transform:rotate(1turn)}}@keyframes rotate{to{transform:rotate(1turn)}}@-webkit-keyframes 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 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}}@-webkit-keyframes color{0%,to{stroke:#d62d20}40%{stroke:#0057e7}66%{stroke:#008744}80%,90%{stroke:#ffa700}}@keyframes color{0%,to{stroke:#d62d20}40%{stroke:#0057e7}66%{stroke:#008744}80%,90%{stroke:#ffa700}}.app-scroller-y{-webkit-overflow-scrolling:touch;bottom:0;left:0;overflow-x:hidden;overflow-y:auto;position:absolute;right:0;top:0}.app-scroller-y .app-scroller-bottom{height:0;margin:0;padding:0}.app-scroller-y.static{flex:1;position:static}.common-spinner{bottom:20px;display:none;height:30px;margin:0 auto;position:fixed;right:20px;width:30px;z-index:9999}.common-spinner .common-circular{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.teditor-box .tox.tox-silver-sink,.teditor-transfer .tox.tox-silver-sink{z-index:13000}.teditor-box{min-height:22px;position:relative}.teditor-box .icon-inline{color:#bbb;left:0;position:absolute;top:0}.teditor-box textarea{opacity:0}.teditor-box .tox-tinymce{border-color:#dddee1;border-radius:4px;box-shadow:none;box-sizing:border-box;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{height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%}.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{height:180px;overflow:hidden;position:relative;width:100%}.teditor-loadedstyle{max-height:inherit;overflow:inherit;position:relative;width:100%}.upload-control{display:none;height:0;overflow:hidden;width:0}.tox-tinymce-inline{z-index:100000}.quick-edit{align-items:center;display:flex;max-width:100%}.quick-edit .quick-input{flex:1;max-width:100%;position:relative}.quick-edit .quick-input .quick-loading{align-items:center;bottom:0;display:flex;position:absolute;right:8px;top:0}.quick-edit .quick-input .quick-loading .common-loading{height:14px;margin:0;width:14px}.quick-edit .quick-text{align-items:center;height:20px;line-height:20px;margin-right:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-edit .quick-icon{cursor:pointer;display:none;font-size:16px}.quick-edit.quick-always .quick-icon{display:inline-block;opacity:.3;transition:opacity .2s}.ivu-table-row-hover .quick-edit .quick-icon,.quick-edit:hover .quick-icon{display:inline-block;opacity:1}.common-tag-input{background:#fff;border:1px solid #dddee1;border-radius:4px;color:#495060;cursor:text;display:inline-block;line-height:normal;min-height:32px;padding:2px 7px;position:relative;transition:all .2s;vertical-align:middle;width:100%}.common-tag-input:hover{border-color:#a2d98d}.common-tag-input.focus{border-color:#a2d98d;box-shadow:0 0 0 2px rgba(139,207,112,.2)}.common-tag-input .tags-input,.common-tag-input .tags-item{background-color:#f1f8ff;border-radius:3px;color:#495060;float:left;line-height:22px;margin:2px 6px 2px 0;padding:0 20px 0 6px;position:relative}.common-tag-input .tags-input .tags-content,.common-tag-input .tags-item .tags-content{line-height:22px}.common-tag-input .tags-input .tags-del,.common-tag-input .tags-item .tags-del{cursor:pointer;height:22px;position:absolute;right:0;text-align:center;top:-1px;width:20px}.common-tag-input .tags-input{-webkit-appearance:none;background-color:inherit;border:none;color:inherit;height:22px;line-height:22px;max-width:80%;outline:none;overflow:hidden;padding:0;resize:none}.common-tag-input .tags-input::-moz-placeholder{color:#bbb}.common-tag-input .tags-input:-ms-input-placeholder{color:#bbb}.common-tag-input .tags-input::placeholder{color:#bbb}.common-tag-input .tags-placeholder{color:hsla(0,0%,100%,0);left:0;position:absolute;top:0;z-index:-1}.common-tag-input:after{clear:both;content:"";display:block;height:0}.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 rgba(237,64,20,.2)}.common-avatar{position:relative}.common-avatar.avatar-wrapper{align-items:center;display:flex}.common-avatar.avatar-wrapper .avatar-box{align-items:center;border-radius:50%;display:flex;position:relative}.common-avatar.avatar-wrapper .avatar-box .avatar-default{background-color:transparent}.common-avatar.avatar-wrapper .avatar-box .avatar-text{background-color:#8bcf70}.common-avatar.avatar-wrapper .avatar-box .avatar-char{display:inline-block;font-size:15px;line-height:inherit}.common-avatar.avatar-wrapper .avatar-box>em{background-color:#f90;border:1px solid #fff;border-radius:50%;bottom:0;height:8px;position:absolute;right:0;transform-origin:right bottom;width:8px;z-index:1}.common-avatar.avatar-wrapper .avatar-box.online>em{background-color:#8bcf70}.common-avatar.avatar-wrapper .avatar-name{overflow:hidden;padding-left:6px;text-overflow:ellipsis;white-space:nowrap}.common-avatar-transfer{line-height:1.5;padding:4px 2px}.common-avatar-transfer>p{padding:1px 2px}.common-avatar-transfer .avatar-icons{align-items:center;border-top:1px solid hsla(240,5%,96%,.5);display:flex;margin-top:12px;padding:8px 0 2px}.common-avatar-transfer .avatar-icons>i{color:#f4f4f5;cursor:pointer;font-size:22px;margin-right:12px}.common-avatar-transfer .avatar-icons>i:last-child{margin-right:0}.common-avatar-transfer .avatar-icons>i:hover{color:#fff}.common-user{position:relative;white-space:normal}.common-user .common-user-loading{align-items:center;bottom:0;display:flex;position:absolute;right:10px;top:2px}.common-user .common-user-loading .common-loading{height:14px;width:14px}.common-user.hidden-input .ivu-select-selection{padding:0 4px}.common-user.hidden-input .ivu-select-selection .ivu-select-input{display:none}.common-user-transfer .user-input-option,.common-user-transfer .user-input-option .user-input-avatar{align-items:center;display:flex}.common-user-transfer .user-input-option .user-input-avatar .avatar{height:26px;line-height:26px;width:26px}.common-user-transfer .user-input-option .user-input-nickname{flex:1;margin-left:10px}.common-user-transfer .user-input-option .user-input-userid{color:#ccc;font-size:12px;margin-left:10px;transition:margin .1s}.common-user-transfer .ivu-select-item.ivu-select-item-selected:after{top:8px}.common-user-transfer .ivu-select-item.ivu-select-item-selected .user-input-option .user-input-userid{margin-right:16px}.common-user-transfer .user-drop-prepend{border-bottom:1px solid #f1f1f1;color:#c5c8ce;font-size:12px;line-height:20px;margin-bottom:5px;padding-bottom:5px;text-align:center}.report{height:100%;padding:20px}.report .report-list-wrap{display:flex;flex-direction:column;height:100%;padding-top:53px;position:absolute;top:0;width:100%}.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{background:#fff;position:relative;z-index:2}.report .ivu-tabs .ivu-tabs-content{height:100%;margin-top:-53px;padding-top:53px;width:100%}.report-detail{display:flex;flex-direction:column;height:100%}.report-detail .report-title{border-bottom:1px solid #eee;flex-shrink:0;font-size:16px;font-weight:700;margin-bottom:12px;padding:20px 24px}.report-detail .report-detail-context{display:flex;flex:1;flex-direction:column;height:0;overflow:auto;padding:12px 0 12px 24px}.report-detail .report-form{display:flex;margin-bottom:12px}.report-detail .report-form .ivu-form-item{flex:1;flex-shrink:0}.report-detail .report-form .ivu-form-item .ivu-form-item-label{opacity:.8;padding-top:8px}.report-detail .report-form .ivu-form-item .ivu-form-item-content{align-items:center;display:flex;line-height:30px}.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:#666}.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{display:flex;height:100%}.report-edit .report-content .report-content-editor .ivu-form-item-content .teditor-wrapper{display:flex;flex:1}.report-edit .report-users{align-items:center;display:flex}.report-edit .report-users .common-user{flex:1;margin-right:12px}.report-edit .report-users .report-user-link{flex-shrink:0}.report-edit .report-users .report-user-link>i{font-size:16px;margin-right:2px;transform:rotate(-90deg)}.report-edit .report-radiogroup{background:#f4f5f7!important;border-radius:4px!important;padding:2px!important}.report-edit .report-radiogroup .ivu-radio-wrapper{background:#f4f5f7!important;border:none!important;box-shadow:none!important;color:#515a6e!important;padding:0 30px!important}.report-edit .report-radiogroup .ivu-radio-wrapper.ivu-radio-wrapper-disabled{color:#c6c6c6!important}.report-edit .report-radiogroup .ivu-radio-wrapper:after,.report-edit .report-radiogroup .ivu-radio-wrapper:before{width:0!important}.report-edit .report-radiogroup .ivu-radio-focus{border:none!important;box-shadow: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;border:none!important;border-radius:4px!important;box-shadow:none!important;color:#8bcf70!important}.report-edit .report-buttongroup{background:#f4f5f7!important;border-radius:4px;margin-left:20px}.report-edit .report-buttongroup .report-buttongroup-vertical{background-color:#e9e9e9;height:15px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:1px;z-index:9}.report-edit .report-buttongroup .ivu-btn-primary{background:#f4f5f7!important;border:none!important;box-shadow:none!important;color:#8bcf70!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}.common-right-bottom{align-items:flex-end;bottom:22px;display:flex;flex-direction:column;position:absolute;right:26px;transition:bottom .3s;z-index:1}.common-right-bottom .common-right-bottom-link{background-color:#8bcf70;border-color:#8bcf70;border-radius:4px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;height:32px;line-height:32px;margin:4px 0;padding:0 15px}.common-right-bottom .common-right-bottom-link:hover{color:#fff;opacity:.9}.common-right-bottom-notification .notification-head{align-items:center;display:flex}.common-right-bottom-notification .notification-head .notification-title{color:#303133;display:inline-block;font-size:18px;font-weight:500;margin-right:6px;vertical-align:middle}.common-right-bottom-notification .notification-body{margin-bottom:16px;max-height:210px;overflow-x:hidden;overflow-y:auto}.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{height:6px!important;top:10px!important;width:6px!important}.common-right-bottom-notification .notification-link{margin-top:20px;text-align:right}.common-right-bottom-notification .notification-link>button+button{margin-left:6px}body{overflow:hidden}body .form-tip{color:#999;line-height:22px;padding:5px 0}body .ivu-input,body .ivu-select-selection{border-color:#e8e8e8}body .ivu-select-dropdown{max-height:360px}body .ivu-select-dropdown.select-node .ivu-select-item{align-items:center;display:flex;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-select-dropdown.ivu-date-picker-transfer{max-width:98%;overflow:auto}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;text-overflow:ellipsis;white-space:nowrap}body .ivu-table table tbody .tree-icon-loading .ivu-table-cell{align-items:center;display:flex}body .ivu-table table tbody .tree-icon-loading .ivu-table-cell .ivu-table-cell-tree{margin-right:6px}body .ivu-table .td-ellipsis{align-items:center;display:flex;max-width:100%}body .ivu-table .td-ellipsis .remark-text{align-items:center;height:20px;line-height:20px;margin-right:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .ivu-table .td-ellipsis .remark-icon{cursor:pointer;display:none;font-size:16px}body .ivu-table .td-ellipsis .remark-tag{background:#f7f7f7;border:1px solid #e8eaec;border-radius:3px;color:#606266;display:inline-block;font-size:12px;height:22px;line-height:22px;margin:2px 4px 2px 0;opacity:1;overflow:visible;padding:0 4px;vertical-align:middle;white-space:nowrap}body .ivu-table .td-ellipsis .remark-tag.pointer-tag{background:#e6f7ff;border-color:#91d5ff;color:#1890ff;cursor:pointer}body .ivu-table .td-action,body .ivu-table .td-ellipsis .icon-tooltip .ivu-tooltip-rel{align-items:center;display:flex}body .ivu-table .td-action{justify-content:center;max-width:100%}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{align-items:center;display:flex}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{padding-bottom:100px;top:100px}@media (max-height:900px){body .ivu-modal-wrap .ivu-modal{padding-bottom:35px;top:35px}}body .ivu-modal-wrap .ivu-modal.ivu-modal-fullscreen{top:0}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer,body .ivu-modal-wrap .ivu-modal .ivu-modal-header{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-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{align-items:center;display:flex}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption>.ivu-btn{padding:0}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption>.ivu-btn>span{padding:0 15px}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{align-items:center;display:flex}body .ivu-modal-wrap .ivu-modal .ivu-modal-footer .adaption .ivu-poptip .ivu-poptip-rel{align-items:center;display:flex;flex:1}}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;right:2px;top:3px;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{border:1px solid #8bcf70!important;color:#8bcf70}body .ivu-modal-wrap .form-network-add-in-out .select-in-type .select-in-type-item{align-items:center;border:1px solid #e8ebee;border-radius:4px;display:flex;margin:0 8px 0 0;min-width:90px;padding:0 12px}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{align-items:center;display:flex}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;text-overflow:ellipsis;white-space:nowrap}body .ivu-drawer-right .ivu-drawer-content{border-radius:18px 0 0 18px}body .ivu-drawer-right .ivu-drawer-content .ivu-drawer-header{border-bottom:1px solid transparent;padding-bottom:6px;padding-top:16px}body .ivu-drawer-right .ivu-drawer-content .ivu-drawer-header .ivu-drawer-header-inner{font-size:18px;height:32px;line-height:32px;padding:0 4px}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{color:#fff;font-size:40px}[hidden=hidden]{display:none!important}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{content:"";display:table}.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{height:10px;width:10px}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body::-webkit-scrollbar-thumb{background:transparent;border-radius:10px}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body::-webkit-scrollbar-thumb:active{background:rgba(0,0,0,.5);border-radius:10px}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body:hover::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);background-clip:content-box;border:2px solid transparent}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body:hover::-webkit-scrollbar-thumb:hover{border-bottom-width:0;border-top-width:0}.table-page-box .ivu-table-wrapper .ivu-table .ivu-table-body::-webkit-scrollbar-track{background:transparent;border-radius:10px}.table-page-box .ivu-page{flex-shrink:0;margin-top:20px;text-align:center}.page-container{padding:20px 0;text-align:center}.search-container{margin-bottom:12px}.search-container>ul{align-items:flex-end;display:flex;flex-wrap:wrap}.search-container>ul>li{display:flex;flex:1;flex-direction:column;flex-shrink:0;list-style:none;margin-bottom:12px;margin-right:12px}.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{align-items:center;display:flex;flex:none;flex-direction:row}.search-container>ul>li.search-button>button+button{margin-left:8px}.search-container.lr>ul>li:not(.search-button){align-items:center;flex:none;flex-direction:row;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-left:6px;margin-top:0}.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{max-width:100%;width:168px}.search-container.auto>ul>li:not(.search-button){flex:none}.search-container.auto>ul>li:not(.search-button) .search-content{margin-left:6px;margin-top:0}.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{max-width:100%;width:150px}.search-expand{align-items:flex-end;display:flex}.search-expand .search-container{flex:1}.search-expand .expand-button-group{flex-shrink:0;margin-bottom:24px;margin-left:24px}.search-button-clear .ivu-tooltip-inner{align-items:center;display:flex;padding:0}.search-button-clear .ivu-tooltip-inner .ivu-btn{font-size:13px;min-width:80px}.icon-loading{-webkit-animation:icon-loading-load .6s linear infinite;animation:icon-loading-load .6s linear infinite}@-webkit-keyframes icon-loading-load{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes icon-loading-load{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.page-calendar{display:flex;flex-direction:column}.page-calendar .calendar-head{align-items:flex-start;border-bottom:1px solid #f4f4f5;display:flex;flex-shrink:0;margin:32px 32px 16px}.page-calendar .calendar-head .calendar-titbox{align-items:center;display:flex;flex:1;margin-bottom:16px}.page-calendar .calendar-head .calendar-titbox .calendar-title{align-items:center;display:flex;margin-right:36px}.page-calendar .calendar-head .calendar-titbox .calendar-title>h1{color:#333;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{display:flex;flex:1;justify-content:flex-end}.page-calendar .calendar-head .calendar-titbox .calendar-view>button:focus{box-shadow:none}.page-calendar .calendar-box{display:flex;flex:1;flex-direction:column;overflow:hidden;padding:0 48px 6px}.page-calendar .calendar-box .calendar-wrapper{flex:1;position:relative}.page-calendar .calendar-box .calendar-wrapper:before{background-color:#fff;content:"";height:2px;left:0;position:absolute;right:0;top:0;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;border-radius:6px;box-shadow:0 1px 6px rgba(0,0,0,.2)}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup .tui-full-calendar-arrow-top .tui-full-calendar-popup-arrow-border{border-bottom-color:hsla(0,0%,85%,.5);top:-8px}.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-calendar-dot,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-icon.tui-full-calendar-ic-title{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,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTk2MCAxMjhIODMzYzAtNTMtNDMtOTYtOTYtOTZoLTE2Yy01MyAwLTk2IDQzLTk2IDk2SDQwMGMwLTI2LjUtMTAuNy01MC41LTI4LjEtNjcuOUMzNTQuNSA0Mi43IDMzMC41IDMyIDMwNCAzMmgtMTZjLTUzIDAtOTYgNDMtOTYgOTZINjRjLTM1LjMgMC02NCAyOC42LTY0IDY0djczNmMwIDM1LjMgMjguNyA2NCA2NCA2NGg4OTZjMzUuMyAwIDY0LTI4LjcgNjQtNjRWMTkyYzAtMzUuNC0yOC43LTY0LTY0LTY0em0tMjcxIDhjMC0yMi4xIDE3LjktNDAgNDAtNDBzNDAgMTcuOSA0MCA0MHY4MGMwIDIyLjEtMTcuOSA0MC00MCA0MC0xMSAwLTIxLTQuNS0yOC4zLTExLjdDNjkzLjUgMjM3IDY4OSAyMjcgNjg5IDIxNnYtODB6bS00MzMgMGMwLTIyLjEgMTcuOS00MCA0MC00MHM0MCAxNy45IDQwIDQwdjgwYzAgMjIuMS0xNy45IDQwLTQwIDQwLTExIDAtMjEtNC41LTI4LjMtMTEuN0MyNjAuNSAyMzcgMjU2IDIyNyAyNTYgMjE2di04MHptNzA0IDc2MGMwIDE3LjctMTQuMyAzMi0zMiAzMkg5NmMtMTcuNyAwLTMyLTE0LjMtMzItMzJWNDQ4aDg5NnY0NDh6IiBmaWxsPSIjNTE1MTUxIi8+PC9zdmc+");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{border-color:#e8e8e8;border-radius:4px;height:36px;line-height:34px}.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-end-date,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-start-date{width:210px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-end-date .tui-full-calendar-content,.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-creation .tui-full-calendar-section-start-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-allday,.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-state{display:none}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .priority{border-radius:4px;color:#fff;margin-right:6px;padding:2px 4px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .overdue{background:#fff1f0;border:1px solid #ffa39e;border-radius:4px;color:#f5222d;margin-right:6px;padding:1px 3px}.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{background-image:url("data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTgzMy40MjkgNjJIMTkwLjU3QTEyOC41NzEgMTI4LjU3MSAwIDAgMCA2MiAxOTAuNTcxVjgzMy40M0ExMjguNTcxIDEyOC41NzEgMCAwIDAgMTkwLjU3MSA5NjJIODMzLjQzQTEyOC41NzEgMTI4LjU3MSAwIDAgMCA5NjIgODMzLjQyOVYxOTAuNTdBMTI4LjU3MSAxMjguNTcxIDAgMCAwIDgzMy40MjkgNjJ6bTY0LjI4NSA3NzEuNDI5YTY0LjI4NiA2NC4yODYgMCAwIDEtNjQuMjg1IDY0LjI4NUgxOTAuNTdhNjQuMjg2IDY0LjI4NiAwIDAgMS02NC4yODUtNjQuMjg1VjE5MC41N2E2NC4yODYgNjQuMjg2IDAgMCAxIDY0LjI4NS02NC4yODVIODMzLjQzYTY0LjI4NiA2NC4yODYgMCAwIDEgNjQuMjg1IDY0LjI4NXoiIGZpbGw9IiM1MTUxNTEiLz48cGF0aCBkPSJNMTkwLjU3MSAyNTQuODU3aDY0LjI4NnY2NC4yODZoLTY0LjI4NnptMTI4LjU3MiAwaDQ1MHY2NC4yODZoLTQ1MHpNMTkwLjU3IDQ0Ny43MTRoNjQuMjg2VjUxMmgtNjQuMjg2em0xMjguNTcyIDBoNDUwVjUxMmgtNDUwek0xOTAuNTcgNjQwLjU3MWg2NC4yODZ2NjQuMjg2aC02NC4yODZ6bTEyOC41NzIgMEg2NDAuNTd2NjQuMjg2SDMxOS4xNDN6IiBmaWxsPSIjNTE1MTUxIi8+PC9zdmc+");top:-2px}.page-calendar .calendar-box .calendar-wrapper .tui-full-calendar-popup-task .tui-full-calendar-ic-delete{background-image:url("data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTg5Mi4yODggMjU2SDcwMS4xMkEyMDIuMjQgMjAyLjI0IDAgMCAwIDUwOS42MzIgNjIuMDggMjAxLjIxNiAyMDEuMjE2IDAgMCAwIDMxOC44NDggMjU2SDEyOGMtMTguNjg4IDAtNjYuMDQ4LTQuMjI0LTY2LjA0OCAyNC43NjhDNjEuOTUyIDMyNy43NDQgMTA5LjM3NiAzMjAgMTI4IDMyMGg2NHY1MTJhMTQ2LjQ5NiAxNDYuNDk2IDAgMCAwIDEyNy40MjQgMTI4aDM4Mi4yNzJBMTUwLjAxNiAxNTAuMDE2IDAgMCAwIDgzMiA4MzJsLTMuMzkyLTUxMmg2NGMxOC4zNjggMCA2NS4wMjQgMS40NzIgNjUuMDI0LTM5Ljc0NEE3Mi4zODQgNzIuMzg0IDAgMCAwIDg5Mi4yODggMjU2ek01MDkuNjMyIDEyOC41MTJBMTM4LjE3NiAxMzguMTc2IDAgMCAxIDYzNy40NCAyNTZIMzgyLjU5MmExMzcuOTIgMTM3LjkyIDAgMCAxIDEyNy4wNC0xMjcuNDg4ek03NjggODMyYTk3Ljk4NCA5Ny45ODQgMCAwIDEtNjYuODggNjRIMzE4Ljg0OGE5My41NjggOTMuNTY4IDAgMCAxLTY0LTY0VjMyMEg3Njh2NTEyem0tMzg1LjQwOC02NFY1MTJjMC0xOC40OTYuOTYtNjAuOTkyIDM2LjczNi02MC45OTIgMjcuMzI4IDAgMjYuNDk2IDQzLjAwOCAyNi45NDQgNjAuOTkydjI1NmMwIDE4LjQ5Ni02LjQgMjAuMDMyLTI0Ljk2IDIwLjAzMnMtMzguNzItMS41MzYtMzguNzItMjAuMDMyem0xOTEuMTY4IDBWNTEyYTY0IDY0IDAgMCAxIDIzLjgwOC02MC45OTJjNDIuNDMyIDAgMzkuMzYgNDMuMDA4IDM5Ljg3MiA2MC45OTJ2MjU2YzAgMTguNDk2LTE5LjU4NCAyMC4wMzItMzcuOTUyIDIwLjAzMnMtMjUuNzkyLTEuNTM2LTI1Ljc5Mi0yMC4wMzJ6IiBmaWxsPSIjNTE1MTUxIi8+PC9zdmc+");top:-2px}.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 td,.page-calendar .calendar-box .calendar-wrapper .tui-datepicker .tui-calendar th{height:32px}.page-calendar .calendar-box .calendar-wrapper .tui-datepicker .tui-calendar .tui-calendar-next-month.tui-calendar-date,.page-calendar .calendar-box .calendar-wrapper .tui-datepicker .tui-calendar .tui-calendar-prev-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{opacity:0;position:absolute;right:2px;top:2px;z-index:-1}@media (max-width:768px){.page-calendar .calendar-head .calendar-titbox .calendar-title{flex:1}.page-calendar .calendar-head .calendar-titbox .calendar-arrow{margin-left:12px;margin-right:0}.page-calendar .calendar-head .calendar-titbox .calendar-view{display:none}.page-calendar .calendar-box{padding:0 24px 5px}}.page-dashboard{background-color:#fff;height:100%;justify-content:center}.page-dashboard,.page-dashboard .dashboard-wrapper{align-items:center;display:flex;flex-direction:column;width:100%}.page-dashboard .dashboard-wrapper{height:auto;max-height:100%}.page-dashboard .dashboard-wrapper .dashboard-block,.page-dashboard .dashboard-wrapper .dashboard-desc,.page-dashboard .dashboard-wrapper .dashboard-hello,.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-title,.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul{margin:0 auto;max-width:80%;width:660px}.page-dashboard .dashboard-wrapper .dashboard-hello{word-wrap:break-word;color:#333;font-size:24px;font-weight:600;padding:6% 12px 0}.page-dashboard .dashboard-wrapper .dashboard-desc{color:#888;font-size:13px;margin-top:18px;padding:0 12px}.page-dashboard .dashboard-wrapper .dashboard-block{display:flex;margin-top:18px;padding:0 12px}.page-dashboard .dashboard-wrapper .dashboard-block>li{background-color:#fa8e8c;border-radius:8px;cursor:pointer;display:flex;flex:1;flex-direction:column;flex-shrink:0;justify-content:center;list-style:none;margin-right:24px;padding:16px 24px;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{box-shadow:0 2px 10px 0 #fa8e8c;transform:translateY(-3px)}.page-dashboard .dashboard-wrapper .dashboard-block>li:hover:first-child{box-shadow:0 2px 10px 0 #6f9ef6}.page-dashboard .dashboard-wrapper .dashboard-block>li:hover:last-child{box-shadow:0 2px 10px 0 #98de6e}.page-dashboard .dashboard-wrapper .dashboard-block>li .block-title{color:hsla(0,0%,100%,.6);font-size:12px}.page-dashboard .dashboard-wrapper .dashboard-block>li .block-data{align-items:center;display:flex;line-height:1;padding-top:10px}.page-dashboard .dashboard-wrapper .dashboard-block>li .block-data .block-num{color:#fff;flex:1;font-size:32px;font-weight:600}.page-dashboard .dashboard-wrapper .dashboard-block>li .block-data .taskfont{color:hsla(0,0%,100%,.7);font-size:20px}.page-dashboard .dashboard-wrapper .dashboard-list{margin-top:48px;overflow:auto;padding-bottom:6%;width:100%}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ref{height:0}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-title{background-color:#fff;font-size:15px;font-weight:600;height:46px;line-height:46px;margin:0 auto;padding:0 12px;position:-webkit-sticky;position:sticky;top:0;z-index:1}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul{margin:0 auto 18px;overflow:hidden;padding:0 12px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li{background:#f9fafb;border-radius:6px;cursor:pointer;display:flex;list-style:none;margin-bottom:8px;padding:12px;position:relative;transition:transform .3s ease-out 0s,box-shadow .3s ease-out 0s}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li:hover{box-shadow:0 0 6px #dfdfdf;transform:translateX(-2px)}.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{height:12px;left:0;position:absolute;top:50%;transform:translateY(-50%);width:2px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .el-dropdown{flex-shrink:0;height:22px;line-height:22px;width:22px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .el-dropdown .taskfont{color:#bbb;font-size:18px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title{flex:1;line-height:22px;overflow:hidden;padding-left:6px;text-overflow:ellipsis;white-space:nowrap}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span{border:1px solid #8bcf70;border-radius:3px;color:#8bcf70;display:inline-block;font-size:12px;height:18px;line-height:16px;margin-right:3px;margin-top:3px;min-width:20px;padding:0 2px;text-align:center;vertical-align:top}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-title>span.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul>li .item-icon{align-items:center;color:#aaa;cursor:pointer;display:flex;font-size:13px;height:22px;margin-left:16px}.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{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}.page-dashboard .nopage .nopage-icon{background-color:#f4f5f7;border-radius:50%;padding:20px}.page-dashboard .nopage .nopage-icon .ivu-icon{color:#d1d8dd;font-size:46px}.page-dashboard .nopage .nopage-text{background-color:#f4f5f7;border-radius:14px;color:#bec6cc;margin-top:16px;padding:4px 15px}@media (max-width:768px){.page-dashboard .dashboard-wrapper{display:block;max-height:86%}.page-dashboard .dashboard-wrapper .dashboard-block,.page-dashboard .dashboard-wrapper .dashboard-desc,.page-dashboard .dashboard-wrapper .dashboard-hello,.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-title,.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul{max-width:86%}.page-dashboard .dashboard-wrapper .dashboard-block{display:block;margin-top:10px}.page-dashboard .dashboard-wrapper .dashboard-block>li{margin:0 0 10px;padding:8px 12px}.page-dashboard .dashboard-wrapper .dashboard-list{overflow:visible!important;padding-bottom:2px}.page-dashboard .dashboard-wrapper .dashboard-list .dashboard-ul{margin-bottom:36px}}.page-file{display:flex;flex-direction:column;height:100%;width:100%}.page-file .file-wrapper{display:flex;flex:1;flex-direction:column;height:0;position:relative}.page-file .file-wrapper .file-head{align-items:center;border-bottom:1px solid #f4f4f5;display:flex;margin:32px 32px 16px;padding-bottom:16px}.page-file .file-wrapper .file-head .file-nav{align-items:center;display:flex;flex:1}.page-file .file-wrapper .file-head .file-nav>h1{color:#333;font-size:28px;font-weight:600}.page-file .file-wrapper .file-head .file-nav .file-refresh{cursor:pointer;display:none;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{align-items:center;cursor:pointer;display:flex;flex-shrink:0;margin-left:22px}.page-file .file-wrapper .file-head .file-status>button{background:#8bcf70;border-color:#8bcf70;color:#fff}.page-file .file-wrapper .file-head .file-search{cursor:pointer;flex-shrink:0;margin-left:22px}.page-file .file-wrapper .file-head .file-search .ivu-input-wrapper{transform:translateZ(0);width:auto}.page-file .file-wrapper .file-head .file-search .ivu-input-wrapper .ivu-input{border-color:#dcdee2;border-radius:16px;padding-left:0;padding-right:30px;transition:all .3s;width:0}.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{padding-left:14px;width:160px}.page-file .file-wrapper .file-head .file-add{cursor:pointer;flex-shrink:0;margin-left:18px}.page-file .file-wrapper .file-head .file-add .taskfont{font-size:18px}.page-file .file-wrapper .file-navigator{align-items:center;display:flex;height:24px;line-height:24px;margin:0 32px}.page-file .file-wrapper .file-navigator>ul{align-items:center;display:flex;overflow:auto}.page-file .file-wrapper .file-navigator>ul>li{align-items:center;color:#8bcf70;cursor:pointer;display:flex;font-size:14px;list-style:none;padding-left:8px}.page-file .file-wrapper .file-navigator>ul>li:last-child{color:#606266;cursor:default}.page-file .file-wrapper .file-navigator>ul>li+li:before{color:#606266;content:"›";font-family:system-ui,sans-serif;font-size:16px;font-weight:500;line-height:1;margin-top:-2px;padding-right:8px}.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;text-overflow:ellipsis;white-space:nowrap}.page-file .file-wrapper .file-navigator>ul>li>span.readonly{background:#f7f7f7;border:1px solid #e8eaec;border-radius:2px;color:#606266;font-size:12px;line-height:20px;padding:0 5px;transform:scale(.8);transform-origin:right center}.page-file .file-wrapper .file-navigator .nav-load{align-items:center;display:flex;height:24px;justify-content:center;margin-left:8px;width:24px}.page-file .file-wrapper .file-navigator .nav-load .common-loading{height:12px;width: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{align-items:center;display:flex}.page-file .file-wrapper .file-navigator .file-shear>span{padding-right:3px}.page-file .file-wrapper .file-navigator .file-shear>em{display:inline-block;font-style:normal;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-file .file-wrapper .file-navigator .flex-full{flex:1}.page-file .file-wrapper .file-navigator .switch-button{align-items:center;background-color:#fff;border-radius:6px;display:flex;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{background-color:rgba(139,207,112,.1);border:1px solid #8bcf70;border-radius:6px;color:#8bcf70;content:"";height:100%;left:0;position:absolute;top:0;transition:left .2s;width:50%;z-index:0}.page-file .file-wrapper .file-navigator .switch-button>div{align-items:center;border-radius:6px;color:#606266;cursor:pointer;display:flex;height:30px;justify-content:center;width:32px;z-index:1}.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:#8bcf70}.page-file .file-wrapper .file-navigator .switch-button.block:before{left:50%}.page-file .file-wrapper .file-navigator .switch-button.block>div:first-child{color:#606266}.page-file .file-wrapper .file-navigator .switch-button.block>div:last-child{color:#8bcf70}.page-file .file-wrapper .file-drag{display:flex;flex:1;flex-direction:column;height:0;position:relative}.page-file .file-wrapper .file-drag .file-no{align-items:center;display:flex;flex:1;flex-direction:column;justify-content:center;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{font-size:14px;font-weight:500;line-height:1;margin-top:18px}.page-file .file-wrapper .file-drag .file-table{cursor:default;flex:1;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{-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:.2px;content:"\e60b";display:block;font-family:taskfont,"serif"!important;font-size:64px;font-style:normal}.page-file .file-wrapper .file-drag .file-table .file-nbox{align-items:center;display:flex;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{align-items:center;display:flex;flex:1;margin-right:46px;position:relative;width:0}.page-file .file-wrapper .file-drag .file-table .file-nbox .file-name:before{content:"";flex-shrink:0;height:22px;margin-right:8px;width:22px}.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;margin-top:16px;overflow:auto;padding:0 20px 20px}.page-file .file-wrapper .file-drag .file-list>ul{margin-top:-12px}.page-file .file-wrapper .file-drag .file-list>ul>li{align-items:center;border-radius:5px;cursor:pointer;display:flex;flex-direction:column;float:left;height:110px;justify-content:space-between;list-style:none;margin:12px;position:relative;width:100px}.page-file .file-wrapper .file-drag .file-list>ul>li .file-input{margin:0 4px 4px;position:relative}.page-file .file-wrapper .file-drag .file-list>ul>li .file-input input{font-size:13px;margin:0;padding:1px 5px}.page-file .file-wrapper .file-drag .file-list>ul>li .file-input .file-load{bottom:0;display:flex;position:absolute;right:6px;top:0}.page-file .file-wrapper .file-drag .file-list>ul>li .file-input .file-load .common-loading{height:10px;width:10px}.page-file .file-wrapper .file-drag .file-list>ul>li .file-name{color:#606266;display:block;font-size:12px;height:20px;line-height:20px;margin-bottom:5px;overflow:hidden;padding:0 6px;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}.page-file .file-wrapper .file-drag .file-list>ul>li .file-check{left:4px;opacity:0;position:absolute;top:1px;transition:opacity .2s}.page-file .file-wrapper .file-drag .file-list>ul>li .file-check.file-checked{opacity:1}.page-file .file-wrapper .file-drag .file-list>ul>li .file-menu{display:flex;opacity:0;position:absolute;right:2px;top:2px;transition:opacity .2s}.page-file .file-wrapper .file-drag .file-list>ul>li .file-menu .ivu-icon{color:#aaa;font-size:16px;padding:2px 5px;transition:color .2s}.page-file .file-wrapper .file-drag .file-list>ul>li .file-menu .ivu-icon:hover{color:#606266}.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon{display:inline-block;height:64px;margin-top:12px;position:relative;width:64px}.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon:before{bottom:0;left:0;position:absolute;right:0;top:0}.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon .share-avatar,.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon .share-icon{align-items:center;background-color:#9acd7b;border-radius:50%;bottom:0;display:flex;height:20px;justify-content:center;position:absolute;right:0;transform:scale(.9);width:20px}.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon .share-avatar .taskfont,.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon .share-icon .taskfont{color:#fff;font-size:18px}.page-file .file-wrapper .file-drag .file-list>ul>li .file-icon .avatar-char{font-size:18px}.page-file .file-wrapper .file-drag .file-list>ul>li.shear{opacity:.38}.page-file .file-wrapper .file-drag .file-list>ul>li.highlight,.page-file .file-wrapper .file-drag .file-list>ul>li:hover{background-color:#f4f5f7}.page-file .file-wrapper .file-drag .file-list>ul>li:hover .file-check,.page-file .file-wrapper .file-drag .file-list>ul>li:hover .file-menu{opacity:1}.page-file .file-wrapper .file-drag .drag-over{align-items:center;background-color:hsla(0,0%,100%,.78);bottom:0;display:flex;justify-content:center;left:0;margin:16px 32px 32px;position:absolute;right:0;top:0;z-index:3}.page-file .file-wrapper .file-drag .drag-over:before{border:2px dashed #7b7b7b;border-radius:12px;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.page-file .file-wrapper .file-drag .drag-over .drag-text{color:#666;font-size:18px;padding:12px}.page-file .file-wrapper .file-menu{position:absolute}.page-file .file-upload-list{background-color:#fff;border:1px solid #ebeef5;border-radius:8px;bottom:16px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);display:flex;overflow:hidden;padding:14px 26px;position:fixed;right:16px;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;width:380px}.page-file .file-upload-list .upload-wrap{flex:1;width:100%}.page-file .file-upload-list .upload-wrap .title{color:#303133;font-size:16px;font-weight:700;margin:0}.page-file .file-upload-list .upload-wrap .title>em{color:#2b85e4;cursor:pointer;font-size:12px;font-style:normal;font-weight:400;padding-left:4px}.page-file .file-upload-list .upload-wrap .content{color:#606266;font-size:14px;line-height:21px;margin:12px 0 0;max-height:500px;max-width:100%;overflow: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{color:red;font-size:12px}.page-file .file-upload-list .upload-wrap .content>li .file-close{cursor:pointer;display:none;font-size:14px;position:absolute;right:-1px;top:7px}.page-file .file-upload-list .upload-wrap .content>li:hover .file-close{display:block}.page-file .file-upload-list .upload-wrap .close{color:#909399;cursor:pointer;font-size:16px;position:absolute;right:15px;top:18px}.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{align-items:center;display:flex;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{align-items:center;display:flex;position:relative}.page-file-dropdown-menu .file-item:before{content:"";flex-shrink:0;height:20px;margin-right:8px;width:20px}.page-file-share-form{display:flex;margin-bottom:12px}.page-file-share-form .share-userid{flex:1}.page-file-share-form>div{flex-shrink:0}.page-file-share-form>div:last-child{margin-right:0}.page-file-share-title{margin-bottom:14px;margin-top:-8px;padding:0 2px}.page-file-share-list{margin-bottom:26px;max-height:500px}.page-file-share-list>li{align-items:center;display:flex;margin-bottom:12px}.page-file-share-list>li .common-avatar{flex:1}.page-file-share-list>li .all-avatar{align-items:center;display:flex;flex:1}.page-file-share-list>li .all-avatar .avatar-text{height:32px;line-height:32px;width:32px}.page-file-share-list>li .all-avatar .avatar-name{overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.page-file-share-list>li .ivu-select{flex-shrink:0;width:auto}.page-file-share-list>li .delete{color:red}.page-file-drawer .overlay-content{border-radius:20px 20px 0 0!important}@media (max-width:768px){.page-file .file-wrapper .file-head{margin:24px 24px 16px}.page-file .file-wrapper .file-navigator{margin:0 24px}.page-file .file-wrapper .file-drag .file-table{margin:16px 24px 24px}}.page-login{align-items:center;background-color:#f3f6fe;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.page-login .login-body{align-items:center;display:flex;flex-direction:column;max-height:100%;overflow:auto;padding:32px 0;width:100%}.page-login .login-body .login-logo{background:url(../images/logo.svg) no-repeat 50%;background-size:contain;flex-shrink:0;height:68px;width:68px}.page-login .login-body .login-logo.can-click{cursor:pointer}.page-login .login-body .login-box{background-color:#fff;border-radius:12px;box-shadow:0 0 10px #e6ecfa;margin-top:32px;width:400px}.page-login .login-body .login-box .login-title{font-size:24px;font-weight:600;margin-top:36px;text-align:center}.page-login .login-body .login-box .login-subtitle{color:#aaa;font-size:14px;margin-top:12px;padding:0 12px;text-align:center}.page-login .login-body .login-box .login-input{margin:32px 40px}.page-login .login-body .login-box .login-input>*{margin-top:26px}.page-login .login-body .login-box .login-input .ivu-input{border-color:#f1f1f1}.page-login .login-body .login-box .login-input .ivu-input[readonly=readonly]{background-color:#f5f5f5}.page-login .login-body .login-box .login-input .ivu-input-large{font-size:15px}.page-login .login-body .login-box .login-input .login-code .ivu-input-group-append,.page-login .login-body .login-box .login-input .login-code .ivu-input-group-prepend{background:transparent;border-color:#f1f1f1;font-size:14px}.page-login .login-body .login-box .login-input .login-code .ivu-input{border-left-color:transparent}.page-login .login-body .login-box .login-input .login-code .login-code-end{cursor:pointer;height:38px;margin:-6px -7px;overflow:hidden}.page-login .login-body .login-box .login-input .login-code .login-code-end img{height:100%}.page-login .login-body .login-box .login-input .login-switch{color:#aaa}.page-login .login-body .login-box .login-input .login-input-tips-box{position:relative}.page-login .login-body .login-box .login-input .login-input-tips-box .login-input-tips{bottom:-20px;color:#c7c7c7;font-size:12px;left:0;position:absolute}.page-login .login-body .login-box .login-input>.ivu-poptip,.page-login .login-body .login-box .login-input>.ivu-poptip>.ivu-poptip-rel{width:100%}.page-login .login-body .login-bottom{align-items:center;display:flex;margin-top:18px;width:388px}.page-login .login-body .login-bottom .login-setting{align-items:center;color:#666;cursor:pointer;display:flex;flex-shrink:0}.page-login .login-body .login-bottom .login-setting .taskfont{font-size:12px;margin-left:3px;margin-top:1px;transform:scale(.8)}.page-login .login-body .login-bottom .login-setting-menu{display:flex;flex-direction:column}.page-login .login-body .login-bottom .login-setting-item{align-items:center;display:flex;justify-content:space-between}.page-login .login-body .login-bottom .login-setting-item .ivu-icon{color:#666;margin-right:-6px;padding-left:6px}.page-login .login-body .login-bottom .login-forgot{color:#aaa;flex:1;padding-left:24px;text-align:right}.page-manage{bottom:0;display:flex;left:0;position:absolute;right:0;top:0}.page-manage .manage-box-menu{align-items:center;background:#f4f5f7;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;height:100%;position:relative;transition:all .2s;width:255px}.page-manage .manage-box-menu .manage-box-dropdown{flex-shrink:0;width:86%}.page-manage .manage-box-menu .manage-box-dropdown .ivu-select-dropdown{padding:7px 0}.page-manage .manage-box-menu .manage-box-dropdown .ivu-select-dropdown .ivu-dropdown-item{padding:9px 16px}.page-manage .manage-box-menu .manage-box-dropdown .ivu-select-dropdown .ivu-dropdown-item-divided{margin-top:7px}.page-manage .manage-box-menu .manage-box-dropdown .ivu-select-dropdown .ivu-dropdown-item-divided:before{top:-9px}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title{align-items:center;background-color:#fff;border-radius:8px;cursor:pointer;display:flex;flex-shrink:0;margin-top:27px;padding:6px 10px;transition:box-shadow .3s}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title.menu-visible{box-shadow:0 1px 6px rgba(0,0,0,.2)}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title .manage-box-avatar{height:36px;width:36px}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title>span{flex:1;font-size:16px;font-weight:600;overflow:hidden;padding-left:12px;text-overflow:ellipsis;white-space:nowrap}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title .manage-box-arrow{align-items:center;display:flex;flex-direction:column;justify-content:center;padding-left:16px;padding-right:2px}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title .manage-box-arrow>i{font-size:12px;margin:-1px}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title .manage-box-top-report{align-items:center;flex:0 0 auto;flex-direction:column;justify-content:center;margin-right:-6px;overflow:unset}.page-manage .manage-box-menu .manage-box-dropdown .manage-box-title .manage-box-top-report>i{font-size:12px;margin:-1px}.page-manage .manage-box-menu .manage-box-dropdown .manage-menu-report-badge{margin-left:6px;transform:scale(.9);vertical-align:top}.page-manage .manage-box-menu .manage-box-dropdown .manage-menu-flex{align-items:center;display:flex;justify-content:space-between}.page-manage .manage-box-menu .manage-box-dropdown .manage-menu-flex .ivu-icon{color:#666}.page-manage .manage-box-menu .manage-box-dropdown .task-title{overflow:hidden;text-overflow:ellipsis}.page-manage .manage-box-menu>ul{display:flex;flex:1;flex-direction:column;margin-top:16px;overflow:hidden!important;width:100%}.page-manage .manage-box-menu>ul>li{align-items:center;border-radius:4px;color:#6b6e72;cursor:pointer;display:flex;flex-shrink:0;height:36px;margin:5px auto;max-width:100%;padding:0 4%;position:relative;width:80%}.page-manage .manage-box-menu>ul>li>i{font-size:20px;margin-right:10px;opacity:.3}.page-manage .manage-box-menu>ul>li .menu-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-manage .manage-box-menu>ul>li .menu-badge{margin-left:12px;transform:scale(.9)}.page-manage .manage-box-menu>ul>li:first-child{margin-top:12px}.page-manage .manage-box-menu>ul>li.active{background-color:#fff}.page-manage .manage-box-menu>ul>li.menu-project{align-items:center;cursor:default;display:flex;flex:1;flex-direction:column;padding:12px 0 0;width:100%}.page-manage .manage-box-menu>ul>li.menu-project>ul{overflow:auto;width:100%}.page-manage .manage-box-menu>ul>li.menu-project>ul>li{border:2px solid transparent;cursor:pointer;display:flex;flex-direction:column;list-style:none;margin:2px auto;width:80%}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h1{align-items:center;border-radius:4px;display:flex;justify-content:space-between;padding:0 8px 0 28px;position:relative}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h1>em{align-items:center;cursor:pointer;display:flex;height:24px;justify-content:center;left:2px;position:absolute;top:50%;transform:translateY(-50%);width:24px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h1>em:before{background:url("data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiPjxwYXRoIGQ9Im0zNjYuMTgyIDEwOC4yMzcgNDQ1Ljg1IDMxOS43OTVhMTAyLjQgMTAyLjQgMCAwIDEgMCAxNjYuNTAyTDM2Ni4xODIgOTE0LjMzYTEwMi40IDEwMi40IDAgMCAxLTE2Mi4wOTktODMuMjUydi02MzkuNTlhMTAyLjQgMTAyLjQgMCAwIDEgMTYyLjEtODMuMjUxeiIgZmlsbD0iIzk5OSIvPjwvc3ZnPg==") no-repeat 50%;background-size:contain;content:"";height:12px;transition:transform .2s;width:12px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h1 .title{color:#333;flex:1;height:38px;line-height:38px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h1 .icon-top{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjQgMjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPjA8cGF0aCBkPSJtMjAuNyA4LjEtNC40LTQuNGMtMS4yLTEuMi0yLjUtMS40LTMuNC0uNy0uNS40LS43LjktLjggMS40LS4xLjUtLjQgMS0uOCAxLjNsLS4xLjFDOS4yIDcuMyA2LjkgOC42IDQuNCA5Yy0uNS4yLTEuMS41LTEuNCAxLS42LjktLjQgMi4xLjMgMi45bDMuNCAzLjQtMy4xIDMuMWMtLjMuMy0uMy44IDAgMS4xLjEuMS4zLjIuNS4ycy40LS4xLjUtLjJsMy4xLTMuMSAyLjkgMi45YzEuMyAxLjMgMi41IDEuNSAzLjQuOS40LS4zLjctLjcuOS0xLjIuNi0yLjMgMS40LTQuNiAyLjgtNi41bC41LS43Yy4zLS40LjgtLjggMS4zLS44LjUtLjEgMS4xLS4zIDEuNC0uOC44LTEgLjYtMi4zLS4yLTMuMXoiIHN0eWxlPSJmaWxsOiM4YmNmNzAiLz48L3N2Zz4=") no-repeat 50%;background-size:contain;height:14px;padding-left:8px;width:14px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h1 .num{font-size:12px;padding-left:8px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h2{cursor:default;display:none;margin:16px 4px;padding:0 8px 0 24px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h2>p{align-items:center;display:flex;height:36px;padding:4px 0}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h2>p em,.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h2>p span{flex-shrink:0;font-size:12px;font-style:normal;padding-right:6px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h2>p .ivu-progress{margin-right:-18px}.page-manage .manage-box-menu>ul>li.menu-project>ul>li .project-h2>p .ivu-progress .ivu-progress-inner{background-color:#e4e4e4}.page-manage .manage-box-menu>ul>li.menu-project>ul>li.top .project-h1{background-color:#eeeff1}.page-manage .manage-box-menu>ul>li.menu-project>ul>li.active .project-h1{background-color:#fff}.page-manage .manage-box-menu>ul>li.menu-project>ul>li.open-menu .project-h1>em:before{transform:rotate(90deg)}.page-manage .manage-box-menu>ul>li.menu-project>ul>li.open-menu .project-h2{display:block}.page-manage .manage-box-menu>ul>li.menu-project>ul>li.operate{border-color:#8bcf70}.page-manage .manage-box-menu>ul>li.menu-project .common-loading{height:22px;margin:6px;width:22px}.page-manage .manage-box-menu>ul>li.menu-project .top-operate{display:flex;opacity:0;position:absolute;right:0;top:0}.page-manage .manage-box-menu .manage-project-search{background-color:#fff;border-radius:12px;margin:8px 0 -2px;overflow:hidden;padding:0 3px;width:80%}.page-manage .manage-box-menu .manage-project-search .ivu-input{background-color:transparent;border-color:transparent;padding-left:30px}.page-manage .manage-box-menu .manage-project-search .ivu-input:focus,.page-manage .manage-box-menu .manage-project-search .ivu-input:hover{box-shadow:none}.page-manage .manage-box-menu .manage-project-search.loading .ivu-icon-ios-search{-webkit-animation:icon-loading-load .6s linear infinite;animation:icon-loading-load .6s linear infinite}.page-manage .manage-box-menu .manage-project-search.loading .ivu-icon-ios-search:before{content:"\f45b"}.page-manage .manage-box-menu .manage-box-new-group{align-items:center;display:flex;margin-bottom:20px;margin-top:16px;width:80%}.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{border-radius:0 4px 4px 0;min-width:auto!important;padding:0 4px}.page-manage .manage-box-main{flex:1;position:relative}.page-manage .manage-box-main .manage-box-view{bottom:0;left:0;overflow:auto;position:absolute;right:0;top:0}.page-manage .manage-mini-menu{display:none;position:relative}.page-manage .manage-mini-menu .ivu-badge{left:30px;position:absolute;top:-6px;transform:scale(.9)}.page-manage-task-modal{display:flex;flex-direction:column}.page-manage-add-task-button-group{margin-left:8px!important}.page-manage-add-task-button-group .ivu-dropdown .ivu-btn{border-radius:0 4px 4px 0;min-width:auto!important;padding:0 4px}@media (max-height:640px){.page-manage .manage-box-menu>ul{overflow:auto!important}.page-manage .manage-box-menu>ul.overlay-y{overflow-y:overlay!important}.page-manage .manage-box-menu>ul>li.menu-project>ul{overflow:visible!important}.page-manage .manage-box-menu .manage-project-search{margin-top:12px}}@media (max-width:768px){.page-manage .manage-box-menu{bottom:0;left:0;position:fixed;top:0;transform:translateX(-120%);width:100%;z-index:49}.page-manage .manage-box-menu.show768-menu{transform:translateX(0)}.page-manage .manage-mini-menu{align-items:center;background-color:#fff;border-radius:4px;box-shadow:0 0 50px rgba(0,0,0,.3);cursor:pointer;display:flex;font-size:22px;height:42px;justify-content:center;white-space:nowrap;width:46px}}.page-messenger{display:flex}.page-messenger .messenger-wrapper{align-items:flex-start;display:flex;flex:1}.page-messenger .messenger-wrapper .messenger-select{display:flex;flex-direction:column;flex-shrink:0;height:100%;max-width:320px;min-width:240px;position:relative;width:30%}.page-messenger .messenger-wrapper .messenger-select:after{background-color:#f4f5f5;content:"";height:100%;position:absolute;right:0;top:0;width:1px}.page-messenger .messenger-wrapper .messenger-select .messenger-search{align-items:center;display:flex;flex-shrink:0;height:54px;justify-content:center;padding:0 12px}.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper{background-color:#f7f7f7;border-radius:12px;flex:1;margin:0 4px;overflow:hidden;padding:0 8px}.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper .ivu-input{background-color:transparent;border-color:transparent}.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper .ivu-input:focus,.page-messenger .messenger-wrapper .messenger-select .messenger-search .search-wrapper .ivu-input:hover{box-shadow:none}.page-messenger .messenger-wrapper .messenger-select .messenger-nav{align-items:center;display:flex;justify-content:space-evenly;padding:2px 0 12px}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>p{color:#888;cursor:pointer;line-height:1;padding:0 6px;position:relative}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>p .nav-num{position:absolute;right:-8px;top:-12px;transform:scale(.7)}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>p.active{color:#555;font-weight:500}.page-messenger .messenger-wrapper .messenger-select .messenger-nav>p:hover{color:#777}.page-messenger .messenger-wrapper .messenger-select .messenger-list{flex:1;height:0;overflow-x:hidden;overflow-y:auto;width:100%}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li{align-items:flex-start;border:2px solid transparent;cursor:pointer;display:flex;flex-direction:row;list-style:none;margin-right:1px;padding:14px 10px;position:relative}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .icon-avatar,.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .user-avatar{flex-grow:0;flex-shrink:0;height:42px;margin:2px;width:42px}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .icon-avatar{align-items:center;background-color:#61b2f9;border-radius:50%;color:#fff;display:flex;font-size:26px;justify-content:center}.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 .icon-avatar.completed:after{bottom:0;color:#19be6b;content:"\f373";font-family:Ionicons,serif;font-size:28px;opacity:.2;pointer-events:none;position:absolute;right:12px;z-index:1}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .dialog-box{display:flex;flex:1;flex-direction:column;padding-left:12px;width:0}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .dialog-box .dialog-title{align-items:center;display:flex;flex-direction:row;justify-content:space-between;line-height:24px}.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{color:#333;flex:1;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .dialog-box .dialog-title>i{color:#8bcf70;flex-shrink:0;font-size:12px;margin-left:8px;transform:scale(.9)}.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{color:#999;flex-shrink:0;font-size:12px;font-style:normal;margin-left:8px}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .dialog-box .dialog-text{color:#999;font-size:12px;line-height:24px;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li .dialog-num{left:42px;position:absolute;top:10px;transform:scale(.8)}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li.top{background-color:#eeeff1}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li.active{background-color:#f4f5f7}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li.operate{border-color:#8bcf70}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li.loading{align-items:center;display:flex;height:52px;justify-content:center;margin:0}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.dialog>li.loading .common-loading{height:20px;margin:0;width:20px}.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{border-bottom:1px solid #efefef;height:34px;line-height:34px;margin-bottom:6px;margin-top:6px;padding-left:4px}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li.loaded,.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li.loading{align-items:center;display:flex;height:52px;justify-content:center;margin:0}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li.loaded .common-loading,.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li.loading .common-loading{height:20px;margin:0;width:20px}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li>ul>li{align-items:center;cursor:pointer;display:flex;flex-direction:row;height:52px;list-style:none}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li>ul>li .avatar{flex-grow:0;flex-shrink:0;height:30px;width:30px}.page-messenger .messenger-wrapper .messenger-select .messenger-list>ul.contacts>li>ul>li .nickname{font-size:14px;overflow:hidden;padding:0 12px;text-overflow:ellipsis;white-space:nowrap}.page-messenger .messenger-wrapper .messenger-select .messenger-list .top-operate{display:flex;opacity:0;position:absolute;right:0;top:0}.page-messenger .messenger-wrapper .messenger-select .messenger-menu{align-items:center;border-top:1px solid #f4f5f5;display:flex;flex-shrink:0;height:52px;justify-content:center}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon{align-items:center;display:flex;height:100%;position:relative}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon .menu-num{left:50%;margin-left:3px;position:absolute;top:4px;transform:scale(.8)}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon>i{color:#aaa;cursor:pointer;font-size:24px;margin:0 24px;opacity:.9}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon>i.active{color:#8bcf70;opacity:1}.page-messenger .messenger-wrapper .messenger-select .messenger-menu .menu-icon>i:hover{opacity:1}.page-messenger .messenger-wrapper .messenger-msg{display:flex;flex:1;height:100%;position:relative;width:0}.page-messenger .messenger-wrapper .messenger-msg .dialog-wrapper .dialog-footer .dialog-back{display:none}.page-messenger .messenger-wrapper .messenger-msg .msg-dialog-bg{align-items:center;bottom:0;display:flex;flex:1;flex-direction:column;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:0}.page-messenger .messenger-wrapper .messenger-msg .msg-dialog-bg .msg-dialog-bg-icon{background-color:#f4f5f7;border-radius:50%;padding:20px}.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{background-color:#f4f5f7;border-radius:14px;color:#bec6cc;margin-top:16px;padding:4px 15px}@media (max-width:768px){.page-messenger .messenger-wrapper .messenger-select{background-color:#fff;height:100%;left:0;max-width:none;position:fixed;top:0;transform:translateX(-120%);transition:all .2s;width:100%;z-index:48}.page-messenger .messenger-wrapper .messenger-select.show768-menu{transform:translateX(0)}.page-messenger .messenger-wrapper .messenger-msg .dialog-wrapper .dialog-nav{height:54px;justify-content:center}.page-messenger .messenger-wrapper .messenger-msg .dialog-wrapper .dialog-nav .dialog-title{flex:0;width:auto}.page-messenger .messenger-wrapper .messenger-msg .dialog-wrapper .dialog-footer{position:relative}.page-messenger .messenger-wrapper .messenger-msg .dialog-wrapper .dialog-footer .dialog-back{align-items:center;bottom:0;display:flex;font-size:26px;height:49px;justify-content:center;left:0;position:absolute;width:64px;z-index:1}.page-messenger .messenger-wrapper .messenger-msg .dialog-wrapper .dialog-footer .dialog-input{width:calc(100% - 44px)}}.page-project{align-items:flex-start;display:flex;flex:1}.page-project .project-list{background-color:#fafafa;flex:1;height:100%;width:0}.page-project .project-dialog{flex-shrink:0;height:100%;max-width:520px;min-width:320px;position:relative;width:35%}@media (max-width:768px){.page-project .project-list{height:auto}.page-project .project-list.gantt{height:100%}.page-project .project-dialog{height:100%;left:0;max-width:none;position:fixed;top:0;width:100%}}.page-setting{display:flex;flex-direction:column}.page-setting .setting-head{align-items:center;border-bottom:1px solid #f4f4f5;display:flex;margin:32px 32px 16px}.page-setting .setting-head .setting-titbox{flex:1;margin-bottom:16px}.page-setting .setting-head .setting-titbox .setting-title{align-items:center;display:flex}.page-setting .setting-head .setting-titbox .setting-title>h1{color:#333;flex:1;font-size:28px;font-weight:600}.page-setting .setting-head .setting-titbox .setting-title .setting-more{display:none}.page-setting .setting-box{display:flex;flex:1;height:0;padding-bottom:16px}.page-setting .setting-box .setting-menu{border-right:1px solid #f4f4f5;flex-shrink:0;overflow:auto;width:200px}.page-setting .setting-box .setting-menu>ul{padding:12px 0 0 32px}.page-setting .setting-box .setting-menu>ul>li{align-items:center;color:#6b6e72;cursor:pointer;display:flex;line-height:42px;list-style:none;margin:5px 0;padding:0 20px;position:relative}.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.version{cursor:default}.page-setting .setting-box .setting-menu>ul>li.version:hover{background-color:transparent}.page-setting .setting-box .setting-menu>ul>li.divided{margin-top:10px;padding-top:10px;position:relative}.page-setting .setting-box .setting-menu>ul>li.divided:before{background-color:#f4f4f5;content:"";height:1px;left:0;position:absolute;right:0;top:0;z-index:1}.page-setting .setting-box .setting-menu>ul>li.divided:after{background-color:#fff;content:"";height:9px;left:0;position:absolute;right:0;top:1px;z-index:2}.page-setting .setting-box .setting-content{display:flex;flex:1;flex-direction:column;overflow:auto;position:relative}.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-selection{max-width:460px}.page-setting .setting-item .ivu-form{overflow:auto}.page-setting .setting-item .setting-color,.page-setting .setting-item .setting-template{margin-bottom:12px;max-width:600px;min-width:400px}.page-setting .setting-item .setting-color>div,.page-setting .setting-item .setting-template>div{padding-right:12px;text-align:center}.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{flex:auto;flex-shrink:0;padding-right:0;width:60px}.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:#999}.page-setting .setting-item .setting-template>div{flex-shrink:0;text-align:left}.page-setting .setting-item .setting-template>div:last-child{flex:1;max-width:none;width:auto}.page-setting .setting-item .setting-footer>button{height:34px;line-height:32px;min-width:94px}.page-setting .setting-item .setting-auto-day{display:block;line-height:32px;margin-bottom:-10px;margin-top:12px;width:110px}.page-setting .setting-item.submit{bottom:0;display:flex;flex-direction:column;left:0;padding:0!important;position:absolute;right:0;top:0}.page-setting .setting-item.submit .ivu-form{flex:1;overflow:auto;padding:24px 40px}.page-setting .setting-item.submit .ivu-tabs{display:flex;flex:1;flex-direction:column;padding:16px 32px 0}.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-system-item{bottom:0;display:flex;flex:1;flex-direction:column;left:0;position:absolute;right:0;top:0}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-system-item .ivu-form{padding:8px 12px}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-system-item .setting-footer{margin:0 -32px}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-system-item .email-setting-box{border:1px solid #eee;border-radius:8px;margin:24px 0 12px;padding:36px 24px 4px;position:relative;transition:box-shadow .3s}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-system-item .email-setting-box:hover{box-shadow:0 0 10px #e6ecfa}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-system-item .email-setting-box h3{background-color:#fff;border:1px solid #eee;border-radius:4px;display:inline-block;font-size:15px;font-weight:500;left:24px;padding:4px 10px;position:absolute;top:0;transform:translateY(-50%)}.page-setting .setting-item.submit .ivu-tabs .ivu-tabs-content .ivu-tabs-tabpane .setting-system-item .email-setting-placeholder{height:8px}.page-setting .setting-item.submit .setting-footer{border-top:1px solid #f4f4f5;flex-shrink:0;padding:16px 24px 0;position:static}@media (max-width:768px){.page-setting .setting-head .setting-titbox .setting-title .setting-more{align-items:center;display:flex;font-size:24px;height:42px;justify-content:center;width:42px}.page-setting .setting-box{position:relative}.page-setting .setting-box .setting-menu{background-color:#fff;height:100%;left:0;position:absolute;top:0;transform:translateX(-120%);transition:all .2s;width:100%;z-index:9}.page-setting .setting-box .setting-menu.show768-menu{transform:translateX(0)}.page-setting .setting-box .setting-menu>ul{padding:12px 32px}}.page-index{height:100%;left:0;overflow:auto;position:absolute;top:0;width:100%}.page-index .page-warp{margin:0 auto;max-width:1920px}.page-index .page-warp .page-header{background:#8bcf70;padding-bottom:40px;position:relative;width:100%}.page-index .page-warp .page-header .header-nav{display:flex;height:72px;justify-content:space-between;margin:auto;max-width:1200px}.page-index .page-warp .page-header .header-nav .header-nav-box{align-items:center;color:#fff;display:flex;font-weight:400;padding-left:20px;position:relative}.page-index .page-warp .page-header .header-nav .header-nav-box .logo{background:url(../images/logo-index.svg) no-repeat 50%;background-size:contain;height:36px;width:143px}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-one{display:flex}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-one .header-right-one-language{font-size:26px;margin-right:8px}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-one .header-right-one-dropdown{color:#fff;font-size:16px}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-two{cursor:pointer;font-size:16px;margin:0 30px}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-three{background:#ffa25a;border-radius:4px;cursor:pointer;font-size:16px;height:36px;line-height:36px;min-width:100px;padding:0 10px;text-align:center}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-four{cursor:pointer;font-size:16px;margin-left:30px}.page-index .page-warp .page-header .header-nav .header-nav-box .header-right-four .ivu-dropdown .ivu-dropdown-rel .header-right-one-dropdown{color:#fff;font-size:16px}.page-index .page-warp .page-header .header-nav .header-nav-boxs{justify-content:flex-end;padding-right:20px}.page-index .page-warp .page-header .header-nav .header-nav-boxs .header-nav-more{color:#fff;font-size:36px}.page-index .page-warp .page-header .header-content{margin:0 auto;max-width:1200px}.page-index .page-warp .page-header .header-content .header-title{color:#fff;font-size:44px;font-weight:500;line-height:67px;text-align:center}.page-index .page-warp .page-header .header-content .header-title-one{font-size:48px;margin-top:40px}.page-index .page-warp .page-header .header-content .header-tips{color:#fff;font-size:22px;font-weight:400;line-height:36px;margin:22px auto 0;max-width:88%;padding:0 30px;text-align:center}.page-index .page-warp .page-header .header-content .login-buttom{background:#ffa25a;border-radius:8px;color:#fff;cursor:pointer;font-size:18px;font-weight:500;height:48px;line-height:48px;margin:34px auto 0;text-align:center;width:150px}.page-index .page-warp .page-header-bottom{background:#fff url(../images/index/bg-bottom.svg) no-repeat;background-size:100%;margin-bottom:190px;margin-top:-2px;position:relative}.page-index .page-warp .page-header-bottom .page-header-bottoms{left:0;margin:auto;max-width:1200px;right:0;top:0}.page-index .page-warp .page-header-bottom .page-header-bottoms img{display:block;margin:auto;width:80%}.page-index .page-warp .page-main{margin:auto;max-width:1200px}.page-index .page-warp .page-main .page-main-row{margin-bottom:150px}.page-index .page-warp .page-main .page-main-rows{margin-bottom:140px}.page-index .page-warp .page-main .page-main-img img{width:100%}.page-index .page-warp .page-main .page-main-imgs img{display:block;margin:auto;width:90%}.page-index .page-warp .page-main .page-main-text{padding-left:60px;padding-top:120px}.page-index .page-warp .page-main .page-main-text h3{color:#333;font-size:32px;font-weight:500;line-height:45px;margin-bottom:17px}.page-index .page-warp .page-main .page-main-text p{color:#828282;font-size:18px;font-weight:400;line-height:28px;padding-right:70px}.page-index .page-warp .page-main .page-main-texts{padding-top:40px}.page-index .page-warp .page-main .page-main-texts h3{align-items:center;display:flex;font-size:30px}.page-index .page-warp .page-main .page-main-texts h3 img{margin-right:10px}.page-index .page-warp .page-main .page-main-texts p{font-size:16px}.page-index .page-warp .page-footer .footer-service{background-color:#ffa25a;height:188px;position:relative;width:100%}.page-index .page-warp .page-footer .footer-service .footer-bg-box{height:188px;overflow:hidden;width:100%}.page-index .page-warp .page-footer .footer-service .footer-bg-box .box-title{color:#fff;font-size:16px;font-weight:500;height:45px;line-height:45px;margin:33px 0 22px;text-align:center}.page-index .page-warp .page-footer .footer-service .footer-bg-box .buttom-box{display:flex;justify-content:center}.page-index .page-warp .page-footer .footer-service .footer-bg-box .buttom-box .login-btn{background:#fff;border-radius:8px;color:#ffa25a;cursor:pointer;font-size:14px;font-weight:500;height:48px;line-height:48px;margin-right:20px;text-align:center;width:150px}.page-index .page-warp .page-footer .footer-service .footer-bg-box .buttom-box .reg-btn{border:1px solid #fff;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;height:48px;line-height:48px;text-align:center;width:150px}.page-index .page-warp .page-footer .footer-copyright{background:#fff;color:#828282;font-size:12px;font-weight:400;height:60px;line-height:60px;text-align:center;width:100%}@media screen and (max-width:1440px){.page-index .page-warp .page-header .header-content .header-title{font-size:34px;line-height:60px}.page-index .page-warp .page-header .header-content .header-title-one{font-size:40px}.page-index .page-warp .page-header .header-content .header-tips{font-size:20px;padding:0 20px}.page-index .page-warp .page-header-bottom{margin-bottom:100px}.page-index .page-warp .page-main .page-main-text{padding-left:20px;padding-top:80px}.page-index .page-warp .page-main .page-main-text p{padding-right:20px}.page-index .page-warp .page-main .page-main-texts h3{font-size:24px}.page-index .page-warp .page-main .page-main-texts h3 img{width:24px}.page-index .page-warp .page-main .page-main-texts p{font-size:14px}}@media screen and (max-width:468px){.page-index .page-warp .page-header .header-content .header-title{font-size:24px;line-height:38px}.page-index .page-warp .page-header .header-content .header-title-one{font-size:28px}.page-index .page-warp .page-header .header-content .header-tips{font-size:16px;line-height:26px}}.dialog-wrapper{background-color:#fff;bottom:0;display:flex;flex-direction:column;left:0;position:absolute;right:0;top:0;z-index:1}.dialog-wrapper .dialog-nav{align-items:center;display:flex;height:68px;padding:0 22px;position:relative}.dialog-wrapper .dialog-nav:before{background-color:#f4f5f5;bottom:0;content:"";height:1px;left:0;position:absolute;width:100%}.dialog-wrapper .dialog-nav .dialog-avatar{flex-shrink:0;margin-right:12px}.dialog-wrapper .dialog-nav .dialog-avatar .icon-avatar,.dialog-wrapper .dialog-nav .dialog-avatar .user-avatar{flex-grow:0;flex-shrink:0;height:42px;margin:2px;width:42px}.dialog-wrapper .dialog-nav .dialog-avatar .icon-avatar{align-items:center;background-color:#61b2f9;border-radius:50%;color:#fff;display:flex;font-size:26px;justify-content:center}.dialog-wrapper .dialog-nav .dialog-avatar .icon-avatar.project{background-color:#6e99eb}.dialog-wrapper .dialog-nav .dialog-avatar .icon-avatar.task{background-color:#9b96df;font-size:24px}.dialog-wrapper .dialog-nav .dialog-avatar .icon-avatar.completed:after{color:#19be6b;content:"\f373";font-family:Ionicons,serif;font-size:40px;opacity:.2;pointer-events:none;position:absolute;right:22px;top:50%;transform:translateY(-50%);z-index:1}.dialog-wrapper .dialog-nav .dialog-title{display:flex;flex:1;flex-direction:column;justify-content:center;width:0}.dialog-wrapper .dialog-nav .dialog-title .main-title{align-items:center;display:flex;line-height:22px;max-width:100%}.dialog-wrapper .dialog-nav .dialog-title .main-title .ivu-tag{flex-shrink:0;margin:0 6px 0 0;padding:0 5px}.dialog-wrapper .dialog-nav .dialog-title .main-title .ivu-tag.ivu-tag-success{padding:0 6px}.dialog-wrapper .dialog-nav .dialog-title .main-title .ivu-icon{font-size:18px;margin-right:6px}.dialog-wrapper .dialog-nav .dialog-title .main-title .ivu-icon.completed{color:#8bcf70}.dialog-wrapper .dialog-nav .dialog-title .main-title>h2{font-size:17px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-wrapper .dialog-nav .dialog-title .main-title>em{flex-shrink:0;font-size:17px;font-style:normal;font-weight:500;padding-left:6px}.dialog-wrapper .dialog-nav .dialog-title .main-title .top-text{background-color:#8bcf70;border-radius:4px;color:#fff;flex-shrink:0;height:24px;margin-left:10px;padding-top:1px;text-align:center;width:40px}.dialog-wrapper .dialog-nav .dialog-title .sub-title{color:#aaa;flex-shrink:0;font-size:12px;line-height:20px;padding-top:2px}.dialog-wrapper .dialog-nav .dialog-title .sub-title.pointer{cursor:pointer}.dialog-wrapper .dialog-nav .dialog-title .sub-title.pointer:hover{color:#888}.dialog-wrapper .dialog-scroller{flex:1;overflow:auto;padding:0 32px;position:relative}.dialog-wrapper .dialog-scroller .dialog-list>ul>li{align-items:flex-end;display:flex;flex-direction:row;list-style:none;margin-bottom:16px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li:first-child{margin-top:16px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-avatar{flex-shrink:0;height:30px;margin-bottom:20px;position:relative;width:30px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view{align-items:flex-start;display:flex;flex-direction:column;margin:0 0 0 8px;position:relative}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view.text{max-width:70%}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view:hover .dialog-head .dialog-menu{opacity:1}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head{align-items:flex-start;display:flex}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content{align-items:flex-start;background-color:#f4f5f7;border-radius:6px 6px 6px 0;display:flex;min-width:32px;padding:8px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-text{color:#333}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-text>pre{word-wrap:break-word;display:block;line-height:1.5;margin:0;padding:0;white-space:pre-wrap;word-break:break-word}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.file{display:inline-block}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.file .file-box{align-items:center;background-color:#fff;border-radius:3px;display:flex;padding:10px 14px;width:220px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.file .file-box .file-thumb{width:36px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.file .file-box .file-info{display:flex;flex-direction:column;justify-content:center;margin-left:12px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.file .file-box .file-info .file-name{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#333;display:-webkit-box;font-size:14px;line-height:18px;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.file .file-box .file-info .file-size{color:#666;font-size:14px;padding-top:4px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.img{background-color:transparent;border-radius:6px;display:flex;max-height:220px;max-width:220px;overflow:hidden;padding:0}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-file.img .file-img{cursor:pointer;display:flex}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-loading{display:flex}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-loading .common-loading{height:20px;margin:4px;width:20px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-content .content-unknown{text-decoration:underline}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-menu{margin-left:6px;opacity:0;transition:all .3s}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-menu .menu-icon{align-items:center;background-color:#fff;border:1px solid #ddd;border-radius:4px;display:flex}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-menu .menu-icon>i{color:#999;cursor:pointer;display:inline-block;flex:1;font-size:13px;padding:4px 6px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-menu .menu-icon>i+i{border-left:1px solid #ddd}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-head .dialog-menu .menu-icon>i:hover{color:#777}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-foot{align-items:center;display:flex;height:21px;line-height:1;padding-top:4px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-foot .common-loading{height:10px;margin:0 2px;width:10px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-foot .time{color:#bbb;font-size:12px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-foot .done{color:#8bcf70;display:none;font-size:12px;margin-left:4px;transform:scale(.9)}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-foot .percent{cursor:pointer;display:none;margin-left:4px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-action{align-items:flex-start;align-self:flex-start;display:flex;height:100%}.dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-action>*{margin:0 5px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.history{cursor:pointer;font-size:13px;justify-content:center;margin:12px 0;opacity:.6;padding:3px 0;transition:opacity .2s}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.history:hover{opacity:1}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.history-tip{padding-top:60px;position:relative}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.history-tip .history-text{background:#f5f5f5;border-radius:2px;font-size:12px;font-style:normal;height:22px;left:50%;line-height:22px;padding:0 48px;position:absolute;text-align:center;top:10px;transform:translateX(-50%)}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.loading{justify-content:center;padding:12px 0}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.loading .common-loading{height:18px;margin:0;width:18px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.nothing{color:#999;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.bottom{height:0;margin:0;padding:0}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self{flex-direction:row-reverse}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view{align-items:flex-end;margin:0 8px 0 0}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-head{flex-direction:row-reverse}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-head .dialog-content{background-color:#8bcf70;border-radius:6px 6px 0 6px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-head .dialog-content .content-text{color:#fff}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-head .dialog-content .content-file.file{background-color:#f4f5f7}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-head .dialog-content .content-file.img{background-color:transparent;border-radius:6px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-head .dialog-menu{margin-left:0;margin-right:6px}.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-foot .done,.dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-foot .percent{display:inline-block}.dialog-wrapper .dialog-footer{align-items:flex-end;display:flex;flex-direction:column;margin-bottom:20px;padding:0 28px;position:relative}.dialog-wrapper .dialog-footer .dialog-newmsg{background-color:rgba(0,0,0,.6);border-radius:16px;color:#fff;cursor:pointer;display:none;font-size:12px;height:30px;line-height:30px;margin-bottom:20px;margin-right:10px;padding:0 12px;z-index:2}.dialog-wrapper .dialog-footer .dialog-input{background-color:#f4f5f7;border-radius:10px;padding:10px 52px 10px 12px}.dialog-wrapper .dialog-footer .dialog-input .ivu-input{background-color:transparent;border:0;resize:none}.dialog-wrapper .dialog-footer .dialog-input .ivu-input:focus{box-shadow:none}.dialog-wrapper .dialog-footer .dialog-send{align-items:center;bottom:0;display:flex;font-size:18px;justify-content:center;position:absolute;right:14px;top:0;width:46px}.dialog-wrapper .dialog-footer .chat-upload{display:none;height:0;overflow:hidden;width:0}.dialog-wrapper .dialog-footer.newmsg{margin-top:-50px}.dialog-wrapper .dialog-footer.newmsg .dialog-newmsg{display:block}.dialog-wrapper .drag-over{align-items:center;background-color:hsla(0,0%,100%,.78);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.dialog-wrapper .drag-over:before{border:2px dashed #7b7b7b;border-radius:12px;bottom:16px;content:"";left:16px;position:absolute;right:16px;top:16px}.dialog-wrapper .drag-over .drag-text{color:#666;font-size:18px;padding:12px}.dialog-wrapper-read-poptip-content{display:flex;position:relative}.dialog-wrapper-read-poptip-content .read,.dialog-wrapper-read-poptip-content .unread{flex:1;max-height:300px;overflow:auto}.dialog-wrapper-read-poptip-content .read>li,.dialog-wrapper-read-poptip-content .unread>li{list-style:none;margin-bottom:12px}.dialog-wrapper-read-poptip-content .read>li .common-avatar,.dialog-wrapper-read-poptip-content .unread>li .common-avatar{width:100%}.dialog-wrapper-read-poptip-content .read>li:last-child,.dialog-wrapper-read-poptip-content .unread>li:last-child{margin-bottom:6px}.dialog-wrapper-read-poptip-content .read>li.read-title>em,.dialog-wrapper-read-poptip-content .unread>li.read-title>em{font-size:18px;font-style:normal;font-weight:600;padding-right:6px}.dialog-wrapper-read-poptip-content .unread>li{padding-left:16px}.dialog-wrapper-read-poptip-content:before{background-color:#f4f4f5;bottom:0;content:"";left:50%;position:absolute;top:0;width:1px}.dialog-wrapper-paste{margin-top:-4px}.dialog-wrapper-paste img{max-height:1000px;max-width:100%}.dialog-wrapper-paste>div,.dialog-wrapper-paste>img{display:flex;flex-direction:column;margin:4px 0;padding:0}@media (max-width:768px){.dialog-wrapper .dialog-footer{margin-bottom:16px;padding:0 20px}}.file-content,.file-preview{border-radius:18px 18px 0 0;bottom:0;display:flex;flex-direction:column;left:0;overflow:hidden;position:absolute;right:0;top:0}.file-content .preview-iframe,.file-preview .preview-iframe{background:0 0;border:0;float:none;height:100%;left:0;margin:-1px 0 0;max-width:none;outline:0;padding:0;position:absolute;top:0;width:100%}.file-content .edit-header,.file-preview .edit-header{align-items:center;background-color:#fff;box-shadow:0 1px 5px 0 rgba(0,0,0,.05);display:flex;flex-direction:row;height:42px;position:relative;width:100%;z-index:99}.file-content .edit-header .header-title,.file-preview .edit-header .header-title{color:#333;flex:1;font-size:16px;line-height:24px;overflow:hidden;padding-left:24px;padding-right:24px;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:#333;cursor:pointer;font-weight:500;padding-right:6px;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{align-items:center;display:flex}.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{background-color:#8bcf70;border:2px solid #fff;border-radius:50%;color:#fff;font-size:12px;height:28px;line-height:24px;text-align:center;width:28px;z-index:1}.file-content .edit-header .header-hint,.file-preview .edit-header .header-hint{color:#666;font-size:12px;padding-right:22px;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-button,.file-preview .edit-header .header-button{font-size:12px;margin-right:24px}.file-content .content-body,.file-preview .content-body{display:flex;flex:1;position:relative}.file-content .content-body .mdeditor-wrapper,.file-content .content-body .teditor-wrapper,.file-preview .content-body .mdeditor-wrapper,.file-preview .content-body .teditor-wrapper{display:flex;flex:1}.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{bottom:0;left:0;overflow:auto;position:absolute;right:0;top:0;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 #eee}.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{background:#fff;padding:0 12%}.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{border:1px solid #e8e8e8;border-radius:2px;box-shadow:0 4px 8px 0 rgba(0,0,0,.08);margin:22px 12%}.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-load,.file-preview .content-load{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:42px;z-index:1000}.file-content .content-load .common-loading,.file-preview .content-load .common-loading{margin:0}.file-preview .edit-header .header-title{align-items:center;display:flex}.file-preview .edit-header .header-title .ivu-tag{line-height:20px;margin-left:6px;padding:0 6px}.file-preview .edit-header .header-title .refresh{align-items:center;display:flex;margin-left:6px}.file-preview .edit-header .header-title .refresh .common-loading{height:16px;margin:2px;width:16px}.file-preview .edit-header .header-title .refresh>i{cursor:pointer;font-size:20px;opacity:.6;transition:all .2s}.file-preview .edit-header .header-title .refresh>i:hover{opacity:1}.file-preview .content-body{overflow:hidden}.file-preview .content-body .markdown-preview-warp{flex:1;overflow:auto}@media (max-width:1200px){.file-content{overflow:auto}.file-content .content-body,.file-content .edit-header{min-width:768px;overflow-x:auto}.file-content .content-body .tox .tox-toolbar--scrolling,.file-content .edit-header .tox .tox-toolbar--scrolling{flex-wrap:wrap}.file-content .content-body .teditor-loadedstyle .tox-menubar,.file-content .content-body .teditor-loadedstyle .tox-toolbar-overlord,.file-content .edit-header .teditor-loadedstyle .tox-menubar,.file-content .edit-header .teditor-loadedstyle .tox-toolbar-overlord{padding:0}.file-content .content-body .teditor-loadedstyle .tox-sidebar-wrap,.file-content .edit-header .teditor-loadedstyle .tox-sidebar-wrap{margin:0}}.project-archived{bottom:0;display:flex;flex-direction:column;left:0;padding:20px;position:absolute;right:0;top:0}.project-archived .archived-title{align-items:center;color:#333;display:flex;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.project-archived .archived-title .title-icon{align-items:center;display:flex;height:14px;margin-left:4px;margin-top:2px;width:14px}.project-archived .archived-title .title-icon>i{cursor:pointer}.project-archived .table-page-box{flex:1;height:0}.project-dialog{background-color:#fff;border-left:1px solid #f4f5f5;display:flex;flex-direction:column;position:relative;z-index:1}.project-dialog .project-dialog-wrapper .dialog-user{margin-top:26px;padding:0 22px}.project-dialog .project-dialog-wrapper .dialog-user .member-head{align-items:center;display:flex}.project-dialog .project-dialog-wrapper .dialog-user .member-head .member-title{flex:1;font-size:18px;font-weight:600}.project-dialog .project-dialog-wrapper .dialog-user .member-head .member-title>span{color:#8bcf70;cursor:pointer;padding-left:6px}.project-dialog .project-dialog-wrapper .dialog-user .member-head .member-close{cursor:pointer}.project-dialog .project-dialog-wrapper .dialog-user .member-head .member-close .ivu-icon-ios-close{font-size:38px;right:2px;top:3px;transition:all .2s}.project-dialog .project-dialog-wrapper .dialog-user .member-head .member-close:hover .ivu-icon-ios-close{transform:rotate(-90deg)}.project-dialog .project-dialog-wrapper .dialog-user .member-list{align-items:center;display:flex;margin-top:12px;overflow:auto}.project-dialog .project-dialog-wrapper .dialog-user .member-list::-webkit-scrollbar{display:none}.project-dialog .project-dialog-wrapper .dialog-user .member-list>li{list-style:none;margin-bottom:8px;margin-right:10px;position:relative}.project-dialog .project-dialog-wrapper .dialog-user .member-list.member-all{display:block}.project-dialog .project-dialog-wrapper .dialog-user .member-list.member-all>li{display:inline-block;overflow:hidden}.project-dialog .project-dialog-wrapper .dialog-nav{padding:0 20px}.project-dialog .project-dialog-wrapper .dialog-footer .dialog-back{display:none}@media (max-width:768px){.project-dialog .project-dialog-wrapper .dialog-user{margin-top:16px;padding:0 12px}.project-dialog .project-dialog-wrapper .dialog-nav{height:58px;padding:0 12px}.project-dialog .project-dialog-wrapper .dialog-scroller{padding:0 20px}.project-dialog .project-dialog-wrapper .dialog-footer{position:relative}.project-dialog .project-dialog-wrapper .dialog-footer .dialog-back{align-items:center;bottom:0;display:flex;font-size:26px;justify-content:center;left:0;position:absolute;top:0;width:64px;z-index:1}.project-dialog .project-dialog-wrapper .dialog-footer .dialog-input{width:calc(100% - 44px)}}.project-gstc-gantt{background-color:#fdfdfd;border-radius:3px;bottom:15px;left:15px;overflow:hidden;position:absolute;right:15px;top:15px;transform:translateZ(0);z-index:1}.project-gstc-gantt .project-gstc-dropdown-filtr{left:222px;position:absolute;top:38px}.project-gstc-gantt .project-gstc-dropdown-filtr .project-gstc-dropdown-icon{color:#999;cursor:pointer;font-size:20px}.project-gstc-gantt .project-gstc-dropdown-filtr .project-gstc-dropdown-icon.filtr{color:#058ce4}.project-gstc-gantt .project-gstc-close{cursor:pointer;left:12px;position:absolute;top:8px}.project-gstc-gantt .project-gstc-close:hover i{transform:scale(1) rotate(45deg)}.project-gstc-gantt .project-gstc-close i{color:#666;font-size:28px;transform:scale(.92);transition:all .2s}.project-gstc-gantt .project-gstc-edit{background:#fff;border-radius:4px;bottom:6px;opacity:0;position:absolute;right:6px;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{background:#fff;border:1px solid #e4e4e4;border-radius:4px;display:none;padding:6px;width:500px}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-info .project-gstc-edit-btns{align-items:center;display:flex;justify-content:flex-end;margin:12px 6px 4px}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-info .project-gstc-edit-btns .ivu-btn{font-size:13px;margin-right:8px}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-info .project-gstc-edit-btns .zoom{color:#444;cursor:pointer;font-size:20px}.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{align-items:center;background:#fff;border:1px solid #e4e4e4;display:flex;padding:6px 12px}.project-gstc-gantt .project-gstc-edit .project-gstc-edit-small .project-gstc-edit-text{color:#444;cursor:pointer;margin-right:8px;text-decoration:underline}.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{font-size:13px;margin-left:4px}.project-gstc-gantt .ivu-dropdown-item.dropdown-active{color:#058ce4}.project-list,.project-list .project-head{display:flex;flex-direction:column}.project-list .project-head{align-items:flex-start;margin:32px 32px 0}.project-list .project-head .project-titbox{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:24px;width:100%}.project-list .project-head .project-titbox .project-title{align-items:center;display:flex}.project-list .project-head .project-titbox .project-title>h1{color:#333;font-size:28px;font-weight:600}.project-list .project-head .project-titbox .project-title .project-load{align-items:center;display:flex;margin-left:18px}.project-list .project-head .project-titbox .project-title .project-load .common-loading{height:22px;width:22px}.project-list .project-head .project-titbox .project-title .top-text{background-color:#8bcf70;border-radius:4px;color:#fff;height:24px;margin-left:10px;margin-top:3px;padding-top:2px;text-align:center;width:40px}.project-list .project-head .project-titbox .project-icons{align-items:center;display:flex;flex-shrink:0;margin-top:3px}.project-list .project-head .project-titbox .project-icons>li{align-items:center;border-radius:50%;cursor:pointer;display:flex;height:36px;justify-content:center;list-style:none;margin-left:16px;position:relative;transition:box-shadow .3s;width:36px}.project-list .project-head .project-titbox .project-icons>li:hover{box-shadow:0 0 6px #ccc}.project-list .project-head .project-titbox .project-icons>li.project-avatar{min-width:36px;width:auto}.project-list .project-head .project-titbox .project-icons>li.project-avatar:hover{box-shadow:none}.project-list .project-head .project-titbox .project-icons>li.project-avatar>ul{align-items:center;display:flex}.project-list .project-head .project-titbox .project-icons>li.project-avatar>ul>li{list-style:none;margin-left:-6px;transition:transform .2s}.project-list .project-head .project-titbox .project-icons>li.project-avatar>ul>li .ivu-badge{left:23px;position:absolute;top:-5px;transform:scale(.8)}.project-list .project-head .project-titbox .project-icons>li.project-avatar>ul>li:hover{transform:scale(1.05)}.project-list .project-head .project-titbox .project-icons>li.project-avatar>ul>li:first-child{margin-left:0}.project-list .project-head .project-titbox .project-icons>li.project-avatar>ul>li.more{align-items:center;background-color:transparent;border-color:transparent;color:#aaa;display:flex;font-size:17px;height:32px;justify-content:center;transform:scale(1)!important;width:30px;z-index:1}.project-list .project-head .project-titbox .project-icons>li.project-icon{background-color:#f2f3f5;border-radius:50%}.project-list .project-head .project-titbox .project-icons>li.project-icon .menu-icon{font-size:20px;height:36px;line-height:36px;width:36px}.project-list .project-head .project-titbox .project-icons>li.project-icon .menu-badge{left:20px;position:absolute;top:-6px;transform:scale(.8)}.project-list .project-head .project-titbox .project-icons>li.project-icon .search-input{margin:2px 0;width:170px}.project-list .project-head .project-titbox .project-icons>li.project-icon.active{background-color:#8bcf70;color:#fff}.project-list .project-head .project-subbox{width:100%}.project-list .project-head .project-subbox .project-subtitle{color:#999;float:left;line-height:24px;padding:3px 0}.project-list .project-head .project-subbox .project-switch{align-items:flex-end;display:flex;float:right;margin-left:32px}.project-list .project-head .project-subbox .project-switch .project-checkbox{align-items:center;display:flex;height:30px;margin-right:14px;opacity:.9}.project-list .project-head .project-subbox .project-switch .project-checkbox .ivu-checkbox-focus{box-shadow:none}.project-list .project-head .project-subbox .project-switch .project-select{align-items:center;display:flex;height:30px;margin-right:14px;opacity:.9}.project-list .project-head .project-subbox .project-switch .project-select .project-flow{align-items:center;background:#f7f7f7;border:1px solid #e8eaec;border-radius:4px;cursor:pointer;display:flex;font-size:13px;height:28px;justify-content:center;line-height:26px;padding:0 8px}.project-list .project-head .project-subbox .project-switch .project-select .project-flow.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.project-list .project-head .project-subbox .project-switch .project-select .project-flow.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.project-list .project-head .project-subbox .project-switch .project-select .project-flow.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.project-list .project-head .project-subbox .project-switch .project-select .project-flow.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.project-list .project-head .project-subbox .project-switch .project-switch-button{align-items:center;background-color:#fff;border-radius:6px;display:flex;height:30px;position:relative;transition:all .2s}.project-list .project-head .project-subbox .project-switch .project-switch-button .active{color:#8bcf70}.project-list .project-head .project-subbox .project-switch .project-switch-button .slider{background-color:rgba(139,207,112,.1);border:1px solid #8bcf70;border-radius:6px;color:#8bcf70;height:100%;left:0;position:absolute;top:0;transition:left .2s;width:33.3%;z-index:0}.project-list .project-head .project-subbox .project-switch .project-switch-button:hover{box-shadow:0 0 10px #e6ecfa}.project-list .project-head .project-subbox .project-switch .project-switch-button>div{align-items:center;border-radius:6px;color:#606266;cursor:pointer;display:flex;height:30px;justify-content:center;width:32px;z-index:1}.project-list .project-head .project-subbox .project-switch .project-switch-button>div>i{font-size:17px}.project-list .project-column{display:flex;height:100%;overflow-x:auto;overflow-y:hidden;padding-top:15px}.project-list .project-column>ul{align-items:flex-start;display:inline-flex;justify-content:space-between}.project-list .project-column>ul>li{display:flex;flex-direction:column;flex-shrink:0;height:100%;list-style:none;width:260px}.project-list .project-column>ul>li:first-child{margin-left:22px}.project-list .project-column>ul>li:last-child{margin-right:22px}.project-list .project-column>ul>li.add-column{background-color:#f2f3f5;border-radius:4px;color:#888;cursor:pointer;height:36px}.project-list .project-column>ul>li.add-column .add-column-text{align-items:center;display:flex;flex-direction:row;line-height:36px;padding:0 12px}.project-list .project-column>ul>li.add-column .add-column-text>i{font-size:16px;padding-right:8px}.project-list .project-column>ul>li.add-column .add-column-text:hover{color:#777}.project-list .project-column>ul>li.add-column .add-column-input{align-items:center;display:none;height:36px}.project-list .project-column>ul>li.add-column .add-column-input .ivu-input{height:36px;padding:4px 10px}.project-list .project-column>ul>li.add-column .add-column-input .ivu-input-icon{height:36px;line-height:36px;width:36px}.project-list .project-column>ul>li.add-column.show-input .add-column-text{display:none}.project-list .project-column>ul>li.add-column.show-input .add-column-input{display:flex}.project-list .project-column>ul>li .column-head{align-items:center;background-color:#f2f3f5;border-radius:4px;display:flex;margin:0 10px;padding:7px 10px}.project-list .project-column>ul>li .column-head .column-head-title{align-items:center;display:flex;flex:1;font-weight:500;width:0}.project-list .project-column>ul>li .column-head .column-head-title>span{font-size:15px}.project-list .project-column>ul>li .column-head .column-head-title>em{color:#888;font-size:14px;font-style:normal;padding-left:6px}.project-list .project-column>ul>li .column-head .column-head-icon{align-items:center;display:flex;margin-left:16px}.project-list .project-column>ul>li .column-head .column-head-icon .ivu-icon,.project-list .project-column>ul>li .column-head .column-head-icon .loading{align-items:center;display:flex;height:24px;justify-content:center;padding-right:8px;width:24px}.project-list .project-column>ul>li .column-head .column-head-icon .ivu-icon .common-loading,.project-list .project-column>ul>li .column-head .column-head-icon .loading .common-loading{height:16px;margin:0;width:16px}.project-list .project-column>ul>li .column-head .column-head-icon .ivu-icon{color:#aaa;cursor:pointer;font-size:16px;font-weight:600;transition:color .3s}.project-list .project-column>ul>li .column-head .column-head-icon .ivu-icon:hover{color:#888}.project-list .project-column>ul>li .column-head .column-head-icon .last{padding-right:0}.project-list .project-column>ul>li .column-head.custom-color{color:#fff}.project-list .project-column>ul>li .column-head.custom-color .column-head-title>em{color:hsla(0,0%,100%,.6)}.project-list .project-column>ul>li .column-head.custom-color .ivu-icon{color:hsla(0,0%,100%,.5)}.project-list .project-column>ul>li .column-head.custom-color .ivu-icon:hover{color:hsla(0,0%,100%,.9)}.project-list .project-column>ul>li .column-task{display:flex;flex:1;flex-direction:column;overflow-x:hidden;overflow-y:auto}.project-list .project-column>ul>li .column-task .task-list>div:last-child{margin-bottom:16px}.project-list .project-column>ul>li .column-task .task-item{background-color:#fff;border-radius:12px;cursor:pointer;margin:16px 10px 0;padding:12px;position:relative;transition:box-shadow .3s,opacity .3s}.project-list .project-column>ul>li .column-task .task-item:hover{box-shadow:0 0 10px #e6ecfa}.project-list .project-column>ul>li .column-task .task-item .task-head{align-items:flex-start;display:flex}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title{flex:1;padding-top:1px}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title>span{border:1px solid #8bcf70;border-radius:3px;color:#8bcf70;float:left;font-size:12px;height:20px;line-height:18px;margin-right:4px;padding:0 3px;text-align:center}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title>span.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title>span.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title>span.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title>span.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.project-list .project-column>ul>li .column-task .task-item .task-head .task-title>pre{word-wrap:break-word;display:block;line-height:1.5;margin:0;padding:0;white-space:pre-wrap;word-break:break-word}.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu{height:22px;margin-left:8px;width:22px}.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon,.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .loading{align-items:center;display:flex;height:22px;justify-content:center;width:22px}.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon .common-loading,.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .loading .common-loading{height:16px;margin:0;width:16px}.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon{font-size:22px}.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon.uncomplete{color:#777}.project-list .project-column>ul>li .column-task .task-item .task-head .task-menu .ivu-icon.uncomplete:hover{color:#555}.project-list .project-column>ul>li .column-task .task-item .task-head.has-desc .task-title{font-weight:600}.project-list .project-column>ul>li .column-task .task-item .task-desc>pre{color:#999;line-height:20px;margin:10px 0 0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}.project-list .project-column>ul>li .column-task .task-item .task-tags{margin-top:10px}.project-list .project-column>ul>li .column-task .task-item .task-users{align-items:center;display:flex;margin-top:10px}.project-list .project-column>ul>li .column-task .task-item .task-users>ul{align-items:center;display:flex;flex:1;margin-right:24px;overflow:auto;width:0}.project-list .project-column>ul>li .column-task .task-item .task-users>ul>li{height:32px;list-style:none;margin-left:-6px;width:32px}.project-list .project-column>ul>li .column-task .task-item .task-users>ul>li:first-child{margin-left:0}.project-list .project-column>ul>li .column-task .task-item .task-users>ul>li.no-owner{width:auto}.project-list .project-column>ul>li .column-task .task-item .task-users>ul>li.no-owner .ivu-btn-small{font-size:12px}.project-list .project-column>ul>li .column-task .task-item .task-users .task-icon{font-size:12px;margin-left:6px}.project-list .project-column>ul>li .column-task .task-item .task-users .task-icon .ivu-icon{font-size:14px;margin-left:1px}.project-list .project-column>ul>li .column-task .task-item .task-progress{align-items:center;display:flex;justify-content:flex-end;margin-top:10px}.project-list .project-column>ul>li .column-task .task-item .task-progress .task-sub-num{color:#777;font-size:12px;margin-right:8px}.project-list .project-column>ul>li .column-task .task-item .task-progress .task-time{align-items:center;background-color:#eaedf2;border:1px solid #eaedf2;border-radius:3px;color:#777;display:flex;flex-shrink:0;font-size:12px;margin-left:18px;padding:0 3px}.project-list .project-column>ul>li .column-task .task-item .task-progress .task-time.overdue,.project-list .project-column>ul>li .column-task .task-item .task-progress .task-time.today{color:#fff}.project-list .project-column>ul>li .column-task .task-item .task-progress .task-time.overdue{background-color:#ed4014;border-color:#ed4014;font-weight:600}.project-list .project-column>ul>li .column-task .task-item .task-progress .task-time.today{background-color:#f90;border-color:#f90;font-weight:500}.project-list .project-column>ul>li .column-task .task-item .task-progress .task-time .taskfont{font-size:12px;margin-right:3px}.project-list .project-column>ul>li .column-task .task-item .priority-color{border-radius:2px;height:42px;left:0;max-height:50%;position:absolute;top:12px;width:3px}.project-list .project-column>ul>li .column-task .task-item.additem{cursor:default;padding:0}.project-list .project-column>ul>li .column-task .task-item.complete{opacity:.5}.project-list .project-column>ul>li .column-task .task-item.complete:hover{opacity:.8}.project-list .project-column>ul>li .column-task .task-item.complete .task-head .task-title{text-decoration:line-through}.project-list .project-column>ul>li .column-task .task-item.complete .priority-color,.project-list .project-column>ul>li .column-task .task-item.complete .task-desc,.project-list .project-column>ul>li .column-task .task-item.complete .task-progress,.project-list .project-column>ul>li .column-task .task-item.complete .task-tags,.project-list .project-column>ul>li .column-task .task-item.complete .task-users,.project-list .project-column>ul>li .column-task .task-item.hidden{display:none}.project-list .project-table{height:100%;margin-top:18px;overflow:auto}.project-list .project-table .task-row{background-color:#fff;border-bottom:1px solid #f4f4f5;position:relative}.project-list .project-table .task-row>div{align-items:center;border-right:1px solid #f4f4f5;display:flex;padding:8px 12px}.project-list .project-table .task-row>div:first-child{padding-left:32px}.project-list .project-table .task-row>div:last-child{border-right:0}.project-list .project-table .task-row>div.complete .item-title{color:#aaa;text-decoration:line-through}.project-list .project-table .task-row .priority-color{bottom:-1px;left:0;position:absolute;top:0;width:3px}.project-list .project-table .project-table-body,.project-list .project-table .project-table-head{border:1px solid #f4f4f5;border-bottom:0;border-radius:5px;margin:0 32px 12px;min-width:800px;overflow:hidden}.project-list .project-table .project-table-body.project-table-hide .task-rows,.project-list .project-table .project-table-head.project-table-hide .task-rows{display:none}.project-list .project-table .project-table-body.project-table-hide .row-title .taskfont,.project-list .project-table .project-table-head.project-table-hide .row-title .taskfont{transform:rotate(-90deg)}.project-list .project-table .project-table-head .task-row>div{color:#888;font-size:13px;font-weight:500}.project-list .project-table .project-table-head .task-row>div .sort{align-items:center;cursor:pointer;display:flex}.project-list .project-table .project-table-head .task-row>div .task-sort{cursor:pointer;display:inline-block;height:12px;margin-left:1px;margin-top:-1px;overflow:hidden;position:relative;vertical-align:middle;width:14px}.project-list .project-table .project-table-head .task-row>div .task-sort>i{color:#c5c8ce;display:block;font-size:16px;height:6px;line-height:6px;overflow:hidden;position:absolute;transition:color .2s ease-in-out}.project-list .project-table .project-table-head .task-row>div .task-sort>i.on{color:#8bcf70}.project-list .project-table .project-table-head .task-row>div .task-sort>i:hover{color:inherit}.project-list .project-table .project-table-head .task-row>div .task-sort>i:first-child{top:0}.project-list .project-table .project-table-head .task-row>div .task-sort>i:last-child{bottom:0}.project-list .project-table .project-table-body{transition:box-shadow .3s}.project-list .project-table .project-table-body:hover{box-shadow:0 0 10px #e6ecfa}.project-list .project-table .project-table-body .task-row>div{padding:10px 12px}.project-list .project-table .project-table-body .task-row>div.row-title{color:#333;font-size:14px;font-weight:500;padding-left:14px}.project-list .project-table .project-table-body .task-row>div.row-title .taskfont{cursor:pointer;font-size:12px;transition:transform .3s}.project-list .project-table .project-table-body .task-row>div.row-title .row-h1{padding-left:18px}.project-list .project-table .project-table-body .task-row>div.row-title .row-num{color:#999;padding-left:6px}.project-list .project-table .project-table-body .task-row>div.row-name{align-items:flex-start;line-height:24px;padding:12px 12px 12px 34px}.project-list .project-table .project-table-body .task-row>div.row-name .loading{height:24px}.project-list .project-table .project-table-body .task-row>div.row-name .ivu-icon{cursor:pointer;font-size:16px}.project-list .project-table .project-table-body .task-row>div.row-name .ivu-icon.sub-icon{color:#cfcfcf;font-size:16px;height:16px;margin-left:-20px;margin-right:4px;margin-top:4px;transition:transform .2s;width:16px}.project-list .project-table .project-table-body .task-row>div.row-name .ivu-icon.sub-icon.active{transform:rotate(90deg)}.project-list .project-table .project-table-body .task-row>div.row-name .ivu-icon.uncomplete{color:#ccc}.project-list .project-table .project-table-body .task-row>div.row-name .item-title{cursor:pointer;flex:1;padding:0 22px 0 8px}.project-list .project-table .project-table-body .task-row>div.row-name .item-title>span{border:1px solid #8bcf70;border-radius:3px;color:#8bcf70;display:inline-block;font-size:12px;height:18px;line-height:16px;margin-right:3px;margin-top:3px;min-width:20px;padding:0 2px;text-align:center;vertical-align:top}.project-list .project-table .project-table-body .task-row>div.row-name .item-title>span.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.project-list .project-table .project-table-body .task-row>div.row-name .item-title>span.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.project-list .project-table .project-table-body .task-row>div.row-name .item-title>span.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.project-list .project-table .project-table-body .task-row>div.row-name .item-title>span.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.project-list .project-table .project-table-body .task-row>div.row-name .item-icons{align-items:center;display:flex;flex-shrink:0;margin-left:4px}.project-list .project-table .project-table-body .task-row>div.row-name .item-icons .item-icon{color:#aaa;cursor:pointer;display:flex;font-size:12px;margin-left:16px}.project-list .project-table .project-table-body .task-row>div.row-name .item-icons .item-icon .taskfont{font-size:12px}.project-list .project-table .project-table-body .task-row>div.row-name .item-icons .item-icon>em{font-style:normal;margin-left:4px}.project-list .project-table .project-table-body .task-row>div.row-column .el-dropdown,.project-list .project-table .project-table-body .task-row>div.row-priority .el-dropdown{align-items:center;display:flex;overflow:hidden}.project-list .project-table .project-table-body .task-row>div.row-column .task-column,.project-list .project-table .project-table-body .task-row>div.row-column .task-priority,.project-list .project-table .project-table-body .task-row>div.row-priority .task-column,.project-list .project-table .project-table-body .task-row>div.row-priority .task-priority{cursor:pointer}.project-list .project-table .project-table-body .task-row>div.row-column .task-column{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-list .project-table .project-table-body .task-row>div.row-user{padding:8px}.project-list .project-table .project-table-body .task-row>div.row-user>ul{align-items:center;cursor:pointer;display:flex;height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-list .project-table .project-table-body .task-row>div.row-user>ul>li{display:inline-block;list-style:none;margin-left:-6px;max-width:100%}.project-list .project-table .project-table-body .task-row>div.row-user>ul>li:first-child{margin-left:0}.project-list .project-table .project-table-body .task-row>div.row-user>ul>li.no-owner{align-items:center;display:flex;height:32px}.project-list .project-table .project-table-body .task-row>div.row-time .task-time{cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-list .project-table .project-table-body .task-row>div.row-time .task-time.overdue,.project-list .project-table .project-table-body .task-row>div.row-time .task-time.today{border:1px solid transparent;border-radius:3px;color:#fff;font-size:13px;padding:0 4px}.project-list .project-table .project-table-body .task-row>div.row-time .task-time.overdue{background-color:#ed4014;border-color:#ed4014;font-weight:600}.project-list .project-table .project-table-body .task-row>div.row-time .task-time.today{background-color:#f90;border-color:#f90;font-weight:500}.project-list .project-table .project-table-body .task-rows .task-rows{overflow:hidden;position:relative}.project-list .project-table .project-table-body .task-rows .task-rows:before{box-shadow:0 0 8px 1px rgba(0,0,0,.08);content:"";left:0;position:absolute;right:0;top:0;z-index:1}.project-list .project-table .project-table-body .task-rows .task-rows .task-row{background-color:#fcfcfd}.project-list .project-table .project-table-body .task-rows .task-rows .task-row .priority-color{display:none}.project-list .project-table .project-table-body .task-rows .task-rows .task-row>div.row-name{padding-left:56px}.project-list .project-table .project-table-body .task-rows .task-rows .task-row>div.row-name .item-title{color:#6b6e72}.project-list .project-table .project-table-body .task-rows .task-rows .task-row>div.row-column>div,.project-list .project-table .project-table-body .task-rows .task-rows .task-row>div.row-priority>div{display:none}.project-list .project-table .project-table-body .task-rows .task-rows .task-add-row{background-color:#fcfcfd}.project-list .project-table .project-table-body .task-rows .task-rows .task-add-row>div.row-add{padding-left:56px}.project-list .project-gantt{height:100%;position:relative}.project-list-more-dropdown-menu>li .item{align-items:center;display:flex}.project-list-more-dropdown-menu>li .item>i{color:#bbb;font-size:18px;height:18px;line-height:18px;margin-right:8px;padding:0;width:18px}.project-list-more-dropdown-menu>li .item>i.ivu-icon{font-size:16px}.project-list-wait-remove{margin-top:6px}.project-list-wait-remove>li{align-items:center;display:flex;line-height:26px;list-style:none}.project-list-wait-remove>li:first-child{font-weight:600}.project-list-flow-cascader .ivu-cascader-menu-item{color:#606266!important}.project-list-flow-cascader .ivu-cascader-menu-item.start{color:#ff7070!important}.project-list-flow-cascader .ivu-cascader-menu-item.progress{color:#fc984b!important}.project-list-flow-cascader .ivu-cascader-menu-item.test{color:#2f99ec!important}.project-list-flow-cascader .ivu-cascader-menu-item.end{color:#0bc037!important}.project-list-flow-cascader .ivu-cascader-menu-item.ivu-cascader-menu-item-active.project-list-flow-cascader-item.start,.project-list-flow-cascader .ivu-cascader-menu-item:hover.project-list-flow-cascader-item.start{background-color:hsla(0,100%,72%,.1)}.project-list-flow-cascader .ivu-cascader-menu-item.ivu-cascader-menu-item-active.project-list-flow-cascader-item.progress,.project-list-flow-cascader .ivu-cascader-menu-item:hover.project-list-flow-cascader-item.progress{background-color:rgba(252,152,75,.1)}.project-list-flow-cascader .ivu-cascader-menu-item.ivu-cascader-menu-item-active.project-list-flow-cascader-item.test,.project-list-flow-cascader .ivu-cascader-menu-item:hover.project-list-flow-cascader-item.test{background-color:rgba(47,153,236,.1)}.project-list-flow-cascader .ivu-cascader-menu-item.ivu-cascader-menu-item-active.project-list-flow-cascader-item.end,.project-list-flow-cascader .ivu-cascader-menu-item:hover.project-list-flow-cascader-item.end{background-color:rgba(11,192,55,.1)}@media (max-width:768px){.project-list .project-head{margin:24px 24px 0}.project-list .project-head .project-titbox{display:block}.project-list .project-head .project-titbox .project-title{float:left;padding-bottom:4px}.project-list .project-head .project-titbox .project-icons{float:right;justify-content:flex-end;margin-left:24px;margin-top:4px}.project-list .project-head .project-subbox{display:block}.project-list .project-head .project-subbox .project-subtitle{margin-bottom:6px}.project-list .project-head .project-subbox .project-switch{justify-content:flex-end;margin-left:0}.project-list .project-column>ul>li:first-child{margin-left:10px}.project-list .project-column>ul>li:last-child{margin-right:10px}.project-list .project-table{overflow-x:auto}.project-list .project-table .project-table-body,.project-list .project-table .project-table-head{margin:0 24px 12px;min-width:768px}}.project-log .log-title{display:none}.project-log.is-drawer{bottom:0;left:0;overflow:auto;padding:20px;position:absolute;right:0;top:0}.project-log.is-drawer .log-title{color:#333;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.project-log .logs-activity{padding:12px;position:relative;word-break:break-all}.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{color:#bbb;cursor:pointer}.project-log .logs-activity>li .logs-date{color:rgba(0,0,0,.36);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{left:auto;margin-left:-13px;margin-right:6px;margin-top:8px;min-width:40px;position:static;width:auto}.project-log .logs-activity>li .logs-section .ivu-timeline>li .ivu-timeline-item-content{margin-top:-5px;padding-left:20px}.project-log .logs-activity>li .logs-dot{display:flex;height:18px;margin-left:10px;width:auto}.project-log .logs-activity>li .logs-dot .avatar-name.auto{color:#9599a1}.project-log .logs-activity>li .log-summary{padding:4px 0 4px 12px;position:relative}.project-log .logs-activity>li .log-summary>a,.project-log .logs-activity>li .log-summary>span{word-wrap:break-word;padding-right:6px;word-break:break-word}.project-log .logs-activity>li .log-summary .log-text{color:rgba(0,0,0,.72);display:inline-block}.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:rgba(0,0,0,.3);font-size:12px}.project-log .logs-activity>li .log-task{cursor:pointer;margin-bottom:6px;margin-left:12px;opacity:.6}.project-log .logs-activity>li .log-task:hover{opacity:1}.project-log .logs-activity>li .log-task:hover>em{color:#8bcf70}.project-log .logs-activity>li .log-task>em{border-radius:5px;color:#999;display:inline-block;font-size:12px;font-style:normal;height:18px;line-height:18px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-management{bottom:0;display:flex;flex-direction:column;left:0;padding:20px;position:absolute;right:0;top:0}.project-management .management-title{align-items:center;color:#333;display:flex;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.project-management .management-title .title-icon{align-items:center;display:flex;height:14px;margin-left:4px;margin-top:2px;width:14px}.project-management .management-title .title-icon>i{cursor:pointer}.project-management .project-name{align-items:center;display:flex}.project-management .project-name .ivu-tag{flex-shrink:0;height:18px;line-height:18px;overflow:hidden;padding:0 4px;text-overflow:ellipsis;transform:scale(.8);transform-origin:right center;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-workflow{bottom:0;display:flex;flex-direction:column;left:0;position:absolute;right:0;top:0}.project-workflow .workflow-title{align-items:center;color:#333;display:flex;font-size:20px;font-weight:500;line-height:1;padding:20px 20px 24px}.project-workflow .workflow-title .title-icon{align-items:center;display:flex;height:14px;margin-left:4px;margin-top:2px;width:14px}.project-workflow .workflow-title .title-icon>i{cursor:pointer}.project-workflow .workflow-content{flex:1;overflow:auto;padding:0 20px}.project-workflow .workflow-content .ivu-collapse-header{align-items:center;display:flex}.project-workflow .workflow-content .workflow-item{align-items:center;display:flex;flex:1}.project-workflow .workflow-content .workflow-item .workflow-name{flex-shrink:0;margin-right:24px}.project-workflow .workflow-content .workflow-item .workflow-status{align-items:center;display:flex;flex:1}.project-workflow .workflow-content .workflow-item .workflow-status>div{background:#f7f7f7;border:1px solid #e8eaec;border-radius:3px;font-size:12px;height:24px;line-height:22px;margin-right:8px;overflow:hidden;padding:0 8px;vertical-align:middle}.project-workflow .workflow-content .workflow-item .workflow-status>div.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.project-workflow .workflow-content .workflow-item .workflow-status>div.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.project-workflow .workflow-content .workflow-item .workflow-status>div.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.project-workflow .workflow-content .workflow-item .workflow-status>div.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.project-workflow .workflow-content .workflow-item .workflow-save{flex-shrink:0;margin:0 8px}.project-workflow .workflow-content .workflow-item .workflow-save>button{font-size:13px;height:26px;line-height:24px;margin-right:4px;padding:0 13px}.project-workflow .workflow-no{align-items:center;color:#999;display:flex;flex:1;flex-direction:column;justify-content:center;padding:0 20px}.project-workflow .workflow-no>button{margin-top:18px}.project-workflow .taskflow-config{display:flex;max-height:800px}.project-workflow .taskflow-config .taskflow-config-table{border-radius:4px;box-shadow:1px 0 3px rgba(0,0,0,.1);display:flex;width:100%}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-left-container{-ms-overflow-style:none;flex-shrink:0;overflow-x:scroll;padding-bottom:16px;padding-top:16px;position:relative;width:246px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-left-container:after{border-right:1px solid #f4f4f5;bottom:0;content:"";position:absolute;right:0;top:0;z-index:1}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-column-header{font-size:16px;font-weight:700;height:58px;left:0;line-height:58px;padding:0 20px;position:absolute;right:0;top:0}.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{height:calc(100% - 58px);margin-top:58px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block{padding:12px 0;width:100%}.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{border-top:1px solid #f4f4f5;content:"";left:0;position:absolute;right:0;top:0;z-index:1}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .taskflow-config-table-block-title{color:#8c8c8c;height:40px;line-height:40px;padding:0 20px}.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{display:flex;flex-direction:column;height:58px;justify-content:center;padding:0 20px;position:relative;width:100%}.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{display:flex;flex-direction:column;height:58px;justify-content:center;padding:0 20px;position:relative;width:100%}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-block .taskflow-config-table-block-item.with-indicator:before{border-radius:4px;content:"";height:20px;left:0;position:absolute;top:50%;transform:translateY(-50%);width: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{color:#8c8c8c;font-size:12px;margin-top:2px;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-direction:row;flex-grow:1;overflow-x:auto;overflow-y:hidden;padding-bottom:16px;padding-top:16px}.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{border-radius:4px;flex-shrink:0;height:100%;margin-bottom:16px;margin-right:16px;position:relative;width:210px}.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{align-items:center;border:1px dashed #d9d9d9;color:#8c8c8c;cursor:pointer;display:flex;flex-direction:column;justify-content:center}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.addnew:hover{border-color:#bfbfbf;color:#777}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.column-border{border-style:solid;border-width:1px}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.start{border-color:hsla(0,100%,72%,.2)}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.start:hover{border-color:hsla(0,100%,72%,.7)}.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{background-color:#ff7070;border-color:#ff7070}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.progress{border-color:rgba(252,152,75,.2)}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.progress:hover{border-color:rgba(252,152,75,.7)}.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{background-color:#fc984b;border-color:#fc984b}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.test{border-color:rgba(47,153,236,.2)}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.test:hover{border-color:rgba(47,153,236,.7)}.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{background-color:#2f99ec;border-color:#2f99ec}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.end{border-color:rgba(11,192,55,.2)}.project-workflow .taskflow-config .taskflow-config-table .taskflow-config-table-status-column.end:hover{border-color:rgba(11,192,55,.7)}.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{background-color:#0bc037;border-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{align-items:center;cursor:move;display:flex;height:58px;line-height:58px;padding:8px}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu{align-items:center;border-radius:4px;display:inline-flex;font-size:14px;font-weight:400;height:36px;justify-content:center;line-height:32px;max-width:100%;overflow:hidden;padding:0 32px;position:relative;text-overflow:ellipsis;white-space:nowrap;width:200px}.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:hsla(0,100%,72%,.1);color:#ff7070}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu.progress{background-color:rgba(252,152,75,.1);color:#fc984b}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu.test{background-color:rgba(47,153,236,.1);color:#2f99ec}.project-workflow .taskflow-config .taskflow-config-table .status-label-with-menu.end{background-color:rgba(11,192,55,.1);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{align-items:center;bottom:0;cursor:pointer;display:flex;font-size:18px;font-weight:400!important;justify-content:center;opacity:.2;position:absolute;right:0;top:0;transition:opacity .3s;width:38px}.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{align-items:center;display:flex}.taskflow-config-more-dropdown-menu .users{display:flex;margin:0 -8px;overflow:auto;padding:6px 0}.taskflow-config-more-dropdown-menu .users .common-avatar{margin-right:-5px;max-width:100%}.taskflow-config-more-dropdown-menu .item{align-items:center;display:flex}.taskflow-config-more-dropdown-menu .delete{color:red}.task-add .head{align-items:center;display:flex;margin-bottom:20px;padding:8px 0;position:relative}.task-add .head .ivu-cascader .ivu-cascader-label{align-items:center;display:flex;font-size:15px;padding:0;width:auto}.task-add .head .ivu-cascader .ivu-cascader-label:after{content:"\f116";font-family:Ionicons,serif;opacity:1;padding:6px;transition:all .2s}.task-add .head .ivu-cascader .ivu-cascader-arrow{display:none}.task-add .head .ivu-cascader .ivu-input{border:0;box-shadow:none;font-size:15px;padding:4px 0}.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-advanced .title .ivu-input,.task-add .task-add-form .title .ivu-input{border-color:transparent;font-size:24px;font-weight:500;line-height:1.4;padding:4px 0;resize:none}.task-add .task-add-advanced .title .ivu-input:focus,.task-add .task-add-form .title .ivu-input:focus{box-shadow:none}.task-add .task-add-advanced .desc,.task-add .task-add-form .desc{margin-top:24px;overflow:auto}.task-add .task-add-advanced .desc div[contenteditable=true],.task-add .task-add-form .desc div[contenteditable=true]{outline:none}.task-add .task-add-advanced .desc .mce-content-body img,.task-add .task-add-form .desc .mce-content-body img{max-width:100%}.task-add .task-add-advanced .desc .mce-content-body pre,.task-add .task-add-form .desc .mce-content-body pre{background:#f5f2f0;border-radius:5px;margin:7px 0;overflow:auto;padding:14px}.task-add .task-add-advanced .desc .mce-content-body[data-mce-placeholder]:not(.mce-visualblocks):before,.task-add .task-add-form .desc .mce-content-body[data-mce-placeholder]:not(.mce-visualblocks):before{color:#bbb}.task-add .task-add-advanced .advanced-option,.task-add .task-add-form .advanced-option{align-items:center;display:flex;margin-top:42px;z-index:1}.task-add .task-add-advanced .advanced-option>button,.task-add .task-add-form .advanced-option>button{transition:margin .2s}.task-add .task-add-advanced .advanced-option>button.advanced,.task-add .task-add-form .advanced-option>button.advanced{margin-left:24px}.task-add .task-add-advanced .advanced-option>button:focus,.task-add .task-add-form .advanced-option>button:focus{box-shadow:none}.task-add .task-add-advanced .advanced-option .advanced-priority,.task-add .task-add-form .advanced-option .advanced-priority{align-items:center;display:flex;height:34px;margin-left:24px}.task-add .task-add-advanced .advanced-option .advanced-priority>li,.task-add .task-add-form .advanced-option .advanced-priority>li{list-style:none;margin-left:3px}.task-add .task-add-advanced .advanced-option .advanced-priority>li .taskfont,.task-add .task-add-form .advanced-option .advanced-priority>li .taskfont{cursor:pointer;font-size:34px}.task-add .task-add-advanced .advanced-option .advanced-time,.task-add .task-add-form .advanced-option .advanced-time{align-items:center;cursor:pointer;display:flex;margin-left:20px;position:relative}.task-add .task-add-advanced .advanced-option .advanced-time .ivu-icon,.task-add .task-add-form .advanced-option .advanced-time .ivu-icon{font-size:32px}.task-add .task-add-advanced .advanced-option .advanced-time>em,.task-add .task-add-form .advanced-option .advanced-time>em{background:#8bcf70;border-radius:10px;box-shadow:0 0 0 1px #fff;color:#fff;font-family:"Monospaced Number","serif";font-size:12px;font-style:normal;height:20px;left:16px;line-height:20px;min-width:20px;padding:0 6px;position:absolute;text-align:center;top:-5px;transform:scale(.8);white-space:nowrap}.task-add .task-add-advanced{border:1px solid #e8e8e8;border-radius:8px;margin:-16px 0 0;padding:46px 32px 6px}.task-add .task-add-advanced .subtasks{background-color:#f8f8f8;border-radius:6px;margin-bottom:24px;padding:12px 16px}.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:focus,.task-add .task-add-advanced .subtasks .enter-input.empty .ivu-input:hover{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 .task-add-assist{align-items:center;display:flex;justify-content:flex-end;margin-top:6px}.task-add .task-add-assist .ivu-icon{color:#999;font-size:16px}.task-add .ivu-modal-footer{padding:26px 0 22px!important}.task-add-simple{padding:12px}.task-add-simple .ivu-input-wrapper{display:none}.task-add-simple .add-placeholder{color:#888;cursor:pointer;margin:-12px;padding:12px}.task-add-simple .add-placeholder .ivu-icon{margin-right:4px}.task-add-simple .add-placeholder:hover{color:#666}.task-add-simple .priority{align-items:center;display:none;margin-bottom:-3px;margin-top:10px;min-height:22px}.task-add-simple .priority>ul{align-items:center;display:flex;flex:1}.task-add-simple .priority>ul>li{list-style:none;margin-right:3px}.task-add-simple .priority>ul>li .taskfont{cursor:pointer;font-size:22px}.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{border-right:1px solid #f4f4f5;display:flex;padding:8px 12px}.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{cursor:pointer;display:block;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{align-items:flex-start;background-color:#fff;border:1px solid #dcdee2;border-radius:4px;color:#606266;display:none}.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{align-items:center;display:flex;height:31px;margin:0 4px}.task-add-row>div.row-add .add-input .priority>ul{align-items:center;display:flex;flex:1}.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{cursor:pointer;font-size:17px}.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-bottom:7px;padding-top: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{bottom:0;display:flex;flex-direction:column;left:0;padding:20px;position:absolute;right:0;top:0}.task-archived .archived-title{align-items:center;color:#333;display:flex;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.task-archived .archived-title .title-icon{align-items:center;display:flex;height:14px;margin-left:4px;margin-top:2px;width:14px}.task-archived .archived-title .title-icon>i{cursor:pointer}.task-archived .table-page-box{flex:1;height:0}.task-deleted{bottom:0;display:flex;flex-direction:column;left:0;padding:20px;position:absolute;right:0;top:0}.task-deleted .deleted-title{align-items:center;color:#333;display:flex;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.task-deleted .deleted-title .title-icon{align-items:center;display:flex;height:14px;margin-left:4px;margin-top:2px;width:14px}.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 -10px;min-height:120px;overflow:auto;padding:0 22px 12px 0}.task-detail .task-info{display:flex;flex:3;flex-direction:column;position:relative}.task-detail .task-info .head{align-items:center;color:#888;display:flex;height:42px;padding-bottom:10px;position:relative}.task-detail .task-info .head:before{background-color:#f4f5f5;bottom:0;content:"";height:1px;left:36px;position:absolute;right:0}.task-detail .task-info .head .icon{margin-right:18px}.task-detail .task-info .head .icon .task-menu-icon{align-items:center;display:flex}.task-detail .task-info .head .icon .task-menu-icon .ivu-icon{font-size:18px}.task-detail .task-info .head .icon .task-menu-icon .loading{height:18px;width:18px}.task-detail .task-info .head .icon .task-menu-icon .loading .common-loading{height:16px;width:16px}.task-detail .task-info .head .icon .task-menu-icon .uncomplete{color:#888}.task-detail .task-info .head .flow{align-items:center;display:flex;margin-right:10px}.task-detail .task-info .head .flow>span{border:1px solid #8bcf70;border-radius:4px;color:#8bcf70;cursor:pointer;display:inline-block;font-size:14px;height:26px;line-height:24px;overflow:hidden;padding:0 8px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.task-detail .task-info .head .flow>span.archived{background-color:hsla(0,0%,50%,.1);border-color:hsla(0,0%,50%,.1);color:#7f7f7f}.task-detail .task-info .head .flow>span.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.task-detail .task-info .head .flow>span.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.task-detail .task-info .head .flow>span.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.task-detail .task-info .head .flow>span.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.task-detail .task-info .head .nav{align-items:center;display:flex;flex:1;font-size:12px;height:40px;overflow:auto;width:0}.task-detail .task-info .head .nav::-webkit-scrollbar{display:none}.task-detail .task-info .head .nav>p{align-items:center;display:flex;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{align-items:center;display:flex;margin:0 32px}.task-detail .task-info .head .function .pick{margin-left:12px;margin-right:10px}.task-detail .task-info .head .function .open{cursor:pointer;font-size:22px;margin-left:12px;margin-top:-2px}.task-detail .task-info .head .function .menu{align-items:center;display:flex;margin-left:12px}.task-detail .task-info .head .function .menu .ivu-icon{color:#606266;font-size:22px}.task-detail .task-info .scroller{margin-left:28px;overflow-x:hidden;overflow-y:auto;padding-left:8px;padding-right:36px}.task-detail .task-info .scroller .title{margin-top:18px}.task-detail .task-info .scroller .title .ivu-input{border-color:transparent;font-size:24px;font-weight:500;line-height:1.4;padding:4px 0;resize:none}.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{background:#f5f2f0;border-radius:5px;margin:7px 0;overflow:auto;padding:14px}.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{align-items:center;color:#bbb;display:flex}.task-detail .task-info .scroller .items .item-label .taskfont{margin-right:4px}.task-detail .task-info .scroller .items .item-content{margin-left:12px;margin-top:5px}.task-detail .task-info .scroller .items .item-content>li{align-items:center;display:flex;line-height:26px;list-style:none}.task-detail .task-info .scroller .items .item-content>li .el-dropdown{cursor:pointer;display:flex}.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{align-items:center;display:flex;line-height:26px}.task-detail .task-info .scroller .items .item-content>li .picker-time .time{cursor:pointer}.task-detail .task-info .scroller .items .item-content>li .picker-time .ivu-tag{flex-shrink:0;height:20px;line-height:18px;margin-left:10px;padding:0 4px}.task-detail .task-info .scroller .items .item-content>li .picker-time .ivu-tag .ivu-tag-text{align-items:center;display:flex}.task-detail .task-info .scroller .items .item-content>li .picker-time .ivu-tag .ivu-tag-text .taskfont{font-size:14px;padding-right:3px;transform:scale(.9)}.task-detail .task-info .scroller .items .item-content.user{cursor:pointer;margin-top:1px}.task-detail .task-info .scroller .items .item-content.user .user-list{align-items:center;display:flex}.task-detail .task-info .scroller .items .item-content.user .user-list>div{margin-right:6px}.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{height:16px;margin:0;padding:2px;width: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;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.task-detail .task-info .scroller .items .item-content.file>li .file-size{color:#bbb;flex-shrink:0;font-size:12px;height:24px;padding-left:10px}.task-detail .task-info .scroller .items .item-content.file>li .file-menu{align-items:center;display:flex;opacity:0;padding-left:12px;transition:all .3s}.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{color:#aaa;cursor:pointer;font-size:14px;padding:0 4px;transition:color .3s}.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{opacity:.7;transform:translateX(0)}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-icon{align-items:center;cursor:pointer;display:flex;height:26px;line-height:26px;margin-right:6px;padding-top:1px;width:16px}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span{border:1px solid #8bcf70;border-radius:3px;color:#8bcf70;cursor:pointer;display:inline-block;font-size:12px;height:18px;line-height:16px;margin-right:3px;min-width:20px;padding:0 2px;text-align:center}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-flow>span.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-name{display:flex;flex:1;margin-right:8px}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-name .ivu-input{border-color:transparent;line-height:20px;margin:-2px 0;padding:4px 0;resize:none}.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{cursor:pointer;font-size:13px;height:26px;line-height:26px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-time .time.overdue{color:#ed4014;font-weight:600}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-time .time.today{color:#f90;font-weight:500}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-time .clock{font-size:20px;margin:3px 2px;opacity:0;transform:translateX(50%);transition:all .2s}.task-detail .task-info .scroller .items .item-content.subtask>li .subtask-avatar{cursor:pointer;height:20px;margin-top:3px}.task-detail .task-info .scroller .items .item-content.subtask>li .ivu-icon-ios-loading{-webkit-animation:icon-loading-load .6s linear infinite;animation:icon-loading-load .6s linear infinite}.task-detail .task-info .scroller .items .item-content.nosub{margin-top:0}.task-detail .task-info .scroller .items .item-content.nosub>li .add-button,.task-detail .task-info .scroller .items .item-content.nosub>li .add-input{margin-top:-2px}.task-detail .task-info .scroller .add{margin-bottom:10px;margin-top:12px}.task-detail .task-info .scroller .add-input{margin-top:6px}.task-detail .task-info .scroller .add-input.loading .ivu-icon-ios-loading{-webkit-animation:icon-loading-load .6s linear infinite;animation:icon-loading-load .6s linear infinite}.task-detail .task-info .scroller .add-button{align-items:center;color:#bbb;cursor:pointer;display:flex;height:32px;margin-top:6px;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:#999}.task-detail .task-info .upload{display:none}.task-detail .task-dialog{display:flex;flex:2;flex-direction:column;flex-shrink:0;margin-top:22px;position:relative}.task-detail .task-dialog .head{align-items:center;color:#888;display:flex;height:40px;padding-bottom:10px;position:relative}.task-detail .task-dialog .head:before{background-color:#f4f5f5;bottom:0;content:"";height:1px;left:36px;position:absolute;right:0}.task-detail .task-dialog .head .icon{font-size:18px;width:18px}.task-detail .task-dialog .head .nav{align-items:center;color:#666;display:flex;flex:1;font-weight:500;padding-left:18px}.task-detail .task-dialog .head .nav>p{align-items:center;cursor:pointer;display:flex;margin-right:24px}.task-detail .task-dialog .head .nav>p.active{color:#555;cursor:default;font-size:16px;font-weight:600;margin-top:-2px}.task-detail .task-dialog .head .nav .refresh{align-items:center;display:flex;margin-left:-18px}.task-detail .task-dialog .head .nav .refresh>i{cursor:pointer;font-size:18px;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{height:12px;margin:3px;width:12px}.task-detail .task-dialog .no-dialog{display:flex;flex:1;flex-direction:column;position:relative}.task-detail .task-dialog .no-dialog .no-tip{display:none;flex:1;margin-left:36px}.task-detail .task-dialog .no-dialog .no-input{align-items:center;background-color:#f4f5f7;border-radius:10px;display:flex;margin:22px 0 0 36px;padding:10px 12px}.task-detail .task-dialog .no-dialog .no-input .ivu-input{background-color:transparent;border:0;resize:none}.task-detail .task-dialog .no-dialog .no-input .ivu-input:focus{box-shadow:none}.task-detail .task-dialog .no-dialog .no-input .no-send{display:none}.task-detail .task-dialog .no-dialog .no-input .no-send .ivu-badge{left:4px;position:absolute;top:5px;transform:scale(.6)}.task-detail .task-dialog .no-dialog .drag-over{align-items:center;background-color:hsla(0,0%,100%,.78);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.task-detail .task-dialog .no-dialog .drag-over:before{border:2px dashed #7b7b7b;border-radius:12px;bottom:0;content:"";left:36px;position:absolute;right:0;top:0}.task-detail .task-dialog .no-dialog .drag-over .drag-text{color:#666;font-size:18px;padding:12px}.task-detail .task-dialog .project-log{margin-left:36px}.task-detail .task-dialog .project-log .logs-activity{padding:22px 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{align-items:center;display:flex}.task-detail .task-dialog .project-log .logs-activity>li.logs-loading .common-loading{height:22px;margin:0;width:22px}.task-detail .task-dialog .dialog-wrapper .dialog-scroller{padding:0 16px 0 32px}.task-detail .task-dialog .dialog-wrapper .dialog-footer{padding:0 14px 0 28px}.task-detail .task-load{display:flex;left:50%;margin-top:6px;position:absolute;top:50%;transform:translate(-50%,-50%)}.task-detail .task-load .common-loading{height:32px;width:32px}.task-detail.open-dialog{flex-direction:row}.task-detail.open-dialog .task-info{overflow:auto}.task-detail.open-dialog .task-info .head .function{margin-right:2px}.task-detail.open-dialog .task-dialog{margin:0 0 0 18px;max-width:450px;min-width:320px}.task-detail.open-dialog .task-dialog:before{background-color:#f4f5f5;bottom:0;content:"";left:0;position:absolute;top:0;width:1px;z-index:1}.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{align-items:center;color:#999;display:flex;justify-content:center;margin-left:18px}.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{background-color:#fff;bottom:0;left:0;margin-left:8px;overflow:auto;padding:8px;position:absolute;right:0;top:40px;z-index:1}.task-detail.open-dialog .task-dialog .project-log .logs-activity{padding:22px 0 0 10px}.task-detail.completed .task-info:before{color:#19be6b;content:"\f373";font-family:Ionicons,serif;font-size:72px;opacity:.2;pointer-events:none;position:absolute;right:13%;top:0;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{color:#f90;font-size:16px;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{margin-top:12px;text-align:right}.task-detail-receive .receive-bottom>button+button{margin-left:4px}.task-detail-delete-file-popover{max-width:200px}.task-detail-delete-file-popover .buttons{margin-top:12px;text-align:right}.task-detail-delete-file-popover .buttons .ivu-btn-small{font-size:12px}.task-detail-user-popper .ivu-poptip-body-content{overflow:visible}.task-detail-avatar-buttons{margin-bottom:4px;margin-top:12px;position:absolute;right:14px;text-align:right;top:5px}.task-detail-avatar-buttons>button{font-size:12px;transform:scale(.9)}@media (max-width:768px){.task-detail .task-info .scroller{overflow-x:auto}.task-detail .task-dialog .no-dialog .no-input{padding-right:52px;position:relative}.task-detail .task-dialog .no-dialog .no-input .no-send{align-items:center;bottom:0;display:flex;font-size:18px;justify-content:center;position:absolute;right:0;top:0;width:46px}.task-detail .task-dialog .no-dialog .no-input .no-send .common-loading{height:20px;width:20px}}.task-menu-icon{position:relative}.task-menu-icon .loading{align-items:center;display:flex;height:16px;justify-content:center;width:16px}.task-menu-icon .loading .common-loading{height:14px;margin:0;width:14px}.task-menu-icon .ivu-icon{color:#ccc;cursor:pointer;font-size:16px}.task-menu-icon .ivu-icon.completed{color:#8bcf70}.task-menu-more-dropdown>li.task-menu-more-warp{list-style:none}.task-menu-more-dropdown>li.task-menu-more-warp>ul{max-height:320px;overflow:auto}.task-menu-more-dropdown>li.task-menu-more-warp>ul::-webkit-scrollbar{display:none}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .item{align-items:center;display:flex}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .item>i{color:#bbb;flex-shrink:0;font-size:18px;height:18px;line-height:18px;margin-right:8px;padding:0;width:18px}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .item>i.ivu-icon{font-size:16px}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow{padding:4px 0}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow>i{margin-right:3px}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow>i.check{color:#8bcf70}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow .flow-name{background:#f4f4f4;border-radius:4px;color:#595959;font-size:12px;height:20px;line-height:20px;padding:0 5px;white-space:nowrap}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow .flow-name.start{background-color:hsla(0,100%,72%,.1);border-color:hsla(0,100%,72%,.1);color:#ff7070}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow .flow-name.progress{background-color:rgba(252,152,75,.1);border-color:rgba(252,152,75,.1);color:#fc984b}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow .flow-name.test{background-color:rgba(47,153,236,.1);border-color:rgba(47,153,236,.1);color:#2f99ec}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li .flow .flow-name.end{background-color:rgba(11,192,55,.1);border-color:rgba(11,192,55,.1);color:#0bc037}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li.load-flow{align-items:center;display:flex;justify-content:center;padding:8px}.task-menu-more-dropdown>li.task-menu-more-warp>ul>li.load-flow .load-flow-warp{height:18px;width:18px}.task-menu-more-dropdown>li.task-menu-more-warp.medium>ul>li .flow .flow-name{height:24px;line-height:24px;padding:0 7px}.task-menu-more-dropdown>li.task-menu-more-warp.large>ul>li .flow .flow-name{font-size:13px;height:30px;line-height:30px;padding:0 8px}.task-priority{background:transparent;border:1px solid transparent;border-radius:3px;display:inline-block;font-size:13px;max-width:100%;overflow:hidden;padding:2px 5px;text-overflow:ellipsis;white-space:nowrap}.team-management{bottom:0;display:flex;flex-direction:column;left:0;padding:20px;position:absolute;right:0;top:0}.team-management .management-title{align-items:center;color:#333;display:flex;font-size:20px;font-weight:500;line-height:1;margin-bottom:24px}.team-management .management-title .title-icon{align-items:center;display:flex;height:14px;margin-left:4px;margin-top:2px;width:14px}.team-management .management-title .title-icon>i{cursor:pointer}.team-management .team-email{align-items:center;display:flex}.team-management .team-email .ivu-icon{color:#8bcf70;font-size:16px;margin-left:6px}.team-management .team-email .ivu-tag{flex-shrink:0;height:18px;line-height:18px;overflow:hidden;padding:0 4px;text-overflow:ellipsis;transform:scale(.8);transform-origin:right center;white-space:nowrap}.team-management .table-page-box{flex:1;height:0}body.dark-mode-reverse .common-right-bottom .common-right-bottom-link,body.dark-mode-reverse .ivu-badge-count,body.dark-mode-reverse .ivu-btn-primary{color:#000}body.dark-mode-reverse .ivu-modal-mask{background-color:hsla(0,0%,90%,.6)}body.dark-mode-reverse .ivu-modal-content{box-shadow:0 4px 12px hsla(0,0%,100%,.15)}body.dark-mode-reverse .ivu-message-notice-content{border:1px solid #e3e8ed;box-shadow:0 1px 6px hsla(0,0%,100%,.2)}body.dark-mode-reverse .ivu-notice-notice,body.dark-mode-reverse .ivu-poptip-inner,body.dark-mode-reverse .ivu-select-dropdown,body.dark-mode-reverse .ivu-tooltip-inner{border:1px solid #e3e8ed;box-shadow:none}body.dark-mode-reverse .el-dropdown-menu{border-color:#e3e8ed;box-shadow:0 2px 12px 0 hsla(0,0%,100%,.1)}body.dark-mode-reverse .el-tooltip__popper.is-light{border:1px solid #e3e8ed;box-shadow:0 1px 6px hsla(0,0%,100%,.2)}body.dark-mode-reverse .common-avatar.avatar-wrapper .avatar-box .avatar-char{color:#000}body.dark-mode-reverse .drawer-overlay{background:hsla(0,0%,90%,.6)}body.dark-mode-reverse .drawer-overlay .overlay-body .overlay-close>a{color:#323232}body.dark-mode-reverse .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 hsla(0,0%,100%,.2)!important}body.dark-mode-reverse .project-list .project-head .project-titbox .project-icons>li.project-icon.active,body.dark-mode-reverse .project-list .project-head .project-titbox .project-title .top-text{color:#000}body.dark-mode-reverse .project-list .project-column>ul>li .column-task .task-item .task-progress .task-time.overdue{background-color:transparent;color:#ed4014}body.dark-mode-reverse .project-list .project-column>ul>li .column-task .task-item .task-progress .task-time.today{background-color:transparent;color:#f90}body.dark-mode-reverse .project-list .project-table .project-table-body .task-row>div.row-time .task-time.overdue{background-color:transparent;color:#ed4014}body.dark-mode-reverse .project-list .project-table .project-table-body .task-row>div.row-time .task-time.today{background-color:transparent;color:#f90}body.dark-mode-reverse .dialog-wrapper .dialog-nav .dialog-avatar .icon-avatar{color:#1c1917}body.dark-mode-reverse .dialog-wrapper .dialog-nav .dialog-title .main-title>h2{color:#555}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-content{background-color:#e1e1e1}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-list>ul>li .dialog-view .dialog-content .content-text{color:#fff}body.dark-mode-reverse .dialog-wrapper .dialog-scroller .dialog-list>ul>li.self .dialog-view .dialog-content{background-color:#8bcf70}body.dark-mode-reverse .file-icon:before{background-image:url(../images/file/dark/other.svg)}body.dark-mode-reverse .file-icon.archive:before{background-image:url(../images/file/dark/archive.svg)}body.dark-mode-reverse .file-icon.cad:before{background-image:url(../images/file/dark/cad.svg)}body.dark-mode-reverse .file-icon.code:before{background-image:url(../images/file/dark/code.svg)}body.dark-mode-reverse .file-icon.document:before{background-image:url(../images/file/dark/document.svg)}body.dark-mode-reverse .file-icon.drawio:before{background-image:url(../images/file/dark/drawio.svg)}body.dark-mode-reverse .file-icon.excel:before{background-image:url(../images/file/dark/excel.svg)}body.dark-mode-reverse .file-icon.flow:before{background-image:url(../images/file/dark/flow.svg)}body.dark-mode-reverse .file-icon.folder:before{background-image:url(../images/file/dark/folder.svg)}body.dark-mode-reverse .file-icon.media:before{background-image:url(../images/file/dark/media.svg)}body.dark-mode-reverse .file-icon.mind:before{background-image:url(../images/file/dark/mind.svg)}body.dark-mode-reverse .file-icon.ofd:before{background-image:url(../images/file/dark/ofd.svg)}body.dark-mode-reverse .file-icon.pdf:before{background-image:url(../images/file/dark/pdf.svg)}body.dark-mode-reverse .file-icon.picture:before{background-image:url(../images/file/dark/picture.svg)}body.dark-mode-reverse .file-icon.ppt:before{background-image:url(../images/file/dark/ppt.svg)}body.dark-mode-reverse .file-icon.sheet:before{background-image:url(../images/file/dark/sheet.svg)}body.dark-mode-reverse .file-icon.tif:before{background-image:url(../images/file/dark/tif.svg)}body.dark-mode-reverse .file-icon.txt:before{background-image:url(../images/file/dark/txt.svg)}body.dark-mode-reverse .file-icon.updir:before{background-image:url(../images/file/dark/updir.svg)}body.dark-mode-reverse .file-icon.upload:before{background-image:url(../images/file/dark/upload.svg)}body.dark-mode-reverse .file-icon.word:before{background-image:url(../images/file/dark/word.svg)}body.dark-mode-reverse .file-icon.wps:before{background-image:url(../images/file/dark/wps.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 hsla(0,0%,100%,.2)}body.dark-mode-reverse .page-dashboard .dashboard-wrapper .dashboard-block>li .block-title{color:rgba(0,0,0,.6);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:rgba(0,0,0,.7)}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-content .header-tips,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-nav .header-nav-box .header-right-four .ivu-dropdown .ivu-dropdown-rel .header-right-one-dropdown,body.dark-mode-reverse .page-index .page-warp .page-header .header-nav .header-nav-box .header-right-one .header-right-one-dropdown,body.dark-mode-reverse .page-index .page-warp .page-header .header-nav .header-nav-box .header-right-two{color:#000}body.dark-mode-reverse .page-index .page-warp .page-header-bottom{background-color:#efefef} diff --git a/public/js/app.js b/public/js/app.js index 1afbe3779..96f7f901f 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -1,2 +1,2 @@ /*! For license information please see app.js.LICENSE.txt */ -(()=>{var e,t,n,i,r,a={36890:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C});var i=n(88239),r=n(72444),a=/%[sdj%]/g;function o(){for(var e=arguments.length,t=Array(e),n=0;n=o)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(e){return"[Circular]"}break;default:return e}})),l=t[i];i()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},m={integer:function(e){return m.number(e)&&parseInt(e,10)===e},float:function(e){return m.number(e)&&!m.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":(0,r.Z)(e))&&!m.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(p.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(p.url)},hex:function(e){return"string"==typeof e&&!!e.match(p.hex)}};const v=function(e,t,n,i,a){if(e.required&&void 0===t)h(e,t,n,i,a);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?m[s](t)||i.push(o(a.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":(0,r.Z)(t))!==e.type&&i.push(o(a.messages.types[s],e.fullField,e.type))}};const g={required:h,whitespace:f,type:v,range:function(e,t,n,i,r){var a="number"==typeof e.len,s="number"==typeof e.min,l="number"==typeof e.max,u=t,c=null,d="number"==typeof t,h="string"==typeof t,f=Array.isArray(t);if(d?c="number":h?c="string":f&&(c="array"),!c)return!1;f&&(u=t.length),h&&(u=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?u!==e.len&&i.push(o(r.messages[c].len,e.fullField,e.len)):s&&!l&&ue.max?i.push(o(r.messages[c].max,e.fullField,e.max)):s&&l&&(ue.max)&&i.push(o(r.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,i,r){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&i.push(o(r.messages.enum,e.fullField,e.enum.join(", ")))},pattern:function(e,t,n,i,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||i.push(o(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||i.push(o(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};const b=function(e,t,n,i,a){var o=[],s=Array.isArray(t)?"array":void 0===t?"undefined":(0,r.Z)(t);g.required(e,t,i,o,a,s),n(o)};const y=function(e,t,n,i,r){var a=e.type,o=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t,a)&&!e.required)return n();g.required(e,t,i,o,r,a),s(t,a)||g.type(e,t,i,o,r)}n(o)},w={string:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t,"string")&&!e.required)return n();g.required(e,t,i,a,r,"string"),s(t,"string")||(g.type(e,t,i,a,r),g.range(e,t,i,a,r),g.pattern(e,t,i,a,r),!0===e.whitespace&&g.whitespace(e,t,i,a,r))}n(a)},method:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,i,a,r),void 0!==t&&g.type(e,t,i,a,r)}n(a)},number:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,i,a,r),void 0!==t&&(g.type(e,t,i,a,r),g.range(e,t,i,a,r))}n(a)},boolean:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,i,a,r),void 0!==t&&g.type(e,t,i,a,r)}n(a)},regexp:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,i,a,r),s(t)||g.type(e,t,i,a,r)}n(a)},integer:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,i,a,r),void 0!==t&&(g.type(e,t,i,a,r),g.range(e,t,i,a,r))}n(a)},float:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,i,a,r),void 0!==t&&(g.type(e,t,i,a,r),g.range(e,t,i,a,r))}n(a)},array:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t,"array")&&!e.required)return n();g.required(e,t,i,a,r,"array"),s(t,"array")||(g.type(e,t,i,a,r),g.range(e,t,i,a,r))}n(a)},object:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,i,a,r),void 0!==t&&g.type(e,t,i,a,r)}n(a)},enum:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,i,a,r),t&&g.enum(e,t,i,a,r)}n(a)},pattern:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t,"string")&&!e.required)return n();g.required(e,t,i,a,r),s(t,"string")||g.pattern(e,t,i,a,r)}n(a)},date:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();if(g.required(e,t,i,a,r),!s(t)){var o=void 0;o="number"==typeof t?new Date(t):t,g.type(e,o,i,a,r),o&&g.range(e,o.getTime(),i,a,r)}}n(a)},url:y,hex:y,email:y,required:b};function _(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var x=_();function k(e){this.rules=null,this._messages=x,this.define(e)}k.prototype={messages:function(e){return e&&(this._messages=d(_(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===e?"undefined":(0,r.Z)(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments[2],s=e,l=n,h=a;if("function"==typeof l&&(h=l,l={}),this.rules&&0!==Object.keys(this.rules).length){if(l.messages){var f=this.messages();f===x&&(f=_()),d(f,l.messages),l.messages=f}else l.messages=this.messages();var p=void 0,m=void 0,v={},g=l.keys||Object.keys(this.rules);g.forEach((function(n){p=t.rules[n],m=s[n],p.forEach((function(r){var a=r;"function"==typeof a.transform&&(s===e&&(s=(0,i.Z)({},s)),m=s[n]=a.transform(m)),(a="function"==typeof a?{validator:a}:(0,i.Z)({},a)).validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(v[n]=v[n]||[],v[n].push({rule:a,value:m,source:s,field:n}))}))}));var b={};u(v,l,(function(e,t){var n=e.rule,a=!("object"!==n.type&&"array"!==n.type||"object"!==(0,r.Z)(n.fields)&&"object"!==(0,r.Z)(n.defaultField));function s(e,t){return(0,i.Z)({},t,{fullField:n.fullField+"."+e})}function u(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],u=r;if(Array.isArray(u)||(u=[u]),u.length,u.length&&n.message&&(u=[].concat(n.message)),u=u.map(c(n)),l.first&&u.length)return b[n.field]=1,t(u);if(a){if(n.required&&!e.value)return u=n.message?[].concat(n.message).map(c(n)):l.error?[l.error(n,o(l.messages.required,n.field))]:[],t(u);var d={};if(n.defaultField)for(var h in e.value)e.value.hasOwnProperty(h)&&(d[h]=n.defaultField);for(var f in d=(0,i.Z)({},d,e.rule.fields))if(d.hasOwnProperty(f)){var p=Array.isArray(d[f])?d[f]:[d[f]];d[f]=p.map(s.bind(null,f))}var m=new k(d);m.messages(l.messages),e.rule.options&&(e.rule.options.messages=l.messages,e.rule.options.error=l.error),m.validate(e.value,e.rule.options||l,(function(e){t(e&&e.length?u.concat(e):e)}))}else t(u)}a=a&&(n.required||!n.required&&e.value),n.field=e.field;var d=n.validator(n,e.value,u,e.source,l);d&&d.then&&d.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){y(e)}))}else h&&h();function y(e){var t,n=void 0,i=void 0,r=[],a={};for(n=0;n{e.exports=n(51609)},55448:(e,t,n)=>{"use strict";var i=n(64867),r=n(36026),a=n(4372),o=n(15327),s=n(94097),l=n(84109),u=n(67985),c=n(85061),d=n(45655),h=n(65263);e.exports=function(e){return new Promise((function(t,n){var f,p=e.data,m=e.headers,v=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}i.isFormData(p)&&delete m["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(y+":"+w)}var _=s(e.baseURL,e.url);function x(){if(b){var i="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null,a={data:v&&"text"!==v&&"json"!==v?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:i,config:e,request:b};r((function(e){t(e),g()}),(function(e){n(e),g()}),a),b=null}}if(b.open(e.method.toUpperCase(),o(_,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=x:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(x)},b.onabort=function(){b&&(n(c("Request aborted",e,"ECONNABORTED",b)),b=null)},b.onerror=function(){n(c("Network Error",e,null,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",i=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,i.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",b)),b=null},i.isStandardBrowserEnv()){var k=(e.withCredentials||u(_))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;k&&(m[e.xsrfHeaderName]=k)}"setRequestHeader"in b&&i.forEach(m,(function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete m[t]:b.setRequestHeader(t,e)})),i.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),v&&"json"!==v&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){b&&(n(!e||e&&e.type?new h("canceled"):e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),p||(p=null),b.send(p)}))}},51609:(e,t,n)=>{"use strict";var i=n(64867),r=n(91849),a=n(30321),o=n(47185);var s=function e(t){var n=new a(t),s=r(a.prototype.request,n);return i.extend(s,a.prototype,n),i.extend(s,n),s.create=function(n){return e(o(t,n))},s}(n(45655));s.Axios=a,s.Cancel=n(65263),s.CancelToken=n(14972),s.isCancel=n(26502),s.VERSION=n(97288).version,s.all=function(e){return Promise.all(e)},s.spread=n(8713),s.isAxiosError=n(16268),e.exports=s,e.exports.default=s},65263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},14972:(e,t,n)=>{"use strict";var i=n(65263);function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,i=n._listeners.length;for(t=0;t{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},30321:(e,t,n)=>{"use strict";var i=n(64867),r=n(15327),a=n(80782),o=n(13572),s=n(47185),l=n(54875),u=l.validators;function c(e){this.defaults=e,this.interceptors={request:new a,response:new a}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(i=i&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var r,a=[];if(this.interceptors.response.forEach((function(e){a.push(e.fulfilled,e.rejected)})),!i){var c=[o,void 0];for(Array.prototype.unshift.apply(c,n),c=c.concat(a),r=Promise.resolve(e);c.length;)r=r.then(c.shift(),c.shift());return r}for(var d=e;n.length;){var h=n.shift(),f=n.shift();try{d=h(d)}catch(e){f(e);break}}try{r=o(d)}catch(e){return Promise.reject(e)}for(;a.length;)r=r.then(a.shift(),a.shift());return r},c.prototype.getUri=function(e){return e=s(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,i){return this.request(s(i||{},{method:e,url:t,data:n}))}})),e.exports=c},80782:(e,t,n)=>{"use strict";var i=n(64867);function r(){this.handlers=[]}r.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},94097:(e,t,n)=>{"use strict";var i=n(91793),r=n(7303);e.exports=function(e,t){return e&&!i(t)?r(e,t):t}},85061:(e,t,n)=>{"use strict";var i=n(80481);e.exports=function(e,t,n,r,a){var o=new Error(e);return i(o,t,n,r,a)}},13572:(e,t,n)=>{"use strict";var i=n(64867),r=n(18527),a=n(26502),o=n(45655),s=n(65263);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=r.call(e,e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||o.adapter)(e).then((function(t){return l(e),t.data=r.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(l(e),t&&t.response&&(t.response.data=r.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},80481:e=>{"use strict";e.exports=function(e,t,n,i,r){return e.config=t,n&&(e.code=n),e.request=i,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},47185:(e,t,n)=>{"use strict";var i=n(64867);e.exports=function(e,t){t=t||{};var n={};function r(e,t){return i.isPlainObject(e)&&i.isPlainObject(t)?i.merge(e,t):i.isPlainObject(t)?i.merge({},t):i.isArray(t)?t.slice():t}function a(n){return i.isUndefined(t[n])?i.isUndefined(e[n])?void 0:r(void 0,e[n]):r(e[n],t[n])}function o(e){if(!i.isUndefined(t[e]))return r(void 0,t[e])}function s(n){return i.isUndefined(t[n])?i.isUndefined(e[n])?void 0:r(void 0,e[n]):r(void 0,t[n])}function l(n){return n in t?r(e[n],t[n]):n in e?r(void 0,e[n]):void 0}var u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return i.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||a,r=t(e);i.isUndefined(r)&&t!==l||(n[e]=r)})),n}},36026:(e,t,n)=>{"use strict";var i=n(85061);e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(i("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},18527:(e,t,n)=>{"use strict";var i=n(64867),r=n(45655);e.exports=function(e,t,n){var a=this||r;return i.forEach(n,(function(n){e=n.call(a,e,t)})),e}},45655:(e,t,n)=>{"use strict";var i=n(34155),r=n(64867),a=n(16016),o=n(80481),s={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==i&&"[object process]"===Object.prototype.toString.call(i))&&(u=n(55448)),u),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(s)})),e.exports=c},97288:e=>{e.exports={version:"0.24.0"}},91849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i{"use strict";var i=n(64867);function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(i.isURLSearchParams(t))a=t.toString();else{var o=[];i.forEach(t,(function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),o.push(r(t)+"="+r(e))})))})),a=o.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var i=n(64867);e.exports=i.isStandardBrowserEnv()?{write:function(e,t,n,r,a,o){var s=[];s.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(a)&&s.push("domain="+a),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},16268:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},67985:(e,t,n)=>{"use strict";var i=n(64867);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=i.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},16016:(e,t,n)=>{"use strict";var i=n(64867);e.exports=function(e,t){i.forEach(e,(function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])}))}},84109:(e,t,n)=>{"use strict";var i=n(64867),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,a,o={};return e?(i.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=i.trim(e.substr(0,a)).toLowerCase(),n=i.trim(e.substr(a+1)),t){if(o[t]&&r.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}})),o):o}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},54875:(e,t,n)=>{"use strict";var i=n(97288).version,r={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){r[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};r.transitional=function(e,t,n){function r(e,t){return"[Axios v"+i+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,o){if(!1===e)throw new Error(r(i," has been removed"+(t?" in "+t:"")));return t&&!a[i]&&(a[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var i=Object.keys(e),r=i.length;r-- >0;){var a=i[r],o=t[a];if(o){var s=e[a],l=void 0===s||o(s,a,e);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+a)}},validators:r}},64867:(e,t,n)=>{"use strict";var i=n(91849),r=Object.prototype.toString;function a(e){return"[object Array]"===r.call(e)}function o(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===r.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,i=e.length;n{var t=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,i){var r,a,o,s,l;for(o in i)if(r=e[o],a=i[o],r&&t.test(o))if("class"===o&&("string"==typeof r&&(l=r,e[o]=r={},r[l]=!0),"string"==typeof a&&(l=a,i[o]=a={},a[l]=!0)),"on"===o||"nativeOn"===o||"hook"===o)for(s in a)r[s]=n(r[s],a[s]);else if(Array.isArray(r))e[o]=r.concat(a);else if(Array.isArray(a))e[o]=[r].concat(a);else for(s in a)r[s]=a[s];else e[o]=i[o];return e}),{})}},16001:(e,t,n)=>{"use strict";n(90091),n(92693);var i=n(70538),r=n(20629);const a={name:"Spinner"};var o=n(51900);const s=(0,o.Z)(a,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"common-spinner",attrs:{id:"common-spinner"}},[t("Loading",{staticClass:"common-circular"})],1)}),[],!1,null,null,null).exports;var l=n(71905),u=n(9669),c=n.n(u),d=n(80641);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function f(e){for(var t=1;tMath.round((new Date).getTime()/1e3))return this.downloadUrl=i.data.html_url,void setTimeout(this.checkVersion,6e5);if(this.loadIng>0)return;this.loadIng++,c().get("https://api.github.com/repos/".concat(e.owner,"/").concat(e.repo,"/releases")).then((function(e){var r=e.status,a=e.data;t.loadIng--,200===r&&$A.isArray(a)&&(i.time=Math.round((new Date).getTime()/1e3),i.data=a.find((function(e){var n=e.tag_name;return 0===t.compareVersion(t.tagVersion(n),t.apiVersion)}))||{},$A.setStorage(n,i),t.downloadUrl=i.data.html_url),setTimeout(t.checkVersion,6e5)})).catch((function(){t.loadIng--,setTimeout(t.checkVersion,6e5)}))}},updateQuitAndInstall:function(){this.$Electron.sendMessage("updateQuitAndInstall",null)},useSSOLogin:function(){d.Store.set("useSSOLogin",!0)},tagVersion:function(e){return e?$A.leftDelete(e.toLowerCase(),"v"):""},compareVersion:function(e,t){var n=0,i=0;if(e===t)return 0;for(var r=function(e,t){for(var n=t;"."!==e[n]&&nl?1:-1;n=a+1,i=o+1}for(;n0)return 1;n=u+1}for(;i0)return-1;i=c+1}return 0}}};const v=(0,o.Z)(m,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"common-right-bottom"},[e.showSSO?n("div",{staticClass:"common-right-bottom-link",on:{click:e.useSSOLogin}},[n("Icon",{attrs:{type:"ios-globe-outline"}}),e._v("\n "+e._s(e.$L("使用 SSO 登录"))+"\n ")],1):e._e(),e._v(" "),e.showDown?[e.downloadUrl?n("a",{staticClass:"common-right-bottom-link",attrs:{href:e.downloadUrl,target:"_blank"}},[n("Icon",{attrs:{type:"md-download"}}),e._v("\n "+e._s(e.$L("客户端下载"))+"\n ")],1):e.updateVersion&&e.$Electron?n("div",{staticClass:"common-right-bottom-link",on:{click:function(t){e.updateShow=!0}}},[n("Icon",{attrs:{type:"md-download"}}),e._v("\n "+e._s(e.$L("更新客户端"))+"\n ")],1):e._e()]:e._e(),e._v(" "),n("Modal",{attrs:{"cancel-text":e.$L("稍后"),"ok-text":e.$L("立即升级"),closable:!1,"mask-closable":!1,"class-name":"common-right-bottom-notification"},on:{"on-ok":e.updateQuitAndInstall},model:{value:e.updateShow,callback:function(t){e.updateShow=t},expression:"updateShow"}},[n("div",{staticClass:"notification-head",attrs:{slot:"header"},slot:"header"},[n("div",{staticClass:"notification-title"},[e._v(e._s(e.$L("发现新版本")))]),e._v(" "),n("Tag",{attrs:{color:"volcano"}},[e._v("v"+e._s(e.systemVersion)+" -> v"+e._s(e.updateVersion))])],1),e._v(" "),n("MarkdownPreview",{staticClass:"notification-body overlay-y",attrs:{initialValue:e.updateNote}})],1)],2)}),[],!1,null,null,null).exports;let g=e=>e&&"[object Function]"==={}.toString.call(e);"object"==typeof Int8Array||!i.default.prototype.$isServer&&document.childNodes;Object.prototype.hasOwnProperty;function b(e){let t=!1;return function(...n){t||(t=!0,window.requestAnimationFrame((i=>{e.apply(this,n),t=!1})))}}const y=i.default.prototype.$isServer,w=(y||Number(document.documentMode),!y&&document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!1)}:function(e,t,n){e&&t&&n&&e.attachEvent("on"+t,n)}),_=!y&&document.removeEventListener?function(e,t,n){e&&t&&e.removeEventListener(t,n,!1)}:function(e,t,n){e&&t&&e.detachEvent("on"+t,n)};function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function k(e){for(var t=1;t0?e.handleActions("zoomIn",{zoomRate:.015,enableTransition:!1}):e.handleActions("zoomOut",{zoomRate:.015,enableTransition:!1})})),w(document,"keydown",this._keyDownHandler),w(document,O,this._mouseWheelHandler)},deviceSupportUninstall:function(){_(document,"keydown",this._keyDownHandler),_(document,O,this._mouseWheelHandler),this._keyDownHandler=null,this._mouseWheelHandler=null},handleImgLoad:function(e){this.loading=!1},handleImgError:function(e){this.loading=!1,e.target.alt="加载失败"},handleMouseDown:function(e){var t=this;if(!this.loading&&0===e.button){var n=this.transform,i=n.offsetX,r=n.offsetY,a=e.pageX,o=e.pageY;this._dragHandler=b((function(e){t.transform.offsetX=i+e.pageX-a,t.transform.offsetY=r+e.pageY-o})),w(document,"mousemove",this._dragHandler),w(document,"mouseup",(function(e){_(document,"mousemove",t._dragHandler)})),e.preventDefault()}},reset:function(){this.transform={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}},toggleMode:function(){if(!this.loading){var e=Object.keys(S),t=(Object.values(S).indexOf(this.mode)+1)%e.length;this.mode=S[e[t]],this.reset()}},prev:function(){if(!this.isFirst||this.infinite){var e=this.urlList.length;this.index=(this.index-1+e)%e}},next:function(){if(!this.isLast||this.infinite){var e=this.urlList.length;this.index=(this.index+1)%e}},handleActions:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.loading){var n=k({zoomRate:.2,rotateDeg:90,enableTransition:!0},t),i=n.zoomRate,r=n.rotateDeg,a=n.enableTransition,o=this.transform;switch(e){case"zoomOut":o.scale>.2&&(o.scale=parseFloat((o.scale-i).toFixed(3)));break;case"zoomIn":o.scale=parseFloat((o.scale+i).toFixed(3));break;case"clocelise":o.deg+=r;break;case"anticlocelise":o.deg-=r}o.enableTransition=a}}}},D=T;var E=n(93379),$=n.n(E),M=n(43388),P={insert:"head",singleton:!1};$()(M.Z,P);M.Z.locals;function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const A={name:"PreviewImage",components:{PreviewImageView:(0,o.Z)(D,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"view",staticClass:"common-preview-view no-dark-mode"},[e.isSingle?e._e():[n("div",{staticClass:"preview-view-prev",class:{"is-disabled":!e.infinite&&e.isFirst},on:{click:e.prev}},[n("i",{staticClass:"taskfont"},[e._v("")])]),e._v(" "),n("div",{staticClass:"preview-view-next",class:{"is-disabled":!e.infinite&&e.isLast},on:{click:e.next}},[n("i",{staticClass:"taskfont"},[e._v("")])])],e._v(" "),n("div",{staticClass:"preview-view-actions"},[n("div",{staticClass:"actions-inner"},[n("i",{staticClass:"taskfont",on:{click:function(t){return e.handleActions("zoomOut")}}},[e._v("")]),e._v(" "),n("i",{staticClass:"taskfont",on:{click:function(t){return e.handleActions("zoomIn")}}},[e._v("")]),e._v(" "),n("i",{staticClass:"actions-divider"}),e._v(" "),n("i",{staticClass:"taskfont",domProps:{innerHTML:e._s(e.mode.icon)},on:{click:e.toggleMode}}),e._v(" "),n("i",{staticClass:"actions-divider"}),e._v(" "),n("i",{staticClass:"taskfont",on:{click:function(t){return e.handleActions("anticlocelise")}}},[e._v("")]),e._v(" "),n("i",{staticClass:"taskfont",on:{click:function(t){return e.handleActions("clocelise")}}},[e._v("")])])]),e._v(" "),n("div",{staticClass:"preview-view-canvas no-dark-mode"},e._l(e.urlList,(function(t,i){return i===e.index?n("img",{key:t,ref:"img",refInFor:!0,staticClass:"preview-view-img",style:e.imgStyle,attrs:{src:e.currentImg},on:{load:e.handleImgLoad,error:e.handleImgError,mousedown:e.handleMouseDown}}):e._e()})),0)],2)}),[],!1,null,"213fc08a",null).exports},computed:function(e){for(var t=1;t0,mask:!1,"mask-closable":!1,"footer-hide":!0,"transition-names":["",""],fullscreen:"","class-name":"common-preview-image"},on:{"on-visible-change":e.visibleChange}},[e.previewImageList.length>0?n("PreviewImageView",{attrs:{"initial-index":e.previewImageIndex,"url-list":e.previewImageList,infinite:""}}):e._e()],1)}),[],!1,null,null,null).exports,RightBottom:v,Spinner:s},data:function(){return{transitionName:null}},created:function(){this.electronEvents()},mounted:function(){var e=this,t=window.location.hash;0===t.indexOf("#")&&(t=t.substr(1))&&this.$nextTick((function(){t=$A.removeURLParameter(t,"token"),e.goForward({path:t})})),this.sessionStorage("/",1);var n=window.location.pathname;n&&0===this.sessionStorage(n)&&this.sessionStorage(n,this.sessionStorage("::count")+1),setInterval(this.searchEnter,1e3),window.addEventListener("resize",this.windowSizeListener)},beforeDestroy:function(){window.removeEventListener("resize",this.windowSizeListener)},computed:function(e){for(var t=1;t0?(e.cacheDrawerOverlay[e.cacheDrawerOverlay.length-1].close(),!0):void 0)},this.$Electron.registerMsgListener("dispatch",(function(t){if($A.isJson(t)){var n=t.action,i=t.data;e.$store.dispatch(n,i)}})))}}};var V=n(43279),z={insert:"head",singleton:!1};$()(V.Z,z);V.Z.locals;const H=(0,o.Z)(B,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("transition",{attrs:{name:e.transitionName}},[n("keep-alive",[n("router-view",{staticClass:"child-view",class:{"view-768":e.$store.state.windowMax768}})],1)],1),e._v(" "),n("Spinner"),e._v(" "),n("RightBottom"),e._v(" "),n("PreviewImage")],1)}),[],!1,null,"1af8fc78",null).exports,W=[{name:"index",path:"/",component:function(){return n.e(736).then(n.bind(n,3736))}},{name:"manage",path:"/manage",meta:{slide:!1},component:function(){return n.e(974).then(n.bind(n,68974))},children:[{name:"manage-dashboard",path:"dashboard",component:function(){return n.e(214).then(n.bind(n,78214))}},{name:"manage-calendar",path:"calendar",component:function(){return n.e(462).then(n.bind(n,83462))}},{name:"manage-messenger",path:"messenger",component:function(){return n.e(425).then(n.bind(n,40425))}},{path:"setting",component:function(){return n.e(963).then(n.bind(n,1963))},children:[{name:"manage-setting",path:"",redirect:"personal"},{name:"manage-setting-personal",path:"personal",component:function(){return n.e(252).then(n.bind(n,32252))}},{name:"manage-setting-password",path:"password",component:function(){return n.e(632).then(n.bind(n,1632))}},{name:"manage-setting-system",path:"system",component:function(){return n.e(127).then(n.bind(n,46127))}}]},{name:"manage-project-invite",path:"project/invite",component:function(){return n.e(481).then(n.bind(n,49481))}},{name:"manage-project",path:"project/:id",component:function(){return n.e(600).then(n.bind(n,600))}},{name:"manage-file",path:"file",component:function(){return n.e(578).then(n.bind(n,30578))}}]},{name:"single-file-msg",path:"/single/file/msg/:id",component:function(){return n.e(408).then(n.bind(n,35408))}},{name:"single-file-task",path:"/single/file/task/:id",component:function(){return n.e(653).then(n.bind(n,15653))}},{name:"single-file",path:"/single/file/:id",component:function(){return n.e(954).then(n.bind(n,29954))}},{name:"single-task",path:"/single/task/:id",component:function(){return n.e(862).then(n.bind(n,72862))}},{name:"valid-email",path:"/single/valid/email",meta:{title:"验证绑定邮箱"},component:function(){return n.e(645).then(n.bind(n,47645))}},{name:"report-edit",path:"/single/report/edit/:id",component:function(){return n.e(483).then(n.bind(n,94483))}},{name:"report-detail",path:"/single/report/detail/:id",component:function(){return n.e(631).then(n.bind(n,77631))}},{name:"login",path:"/login",component:function(){return n.e(814).then(n.bind(n,53814))}},{name:"404",path:"*",component:function(){return n.e(418).then(n.bind(n,54418))}}];function q(e,t){for(var n in t)e[n]=t[n];return e}var U=/[!'()*]/g,K=function(e){return"%"+e.charCodeAt(0).toString(16)},G=/%2C/g,Y=function(e){return encodeURIComponent(e).replace(U,K).replace(G,",")};function Z(e){try{return decodeURIComponent(e)}catch(e){0}return e}var X=function(e){return null==e||"object"==typeof e?e:String(e)};function J(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),i=Z(n.shift()),r=n.length>0?Z(n.join("=")):null;void 0===t[i]?t[i]=r:Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]})),t):t}function Q(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return Y(t);if(Array.isArray(n)){var i=[];return n.forEach((function(e){void 0!==e&&(null===e?i.push(Y(t)):i.push(Y(t)+"="+Y(e)))})),i.join("&")}return Y(t)+"="+Y(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var ee=/\/?$/;function te(e,t,n,i){var r=i&&i.options.stringifyQuery,a=t.query||{};try{a=ne(a)}catch(e){}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:a,params:t.params||{},fullPath:ae(t,r),matched:e?re(e):[]};return n&&(o.redirectedFrom=ae(n,r)),Object.freeze(o)}function ne(e){if(Array.isArray(e))return e.map(ne);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=ne(e[n]);return t}return e}var ie=te(null,{path:"/"});function re(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function ae(e,t){var n=e.path,i=e.query;void 0===i&&(i={});var r=e.hash;return void 0===r&&(r=""),(n||"/")+(t||Q)(i)+r}function oe(e,t,n){return t===ie?e===t:!!t&&(e.path&&t.path?e.path.replace(ee,"")===t.path.replace(ee,"")&&(n||e.hash===t.hash&&se(e.query,t.query)):!(!e.name||!t.name)&&(e.name===t.name&&(n||e.hash===t.hash&&se(e.query,t.query)&&se(e.params,t.params))))}function se(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),i=Object.keys(t).sort();return n.length===i.length&&n.every((function(n,r){var a=e[n];if(i[r]!==n)return!1;var o=t[n];return null==a||null==o?a===o:"object"==typeof a&&"object"==typeof o?se(a,o):String(a)===String(o)}))}function le(e){for(var t=0;t=0&&(t=e.slice(i),e=e.slice(0,i));var r=e.indexOf("?");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{path:e,query:n,hash:t}}(r.path||""),u=t&&t.path||"/",c=l.path?de(l.path,u,n||r.append):u,d=function(e,t,n){void 0===t&&(t={});var i,r=n||J;try{i=r(e||"")}catch(e){i={}}for(var a in t){var o=t[a];i[a]=Array.isArray(o)?o.map(X):X(o)}return i}(l.query,r.query,i&&i.options.parseQuery),h=r.hash||l.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:c,query:d,hash:h}}var Pe,Ie=function(){},je={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(e){var t=this,n=this.$router,i=this.$route,r=n.resolve(this.to,i,this.append),a=r.location,o=r.route,s=r.href,l={},u=n.options.linkActiveClass,c=n.options.linkExactActiveClass,d=null==u?"router-link-active":u,h=null==c?"router-link-exact-active":c,f=null==this.activeClass?d:this.activeClass,p=null==this.exactActiveClass?h:this.exactActiveClass,m=o.redirectedFrom?te(null,Me(o.redirectedFrom),null,n):o;l[p]=oe(i,m,this.exactPath),l[f]=this.exact||this.exactPath?l[p]:function(e,t){return 0===e.path.replace(ee,"/").indexOf(t.path.replace(ee,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(i,m);var v=l[p]?this.ariaCurrentValue:null,g=function(e){Ae(e)&&(t.replace?n.replace(a,Ie):n.push(a,Ie))},b={click:Ae};Array.isArray(this.event)?this.event.forEach((function(e){b[e]=g})):b[this.event]=g;var y={class:l},w=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:s,route:o,navigate:g,isActive:l[f],isExactActive:l[p]});if(w){if(1===w.length)return w[0];if(w.length>1||!w.length)return 0===w.length?e():e("span",{},w)}if("a"===this.tag)y.on=b,y.attrs={href:s,"aria-current":v};else{var _=Ne(this.$slots.default);if(_){_.isStatic=!1;var x=_.data=q({},_.data);for(var k in x.on=x.on||{},x.on){var C=x.on[k];k in b&&(x.on[k]=Array.isArray(C)?C:[C])}for(var S in b)S in x.on?x.on[S].push(b[S]):x.on[S]=g;var O=_.data.attrs=q({},_.data.attrs);O.href=s,O["aria-current"]=v}else y.on=b}return e(this.tag,y,this.$slots.default)}};function Ae(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ne(e){if(e)for(var t,n=0;n-1&&(s.params[h]=n.params[h]);return s.path=$e(c.path,s.params),l(c,s,o)}if(s.path){s.params={};for(var f=0;f=e.length?n():e[r]?t(e[r],(function(){i(r+1)})):i(r+1)};i(0)}var ut={redirected:2,aborted:4,cancelled:8,duplicated:16};function ct(e,t){return ht(e,t,ut.redirected,'Redirected when going from "'+e.fullPath+'" to "'+function(e){if("string"==typeof e)return e;if("path"in e)return e.path;var t={};return ft.forEach((function(n){n in e&&(t[n]=e[n])})),JSON.stringify(t,null,2)}(t)+'" via a navigation guard.')}function dt(e,t){return ht(e,t,ut.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function ht(e,t,n,i){var r=new Error(i);return r._isRouter=!0,r.from=e,r.to=t,r.type=n,r}var ft=["params","query","hash"];function pt(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function mt(e,t){return pt(e)&&e._isRouter&&(null==t||e.type===t)}function vt(e){return function(t,n,i){var r=!1,a=0,o=null;gt(e,(function(e,t,n,s){if("function"==typeof e&&void 0===e.cid){r=!0,a++;var l,u=wt((function(t){var r;((r=t).__esModule||yt&&"Module"===r[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:Pe.extend(t),n.components[s]=t,--a<=0&&i()})),c=wt((function(e){var t="Failed to resolve async component "+s+": "+e;o||(o=pt(e)?e:new Error(t),i(o))}));try{l=e(u,c)}catch(e){c(e)}if(l)if("function"==typeof l.then)l.then(u,c);else{var d=l.component;d&&"function"==typeof d.then&&d.then(u,c)}}})),r||i()}}function gt(e,t){return bt(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function bt(e){return Array.prototype.concat.apply([],e)}var yt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function wt(e){var t=!1;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];if(!t)return t=!0,e.apply(this,n)}}var _t=function(e,t){this.router=e,this.base=function(e){if(!e)if(Le){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=ie,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function xt(e,t,n,i){var r=gt(e,(function(e,i,r,a){var o=function(e,t){"function"!=typeof e&&(e=Pe.extend(e));return e.options[t]}(e,t);if(o)return Array.isArray(o)?o.map((function(e){return n(e,i,r,a)})):n(o,i,r,a)}));return bt(i?r.reverse():r)}function kt(e,t){if(t)return function(){return e.apply(t,arguments)}}_t.prototype.listen=function(e){this.cb=e},_t.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},_t.prototype.onError=function(e){this.errorCbs.push(e)},_t.prototype.transitionTo=function(e,t,n){var i,r=this;try{i=this.router.match(e,this.current)}catch(e){throw this.errorCbs.forEach((function(t){t(e)})),e}var a=this.current;this.confirmTransition(i,(function(){r.updateRoute(i),t&&t(i),r.ensureURL(),r.router.afterHooks.forEach((function(e){e&&e(i,a)})),r.ready||(r.ready=!0,r.readyCbs.forEach((function(e){e(i)})))}),(function(e){n&&n(e),e&&!r.ready&&(mt(e,ut.redirected)&&a===ie||(r.ready=!0,r.readyErrorCbs.forEach((function(t){t(e)}))))}))},_t.prototype.confirmTransition=function(e,t,n){var i=this,r=this.current;this.pending=e;var a,o,s=function(e){!mt(e)&&pt(e)&&(i.errorCbs.length?i.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)},l=e.matched.length-1,u=r.matched.length-1;if(oe(e,r)&&l===u&&e.matched[l]===r.matched[u])return this.ensureURL(),e.hash&&Ze(this.router,r,e,!1),s(((o=ht(a=r,e,ut.duplicated,'Avoided redundant navigation to current location: "'+a.fullPath+'".')).name="NavigationDuplicated",o));var c=function(e,t){var n,i=Math.max(e.length,t.length);for(n=0;n0)){var t=this.router,n=t.options.scrollBehavior,i=at&&n;i&&this.listeners.push(Ye());var r=function(){var n=e.current,r=St(e.base);e.current===ie&&r===e._startLocation||e.transitionTo(r,(function(e){i&&Ze(t,e,n,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){ot(he(i.base+e.fullPath)),Ze(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){st(he(i.base+e.fullPath)),Ze(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(St(this.base)!==this.current.fullPath){var t=he(this.base+this.current.fullPath);e?ot(t):st(t)}},t.prototype.getCurrentLocation=function(){return St(this.base)},t}(_t);function St(e){var t=window.location.pathname,n=t.toLowerCase(),i=e.toLowerCase();return!e||n!==i&&0!==n.indexOf(he(i+"/"))||(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Ot=function(e){function t(t,n,i){e.call(this,t,n),i&&function(e){var t=St(e);if(!/^\/#/.test(t))return window.location.replace(he(e+"/#"+t)),!0}(this.base)||Tt()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,n=at&&t;n&&this.listeners.push(Ye());var i=function(){var t=e.current;Tt()&&e.transitionTo(Dt(),(function(i){n&&Ze(e.router,i,t,!0),at||Mt(i.fullPath)}))},r=at?"popstate":"hashchange";window.addEventListener(r,i),this.listeners.push((function(){window.removeEventListener(r,i)}))}},t.prototype.push=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){$t(e.fullPath),Ze(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){Mt(e.fullPath),Ze(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;Dt()!==t&&(e?$t(t):Mt(t))},t.prototype.getCurrentLocation=function(){return Dt()},t}(_t);function Tt(){var e=Dt();return"/"===e.charAt(0)||(Mt("/"+e),!1)}function Dt(){var e=window.location.href,t=e.indexOf("#");return t<0?"":e=e.slice(t+1)}function Et(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function $t(e){at?ot(Et(e)):window.location.hash=e}function Mt(e){at?st(Et(e)):window.location.replace(Et(e))}var Pt=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var e=t.current;t.index=n,t.updateRoute(i),t.router.afterHooks.forEach((function(t){t&&t(i,e)}))}),(function(e){mt(e,ut.duplicated)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(_t),It=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Ve(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!at&&!1!==e.fallback,this.fallback&&(t="hash"),Le||(t="abstract"),this.mode=t,t){case"history":this.history=new Ct(this,e.base);break;case"hash":this.history=new Ot(this,e.base,this.fallback);break;case"abstract":this.history=new Pt(this,e.base)}},jt={currentRoute:{configurable:!0}};function At(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}It.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},jt.currentRoute.get=function(){return this.history&&this.history.current},It.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var n=this.history;if(n instanceof Ct||n instanceof Ot){var i=function(e){n.setupListeners(),function(e){var i=n.current,r=t.options.scrollBehavior;at&&r&&"fullPath"in e&&Ze(t,e,i,!1)}(e)};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},It.prototype.beforeEach=function(e){return At(this.beforeHooks,e)},It.prototype.beforeResolve=function(e){return At(this.resolveHooks,e)},It.prototype.afterEach=function(e){return At(this.afterHooks,e)},It.prototype.onReady=function(e,t){this.history.onReady(e,t)},It.prototype.onError=function(e){this.history.onError(e)},It.prototype.push=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){i.history.push(e,t,n)}));this.history.push(e,t,n)},It.prototype.replace=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){i.history.replace(e,t,n)}));this.history.replace(e,t,n)},It.prototype.go=function(e){this.history.go(e)},It.prototype.back=function(){this.go(-1)},It.prototype.forward=function(){this.go(1)},It.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},It.prototype.resolve=function(e,t,n){var i=Me(e,t=t||this.history.current,n,this),r=this.match(i,t),a=r.redirectedFrom||r.fullPath,o=function(e,t,n){var i="hash"===n?"#"+t:t;return e?he(e+"/"+i):i}(this.history.base,a,this.mode);return{location:i,route:r,href:o,normalizedTo:i,resolved:r}},It.prototype.getRoutes=function(){return this.matcher.getRoutes()},It.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==ie&&this.history.transitionTo(this.history.getCurrentLocation())},It.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==ie&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(It.prototype,jt),It.install=function e(t){if(!e.installed||Pe!==t){e.installed=!0,Pe=t;var n=function(e){return void 0!==e},i=function(e,t){var i=e.$options._parentVnode;n(i)&&n(i=i.data)&&n(i=i.registerRouteInstance)&&i(e,t)};t.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,i(this,this)},destroyed:function(){i(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",ue),t.component("RouterLink",je);var r=t.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}},It.version="3.5.3",It.isNavigationFailure=mt,It.NavigationFailureType=ut,It.START_LOCATION=ie,Le&&window.Vue&&window.Vue.use(It);const Nt=It;var Lt=n(40158),Ft=n.n(Lt);function Rt(e){return function(e){if(Array.isArray(e))return Bt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Bt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n0){window.__projectId=t;var n=e.cacheProjects.find((function(e){return e.id==t}));if(n)return n}return{}},projectParameter:function(e){return function(t){if(!e.projectId)return!1;var n=e.cacheProjectParameter.find((function(t){return t.project_id==e.projectId}));return n||(n=$A.projectParameterTemplate(e.projectId),e.cacheProjectParameter.push(n)),"menuType"===t&&void 0===n[t]?"column":n[t]}},taskData:function(e){var t=e.taskId;if(0==t&&(t=$A.runNum(window.__taskId)),t>0){window.__taskId=t;var n=e.cacheTasks.find((function(e){return e.id==t}));if(n)return n}return{}},transforTasks:function(e){return function(t){return t.filter((function(e){var n=e.parent_id;return!(n>0&&t.find((function(e){return e.id==n})))})).map((function(n){if(n.parent_id>0){var i=e.cacheTasks.find((function(e){return e.id==n.parent_id}));return i?Object.assign({},i,{id:n.id,parent_id:n.parent_id,name:n.name,start_at:n.start_at,end_at:n.end_at,complete_at:n.complete_at,_time:n._time,flow_item_id:n.flow_item_id,flow_item_name:n.flow_item_name,flow_item_status:n.flow_item_status,sub_top:!0,sub_my:[]}):Object.assign({},n,{sub_top:!0,sub_my:[]})}return Object.assign({},n,{sub_top:!1,sub_my:t.filter((function(e){return e.parent_id==n.id}))})}))}},dashboardTask:function(e){var t=$A.Date($A.formatDate("Y-m-d 00:00:00")),n=$A.Date($A.formatDate("Y-m-d 23:59:59")),i=$A.Date($A.formatDate("Y-m-d H:i:s")),r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!e.archived_at&&((!e.complete_at||!0!==t)&&e.owner)},a=e.cacheTasks.filter((function(e){return r(e)}));if(e.taskCompleteTemps.length>0){var o,s=e.cacheTasks.filter((function(t){return e.taskCompleteTemps.includes(t.id)&&r(t,!1)}));if(s.length>0)(o=a=$A.cloneJSON(a)).push.apply(o,Gt(s))}return{today:a.filter((function(e){var i=$A.Date(e.start_at),r=$A.Date(e.end_at);return i<=t&&t<=r||i<=n&&n<=r||i>t&&n>r})),overdue:a.filter((function(e){return e.end_at&&$A.Date(e.end_at)<=i})),all:a}}};function Xt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var i,r,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(e){s=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw r}}return a}(e,t)||Qt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jt(e){return function(e){if(Array.isArray(e))return en(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Qt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qt(e,t){if(e){if("string"==typeof e)return en(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?en(e,t):void 0}}function en(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n0?r.token||n.userToken:"",n.userInfo=r,n.userId=r.userid,n.userToken=r.token,n.userIsAdmin=$A.inArray("admin",r.identity),$A.setStorage("userInfo",n.userInfo),i("getBasicData"),i("websocketConnection"),e()}))},saveUserOnlineStatus:function(e,t){var n=e.state,i=t.userid,r=t.online;n.userOnline[i]!==r&&(n.userOnline=Object.assign({},n.userOnline,tn({},i,r)))},getUserBasic:function(e,t){var n=e.state,i=e.dispatch;if(!0!==n.cacheLoading.loadUserBasic){var r=$A.Time(),a=$A.cloneJSON(n.cacheUserWait);t&&t.userid&&a.push(t),n.cacheUserWait=[];var o=[],s=0;a.some((function(e){var t=n.cacheUserBasic.find((function(t){return t.userid==e.userid}));if(t&&r-t._time<=30)return setTimeout((function(){n.cacheUserActive=Object.assign(t,{__:Math.random()}),d.Store.set("cacheUserActive",t)}),s+=5),!1;o.push(e)})),0!==o.length&&(o.length>30&&(n.cacheUserWait=o.slice(30),o=o.slice(0,30)),n.cacheLoading.loadUserBasic=!0,i("call",{url:"users/basic",data:{userid:Jt(new Set(o.map((function(e){return e.userid}))))}}).then((function(e){r=$A.Time(),o.forEach((function(t){var n=e.data.find((function(e){return e.userid==t.userid}))||Object.assign(t,{email:""});n._time=r,i("saveUserBasic",n)})),n.cacheLoading.loadUserBasic=!1,i("getUserBasic")})).catch((function(e){console.warn(e),n.cacheLoading.loadUserBasic=!1,i("getUserBasic")})))}else t&&n.cacheUserWait.push(t)},saveUserBasic:function(e,t){var n=e.state;$A.execMainDispatch("saveUserBasic",t);var i=n.cacheUserBasic.findIndex((function(e){return e.userid==t.userid}));i>-1?(t=Object.assign({},n.cacheUserBasic[i],t),n.cacheUserBasic.splice(i,1,t)):n.cacheUserBasic.push(t),n.cacheUserActive=Object.assign(t,{__:Math.random()}),d.Store.set("cacheUserActive",t),setTimeout((function(){$A.setStorage("cacheUserBasic",n.cacheUserBasic)}))},userNickNameInput:function(e){var t=e.dispatch;return new Promise((function(e,n){var i=function(t,i){"function"==typeof t&&t(),!0===i?setTimeout(e,301):setTimeout(n,301)};$A.modalInput({title:"设置昵称",placeholder:"请输入昵称",okText:"保存",onOk:function(e,n){e?t("call",{url:"users/editdata",data:{nickname:e},checkNick:!1}).then((function(){t("getUserInfo").then((function(){i(n,!0)})).catch((function(){i(n,!1)}))})).catch((function(e){var t=e.msg;$A.modalError(t,301),i(n,!1)})):i(n,!1)},onCancel:function(){i(null,!1)}})}))},logout:function(e){e.state;var t=e.dispatch,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t("handleClearCache",{}).then((function(){var e=["/","/login"].includes(window.location.pathname)?"":encodeURIComponent(window.location.href);!1===n&&(e=null),$A.goForward({name:"login",query:e?{from:e}:{}},!0)}))},handleClearCache:function(e,t){var n=e.state,i=e.dispatch;return new Promise((function(e){try{var r=$A.getStorageString("cacheLoginEmail"),a=$A.getStorageString("cacheThemeMode");window.localStorage.clear(),n.cacheUserBasic=[],n.cacheDialogs=[],n.cacheProjects=[],n.cacheColumns=[],n.cacheTasks=[],$A.setStorage("cacheProjectParameter",n.cacheProjectParameter),$A.setStorage("cacheServerUrl",n.cacheServerUrl),$A.setStorage("cacheLoginEmail",r),$A.setStorage("cacheThemeMode",a),$A.setStorage("cacheTaskBrowse",n.cacheTaskBrowse),i("saveUserInfo",$A.isJson(t)?t:n.userInfo),e()}catch(t){e()}}))},saveFile:function(e,t){var n=e.state,i=e.dispatch;if($A.execMainDispatch("saveFile",t),$A.isArray(t))t.forEach((function(e){i("saveFile",e)}));else if($A.isJson(t)){var r={_load:!1,_edit:!1},a=n.files.findIndex((function(e){return e.id==t.id}));a>-1?n.files.splice(a,1,Object.assign(r,n.files[a],t)):n.files.push(Object.assign(r,t))}},forgetFile:function(e,t){var n=e.state,i=e.dispatch;$A.execMainDispatch("forgetFile",t),($A.isArray(t)?t:[t]).some((function(e){n.files=n.files.filter((function(t){return t.id!=e})),n.files.some((function(t){t.pid==e&&i("forgetFile",t.id)}))}))},getFiles:function(e,t){var n=e.state,i=e.dispatch;return new Promise((function(e,r){i("call",{url:"file/lists",data:{pid:t}}).then((function(r){var a=r.data.map((function(e){return e.id}));n.files=n.files.filter((function(e){return e.pid!=t||a.includes(e.id)})),i("saveFile",r.data),e(r)})).catch((function(e){console.warn(e),r(e)}))}))},searchFiles:function(e,t){e.state;var n=e.dispatch;return new Promise((function(e,i){n("call",{url:"file/search",data:{key:t}}).then((function(t){n("saveFile",t.data),e(t)})).catch((function(e){console.warn(e),i(e)}))}))},saveProject:function(e,t){var n=e.state,i=e.dispatch;if($A.execMainDispatch("saveProject",t),$A.isArray(t))t.forEach((function(e){i("saveProject",e)}));else if($A.isJson(t)){void 0!==t.project_column&&(i("saveColumn",t.project_column),delete t.project_column);var r=n.cacheProjects.findIndex((function(e){return e.id==t.id}));r>-1?n.cacheProjects.splice(r,1,Object.assign({},n.cacheProjects[r],t)):(void 0===t.project_user&&(t.project_user=[]),n.cacheProjects.push(t)),n.cacheDialogs.some((function(e){if("group"==e.type&&"project"==e.group_type&&e.group_info.id==t.id)for(var n in void 0!==t.name&&(e.name=t.name),e.group_info)e.group_info.hasOwnProperty(n)&&void 0!==t[n]&&(e.group_info[n]=t[n])})),setTimeout((function(){$A.setStorage("cacheProjects",n.cacheProjects)}))}},forgetProject:function(e,t){var n=e.state;$A.execMainDispatch("forgetProject",t);var i=$A.isArray(t)?t:[t];if(i.some((function(e){var t=n.cacheProjects.findIndex((function(t){return t.id==e}));t>-1&&n.cacheProjects.splice(t,1)})),i.includes(n.projectId)){var r=n.cacheProjects.find((function(e){var n=e.id;return n&&n!=t}));r?$A.goForward({path:"/manage/project/"+r.id}):$A.goForward({name:"manage-dashboard"})}setTimeout((function(){$A.setStorage("cacheProjects",n.cacheProjects)}))},getProjects:function(e,t){var n=e.state,i=e.dispatch;return new Promise((function(e,r){if(0===n.userId)return n.cacheProjects=[],void r({msg:"Parameter error"});i("call",{url:"project/lists",data:t||{}}).then((function(t){var r=t.data;n.projectTotal=r.total_all,i("saveProject",r.data),e(r)})).catch((function(e){console.warn(e),r(e)}))}))},getProjectOne:function(e,t){var n=e.state,i=e.dispatch;return new Promise((function(e,r){0!==$A.runNum(t)?(n.projectLoad++,i("call",{url:"project/one",data:{project_id:t}}).then((function(t){setTimeout((function(){n.projectLoad--}),10),i("saveProject",t.data),e(t)})).catch((function(e){console.warn(e),n.projectLoad--,r(e)}))):r({msg:"Parameter error"})}))},archivedProject:function(e,t){e.state;var n=e.dispatch;return new Promise((function(e,i){0!==$A.runNum(t)?n("call",{url:"project/archived",data:{project_id:t}}).then((function(i){n("forgetProject",t),e(i)})).catch((function(e){console.warn(e),n("getProjectOne",t).catch((function(){})),i(e)})):i({msg:"Parameter error"})}))},removeProject:function(e,t){e.state;var n=e.dispatch;return new Promise((function(e,i){0!==$A.runNum(t)?n("call",{url:"project/remove",data:{project_id:t}}).then((function(i){n("forgetProject",t),e(i)})).catch((function(e){console.warn(e),n("getProjectOne",t).catch((function(){})),i(e)})):i({msg:"Parameter error"})}))},exitProject:function(e,t){e.state;var n=e.dispatch;return new Promise((function(e,i){0!==$A.runNum(t)?n("call",{url:"project/exit",data:{project_id:t}}).then((function(i){n("forgetProject",t),e(i)})).catch((function(e){console.warn(e),n("getProjectOne",t).catch((function(){})),i(e)})):i({msg:"Parameter error"})}))},saveColumn:function(e,t){var n=e.state,i=e.dispatch;if($A.execMainDispatch("saveColumn",t),$A.isArray(t))t.forEach((function(e){i("saveColumn",e)}));else if($A.isJson(t)){var r=n.cacheColumns.findIndex((function(e){return e.id==t.id}));r>-1?n.cacheColumns.splice(r,1,Object.assign({},n.cacheColumns[r],t)):n.cacheColumns.push(t),setTimeout((function(){$A.setStorage("cacheColumns",n.cacheColumns)}))}},forgetColumn:function(e,t){var n=e.state,i=e.dispatch;$A.execMainDispatch("forgetColumn",t);var r=$A.isArray(t)?t:[t],a=[];r.some((function(e){var t=n.cacheColumns.findIndex((function(t){return t.id==e}));t>-1&&(a.push(n.cacheColumns[t].project_id),i("getProjectOne",n.cacheColumns[t].project_id).catch((function(){})),n.cacheColumns.splice(t,1))})),Array.from(new Set(a)).some((function(e){return i("getProjectOne",e).catch((function(){}))})),setTimeout((function(){$A.setStorage("cacheColumns",n.cacheColumns)}))},getColumns:function(e,t){var n=e.state,i=e.dispatch;return new Promise((function(e,r){if(0===n.userId)return n.cacheColumns=[],void r({msg:"Parameter error"});n.projectLoad++,i("call",{url:"project/column/lists",data:{project_id:t}}).then((function(r){var a=r.data;n.projectLoad--;var o=a.data.map((function(e){return e.id}));if(n.cacheColumns=n.cacheColumns.filter((function(e){return e.project_id!=t||o.includes(e.id)})),i("saveColumn",a.data),e(a.data),1===n.cacheColumns.filter((function(e){return e.project_id==t})).length){var s=n.cacheProjectParameter.find((function(e){return e.project_id==t}))||{};void 0!==s.menuInit&&!1!==s.menuInit||i("toggleProjectParameter",{project_id:t,key:{menuInit:!0,menuType:"table"}})}})).catch((function(e){console.warn(e),n.projectLoad--,r(e)}))}))},removeColumn:function(e,t){e.state;var n=e.dispatch;return new Promise((function(e,i){0!==$A.runNum(t)?n("call",{url:"project/column/remove",data:{column_id:t}}).then((function(i){n("forgetColumn",t),e(i)})).catch((function(e){console.warn(e),i(e)})):i({msg:"Parameter error"})}))},saveTask:function(e,t){var n=e.state,i=e.dispatch;if($A.execMainDispatch("saveTask",t),$A.isArray(t))t.forEach((function(e){i("saveTask",e)}));else if($A.isJson(t)){if(t._time=$A.Time(),t.flow_item_name&&-1!==t.flow_item_name.indexOf("|")){var r=Xt(t.flow_item_name.split("|"),2);t.flow_item_status=r[0],t.flow_item_name=r[1]}void 0!==t.archived_at&&n.cacheTasks.filter((function(e){return e.parent_id==t.id})).some((function(e){i("saveTask",Object.assign(e,{archived_at:t.archived_at,archived_userid:t.archived_userid}))}));var a={};void 0!==t.update_marking&&(a=$A.isJson(t.update_marking)?t.update_marking:{},delete t.update_marking);var o=n.cacheTasks.findIndex((function(e){return e.id==t.id}));o>-1?n.cacheTasks.splice(o,1,Object.assign({},n.cacheTasks[o],t)):n.cacheTasks.push(t),(!0===a.is_update_maintask||t.parent_id>0&&-1===n.cacheTasks.findIndex((function(e){return e.id==t.parent_id})))&&i("getTaskOne",t.parent_id).catch((function(){})),!0===a.is_update_project&&i("getProjectOne",t.project_id).catch((function(){})),!0===a.is_update_content&&i("getTaskContent",t.id),!0===a.is_update_subtask&&i("getTaskForParent",t.id).catch((function(){})),n.cacheDialogs.some((function(e){if("group"==e.type&&"task"==e.group_type&&e.group_info.id==t.id)for(var n in void 0!==t.name&&(e.name=t.name),e.group_info)e.group_info.hasOwnProperty(n)&&void 0!==t[n]&&(e.group_info[n]=t[n])})),setTimeout((function(){$A.setStorage("cacheTasks",n.cacheTasks)}))}},forgetTask:function(e,t){var n=e.state,i=e.dispatch;$A.execMainDispatch("forgetTask",t);var r=$A.isArray(t)?t:[t],a=[],o=[];r.some((function(e){var t=n.cacheTasks.findIndex((function(t){return t.id==e}));t>-1&&(n.cacheTasks[t].parent_id&&a.push(n.cacheTasks[t].parent_id),o.push(n.cacheTasks[t].project_id),n.cacheTasks.splice(t,1)),n.cacheTasks.filter((function(t){return t.parent_id==e})).some((function(e){var t=n.cacheTasks.findIndex((function(t){return t.id==e.id}));t>-1&&(o.push(e.project_id),n.cacheTasks.splice(t,1))}))})),Array.from(new Set(a)).some((function(e){return i("getTaskOne",e).catch((function(){}))})),Array.from(new Set(o)).some((function(e){return i("getProjectOne",e).catch((function(){}))})),r.includes(n.taskId)&&(n.taskId=0),setTimeout((function(){$A.setStorage("cacheTasks",n.cacheTasks)}))},increaseTaskMsgNum:function(e,t){var n=e.state;$A.execMainDispatch("increaseTaskMsgNum",t);var i=n.cacheTasks.find((function(e){return e.dialog_id===t}));i&&i.msg_num++},getTasks:function(e,t){var n=e.state,i=e.dispatch;return new Promise((function(e,r){if(0===n.userId)return n.cacheTasks=[],void r({msg:"Parameter error"});t.project_id&&n.projectLoad++,i("call",{url:"project/task/lists",data:t}).then((function(a){t.project_id&&n.projectLoad--;var o=a.data;if(i("saveTask",o.data),o.next_page_url){var s=Object.assign(t,{page:o.current_page+1});o.current_page%5==0?$A.modalWarning({content:"数据已超过"+o.to+"条,是否继续加载?",onOk:function(){i("getTasks",s).then(e).catch(r)},onCancel:function(){e()}}):i("getTasks",s).then(e).catch(r)}else e()})).catch((function(e){console.warn(e),r(e),t.project_id&&n.projectLoad--}))}))},getTaskOne:function(e,t){e.state;var n=e.dispatch;return new Promise((function(e,i){/^\d+$/.test(t)&&(t={task_id:t}),0!==$A.runNum(t.task_id)?n("call",{url:"project/task/one",data:t}).then((function(t){n("saveTask",t.data),e(t)})).catch((function(e){console.warn(e),i(e)})):i({msg:"Parameter error"})}))},getTaskForDashboard:function(e){var t=e.state,n=e.dispatch,i=e.getters;if(!0!==t.cacheLoading.loadDashboardTasks){t.cacheLoading.loadDashboardTasks=!0;var r=$A.Time(),a=i.dashboardTask,o=a.today,s=a.overdue,l=a.all,u=o.map((function(e){return e.id}));u.push.apply(u,Jt(s.map((function(e){return e.id})))),u.push.apply(u,Jt(l.map((function(e){return e.id}))));var c=3;!function e(){if(c<=0){t.cacheLoading.loadDashboardTasks=!1;var a=i.dashboardTask,o=a.today,s=a.overdue,l=a.all,d=o.filter((function(e){return e._time>=r})).map((function(e){return e.id}));return d.push.apply(d,Jt(s.filter((function(e){return e._time>=r})).map((function(e){return e.id})))),d.push.apply(d,Jt(l.filter((function(e){return e._time>=r})).map((function(e){return e.id})))),void n("forgetTask",u.filter((function(e){return-1==d.indexOf(e)})))}2==--c?n("getTasks",{complete:"no",time:[$A.formatDate("Y-m-d 00:00:00"),$A.formatDate("Y-m-d 23:59:59")]}).then(e).catch(e):1==c?n("getTasks",{complete:"no",time_before:$A.formatDate("Y-m-d H:i:s")}).then(e).catch(e):0==c&&n("getTasks",{complete:"no"}).then(e).catch(e)}()}},getTaskForProject:function(e,t){var n=e.state,i=e.dispatch;return new Promise((function(e,r){var a=$A.Time(),o=n.cacheTasks.filter((function(e){return e.project_id==t})).map((function(e){return e.id})),s=function(){var e=n.cacheTasks.filter((function(e){return e.project_id==t&&e._time>=a})).map((function(e){return e.id}));i("forgetTask",o.filter((function(t){return-1==e.indexOf(t)})))};i("getTasks",{project_id:t}).then((function(){s(),e()})).catch((function(){s(),r()}))}))},getTaskForParent:function(e,t){var n=e.state,i=e.dispatch;return new Promise((function(e,r){var a=$A.Time(),o=n.cacheTasks.filter((function(e){return e.parent_id==t})).map((function(e){return e.id})),s=function(){var e=n.cacheTasks.filter((function(e){return e.parent_id==t&&e._time>=a})).map((function(e){return e.id}));i("forgetTask",o.filter((function(t){return-1==e.indexOf(t)})))};i("getTasks",{parent_id:t,archived:"all"}).then((function(){s(),e()})).catch((function(){s(),r()}))}))},removeTask:function(e,t){e.state;var n=e.dispatch;return new Promise((function(e,i){0!==$A.runNum(t.task_id)?(n("taskLoadStart",t.task_id),n("call",{url:"project/task/remove",data:t}).then((function(i){n("forgetTask",t.task_id),n("taskLoadEnd",t.task_id),e(i)})).catch((function(e){console.warn(e),n("getTaskOne",t.task_id).catch((function(){})),n("taskLoadEnd",t.task_id),i(e)}))):i({msg:"Parameter error"})}))},archivedTask:function(e,t){e.state;var n=e.dispatch;return new Promise((function(e,i){/^\d+$/.test(t)&&(t={task_id:t}),0!==$A.runNum(t.task_id)?(n("taskLoadStart",t.task_id),n("call",{url:"project/task/archived",data:t}).then((function(i){n("saveTask",i.data),n("taskLoadEnd",t.task_id),e(i)})).catch((function(e){console.warn(e),n("getTaskOne",t.task_id).catch((function(){})),n("taskLoadEnd",t.task_id),i(e)}))):i({msg:"Parameter error"})}))},getTaskContent:function(e,t){e.state;var n=e.dispatch;0!==$A.runNum(t)&&n("call",{url:"project/task/content",data:{task_id:t}}).then((function(e){n("saveTaskContent",e.data)})).catch((function(e){console.warn(e)}))},saveTaskContent:function(e,t){var n=e.state,i=e.dispatch;if($A.execMainDispatch("saveTaskContent",t),$A.isArray(t))t.forEach((function(e){i("saveTaskContent",e)}));else if($A.isJson(t)){var r=n.taskContents.findIndex((function(e){return e.task_id==t.task_id}));r>-1?n.taskContents.splice(r,1,Object.assign({},n.taskContents[r],t)):n.taskContents.push(t)}},getTaskFiles:function(e,t){var n=e.state,i=e.dispatch;0!==$A.runNum(t)&&i("call",{url:"project/task/files",data:{task_id:t}}).then((function(e){e.data.forEach((function(e){var t=n.taskFiles.findIndex((function(t){return t.id==e.id}));t>-1?n.taskFiles.splice(t,1,e):n.taskFiles.push(e)})),i("saveTask",{id:t,file_num:e.data.length})})).catch((function(e){console.warn(e)}))},forgetTaskFile:function(e,t){var n=e.state;e.dispatch;($A.isArray(t)?t:[t]).some((function(e){var t=n.taskFiles.findIndex((function(t){return t.id==e}));t>-1&&n.taskFiles.splice(t,1)}))},openTask:function(e,t){var n=e.state,i=e.dispatch,r=t;$A.isJson(t)&&(r=t.parent_id>0?t.parent_id:t.id),n.taskId=r,r>0&&i("getTaskOne",{task_id:r,archived:"all"}).then((function(){i("getTaskContent",r),i("getTaskFiles",r),i("getTaskForParent",r).catch((function(){})),i("saveTaskBrowse",r)})).catch((function(e){var t=e.msg;$A.modalWarning({content:t,onOk:function(){n.taskId=0}})}))},taskAdd:function(e,t){e.state;var n=e.dispatch;return new Promise((function(e,i){var r=$A.cloneJSON($A.date2string(t));$A.isArray(r.column_id)&&(r.column_id=r.column_id.find((function(e){return e}))),n("call",{url:"project/task/add",data:r,method:"post"}).then((function(t){n("addTaskSuccess",t.data),e(t)})).catch((function(e){console.warn(e),i(e)}))}))},taskAddSub:function(e,t){var n=e.dispatch;return new Promise((function(e,i){n("call",{url:"project/task/addsub",data:t}).then((function(t){n("addTaskSuccess",t.data),e(t)})).catch((function(e){console.warn(e),i(e)}))}))},addTaskSuccess:function(e,t){var n=e.dispatch;void 0!==t.new_column&&(n("saveColumn",t.new_column),delete t.new_column),n("saveTask",t),n("getProjectOne",t.project_id).catch((function(){}))},taskUpdate:function(e,t){e.state;var n=e.dispatch;return new Promise((function(e,i){n("taskBeforeUpdate",t).then((function(t){var r=t.confirm,a=t.post;n("taskLoadStart",a.task_id),n("call",{url:"project/task/update",data:a,method:"post"}).then((function(t){n("taskLoadEnd",a.task_id),n("saveTask",t.data),e(t)})).catch((function(e){console.warn(e),n("taskLoadEnd",a.task_id),n("getTaskOne",a.task_id).catch((function(){})),setTimeout((function(){i(e)}),!0===r?301:0)}))})).catch(i)}))},taskBeforeUpdate:function(e,t){var n=e.state;e.dispatch;return new Promise((function(e,i){var r=$A.cloneJSON($A.date2string(t)),a="温馨提示",o=null;if(void 0!==r.times){!1===t.times[0]&&(o="你确定要取消任务时间吗?");var s=n.cacheTasks.find((function(e){return e.id==r.task_id}));a=s.parent_id>0?"更新子任务":"更新主任务",s&&(s.parent_id>0?r.times[0]&&n.cacheTasks.some((function(e){if(e.id!=s.parent_id)return!1;if(!e.end_at)return o="主任务没有设置时间,设置子任务将同步设置主任务",!0;var t=$A.Date(r.times[0],!0),n=$A.Date(r.times[1],!0),i=$A.Date(e.start_at,!0),a=$A.Date(e.end_at,!0);return ta?(o="新设置的子任务结束时间在主任务时间之外,修改后将同步修改主任务",!0):void 0})):n.cacheTasks.some((function(e){if(e.parent_id!=s.id)return!1;if(!e.end_at)return!1;var t=$A.Date(r.times[0],!0),n=$A.Date(r.times[1],!0),i=$A.Date(s.start_at,!0),a=$A.Date(s.end_at,!0),l=$A.Date(e.start_at,!0),u=$A.Date(e.end_at,!0);return(i!=l||a!=u)&&(r.times[0]?t>l?(o="新设置的开始时间在子任务(".concat(e.name,")时间之内,修改后将同步修改子任务"),!0):n-1?n.taskFlowItems.splice(t,1,e):n.taskFlowItems.push(e),a&&a.flow_item_id==e.id&&a.flow_item_name!=e.name&&n.cacheTasks.filter((function(t){return t.flow_item_id==e.id})).some((function(t){i("saveTask",{id:t.id,flow_item_name:"".concat(e.status,"|").concat(e.name)})}))})),delete o.turns;var s=n.taskFlows.findIndex((function(e){return e.task_id==o.task_id}));s>-1?n.taskFlows.splice(s,1,o):n.taskFlows.push(o),e(r)})).catch((function(e){console.warn(e),r(e)}))}))},getTaskPriority:function(e){var t=e.state,n=e.dispatch;return new Promise((function(e,i){n("call",{url:"system/priority"}).then((function(n){t.taskPriority=n.data,e(n)})).catch((function(e){console.warn(e),i(e)}))}))},getColumnTemplate:function(e){var t=e.state,n=e.dispatch;return new Promise((function(e,i){n("call",{url:"system/column/template"}).then((function(n){t.columnTemplate=n.data,e(n)})).catch((function(e){console.warn(e),i(e)}))}))},saveTaskCompleteTemp:function(e,t){var n=e.state;/^\d+$/.test(t)&&!n.taskCompleteTemps.includes(t)&&n.taskCompleteTemps.push(t)},forgetTaskCompleteTemp:function(e,t){var n=e.state;!0===t?n.taskCompleteTemps=[]:/^\d+$/.test(t)&&(n.taskCompleteTemps=n.taskCompleteTemps.filter((function(e){return e!=t})))},saveTaskBrowse:function(e,t){var n=e.state,i=n.cacheTaskBrowse.findIndex((function(e){return e.id==t}));i>-1&&n.cacheTaskBrowse.splice(i,1),n.cacheTaskBrowse.unshift({id:t,userid:n.userId}),n.cacheTaskBrowse.length>200&&n.cacheTaskBrowse.splice(200),setTimeout((function(){$A.setStorage("cacheTaskBrowse",n.cacheTaskBrowse)}))},saveDialog:function(e,t){var n=e.state,i=e.dispatch;if($A.execMainDispatch("saveDialog",t),$A.isArray(t))t.forEach((function(e){i("saveDialog",e)}));else if($A.isJson(t)){var r=n.cacheDialogs.findIndex((function(e){return e.id==t.id}));r>-1?n.cacheDialogs.splice(r,1,Object.assign({},n.cacheDialogs[r],t)):n.cacheDialogs.push(t),setTimeout((function(){$A.setStorage("cacheDialogs",n.cacheDialogs)}))}},updateDialogLastMsg:function(e,t){var n=e.state,i=e.dispatch;$A.execMainDispatch("updateDialogLastMsg",t),n.cacheDialogs.find((function(e){return e.id==t.dialog_id}))?i("saveDialog",{id:t.dialog_id,last_msg:t,last_at:$A.formatDate("Y-m-d H:i:s")}):i("getDialogOne",t.dialog_id).catch((function(){}))},getDialogs:function(e){var t=e.state,n=e.dispatch;return new Promise((function(e,i){if(0===t.userId)return t.cacheDialogs=[],void i({msg:"Parameter error"});n("call",{url:"dialog/lists"}).then((function(t){n("saveDialog",t.data.data),e(t)})).catch((function(e){console.warn(e),i(e)}))}))},getDialogOne:function(e,t){e.state;var n=e.dispatch;return new Promise((function(e,i){0!==$A.runNum(t)?n("call",{url:"dialog/one",data:{dialog_id:t}}).then((function(t){n("saveDialog",t.data),e(t)})).catch((function(e){console.warn(e),i(e)})):i({msg:"Parameter error"})}))},openDialogUserid:function(e,t){var n=e.state,i=e.dispatch;return new Promise((function(e,r){t!==n.userId?(n.dialogOpenId=0,i("call",{url:"dialog/open/user",data:{userid:t}}).then((function(t){i("saveDialog",t.data),$A.setStorage("messenger::dialogId",t.data.id),n.dialogOpenId=t.data.id,e(t)})).catch((function(e){console.warn(e),r(e)}))):r({msg:"Parameter error"})}))},forgetDialog:function(e,t){var n=e.state;$A.execMainDispatch("forgetDialog",t);var i=$A.isArray(t)?t:[t];i.some((function(e){var t=n.cacheDialogs.findIndex((function(t){return t.id==e}));t>-1&&n.cacheDialogs.splice(t,1)})),i.includes($A.getStorageInt("messenger::dialogId"))&&$A.setStorage("messenger::dialogId",0),setTimeout((function(){$A.setStorage("cacheDialogs",n.cacheDialogs)}))},saveDialogMsg:function(e,t){var n=e.state,i=e.dispatch;if($A.execMainDispatch("saveDialogMsg",t),$A.isArray(t))t.forEach((function(e){i("saveDialogMsg",e)}));else if($A.isJson(t)){var r=n.dialogMsgs.findIndex((function(e){return e.id==t.id}));r>-1?n.dialogMsgs.splice(r,1,Object.assign({},n.dialogMsgs[r],t)):n.dialogMsgs.push(t)}},forgetDialogMsg:function(e,t){var n=e.state;$A.execMainDispatch("forgetDialogMsg",t),($A.isArray(t)?t:[t]).some((function(e){var t=n.dialogMsgs.findIndex((function(t){return t.id==e}));t>-1&&n.dialogMsgs.splice(t,1)}))},getDialogMsgs:function(e,t){var n=e.state,i=e.dispatch;return new Promise((function(e){if(t){var r=n.cacheDialogs.find((function(e){return e.id==t}));r||(r={id:t},n.cacheDialogs.push(r)),r.loading?e():(r.loading=!0,r.currentPage=1,r.hasMorePages=!1,i("call",{url:"dialog/msg/lists",data:{dialog_id:t,page:r.currentPage}}).then((function(a){r.loading=!1,r.currentPage=a.data.current_page,r.hasMorePages=!!a.data.next_page_url,i("saveDialog",r);var o=a.data.data.map((function(e){return e.id}));n.dialogMsgs=n.dialogMsgs.filter((function(e){return e.dialog_id!=t||o.includes(e.id)})),i("saveDialog",a.data.dialog),i("saveDialogMsg",a.data.data),e()})).catch((function(t){console.warn(t),r.loading=!1,e()})))}else e()}))},getDialogMoreMsgs:function(e,t){var n=e.state,i=e.dispatch;return new Promise((function(e,r){var a=n.cacheDialogs.find((function(e){return e.id==t}));a?a.hasMorePages?a.loading?r({msg:"Loading"}):(a.loading=!0,a.currentPage++,i("call",{url:"dialog/msg/lists",data:{dialog_id:t,page:a.currentPage}}).then((function(t){a.loading=!1,a.currentPage=t.data.current_page,a.hasMorePages=!!t.data.next_page_url,i("saveDialogMsg",t.data.data),e(t)})).catch((function(e){console.warn(e),a.loading=!1,r(e)}))):r({msg:"No more page"}):r({msg:"Parameter error"})}))},dialogMsgRead:function(e,t){var n=e.state,i=e.dispatch;if(t.userid!=n.userId&&!0!==t.is_read){t.is_read=!0;var r=n.cacheDialogs.find((function(e){return e.id==t.dialog_id}));r&&r.unread>0&&(r.unread--,r.mark_unread=0,i("saveDialog",r)),n.wsReadWaitList.push(t.id),clearTimeout(n.wsReadTimeout),n.wsReadTimeout=setTimeout((function(){i("websocketSend",{type:"readMsg",data:{id:$A.cloneJSON(n.wsReadWaitList)}}),n.wsReadWaitList=[]}),50)}},websocketConnection:function(e){var t=e.state,n=e.dispatch;e.commit;if(clearTimeout(t.wsTimeout),0!==t.userId){var i=$A.apiUrl("../ws");i=(i=i.replace("https://","wss://")).replace("http://","ws://"),i+="?action=web&token="+t.userToken,t.ws=new WebSocket(i),t.ws.onopen=function(e){t.wsOpenNum++},t.ws.onclose=function(e){t.ws=null,clearTimeout(t.wsTimeout),t.wsTimeout=setTimeout((function(){n("websocketConnection")}),3e3)},t.ws.onerror=function(e){t.ws=null,clearTimeout(t.wsTimeout),t.wsTimeout=setTimeout((function(){n("websocketConnection")}),3e3)},t.ws.onmessage=function(e){var i=$A.formatWebsocketMessageDetail($A.jsonParse(e.data)),r=i.type,a=i.msgId;switch(r){case"open":$A.setStorage("userWsFd",i.data.fd);break;case"receipt":"function"==typeof t.wsCall[a]&&t.wsCall[a](i.body,!0),delete t.wsCall[a];break;case"line":n("saveUserOnlineStatus",i.data);break;default:switch(a&&n("websocketSend",{type:"receipt",msgId:a}),t.wsMsg=i,Object.values(t.wsListener).forEach((function(e){if("function"==typeof e)try{e(i)}catch(e){}})),r){case"dialog":!function(e){var i=e.mode,r=e.data,a=r.dialog_id;switch(i){case"delete":n("forgetDialogMsg",r.id);var o=t.cacheDialogs.find((function(e){return e.id==r.dialog_id}));o&&(o.last_at=r.last_msg&&r.last_msg.created_at,o.last_msg=r.last_msg,r.update_read?n("call",{url:"dialog/msg/unread",dialog_id:r.dialog_id}).then((function(e){o.unread=e.data.unread,n("saveDialog",o)})).catch((function(){})):n("saveDialog",o));break;case"add":case"chat":if(!t.dialogMsgs.find((function(e){return e.id==r.id}))){if(n("increaseTaskMsgNum",a),"chat"===i)return;if(r.userid!==t.userId){var s=t.cacheDialogs.find((function(e){return e.id==r.dialog_id}));s&&void 0===t.cacheUnreads[r.id]&&(t.cacheUnreads[r.id]=!0,s.unread++,n("saveDialog",s))}d.Store.set("dialogMsgPush",r)}n("saveDialogMsg",r),n("updateDialogLastMsg",r);break;case"readed":t.dialogMsgs.find((function(e){return e.id==r.id}))&&n("saveDialogMsg",r)}}(i);break;case"project":!function(e){var t=e.action,i=e.data;switch(t){case"add":case"update":n("saveProject",i);break;case"detail":n("getProjectOne",i.id).catch((function(){})),n("getTaskForProject",i.id).catch((function(){}));break;case"archived":case"delete":n("forgetProject",i.id);break;case"sort":n("getTaskForProject",i.id).catch((function(){}))}}(i);break;case"projectColumn":!function(e){var t=e.action,i=e.data;switch(t){case"add":case"update":n("saveColumn",i);break;case"delete":n("forgetColumn",i.id)}}(i);break;case"projectTask":!function(e){var t=e.action,i=e.data;switch(t){case"add":case"restore":n("addTaskSuccess",i);break;case"update":n("saveTask",i);break;case"dialog":n("saveTask",i),n("getDialogOne",i.dialog_id).catch((function(){}));break;case"upload":n("getTaskFiles",i.task_id);break;case"filedelete":n("forgetTaskFile",i.id);break;case"delete":n("forgetTask",i.id)}}(i);break;case"file":!function(e){var t=e.action,i=e.data;switch(t){case"add":case"update":n("saveFile",i);break;case"delete":n("forgetFile",i.id)}}(i)}}}}else t.ws&&(t.ws.close(),t.ws=null)},websocketSend:function(e,t){var n=e.state;if($A.isJson(t)){var i=t.type,r=t.data,a=t.callback,o=void 0;if(n.ws){"function"==typeof a&&(o=$A.randomString(16),n.wsCall[o]=a);try{n.ws.send(JSON.stringify({type:i,msgId:o,data:r}))}catch(e){"function"==typeof a&&a(null,!1)}}else"function"==typeof a&&a(null,!1)}else"function"==typeof a&&a(null,!1)},websocketPath:function(e,t){var n=e.state,i=e.dispatch;clearTimeout(n.wsPathTimeout),n.wsPathValue=t,n.wsPathTimeout=setTimeout((function(){n.wsPathValue==t&&i("websocketSend",{type:"path",data:{path:t}})}),1e3)},websocketMsgListener:function(e,t){var n=e.state,i=t.name,r=t.callback;"function"==typeof r?n.wsListener[i]=r:n.wsListener[i]&&delete n.wsListener[i]},websocketClose:function(e){var t=e.state;t.ws&&t.ws.close()}};i.default.use(r.ZP);const rn=new r.ZP.Store({state:Kt,getters:Zt,mutations:{},actions:nn});function an(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function on(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const sn={name:"PageTitle",props:{title:{type:[String,Number],default:""}},data:function(){return{pagePath:""}},activated:function(){this.updateTitle()},computed:function(e){for(var t=1;tMath.floor(e.offsetWidth),this.showTooltip&&this.existSlot){var i=this.$slots.default.map((function(e){return e.text?e.text:e.elm.innerText?e.elm.innerText:""}));this.tooltipContent=i.join("")}t=null},onClick:function(e){this.$emit("on-click",e)}}};const hn=(0,o.Z)(dn,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ETooltip",{attrs:{content:e.tipText,placement:e.placement,effect:e.tooltipTheme,delay:e.delay,disabled:!e.showTooltip||e.disabled,"max-width":e.tooltipMaxWidth,transfer:""}},[n("span",{ref:"content",staticClass:"common-auto-tip",on:{mouseenter:e.handleTooltipIn,click:e.onClick}},[e.existSlot?[e._t("default")]:[e._v(e._s(e.content))]],2)])}),[],!1,null,null,null).exports;const fn={name:"TagInput",props:{value:{default:""},cut:{default:","},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},placeholder:{default:""},max:{default:0}},data:function(){var e=[];return this.value.split(",").forEach((function(t){t&&e.push(t)})),{minWidth:80,tis:"",tisTimeout:null,showPlaceholder:!0,content:"",disSource:e,isFocus:!1}},mounted:function(){this.wayMinWidth()},watch:{placeholder:function(){this.wayMinWidth()},value:function(e){var t=[];$A.count(e)>0&&e.split(",").forEach((function(e){e&&t.push(e)})),this.disSource=t},disSource:function(e){var t=this,n="";e.forEach((function(e){""!=n&&(n+=t.cut),n+=e})),this.$emit("input",n),this.$emit("on-change")}},computed:{placeholderText:function(){return this.disSource.length>0?"":this.placeholder}},methods:{focus:function(e){var t=this.$refs.myTextarea;t.focus(e);var n=(e||{}).cursor;if(n){var i=t.value.length;switch(n){case"start":t.setSelectionRange(0,0);break;case"end":t.setSelectionRange(i,i);break;default:t.setSelectionRange(0,i)}}},wayMinWidth:function(){var e=this;this.showPlaceholder=!0,this.$nextTick((function(){e.$refs.myPlaceholder&&(e.minWidth=Math.max(e.minWidth,e.$refs.myPlaceholder.offsetWidth)),setTimeout((function(){try{e.minWidth=Math.max(e.minWidth,e.$refs.myPlaceholder.offsetWidth),e.showPlaceholder=!1}catch(e){}$A(e.$refs.myPlaceholder).is(":visible")||e.wayMinWidth()}),500)}))},pasteText:function(e){e.preventDefault();var t=(e.clipboardData||window.clipboardData).getData("text");this.addTag(!1,t)},downEnter:function(e){e.preventDefault()},onFocus:function(e){this.isFocus=!0,this.$emit("on-focus",e)},onBlur:function(e){this.isFocus=!1,this.addTag(!1,this.content),this.$emit("on-blur",e)},onKeyup:function(e){var t=this;this.addTag(e,this.content),this.$emit("on-keyup",e),13===e.keyCode&&this.$nextTick((function(){t.$emit("on-enter",e)}))},addTag:function(e,t){var n=this;if(!1===e||13===e.keyCode)return""!=t.trim()&&-1===this.disSource.indexOf(t.trim())&&this.disSource.push(t.trim()),void(this.content="");if(this.max>0&&this.disSource.length>=this.max)return this.content="",this.tis="最多只能添加"+this.max+"个",clearInterval(this.tisTimeout),void(this.tisTimeout=setTimeout((function(){n.tis=""}),2e3));var i=t.trim(),r=i.length-this.cut.length;""!=i&&i.substring(r)===this.cut&&(""!=(i=i.substring(0,r)).trim()&&-1===this.disSource.indexOf(i.trim())&&this.disSource.push(i.trim()),this.content="")},delTag:function(e){if(!1===e){if(""!==this.content)return;e=this.disSource.length-1}this.disSource.splice(e,1),this.focus()}}};const pn=(0,o.Z)(fn,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"common-tag-input",class:{focus:e.isFocus},on:{paste:function(t){return e.pasteText(t)},click:e.focus}},[e._l(e.disSource,(function(t,i){return n("div",{staticClass:"tags-item"},[n("span",{staticClass:"tags-content",on:{click:function(e){e.stopPropagation()}}},[e._v(e._s(t))]),n("span",{staticClass:"tags-del",on:{click:function(t){return t.stopPropagation(),e.delTag(i)}}},[e._v("×")])])})),e._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.content,expression:"content"}],ref:"myTextarea",staticClass:"tags-input",style:{minWidth:e.minWidth+"px"},attrs:{placeholder:e.tis||e.placeholderText,disabled:e.disabled,readonly:e.readonly},domProps:{value:e.content},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.downEnter(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.delTag(!1)}],keyup:e.onKeyup,focus:e.onFocus,blur:e.onBlur,input:function(t){t.target.composing||(e.content=t.target.value)}}}),e._v(" "),e.showPlaceholder||""!==e.tis?n("span",{ref:"myPlaceholder",staticClass:"tags-placeholder"},[e._v(e._s(e.tis||e.placeholderText))]):e._e()],2)}),[],!1,null,null,null).exports;var mn=n(3869),vn=n.n(mn);i.default.use(vn());const gn={name:"TableAction",props:{column:{type:Object,default:function(){return{}}},autoWidth:{type:Boolean,default:!0},minWidth:{type:Number,default:80},align:{type:String,default:""},menu:{type:Array,default:function(){return[]}}},data:function(){return{width:0,height:0}},mounted:function(){this.onUpdate()},activated:function(){this.onUpdate()},beforeUpdate:function(){this.onUpdate()},computed:{tdStyle:function(){var e={};switch(this.align.toLowerCase()){case"left":e.justifyContent="flex-start";break;case"center":e.justifyContent="center";break;case"right":e.justifyContent="flex-end"}return e}},methods:{isAliIcon:function(e){return $A.leftExists(e,"&#")},handleIn:function(){this.$refs.action.offsetWidth!=this.width&&this.onUpdate()},onUpdate:function(){this.onResize({width:this.$refs.action.offsetWidth,height:this.$refs.action.offsetHeight})},onResize:function(e){var t=this,n=e.width,i=e.height;if(this.autoWidth){$A(".ivu-table-column-"+this.column.__id).each((function(e,t){var r=$A(t).find(".td-action-container");r.length>0&&(n=Math.max(n,r[0].offsetWidth),i=Math.max(i,r[0].offsetHeight))})),this.width=n,this.height=i;var r=Math.max(this.minWidth,this.width+26);this.column.minWidth&&(r=Math.max(this.column.minWidth,r)),this.column.maxWidth&&(r=Math.min(this.column.maxWidth,r)),r!=this.column.width&&this.$nextTick((function(){t.$set(t.column,"width",r)}))}},onClick:function(e){this.$emit("action",e)}}};const bn=(0,o.Z)(gn,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"td-action",style:e.tdStyle,attrs:{"data-width":e.width,"data-height":e.height}},[n("div",{directives:[{name:"resize",rawName:"v-resize",value:e.onResize,expression:"onResize"}],ref:"action",staticClass:"td-action-container",class:{"td-action-menu":e.menu.length>0},on:{mouseenter:e.handleIn}},[e._t("default"),e._v(" "),e._l(e.menu,(function(t,i){return n("ETooltip",{key:i,attrs:{placement:"top",disabled:!t.title,content:t.title,enterable:!1,"open-delay":600}},[t.children&&t.children.length>0?n("EDropdown",{staticClass:"menu-dropdown",attrs:{size:"medium",trigger:"click"},on:{command:e.onClick}},[e.isAliIcon(t.icon)?n("i",{staticClass:"aliicon menu-icon",style:t.style||{},domProps:{innerHTML:e._s(t.icon)}}):n("Icon",{staticClass:"menu-icon",style:t.style||{},attrs:{type:t.icon}}),e._v(" "),n("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(t.children,(function(t,i){return n("EDropdownItem",{key:i,style:t.style||{},attrs:{command:t.action,divided:!!t.divided}},[n("div",[e._v(e._s(t.title))])])})),1)],1):e.isAliIcon(t.icon)?n("i",{staticClass:"aliicon menu-icon",style:t.style||{},domProps:{innerHTML:e._s(t.icon)},on:{click:function(n){return e.onClick(t.action)}}}):n("Icon",{staticClass:"menu-icon",style:t.style||{},attrs:{type:t.icon},on:{click:function(n){return e.onClick(t.action)}}})],1)}))],2)])}),[],!1,null,null,null).exports;const yn={name:"QuickEdit",directives:{clickoutside:{bind:function(e,t,n){function i(n){if(e.contains(n.target))return!1;t.expression&&t.value(n)}e.__vueClickOutside__=i,document.addEventListener("click",i)},update:function(){},unbind:function(e,t){document.removeEventListener("click",e.__vueClickOutside__),delete e.__vueClickOutside__}}},props:{value:{},autoEdit:{},isTag:{type:Boolean,default:!1},alwaysIcon:{type:Boolean,default:!1},clickOutSide:{type:Boolean,default:!0}},data:function(){return{isLoad:!1,isEdit:!1,content:""}},mounted:function(){!0===this.autoEdit&&this.onEdit()},watch:{autoEdit:function(e){!0===e&&setTimeout(this.onEdit,0)}},methods:{onEditChange:function(e){this.isEdit=e,this.$emit("on-edit-change",e)},onEdit:function(){var e=this;this.content=this.value,this.onEditChange(!0),this.$nextTick((function(){e.$refs.input.focus({cursor:"all"})}))},onKeydown:function(e){13===e.keyCode?this.onEnter():27===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.isEdit=!1,this.isLoad=!1)},onEnter:function(){var e=this;this.content!=this.value?this.isLoad||(this.isLoad=!0,this.$emit("input",this.content),this.$emit("on-update",this.content,(function(){e.onEditChange(!1),e.isLoad=!1}))):this.onEditChange(!1)},onClickOut:function(){this.clickOutSide&&this.onEnter()},onBlur:function(){!this.clickOutSide&&this.isEdit&&this.onEnter()}}};const wn=(0,o.Z)(yn,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"quick-edit",class:[e.alwaysIcon?"quick-always":""]},[e.isEdit?n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.onClickOut,expression:"onClickOut"}],staticClass:"quick-input"},[e.isTag?n("TagInput",{ref:"input",attrs:{disabled:e.isLoad},on:{"on-keydown":e.onKeydown,"on-blur":e.onBlur},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}}):n("Input",{ref:"input",attrs:{disabled:e.isLoad},on:{"on-keydown":e.onKeydown,"on-blur":e.onBlur},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}}),e._v(" "),e.isLoad?n("div",{staticClass:"quick-loading"},[n("Loading")],1):e._e()],1):[n("div",{staticClass:"quick-text"},[e._t("default")],2),e._v(" "),n("Icon",{staticClass:"quick-icon",attrs:{type:"ios-create-outline"},on:{click:function(t){return t.stopPropagation(),e.onEdit.apply(null,arguments)}}})]],2)}),[],!1,null,null,null).exports;function _n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function xn(e){for(var t=1;t0&&(e.border=t+"px solid "+(n||"#ffffff")),e},spotStyle:function(){var e=this.borderWitdh,t=this.size;return"default"===t&&(t=32),e>0&&(t-=e),32==t?{}:{transform:"scale("+Math.min(1.25,t/32)+")"}},nameStyle:function(){return this.showIcon?{}:{paddingLeft:0}},avatarSize:function(){var e=this.borderWitdh,t=this.size;return"default"===t&&(t=32),e>0?t-2*e:t},showImg:function(){var e=this.user.userimg;return!!e&&!$A.rightExists(e,"/avatar.png")},isDefault:function(){var e=this.user.userimg;return $A.strExists(e,"/avatar/default_")},nickname:function(){var e=this.user.nickname;if(!e)return"D";var t=e.substring(0,2);return/^[\u4e00-\u9fa5]+$/.test(t)&&(t=t.substring(0,1)),t||"D"}}),watch:{userid:function(){this.getData()},userInfo:function(e){e.userid==this.userid&&this.setUser(e)},userOnline:function(e){this.user&&void 0!==e[this.user.userid]&&this.$set(this.user,"online",e[this.user.userid])}},methods:{getData:function(){this.userid&&(this.userid!=this.userInfo.userid?this.$store.dispatch("getUserBasic",{userid:this.userid}):this.setUser(this.userInfo))},setUser:function(e){var t=this;this.user&&this.user.userimg!=e.usering?(this.user=null,this.$nextTick((function(){t.user=e}))):this.user=e},onError:function(){return!1},openDialog:function(){this.goForward({name:"manage-messenger"}),this.$store.dispatch("openDialogUserid",this.userid).catch((function(){}))}}};const Sn=(0,o.Z)(Cn,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.user?n("ETooltip",{staticClass:"common-avatar",attrs:{"open-delay":e.openDelay,disabled:e.tooltipDisabled,placement:e.tooltipPlacement}},[n("div",{staticClass:"common-avatar-transfer",attrs:{slot:"content"},slot:"content"},[e._t("default"),e._v(" "),n("p",[e._v(e._s(e.$L("昵称"))+": "+e._s(e.user.nickname))]),e._v(" "),n("p",[e._v(e._s(e.$L("职位/职称"))+": "+e._s(e.user.profession||"-"))]),e._v(" "),e.userId!=e.userid&&e.showIconMenu?n("div",{staticClass:"avatar-icons"},[n("Icon",{attrs:{type:"ios-chatbubbles"},on:{click:e.openDialog}})],1):e._e()],2),e._v(" "),n("div",{staticClass:"avatar-wrapper"},[e.showIcon?n("div",{class:["avatar-box",e.userId===e.userid||e.user.online?"online":""],style:e.boxStyle},[n("em",{style:e.spotStyle}),e._v(" "),e.showImg?n("EAvatar",{class:{"avatar-default":e.isDefault},attrs:{src:e.user.userimg,size:e.avatarSize},on:{error:e.onError}},[n("span",{staticClass:"avatar-char",style:e.spotStyle},[e._v(e._s(e.nickname))])]):n("EAvatar",{staticClass:"avatar-text",attrs:{size:e.avatarSize}},[n("span",{staticClass:"avatar-char",style:e.spotStyle},[e._v(e._s(e.nickname))])])],1):e._e(),e._v(" "),e.showName?n("div",{staticClass:"avatar-name",style:e.nameStyle},[e._v(e._s(e.user.nickname))]):e._e()])]):e._e()}),[],!1,null,null,null).exports;const On={name:"ImgView",props:{src:{default:""},alt:{default:""}},computed:{srcValue:function(){var e=this.src;return"data:image"===e.substring(0,10)||"//"===e.substring(0,2)||"http://"===e.substring(0,7)||"https://"===e.substring(0,8)||"ftp://"===e.substring(0,6)||"/"===e.substring(0,1)?e:$A.apiUrl("../".concat(e))}}};const Tn=(0,o.Z)(On,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("img",{attrs:{src:e.srcValue,alt:e.alt}})}),[],!1,null,null,null).exports;var Dn=n(64720);function En(e){return En="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},En(e)}var $n=window&&window.process&&window.process.type;i.default.use(r.ZP),i.default.use(Ft(),{modal:{checkEscClose:!0}}),i.default.use(Nt),i.default.use(qt),i.default.component("PageTitle",ln),i.default.component("Loading",cn),i.default.component("AutoTip",hn),i.default.component("TagInput",pn),i.default.component("TableAction",bn),i.default.component("QuickEdit",wn),i.default.component("UserAvatar",Sn),i.default.component("ImgView",Tn),i.default.component("EAvatar",Dn.Avatar),i.default.component("ETooltip",Dn.Tooltip),i.default.component("EPopover",Dn.Popover),i.default.component("EDropdown",Dn.Dropdown),i.default.component("EDropdownMenu",Dn.DropdownMenu),i.default.component("EDropdownItem",Dn.DropdownItem);var Mn=Nt.prototype.push;Nt.prototype.push=function(e){return Mn.call(this,e).catch((function(e){return e}))};var Pn=new Nt({mode:$n?"hash":"history",routes:W});Ft().LoadingBar.config({color:"#3fcc25",failedColor:"#ff0000"}),Pn.beforeEach((function(e,t,n){Ft().LoadingBar.start(),n()})),Pn.afterEach((function(){Ft().LoadingBar.finish()})),i.default.prototype.goForward=function(e,t){"string"==typeof e&&(e={name:e}),!0===t?In.$router.replace(e).then((function(){})).catch((function(){})):In.$router.push(e).then((function(){})).catch((function(){}))},i.default.prototype.goBack=function(e){var t=$A.jsonParse(window.sessionStorage.__history__||"{}");$A.runNum(t["::count"])>2?In.$router.go("number"==typeof e?e:-1):In.$router.replace("object"===En(e)?e:{path:"/"}).then((function(){})).catch((function(){}))},i.default.prototype.$A=$A,i.default.prototype.$Electron=null,i.default.prototype.$Platform="web",i.default.prototype.$isMainElectron=!1,i.default.prototype.$isSubElectron=!1,$n&&(i.default.prototype.$Electron=electron,i.default.prototype.$Platform=/macintosh|mac os x/i.test(navigator.userAgent)?"mac":"win",i.default.prototype.$isMainElectron=/\s+MainTaskWindow\//.test(window.navigator.userAgent),i.default.prototype.$isSubElectron=/\s+SubTaskWindow\//.test(window.navigator.userAgent)),i.default.config.productionTip=!1;var In=new i.default({el:"#app",router:Pn,store:rn,template:"",components:{App:H}});$A.goForward=In.goForward,$A.goBack=In.goBack,$A.getLanguage=In.getLanguage,$A.Message=In.$Message,$A.Notice=In.$Notice,$A.Modal=In.$Modal,$A.store=In.$store,$A.L=In.$L,$A.Electron=In.$Electron,$A.Platform=In.$Platform,$A.isMainElectron=In.$isMainElectron,$A.isSubElectron=In.$isSubElectron,$A.execMainDispatch=function(e,t){$A.isSubElectron&&$A.Electron.sendMessage("sendForwardMain",{channel:"dispatch",data:{action:e,data:t}})}},4142:e=>{e.exports=function(e){var t={begin:"`[\\s\\S]"};return{case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}},52423:e=>{e.exports=function(e){var t={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},n={begin:"\\$[A-z0-9_]+"},i={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},r={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"ByRef Case Const ContinueCase ContinueLoop Default Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",built_in:"Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait",literal:"True False And Null Not Or"},contains:[t,n,i,r,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"comments include include-once NoTrayIcon OnAutoItStartRegister pragma compile RequireAdmin"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{"meta-keyword":"include"},end:"$",contains:[i,{className:"meta-string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},i,t]},{className:"symbol",begin:"@[A-z0-9_]+"},{className:"function",beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[n,i,r]}]}]}}},40349:e=>{e.exports=function(e){var t={begin:/(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/,returnBegin:!0,end:";",endsWithParent:!0,contains:[{className:"attribute",begin:/\S/,end:":",excludeEnd:!0,starts:{endsWithParent:!0,excludeEnd:!0,contains:[{begin:/[\w-]+\(/,returnBegin:!0,contains:[{className:"built_in",begin:/[\w-]+/},{begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]},e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:"#[0-9A-Fa-f]+"},{className:"meta",begin:"!important"}]}}]};return{case_insensitive:!0,illegal:/[=\/|'\$]/,contains:[e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/},{className:"selector-class",begin:/\.[A-Za-z0-9_-]+/},{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$"},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"@(font-face|page)",lexemes:"[a-z-]+",keywords:"font-face page"},{begin:"@",end:"[{;]",illegal:/:/,contains:[{className:"keyword",begin:/\w+/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},{begin:"{",end:"}",illegal:/\S/,contains:[e.C_BLOCK_COMMENT_MODE,t]}]}}},8650:e=>{e.exports=function(e){var t={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{aliases:["golang"],keywords:t,illegal:"{e.exports=function(e){var t="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",n={className:"number",begin:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0};return{aliases:["jsp"],keywords:t,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\s+)+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:t,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:t,relevance:0,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},n,{className:"meta",begin:"@[A-Za-z]+"}]}}},5489:e=>{e.exports=function(e){var t="[A-Za-z$_][0-9A-Za-z$_]*",n={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},r={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},a={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,r],subLanguage:"xml"}},o={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,r],subLanguage:"css"}},s={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,r]};r.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,o,s,i,e.REGEXP_MODE];var l=r.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{aliases:["js","jsx"],keywords:n,contains:[{className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},{className:"meta",begin:/^#!/,end:/$/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,o,s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:l}]}]},{className:"",begin:/\s/,end:/\s*/,skip:!0},{begin://,subLanguage:"xml",contains:[{begin:/<[A-Za-z0-9\\._:-]+\s*\/>/,skip:!0},{begin:/<[A-Za-z0-9\\._:-]+/,end:/(\/[A-Za-z0-9\\._:-]+|[A-Za-z0-9\\._:-]+\/)>/,skip:!0,contains:[{begin:/<[A-Za-z0-9\\._:-]+\s*\/>/,skip:!0},"self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:l}],illegal:/\[|%/},{begin:/\$[(.]/},e.METHOD_GUARD,{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"constructor get set",end:/\{/,excludeEnd:!0}],illegal:/#(?!!)/}}},17410:e=>{e.exports=function(e){var t="([\\w-]+|@{[\\w-]+})",n=[],i=[],r=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},a=function(e,t,n){return{className:e,begin:t,relevance:n}},o={begin:"\\(",end:"\\)",contains:i,relevance:0};i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r("'"),r('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},a("number","#[0-9A-Fa-f]+\\b"),o,a("variable","@@?[\\w-]+",10),a("variable","@{[\\w-]+}"),a("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},{className:"meta",begin:"!important"});var s=i.concat({begin:"{",end:"}",contains:n}),l={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(i)},u={begin:t+"\\s*:",returnBegin:!0,end:"[;}]",relevance:0,contains:[{className:"attribute",begin:t,end:":",excludeEnd:!0,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:i}}]},c={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",returnEnd:!0,contains:i,relevance:0}},d={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:s}},h={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:t,end:"{"}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,a("keyword","all\\b"),a("variable","@{[\\w-]+}"),a("selector-tag",t+"%?",0),a("selector-id","#"+t),a("selector-class","\\."+t,0),a("selector-tag","&",0),{className:"selector-attr",begin:"\\[",end:"\\]"},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"\\(",end:"\\)",contains:s},{begin:"!important"}]};return n.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c,d,u,h),{case_insensitive:!0,illegal:"[=>'/<($\"]",contains:n}}},67020:e=>{e.exports=function(e){return{aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$"},{begin:"^.+?\\n[=-]{2,}$"}]},{begin:"<",end:">",subLanguage:"xml",relevance:0},{className:"bullet",begin:"^\\s*([*+-]|(\\d+\\.))\\s+"},{className:"strong",begin:"[*_]{2}.+?[*_]{2}"},{className:"emphasis",variants:[{begin:"\\*.+?\\*"},{begin:"_.+?_",relevance:0}]},{className:"quote",begin:"^>\\s+",end:"$"},{className:"code",variants:[{begin:"^```w*s*$",end:"^```s*$"},{begin:"`.+?`"},{begin:"^( {4}|\t)",end:"$",relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},{begin:"\\[.+?\\][\\(\\[].*?[\\)\\]]",returnBegin:!0,contains:[{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0,relevance:0},{className:"link",begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}],relevance:10},{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}}},51988:e=>{e.exports=function(e){var t={begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},n={className:"meta",begin:/<\?(php)?|\?>/},i={className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},r={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{aliases:["php","php3","php4","php5","php6","php7"],case_insensitive:!0,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[n]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler",lexemes:e.UNDERSCORE_IDENT_RE}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;?$/,contains:[e.BACKSLASH_ESCAPE,{className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]}]},n,{className:"keyword",begin:/\$this\b/},t,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:!0,illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",t,e.C_BLOCK_COMMENT_MODE,i,r]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},i,r]}}},15350:e=>{e.exports=function(e){var t={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10",built_in:"Ellipsis NotImplemented",literal:"False None True"},n={className:"meta",begin:/^(>>>|\.\.\.) /},i={className:"subst",begin:/\{/,end:/\}/,keywords:t,illegal:/#/},r={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,n],relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,n],relevance:10},{begin:/(fr|rf|f)'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,n,i]},{begin:/(fr|rf|f)"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,n,i]},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},{begin:/(fr|rf|f)'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,i]},{begin:/(fr|rf|f)"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},a={className:"number",relevance:0,variants:[{begin:e.BINARY_NUMBER_RE+"[lLjJ]?"},{begin:"\\b(0o[0-7]+)[lLjJ]?"},{begin:e.C_NUMBER_RE+"[lLjJ]?"}]},o={className:"params",begin:/\(/,end:/\)/,contains:["self",n,a,r]};return i.contains=[r,a,n],{aliases:["py","gyp","ipython"],keywords:t,illegal:/(<\/|->|\?)|=>/,contains:[n,a,r,e.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,o,{begin:/->/,endsWithParent:!0,keywords:"None"}]},{className:"meta",begin:/^[\t ]*@/,end:/$/},{begin:/\b(print|exec)\(/}]}}},86507:e=>{e.exports=function(e){var t="[A-Za-z$_][0-9A-Za-z$_]*",n={keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract as from extends async await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void Promise"},i={className:"meta",begin:"@"+t},r={begin:"\\(",end:/\)/,keywords:n,contains:["self",e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.NUMBER_MODE]},a={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,r]},o={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},s={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},l={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,s],subLanguage:"xml"}},u={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,s],subLanguage:"css"}},c={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,s]};return s.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,u,c,o,e.REGEXP_MODE],{aliases:["ts"],keywords:n,contains:[{className:"meta",begin:/^\s*['"]use strict['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,u,c,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+e.IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.IDENT_RE},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:["self",e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}]}]}],relevance:0},{className:"function",begin:"function",end:/[\{;]/,excludeEnd:!0,keywords:n,contains:["self",e.inherit(e.TITLE_MODE,{begin:t}),a],illegal:/%/,relevance:0},{beginKeywords:"constructor",end:/\{/,excludeEnd:!0,contains:["self",a]},{begin:/module\./,keywords:{built_in:"module"},relevance:0},{beginKeywords:"module",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},{begin:/\$[(.]/},{begin:"\\."+e.IDENT_RE,relevance:0},i,r]}}},283:e=>{e.exports=function(e){var t={endsWithParent:!0,illegal:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf"],case_insensitive:!0,contains:[{className:"meta",begin:"",relevance:10,contains:[{begin:"\\[",end:"\\]"}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]},{className:"tag",begin:"|$)",end:">",keywords:{name:"style"},contains:[t],starts:{end:"",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:"|$)",end:">",keywords:{name:"script"},contains:[t],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml","vbscript"]}},{className:"tag",begin:"",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},t]}]}}},43705:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i={add:function(e,t){var n="toc".concat(t).concat(++this.index),i={anchor:n,level:t,text:e},r=this.tocItems;return i.level<=5&&r.push(i),n},reset:function(){this.tocItems=[],this.index=0},tocItems:[],index:0}},37352:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Ce});var i={},r=[],a=Object.keys,o={},s={},l=/^(no-?highlight|plain|text)$/i,u=/\blang(?:uage)?-([\w-]+)\b/i,c=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,d="",h={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};function f(e){return e.replace(/&/g,"&").replace(//g,">")}function p(e){return e.nodeName.toLowerCase()}function m(e,t){var n=e&&e.exec(t);return n&&0===n.index}function v(e){return l.test(e)}function g(e){var t,n={},i=Array.prototype.slice.call(arguments,1);for(t in e)n[t]=e[t];return i.forEach((function(e){for(t in e)n[t]=e[t]})),n}function b(e){var t=[];return function e(n,i){for(var r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?i+=r.nodeValue.length:1===r.nodeType&&(t.push({event:"start",offset:i,node:r}),i=e(r,i),p(r).match(/br|hr|img|input/)||t.push({event:"stop",offset:i,node:r}));return i}(e,0),t}function y(e){function t(e){return e&&e.source||e}function n(n,i){return new RegExp(t(n),"m"+(e.case_insensitive?"i":"")+(i?"g":""))}!function i(r,o){if(!r.compiled){if(r.compiled=!0,r.keywords=r.keywords||r.beginKeywords,r.keywords){var s={},l=function(t,n){e.case_insensitive&&(n=n.toLowerCase()),n.split(" ").forEach((function(e){var n=e.split("|");s[n[0]]=[t,n[1]?Number(n[1]):1]}))};"string"==typeof r.keywords?l("keyword",r.keywords):a(r.keywords).forEach((function(e){l(e,r.keywords[e])})),r.keywords=s}r.lexemesRe=n(r.lexemes||/\w+/,!0),o&&(r.beginKeywords&&(r.begin="\\b("+r.beginKeywords.split(" ").join("|")+")\\b"),r.begin||(r.begin=/\B|\b/),r.beginRe=n(r.begin),r.endSameAsBegin&&(r.end=r.begin),r.end||r.endsWithParent||(r.end=/\B|\b/),r.end&&(r.endRe=n(r.end)),r.terminator_end=t(r.end)||"",r.endsWithParent&&o.terminator_end&&(r.terminator_end+=(r.end?"|":"")+o.terminator_end)),r.illegal&&(r.illegalRe=n(r.illegal)),null==r.relevance&&(r.relevance=1),r.contains||(r.contains=[]),r.contains=Array.prototype.concat.apply([],r.contains.map((function(e){return function(e){return e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map((function(t){return g(e,{variants:null},t)}))),e.cached_variants||e.endsWithParent&&[g(e)]||[e]}("self"===e?r:e)}))),r.contains.forEach((function(e){i(e,r)})),r.starts&&i(r.starts,o);var u=r.contains.map((function(e){return e.beginKeywords?"\\.?(?:"+e.begin+")\\.?":e.begin})).concat([r.terminator_end,r.illegal]).map(t).filter(Boolean);r.terminators=u.length?n(function(e,n){for(var i=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,r=0,a="",o=0;o0&&(a+=n);l.length>0;){var u=i.exec(l);if(null==u){a+=l;break}a+=l.substring(0,u.index),l=l.substring(u.index+u[0].length),"\\"==u[0][0]&&u[1]?a+="\\"+String(Number(u[1])+s):(a+=u[0],"("==u[0]&&r++)}}return a}(u,"|"),!0):{exec:function(){return null}}}}(e)}function w(e,t,n,i){function r(e){return new RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function a(e,t){if(m(e.endRe,t)){for(;e.endsParent&&e.parent;)e=e.parent;return e}if(e.endsWithParent)return a(e.parent,t)}function s(e,t){var n=v.case_insensitive?t[0].toLowerCase():t[0];return e.keywords.hasOwnProperty(n)&&e.keywords[n]}function l(e,t,n,i){var r='')+t+(n?"":d):t}function u(){k+=null!=b.subLanguage?function(){var e="string"==typeof b.subLanguage;if(e&&!o[b.subLanguage])return f(C);var t=e?w(b.subLanguage,C,!0,x[b.subLanguage]):_(C,b.subLanguage.length?b.subLanguage:void 0);return b.relevance>0&&(O+=t.relevance),e&&(x[b.subLanguage]=t.top),l(t.language,t.value,!1,!0)}():function(){var e,t,n,i;if(!b.keywords)return f(C);for(i="",t=0,b.lexemesRe.lastIndex=0,n=b.lexemesRe.exec(C);n;)i+=f(C.substring(t,n.index)),(e=s(b,n))?(O+=e[1],i+=l(e[0],f(n[0]))):i+=f(n[0]),t=b.lexemesRe.lastIndex,n=b.lexemesRe.exec(C);return i+f(C.substr(t))}(),C=""}function c(e){k+=e.className?l(e.className,"",!0):"",b=Object.create(e,{parent:{value:b}})}function p(e,t){if(C+=e,null==t)return u(),0;var i=function(e,t){var n,i;for(n=0,i=t.contains.length;n")+'"');return C+=t,t.length||1}var v=S(e);if(!v)throw new Error('Unknown language: "'+e+'"');y(v);var g,b=i||v,x={},k="";for(g=b;g!==v;g=g.parent)g.className&&(k=l(g.className,"",!0)+k);var C="",O=0;try{for(var T,D,E=0;b.terminators.lastIndex=E,T=b.terminators.exec(t);)D=p(t.substring(E,T.index),T[0]),E=T.index+D;for(p(t.substr(E)),g=b;g.parent;g=g.parent)g.className&&(k+=d);return{relevance:O,value:k,language:e,top:b}}catch(e){if(e.message&&-1!==e.message.indexOf("Illegal"))return{relevance:0,value:f(t)};throw e}}function _(e,t){t=t||h.languages||a(o);var n={relevance:0,value:f(e)},i=n;return t.filter(S).filter(O).forEach((function(t){var r=w(t,e,!1);r.language=t,r.relevance>i.relevance&&(i=r),r.relevance>n.relevance&&(i=n,n=r)})),i.language&&(n.second_best=i),n}function x(e){return h.tabReplace||h.useBR?e.replace(c,(function(e,t){return h.useBR&&"\n"===e?"
":h.tabReplace?t.replace(/\t/g,h.tabReplace):""})):e}function k(e){var t,n,i,a,o,l=function(e){var t,n,i,r,a=e.className+" ";if(a+=e.parentNode?e.parentNode.className:"",n=u.exec(a))return S(n[1])?n[1]:"no-highlight";for(t=0,i=(a=a.split(/\s+/)).length;t/g,"\n"):t=e,o=t.textContent,i=l?w(l,o,!0):_(o),(n=b(t)).length&&((a=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=i.value,i.value=function(e,t,n){var i=0,a="",o=[];function s(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset"}function u(e){a+=""}function c(e){("start"===e.event?l:u)(e.node)}for(;e.length||t.length;){var d=s();if(a+=f(n.substring(i,d[0].offset)),i=d[0].offset,d===e){o.reverse().forEach(u);do{c(d.splice(0,1)[0]),d=s()}while(d===e&&d.length&&d[0].offset===i);o.reverse().forEach(l)}else"start"===d[0].event?o.push(d[0].node):o.pop(),c(d.splice(0,1)[0])}return a+f(n.substr(i))}(n,b(a),o)),i.value=x(i.value),e.innerHTML=i.value,e.className=function(e,t,n){var i=t?s[t]:n,r=[e.trim()];return e.match(/\bhljs\b/)||r.push("hljs"),-1===e.indexOf(i)&&r.push(i),r.join(" ").trim()}(e.className,l,i.language),e.result={language:i.language,re:i.relevance},i.second_best&&(e.second_best={language:i.second_best.language,re:i.second_best.relevance}))}function C(){if(!C.called){C.called=!0;var e=document.querySelectorAll("pre code");r.forEach.call(e,k)}}function S(e){return e=(e||"").toLowerCase(),o[e]||o[s[e]]}function O(e){var t=S(e);return t&&!t.disableAutodetect}i.highlight=w,i.highlightAuto=_,i.fixMarkup=x,i.highlightBlock=k,i.configure=function(e){h=g(h,e)},i.initHighlighting=C,i.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",C,!1),addEventListener("load",C,!1)},i.registerLanguage=function(e,t){var n=o[e]=t(i);n.aliases&&n.aliases.forEach((function(t){s[t]=e}))},i.listLanguages=function(){return a(o)},i.getLanguage=S,i.autoDetection=O,i.inherit=g,i.IDENT_RE="[a-zA-Z]\\w*",i.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",i.NUMBER_RE="\\b\\d+(\\.\\d+)?",i.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",i.BINARY_NUMBER_RE="\\b(0b[01]+)",i.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",i.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},i.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[i.BACKSLASH_ESCAPE]},i.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[i.BACKSLASH_ESCAPE]},i.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},i.COMMENT=function(e,t,n){var r=i.inherit({className:"comment",begin:e,end:t,contains:[]},n||{});return r.contains.push(i.PHRASAL_WORDS_MODE),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),r},i.C_LINE_COMMENT_MODE=i.COMMENT("//","$"),i.C_BLOCK_COMMENT_MODE=i.COMMENT("/\\*","\\*/"),i.HASH_COMMENT_MODE=i.COMMENT("#","$"),i.NUMBER_MODE={className:"number",begin:i.NUMBER_RE,relevance:0},i.C_NUMBER_MODE={className:"number",begin:i.C_NUMBER_RE,relevance:0},i.BINARY_NUMBER_MODE={className:"number",begin:i.BINARY_NUMBER_RE,relevance:0},i.CSS_NUMBER_MODE={className:"number",begin:i.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},i.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[i.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[i.BACKSLASH_ESCAPE]}]},i.TITLE_MODE={className:"title",begin:i.IDENT_RE,relevance:0},i.UNDERSCORE_TITLE_MODE={className:"title",begin:i.UNDERSCORE_IDENT_RE,relevance:0},i.METHOD_GUARD={begin:"\\.\\s*"+i.UNDERSCORE_IDENT_RE,relevance:0};const T=i;var D=n(5489),E=n.n(D),$=n(53049),M=n.n($),P=n(40349),I=n.n(P),j=n(17410),A=n.n(j),N=n(8650),L=n.n(N),F=n(67020),R=n.n(F),B=n(51988),V=n.n(B),z=n(15350),H=n.n(z),W=n(86507),q=n.n(W),U=n(283),K=n.n(U),G=n(4142),Y=n.n(G),Z=n(52423),X=n.n(Z),J={javascript:E(),java:M(),css:I(),less:A(),markdown:R(),go:L(),php:V(),python:H(),typescript:q(),xml:K(),autohotkey:Y(),auto:X()};Object.keys(J).forEach((function(e){T.registerLanguage(e,J[e])}));const Q=T;var ee=n(43705);void 0===window._goTocAction&&(window._goTocAction=function(e,t,n){var i=$A(e).parents(".markdown-preview");if(i){var r=i.find("h"+t+'[toc-id="'+n+'"]');r&&i.animate({scrollTop:r.offset().top-i.offset().top+i.scrollTop()})}});var te={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}|~{3,})([^`~\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:me,table:me,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};function ne(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||_e.defaults,this.rules=te.normal,this.options.pedantic?this.rules=te.pedantic:this.options.gfm&&(this.rules=te.gfm)}te._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,te._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,te.def=de(te.def).replace("label",te._label).replace("title",te._title).getRegex(),te.bullet=/(?:[*+-]|\d{1,9}\.)/,te.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,te.item=de(te.item,"gm").replace(/bull/g,te.bullet).getRegex(),te.list=de(te.list).replace(/bull/g,te.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+te.def.source+")").getRegex(),te._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",te._comment=//,te.html=de(te.html,"i").replace("comment",te._comment).replace("tag",te._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),te.paragraph=de(te._paragraph).replace("hr",te.hr).replace("heading"," {0,3}#{1,6} +").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}|~{3,})[^`\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",te._tag).getRegex(),te.blockquote=de(te.blockquote).replace("paragraph",te.paragraph).getRegex(),te.normal=ve({},te),te.gfm=ve({},te.normal,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),te.pedantic=ve({},te.normal,{html:de("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",te._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:me,paragraph:de(te.normal._paragraph).replace("hr",te.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",te.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()}),ne.rules=te,ne.lex=function(e,t){return new ne(t).lex(e)},ne.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},ne.prototype.token=function(e,t){var n,i,r,a,o,s,l,u,c,d,h,f,p,m,v,g;for(e=e.replace(/^ +$/gm,"");e;)if((r=this.rules.newline.exec(e))&&(e=e.substring(r[0].length),r[0].length>1&&this.tokens.push({type:"space"})),r=this.rules.code.exec(e)){var b=this.tokens[this.tokens.length-1];e=e.substring(r[0].length),b&&"paragraph"===b.type?b.text+="\n"+r[0].trimRight():(r=r[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?r:be(r,"\n")}))}else if(r=this.rules.fences.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"code",lang:r[2]?r[2].trim():r[2],text:r[3]||""});else if(r=this.rules.heading.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"heading",depth:r[1].length,text:r[2]});else if((r=this.rules.nptable.exec(e))&&(s={type:"table",header:ge(r[1].replace(/^ *| *\| *$/g,"")),align:r[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:r[3]?r[3].replace(/\n$/,"").split("\n"):[]}).header.length===s.align.length){for(e=e.substring(r[0].length),h=0;h ?/gm,""),this.token(r,t),this.tokens.push({type:"blockquote_end"});else if(r=this.rules.list.exec(e)){for(e=e.substring(r[0].length),l={type:"list_start",ordered:m=(a=r[2]).length>1,start:m?+a:"",loose:!1},this.tokens.push(l),u=[],n=!1,p=(r=r[0].match(this.rules.item)).length,h=0;h1?1===o.length:o.length>1||this.options.smartLists&&o!==a)&&(e=r.slice(h+1).join("\n")+e,h=p-1)),i=n||/\n\n(?!\s*$)/.test(s),h!==p-1&&(n="\n"===s.charAt(s.length-1),i||(i=n)),i&&(l.loose=!0),g=void 0,(v=/^\[[ xX]\] /.test(s))&&(g=" "!==s[1],s=s.replace(/^\[[ xX]\] +/,"")),c={type:"list_item_start",task:v,checked:g,loose:i},u.push(c),this.tokens.push(c),this.token(s,!1),this.tokens.push({type:"list_item_end"});if(l.loose)for(p=u.length,h=0;h?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:me,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:me,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~",ie.em=de(ie.em).replace(/punctuation/g,ie._punctuation).getRegex(),ie._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,ie._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,ie._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,ie.autolink=de(ie.autolink).replace("scheme",ie._scheme).replace("email",ie._email).getRegex(),ie._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,ie.tag=de(ie.tag).replace("comment",te._comment).replace("attribute",ie._attribute).getRegex(),ie._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ie._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,ie._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,ie.link=de(ie.link).replace("label",ie._label).replace("href",ie._href).replace("title",ie._title).getRegex(),ie.reflink=de(ie.reflink).replace("label",ie._label).getRegex(),ie.normal=ve({},ie),ie.pedantic=ve({},ie.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:de(/^!?\[(label)\]\((.*?)\)/).replace("label",ie._label).getRegex(),reflink:de(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ie._label).getRegex()}),ie.gfm=ve({},ie.normal,{escape:de(ie.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),s+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):ue(a[0]):a[0];else if(a=this.rules.link.exec(e)){var l=ye(a[2],"()");if(l>-1){var u=4+a[1].length+l;a[2]=a[2].substring(0,l),a[0]=a[0].substring(0,u).trim(),a[3]=""}e=e.substring(a[0].length),this.inLink=!0,i=a[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i))?(i=t[1],r=t[3]):r="":r=a[3]?a[3].slice(1,-1):"",i=i.trim().replace(/^<([\s\S]*)>$/,"$1"),s+=this.outputLink(a,{href:re.escapes(i),title:re.escapes(r)}),this.inLink=!1}else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){s+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,s+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),s+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),s+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),s+=this.renderer.codespan(ue(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),s+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),s+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),i="@"===a[2]?"mailto:"+(n=ue(this.mangle(a[1]))):n=ue(a[1]),s+=this.renderer.link(i,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.inRawBlock?s+=this.renderer.text(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):ue(a[0]):a[0]):s+=this.renderer.text(ue(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])i="mailto:"+(n=ue(a[0]));else{do{o=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(o!==a[0]);n=ue(a[0]),i="www."===a[1]?"http://"+n:n}e=e.substring(a[0].length),s+=this.renderer.link(i,null,n)}return s},re.escapes=function(e){return e?e.replace(re.rules._escapes,"$1"):e},re.prototype.outputLink=function(e,t){var n=t.href,i=t.title?ue(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,i,this.output(e[1])):this.renderer.image(n,i,ue(e[1]))},re.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},re.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",i=e.length,r=0;r.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},ae.prototype.code=function(e,t,n){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(e,i);null!=r&&r!==e&&(n=!0,e=r)}return i?'
'+(n?e:ue(e,!0))+"
\n":"
"+(n?e:ue(e,!0))+"
"},ae.prototype.blockquote=function(e){return"
\n"+e+"
\n"},ae.prototype.html=function(e){return e},ae.prototype.heading=function(e,t,n,i){var r=ee.Z.add(e,t);return this.options.headerIds?"'+e+"\n":"'+e+"\n"},ae.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},ae.prototype.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},ae.prototype.listitem=function(e){var t="";return/\/.test(e)&&(t="list-item-checkbox",/checked/.test(e)&&(t+=" list-item-checkbox-checked")),'
  • ').concat(e,"
  • \n")},ae.prototype.checkbox=function(e){return" "},ae.prototype.paragraph=function(e){return"

    "+e+"

    \n"},ae.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},ae.prototype.tablerow=function(e){return"\n"+e+"\n"},ae.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},ae.prototype.strong=function(e){return""+e+""},ae.prototype.em=function(e){return""+e+""},ae.prototype.codespan=function(e){return""+e+""},ae.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},ae.prototype.del=function(e){return""+e+""},ae.prototype.link=function(e,t,n){if(null===(e=he(this.options.sanitize,this.options.baseUrl,e)))return n;var i='"},ae.prototype.image=function(e,t,n){if(null===(e=he(this.options.sanitize,this.options.baseUrl,e)))return n;var i=''+n+'":">"},ae.prototype.text=function(e){return e},oe.prototype.strong=oe.prototype.em=oe.prototype.codespan=oe.prototype.del=oe.prototype.text=function(e){return e},oe.prototype.link=oe.prototype.image=function(e,t,n){return""+n},oe.prototype.br=function(){return""},se.parse=function(e,t){return new se(t).parse(e)},se.prototype.parse=function(e){this.inline=new re(e.links,this.options),this.inlineText=new re(e.links,ve({},this.options,{renderer:new oe})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},se.prototype.next=function(){return this.token=this.tokens.pop(),this.token},se.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},se.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},se.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,ce(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,i,r="",a="";for(n="",e=0;e?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},ue.escapeTest=/[&<>"']/,ue.escapeReplace=/[&<>"']/g,ue.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},ue.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,ue.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var fe={},pe=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function me(){}function ve(e){for(var t,n,i=1;i=0&&"\\"===n[r];)i=!i;return i?"|":" |"})).split(/ \|/),i=0;if(n.length>t)n.splice(t);else for(;n.lengthAn error occurred:

    "+ue(e.message+"",!0)+"
    ";throw e}}me.exec=me,_e.options=_e.setOptions=function(e){return ve(_e.defaults,e),_e},_e.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new ae,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},_e.defaults=_e.getDefaults(),_e.Parser=se,_e.parser=se.parse,_e.Renderer=ae,_e.TextRenderer=oe,_e.Lexer=ne,_e.lexer=ne.lex,_e.InlineLexer=re,_e.inlineLexer=re.output,_e.Slugger=le,_e.parse=_e;const xe=_e;Q.initHighlightingOnLoad();var ke=new xe.Renderer;const Ce=xe.setOptions({renderer:ke,gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,smartLists:!0,highlight:function(e){return Q.highlightAuto(e).value}})},90091:(e,t,n)=>{function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}!function(e,t,n){e.systemInfo=e.systemInfo||{},t.extend({isArray:function(e){return"object"==i(e)&&"[object array]"==Object.prototype.toString.call(e).toLowerCase()&&"number"==typeof e.length},isJson:function(e){return"object"==i(e)&&"[object object]"==Object.prototype.toString.call(e).toLowerCase()&&void 0===e.length},inArray:function(e,t){return!!this.isArray(t)&&t.includes(e)},randNum:function(e,t){var n=t-e,i=Math.random();return e+Math.round(i*n)},last:function(e){var t=!1;return"object"===i(e)&&e.length>0&&(t=e[e.length-1]),t},strExists:function(e,t){var i=arguments.length>2&&arguments[2]!==n&&arguments[2];return e+="",t+="",!0!==i&&(e=e.toLowerCase(),t=t.toLowerCase()),-1!==e.indexOf(t)},leftExists:function(e,t){var i=arguments.length>2&&arguments[2]!==n&&arguments[2];return e+="",t+="",!0!==i&&(e=e.toLowerCase(),t=t.toLowerCase()),e.substring(0,t.length)===t},leftDelete:function(e,t){var i=arguments.length>2&&arguments[2]!==n&&arguments[2];return e+="",t+="",this.leftExists(e,t,i)&&(e=e.substring(t.length)),e||""},rightExists:function(e,t){var i=arguments.length>2&&arguments[2]!==n&&arguments[2];return e+="",t+="",!0!==i&&(e=e.toLowerCase(),t=t.toLowerCase()),e.substring(e.length-t.length)===t},rightDelete:function(e,t){var i=arguments.length>2&&arguments[2]!==n&&arguments[2];return e+="",t+="",this.rightExists(e,t,i)&&(e=e.substring(0,e.length-t.length)),e||""},getMiddle:function(e){var t=arguments.length>1&&arguments[1]!==n?arguments[1]:null,i=arguments.length>2&&arguments[2]!==n?arguments[2]:null;return e=e.toString(),this.isHave(t)&&this.strExists(e,t)&&(e=e.substring(e.indexOf(t)+t.length)),this.isHave(i)&&this.strExists(e,i)&&(e=e.substring(0,e.indexOf(i))),e},subString:function(e,t,n){return e+="",this.isHave(n)||(n=e.length),e.substring(t,n)},randomString:function(e){e=e||32;for(var t="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678oOLl9gqVvUuI1",n=t.length,i="",r=0;r1&&arguments[1]!==n?arguments[1]:null,i=Number(e);if(i+""=="NaN"&&(i=0),t&&/^[0-9]*[1-9][0-9]*$/.test(t)){var r=(i=i.toFixed(t)).indexOf(".");if(r<0){i+=".";for(var a=0;a1&&arguments[1]!==n&&arguments[1];return"string"==typeof e&&this.strExists(e,"-")&&(e=e.replace(/-/g,"/")),!0===t?Math.round(new Date(e).getTime()/1e3):new Date(e)})),zeroFill:function(e,t,n){if((e+="").length>=t)return e;for(var i="",r=0;r86400){var i=Math.floor(n/86400),r=Math.ceil((n-86400*i)/3600);return r>0?i+"天"+r+"小时":i+"天"}return n>3600?Math.ceil(n/3600)+"小时":n>60?Math.ceil(n/60)+"分钟":n>10?n+"秒":"刚刚"},isMobile:function(e){return/^1([3456789])\d{9}$/.test(e)},isEmail:function(e){return/^[a-z0-9][a-z\.0-9-_]+@[a-z0-9_-]+(?:\.[a-z]{0,3}\.[a-z]{0,2}|\.[a-z]{0,3}|\.[a-z]{0,2})$/i.test(e)},getDistance:function(e,t,n,i){var r,a,o,s,l,u=3.14159265359,c=6.28318530712,d=.01745329252,h=6370693.5;return r=t*d,a=i*d,(l=e*d-n*d)>u?l=c-l:l<-u&&(l=c+l),o=h*Math.cos(r)*l,s=h*(r-a),Math.sqrt(o*o+s*s).toFixed(0)},setTile:function(e){document.title=e;var t=navigator.userAgent.toLowerCase();if(/iphone|ipad|ipod/.test(t)){var n=document.createElement("iframe");n.style.display="none",n.setAttribute("src","/favicon.ico");n.addEventListener("load",(function e(){setTimeout((function(){n.removeEventListener("load",e),document.body.removeChild(n)}),0)})),document.body.appendChild(n)}},cloneJSON:function(e){return"object"!==i(e)||null===e?e:$A.jsonParse($A.jsonStringify(e))},jsonParse:function(e){var t=arguments.length>1&&arguments[1]!==n?arguments[1]:n;if(null===e)return t||{};if("object"===i(e))return e;try{return JSON.parse(e.replace(/\n/g,"\\n").replace(/\r/g,"\\r"))}catch(e){return t||{}}},jsonStringify:function(e){var t=arguments.length>1&&arguments[1]!==n?arguments[1]:n;if("object"!==i(e))return e;try{return JSON.stringify(e)}catch(e){return t||""}},resize:function(e,t){var n=$A(e);if(0!==n.length)var i=parseInt(n.outerHeight()),r=parseInt(n.outerWidth()),a=setInterval((function(){0===n.length&&clearInterval(a);var e=parseInt(n.outerHeight()),o=parseInt(n.outerWidth());i===e&&r===o||(i=e,r=o,console.log(r,i),"function"==typeof t&&t())}),250)},isIos:function(){var t=void 0!==e&&e.navigator.userAgent.toLowerCase();return t&&/iphone|ipad|ipod|ios/.test(t)},isAndroid:function(){var t=void 0!==e&&e.navigator.userAgent.toLowerCase();return t&&t.indexOf("android")>0},isWeixin:function(){return(void 0!==e&&e.navigator.userAgent.toLowerCase()).match(/MicroMessenger/i)+""=="micromessenger"},isChrome:function(){return(void 0!==e&&e.navigator.userAgent.toLowerCase()).match(/Chrome/i)+""=="chrome"},isDesktop:function(){return!(void 0!==e&&e.navigator.userAgent).match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)},getObject:function(e,t){var n=e;return 0===this.count(e)||0===this.count(t)?"":(t.replace(/,/g,"|").replace(/\./g,"|").split("|").some((function(e){n=void 0===n[e]?"":n[e]})),n)},count:function(e){try{if(void 0===e)return 0;if("number"==typeof e&&(e+=""),"number"==typeof e.length)return e.length;var t,n=0;for(t in e)n++;return n}catch(e){return 0}},objImplode:function(e){var t=this;if(null===e)return"";var n="";return $A.each(e,(function(e,r){null!==r&&("object"===i(r)&&t.count(r)>0?n+=t.objImplode(r):n+=String(r))})),n.replace(/\s/g,"").replace(/undefined/g,"")},urlParameter:function(e){var t=this.urlParameterAll();return void 0===e?t:t[e]},urlParameterAll:function(){var t=e.location.search||"",n=[];this.strExists(t,"?")&&(n=this.getMiddle(t,"?").split("&"));for(var i={},r=0;r=2){for(var i=encodeURIComponent(t)+"=",r=n[1].split(/[&;]/g),a=r.length;a-- >0;)-1!==r[a].lastIndexOf(i,0)&&r.splice(a,1);return n[0]+(r.length>0?"?"+r.join("&"):"")}return e},urlAddParams:function(e,t){if($A.isJson(t))for(var n in e&&(e=this.removeURLParameter(e,Object.keys(t))),e+="",e+=-1===e.indexOf("?")?"?":"",t)t.hasOwnProperty(n)&&(e+="&"+n+"="+t[n]);return this.rightDelete(e.replace("?&","?"),"?")},stringConnect:function(){for(var e=null,t="",n=arguments.length,i=new Array(n),r=0;r0&&(e=e[0]);var n="object"===i(e.$el)?$A(e.$el):$A(e);if(0!==n.length){var r=n[0];if("INPUT"!=r.tagName&&"TEXTAREA"!=r.tagName&&(n=0===n.find("input").length?n.find("textarea"):n.find("input")),0!==n.length&&("INPUT"==(r=n[0]).tagName||"TEXTAREA"==r.tagName)){var a=n.val(),o=r,s=o.selectionStart,l=o.selectionEnd;n.val("".concat(a.substring(0,s)).concat(t).concat(a.substring(l,a.length))),r.dispatchEvent(new Event("input")),setTimeout((function(){if(r.setSelectionRange){var e=a.substring(0,s).length+t.length;r.focus(),r.setSelectionRange(e,e)}}),10)}}}},iOSKeyboardFixer:function(){this.isIos()&&(document.body.scrollTop=document.body.scrollTop+1,document.body.scrollTop=document.body.scrollTop-1)},loadScript:function(t,n){var i=this;if(t=$A.originUrl(t),this.rightExists(t,".css"))this.loadCss(t,n);else if(!0!==this.__loadScript[t]){var r=document.createElement("script");r.type="text/javascript",r.readyState?r.onreadystatechange=function(){"loaded"!==r.readyState&&"complete"!==r.readyState||(r.onreadystatechange=null,i.__loadScript[t]=!0,"function"==typeof n&&n(null))}:(r.onload=function(){i.__loadScript[t]=!0,"function"==typeof n&&n(null)},r.onerror=function(e){"function"==typeof n&&n(e)}),this.rightExists(t,".js")?r.src=t+"?hash="+e.systemInfo.version:r.src=t,document.body.appendChild(r)}else"function"==typeof n&&n(null)},loadScriptS:function(e,t){var n=this,i=0;this.loadScript(e[0],(function r(){++i&"]/g,(function(e){return{"<":"<",">":">","&":"&",'"':"""}[e]})):""},getDomain:function(e){var t=(e+"").match(/http(s)?:\/\/([^\/]+)/i);return null!=t&&t.length>0?t[2]:""},scrollToView:function(t,n){if(t)if(void 0===n.scrollMode||"function"!=typeof e.scrollIntoView)try{t.scrollIntoView(n)}catch(i){"function"==typeof e.scrollIntoView&&e.scrollIntoView(t,n)}else e.scrollIntoView(t,n)}}),t.extend({setStorage:function(e,t){return this.storage(e,t)},getStorage:function(e){var t=arguments.length>1&&arguments[1]!==n?arguments[1]:null,i=this.storage(e);return i||t},getStorageString:function(e){var t=arguments.length>1&&arguments[1]!==n?arguments[1]:"",i=this.storage(e);return"string"==typeof i||"number"==typeof i?i:t},getStorageInt:function(e){var t=arguments.length>1&&arguments[1]!==n?arguments[1]:0,i=this.storage(e);return"number"==typeof i?i:t},getStorageBoolean:function(e){var t=arguments.length>1&&arguments[1]!==n&&arguments[1],i=this.storage(e);return"boolean"==typeof i?i:t},getStorageArray:function(e){var t=arguments.length>1&&arguments[1]!==n?arguments[1]:[],i=this.storage(e);return this.isArray(i)?i:t},getStorageJson:function(e){var t=arguments.length>1&&arguments[1]!==n?arguments[1]:{},i=this.storage(e);return this.isJson(i)?i:t},storage:function(e,t){if(e){var n="__state__";if("cache"===e.substring(0,5)&&(n="__state:"+e+"__"),void 0===t)return this.loadFromlLocal(e,"",n);this.savaToLocal(e,t,n)}},savaToLocal:function(t,n,i){try{void 0===i&&(i="__seller__");var r=e.localStorage[i];(r=r?JSON.parse(r):{})[t]=n,e.localStorage[i]=JSON.stringify(r)}catch(e){}},loadFromlLocal:function(t,n,i){try{void 0===i&&(i="__seller__");var r=e.localStorage[i];return r&&((r=JSON.parse(r))&&void 0!==r[t])?r[t]:n}catch(e){return n}}}),t.extend({serializeObject:function(e,n){if("string"==typeof e)return e;var r,a=[];function o(e){if(n.length>0){for(var t="",i=0;i0&&a.push(u.join("&"))}else null===e[l]?a.push(o(l)+"="):"object"===i(e[l])?((r=n.slice()).push(l),""!==(u=t.serializeObject(e[l],r))&&a.push(u)):void 0!==e[l]&&""!==e[l]?a.push(o(l)+"="+s(e[l])):""===e[l]&&a.push(o(l))}return a.join("&")},globalAjaxOptions:{},ajaxSetup:function(e){e.type&&(e.method=e.type),t.each(e,(function(e,n){t.globalAjaxOptions[e]=n}))},_jsonpRequests:0,ihttp:function(i){var r={method:"GET",data:!1,async:!0,cache:!0,user:"",password:"",headers:{},xhrFields:{},statusCode:{},processData:!0,dataType:"text",contentType:"application/x-www-form-urlencoded",timeout:0},a=["beforeSend","error","complete","success","statusCode"];function o(e,n,r){var a=arguments;e&&t(document).trigger(e,n),r&&(r in t.globalAjaxOptions&&t.globalAjaxOptions[r](a[3],a[4],a[5],a[6]),i[r]&&i[r](a[3],a[4],a[5],a[6]))}i.type&&(i.method=i.type),t.each(t.globalAjaxOptions,(function(e,t){a.indexOf(e)<0&&(r[e]=t)})),t.each(r,(function(e,t){e in i||(i[e]=t)})),i.url||(i.url=e.location.toString());var s,l=i.url.indexOf("?")>=0?"&":"?",u=i.method.toUpperCase();"GET"!==u&&"HEAD"!==u&&"OPTIONS"!==u&&"DELETE"!==u||!i.data||(s="string"==typeof i.data?i.data.indexOf("?")>=0?i.data.split("?")[1]:i.data:t.serializeObject(i.data)).length&&(i.url+=l+s,"?"===l&&(l="&"));if("json"===i.dataType&&i.url.indexOf("callback=")>=0){var c,d="f7jsonp_"+Date.now()+t._jsonpRequests++,h=i.url.split("callback="),f=h[0]+"callback="+d;if(h[1].indexOf("&")>=0){var p=h[1].split("&").filter((function(e){return e.indexOf("=")>0})).join("&");p.length>0&&(f+="&"+p)}var m=document.createElement("script");return m.type="text/javascript",m.onerror=function(){clearTimeout(c),o(n,n,"error",null,"scripterror"),o("ajaxComplete ajax:complete",{scripterror:!0},"complete",null,"scripterror")},m.src=f,e[d]=function(t){clearTimeout(c),o(n,n,"success",t),m.parentNode.removeChild(m),m=null,delete e[d]},document.querySelector("head").appendChild(m),void(i.timeout>0&&(c=setTimeout((function(){m.parentNode.removeChild(m),m=null,o(n,n,"error",null,"timeout")}),i.timeout)))}"GET"!==u&&"HEAD"!==u&&"OPTIONS"!==u&&"DELETE"!==u||!1===i.cache&&(i.url+=l+"_nocache="+Date.now());var v=new XMLHttpRequest;v.requestUrl=i.url,v.requestParameters=i,v.open(u,i.url,i.async,i.user,i.password);var g,b=null;if(("POST"===u||"PUT"===u||"PATCH"===u)&&i.data)if(i.processData)if([ArrayBuffer,Blob,Document,FormData].indexOf(i.data.constructor)>=0)b=i.data;else{var y="---------------------------"+Date.now().toString(16);"multipart/form-data"===i.contentType?v.setRequestHeader("Content-Type","multipart/form-data; boundary="+y):v.setRequestHeader("Content-Type",i.contentType),b="";var w=t.serializeObject(i.data);if("multipart/form-data"===i.contentType){y="---------------------------"+Date.now().toString(16),w=w.split("&");for(var _=[],x=0;x=200&&v.status<300||0===v.status)if("json"===i.dataType)try{n=JSON.parse(v.responseText),o("ajaxSuccess ajax:success",{xhr:v},"success",n,v.status,v)}catch(e){console.error(e),o("ajaxError ajax:error",{xhr:v,parseerror:!0},"error",v,"parseerror")}else n="text"===v.responseType||""===v.responseType?v.responseText:v.response,o("ajaxSuccess ajax:success",{xhr:v},"success",n,v.status,v);else o("ajaxError ajax:error",{xhr:v},"error",v,v.status);i.statusCode&&(t.globalAjaxOptions.statusCode&&t.globalAjaxOptions.statusCode[v.status]&&t.globalAjaxOptions.statusCode[v.status](v),i.statusCode[v.status]&&i.statusCode[v.status](v)),o("ajaxComplete ajax:complete",{xhr:v},"complete",v,v.status)},v.onerror=function(e){g&&clearTimeout(g),o("ajaxError ajax:error",{xhr:v},"error",v,v.status),o("ajaxComplete ajax:complete",{xhr:v,error:!0},"complete",v,"error")},o("ajaxStart ajax:start",{xhr:v},"start",v),o(n,n,"beforeSend",v),i.timeout>0&&(v.onabort=function(){g&&clearTimeout(g)},g=setTimeout((function(){v.abort(),o("ajaxError ajax:error",{xhr:v,timeout:!0},"error",v,"timeout"),o("ajaxComplete ajax:complete",{xhr:v,timeout:!0},"complete",v,"timeout")}),i.timeout)),v.send(b),v}}),t.extend({ajaxc:function(e){return!!e&&(void 0!==e.url&&(void 0===e.data&&(e.data={}),void 0===e.cache&&(e.cache=!1),void 0===e.method&&(e.method="GET"),void 0===e.timeout&&(e.timeout=3e4),void 0===e.dataType&&(e.dataType="json"),void 0===e.before&&(e.before=function(){}),void 0===e.complete&&(e.complete=function(){}),void 0===e.after&&(e.after=function(){}),void 0===e.success&&(e.success=function(){}),void 0===e.error&&(e.error=function(){}),void 0===e.header&&(e.header={}),e.before(),void $A.ihttp({url:e.url,data:e.data,cache:e.cache,headers:e.header,method:e.method.toUpperCase(),contentType:"OPTIONS",crossDomain:!0,dataType:e.dataType,timeout:e.timeout,success:function(t,n,i){e.complete(),e.success(t,n,i),e.after(!0)},error:function(t,n){e.complete(),e.error(t,n),e.after(!1)}})))}}),e.$A=t}(window,window.$=window.jQuery=n(19755))},92693:()=>{!function(e){var t=e.$A;t.extend({apiUrl:function(t){if("//"===t.substring(0,2)||"http://"===t.substring(0,7)||"https://"===t.substring(0,8)||"ftp://"===t.substring(0,6)||"/"===t.substring(0,1))return t;for(t="string"==typeof e.systemInfo.apiUrl?e.systemInfo.apiUrl+t:e.location.origin+"/api/"+t;-1!==t.indexOf("/../");)t=t.replace(/\/(((?!\/).)*)\/\.\.\//,"/");return t},originUrl:function(t){if("//"===t.substring(0,2)||"http://"===t.substring(0,7)||"https://"===t.substring(0,8)||"ftp://"===t.substring(0,6)||"/"===t.substring(0,1))return t;for(t="string"==typeof e.systemInfo.origin?e.systemInfo.origin+t:e.location.origin+"/"+t;-1!==t.indexOf("/../");)t=t.replace(/\/(((?!\/).)*)\/\.\.\//,"/");return t},projectParameterTemplate:function(e){return{project_id:e,menuInit:!1,menuType:"column",chat:!1,showMy:!0,showHelp:!0,showUndone:!0,showCompleted:!1,completedTask:!1}},formatWebsocketMessageDetail:function(e){if($A.isJson(e))for(var t in e)e.hasOwnProperty(t)&&(e[t]=$A.formatWebsocketMessageDetail(e[t]));else $A.isArray(e)?e.forEach((function(t,n){e[n]=$A.formatWebsocketMessageDetail(t)})):"string"==typeof e&&(e=e.replace(/\{\{RemoteURL\}\}/g,this.apiUrl("../")));return e},formatTime:function(e){var t=$A.Date(e,!0);return($A.formatDate("Ymd")===$A.formatDate("Ymd",t)?$A.formatDate("H:i",t):$A.formatDate("Y")===$A.formatDate("Y",t)?$A.formatDate("m-d",t):$A.formatDate("Y-m-d",t))||""},formatBit:function(e){return(e=+e)>9?e:"0"+e},formatSeconds:function(e){var t,n=Math.floor(e/86400),i=Math.floor(e%86400/3600),r=Math.floor(e%86400%3600/60),a=Math.floor(e%86400%3600%60);return n>0?t=i>0?n+"d,"+this.formatBit(i)+"h":r>0?n+"d,"+this.formatBit(r)+"min":a>0?n+"d,"+this.formatBit(a)+"s":n+"d":i>0?t=this.formatBit(i)+":"+this.formatBit(r)+":"+this.formatBit(a):r>0?t=this.formatBit(r)+":"+this.formatBit(a):a>0&&(t=this.formatBit(a)+"s"),t},countDownFormat:function(e,t){var n=Math.round(this.Date(e).getTime()/1e3)-t;return n<604800&&n>0?this.formatSeconds(n):n<0?"-"+this.formatSeconds(-1*n):0==n?"0s":this.formatTime(e)},getData:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new Date,i=n.getDay(),r=n.getDate(),a=n.getMonth(),o=n.getYear();o+=o<2e3?1900:0;var s=new Date;s.setDate(1),s.setMonth(s.getMonth()-1);var l=s.getMonth(),u=function(){var e=0;return a<3&&(e=0),28&&(e=9),e},c=function(e){var t=new Date(o,e,1);return(new Date(o,e+1,1)-t)/864e5},d=n.getTime();switch(e){case"今天":d=n;break;case"昨天":d=n-864e5;break;case"前天":d=n-1728e5;break;case"本周":d=new Date(o,a,r-i);break;case"本周结束":d=new Date(o,a,r+(6-i));break;case"上周":d=new Date(o,a,r-i-7);break;case"上周结束":d=new Date(o,a,r-i-1);break;case"本周2":d=new Date(o,a,r-i+1);break;case"本周结束2":d=new Date(o,a,r+(6-i)+1);break;case"上周2":d=new Date(o,a,r-i-7+1);break;case"上周结束2":d=new Date(o,a,r-i-1+1);break;case"本月":d=new Date(o,a,1);break;case"本月结束":d=new Date(o,a,c(a));break;case"上个月":d=new Date(o,l,1);break;case"上个月结束":d=new Date(o,l,c(l));break;case"本季度":d=new Date(o,u(),1);break;case"本季度结束":var h=u()+2;d=new Date(o,h,c(h))}return!0===t?d:$A.formatDate("Y-m-d",parseInt(d/1e3))},timeOptionShortcuts:function(){var e=function(e){return $A.Date($A.formatDate("Y-m-d 23:59:29",Math.round(e/1e3)))};return[{text:$A.L("今天"),value:function(){return[new Date,e((new Date).getTime())]}},{text:$A.L("明天"),value:function(){var t=new Date;return t.setDate(t.getDate()+1),[new Date,e(t.getTime())]}},{text:$A.L("本周"),value:function(){return[$A.getData("今天",!0),e($A.getData("本周结束2",!0))]}},{text:$A.L("本月"),value:function(){return[$A.getData("今天",!0),e($A.getData("本月结束",!0))]}},{text:$A.L("3天"),value:function(){var t=new Date;return t.setDate(t.getDate()+2),[new Date,e(t.getTime())]}},{text:$A.L("5天"),value:function(){var t=new Date;return t.setDate(t.getDate()+4),[new Date,e(t.getTime())]}},{text:$A.L("7天"),value:function(){var t=new Date;return t.setDate(t.getDate()+6),[new Date,e(t.getTime())]}}]},dialogTags:function(e){var t=[];return"group"==e.type&&["project","task"].includes(e.group_type)&&$A.isJson(e.group_info)&&("task"==e.group_type&&e.group_info.complete_at&&t.push({color:"success",text:"已完成"}),e.group_info.deleted_at?t.push({color:"red",text:"已删除"}):e.group_info.archived_at&&t.push({color:"default",text:"已归档"})),t},dialogCompleted:function(e){return this.dialogTags(e).find((function(e){return"success"==e.color}))},getDialogUnread:function(e){return e&&(e.unread||e.mark_unread)||0}}),t.extend({spinnerShow:function(){if($A.spinnerLoadNum++,$A.spinnerLoadNum>0){var e=document.getElementById("common-spinner");e&&(e.style.display="block")}},spinnerHide:function(){if($A.spinnerLoadNum--,$A.spinnerLoadNum<=0){var e=document.getElementById("common-spinner");e&&(e.style.display="none")}},spinnerLoadNum:0,modalConfig:function(e){return void 0===e?e={content:"Undefined"}:"string"==typeof e&&(e={content:e}),e.title=$A.L(e.title||(void 0===e.render?"温馨提示":"")),e.content=$A.L(e.content||""),e.okText=$A.L(e.okText||"确定"),e.cancelText=$A.L(e.cancelText||"取消"),e},modalInput:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t>0)setTimeout((function(){$A.modalInput(e)}),t);else{"string"==typeof e&&(e={title:e});var n="modalInput_"+$A.randomString(6),i=function(){"function"==typeof e.onOk?!0===e.onOk(e.value,(function(){$A.Modal.remove()}))&&$A.Modal.remove():$A.Modal.remove()},r=function(){"function"==typeof e.onCancel&&e.onCancel()};$A.Modal.confirm({render:function(t){return t("div",[t("div",{style:{fontSize:"16px",fontWeight:"500",marginBottom:"20px"}},$A.L(e.title)),t("Input",{props:{value:e.value,placeholder:$A.L(e.placeholder),elementId:n},on:{input:function(t){e.value=t},"on-enter":function(e){$A(e.target).parents(".ivu-modal-body").find(".ivu-btn-primary").click()}}})])},onOk:i,onCancel:r,loading:!0,okText:$A.L(e.okText||"确定"),cancelText:$A.L(e.cancelText||"取消")}),setTimeout((function(){document.getElementById(n)&&document.getElementById(n).focus()}))}},modalConfirm:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;!1!==e&&(t>0?setTimeout((function(){$A.modalConfirm(e)}),t):$A.Modal.confirm($A.modalConfig(e)))},modalSuccess:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;!1!==e&&(t>0?setTimeout((function(){$A.modalSuccess(e)}),t):$A.Modal.success($A.modalConfig(e)))},modalInfo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;!1!==e&&(t>0?setTimeout((function(){$A.modalInfo(e)}),t):$A.Modal.info($A.modalConfig(e)))},modalWarning:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;!1!==e&&(t>0?setTimeout((function(){$A.modalWarning(e)}),t):$A.Modal.warning($A.modalConfig(e)))},modalError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;!1!==e&&(t>0?setTimeout((function(){$A.modalError(e)}),t):$A.Modal.error($A.modalConfig(e)))},modalAlert:function(e){!1!==e&&alert($A.L(e))},messageSuccess:function(e){$A.Message.success($A.L(e))},messageWarning:function(e){$A.Message.warning($A.L(e))},messageError:function(e){$A.Message.error($A.L(e))},noticeConfig:function(e){return void 0===e?e={desc:"Undefined"}:"string"==typeof e&&(e={desc:e}),e.title=$A.L(e.title||(void 0===e.render?"温馨提示":"")),e.desc=$A.L(e.desc||""),e},noticeSuccess:function(e){$A.Notice.success($A.noticeConfig(e))},noticeWarning:function(e){$A.Notice.warning($A.noticeConfig(e))},noticeError:function(e){"string"==typeof e&&(e={desc:e,duration:6}),$A.Notice.error($A.noticeConfig(e))}}),t.extend({dark:{utils:{filter:"-webkit-filter: url(#dark-mode-filter) !important; filter: url(#dark-mode-filter) !important;",reverseFilter:"-webkit-filter: url(#dark-mode-reverse-filter) !important; filter: url(#dark-mode-reverse-filter) !important;",noneFilter:"-webkit-filter: none !important; filter: none !important;",addExtraStyle:function(){try{return""}catch(e){return""}},addStyle:function(e,t,n){t=t||"style";var i=document;if(!i.getElementById(e)){var r=i.createElement(t);r.rel="stylesheet",r.id=e,"style"===t?r.innerHTML=n:r.href=n,document.head.appendChild(r)}},getClassList:function(e){return e.classList||[]},addClass:function(e,t){return this.getClassList(e).add(t),this},removeClass:function(e,t){return this.getClassList(e).remove(t),this},hasClass:function(e,t){return this.getClassList(e).contains(t)},hasElementById:function(e){return document.getElementById(e)},removeElementById:function(e){var t=document.getElementById(e);t&&t.parentNode.removeChild(t)}},createDarkFilter:function(){if(!this.utils.hasElementById("dark-mode-svg")){var e=document.createElementNS("http://www.w3.org/1999/xhtml","div");e.innerHTML='';for(var t=document.createDocumentFragment();e.firstChild;)t.appendChild(e.firstChild);document.head.appendChild(t)}},createDarkStyle:function(){this.utils.addStyle("dark-mode-style","style","\n @media screen {\n html {\n ".concat(this.utils.filter,'\n }\n\n /* Default Reverse rule */\n img,\n video,\n iframe,\n canvas,\n :not(object):not(body) > embed,\n object,\n svg image,\n [style*="background:url"],\n [style*="background-image:url"],\n [style*="background: url"],\n [style*="background-image: url"],\n [background],\n twitterwidget,\n .sr-reader,\n .no-dark-mode,\n .no-dark-mode-before:before,\n .sr-backdrop {\n ').concat(this.utils.reverseFilter,'\n }\n\n [style*="background:url"] *,\n [style*="background-image:url"] *,\n [style*="background: url"] *,\n [style*="background-image: url"] *,\n input,\n [background] *,\n twitterwidget .NaturalImage-image {\n ').concat(this.utils.noneFilter,"\n }\n\n /* Text contrast */\n html {\n text-shadow: 0 0 0 !important;\n }\n\n /* Full screen */\n .no-filter,\n :-webkit-full-screen,\n :-webkit-full-screen *,\n :-moz-full-screen,\n :-moz-full-screen *,\n :fullscreen,\n :fullscreen * {\n ").concat(this.utils.noneFilter,"\n }\n\n /* Page background */\n html {\n background: #fff !important;\n }\n ").concat(this.utils.addExtraStyle(),"\n }\n\n @media print {\n .no-print {\n display: none !important;\n }\n }"))},enableDarkMode:function(){$A.isChrome()&&(this.isDarkEnabled()||(this.createDarkFilter(),this.createDarkStyle(),this.utils.addClass(document.body,"dark-mode-reverse")))},disableDarkMode:function(){this.isDarkEnabled()&&(this.utils.removeElementById("dark-mode-svg"),this.utils.removeElementById("dark-mode-style"),this.utils.removeClass(document.body,"dark-mode-reverse"))},autoDarkMode:function(){e.matchMedia&&e.matchMedia("(prefers-color-scheme: dark)").matches?this.enableDarkMode():this.disableDarkMode()},isDarkEnabled:function(){return this.utils.hasClass(document.body,"dark-mode-reverse")}}}),e.$A=t}(window)},31108:(e,t)=>{t.Z=[]},52945:(e,t,n)=>{e.exports={default:n(56981),__esModule:!0}},93516:(e,t,n)=>{e.exports={default:n(80025),__esModule:!0}},64275:(e,t,n)=>{e.exports={default:n(52392),__esModule:!0}},88239:(e,t,n)=>{"use strict";var i,r=n(52945),a=(i=r)&&i.__esModule?i:{default:i};t.Z=a.default||function(e){for(var t=1;t{"use strict";var i=o(n(64275)),r=o(n(93516)),a="function"==typeof r.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":typeof e};function o(e){return e&&e.__esModule?e:{default:e}}t.Z="function"==typeof r.default&&"symbol"===a(i.default)?function(e){return void 0===e?"undefined":a(e)}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":void 0===e?"undefined":a(e)}},56981:(e,t,n)=>{n(72699),e.exports=n(34579).Object.assign},80025:(e,t,n)=>{n(46840),n(94058),n(8174),n(36461),e.exports=n(34579).Symbol},52392:(e,t,n)=>{n(91867),n(73871),e.exports=n(25103).f("iterator")},85663:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},79003:e=>{e.exports=function(){}},12159:(e,t,n)=>{var i=n(36727);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},57428:(e,t,n)=>{var i=n(7932),r=n(78728),a=n(16531);e.exports=function(e){return function(t,n,o){var s,l=i(t),u=r(l.length),c=a(o,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},32894:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},34579:e=>{var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},19216:(e,t,n)=>{var i=n(85663);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},8333:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},89666:(e,t,n)=>{e.exports=!n(7929)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},97467:(e,t,n)=>{var i=n(36727),r=n(33938).document,a=i(r)&&i(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},73338:e=>{e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},70337:(e,t,n)=>{var i=n(46162),r=n(48195),a=n(86274);e.exports=function(e){var t=i(e),n=r.f;if(n)for(var o,s=n(e),l=a.f,u=0;s.length>u;)l.call(e,o=s[u++])&&t.push(o);return t}},83856:(e,t,n)=>{var i=n(33938),r=n(34579),a=n(19216),o=n(41818),s=n(27069),l=function(e,t,n){var u,c,d,h=e&l.F,f=e&l.G,p=e&l.S,m=e&l.P,v=e&l.B,g=e&l.W,b=f?r:r[t]||(r[t]={}),y=b.prototype,w=f?i:p?i[t]:(i[t]||{}).prototype;for(u in f&&(n=t),n)(c=!h&&w&&void 0!==w[u])&&s(b,u)||(d=c?w[u]:n[u],b[u]=f&&"function"!=typeof w[u]?n[u]:v&&c?a(d,i):g&&w[u]==d?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?a(Function.call,d):d,m&&((b.virtual||(b.virtual={}))[u]=d,e&l.R&&y&&!y[u]&&o(y,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},7929:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},33938:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},27069:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},41818:(e,t,n)=>{var i=n(4743),r=n(83101);e.exports=n(89666)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},54881:(e,t,n)=>{var i=n(33938).document;e.exports=i&&i.documentElement},33758:(e,t,n)=>{e.exports=!n(89666)&&!n(7929)((function(){return 7!=Object.defineProperty(n(97467)("div"),"a",{get:function(){return 7}}).a}))},50799:(e,t,n)=>{var i=n(32894);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},71421:(e,t,n)=>{var i=n(32894);e.exports=Array.isArray||function(e){return"Array"==i(e)}},36727:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},33945:(e,t,n)=>{"use strict";var i=n(98989),r=n(83101),a=n(25378),o={};n(41818)(o,n(22939)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(o,{next:r(1,n)}),a(e,t+" Iterator")}},45700:(e,t,n)=>{"use strict";var i=n(16227),r=n(83856),a=n(57470),o=n(41818),s=n(15449),l=n(33945),u=n(25378),c=n(95089),d=n(22939)("iterator"),h=!([].keys&&"next"in[].keys()),f="keys",p="values",m=function(){return this};e.exports=function(e,t,n,v,g,b,y){l(n,t,v);var w,_,x,k=function(e){if(!h&&e in T)return T[e];switch(e){case f:case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},C=t+" Iterator",S=g==p,O=!1,T=e.prototype,D=T[d]||T["@@iterator"]||g&&T[g],E=D||k(g),$=g?S?k("entries"):E:void 0,M="Array"==t&&T.entries||D;if(M&&(x=c(M.call(new e)))!==Object.prototype&&x.next&&(u(x,C,!0),i||"function"==typeof x[d]||o(x,d,m)),S&&D&&D.name!==p&&(O=!0,E=function(){return D.call(this)}),i&&!y||!h&&!O&&T[d]||o(T,d,E),s[t]=E,s[C]=m,g)if(w={values:S?E:k(p),keys:b?E:k(f),entries:$},y)for(_ in w)_ in T||a(T,_,w[_]);else r(r.P+r.F*(h||O),t,w);return w}},85084:e=>{e.exports=function(e,t){return{value:t,done:!!e}}},15449:e=>{e.exports={}},16227:e=>{e.exports=!0},77177:(e,t,n)=>{var i=n(65730)("meta"),r=n(36727),a=n(27069),o=n(4743).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(7929)((function(){return l(Object.preventExtensions({}))})),c=function(e){o(e,i,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,i)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[i].i},getWeak:function(e,t){if(!a(e,i)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[i].w},onFreeze:function(e){return u&&d.NEED&&l(e)&&!a(e,i)&&c(e),e}}},88082:(e,t,n)=>{"use strict";var i=n(89666),r=n(46162),a=n(48195),o=n(86274),s=n(66530),l=n(50799),u=Object.assign;e.exports=!u||n(7929)((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=i}))?function(e,t){for(var n=s(e),u=arguments.length,c=1,d=a.f,h=o.f;u>c;)for(var f,p=l(arguments[c++]),m=d?r(p).concat(d(p)):r(p),v=m.length,g=0;v>g;)f=m[g++],i&&!h.call(p,f)||(n[f]=p[f]);return n}:u},98989:(e,t,n)=>{var i=n(12159),r=n(57856),a=n(73338),o=n(58989)("IE_PROTO"),s=function(){},l=function(){var e,t=n(97467)("iframe"),i=a.length;for(t.style.display="none",n(54881).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("
    '},oD=function(t,e){var n,r,o,i,a=t.translate("Rich Text Area"),s=(n=t.id,r=a,e.height,o=function(t){return t.getParam("iframe_attrs",{})}(t),i=Le.fromTag("iframe"),tr(i,o),tr(i,{id:n+"_ifr",frameBorder:"0",allowTransparency:"true",title:r}),Ps(i,"tox-edit-area__iframe"),i).dom;s.onload=function(){s.onload=null,t.fire("load")};var u=function(t,e){if(document.domain!==window.location.hostname&&ke.browser.isIE()){var n=Py("mce");t[n]=function(){eD(t)};var r='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinymce.get("'+t.id+'");document.write(ed.iframeHTML);document.close();ed.'+n+"(true);})()";return nD.setAttrib(e,"src",r),!0}return!1}(t,s);return t.contentAreaContainer=e.iframeContainer,t.iframeElement=s,t.iframeHTML=rD(t),nD.add(e.iframeContainer,s),u},iD=gs.DOM,aD=function(t,e,n){var r=wy.get(n),o=wy.urls[n]||t.documentBaseUrl.replace(/\/$/,"");if(n=Ee.trim(n),r&&-1===Ee.inArray(e,n)){if(Ee.each(wy.dependencies(n),(function(n){aD(t,e,n)})),t.plugins[n])return;try{var i=new r(t,o,t.$);t.plugins[n]=i,i.init&&(i.init(t,o),e.push(n))}catch(e){!function(t,e,n){var r=Ds.translate(["Failed to initialize plugin: {0}",e]);ef(t,"PluginLoadError",{message:r}),Ey(r,n),xy(t,r)}(t,n,e)}}},sD=function(t){return t.replace(/^\-/,"")},uD=function(t){return{editorContainer:t,iframeContainer:t,api:{}}},cD=function(t){var e=t.getElement();return t.inline?uD(null):function(t){var e=iD.create("div");return iD.insertAfter(e,t),uD(e)}(e)},lD=function(t){var e=t.getElement();return t.orgDisplay=e.style.display,f(bc(t))?function(t){return t.theme.renderUI()}(t):w(bc(t))?function(t){var e=t.getElement(),n=bc(t)(t,e);return n.editorContainer.nodeType&&(n.editorContainer.id=n.editorContainer.id||t.id+"_parent"),n.iframeContainer&&n.iframeContainer.nodeType&&(n.iframeContainer.id=n.iframeContainer.id||t.id+"_iframecontainer"),n.height=n.iframeHeight?n.iframeHeight:e.offsetHeight,n}(t):cD(t)},dD=function(t){t.fire("ScriptsLoaded"),function(t){var e=Ee.trim(ac(t)),n=t.ui.registry.getAll().icons,r=Lt(Lt({},ly.get("default").icons),ly.get(e).icons);ft(r,(function(e,r){wt(n,r)||t.ui.registry.addIcon(r,e)}))}(t),function(t){var e=bc(t);if(f(e)){t.settings.theme=sD(e);var n=_y.get(e);t.theme=new n(t,_y.urls[e]),t.theme.init&&t.theme.init(t,_y.urls[e]||t.documentBaseUrl.replace(/\/$/,""),t.$)}else t.theme={}}(t),function(t){var e=[];Ee.each(Cc(t).split(/[ ,]/),(function(n){aD(t,e,sD(n))}))}(t);var e=lD(t);!function(t,e){var n={show:B.from(e.show).getOr(C),hide:B.from(e.hide).getOr(C),disable:B.from(e.disable).getOr(C),isDisabled:B.from(e.isDisabled).getOr($),enable:function(){t.mode.isReadOnly()||B.from(e.enable).map(A)}};t.ui=Lt(Lt({},t.ui),n)}(t,B.from(e.api).getOr({}));var n={editorContainer:e.editorContainer,iframeContainer:e.iframeContainer};return t.editorContainer=n.editorContainer?n.editorContainer:null,Ay(t),t.inline?eD(t):function(t,e){var n=oD(t,e);e.editorContainer&&(nD.get(e.editorContainer).style.display=t.orgDisplay,t.hidden=nD.isHidden(e.editorContainer)),t.getElement().style.display="none",nD.setAttrib(t.id,"aria-hidden","true"),n||eD(t)}(t,n)},fD=gs.DOM,mD=function(t){return"-"===t.charAt(0)},pD=function(t,e){var n=mc(e),r=function(t){return t.getParam("language_url","","string")}(e);if(!1===Ds.hasCode(n)&&"en"!==n){var o=""!==r?r:e.editorManager.baseURL+"/langs/"+n+".js";t.add(o,C,void 0,(function(){!function(t,e,n){Dy(t,"LanguageLoadError",Sy("language",e,n))}(e,o,n)}))}},hD=function(t,e,n){return B.from(e).filter((function(t){return t.length>0&&!ly.has(t)})).map((function(e){return{url:t.editorManager.baseURL+"/icons/"+e+"/icons"+n+".js",name:B.some(e)}}))},gD=function(t,e,n){var r=hD(e,"default",n),o=function(t){return B.from(function(t){return t.getParam("icons_url","","string")}(t)).filter((function(t){return t.length>0})).map((function(t){return{url:t,name:B.none()}}))}(e).orThunk((function(){return hD(e,ac(e),"")}));W(function(t){for(var e=[],n=function(t){e.push(t)},r=0;r=1&&n<=7){var r=function(t){return Ee.explode(t.getParam("font_size_style_values","xx-small,x-small,small,medium,large,x-large,xx-large"))}(t),o=function(t){return Ee.explode(t.getParam("font_size_classes",""))}(t);return o?o[n-1]||e:r[n-1]||e}return e}return e},OD=function(t){var e=t.split(/\s*,\s*/);return V(e,(function(t){return-1===t.indexOf(" ")||Mt(t,'"')||Mt(t,"'")?t:"'"+t+"'"})).join(",")},LD=function(t,e){var n=function(t){if("string"!=typeof t){var e=Ee.extend({paste:t.paste,data:{paste:t.paste}},t);return{content:t.content,details:e}}return{content:t,details:{}}}(e);!function(t,e,n){Qv(t).editor.insertContent(e,n)}(t,n.content,n.details)},AD=Ee.each,$D=Ee.map,ND=Ee.inArray,PD=function(){function t(t){this.commands={state:{},exec:{},value:{}},this.editor=t,this.setupCommands(t)}return t.prototype.execCommand=function(t,e,n,r){var o,i=!1,a=this;if(!a.editor.removed){var s;if("mcefocus"!==t.toLowerCase()&&(/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(t)||r&&r.skip_focus?(s=a.editor,um(s).each((function(t){return s.selection.setRng(t)}))):a.editor.focus()),(r=a.editor.fire("BeforeExecCommand",{command:t,ui:e,value:n})).isDefaultPrevented())return!1;var u=t.toLowerCase();if(o=a.commands.exec[u])return o(u,e,n),a.editor.fire("ExecCommand",{command:t,ui:e,value:n}),!0;if(AD(this.editor.plugins,(function(r){if(r.execCommand&&r.execCommand(t,e,n))return a.editor.fire("ExecCommand",{command:t,ui:e,value:n}),i=!0,!1})),i)return i;if(a.editor.theme&&a.editor.theme.execCommand&&a.editor.theme.execCommand(t,e,n))return a.editor.fire("ExecCommand",{command:t,ui:e,value:n}),!0;try{i=a.editor.getDoc().execCommand(t,e,n)}catch(t){}return!!i&&(a.editor.fire("ExecCommand",{command:t,ui:e,value:n}),!0)}},t.prototype.queryCommandState=function(t){var e;if(!this.editor.quirks.isHidden()&&!this.editor.removed){if(t=t.toLowerCase(),e=this.commands.state[t])return e(t);try{return this.editor.getDoc().queryCommandState(t)}catch(t){}return!1}},t.prototype.queryCommandValue=function(t){var e;if(!this.editor.quirks.isHidden()&&!this.editor.removed){if(t=t.toLowerCase(),e=this.commands.value[t])return e(t);try{return this.editor.getDoc().queryCommandValue(t)}catch(t){}}},t.prototype.addCommands=function(t,e){void 0===e&&(e="exec");var n=this;AD(t,(function(t,r){AD(r.toLowerCase().split(","),(function(r){n.commands[e][r]=t}))}))},t.prototype.addCommand=function(t,e,n){var r=this;t=t.toLowerCase(),this.commands.exec[t]=function(t,o,i,a){return e.call(n||r.editor,o,i,a)}},t.prototype.queryCommandSupported=function(t){if(t=t.toLowerCase(),this.commands.exec[t])return!0;try{return this.editor.getDoc().queryCommandSupported(t)}catch(t){}return!1},t.prototype.addQueryStateHandler=function(t,e,n){var r=this;t=t.toLowerCase(),this.commands.state[t]=function(){return e.call(n||r.editor)}},t.prototype.addQueryValueHandler=function(t,e,n){var r=this;t=t.toLowerCase(),this.commands.value[t]=function(){return e.call(n||r.editor)}},t.prototype.hasCustomCommand=function(t){return t=t.toLowerCase(),!!this.commands.exec[t]},t.prototype.execNativeCommand=function(t,e,n){return void 0===e&&(e=!1),void 0===n&&(n=null),this.editor.getDoc().execCommand(t,e,n)},t.prototype.isFormatMatch=function(t){return this.editor.formatter.match(t)},t.prototype.toggleFormat=function(t,e){this.editor.formatter.toggle(t,e),this.editor.nodeChanged()},t.prototype.storeSelection=function(t){this.selectionBookmark=this.editor.selection.getBookmark(t)},t.prototype.restoreSelection=function(){this.editor.selection.moveToBookmark(this.selectionBookmark)},t.prototype.setupCommands=function(t){var e=this;this.addCommands({"mceResetDesignMode,mceBeginUndoLevel":C,"mceEndUndoLevel,mceAddUndoLevel":function(){t.undoManager.add()},mceFocus:function(e,n,r){km(t,r)},"Cut,Copy,Paste":function(n){var r,o=t.getDoc();try{e.execNativeCommand(n)}catch(t){r=!0}if("paste"!==n||o.queryCommandEnabled(n)||(r=!0),r||!o.queryCommandSupported(n)){var i=t.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");ke.mac&&(i=i.replace(/Ctrl\+/g,"⌘+")),t.notificationManager.open({text:i,type:"error"})}},unlink:function(){if(t.selection.isCollapsed()){var e=t.dom.getParent(t.selection.getStart(),"a");e&&t.dom.remove(e,!0)}else t.formatter.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone":function(n){var r=n.substring(7);"full"===r&&(r="justify"),AD("left,center,right,justify".split(","),(function(e){r!==e&&t.formatter.remove("align"+e)})),"none"!==r&&e.toggleFormat("align"+r)},"InsertUnorderedList,InsertOrderedList":function(n){var r;e.execNativeCommand(n);var o=t.dom.getParent(t.selection.getNode(),"ol,ul");o&&(r=o.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(r.nodeName)&&(e.storeSelection(),t.dom.split(r,o),e.restoreSelection()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(t){e.toggleFormat(t)},"ForeColor,HiliteColor":function(t,n,r){e.toggleFormat(t,{value:r})},FontName:function(e,n,r){!function(t,e){var n=ED(t,e);t.formatter.toggle("fontname",{value:OD(n)}),t.nodeChanged()}(t,r)},FontSize:function(e,n,r){!function(t,e){t.formatter.toggle("fontsize",{value:ED(t,e)}),t.nodeChanged()}(t,r)},LineHeight:function(e,n,r){!function(t,e){t.formatter.toggle("lineheight",{value:String(e)}),t.nodeChanged()}(t,r)},Lang:function(t,n,r){e.toggleFormat(t,{value:r.code,customValue:r.customCode})},RemoveFormat:function(e){t.formatter.remove(e)},mceBlockQuote:function(){e.toggleFormat("blockquote")},FormatBlock:function(t,n,r){return e.toggleFormat(r||"p")},mceCleanup:function(){var e=t.selection.getBookmark();t.setContent(t.getContent()),t.selection.moveToBookmark(e)},mceRemoveNode:function(n,r,o){var i=o||t.selection.getNode();i!==t.getBody()&&(e.storeSelection(),t.dom.remove(i,!0),e.restoreSelection())},mceSelectNodeDepth:function(e,n,r){var o=0;t.dom.getParent(t.selection.getNode(),(function(e){if(1===e.nodeType&&o++===r)return t.selection.select(e),!1}),t.getBody())},mceSelectNode:function(e,n,r){t.selection.select(r)},mceInsertContent:function(e,n,r){LD(t,r)},mceInsertRawHTML:function(e,n,r){t.selection.setContent("tiny_mce_marker");var o=t.getContent();t.setContent(o.replace(/tiny_mce_marker/g,(function(){return r})))},mceInsertNewLine:function(e,n,r){ux(t,r)},mceToggleFormat:function(t,n,r){e.toggleFormat(r)},mceSetContent:function(e,n,r){t.setContent(r)},"Indent,Outdent":function(e){AC(t,e)},mceRepaint:C,InsertHorizontalRule:function(){t.execCommand("mceInsertContent",!1,"
    ")},mceToggleVisualAid:function(){t.hasVisual=!t.hasVisual,t.addVisual()},mceReplaceContent:function(e,n,r){t.execCommand("mceInsertContent",!1,r.replace(/\{\$selection\}/g,t.selection.getContent({format:"text"})))},mceInsertLink:function(e,n,r){"string"==typeof r&&(r={href:r});var o=t.dom.getParent(t.selection.getNode(),"a");r.href=r.href.replace(/ /g,"%20"),o&&r.href||t.formatter.remove("link"),r.href&&t.formatter.apply("link",r,o)},selectAll:function(){var e=t.dom.getParent(t.selection.getStart(),Wn);if(e){var n=t.dom.createRng();n.selectNodeContents(e),t.selection.setRng(n)}},mceNewDocument:function(){t.setContent("")},InsertLineBreak:function(e,n,r){return Xk(t,r),!0}});var n=function(e){return function(){var n=t.selection,r=n.isCollapsed()?[t.dom.getParent(n.getNode(),t.dom.isBlock)]:n.getSelectedBlocks(),o=$D(r,(function(n){return!!t.formatter.matchNode(n,e)}));return-1!==ND(o,!0)}};e.addCommands({JustifyLeft:n("alignleft"),JustifyCenter:n("aligncenter"),JustifyRight:n("alignright"),JustifyFull:n("alignjustify"),"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(t){return e.isFormatMatch(t)},mceBlockQuote:function(){return e.isFormatMatch("blockquote")},Outdent:function(){return EC(t)},"InsertUnorderedList,InsertOrderedList":function(e){var n=t.dom.getParent(t.selection.getNode(),"ul,ol");return n&&("insertunorderedlist"===e&&"UL"===n.tagName||"insertorderedlist"===e&&"OL"===n.tagName)}},"state"),e.addCommands({Undo:function(){t.undoManager.undo()},Redo:function(){t.undoManager.redo()}}),e.addQueryValueHandler("FontName",(function(){return function(t){return TD(t,(function(e){return xD(t.getBody(),e.dom)})).getOr("")}(t)}),this),e.addQueryValueHandler("FontSize",(function(){return function(t){return TD(t,(function(e){return kD(t.getBody(),e.dom)})).getOr("")}(t)}),this),e.addQueryValueHandler("LineHeight",(function(){return function(t){return TD(t,(function(e){var n=Le.fromDom(t.getBody()),r=fg(e,(function(t){return sr(t,"line-height")}),E(Pe,n));return r.getOrThunk((function(){var t=parseFloat(ir(e,"line-height")),n=parseFloat(ir(e,"font-size"));return String(t/n)}))})).getOr("")}(t)}),this)},t}(),ID="data-mce-contenteditable",RD=function(t,e,n){var r,o;Rs(t,e)&&!1===n?(o=e,As(r=t)?r.dom.classList.remove(o):Ns(r,o),Is(r)):n&&Ps(t,e)},BD=function(t,e,n){try{t.getDoc().execCommand(e,!1,String(n))}catch(t){}},MD=function(t,e){t.dom.contentEditable=e?"true":"false"},jD=function(t,e){var n=Le.fromDom(t.getBody());RD(n,"mce-content-readonly",e),e?(t.selection.controlSelection.hideResizeRect(),t._selectionOverrides.hideFakeCaret(),function(t){B.from(t.selection.getNode()).each((function(t){t.removeAttribute("data-mce-selected")}))}(t),t.readonly=!0,MD(n,!1),W(Ms(n,'*[contenteditable="true"]'),(function(t){Qn(t,ID,"true"),MD(t,!1)}))):(t.readonly=!1,MD(n,!0),function(t){W(Ms(t,'*[data-mce-contenteditable="true"]'),(function(t){rr(t,ID),MD(t,!0)}))}(n),BD(t,"StyleWithCSS",!1),BD(t,"enableInlineTableEditing",!1),BD(t,"enableObjectResizing",!1),_m(t)&&t.focus(),function(t){t.selection.setRng(t.selection.getRng())}(t),t.nodeChanged())},zD=function(t){return t.readonly},FD=function(t){t.parser.addAttributeFilter("contenteditable",(function(e){zD(t)&&W(e,(function(t){t.attr(ID,t.attr("contenteditable")),t.attr("contenteditable","false")}))})),t.serializer.addAttributeFilter(ID,(function(e){zD(t)&&W(e,(function(t){t.attr("contenteditable",t.attr(ID))}))})),t.serializer.addTempAttr(ID)},UD=function(t,e){if(function(t){return"click"===t.type}(e)&&!of.metaKeyPressed(e)){var n=Le.fromDom(e.target);(function(t,e){return Qr(e,"a",(function(e){return Pe(e,Le.fromDom(t.getBody()))})).bind((function(t){return nr(t,"href")}))})(t,n).each((function(n){if(e.preventDefault(),/^#/.test(n)){var r=t.dom.select(n+',[name="'+((Mt(o=n,i="#")?function(t,e){return t.substring(e)}(o,i.length):o)+'"]'));r.length&&t.selection.scrollIntoView(r[0],!0)}else window.open(n,"_blank","rel=noopener noreferrer,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,scrollbars=yes");var o,i}))}},HD=Ee.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," "),VD=function(){function t(t){this.bindings={},this.settings=t||{},this.scope=this.settings.scope||this,this.toggleEvent=this.settings.toggleEvent||$}return t.isNative=function(t){return!!HD[t.toLowerCase()]},t.prototype.fire=function(t,e){var n=t.toLowerCase(),r=Pi(n,e||{},this.scope);this.settings.beforeFire&&this.settings.beforeFire(r);var o=this.bindings[n];if(o)for(var i=0,a=o.length;i"),iS);return o[o.length-1]=Ee.extend(o[o.length-1],{func:n,scope:r||this.editor}),Ee.extend(o[0],{desc:this.editor.translate(e),subpatterns:o.slice(1)})},t.prototype.hasModifier=function(t){return t.altKey||t.ctrlKey||t.metaKey},t.prototype.isFunctionKey=function(t){return"keydown"===t.type&&t.keyCode>=112&&t.keyCode<=123},t.prototype.matchShortcut=function(t,e){return!!e&&(e.ctrl===t.ctrlKey&&e.meta===t.metaKey&&(e.alt===t.altKey&&e.shift===t.shiftKey&&(!!(t.keyCode===e.keyCode||t.charCode&&t.charCode===e.charCode)&&(t.preventDefault(),!0))))},t.prototype.executeShortcutAction=function(t){return t.func?t.func.call(t.scope):null},t}(),sS=function(){var t=function(){var t={},e={},n={},r={},o={},i={},a={},s=function(t,e){return function(n,r){return t[n.toLowerCase()]=Lt(Lt({},r),{type:e})}};return{addButton:s(t,"button"),addGroupToolbarButton:s(t,"grouptoolbarbutton"),addToggleButton:s(t,"togglebutton"),addMenuButton:s(t,"menubutton"),addSplitButton:s(t,"splitbutton"),addMenuItem:s(e,"menuitem"),addNestedMenuItem:s(e,"nestedmenuitem"),addToggleMenuItem:s(e,"togglemenuitem"),addAutocompleter:s(n,"autocompleter"),addContextMenu:s(o,"contextmenu"),addContextToolbar:s(i,"contexttoolbar"),addContextForm:s(i,"contextform"),addSidebar:s(a,"sidebar"),addIcon:function(t,e){return r[t.toLowerCase()]=e},getAll:function(){return{buttons:t,menuItems:e,icons:r,popups:n,contextMenus:o,contextToolbars:i,sidebars:a}}}}();return{addAutocompleter:t.addAutocompleter,addButton:t.addButton,addContextForm:t.addContextForm,addContextMenu:t.addContextMenu,addContextToolbar:t.addContextToolbar,addIcon:t.addIcon,addMenuButton:t.addMenuButton,addMenuItem:t.addMenuItem,addNestedMenuItem:t.addNestedMenuItem,addSidebar:t.addSidebar,addSplitButton:t.addSplitButton,addToggleButton:t.addToggleButton,addGroupToolbarButton:t.addGroupToolbarButton,addToggleMenuItem:t.addToggleMenuItem,getAll:t.getAll}},uS=gs.DOM,cS=Ee.extend,lS=Ee.each,dS=Ee.resolve,fS=ke.ie,mS=function(){function t(t,e,n){var r=this;this.plugins={},this.contentCSS=[],this.contentStyles=[],this.loadedCSS={},this.isNotDirty=!1,this.editorManager=n,this.documentBaseUrl=n.documentBaseURL,cS(this,GD),this.settings=sy(this,t,this.documentBaseUrl,n.defaultSettings,e),this.settings.suffix&&(n.suffix=this.settings.suffix),this.suffix=n.suffix,this.settings.base_url&&n._setBaseUrl(this.settings.base_url),this.baseUri=n.baseURI,this.settings.referrer_policy&&(ws.ScriptLoader._setReferrerPolicy(this.settings.referrer_policy),gs.DOM.styleSheetLoader._setReferrerPolicy(this.settings.referrer_policy)),Ss.languageLoad=this.settings.language_load,Ss.baseURL=n.baseURL,this.id=t,this.setDirty(!1),this.documentBaseURI=new Fm(this.settings.document_base_url,{base_uri:this.baseUri}),this.baseURI=this.baseUri,this.inline=!!this.settings.inline,this.shortcuts=new aS(this),this.editorCommands=new PD(this),this.settings.cache_suffix&&(ke.cacheSuffix=this.settings.cache_suffix.replace(/^[\?\&]+/,"")),this.ui={registry:sS(),styleSheetLoader:void 0,show:C,hide:C,enable:C,disable:C,isDisabled:$};var o=tS(this);this.mode=o,this.setMode=o.set,n.fire("SetupEditor",{editor:this}),this.execCallback("setup",this),this.$=cs.overrideDefaults((function(){return{context:r.inline?r.getBody():r.getDoc(),element:r.getBody()}}))}return t.prototype.render=function(){bD(this)},t.prototype.focus=function(t){this.execCommand("mceFocus",!1,t)},t.prototype.hasFocus=function(){return wm(this)},t.prototype.execCallback=function(t){for(var e=[],n=1;n0?_S[0]:null),SS.focusedEditor===t&&(SS.focusedEditor=null),e.length!==_S.length},DS="CSS1Compat"!==document.compatMode,SS=Lt(Lt({},qD),{baseURI:null,baseURL:null,defaultSettings:{},documentBaseURL:null,suffix:null,$:cs,majorVersion:"5",minorVersion:"10.3",releaseDate:"2022-02-09",editors:wS,i18n:Ds,activeEditor:null,focusedEditor:null,settings:{},setup:function(){var t,e,n=this,r="";e=Fm.getDocumentBaseUrl(document.location),/^[^:]+:\/\/\/?[^\/]+\//.test(e)&&(e=e.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(e)||(e+="/"));var o,i=window.tinymce||window.tinyMCEPreInit;if(i)t=i.base||i.baseURL,r=i.suffix;else{for(var a=document.getElementsByTagName("script"),s=0;s0&&gS(hS(n),(function(t){var n=pS.get(t);n?e.push(n):gS(document.forms,(function(n){gS(n.elements,(function(n){n.name===t&&(t="mce_editor_"+bS++,pS.setAttrib(n,"id",t),e.push(n))}))}))}));break;case"textareas":case"specific_textareas":gS(pS.select("textarea"),(function(n){t.editor_deselector&&i(n,t.editor_deselector)||t.editor_selector&&!i(n,t.editor_selector)||e.push(n)}))}return e}(t)),t.types?gS(t.types,(function(n){Ee.each(e,(function(e){return!pS.is(e,n.selector)||(l(o(e),vS({},t,n),e),!1)}))})):(Ee.each(e,(function(t){var e;(e=n.get(t.id))&&e.initialized&&!(e.getContainer()||e.getBody()).parentNode&&(xS(e),e.unbindAllNativeEvents(),e.destroy(!0),e.removed=!0,e=null)})),0===(e=Ee.grep(e,(function(t){return!n.get(t.id)}))).length?a([]):gS(e,(function(e){!function(t,e){return t.inline&&e.tagName.toLowerCase()in r}(t,e)?l(o(e),t,e):Ey("Could not initialize inline editor on invalid inline target element",e)})))};return n.settings=t,pS.bind(window,"ready",s),new to((function(t){e?t(e):a=function(e){t(e)}}))},get:function(t){return 0===arguments.length?_S.slice(0):f(t)?J(_S,(function(e){return e.id===t})).getOr(null):_(t)&&_S[t]?_S[t]:null},add:function(t){var e=this;return wS[t.id]===t||(null===e.get(t.id)&&("length"!==t.id&&(wS[t.id]=t),wS.push(t),_S.push(t)),kS(!0),e.activeEditor=t,e.fire("AddEditor",{editor:t}),j_||(j_=function(t){var n=e.fire("BeforeUnload");if(n.returnValue)return t.preventDefault(),t.returnValue=n.returnValue,n.returnValue},window.addEventListener("beforeunload",j_))),t},createEditor:function(t,e){return this.add(new mS(t,e,this))},remove:function(t){var e,n,r=this;if(t){if(!f(t))return n=t,h(r.get(n.id))?null:(xS(n)&&r.fire("RemoveEditor",{editor:n}),0===_S.length&&window.removeEventListener("beforeunload",j_),n.remove(),kS(_S.length>0),n);gS(pS.select(t),(function(t){(n=r.get(t.id))&&r.remove(n)}))}else for(e=_S.length-1;e>=0;e--)r.remove(_S[e])},execCommand:function(t,e,n){var r=this,o=r.get(n);switch(t){case"mceAddEditor":return r.get(n)||new mS(n,r.settings,r).render(),!0;case"mceRemoveEditor":return o&&o.remove(),!0;case"mceToggleEditor":return o?(o.isHidden()?o.show():o.hide(),!0):(r.execCommand("mceAddEditor",!1,n),!0)}return!!r.activeEditor&&r.activeEditor.execCommand(t,e,n)},triggerSave:function(){gS(_S,(function(t){t.save()}))},addI18n:function(t,e){Ds.add(t,e)},translate:function(t){return Ds.translate(t)},setActive:function(t){var e=this.activeEditor;this.activeEditor!==t&&(e&&e.fire("deactivate",{relatedTarget:t}),t.fire("activate",{relatedTarget:e})),this.activeEditor=t},_setBaseUrl:function(t){this.baseURL=new Fm(this.documentBaseURL).toAbsolute(t.replace(/\/+$/,"")),this.baseURI=new Fm(this.baseURL)}});SS.setup();var TS,ES,OS,LS,AS=Math.min,$S=Math.max,NS=Math.round,PS=function(t,e,n){var r=e.x,o=e.y,i=t.w,a=t.h,s=e.w,u=e.h,c=(n||"").split("");return"b"===c[0]&&(o+=u),"r"===c[1]&&(r+=s),"c"===c[0]&&(o+=NS(u/2)),"c"===c[1]&&(r+=NS(s/2)),"b"===c[3]&&(o-=a),"r"===c[4]&&(r-=i),"c"===c[3]&&(o-=NS(a/2)),"c"===c[4]&&(r-=NS(i/2)),IS(r,o,i,a)},IS=function(t,e,n,r){return{x:t,y:e,w:n,h:r}},RS={inflate:function(t,e,n){return IS(t.x-e,t.y-n,t.w+2*e,t.h+2*n)},relativePosition:PS,findBestRelativePosition:function(t,e,n,r){var o,i;for(i=0;i=n.x&&o.x+o.w<=n.w+n.x&&o.y>=n.y&&o.y+o.h<=n.h+n.y)return r[i];return null},intersect:function(t,e){var n=$S(t.x,e.x),r=$S(t.y,e.y),o=AS(t.x+t.w,e.x+e.w),i=AS(t.y+t.h,e.y+e.h);return o-n<0||i-r<0?null:IS(n,r,o-n,i-r)},clamp:function(t,e,n){var r=t.x,o=t.y,i=t.x+t.w,a=t.y+t.h,s=e.x+e.w,u=e.y+e.h,c=$S(0,e.x-r),l=$S(0,e.y-o),d=$S(0,i-s),f=$S(0,a-u);return r+=c,o+=l,n&&(i+=c,a+=l,r-=d,o-=f),IS(r,o,(i-=d)-r,(a-=f)-o)},create:IS,fromClientRect:function(t){return IS(t.left,t.top,t.width,t.height)}},BS=(TS={},ES={},{load:function(t,e){var n='Script at URL "'+e+'" failed to load',r='Script at URL "'+e+"\" did not call `tinymce.Resource.add('"+t+"', data)` within 1 second";if(void 0!==TS[t])return TS[t];var o=new to((function(o,i){var a=function(t,e,n){void 0===n&&(n=1e3);var r=!1,o=null,i=function(t){return function(){for(var e=[],n=0;n1e4?(t.success&&n<1e4&&200===e.status?t.success.call(t.success_scope,""+e.responseText,e,t):t.error&&t.error.call(t.error_scope,n>1e4?"TIMED_OUT":"GENERAL",e,t),e=null):oo.setTimeout(r,10)};if(t.scope=t.scope||this,t.success_scope=t.success_scope||t.scope,t.error_scope=t.error_scope||t.scope,t.async=!1!==t.async,t.data=t.data||"",KS.fire("beforeInitialize",{settings:t}),(e=new XMLHttpRequest).overrideMimeType&&e.overrideMimeType(t.content_type),e.open(t.type||(t.data?"POST":"GET"),t.url,t.async),t.crossDomain&&(e.withCredentials=!0),t.content_type&&e.setRequestHeader("Content-Type",t.content_type),t.requestheaders&&Ee.each(t.requestheaders,(function(t){e.setRequestHeader(t.key,t.value)})),e.setRequestHeader("X-Requested-With","XMLHttpRequest"),(e=KS.fire("beforeSend",{xhr:e,settings:t}).xhr).send(t.data),!t.async)return r();oo.setTimeout(r,10)}}),YS=Ee.extend,XS=function(){function t(t){this.settings=YS({},t),this.count=0}return t.sendRPC=function(e){return(new t).send(e)},t.prototype.send=function(t){var e=t.error,n=t.success,r=YS(this.settings,t);r.success=function(t,o){void 0===(t=WS.parse(t))&&(t={error:"JSON Parse error."}),t.error?e.call(r.error_scope||r.scope,t.error,o):n.call(r.success_scope||r.scope,t.result)},r.error=function(t,n){e&&e.call(r.error_scope||r.scope,t,n)},r.data=WS.serialize({id:t.id||"c"+this.count++,method:t.method,params:t.params}),r.content_type="application/json",KS.send(r)},t}();try{var ZS="__storage_test__";(FS=window.localStorage).setItem(ZS,ZS),FS.removeItem(ZS)}catch(t){FS=function(){var t={},e=[],n={getItem:function(e){return t[e]||null},setItem:function(n,r){e.push(n),t[n]=String(r)},key:function(t){return e[t]},removeItem:function(n){e=e.filter((function(t){return t===n})),delete t[n]},clear:function(){e=[],t={}},length:0};return Object.defineProperty(n,"length",{get:function(){return e.length},configurable:!1,enumerable:!1}),n}()}var GS={geom:{Rect:RS},util:{Promise:to,Delay:oo,Tools:Ee,VK:of,URI:Fm,Class:zS,EventDispatcher:VD,Observable:qD,I18n:Ds,XHR:KS,JSON:WS,JSONRequest:XS,JSONP:qS,LocalStorage:FS,Color:function(t){var e={},n=0,r=0,o=0,i=function(t){var i;return"object"==typeof t?"r"in t?(n=t.r,r=t.g,o=t.b):"v"in t&&function(t,e,i){if(t=(parseInt(t,10)||0)%360,e=parseInt(e,10)/100,i=parseInt(i,10)/100,e=HS(0,US(e,1)),i=HS(0,US(i,1)),0!==e){var a=t/60,s=i*e,u=s*(1-Math.abs(a%2-1)),c=i-s;switch(Math.floor(a)){case 0:n=s,r=u,o=0;break;case 1:n=u,r=s,o=0;break;case 2:n=0,r=s,o=u;break;case 3:n=0,r=u,o=s;break;case 4:n=u,r=0,o=s;break;case 5:n=s,r=0,o=u;break;default:n=r=o=0}n=VS(255*(n+c)),r=VS(255*(r+c)),o=VS(255*(o+c))}else n=r=o=VS(255*i)}(t.h,t.s,t.v):(i=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(t))?(n=parseInt(i[1],10),r=parseInt(i[2],10),o=parseInt(i[3],10)):(i=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(t))?(n=parseInt(i[1],16),r=parseInt(i[2],16),o=parseInt(i[3],16)):(i=/#([0-F])([0-F])([0-F])/gi.exec(t))&&(n=parseInt(i[1]+i[1],16),r=parseInt(i[2]+i[2],16),o=parseInt(i[3]+i[3],16)),n=n<0?0:n>255?255:n,r=r<0?0:r>255?255:r,o=o<0?0:o>255?255:o,e};return t&&i(t),e.toRgb=function(){return{r:n,g:r,b:o}},e.toHsv=function(){return function(t,e,n){var r,o;o=0;var i=US(t/=255,US(e/=255,n/=255)),a=HS(t,HS(e,n));return i===a?{h:0,s:0,v:100*(o=i)}:(r=(a-i)/a,o=a,{h:VS(60*((t===i?3:n===i?1:5)-(t===i?e-n:n===i?t-e:n-t)/(a-i))),s:VS(100*r),v:VS(100*o)})}(n,r,o)},e.toHex=function(){var t=function(t){return(t=parseInt(t,10).toString(16)).length>1?t:"0"+t};return"#"+t(n)+t(r)+t(o)},e.parse=i,e},ImageUploader:function(t){var e=$y(),n=By(t,e);return{upload:function(e,r){return void 0===r&&(r=!0),n.upload(e,r?Ry(t):void 0)}}}},dom:{EventUtils:zi,Sizzle:ka,DomQuery:cs,TreeWalker:so,TextSeeker:Qs,DOMUtils:gs,ScriptLoader:ws,RangeUtils:Cf,Serializer:Nb,StyleSheetLoader:io,ControlSelection:sf,BookmarkManager:Jd,Selection:lb,Event:zi.Event},html:{Styles:Ai,Entities:yi,Node:Nm,Schema:Oi,SaxParser:qm,DomParser:Eb,Writer:Qm,Serializer:tp},Env:ke,AddOnManager:Ss,Annotator:Gd,Formatter:Wy,UndoManager:Ky,EditorCommands:PD,WindowManager:Cy,NotificationManager:yy,EditorObservable:GD,Shortcuts:aS,Editor:mS,FocusManager:cm,EditorManager:SS,DOM:gs.DOM,ScriptLoader:ws.ScriptLoader,PluginManager:wy,ThemeManager:_y,IconManager:ly,Resource:BS,trim:Ee.trim,isArray:Ee.isArray,is:Ee.is,toArray:Ee.toArray,makeMap:Ee.makeMap,each:Ee.each,map:Ee.map,grep:Ee.grep,inArray:Ee.inArray,extend:Ee.extend,create:Ee.create,walk:Ee.walk,createNS:Ee.createNS,resolve:Ee.resolve,explode:Ee.explode,_addCacheSuffix:Ee._addCacheSuffix,isOpera:ke.opera,isWebKit:ke.webkit,isIE:ke.ie,isGecko:ke.gecko,isMac:ke.mac},JS=Ee.extend(SS,GS);!function(t){window.tinymce=t,window.tinyMCE=t}(JS),function(e){try{t.exports=e}catch(t){}}(JS)}()},30264:(t,e,n)=>{"use strict";n.d(e,{Z:()=>p});const r=n(70538).default.prototype.$isServer;function o(t,e){for(let n=0;n`${t}:${r.getPropertyValue(t)}`)).join(";"),paddingSize:i,borderSize:s,boxSizing:o};return e&&n&&(u[n]=c),c}(t,r);s.setAttribute("style",`${l};\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n`),s.value=t.value||t.placeholder||"";let d,f=Number.MIN_SAFE_INTEGER,m=Number.MAX_SAFE_INTEGER,p=s.scrollHeight;if("border-box"===c?p+=i:"content-box"===c&&(p-=o),null!==e||null!==n){s.value=" ";let t=s.scrollHeight-o;null!==e&&(f=t*e,"border-box"===c&&(f=f+o+i),p=Math.max(f,p)),null!==n&&(m=t*n,"border-box"===c&&(m=m+o+i),d=p>m?"":"hidden",p=Math.min(m,p))}return n||(d="hidden"),{height:`${p}px`,minHeight:`${f}px`,maxHeight:`${m}px`,overflowY:d}}function l(t,e,n){this.$children.forEach((r=>{r.$options.name===t?r.$emit.apply(r,[e].concat(n)):l.apply(r,[t,e].concat([n]))}))}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f="ivu-input";const m={name:"DragInput",mixins:[{methods:{dispatch(t,e,n){let r=this.$parent||this.$root,o=r.$options.name;for(;r&&(!o||o!==t);)r=r.$parent,r&&(o=r.$options.name);r&&r.$emit.apply(r,[e].concat(n))},broadcast(t,e,n){l.call(this,t,e,n)}}},{inject:{FormInstance:{default:""}},computed:{itemDisabled(){let t=this.disabled;return!t&&this.FormInstance&&(t=this.FormInstance.disabled),t}}}],props:{type:{validator:function(t){return o(t,["text","textarea","password","url","email","date","number","tel"])},default:"text"},value:{type:[String,Number],default:""},size:{validator:function(t){return o(t,["small","large","default"])},default:function(){return this.$IVIEW&&""!==this.$IVIEW.size?this.$IVIEW.size:"default"}},placeholder:{type:String,default:""},maxlength:{type:[String,Number]},disabled:{type:Boolean,default:!1},icon:String,autosize:{type:[Boolean,Object],default:!1},rows:{type:Number,default:2},readonly:{type:Boolean,default:!1},name:{type:String},number:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},spellcheck:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},clearable:{type:Boolean,default:!1},elementId:{type:String},wrap:{validator:function(t){return o(t,["hard","soft"])},default:"soft"},prefix:{type:String,default:""},suffix:{type:String,default:""},search:{type:Boolean,default:!1},enterButton:{type:[Boolean,String],default:!1},showWordLimit:{type:Boolean,default:!1},password:{type:Boolean,default:!1}},data:function(){return{currentValue:this.value,prefixCls:f,slotReady:!1,textareaStyles:{},isOnComposition:!1,showPassword:!1}},computed:{currentType:function(){var t=this.type;return"password"===t&&this.password&&this.showPassword&&(t="text"),t},prepend:function(){var t=!1;return"textarea"!==this.type&&(t=void 0!==this.$slots.prepend),t},append:function(){var t=!1;return"textarea"!==this.type&&(t=void 0!==this.$slots.append),t},showPrefix:function(){var t=!1;return"textarea"!==this.type&&(t=""!==this.prefix||void 0!==this.$slots.prefix),t},showSuffix:function(){var t=!1;return"textarea"!==this.type&&(t=""!==this.suffix||void 0!==this.$slots.suffix),t},wrapClasses:function(){var t;return["".concat(f,"-wrapper"),(t={},d(t,"".concat(f,"-wrapper-").concat(this.size),!!this.size),d(t,"".concat(f,"-type-").concat(this.type),this.type),d(t,"".concat(f,"-group"),this.prepend||this.append||this.search&&this.enterButton),d(t,"".concat(f,"-group-").concat(this.size),(this.prepend||this.append||this.search&&this.enterButton)&&!!this.size),d(t,"".concat(f,"-group-with-prepend"),this.prepend),d(t,"".concat(f,"-group-with-append"),this.append||this.search&&this.enterButton),d(t,"".concat(f,"-hide-icon"),this.append),d(t,"".concat(f,"-with-search"),this.search&&this.enterButton),t)]},inputClasses:function(){var t;return["".concat(f),(t={},d(t,"".concat(f,"-").concat(this.size),!!this.size),d(t,"".concat(f,"-disabled"),this.itemDisabled),d(t,"".concat(f,"-with-prefix"),this.showPrefix),d(t,"".concat(f,"-with-suffix"),this.showSuffix||this.search&&!1===this.enterButton),t)]},textareaClasses:function(){return["".concat(f),d({},"".concat(f,"-disabled"),this.itemDisabled)]},upperLimit:function(){return this.maxlength},textLength:function(){return"number"==typeof this.value?String(this.value).length:(this.value||"").length}},methods:{handleEnter:function(t){this.$emit("on-enter",t),this.search&&this.$emit("on-search",this.currentValue)},handleKeydown:function(t){this.$emit("on-keydown",t)},handleKeypress:function(t){this.$emit("on-keypress",t)},handleKeyup:function(t){this.$emit("on-keyup",t)},handleIconClick:function(t){this.$emit("on-click",t)},handleFocus:function(t){this.$emit("on-focus",t)},handleBlur:function(t){this.$emit("on-blur",t),i(this,["DatePicker","TimePicker","Cascader","Search"])||this.dispatch("FormItem","on-form-blur",this.currentValue)},handleComposition:function(t){"compositionstart"===t.type&&(this.isOnComposition=!0),"compositionend"===t.type&&(this.isOnComposition=!1,this.handleInput(t))},handleInput:function(t){if(!this.isOnComposition){var e=t.target.value;this.number&&""!==e&&(e=Number.isNaN(Number(e))?e:Number(e)),this.$emit("input",e),this.setCurrentValue(e),this.$emit("on-change",t)}},handleChange:function(t){this.$emit("on-input-change",t)},handlePaste:function(t){this.$emit("on-input-paste",t)},setCurrentValue:function(t){var e=this;t!==this.currentValue&&(this.$nextTick((function(){e.resizeTextarea()})),this.currentValue=t,i(this,["DatePicker","TimePicker","Cascader","Search"])||this.dispatch("FormItem","on-form-change",t))},resizeTextarea:function(){var t=this.autosize;if(!t||"textarea"!==this.type)return!1;var e=t.minRows,n=t.maxRows;this.textareaStyles=c(this.$refs.textarea,e,n)},focus:function(){"textarea"===this.type?this.$refs.textarea.focus():this.$refs.input.focus()},blur:function(){"textarea"===this.type?this.$refs.textarea.blur():this.$refs.input.blur()},handleClear:function(){this.$emit("input",""),this.setCurrentValue(""),this.$emit("on-change",{target:{value:""}}),this.$emit("on-clear")},handleSearch:function(){if(this.itemDisabled)return!1;this.$refs.input.focus(),this.$emit("on-search",this.currentValue)},handleToggleShowPassword:function(){var t=this;if(this.itemDisabled)return!1;this.showPassword=!this.showPassword,this.focus();var e=this.currentValue.length;setTimeout((function(){t.$refs.input.setSelectionRange(e,e)}),0)}},watch:{value:function(t){this.setCurrentValue(t)}},mounted:function(){this.slotReady=!0,this.resizeTextarea()}};const p=(0,n(51900).Z)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.wrapClasses},["textarea"!==t.type?[t.prepend?n("div",{directives:[{name:"show",rawName:"v-show",value:t.slotReady,expression:"slotReady"}],class:[t.prefixCls+"-group-prepend"]},[t._t("prepend")],2):t._e(),t._v(" "),t.clearable&&t.currentValue&&!t.itemDisabled?n("i",{staticClass:"ivu-icon",class:["ivu-icon-ios-close-circle",t.prefixCls+"-icon",t.prefixCls+"-icon-clear",t.prefixCls+"-icon-normal"],on:{click:t.handleClear}}):t.icon?n("i",{staticClass:"ivu-icon",class:["ivu-icon-"+t.icon,t.prefixCls+"-icon",t.prefixCls+"-icon-normal"],on:{click:t.handleIconClick}}):t.search&&!1===t.enterButton?n("i",{staticClass:"ivu-icon ivu-icon-ios-search",class:[t.prefixCls+"-icon",t.prefixCls+"-icon-normal",t.prefixCls+"-search-icon"],on:{click:t.handleSearch}}):t.showSuffix?n("span",{staticClass:"ivu-input-suffix"},[t._t("suffix",(function(){return[t.suffix?n("i",{staticClass:"ivu-icon",class:["ivu-icon-"+t.suffix]}):t._e()]}))],2):t.showWordLimit?n("span",{staticClass:"ivu-input-word-count"},[t._v(t._s(t.textLength)+"/"+t._s(t.upperLimit))]):t.password?n("span",{staticClass:"ivu-input-suffix",on:{click:t.handleToggleShowPassword}},[t.showPassword?n("i",{staticClass:"ivu-icon ivu-icon-ios-eye-off-outline"}):n("i",{staticClass:"ivu-icon ivu-icon-ios-eye-outline"})]):t._e(),t._v(" "),n("transition",{attrs:{name:"fade"}},[t.icon?t._e():n("i",{staticClass:"ivu-icon ivu-icon-ios-loading ivu-load-loop",class:[t.prefixCls+"-icon",t.prefixCls+"-icon-validate"]})]),t._v(" "),n("input",{ref:"input",class:t.inputClasses,attrs:{id:t.elementId,autocomplete:t.autocomplete,spellcheck:t.spellcheck,type:t.currentType,placeholder:t.placeholder,disabled:t.itemDisabled,maxlength:t.maxlength,readonly:t.readonly,name:t.name,number:t.number,autofocus:t.autofocus},domProps:{value:t.currentValue},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleEnter.apply(null,arguments)},t.handleKeyup],keypress:t.handleKeypress,keydown:t.handleKeydown,focus:t.handleFocus,blur:t.handleBlur,compositionstart:t.handleComposition,compositionupdate:t.handleComposition,compositionend:t.handleComposition,input:t.handleInput,change:t.handleChange,paste:t.handlePaste}}),t._v(" "),t.append?n("div",{directives:[{name:"show",rawName:"v-show",value:t.slotReady,expression:"slotReady"}],class:[t.prefixCls+"-group-append"]},[t._t("append")],2):t.search&&t.enterButton?n("div",{class:[t.prefixCls+"-group-append",t.prefixCls+"-search"],on:{click:t.handleSearch}},[!0===t.enterButton?n("i",{staticClass:"ivu-icon ivu-icon-ios-search"}):[t._v(t._s(t.enterButton))]],2):t.showPrefix?n("span",{staticClass:"ivu-input-prefix"},[t._t("prefix",(function(){return[t.prefix?n("i",{staticClass:"ivu-icon",class:["ivu-icon-"+t.prefix]}):t._e()]}))],2):t._e()]:[n("textarea",{ref:"textarea",class:t.textareaClasses,style:t.textareaStyles,attrs:{id:t.elementId,wrap:t.wrap,autocomplete:t.autocomplete,spellcheck:t.spellcheck,placeholder:t.placeholder,disabled:t.itemDisabled,rows:t.rows,maxlength:t.maxlength,readonly:t.readonly,name:t.name,autofocus:t.autofocus},domProps:{value:t.currentValue},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleEnter.apply(null,arguments)},t.handleKeyup],keypress:t.handleKeypress,keydown:t.handleKeydown,focus:t.handleFocus,blur:t.handleBlur,compositionstart:t.handleComposition,compositionupdate:t.handleComposition,compositionend:t.handleComposition,input:t.handleInput,paste:t.handlePaste}}),t._v(" "),t.showWordLimit?n("span",{staticClass:"ivu-input-word-count"},[t._v(t._s(t.textLength)+"/"+t._s(t.upperLimit))]):t._e()]],2)}),[],!1,null,null,null).exports},70631:(t,e,n)=>{"use strict";n.d(e,{Z:()=>v});const r={name:"ResizeLine",props:{value:{},min:{type:Number,default:100},max:{type:Number,default:600},placement:{validator:function(t){return["right","bottom"].includes(t)},default:"bottom"},reverse:{type:Boolean,default:!1}},data:function(){return{resizing:!1,mouseX:0,mouseY:0,offset:{},tmpSize:void 0}},mounted:function(){document.documentElement.addEventListener("mousemove",this.handleMove,!0),document.documentElement.addEventListener("mouseup",this.handleUp,!0)},methods:{resizeDown:function(t){this.mouseX=t.pageX||t.clientX+document.documentElement.scrollLeft,this.mouseY=t.pageY||t.clientY+document.documentElement.scrollTop,this.offset={left:t.target.offsetLeft,top:t.target.offsetTop},this.resizing=!0,"number"==typeof this.value&&(this.tmpSize=this.value),this.$emit("on-change",{event:"down"})},handleMove:function(t){if(this.resizing){var e,n=(t.pageX||t.clientX+document.documentElement.scrollLeft)-this.mouseX,r=(t.pageY||t.clientY+document.documentElement.scrollTop)-this.mouseY;if("number"==typeof this.tmpSize)e="bottom"==this.placement?this.reverse?this.tmpSize-r:this.tmpSize+r:this.reverse?this.tmpSize-n:this.tmpSize+n,this.min>0&&(e=Math.max(this.min,e)),this.max>0&&(e=Math.min(this.max,e)),this.$emit("input",e);this.$emit("on-change",{event:"move",diff:{x:n,y:r},offset:this.offset})}},handleUp:function(){this.resizing=!1,this.tmpSize=void 0,this.$emit("on-change",{event:"up"})}}};var o=n(93379),i=n.n(o),a=n(26167),s={insert:"head",singleton:!1};i()(a.Z,s);a.Z.locals;var u=n(51900);const c=(0,u.Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"component-resize-line",class:[t.resizing?"resizing":"",t.placement],on:{mousedown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:(e.stopPropagation(),e.preventDefault(),t.resizeDown.apply(null,arguments))}}})}),[],!1,null,"eaab078e",null).exports;function l(t){return void 0===t&&(t=document.body),!0===t?document.body:t instanceof window.Node?t:document.querySelector(t)}const d={inserted:function(t,e,n){var r=e.value;if(t.dataset&&"true"!==t.dataset.transfer)return!1;t.className=t.className?t.className+" v-transfer-dom":"v-transfer-dom";var o=t.parentNode;if(o){var i=document.createComment(""),a=!1;!1!==r&&(o.replaceChild(i,t),l(r).appendChild(t),a=!0),t.__transferDomData||(t.__transferDomData={parentNode:o,home:i,target:l(r),hasMovedOut:a})}},componentUpdated:function(t,e){var n=e.value;if(t.dataset&&"true"!==t.dataset.transfer)return!1;var r=t.__transferDomData;if(r){var o=r.parentNode,i=r.home,a=r.hasMovedOut;!a&&n?(o.replaceChild(i,t),l(n).appendChild(t),t.__transferDomData=Object.assign({},t.__transferDomData,{hasMovedOut:!0,target:l(n)})):a&&!1===n?(o.replaceChild(t,i),t.__transferDomData=Object.assign({},t.__transferDomData,{hasMovedOut:!1,target:l(n)})):n&&l(n).appendChild(t)}},unbind:function(t){if(t.dataset&&"true"!==t.dataset.transfer)return!1;t.className=t.className.replace("v-transfer-dom",""),t.__transferDomData&&(!0===t.__transferDomData.hasMovedOut&&t.__transferDomData.parentNode&&t.__transferDomData.parentNode.appendChild(t),t.__transferDomData=null)}};var f=n(20629);function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e-1&&this.$store.state.cacheDrawerOverlay.splice(n,1)}t?this.zIndex=this.$store.state.cacheDrawerIndex++:0===this.$store.state.cacheDrawerOverlay.length&&(this.$store.state.cacheDrawerIndex=0)},size:{handler:function(t){this.dynamicSize=parseInt(t)},immediate:!0}},methods:{mask:function(){this.maskClosable&&this.close()},close:function(){if(!this.beforeClose)return this.handleClose();var t=this.beforeClose();t&&t.then?t.then(this.handleClose):this.handleClose()},handleClose:function(){this.$emit("input",!1)},escClose:function(t){if(this.value&&this.escClosable&&27===t.keyCode){if(this.$Modal.visibles().length>0)return;var e=this.$store.state.cacheDrawerOverlay;if(e.length>0)e[e.length-1].close()}}}};const v=(0,u.Z)(g,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"transfer-dom",rawName:"v-transfer-dom"}],class:["drawer-overlay",t.placement,t.value?"overlay-visible":"overlay-hide"],style:t.overlayStyle,attrs:{"data-transfer":t.transfer}},[n("div",{staticClass:"overlay-mask",on:{click:t.mask}}),t._v(" "),n("div",{staticClass:"overlay-body",style:t.bodyStyle},[n("div",{staticClass:"overlay-close"},[n("a",{attrs:{href:"javascript:void(0)"},on:{click:function(e){return e.stopPropagation(),t.close.apply(null,arguments)}}},[n("svg",{staticClass:"icon fill-current",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 26",fill:"none",role:"img"}},[n("path",{attrs:{d:"M8.28596 6.51819C7.7978 6.03003 7.00634 6.03003 6.51819 6.51819C6.03003 7.00634 6.03003 7.7978 6.51819 8.28596L11.2322 13L6.51819 17.714C6.03003 18.2022 6.03003 18.9937 6.51819 19.4818C7.00634 19.97 7.7978 19.97 8.28596 19.4818L13 14.7678L17.714 19.4818C18.2022 19.97 18.9937 19.97 19.4818 19.4818C19.97 18.9937 19.97 18.2022 19.4818 17.714L14.7678 13L19.4818 8.28596C19.97 7.7978 19.97 7.00634 19.4818 6.51819C18.9937 6.03003 18.2022 6.03003 17.714 6.51819L13 11.2322L8.28596 6.51819Z",fill:"currentColor"}})])])]),t._v(" "),t.resize?n("ResizeLine",{staticClass:"overlay-resize",attrs:{placement:t.placement,min:t.minSize,max:0,reverse:""},model:{value:t.dynamicSize,callback:function(e){t.dynamicSize=e},expression:"dynamicSize"}}):t._e(),t._v(" "),n("div",{staticClass:"overlay-content"},[t._t("default")],2)],1)])}),[],!1,null,null,null).exports},2749:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(20629);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e1,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:function(){var t=this;this.uploadList=this.$refs.upload.fileList,this.$emit("input",this.uploadList);var e=$A(this.$refs.browselistbox);e.scroll((function(){var n=e[0].scrollHeight;if(e[0].scrollTop+e.height()>=n&&t.browseListNext.length>0){var r=t.browseListNext;t.browseListNext=[],t.browsePictureFor(r)}}))},watch:{value:function(t){"string"!=typeof t?t!==this.$refs.upload.fileList&&(this.$refs.upload.fileList=this.initItems(t),this.uploadList=this.$refs.upload.fileList):this.$emit("input",this.initItems(t))},browseVisible:function(){this.httpType="",this.httpValue=""}},computed:a(a({},(0,r.rn)(["userToken"])),{},{uploadHeaders:function(){return{fd:$A.getStorageString("userWsFd"),token:this.userToken}},uploadParams:function(){return Object.keys(this.otherParams).length>0?Object.assign(this.params,this.otherParams):this.params}}),methods:{handleCallback:function(t){"callback"===this.type&&(!0===t?(this.$emit("on-callback",this.uploadList),this.$refs.upload.fileList=[],this.uploadList=this.$refs.upload.fileList):"object"===o(t)&&this.$emit("on-callback",[t])),this.browseVisible=!1},initItems:function(t){"string"==typeof t&&(t=[{url:t}]);var e=[];return $A.each(t,(function(t,n){"string"==typeof n&&(n={url:n}),n.url&&(n.active=!0,n.status="finished",void 0===n.path&&(n.path=n.url),void 0===n.thumb&&(n.thumb=n.url),e.push(n))})),e},handleView:function(t){this.visible=!0,this.imgVisible=t.url},handleRemove:function(t){var e=this.$refs.upload.fileList;this.$refs.upload.fileList.splice(e.indexOf(t),1),this.$emit("input",this.$refs.upload.fileList)},handleProgress:function(t,e){void 0===e._uploadIng&&(e._uploadIng=!0,this.$emit("update:uploadIng",this.uploadIng+1))},handleSuccess:function(t,e){this.$emit("update:uploadIng",this.uploadIng-1),1===t.ret?(e.url=t.data.url,e.path=t.data.path,e.thumb=t.data.thumb,this.handleCallback(e)):($A.noticeWarning({title:this.$L("上传失败"),desc:this.$L("文件 "+e.name+" 上传失败 "+t.msg)}),this.$refs.upload.fileList.pop()),this.$emit("input",this.$refs.upload.fileList)},handleError:function(){this.$emit("update:uploadIng",this.uploadIng-1)},handleFormatError:function(t){$A.noticeWarning({title:this.$L("文件格式不正确"),desc:this.$L("文件 "+t.name+" 格式不正确,请上传 jpg、jpeg、gif、png 格式的图片。")})},handleMaxSize:function(t){$A.noticeWarning({title:this.$L("超出文件大小限制"),desc:this.$L("文件 "+t.name+" 太大,不能超过:"+$A.bytesToSize(1024*this.maxSize))})},handleBeforeUpload:function(){var t=this.uploadList.length{"use strict";n.d(e,{Z:()=>o});const r={name:"ScrollerY",props:{static:{type:Boolean,default:!1},autoBottom:{type:Boolean,default:!1},autoRecovery:{type:Boolean,default:!0},autoRecoveryAnimate:{type:Boolean,default:!1}},data:function(){return{scrollY:0,scrollDiff:0,autoInterval:null}},mounted:function(){this.openInterval(),this.$nextTick(this.initScroll)},activated:function(){this.openInterval(),this.recoveryScroll()},destroyed:function(){this.closeInterval()},deactivated:function(){this.closeInterval()},methods:{initScroll:function(){var t=this;this.autoToBottom();var e="function"==typeof this.$listeners["on-scroll"],n=$A(this.$refs.scrollerView);n.scroll((function(){var r=Math.round(n.innerHeight()),o=n.scrollTop(),i=t.$refs.scrollerView.scrollHeight;if(t.scrollY=o,e){var a="static",s="static";t.scrollDiff-o>50?(t.scrollDiff=o,a="down"):t.scrollDiff-o<-100&&(t.scrollDiff=o,a="up"),t.scrollDiff-o>1?(t.scrollDiff=o,s="down"):t.scrollDiff-o<-1&&(t.scrollDiff=o,s="up"),t.$emit("on-scroll",{scale:o/(i-r),scrollY:o,scrollE:i-r-o,direction:a,directionreal:s})}}))},recoveryScroll:function(){var t=this;this.autoRecovery&&(this.scrollY>0||this.autoBottom)&&this.$nextTick((function(){t.autoBottom?t.autoToBottom():t.scrollTo(t.scrollY,t.autoRecoveryAnimate)}))},openInterval:function(){this.autoToBottom(),this.autoInterval&&clearInterval(this.autoInterval),this.autoInterval=setInterval(this.autoToBottom,300)},closeInterval:function(){clearInterval(this.autoInterval),this.autoInterval=null},scrollTo:function(t,e){!1===e?$A(this.$refs.scrollerView).stop().scrollTop(t):$A(this.$refs.scrollerView).stop().animate({scrollTop:t})},autoToBottom:function(){this.autoBottom&&$A.scrollToView(this.$refs.bottom,{behavior:"instant",inline:"end"})},scrollInfo:function(){var t=$A(this.$refs.scrollerView),e=Math.round(t.innerHeight()),n=t.scrollTop(),r=this.$refs.scrollerView.scrollHeight;return this.scrollY=n,{scale:n/(r-e),scrollY:n,scrollE:r-e-n}},querySelector:function(t){return this.$refs.scrollerView&&this.$refs.scrollerView.querySelector(t)}}};const o=(0,n(51900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"scrollerView",staticClass:"app-scroller-y",class:[t.static?"static":""]},[t._t("default"),t._v(" "),n("div",{ref:"bottom",staticClass:"app-scroller-bottom"})],2)}),[],!1,null,null,null).exports},89500:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var r=n(47575),o=n.n(r),i=n(2749),a=n(20629);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e0&&(n.min_height=this.minHeight),n},closeFull:function(){this.content=this.getContent(),this.$emit("input",this.content),this.$emit("on-blur"),this.transfer=!1,null!=this.editorT&&(this.editorT.destroy(),this.editorT=null)},transferChange:function(t){t||null==this.editorT||(this.content=this.editorT.getContent(),this.$emit("input",this.content),this.editorT.destroy(),this.editorT=null)},getEditor:function(){return this.transfer?this.editorT:this.editor},concatAssciativeArrays:function(t,e){if(0===e.length)return t;if(0===t.length)return e;var n=[];for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);return n},submitNewContent:function(){var t=this;this.isTyping=!0,null!==this.checkerTimeout&&clearTimeout(this.checkerTimeout),this.checkerTimeout=setTimeout((function(){t.isTyping=!1}),300),this.$emit("input",this.getContent())},insertContent:function(t){null!==this.getEditor()?this.getEditor().insertContent(t):this.content+=t},getContent:function(){return null===this.getEditor()?"":this.getEditor().getContent()},setContent:function(t){null===this.getEditor()?this.content=t:t!=this.getEditor().getContent()&&this.getEditor().setContent(t)},focus:function(){return null===this.getEditor()?"":this.getEditor().focus()},insertImage:function(t){this.insertContent('')},editorImage:function(t){for(var e=0;e|\/>)/gi);if(n)for(var r=0;r').concat(t.data.name," (").concat($A.bytesToSize(1024*t.data.size),")
    ")):$A.noticeWarning({title:this.$L("上传失败"),desc:this.$L("文件 "+e.name+" 上传失败,"+t.msg)})},handleError:function(){this.uploadIng--},handleFormatError:function(t){$A.noticeWarning({title:this.$L("文件格式不正确"),desc:this.$L("文件 "+t.name+" 格式不正确,仅支持上传:"+this.uploadFormat.join(","))})},handleMaxSize:function(t){$A.noticeWarning({title:this.$L("超出文件大小限制"),desc:this.$L("文件 "+t.name+" 太大,不能超过:"+$A.bytesToSize(1024*this.maxSize))})},handleBeforeUpload:function(){return!0}}};const f=(0,n(51900).Z)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"teditor-wrapper"},[n("div",{staticClass:"teditor-box",class:[!t.inline&&t.spinShow?"teditor-loadstyle":"teditor-loadedstyle"]},[t.inline?[n("div",{ref:"myTextarea",attrs:{id:t.id},domProps:{innerHTML:t._s(t.spinShow?"":t.content)}}),t._v(" "),t.spinShow?n("Icon",{staticClass:"icon-loading icon-inline",attrs:{type:"ios-loading",size:18}}):t._e()]:[n("textarea",{ref:"myTextarea",attrs:{id:t.id}},[t._v(t._s(t.content))]),t._v(" "),t.spinShow?n("Spin",{attrs:{fix:""}},[n("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading",size:18}}),t._v(" "),n("div",[t._v(t._s(t.$L("加载组件中...")))])],1):t._e()],t._v(" "),n("ImgUpload",{ref:"myUpload",staticClass:"upload-control",attrs:{type:"callback",uploadIng:t.uploadIng,num:"50"},on:{"update:uploadIng":function(e){t.uploadIng=e},"update:upload-ing":function(e){t.uploadIng=e},"on-callback":t.editorImage}}),t._v(" "),n("Upload",{ref:"fileUpload",staticClass:"upload-control",attrs:{name:"files",action:t.actionUrl,headers:t.headers,multiple:"",format:t.uploadFormat,"show-upload-list":!1,"max-size":t.maxSize,"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}})],2),t._v(" "),t.uploadIng>0?n("Spin",{attrs:{fix:""}},[n("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}),t._v(" "),n("div",[t._v(t._s(t.$L("正在上传文件...")))])],1):t._e(),t._v(" "),n("Modal",{staticClass:"teditor-transfer",attrs:{"footer-hide":"",fullscreen:"",transfer:""},on:{"on-visible-change":t.transferChange},model:{value:t.transfer,callback:function(e){t.transfer=e},expression:"transfer"}},[n("div",{attrs:{slot:"close"},slot:"close"},[n("Button",{attrs:{type:"primary",size:"small"}},[t._v(t._s(t.$L("完成")))])],1),t._v(" "),n("div",{staticClass:"teditor-transfer-body"},[n("textarea",{attrs:{id:"T_"+t.id}},[t._v(t._s(t.content))])]),t._v(" "),t.uploadIng>0?n("Spin",{attrs:{fix:""}},[n("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}),t._v(" "),n("div",[t._v(t._s(t.$L("正在上传文件...")))])],1):t._e()],1)],1)}),[],!1,null,null,null).exports},73701:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(80641);const o={name:"UserInput",props:{value:{type:[String,Number,Array],default:""},uncancelable:{type:Array,default:function(){return[]}},disabledChoice:{type:Array,default:function(){return[]}},placeholder:{default:""},size:{default:"default"},transfer:{type:Boolean,default:!0},multipleMax:{type:Number},maxHiddenInput:{type:Boolean,default:!0},projectId:{type:Number,default:0},noProjectId:{type:Number,default:0}},data:function(){return{loadIng:0,selects:[],list:[],searchKey:null,searchHistory:[],subscribe:null}},mounted:function(){var t=this;this.subscribe=r.Store.subscribe("cacheUserActive",(function(e){var n=t.list.findIndex((function(t){return t.userid==e.userid}));n>-1&&(t.$set(t.list,n,Object.assign({},t.list[n],e)),t.handleSelectData())}))},beforeDestroy:function(){this.subscribe&&(this.subscribe.unsubscribe(),this.subscribe=null)},computed:{maxHiddenClass:function(){var t=this.multipleMax,e=this.maxHiddenInput,n=this.selects;return t&&e&&n.length>=t?"hidden-input":""}},watch:{value:{handler:function(){this.valueChange()},immediate:!0},selects:function(t){this.$emit("input",t)}},methods:{searchUser:function(t){var e=this;"string"!=typeof t&&(t=""),this.searchKey=t;var n=this.searchHistory.find((function(e){return e.key==t}));n&&(this.list=n.data),n||this.loadIng++,setTimeout((function(){e.searchKey==t?e.$store.dispatch("call",{url:"users/search",data:{keys:{key:t,project_id:e.projectId,no_project_id:e.noProjectId},take:30}}).then((function(r){var o=r.data;n||e.loadIng--,e.list=o;var i=e.searchHistory.findIndex((function(e){return e.key==t})),a={key:t,data:o,time:$A.Time()};i>-1?e.searchHistory.splice(i,1,a):e.searchHistory.push(a)})).catch((function(t){var r=t.msg;n||e.loadIng--,e.list=[],$A.messageWarning(r)})):n||e.loadIng--}),this.searchHistory.length>0?300:0)},isDisabled:function(t){return 0!==this.disabledChoice.length&&this.disabledChoice.includes(t)},openChange:function(t){t&&this.$nextTick(this.searchUser)},remoteMethod:function(){},valueChange:function(){var t=this;this.selects!=this.value&&($A.isArray(this.value)?this.selects=$A.cloneJSON(this.value):this.value?this.selects=[this.value]:this.selects=[],this.selects.some((function(e){t.list.find((function(t){return t.userid==e}))||(t.list.push({userid:e,nickname:e}),t.$store.dispatch("getUserBasic",{userid:e}))})))},handleSelectData:function(){var t=this;this.__handleSelectTimeout&&clearTimeout(this.__handleSelectTimeout),this.__handleSelectTimeout=setTimeout((function(){if(t.$refs.select){var e=t.$refs.select.getValue();e&&e.some((function(e){var n=t.list.find((function(t){return t.userid==e.value}));n&&(t.$set(e,"label",n.nickname),t.$set(e,"avatar",n.userimg))}))}}),100)}}};const i=(0,n(51900).Z)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["common-user",t.maxHiddenClass]},[n("Select",{ref:"select",attrs:{transfer:t.transfer,placeholder:t.placeholder,size:t.size,loading:t.loadIng>0,"loading-text":t.$L("加载中..."),"default-label":t.value,"default-event-object":!0,"multiple-max":t.multipleMax,"multiple-uncancelable":t.uncancelable,"remote-method":t.remoteMethod,multiple:"",filterable:"","transfer-class-name":"common-user-transfer"},on:{"on-query-change":t.searchUser,"on-open-change":t.openChange},model:{value:t.selects,callback:function(e){t.selects=e},expression:"selects"}},[t.multipleMax?n("div",{staticClass:"user-drop-prepend",attrs:{slot:"drop-prepend"},slot:"drop-prepend"},[t._v(t._s(t.$L("最多只能选择"+t.multipleMax+"个")))]):t._e(),t._v(" "),t._t("option-prepend"),t._v(" "),t._l(t.list,(function(e,r){return n("Option",{key:r,attrs:{value:e.userid,"key-value":e.email,label:e.nickname,avatar:e.userimg,disabled:t.isDisabled(e.userid)}},[n("div",{staticClass:"user-input-option"},[n("div",{staticClass:"user-input-avatar"},[n("EAvatar",{staticClass:"avatar",attrs:{src:e.userimg}})],1),t._v(" "),n("div",{staticClass:"user-input-nickname"},[t._v(t._s(e.nickname))]),t._v(" "),n("div",{staticClass:"user-input-userid"},[t._v("ID: "+t._s(e.userid))])])])}))],2),t._v(" "),t.loadIng>0?n("div",{staticClass:"common-user-loading"},[n("Loading")],1):t._e()],1)}),[],!1,null,null,null).exports},68974:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>U});var r=n(20629),o=n(66237);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const s={name:"ProjectArchived",data:function(){return{loadIng:0,keys:{},columns:[],list:[],page:1,pageSize:20,total:0,noText:""}},mounted:function(){this.getLists()},computed:function(t){for(var e=1;e0?n("Loading"):t._e()],1)]),t._v(" "),n("div",{staticClass:"search-container lr"},[n("ul",[n("li",[n("div",{staticClass:"search-label"},[t._v("\n "+t._s(t.$L("项目名"))+"\n ")]),t._v(" "),n("div",{staticClass:"search-content"},[n("Input",{attrs:{clearable:""},model:{value:t.keys.name,callback:function(e){t.$set(t.keys,"name",e)},expression:"keys.name"}})],1)]),t._v(" "),n("li",{staticClass:"search-button"},[n("Tooltip",{attrs:{theme:"light",placement:"right","transfer-class-name":"search-button-clear",transfer:""}},[n("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("搜索")))]),t._v(" "),n("div",{attrs:{slot:"content"},slot:"content"},[n("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.refresh}},[t._v(t._s(t.$L("刷新")))])],1)],1)],1)])]),t._v(" "),n("div",{staticClass:"table-page-box"},[n("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),t._v(" "),n("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowMax768,"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)])}),[],!1,null,null,null).exports;function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const f={name:"TeamManagement",data:function(){return{loadIng:0,keys:{identity:"nodisable"},columns:[],list:[],page:1,pageSize:20,total:0,noText:""}},mounted:function(){this.getLists()},computed:function(t){for(var e=1;e0?n("Loading"):t._e()],1)]),t._v(" "),n("div",{staticClass:"search-container lr"},[n("ul",[n("li",[n("div",{staticClass:"search-label"},[t._v("\n "+t._s(t.$L("关键词"))+"\n ")]),t._v(" "),n("div",{staticClass:"search-content"},[n("Input",{attrs:{placeholder:t.$L("邮箱、昵称、职位"),clearable:""},model:{value:t.keys.key,callback:function(e){t.$set(t.keys,"key",e)},expression:"keys.key"}})],1)]),t._v(" "),n("li",[n("div",{staticClass:"search-label"},[t._v("\n "+t._s(t.$L("身份"))+"\n ")]),t._v(" "),n("div",{staticClass:"search-content"},[n("Select",{attrs:{placeholder:t.$L("请选择")},model:{value:t.keys.identity,callback:function(e){t.$set(t.keys,"identity",e)},expression:"keys.identity"}},[n("Option",{attrs:{value:""}},[t._v(t._s(t.$L("全部")))]),t._v(" "),n("Option",{attrs:{value:"admin"}},[t._v(t._s(t.$L("管理员")))]),t._v(" "),n("Option",{attrs:{value:"disable"}},[t._v(t._s(t.$L("禁用")))]),t._v(" "),n("Option",{attrs:{value:"noadmin"}},[t._v(t._s(t.$L("非管理员")))]),t._v(" "),n("Option",{attrs:{value:"nodisable"}},[t._v(t._s(t.$L("非禁用")))])],1)],1)]),t._v(" "),n("li",[n("div",{staticClass:"search-label"},[t._v("\n "+t._s(t.$L("邮箱认证"))+"\n ")]),t._v(" "),n("div",{staticClass:"search-content"},[n("Select",{attrs:{placeholder:t.$L("请选择")},model:{value:t.keys.email_verity,callback:function(e){t.$set(t.keys,"email_verity",e)},expression:"keys.email_verity"}},[n("Option",{attrs:{value:""}},[t._v(t._s(t.$L("全部")))]),t._v(" "),n("Option",{attrs:{value:"yes"}},[t._v(t._s(t.$L("已邮箱认证")))]),t._v(" "),n("Option",{attrs:{value:"no"}},[t._v(t._s(t.$L("未邮箱认证")))])],1)],1)]),t._v(" "),n("li",{staticClass:"search-button"},[n("Tooltip",{attrs:{theme:"light",placement:"bottom","transfer-class-name":"search-button-clear",transfer:""}},[n("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("搜索")))]),t._v(" "),n("div",{attrs:{slot:"content"},slot:"content"},[n("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("刷新")))])],1)],1)],1)])]),t._v(" "),n("div",{staticClass:"table-page-box"},[n("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),t._v(" "),n("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowMax768,"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)])}),[],!1,null,null,null).exports;function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const g={name:"ProjectManagement",data:function(){return{loadIng:0,keys:{},columns:[],list:[],page:1,pageSize:20,total:0,noText:""}},mounted:function(){this.getLists()},computed:function(t){for(var e=1;e0?n("Loading"):t._e()],1)]),t._v(" "),n("div",{staticClass:"search-container lr"},[n("ul",[n("li",[n("div",{staticClass:"search-label"},[t._v("\n "+t._s(t.$L("项目名"))+"\n ")]),t._v(" "),n("div",{staticClass:"search-content"},[n("Input",{attrs:{clearable:""},model:{value:t.keys.name,callback:function(e){t.$set(t.keys,"name",e)},expression:"keys.name"}})],1)]),t._v(" "),n("li",[n("div",{staticClass:"search-label"},[t._v("\n "+t._s(t.$L("项目状态"))+"\n ")]),t._v(" "),n("div",{staticClass:"search-content"},[n("Select",{attrs:{placeholder:t.$L("请选择")},model:{value:t.keys.status,callback:function(e){t.$set(t.keys,"status",e)},expression:"keys.status"}},[n("Option",{attrs:{value:""}},[t._v(t._s(t.$L("全部")))]),t._v(" "),n("Option",{attrs:{value:"unarchived"}},[t._v(t._s(t.$L("未归档")))]),t._v(" "),n("Option",{attrs:{value:"archived"}},[t._v(t._s(t.$L("已归档")))])],1)],1)]),t._v(" "),n("li",{staticClass:"search-button"},[n("Tooltip",{attrs:{theme:"light",placement:"right","transfer-class-name":"search-button-clear",transfer:""}},[n("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("搜索")))]),t._v(" "),n("div",{attrs:{slot:"content"},slot:"content"},[n("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("刷新")))])],1)],1)],1)])]),t._v(" "),n("div",{staticClass:"table-page-box"},[n("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),t._v(" "),n("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowMax768,"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)])}),[],!1,null,null,null).exports;var b=n(70631);const y={name:"DragBallComponent",props:{id:{type:String,default:""},distanceLeft:{type:Number,default:-1},distanceRight:{type:Number,default:0},distanceTop:{type:Number,default:-1},distanceBottom:{type:Number,default:100},isScrollHidden:{type:Boolean,default:!1},isCanDraggable:{type:Boolean,default:!0},zIndex:{type:Number,default:50}},data:function(){return{clientWidth:null,clientHeight:null,top:0,left:0,timer:null,currentTop:0,isMoving:!1,record:{}}},created:function(){this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight},mounted:function(){var t=this;this.id&&($A.isJson(window._DragBallComponent)||(window._DragBallComponent={})),this.isCanDraggable&&this.$nextTick((function(){t.id&&$A.isJson(window._DragBallComponent[t.id])?(t.left=window._DragBallComponent[t.id].left,t.top=window._DragBallComponent[t.id].top):(t.distanceLeft>-1?t.left=t.distanceLeft:t.left=t.clientWidth-t.floatDrag.offsetWidth-t.distanceRight,t.distanceTop>-1?t.top=t.distanceTop:t.top=t.clientHeight-t.floatDrag.offsetHeight-t.distanceBottom),t.initDraggable()})),this.isScrollHidden&&window.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleResize)},beforeDestroy:function(){this.id&&(window._DragBallComponent[this.id]={left:this.left,top:this.top}),window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleResize)},computed:{dragStyle:function(){return{left:this.left+"px",top:this.top+"px",zIndex:this.zIndex,position:"fixed"}},floatDrag:function(){return this.$refs.floatDrag}},methods:{handleScroll:function(){var t=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout((function(){t.handleScrollEnd()}),200),this.currentTop=document.documentElement.scrollTop||document.body.scrollTop,this.left>this.clientWidth/2?this.left=this.clientWidth+this.floatDrag.offsetWidth:this.left=-this.floatDrag.offsetWidth},handleScrollEnd:function(){(document.documentElement.scrollTop||document.body.scrollTop)===this.currentTop&&(this.left>this.clientWidth/2?this.left=this.clientWidth-this.floatDrag.offsetWidth:this.left=0,clearTimeout(this.timer))},handleResize:function(){this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight,this.checkDraggablePosition()},initDraggable:function(){this.floatDrag.addEventListener("touchstart",this.toucheStart),this.floatDrag.addEventListener("touchmove",this.touchMove),this.floatDrag.addEventListener("touchend",this.touchEnd)},mouseDown:function(t){var e=this;this.record={time:(new Date).getTime(),top:this.floatDrag.offsetTop,left:this.floatDrag.offsetLeft,x:t.clientX-this.floatDrag.offsetLeft,y:t.clientY-this.floatDrag.offsetTop},this.floatDrag.style.transition="none",this.canClick=!1,document.onmousemove=function(t){var n=t.clientX-e.record.x,r=t.clientY-e.record.y;n<0?n=0:n>window.innerWidth-e.floatDrag.offsetWidth&&(n=window.innerWidth-e.floatDrag.offsetWidth),r<0?r=0:r>window.innerHeight-e.floatDrag.offsetHeight&&(r=window.innerHeight-e.floatDrag.offsetHeight),e.left=n,e.top=r},document.onmouseup=function(){document.onmousemove=null,document.onmouseup=null,e.checkDraggablePosition(),e.floatDrag.style.transition="all 0.3s",(Math.abs(e.record.top-e.floatDrag.offsetTop)<5&&Math.abs(e.record.left-e.floatDrag.offsetLeft)<5||(new Date).getTime()-e.record.time<200)&&e.$emit("on-click")}},toucheStart:function(){this.canClick=!1,this.floatDrag.style.transition="none"},touchMove:function(t){if(this.canClick=!0,1===t.targetTouches.length){var e=event.targetTouches[0],n=e.clientX-this.floatDrag.offsetWidth/2,r=e.clientY-this.floatDrag.offsetHeight/2;n<0?n=0:n>window.innerWidth-this.floatDrag.offsetWidth&&(n=window.innerWidth-this.floatDrag.offsetWidth),r<0?r=0:r>window.innerHeight-this.floatDrag.offsetHeight&&(r=window.innerHeight-this.floatDrag.offsetHeight),this.left=n,this.top=r}},touchEnd:function(){this.canClick&&(this.floatDrag.style.transition="all 0.3s",this.checkDraggablePosition())},checkDraggablePosition:function(){this.left+this.floatDrag.offsetWidth/2>=this.clientWidth/2?this.left=this.clientWidth-this.floatDrag.offsetWidth:this.left=0,this.top<0&&(this.top=0),this.top+this.floatDrag.offsetHeight>=this.clientHeight&&(this.top=this.clientHeight-this.floatDrag.offsetHeight)}}};const w=(0,u.Z)(y,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{ref:"floatDrag",style:t.dragStyle,on:{mousedown:function(e){return e.stopPropagation(),e.preventDefault(),t.mouseDown.apply(null,arguments)}}},[t._t("default")],2)}),[],!1,null,null,null).exports;var _=n(19246),C=n(22371);function k(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const D={name:"ReportMy",data:function(){return{loadIng:0,columns:[],lists:[],listPage:1,listTotal:0,listPageSize:20,noDataText:"",createAt:[],reportType:"",reportTypeList:[]}},mounted:function(){this.getLists()},computed:function(t){for(var e=1;e0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("搜索")))]),t._v(" "),n("div",{attrs:{slot:"content"},slot:"content"},[n("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("刷新")))])],1)],1)],1)])]),t._v(" "),n("div",{staticClass:"expand-button-group"},[n("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:t.addReport}},[t._v(t._s(t.$L("新增报告")))])],1)]),t._v(" "),n("div",{staticClass:"table-page-box"},[n("Table",{attrs:{columns:t.columns,data:t.lists,loading:t.loadIng>0,"no-data-text":t.$L(t.noDataText),stripe:""}}),t._v(" "),n("Page",{attrs:{total:t.listTotal,current:t.listPage,"page-size":t.listPageSize,disabled:t.loadIng>0,simple:t.windowMax768,"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)])}),[],!1,null,"5c19542f",null).exports;function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const O={name:"ReportReceive",data:function(){return{loadIng:0,columns:[],lists:[],listPage:1,listTotal:0,listPageSize:20,noDataText:"",username:"",reportType:"",createAt:[],reportTypeList:[]}},mounted:function(){this.getLists()},computed:function(t){for(var e=1;e0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("搜索")))]),t._v(" "),n("div",{attrs:{slot:"content"},slot:"content"},[n("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("刷新")))])],1)],1)],1)])]),t._v(" "),n("div",{staticClass:"table-page-box"},[n("Table",{attrs:{columns:t.columns,data:t.lists,loading:t.loadIng>0,"no-data-text":t.$L(t.noDataText),stripe:""}}),t._v(" "),n("Page",{attrs:{total:t.listTotal,current:t.listPage,"page-size":t.listPageSize,disabled:t.loadIng>0,simple:t.windowMax768,"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)])}),[],!1,null,"471ba53f",null).exports;var A=n(34910);const $={name:"Report",components:{DrawerOverlay:b.Z,ReportEdit:C.Z,ReportMy:S,ReportReceive:L,ReportDetail:A.Z},props:{reportUnreadNumber:{type:Number,default:0},reportType:{default:"my"}},data:function(){return{reportTabs:"my",showDetailDrawer:!1,showEditDrawer:!1,detailData:{},reportId:0}},mounted:function(){this.reportTabs=this.reportType,this.$isMainElectron&&this.$Electron.registerMsgListener("reportSaveSuccess",this.saveSuccess)},methods:{tabRebder:function(t){var e=this;return function(n){return n("div",t>0?[n("span",{class:"navbar-item-content"},e.$L("收到的汇报")),n("Badge",{class:"manage-box-report",props:{count:t}})]:[n("span",{class:"navbar-item-content"},e.$L("收到的汇报"))])}},onView:function(t){if(this.detailData=t,this.$emit("on-read"),this.$Electron){var e={title:t.title,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)};this.$Electron.sendMessage("windowRouter",{name:"report-"+t.id,path:"/single/report/detail/"+t.id,force:!1,config:e})}else this.showDetailDrawer=!0},onEditReport:function(t){if(this.reportId=t,this.$Electron){var e={title:this.$L(t>0?"修改报告":"新增报告"),parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)};this.$Electron.sendMessage("windowRouter",{name:"report-"+t,path:"/single/report/edit/"+t,force:!1,config:e})}else this.showEditDrawer=!0},saveSuccess:function(){this.reportId=0,this.reportTabs="my",this.showEditDrawer=!1,this.$refs.report&&this.$refs.report.getLists()}}};const N=(0,u.Z)($,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"report"},[n("Tabs",{model:{value:t.reportTabs,callback:function(e){t.reportTabs=e},expression:"reportTabs"}},[n("TabPane",{attrs:{label:t.$L("我的汇报"),name:"my"}},["my"===t.reportTabs?n("ReportMy",{ref:"report",on:{"on-view":t.onView,"on-edit":t.onEditReport}}):t._e()],1),t._v(" "),n("TabPane",{attrs:{label:t.tabRebder(t.reportUnreadNumber),name:"receive"}},["receive"===t.reportTabs?n("ReportReceive",{on:{"on-view":t.onView}}):t._e()],1)],1),t._v(" "),n("DrawerOverlay",{attrs:{placement:"right",size:950,transfer:""},model:{value:t.showDetailDrawer,callback:function(e){t.showDetailDrawer=e},expression:"showDetailDrawer"}},[t.showDetailDrawer?n("ReportDetail",{attrs:{data:t.detailData}}):t._e()],1),t._v(" "),n("DrawerOverlay",{attrs:{placement:"right",size:1e3,transfer:""},model:{value:t.showEditDrawer,callback:function(e){t.showEditDrawer=e},expression:"showEditDrawer"}},[t.showEditDrawer?n("ReportEdit",{attrs:{id:t.reportId},on:{saveSuccess:t.saveSuccess}}):t._e()],1)],1)}),[],!1,null,null,null).exports,P=(t,e)=>!(!t||!e)&&("String"===t?"string"==typeof e:"Object"===t?"[object Object]"===Object.prototype.toString.call(e):"number"===t?"number"==typeof e:"function"===t&&"[object Function]"===Object.prototype.toString.call(e)),I=(t,e,n)=>t.findIndex((t=>t[e]===n));const R=class{constructor(t="默认标题",e={}){this.title=t,this.options=e,this.support=!1,this.supportFn()}supportFn(){window.Notification?(this.initStatus(),this.support=!0):this.support=!1}initStatus(){this.notification=null,this.state=Notification.permission,this.msg=null,this.callBackObj={},this.notificationAll=[],this.requireInteractionTimeout=!1,this.timeout=null}initNotification(t){if(this.checkStatus("support")){if(!P("function",t))return console.error("initNotification的参数必须为函数");if("granted"===this.state)this.msg="already granted";else if("default"===this.state){const e=e=>(this.state=e,this.msg="granted"===e?"granted":"default"===e?"close":"denied",t(this.msg));try{Notification.requestPermission().then(e)}catch(t){Notification.requestPermission(e)}}else this.msg="already denied";return"default"!==this.state?t(this.msg):void 0}}userAgreed(){if(this.checkStatus("userAgreed")){this.notification=new Notification(this.title,this.options),this.notificationWatch();for(const t in this.callBackObj)this.notification[t]=e=>{this.callBackObj[t](e)}}}notificationTimeoutFn(t){t&&P("number",t)?this.timeout=t:this.timeout=5e3}notificationWatch(){this.notificationAll.push(this.notification),this.notification.requireInteraction?this.everyTimeout():this.autoClose(),this.watchClose()}everyTimeout(){P("number",this.timeout)&&(this.options.timeOut&&P("number",this.options.timeOut)?this.timeoutCloseFn(this.options.timeOut):this.timeoutCloseFn(this.timeout))}timeoutCloseFn(t){const e=this.notification.timestamp;setTimeout((()=>{const t=I(this.notificationAll,"timestamp",e);-1!==t&&this.notificationAll[t].close()}),t)}watchClose(){const t=this.notification.timestamp;this.notification.addEventListener("close",(e=>{const n=I(this.notificationAll,"timestamp",t);-1!==n&&this.notificationAll.splice(n,1)}))}autoClose(){const t=this.notification.timestamp;setTimeout((()=>{const e=I(this.notificationAll,"timestamp",t);-1!==e&&this.notificationAll.splice(e,1)}),6e3)}notificationEvent(t){if(this.checkStatus("support")){if(!P("Object",t))return console.error("callObj必须为对象");for(const e in t)if(!P("function",t[e]))return console.error("callObj对象中的每个value必须为函数");this.callBackObj=t}}closeAll(){for(let t of this.notificationAll.values())t.close();this.notificationAll=[]}close(){if(!this.notification)return console.warn("this.notification为null,通知尚未调用/用户未同意显示通知");this.notification.close()}updateOptions(t){if(t&&P("Object",t))for(const e in t)this.options[e]=t[e];else console.warn("updateOptions参数错误:options为必填对象")}replaceTitle(t){t&&P("String",t)?this.title=t:console.warn("replaceTitle: title(通知标题)为必填字符串")}replaceOptions(t){t&&P("Object",t)?this.options=t:console.warn("replaceOptions参数错误:options为必填对象")}checkStatus(t){if("support"===t){if(!this.support)return console.warn("用户浏览器不支持"),!1}else if("userAgreed"===t){if("granted"!==this.state)return!1;if(!this.checkStatus("support"))return!1}return!0}};var B=n(80641);function M(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function j(t){for(var e=1;e-1})):n},taskStyle:function(){var t=this.innerHeight;return{maxHeight:t-(t>900?200:70)-20+"px"}},overlayClass:function(){return{"overlay-y":!0,"overlay-none":!0===this.topOperateVisible}},taskBrowseLists:function(){var t=this.cacheTasks,e=this.cacheTaskBrowse,n=this.userId;return e.filter((function(t){return t.userid===n})).map((function(e){var n=e.id;return t.find((function(t){return t.id===n}))||{}}))}}),watch:{$route:function(t){this.curPath=t.path,this.chackPass()},userInfo:function(){this.chackPass()},taskId:function(t){t>0&&this.$Modal.resetIndex()},projectKeyValue:function(t){var e=this;""!=t&&setTimeout((function(){e.projectKeyValue==t&&e.searchProject()}),600)},natificationHidden:function(t){var e=this;clearTimeout(this.notificationTimeout),!t&&this.notificationClass&&(this.notificationTimeout=setTimeout((function(){e.notificationClass.close()}),6e3))},wsOpenNum:function(t){var e=this;t<=1||(this.wsOpenTimeout&&clearTimeout(this.wsOpenTimeout),this.wsOpenTimeout=setTimeout((function(){e.$store.dispatch("getBasicData"),e.getReportUnread()}),5e3))},workReportShow:function(t){t&&this.getReportUnread(0)},unreadTotal:{handler:function(t){this.$Electron&&this.$Electron.sendMessage("setDockBadge",t)},immediate:!0},wsMsg:{handler:function(t){var e=t.type,n=t.action;if("report"===e)"unreadUpdate"==n&&this.getReportUnread()},deep:!0}},methods:{initLanguage:function(){this.addRule={name:[{required:!0,message:this.$L("请填写项目名称!"),trigger:"change"},{type:"string",min:2,message:this.$L("项目名称至少2个字!"),trigger:"change"}]}},innerHeightListener:function(){this.innerHeight=window.innerHeight},chackPass:function(){1===this.userInfo.changepass&&this.goForward({name:"manage-setting-password"})},setTheme:function(t){this.$store.dispatch("setTheme",t)},toggleRoute:function(t){this.show768Menu=!1,this.goForward({path:"/manage/"+t})},toggleOpenMenu:function(t){this.$set(this.openMenu,t,!this.openMenu[t])},settingRoute:function(t){var e=this;switch(t){case"allUser":return void(this.allUserShow=!0);case"allProject":return void(this.allProjectShow=!0);case"archivedProject":return void(this.archivedProjectShow=!0);case"exportTask":return void(this.exportTaskShow=!0);case"workReport":return this.reportUnreadNumber>0&&(this.reportTabs="receive"),void(this.workReportShow=!0);case"version":return void B.Store.set("updateNotification",null);case"clearCache":return void this.$store.dispatch("handleClearCache",null).then((function(){$A.setStorage("clearCache",$A.randomString(6)),window.location.reload()})).catch((function(){window.location.reload()}));case"logout":return void $A.modalConfirm({title:"退出登录",content:"你确定要登出系统?",onOk:function(){e.$store.dispatch("logout",!1)}})}this.menu.findIndex((function(e){return e.path==t}))>-1&&this.toggleRoute("setting/"+t)},menuVisibleChange:function(t){this.visibleMenu=t},classNameRoute:function(t){return{active:this.curPath=="/manage/"+t}},classNameProject:function(t){var e="project/"+t.id,n=this.openMenu[t.id];return{active:this.curPath=="/manage/"+e,"open-menu":!0===n,operate:t.id==this.topOperateItem.id&&this.topOperateVisible}},onAddShow:function(){var t=this;this.$store.dispatch("getColumnTemplate").catch((function(){})),this.addShow=!0,this.$nextTick((function(){t.$refs.projectName.focus()}))},onAddProject:function(){var t=this;this.$refs.addProject.validate((function(e){e&&(t.loadIng++,t.$store.dispatch("call",{url:"project/add",data:t.addData}).then((function(e){var n=e.data,r=e.msg;$A.messageSuccess(r),t.loadIng--,t.addShow=!1,t.$refs.addProject.resetFields(),t.$store.dispatch("saveProject",n),t.toggleRoute("project/"+n.id)})).catch((function(e){var n=e.msg;$A.modalError(n),t.loadIng--})))}))},searchProject:function(){var t=this;!0!==this.projectKeyAlready[this.projectKeyValue]&&(this.projectKeyAlready[this.projectKeyValue]=!0,setTimeout((function(){t.projectKeyLoading++}),1e3),this.$store.dispatch("getProjects",{keys:{name:this.projectKeyValue}}).then((function(){t.projectKeyLoading--})).catch((function(){t.projectKeyLoading--})))},selectChange:function(t){var e=this;this.$nextTick((function(){e.$set(e.addData,"columns",e.columns[t].columns.join(","))}))},shortcutEvent:function(t){(t.metaKey||t.ctrlKey)&&(75===t.keyCode||78===t.keyCode?(t.preventDefault(),this.onAddTask(0)):83===t.keyCode&&this.taskId>0&&(t.preventDefault(),this.$refs.taskDetail.checkUpdate(!0)))},onAddTask:function(t){this.$refs.addTask.defaultPriority(),this.$refs.addTask.setData($A.isJson(t)?t:{owner:[this.userId],column_id:t}),this.addTaskShow=!0},openTask:function(t){this.$store.dispatch("openTask",t)},addDialogMsg:function(t){var e=this;if(this.natificationReady&&(this.natificationHidden||"/manage/messenger"!=this.curPath||this.dialogOpenId!=t.dialog_id)){var n=t.id,r=t.dialog_id,o=t.type,i=t.msg,a="";switch(o){case"text":a=i.text;break;case"file":a="["+this.$L("img"==i.type?"图片信息":"文件信息")+"]";break;default:return}this._notificationId=n,this.notificationClass.replaceOptions({icon:$A.originUrl("images/logo.png"),body:a,data:t,tag:"dialog",requireInteraction:!0});var s=this.cacheDialogs.find((function(t){return t.id==r}));s?(this.notificationClass.replaceTitle(s.name),this.notificationClass.userAgreed()):this.$store.dispatch("getDialogOne",r).then((function(t){var r=t.data;e._notificationId===n&&(e.notificationClass.replaceTitle(r.name),e.notificationClass.userAgreed())})).catch((function(){}))}},taskVisibleChange:function(t){t||this.openTask(0)},getReportUnread:function(t){var e=this;this.reportUnreadTimeout&&clearTimeout(this.reportUnreadTimeout),this.reportUnreadTimeout=setTimeout((function(){e.$store.dispatch("call",{url:"report/unread"}).then((function(t){var n=t.data;e.reportUnreadNumber=n.total||0})).catch((function(){}))}),"number"==typeof t?t:1e3)},handleRightClick:function(t,e){var n=this;this.handleClickTopOperateOutside(),this.topOperateItem=e,this.$nextTick((function(){var e=n.$refs.projectWrapper.getBoundingClientRect();n.topOperateStyles={left:"".concat(t.clientX-e.left,"px"),top:"".concat(t.clientY-e.top,"px")},n.topOperateVisible=!0}))},handleClickTopOperateOutside:function(){this.topOperateVisible=!1},handleTopClick:function(){var t=this;this.$store.dispatch("call",{url:"project/top",data:{project_id:this.topOperateItem.id}}).then((function(e){var n=e.data;t.$store.dispatch("saveProject",n),t.$nextTick((function(){var e=t.$refs.projectWrapper.querySelector(".active");e&&$A.scrollToView(e,{behavior:"instant",scrollMode:"if-needed"})}))})).catch((function(t){var e=t.msg;$A.modalError(e)}))},onExportTask:function(){var t=this;this.exportLoadIng>0||(this.exportLoadIng++,this.$store.dispatch("call",{url:"project/task/export",data:this.exportData}).then((function(e){var n=e.data;t.exportLoadIng--,t.exportTaskShow=!1,t.$store.dispatch("downUrl",{url:n.url})})).catch((function(e){var n=e.msg;t.exportLoadIng--,$A.modalError(n)})))},notificationInit:function(){var t=this;this.notificationClass=new R(this.$L("打开通知成功")),this.notificationClass.support&&(this.notificationClass.notificationEvent({onclick:function(e){var n=e.target;console.log("[Notification] Click",n),t.notificationClass.close(),window.focus();var r=n.tag,o=n.data;if("dialog"==r){if(!$A.isJson(o))return;t.goForward({name:"manage-messenger"}),o.dialog_id&&($A.setStorage("messenger::dialogId",o.dialog_id),t.$store.state.dialogOpenId=o.dialog_id)}}}),this.notificationPermission())},notificationPermission:function(){var t=this;this.notificationClass.initNotification((function e(n){switch(n){case"already granted":case"granted":return t.natificationReady=!0;case"close":return t.notificationClass.initNotification(e);case"denied":case"already denied":"denied"===n?console.log("您刚刚拒绝显示通知 请在设置中更改设置"):console.log("您曾级拒绝显示通知 请在设置中更改设置")}}))},onVisibilityChange:function(){var t=this,e="hidden"in document?"hidden":"webkitHidden"in document?"webkitHidden":"mozHidden"in document?"mozHidden":null,n=e.replace(/hidden/i,"visibilitychange");document.addEventListener(n,(function(){t.natificationHidden=!!document[e]}))}}};const U=(0,u.Z)(F,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.userId>0,expression:"userId > 0"}],staticClass:"page-manage"},[n("div",{staticClass:"manage-box-menu",class:{"show768-menu":t.show768Menu}},[n("Dropdown",{staticClass:"manage-box-dropdown",attrs:{trigger:"click"},on:{"on-click":t.settingRoute,"on-visible-change":t.menuVisibleChange}},[n("div",{class:["manage-box-title",t.visibleMenu?"menu-visible":""]},[n("div",{staticClass:"manage-box-avatar"},[n("UserAvatar",{attrs:{userid:t.userId,size:36,tooltipDisabled:""}})],1),t._v(" "),n("span",[t._v(t._s(t.userInfo.nickname))]),t._v(" "),t.reportUnreadNumber>0?n("Badge",{staticClass:"manage-box-top-report",attrs:{count:t.reportUnreadNumber}}):t.clientNewVersion?n("Badge",{staticClass:"manage-box-top-report",attrs:{dot:""}}):t._e(),t._v(" "),n("div",{staticClass:"manage-box-arrow"},[n("Icon",{attrs:{type:"ios-arrow-up"}}),t._v(" "),n("Icon",{attrs:{type:"ios-arrow-down"}})],1)],1),t._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t._l(t.menu,(function(e){return["taskBrowse"===e.path?n("Dropdown",{attrs:{placement:"right-start"}},[n("DropdownItem",[n("div",{staticClass:"manage-menu-flex"},[t._v("\n "+t._s(t.$L(e.name))+"\n "),n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t._v(" "),t.taskBrowseLists.length>0?n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.taskBrowseLists,(function(e,r){return e.id>0&&r<10?n("DropdownItem",{key:r,staticClass:"task-title",attrs:{name:e.name},nativeOn:{click:function(n){return t.openTask(e)}}},[t._v(t._s(e.name))]):t._e()})),1):n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{staticStyle:{color:"darkgrey"}},[t._v(t._s(t.$L("暂无打开记录")))])],1)],1):"team"===e.path?n("Dropdown",{attrs:{placement:"right-start"}},[n("DropdownItem",{attrs:{divided:""}},[n("div",{staticClass:"manage-menu-flex"},[t._v("\n "+t._s(t.$L(e.name))+"\n "),t.reportUnreadNumber>0?n("Badge",{staticClass:"manage-menu-report-badge",attrs:{count:t.reportUnreadNumber}}):n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{attrs:{name:"allUser"}},[t._v(t._s(t.$L("团队管理")))]),t._v(" "),n("DropdownItem",{attrs:{name:"workReport"}},[n("div",{staticClass:"manage-menu-flex"},[t._v("\n "+t._s(t.$L("工作报告"))+"\n "),t.reportUnreadNumber>0?n("Badge",{staticClass:"manage-menu-report-badge",attrs:{count:t.reportUnreadNumber}}):t._e()],1)]),t._v(" "),n("DropdownItem",{attrs:{name:"exportTask"}},[t._v(t._s(t.$L("导出任务统计")))])],1)],1):"theme"===e.path?n("Dropdown",{attrs:{placement:"right-start"},on:{"on-click":t.setTheme}},[n("DropdownItem",{attrs:{divided:""}},[n("div",{staticClass:"manage-menu-flex"},[t._v("\n "+t._s(t.$L(e.name))+"\n "),n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.themeList,(function(e,r){return n("DropdownItem",{key:r,attrs:{name:e.value,selected:t.themeMode===e.value}},[t._v(t._s(t.$L(e.name)))])})),1)],1):"language"===e.path?n("Dropdown",{attrs:{placement:"right-start"},on:{"on-click":t.setLanguage}},[n("DropdownItem",{attrs:{divided:""}},[n("div",{staticClass:"manage-menu-flex"},[t._v("\n "+t._s(t.currentLanguage)+"\n "),n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.languageList,(function(e,r){return n("DropdownItem",{key:r,attrs:{name:r,selected:t.getLanguage()===r}},[t._v(t._s(e))])})),1)],1):!1!==e.visible?n("DropdownItem",{style:e.style||{},attrs:{divided:!!e.divided,name:e.path}},[n("div",{staticClass:"manage-menu-flex"},[t._v("\n "+t._s(t.$L(e.name))+"\n "),"version"===e.path?n("Badge",{staticClass:"manage-menu-report-badge",attrs:{text:t.clientNewVersion}}):"workReport"===e.path&&t.reportUnreadNumber>0?n("Badge",{staticClass:"manage-menu-report-badge",attrs:{count:t.reportUnreadNumber}}):t._e()],1)]):t._e()]}))],2)],1),t._v(" "),n("ul",{class:t.overlayClass,on:{scroll:t.handleClickTopOperateOutside}},[n("li",{class:t.classNameRoute("dashboard"),on:{click:function(e){return t.toggleRoute("dashboard")}}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(" "),n("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("仪表盘")))]),t._v(" "),t.dashboardTask.overdue.length>0?n("Badge",{staticClass:"menu-badge",attrs:{type:"error",count:t.dashboardTask.overdue.length}}):t.dashboardTask.today.length>0?n("Badge",{staticClass:"menu-badge",attrs:{type:"info",count:t.dashboardTask.today.length}}):t.dashboardTask.all.length>0?n("Badge",{staticClass:"menu-badge",attrs:{type:"primary",count:t.dashboardTask.all.length}}):t._e()],1),t._v(" "),n("li",{class:t.classNameRoute("calendar"),on:{click:function(e){return t.toggleRoute("calendar")}}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(" "),n("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("日历")))])]),t._v(" "),n("li",{class:t.classNameRoute("messenger"),on:{click:function(e){return t.toggleRoute("messenger")}}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(" "),n("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("消息")))]),t._v(" "),n("Badge",{staticClass:"menu-badge",attrs:{count:t.msgAllUnread}})],1),t._v(" "),n("li",{class:t.classNameRoute("file"),on:{click:function(e){return t.toggleRoute("file")}}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(" "),n("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("文件")))])]),t._v(" "),n("li",{ref:"projectWrapper",staticClass:"menu-project"},[n("ul",{class:t.overlayClass,on:{scroll:t.handleClickTopOperateOutside}},t._l(t.projectLists,(function(e,r){return n("li",{key:r,class:t.classNameProject(e),on:{click:function(n){return t.toggleRoute("project/"+e.id)},contextmenu:function(n){return n.preventDefault(),n.stopPropagation(),t.handleRightClick(n,e)}}},[n("div",{staticClass:"project-h1"},[n("em",{on:{click:function(n){return n.stopPropagation(),t.toggleOpenMenu(e.id)}}}),t._v(" "),n("div",{staticClass:"title"},[t._v(t._s(e.name))]),t._v(" "),e.top_at?n("div",{staticClass:"icon-top"}):t._e(),t._v(" "),e.task_my_num-e.task_my_complete>0?n("div",{staticClass:"num"},[t._v(t._s(e.task_my_num-e.task_my_complete))]):t._e()]),t._v(" "),n("div",{staticClass:"project-h2"},[n("p",[n("em",[t._v(t._s(t.$L("我的"))+":")]),t._v(" "),n("span",[t._v(t._s(e.task_my_complete)+"/"+t._s(e.task_my_num))]),t._v(" "),n("Progress",{attrs:{percent:e.task_my_percent,"stroke-width":6}})],1),t._v(" "),n("p",[n("em",[t._v(t._s(t.$L("全部"))+":")]),t._v(" "),n("span",[t._v(t._s(e.task_complete)+"/"+t._s(e.task_num))]),t._v(" "),n("Progress",{attrs:{percent:e.task_percent,"stroke-width":6}})],1)])])})),0),t._v(" "),t.loadIng>0?n("Loading"):t._e(),t._v(" "),n("div",{staticClass:"top-operate",style:t.topOperateStyles},[n("Dropdown",{attrs:{trigger:"custom",visible:t.topOperateVisible,"transfer-class-name":"page-file-dropdown-menu",transfer:""},on:{"on-clickoutside":t.handleClickTopOperateOutside}},[n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{nativeOn:{click:function(e){return t.handleTopClick.apply(null,arguments)}}},[t._v("\n "+t._s(t.$L(t.topOperateItem.top_at?"取消置顶":"置顶该项目"))+"\n ")])],1)],1)],1)],1)]),t._v(" "),t.projectTotal>20?n("div",{staticClass:"manage-project-search",class:{loading:t.projectKeyLoading>0}},[n("Input",{attrs:{prefix:"ios-search",placeholder:t.$L("共"+t.projectTotal+"个项目,搜索..."),clearable:""},model:{value:t.projectKeyValue,callback:function(e){t.projectKeyValue=e},expression:"projectKeyValue"}})],1):t._e(),t._v(" "),n("ButtonGroup",{staticClass:"manage-box-new-group"},[n("Button",{staticClass:"manage-box-new",attrs:{type:"primary",icon:"md-add"},on:{click:t.onAddShow}},[t._v(t._s(t.$L("新建项目")))]),t._v(" "),n("Dropdown",{on:{"on-click":function(e){return t.onAddTask(0)}}},[n("Button",{attrs:{type:"primary"}},[n("Icon",{attrs:{type:"ios-arrow-down"}})],1),t._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",[t._v(t._s(t.$L("新建任务"))+" ("+t._s(t.mateName)+"+K)")])],1)],1)],1)],1),t._v(" "),n("div",{staticClass:"manage-box-main"},[n("keep-alive",[n("router-view",{staticClass:"manage-box-view overlay"})],1)],1),t._v(" "),n("Modal",{attrs:{title:t.$L("新建项目"),"mask-closable":!1},model:{value:t.addShow,callback:function(e){t.addShow=e},expression:"addShow"}},[n("Form",{ref:"addProject",attrs:{model:t.addData,rules:t.addRule,"label-width":"auto"},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{prop:"name",label:t.$L("项目名称")}},[n("Input",{ref:"projectName",attrs:{type:"text"},model:{value:t.addData.name,callback:function(e){t.$set(t.addData,"name",e)},expression:"addData.name"}})],1),t._v(" "),t.addData.columns?n("FormItem",{attrs:{label:t.$L("任务列表")}},[n("TagInput",{model:{value:t.addData.columns,callback:function(e){t.$set(t.addData,"columns",e)},expression:"addData.columns"}})],1):n("FormItem",{attrs:{label:t.$L("项目模板")}},[n("Select",{attrs:{value:0,placeholder:t.$L("请选择模板")},on:{"on-change":t.selectChange}},t._l(t.columns,(function(e,r){return n("Option",{key:r,attrs:{value:r}},[t._v(t._s(e.name))])})),1)],1),t._v(" "),n("FormItem",{attrs:{prop:"flow",label:t.$L("开启工作流")}},[n("RadioGroup",{model:{value:t.addData.flow,callback:function(e){t.$set(t.addData,"flow",e)},expression:"addData.flow"}},[n("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("开启")))]),t._v(" "),n("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("关闭")))])],1)],1)],1),t._v(" "),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(e){t.addShow=!1}}},[t._v(t._s(t.$L("取消")))]),t._v(" "),n("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onAddProject}},[t._v(t._s(t.$L("添加")))])],1)],1),t._v(" "),n("Modal",{attrs:{"mask-closable":!1,styles:{width:"90%",maxWidth:"640px"},"footer-hide":""},model:{value:t.addTaskShow,callback:function(e){t.addTaskShow=e},expression:"addTaskShow"}},[n("TaskAdd",{ref:"addTask",model:{value:t.addTaskShow,callback:function(e){t.addTaskShow=e},expression:"addTaskShow"}})],1),t._v(" "),n("Modal",{attrs:{title:t.$L("导出任务统计"),"mask-closable":!1},model:{value:t.exportTaskShow,callback:function(e){t.exportTaskShow=e},expression:"exportTaskShow"}},[n("Form",{ref:"exportTask",attrs:{model:t.exportData,"label-width":"auto"},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:t.$L("导出会员")}},[n("UserInput",{attrs:{"multiple-max":20,placeholder:t.$L("请选择会员")},model:{value:t.exportData.userid,callback:function(e){t.$set(t.exportData,"userid",e)},expression:"exportData.userid"}})],1),t._v(" "),n("FormItem",{attrs:{label:t.$L("时间范围")}},[n("DatePicker",{staticStyle:{width:"100%"},attrs:{type:"daterange",format:"yyyy/MM/dd",placeholder:t.$L("请选择时间")},model:{value:t.exportData.time,callback:function(e){t.$set(t.exportData,"time",e)},expression:"exportData.time"}})],1),t._v(" "),n("FormItem",{attrs:{prop:"type",label:t.$L("导出时间类型")}},[n("RadioGroup",{model:{value:t.exportData.type,callback:function(e){t.$set(t.exportData,"type",e)},expression:"exportData.type"}},[n("Radio",{attrs:{label:"taskTime"}},[t._v(t._s(t.$L("任务时间")))]),t._v(" "),n("Radio",{attrs:{label:"createdTime"}},[t._v(t._s(t.$L("创建时间")))])],1)],1)],1),t._v(" "),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(e){t.exportTaskShow=!1}}},[t._v(t._s(t.$L("取消")))]),t._v(" "),n("Button",{attrs:{type:"primary",loading:t.exportLoadIng>0},on:{click:t.onExportTask}},[t._v(t._s(t.$L("导出")))])],1)],1),t._v(" "),n("Modal",{attrs:{value:t.taskId>0,styles:{width:"90%",maxWidth:t.taskData.dialog_id?"1200px":"700px"},"mask-closable":!1,"footer-hide":!0},on:{"on-visible-change":t.taskVisibleChange}},[n("div",{staticClass:"page-manage-task-modal",style:t.taskStyle},[n("TaskDetail",{ref:"taskDetail",attrs:{"task-id":t.taskId,"open-task":t.taskData}})],1)]),t._v(" "),n("DrawerOverlay",{attrs:{placement:"right",size:1100},model:{value:t.workReportShow,callback:function(e){t.workReportShow=e},expression:"workReportShow"}},[t.workReportShow?n("Report",{attrs:{reportType:t.reportTabs,reportUnreadNumber:t.reportUnreadNumber},on:{"on-read":t.getReportUnread}}):t._e()],1),t._v(" "),n("DrawerOverlay",{attrs:{placement:"right",size:1100},model:{value:t.allUserShow,callback:function(e){t.allUserShow=e},expression:"allUserShow"}},[t.allUserShow?n("TeamManagement"):t._e()],1),t._v(" "),n("DrawerOverlay",{attrs:{placement:"right",size:1100},model:{value:t.allProjectShow,callback:function(e){t.allProjectShow=e},expression:"allProjectShow"}},[t.allProjectShow?n("ProjectManagement"):t._e()],1),t._v(" "),n("DrawerOverlay",{attrs:{placement:"right",size:1100},model:{value:t.archivedProjectShow,callback:function(e){t.archivedProjectShow=e},expression:"archivedProjectShow"}},[t.archivedProjectShow?n("ProjectArchived"):t._e()],1),t._v(" "),n("DragBallComponent",{attrs:{distanceLeft:0,distanceTop:60},on:{"on-click":function(e){t.show768Menu=!t.show768Menu}}},[n("div",{staticClass:"manage-mini-menu"},[n("Icon",{attrs:{type:t.show768Menu?"md-close":"md-menu"}}),t._v(" "),n("Badge",{attrs:{count:t.unreadTotal}})],1)])],1)}),[],!1,null,null,null).exports},75225:(t,e,n)=>{"use strict";n.d(e,{Z:()=>k});var r=n(30264),o=n(86877),i=n(20629);const a={name:"WCircle",props:{percent:{type:Number,default:0},size:{type:Number,default:120}},computed:{style:function(){var t=this.size;return this.isNumeric(t)&&(t+="px"),{width:t,height:t}},args:function(){var t=this.percent,e=Math.min(360,3.6*t);return 360==e?e=0:0==e&&(e=360),{x:14,y:14,r:14,start:360,end:e}}},methods:{isNumeric:function(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)},point:function(t,e,n,r){return[(t+Math.sin(r)*n).toFixed(2),(e-Math.cos(r)*n).toFixed(2)]},full:function(t,e,n,r){return r<=0?"M ".concat(t-n," ").concat(e," A ").concat(n," ").concat(n," 0 1 1 ").concat(t+n," ").concat(e," A ").concat(n," ").concat(n," 1 1 1 ").concat(t-n," ").concat(e," Z"):"M ".concat(t-n," ").concat(e," A ").concat(n," ").concat(n," 0 1 1 ").concat(t+n," ").concat(e," A ").concat(n," ").concat(n," 1 1 1 ").concat(t-n," ").concat(e," M ").concat(t-r," ").concat(e," A ").concat(r," ").concat(r," 0 1 1 ").concat(t+r," ").concat(e," A ").concat(r," ").concat(r," 1 1 1 ").concat(t-r," ").concat(e," Z")},part:function(t,e,n,r,o,i){var a=o/360*2*Math.PI,s=i/360*2*Math.PI,u=[this.point(t,e,r,a),this.point(t,e,n,a),this.point(t,e,n,s),this.point(t,e,r,s)],c=s-a>Math.PI?"1":"0";return"M ".concat(u[0][0]," ").concat(u[0][1]," L ").concat(u[1][0]," ").concat(u[1][1]," A ").concat(n," ").concat(n," 0 ").concat(c," 1 ").concat(u[2][0]," ").concat(u[2][1]," L ").concat(u[3][0]," ").concat(u[3][1]," A ").concat(r," ").concat(r," 0 ").concat(c," 0 ").concat(u[0][0]," ").concat(u[0][1]," Z")},arc:function(t){var e=t.x,n=void 0===e?0:e,r=t.y,o=void 0===r?0:r,i=t.R,a=void 0===i?0:i,s=t.r,u=void 0===s?0:s,c=t.start,l=t.end,d=[Math.max(a,u),Math.min(a,u)];if(u=d[1],(a=d[0])<=0)return"";if(c!==+c||l!==+l)return this.full(n,o,a,u);if(Math.abs(c-l)<1e-6)return"";if(Math.abs(c-l)%360<1e-6)return this.full(n,o,a,u);var f=[c%360,l%360];return(c=f[0])>(l=f[1])&&(l+=360),this.part(n,o,a,u,c,l)}}};var s=n(51900);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e180||n>180)&&(e>n?(r=180,o=n*(180/e)):(r=e*(180/n),o=180)),{width:r+"px",height:o+"px"}}return{}},withdraw:function(){var t=this;$A.modalConfirm({content:"确定撤回此信息吗?",okText:"撤回",loading:!0,onOk:function(){t.$store.dispatch("call",{url:"dialog/msg/withdraw",data:{msg_id:t.msgData.id}}).then((function(){$A.messageSuccess("消息已撤回"),t.$store.dispatch("forgetDialogMsg",t.msgData.id),t.$Modal.remove()})).catch((function(e){var n=e.msg;$A.messageError(n,301),t.$Modal.remove()}))}})},viewFile:function(){var t=this.msgData,e=t.id,n=t.dialog_id,r=t.msg;if(["jpg","jpeg","gif","png"].includes(r.ext)){var o=$A.cloneJSON(this.dialogMsgs.filter((function(t){return t.dialog_id===n&&"file"===t.type&&["jpg","jpeg","gif","png"].includes(t.msg.ext)}))).sort((function(t,e){return t.id-e.id})),i=o.findIndex((function(t){return t.id===e}));i>-1?(this.$store.state.previewImageIndex=i,this.$store.state.previewImageList=o.map((function(t){return t.msg.path}))):(this.$store.state.previewImageIndex=0,this.$store.state.previewImageList=[r.path])}else this.$Electron?this.$Electron.sendMessage("windowRouter",{name:"file-msg-"+this.msgData.id,path:"/single/file/msg/"+this.msgData.id,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:"".concat(this.msgData.msg.name," (").concat($A.bytesToSize(this.msgData.msg.size),")"),titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)}}):window.open($A.apiUrl("../single/file/msg/".concat(this.msgData.id)))},downFile:function(){var t=this;$A.modalConfirm({title:"下载文件",content:"".concat(this.msgData.msg.name," (").concat($A.bytesToSize(this.msgData.msg.size),")"),okText:"立即下载",onOk:function(){t.$store.dispatch("downUrl",$A.apiUrl("dialog/msg/download?msg_id=".concat(t.msgData.id)))}})}}};const f=(0,s.Z)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:"dialog-view "+t.msgData.type,attrs:{"data-id":t.msgData.id}},[n("div",{staticClass:"dialog-head"},[n("div",{staticClass:"dialog-content"},["text"===t.msgData.type?n("div",{staticClass:"content-text"},[n("pre",{staticClass:"no-dark-mode"},[t._v(t._s(t.textMsg(t.msgData.msg.text)))])]):"file"===t.msgData.type?n("div",{class:"content-file "+t.msgData.msg.type},[n("div",{staticClass:"dialog-file"},["img"===t.msgData.msg.type?n("img",{staticClass:"file-img",style:t.imageStyle(t.msgData.msg),attrs:{src:t.msgData.msg.thumb},on:{click:t.viewFile}}):n("div",{staticClass:"file-box"},[n("img",{staticClass:"file-thumb",attrs:{src:t.msgData.msg.thumb}}),t._v(" "),n("div",{staticClass:"file-info"},[n("div",{staticClass:"file-name"},[t._v(t._s(t.msgData.msg.name))]),t._v(" "),n("div",{staticClass:"file-size"},[t._v(t._s(t.$A.bytesToSize(t.msgData.msg.size)))])])])])]):"loading"===t.msgData.type?n("div",{staticClass:"content-loading"},[n("Loading")],1):n("div",{staticClass:"content-unknown"},[t._v(t._s(t.$L("未知的消息类型")))])]),t._v(" "),t.showMenu?n("div",{staticClass:"dialog-menu"},[n("div",{staticClass:"menu-icon"},[t.msgData.userid==t.userId?n("Icon",{attrs:{type:"md-undo",title:t.$L("撤回")},on:{click:t.withdraw}}):t._e(),t._v(" "),"file"===t.msgData.type?[n("Icon",{attrs:{type:"md-eye",title:t.$L("查看")},on:{click:t.viewFile}}),t._v(" "),n("Icon",{attrs:{type:"md-arrow-round-down",title:t.$L("下载")},on:{click:t.downFile}})]:t._e()],2)]):t._e()]),t._v(" "),t.msgData.created_at?n("div",{staticClass:"dialog-foot"},[n("div",{staticClass:"time",attrs:{title:t.msgData.created_at}},[t._v(t._s(t.$A.formatTime(t.msgData.created_at)))]),t._v(" "),t.msgData.send>1||"group"==t.dialogType?n("EPopover",{ref:"percent",staticClass:"percent",attrs:{placement:"left-end",width:360,offset:-8},model:{value:t.popperShow,callback:function(e){t.popperShow=e},expression:"popperShow"}},[n("div",{staticClass:"dialog-wrapper-read-poptip-content"},[n("ul",{staticClass:"read overlay-y"},[n("li",{staticClass:"read-title"},[n("em",[t._v(t._s(t.readList.length))]),t._v(t._s(t.$L("已读")))]),t._v(" "),t._l(t.readList,(function(t){return n("li",[n("UserAvatar",{attrs:{userid:t.userid,size:26,showName:""}})],1)}))],2),t._v(" "),n("ul",{staticClass:"unread overlay-y"},[n("li",{staticClass:"read-title"},[n("em",[t._v(t._s(t.unreadList.length))]),t._v(t._s(t.$L("未读")))]),t._v(" "),t._l(t.unreadList,(function(t){return n("li",[n("UserAvatar",{attrs:{userid:t.userid,size:26,showName:""}})],1)}))],2)]),t._v(" "),n("WCircle",{attrs:{slot:"reference",percent:t.msgData.percentage,size:14},slot:"reference"})],1):100===t.msgData.percentage?n("Icon",{staticClass:"done",attrs:{type:"md-done-all"}}):n("Icon",{staticClass:"done",attrs:{type:"md-checkmark"}})],1):n("div",{staticClass:"dialog-foot"},[n("Loading")],1)])}),[],!1,null,null,null).exports;function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e$A.Time()){var n=window.__sendDialogMsg,r=n.msgFile,o=n.msgText;window.__sendDialogMsg=null,this.$nextTick((function(){$A.isArray(r)&&r.length>0?e.sendFileMsg(r):o&&e.sendMsg(o)}))}if(t.query&&t.query._){var i=$A.cloneJSON(t.query);delete i._,this.goForward({query:i},!0)}},immediate:!0},dialogId:{handler:function(t){var e=this;t&&(this.msgNew=0,this.topId=-1,this.visible=!1,this.$store.dispatch("getDialogMsgs",t).then((function(t){e.onToBottom(),e.visible=!0})))},immediate:!0},wsOpenNum:function(t){t<=1||this.$store.dispatch("getDialogMsgs",this.dialogId)}},methods:{sendMsg:function(t){var e=this;if("string"==typeof t&&t&&(this.msgText=t,this.$refs.input.focus()),""!=this.msgText){var n=$A.randomString(16);this.tempMsgs.push({id:n,dialog_id:this.dialogData.id,type:"text",userid:this.userId,msg:{text:this.msgText}}),this.isDesktop||this.$refs.input.blur(),this.onToBottom(),this.onActive(),this.$store.dispatch("call",{url:"dialog/msg/sendtext",data:{dialog_id:this.dialogId,text:this.msgText},method:"post"}).then((function(t){var r=t.data;e.tempMsgs=e.tempMsgs.filter((function(t){return t.id!=n})),e.sendSuccess(r)})).catch((function(t){var r=t.msg;$A.modalError(r),e.tempMsgs=e.tempMsgs.filter((function(t){return t.id!=n}))})),this.msgText=""}},sendFileMsg:function(t){var e=this;t.length>0&&(this.pasteFile=[],this.pasteItem=[],t.some((function(t){var n=new FileReader;n.readAsDataURL(t),n.onload=function(n){var r=n.target;e.pasteFile.push(t),e.pasteItem.push({type:$A.getMiddle(t.type,null,"/"),name:t.name,size:t.size,result:r.result}),e.pasteShow=!0}})))},chatKeydown:function(t){if(13===t.keyCode){if(t.shiftKey)return;t.preventDefault(),this.sendMsg()}},pasteDrag:function(t,e){var n="drag"===e?t.dataTransfer.files:t.clipboardData.files,r=Array.prototype.slice.call(n);r.length>0&&(t.preventDefault(),this.sendFileMsg(r))},chatPasteDrag:function(t,e){this.dialogDrag=!1,this.pasteDrag(t,e)},chatDragOver:function(t,e){var n=this,r=this.__dialogDrag=$A.randomString(8);if(t){if("move"===e.dataTransfer.effectAllowed)return;this.dialogDrag=!0}else setTimeout((function(){r===n.__dialogDrag&&(n.dialogDrag=t)}),150)},pasteSend:function(){var t=this;this.pasteFile.some((function(e){t.$refs.chatUpload.upload(e)}))},chatFile:function(t,e){switch(t){case"progress":this.tempMsgs.push({id:e.tempId,dialog_id:this.dialogData.id,type:"loading",userid:this.userId,msg:{}}),this.isDesktop||this.$refs.input.blur(),this.onToBottom(),this.onActive();break;case"error":this.tempMsgs=this.tempMsgs.filter((function(t){return t.id!=e.tempId}));break;case"success":this.tempMsgs=this.tempMsgs.filter((function(t){return t.id!=e.tempId})),this.sendSuccess(e.data)}},sendSuccess:function(t){var e=this;$A.isArray(t)?t.some((function(t){e.sendSuccess(t)})):(this.$store.dispatch("saveDialogMsg",t),this.$store.dispatch("increaseTaskMsgNum",this.dialogId),this.$store.dispatch("updateDialogLastMsg",t),this.onActive())},chatScroll:function(t){switch(t.directionreal){case"up":t.scrollE<10&&(this.msgNew=0,this.autoBottom=!0);break;case"down":this.autoBottom=!1}t.scale>=1&&(this.msgNew=0,this.autoBottom=!0)},onEventFocus:function(t){this.inputFocus=!0,this.$emit("on-focus",t)},onEventblur:function(t){this.inputFocus=!1,this.$emit("on-blur",t)},onActive:function(){this.$emit("on-active")},onToBottom:function(){this.autoBottom=!0,this.$refs.scroller&&this.$refs.scroller.autoToBottom()},openProject:function(){this.dialogData.group_info&&this.goForward({path:"/manage/project/"+this.dialogData.group_info.id})},openTask:function(){this.dialogData.group_info&&this.$store.dispatch("openTask",this.dialogData.group_info.id)},loadNextPage:function(){var t=this,e=this.dialogMsgList[0].id;this.$store.dispatch("getDialogMoreMsgs",this.dialogId).then((function(){t.$nextTick((function(){t.topId=e,$A.scrollToView(document.getElementById("view_"+e),{behavior:"instant",inline:"start"})}))})).catch((function(){}))},addDialogMsg:function(){var t=this;this.isAutoBottom?this.$nextTick(this.onToBottom):this.$nextTick((function(){t.$refs.scroller&&t.$refs.scroller.scrollInfo().scrollE>10&&t.msgNew++}))}}};const k=(0,s.Z)(C,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.dialogData&&t.dialogData.id?n("div",{staticClass:"dialog-wrapper",on:{drop:function(e){return e.preventDefault(),t.chatPasteDrag(e,"drag")},dragover:function(e){return e.preventDefault(),t.chatDragOver(!0,e)},dragleave:function(e){return e.preventDefault(),t.chatDragOver(!1,e)}}},[t._t("head",(function(){return[n("div",{staticClass:"dialog-nav"},[n("div",{staticClass:"dialog-avatar"},["group"==t.dialogData.type?["project"==t.dialogData.group_type?n("i",{staticClass:"taskfont icon-avatar project"},[t._v("")]):"task"==t.dialogData.group_type?n("i",{staticClass:"taskfont icon-avatar task",class:{completed:t.$A.dialogCompleted(t.dialogData)}},[t._v("")]):n("Icon",{staticClass:"icon-avatar",attrs:{type:"ios-people"}})]:t.dialogData.dialog_user?n("div",{staticClass:"user-avatar"},[n("UserAvatar",{attrs:{userid:t.dialogData.dialog_user.userid,size:42}})],1):n("Icon",{staticClass:"icon-avatar",attrs:{type:"md-person"}})],2),t._v(" "),n("div",{staticClass:"dialog-title"},[n("div",{staticClass:"main-title"},[t._l(t.$A.dialogTags(t.dialogData),(function(e){return"success"!=e.color?[n("Tag",{attrs:{color:e.color,fade:!1}},[t._v(t._s(t.$L(e.text)))])]:t._e()})),t._v(" "),n("h2",[t._v(t._s(t.dialogData.name))]),t._v(" "),t.peopleNum>0?n("em",[t._v("("+t._s(t.peopleNum)+")")]):t._e(),t._v(" "),t.dialogData.top_at?n("label",{staticClass:"top-text"},[t._v(t._s(t.$L("置顶")))]):t._e()],2),t._v(" "),"group"===t.dialogData.type?["project"===t.dialogData.group_type?n("div",{staticClass:"sub-title pointer",on:{click:t.openProject}},[t._v("\n "+t._s(t.$L("项目聊天室"))+" "+t._s(t.$L("打开项目管理"))+"\n ")]):"task"===t.dialogData.group_type?n("div",{staticClass:"sub-title pointer",on:{click:t.openTask}},[t._v("\n "+t._s(t.$L("任务聊天室"))+" "+t._s(t.$L("查看任务详情"))+"\n ")]):t._e()]:t._e()],2)])]})),t._v(" "),n("ScrollerY",{ref:"scroller",staticClass:"dialog-scroller overlay-y",style:{opacity:t.visible?1:0},attrs:{"auto-bottom":t.isAutoBottom,static:""},on:{"on-scroll":t.chatScroll}},[n("div",{ref:"manageList",staticClass:"dialog-list"},[n("ul",[t.dialogData.hasMorePages?n("li",{staticClass:"history",on:{click:t.loadNextPage}},[t._v(t._s(t.$L("加载历史消息")))]):t.dialogData.loading>0&&0===t.dialogMsgList.length?n("li",{staticClass:"loading"},[n("Loading")],1):0===t.dialogMsgList.length?n("li",{staticClass:"nothing"},[t._v(t._s(t.$L("暂无消息")))]):t._e(),t._v(" "),t._l(t.dialogMsgList,(function(e){return n("li",{key:e.id,class:{self:e.userid==t.userId,"history-tip":t.topId==e.id},attrs:{id:"view_"+e.id}},[t.topId==e.id?n("em",{staticClass:"history-text"},[t._v(t._s(t.$L("历史消息")))]):t._e(),t._v(" "),n("div",{staticClass:"dialog-avatar"},[n("UserAvatar",{attrs:{userid:e.userid,tooltipDisabled:e.userid==t.userId,size:30}})],1),t._v(" "),n("DialogView",{attrs:{"msg-data":e,"dialog-type":t.dialogData.type}})],1)})),t._v(" "),t._l(t.tempMsgList,(function(e){return n("li",{key:"tmp_"+e.id,class:{self:e.userid==t.userId},attrs:{id:"tmp_"+e.id}},[n("div",{staticClass:"dialog-avatar"},[n("UserAvatar",{attrs:{userid:e.userid,tooltipDisabled:e.userid==t.userId,size:30}})],1),t._v(" "),n("DialogView",{attrs:{"msg-data":e,"dialog-type":t.dialogData.type}})],1)}))],2)])]),t._v(" "),n("div",{class:["dialog-footer",t.msgNew>0&&t.dialogMsgList.length>0?"newmsg":""],on:{click:t.onActive}},[n("div",{staticClass:"dialog-newmsg",on:{click:t.onToBottom}},[t._v(t._s(t.$L("有"+t.msgNew+"条新消息")))]),t._v(" "),t._t("inputBefore"),t._v(" "),n("DragInput",{ref:"input",staticClass:"dialog-input",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:3},maxlength:2e4,placeholder:t.$L("输入消息...")},on:{"on-focus":t.onEventFocus,"on-blur":t.onEventblur,"on-keydown":t.chatKeydown,"on-input-paste":t.pasteDrag},model:{value:t.msgText,callback:function(e){t.msgText=e},expression:"msgText"}}),t._v(" "),""!=t.msgText?n("div",{staticClass:"dialog-send",on:{click:t.sendMsg}},[n("Icon",{attrs:{type:"md-send"}})],1):t._e(),t._v(" "),n("DialogUpload",{ref:"chatUpload",staticClass:"chat-upload",attrs:{"dialog-id":t.dialogId},on:{"on-progress":function(e){return t.chatFile("progress",e)},"on-success":function(e){return t.chatFile("success",e)},"on-error":function(e){return t.chatFile("error",e)}}})],2),t._v(" "),t.dialogDrag?n("div",{staticClass:"drag-over",on:{click:function(e){t.dialogDrag=!1}}},[n("div",{staticClass:"drag-text"},[t._v(t._s(t.$L("拖动到这里发送")))])]):t._e(),t._v(" "),n("Modal",{attrs:{title:t.$L(t.pasteTitle),"cancel-text":t.$L("取消"),"ok-text":t.$L("发送"),"enter-ok":!0},on:{"on-ok":t.pasteSend},model:{value:t.pasteShow,callback:function(e){t.pasteShow=e},expression:"pasteShow"}},[n("div",{staticClass:"dialog-wrapper-paste"},[t._l(t.pasteItem,(function(e){return["image"==e.type?n("img",{attrs:{src:e.result}}):n("div",[t._v(t._s(t.$L("文件"))+": "+t._s(e.name)+" ("+t._s(t.$A.bytesToSize(e.size))+")")])]}))],2)])],2):t._e()}),[],!1,null,null,null).exports},85782:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0)}},methods:{logDate:function(t){return $A.formatDate("m-d")==t.ymd?t.ymd+" "+this.$L("今天"):t.key},getLists:function(t){var e=this;!0===t&&(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((function(n){var r=n.data;e.loadIng--,!0===t&&(e.lists=[]),r.data.some((function(t){var n=t.time,r=n.ymd+" "+n.week,o=e.lists.find((function(t){return t.key==r}));if(o){var i=o.lists.find((function(e){return e.userid==t.userid}));i?i.lists.push(t):o.lists.push({userid:t.userid,lists:[t]})}else e.lists.push({key:r,ymd:t.ymd,lists:[{userid:t.userid,lists:[t]}]})})),e.hasMorePages=r.current_page ")),i.push(t("span",{class:"change-value"},"".concat(u||"-")))):i.push(t("span",{class:"change-value"},u||"-"))}if(o.userid){var c=$A.isArray(o.userid)?o.userid:[o.userid],l=[];c.some((function(e){l.push(t("UserAvatar",{props:{size:18,userid:e}}))})),l.length>0&&i.push(t("div",{class:"detail-user"},[t("div",{class:"detail-user-wrap"},l)]))}}return t("span",{class:"log-text"},i)},operationList:function(t){var e=t.id,n=t.record,r=[];if(!$A.isJson(n))return r;if(this.taskId>0&&$A.isJson(n.flow)){var o=$A.getMiddle(n.flow.flow_item_name,"|");o&&r.push({id:e,button:"重置",content:"确定重置为【".concat(o,"】吗?")})}return r},onOperation:function(t){var e=this;$A.modalConfirm({content:t.content,loading:!0,onOk:function(){e.$store.dispatch("call",{url:"project/task/resetfromlog",data:{id:t.id}}).then((function(t){var n=t.data,r=t.msg;$A.messageSuccess(r),e.$Modal.remove(),e.$store.dispatch("saveTask",n),e.getLists(!0)})).catch((function(t){var n=t.msg;$A.modalError(n,301),e.$Modal.remove()}))}})},openTask:function(t){this.$store.dispatch("openTask",t)}}};const a=(0,n(51900).Z)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["project-log",0==t.taskId?"is-drawer":""]},[n("div",{staticClass:"log-title"},[t._v(t._s(t.$L("项目动态")))]),t._v(" "),n("ul",{staticClass:"logs-activity"},[t._l(t.lists,(function(e){return n("li",[n("div",{staticClass:"logs-date"},[t._v(t._s(t.logDate(e)))]),t._v(" "),n("div",{staticClass:"logs-section"},[n("Timeline",t._l(e.lists,(function(e,r){return n("TimelineItem",{key:r},[n("div",{staticClass:"logs-dot",attrs:{slot:"dot"},slot:"dot"},[e.userid?n("UserAvatar",{attrs:{userid:e.userid,size:18,showName:""}}):n("div",{staticClass:"avatar-wrapper common-avatar"},[n("EAvatar",{attrs:{size:18}},[t._v("A")]),t._v(" "),n("div",{staticClass:"avatar-name auto"},[t._v(t._s(t.$L("系统")))])],1)],1),t._v(" "),t._l(e.lists,(function(e){return[n("div",{staticClass:"log-summary"},[n("ProjectLogDetail",{attrs:{render:t.logDetail,item:e}}),t._v(" "),t.operationList(e).length>0?n("span",{staticClass:"log-operation"},t._l(t.operationList(e),(function(e,r){return n("Button",{key:r,attrs:{size:"small"},on:{click:function(n){return t.onOperation(e)}}},[t._v(t._s(e.button))])})),1):t._e(),t._v(" "),n("span",{staticClass:"log-time"},[t._v(t._s(e.time.ymd)+" "+t._s(e.time.segment)+" "+t._s(e.time.hi))])],1),t._v(" "),e.project_task?n("div",{staticClass:"log-task"},[n("em",{on:{click:function(n){return t.openTask(e.project_task)}}},[t._v(t._s(t.$L("关联任务"))+": "+t._s(e.project_task.name))])]):t._e()]}))],2)})),1)],1)])})),t._v(" "),t.loadIng>0&&t.showLoad?n("li",{staticClass:"logs-loading"},[n("Loading")],1):t.hasMorePages?n("li",{staticClass:"logs-more",on:{click:t.getMore}},[t._v(t._s(t.$L("加载更多")))]):0==t.totalNum?n("li",{staticClass:"logs-none",on:{click:function(e){return t.getLists(!0)}}},[t._v(t._s(t.$L("没有任何动态")))]):t._e()],2)])}),[],!1,null,null,null).exports},34910:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});const r={name:"ReportDetail",props:{data:{default:{}}},watch:{"data.id":{handler:function(t){t>0&&this.sendRead()},immediate:!0}},methods:{sendRead:function(){this.$store.dispatch("call",{url:"report/read",data:{ids:[this.data.id]}}).then((function(){})).catch((function(){}))}}};const o=(0,n(51900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"report-detail"},[n("div",{staticClass:"report-title"},[t._v(t._s(t.data.title))]),t._v(" "),n("div",{staticClass:"report-detail-context"},[n("Form",{staticClass:"report-form",attrs:{"label-width":"auto",inline:""}},[n("FormItem",{attrs:{label:t.$L("汇报人")}},[n("UserAvatar",{attrs:{userid:t.data.userid,size:28}})],1),t._v(" "),n("FormItem",{attrs:{label:t.$L("提交时间")}},[t._v("\n "+t._s(t.data.created_at)+"\n ")]),t._v(" "),n("FormItem",{attrs:{label:t.$L("汇报对象")}},t._l(t.data.receives_user,(function(t,e){return n("UserAvatar",{key:e,attrs:{userid:t.userid,size:28}})})),1)],1),t._v(" "),n("Form",{staticClass:"report-form",attrs:{"label-width":"auto"}},[n("FormItem",{attrs:{label:t.$L("汇报内容")}},[n("div",{staticClass:"report-content",domProps:{innerHTML:t._s(t.data.content)}})])],1)],1)])}),[],!1,null,null,null).exports},22371:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(73701),o=n(20629);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const s={name:"ReportEdit",components:{TEditor:function(){return n.e(500).then(n.bind(n,89500))},UserInput:r.Z},props:{id:{default:0}},data:function(){return{reportData:{title:"",content:"",type:"weekly",receive:[],id:0,offset:0},prevCycleText:"",nextCycleText:""}},watch:{id:function(t){this.id>0?this.getDetail(t):(this.reportData.offset=0,this.reportData.type="weekly",this.reportData.receive=[],this.getTemplate())}},computed:function(t){for(var e=1;e0?$A.modalConfirm({title:"覆盖提交",content:"你已提交过此日期的报告,是否覆盖提交?",loading:!0,onOk:function(){t.doSubmit(!0)}}):this.doSubmit()},doSubmit:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$store.dispatch("call",{url:"report/store",data:this.reportData,method:"post"}).then((function(n){var r=n.data,o=n.msg;e&&t.$Modal.remove(),t.reportData.offset=0,t.reportData.type="weekly",t.reportData.receive=[],t.getTemplate(),$A.messageSuccess(o),t.$emit("saveSuccess",r)})).catch((function(n){var r=n.msg;e&&t.$Modal.remove(),$A.messageError(r)}))},getTemplate:function(){var t=this;this.$store.dispatch("call",{url:"report/template",data:{type:this.reportData.type,offset:this.reportData.offset,id:this.id}}).then((function(e){var n=e.data;n.id?(t.reportData.id=n.id,t.id>0?t.getDetail(n.id):(t.reportData.title=n.title,t.reportData.content=n.content)):(t.reportData.id=0,t.reportData.title=n.title,t.reportData.content=n.content)})).catch((function(t){var e=t.msg;$A.messageError(e)}))},typeChange:function(t){this.reportData.offset=0,"weekly"===t?(this.prevCycleText=this.$L("上一周"),this.nextCycleText=this.$L("下一周")):(this.prevCycleText=this.$L("上一天"),this.nextCycleText=this.$L("下一天")),this.getTemplate()},getDetail:function(t){var e=this;this.$store.dispatch("call",{url:"report/detail",data:{id:t}}).then((function(n){var r=n.data;e.reportData.title=r.title,e.reportData.content=r.content,e.reportData.receive=r.receives_user.map((function(t){return t.userid})),e.reportData.type=r.type_val,e.reportData.id=t})).catch((function(t){var e=t.msg;$A.messageError(e)}))},prevCycle:function(){this.reportData.offset-=1,this.reReportData(),this.getTemplate()},nextCycle:function(){this.reportData.offset<0&&(this.reportData.offset+=1),this.reReportData(),this.getTemplate()},getLastSubmitter:function(){var t=this;this.$store.dispatch("call",{url:"report/last_submitter"}).then((function(e){var n=e.data;t.reportData.receive=n})).catch((function(t){var e=t.msg;$A.messageError(e)}))},reReportData:function(){this.reportData.title="",this.reportData.content="",this.reportData.receive=[],this.reportData.id=0}}};const u=(0,n(51900).Z)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Form",{staticClass:"report-edit",attrs:{"label-width":"auto"},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:t.$L("汇报类型")}},[n("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(e){t.$set(t.reportData,"type",e)},expression:"reportData.type"}},[n("Radio",{attrs:{label:"weekly",disabled:t.id>0&&"daily"==t.reportData.type}},[t._v(t._s(t.$L("周报")))]),t._v(" "),n("Radio",{attrs:{label:"daily",disabled:t.id>0&&"weekly"==t.reportData.type}},[t._v(t._s(t.$L("日报")))])],1),t._v(" "),0===t.id?n("ButtonGroup",{staticClass:"report-buttongroup"},[n("ETooltip",{attrs:{content:t.prevCycleText,placement:"bottom"}},[n("Button",{attrs:{type:"primary"},on:{click:t.prevCycle}},[n("Icon",{attrs:{type:"ios-arrow-back"}})],1)],1),t._v(" "),n("div",{staticClass:"report-buttongroup-vertical"}),t._v(" "),n("ETooltip",{attrs:{disabled:t.reportData.offset>=0,content:t.nextCycleText,placement:"bottom"}},[n("Button",{attrs:{type:"primary",disabled:t.reportData.offset>=0},on:{click:t.nextCycle}},[n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)],1)],1):t._e()],1),t._v(" "),n("FormItem",{attrs:{label:t.$L("汇报名称")}},[n("Input",{attrs:{disabled:""},model:{value:t.reportData.title,callback:function(e){t.$set(t.reportData,"title",e)},expression:"reportData.title"}})],1),t._v(" "),n("FormItem",{attrs:{label:t.$L("汇报对象")}},[n("div",{staticClass:"report-users"},[n("UserInput",{attrs:{disabledChoice:[t.userId],placeholder:t.$L("选择接收人"),transfer:!1},model:{value:t.reportData.receive,callback:function(e){t.$set(t.reportData,"receive",e)},expression:"reportData.receive"}}),t._v(" "),n("a",{staticClass:"report-user-link",attrs:{href:"javascript:void(0);"},on:{click:t.getLastSubmitter}},[n("Icon",{attrs:{type:"ios-share-outline"}}),t._v(t._s(t.$L("使用我上次的汇报对象"))+"\n ")],1)],1)]),t._v(" "),n("FormItem",{staticClass:"report-content-editor",attrs:{label:t.$L("汇报内容")}},[n("TEditor",{attrs:{height:"100%"},model:{value:t.reportData.content,callback:function(e){t.$set(t.reportData,"content",e)},expression:"reportData.content"}})],1),t._v(" "),n("FormItem",{staticClass:"report-foot"},[n("Button",{staticClass:"report-bottom",attrs:{type:"primary"},on:{click:t.handleSubmit}},[t._v(t._s(t.$L(t.id>0?"修改":"提交")))])],1)],1)}),[],!1,null,null,null).exports},19246:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(89500),o=n(20629);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e0)return n}return 0},showAddAssist:function(){return!this.addData.owner.includes(this.userId)}}),watch:{value:function(t){var e=this;t?(this.ready=!0,this.initCascaderData(),this.initProjectData(),this.$nextTick((function(){e.$refs.input.focus()}))):(this.beforeClose.some((function(t){"function"==typeof t&&t()})),this.beforeClose=[],this.taskTimeOpen=!1)},"addData.project_id":function(t){t>0&&$A.setStorage("cacheAddTaskProjectId",t)},"addData.column_id":function(t){var e=this,n=this.addData.project_id;this.$nextTick((function(){n&&t?e.$set(e.addData,"cascader",[n,t]):e.$set(e.addData,"cascader",[])})),t>0&&$A.setStorage("cacheAddTaskColumnId",t)}},methods:{initLanguage:function(){},initCascaderData:function(){var t=this;this.cascaderData=this.cacheProjects.map((function(e){var n=t.cacheColumns.filter((function(t){return t.project_id==e.id})).map((function(t){return{value:t.id,label:t.name}})),r={value:e.id,label:e.name,children:n};return 0==n.length&&(r.loading=!1),r}))},initProjectData:function(){var t=this,e=this.addData.column_id;if(e){var n=this.cacheColumns.find((function(t){return t.id==e}));n&&(this.addData.project_id=n.project_id,this.addData.column_id=n.id)}else{var r=$A.getStorageInt("cacheAddTaskProjectId"),o=$A.getStorageInt("cacheAddTaskColumnId"),i=this.cacheProjects.find((function(e){return e.id==t.projectId}))||this.cacheProjects.find((function(t){return t.id==r}))||this.cacheProjects.find((function(t){return t.id>0}));if(i){var a=this.cacheColumns.find((function(t){var e=t.project_id,n=t.id;return e==i.id&&n==o}))||this.cacheColumns.find((function(t){return t.project_id==i.id}));a?(this.addData.project_id=a.project_id,this.addData.column_id=a.id):this.$store.dispatch("getColumns",i.id).then((function(){(a=t.cacheColumns.find((function(t){var e=t.project_id,n=t.id;return e==i.id&&n==o}))||t.cacheColumns.find((function(t){return t.project_id==i.id})))&&(t.addData.project_id=a.project_id,t.addData.column_id=a.id)})).catch((function(){}))}}},taskTimeOpenChange:function(t){this.taskTimeOpen=t},taskTimeChange:function(t){var e=$A.date2string(t,"Y-m-d H:i");e[0]&&e[1]&&$A.rightExists(e[0],"00:00")&&$A.rightExists(e[1],"00:00")&&this.$set(this.addData,"times",[e[0],e[1].replace("00:00","23:59")])},onKeydown:function(t){if(13===t.keyCode){if(t.shiftKey)return;t.preventDefault(),this.onAdd()}},addSubTask:function(){""!==this.subName.trim()&&(this.addData.subtasks.push({name:this.subName.trim(),owner:[this.userId],times:[]}),this.subName="")},taskPriorityContent:function(t){var e=$A.runNum(t.days);return e<=0?t.name+" ("+this.$L("无时间限制")+")":t.name+" ("+e+this.$L("天")+")"},choosePriority:function(t){var e=new Date,n=$A.runNum(t.days);if(n>0){var r=new Date((new Date).setDate(e.getDate()+n));this.$set(this.addData,"times",$A.date2string([e,r]))}else this.$set(this.addData,"times",[]);this.$set(this.addData,"p_level",t.priority),this.$set(this.addData,"p_name",t.name),this.$set(this.addData,"p_color",t.color)},defaultPriority:function(){0!==this.taskPriority.length&&(this.addData.p_name||this.choosePriority(this.taskPriority[0]))},cascaderLoadData:function(t,e){t.loading=!0,this.$store.dispatch("getColumns",t.value).then((function(n){t.children=n.map((function(t){return{value:t.id,label:t.name}})),t.loading=!1,e()})).catch((function(){t.loading=!1,e()}))},cascaderChange:function(t){t[1]&&this.$set(this.addData,"column_id",t[1])},cascaderInputChange:function(t){var e=this;this.cascaderValue=t||"",!0!==this.cascaderAlready[this.cascaderValue]&&(this.cascaderAlready[this.cascaderValue]=!0,setTimeout((function(){e.cascaderLoading++}),1e3),this.$store.dispatch("getProjects",{keys:{name:this.cascaderValue},getcolumn:"yes"}).then((function(){e.cascaderLoading--,e.initCascaderData()})).catch((function(){e.cascaderLoading--})))},setData:function(t){void 0!==t.beforeClose&&(this.beforeClose.push(t.beforeClose),delete t.beforeClose),this.addData=Object.assign({},this.addData,t)},onAdd:function(t){var e=this;this.addData.name?(this.loadIng++,this.$store.dispatch("taskAdd",this.addData).then((function(n){var r=n.msg;e.loadIng--,$A.messageSuccess(r),!0===t?(e.addData=Object.assign({},e.addData,{name:"",content:"",subtasks:[]}),e.$refs.input.focus()):(e.addData={cascader:[],name:"",content:"",owner:[],add_assist:1,column_id:0,times:[],subtasks:[],p_level:0,p_name:"",p_color:""},e.close())})).catch((function(t){var n=t.msg;e.loadIng--,$A.modalError(n)}))):$A.messageError("任务描述不能为空")},close:function(){this.$emit("input",!this.value)}}};const c=(0,n(51900).Z)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.ready?n("div",{staticClass:"task-add"},[n("div",{staticClass:"head",class:{empty:0==t.addData.cascader.length,visible:t.cascaderShow}},[n("Cascader",{attrs:{data:t.cascaderData,clearable:!1,placeholder:t.$L("请选择项目"),"load-data":t.cascaderLoadData,filterable:""},on:{"on-change":t.cascaderChange,"on-input-change":t.cascaderInputChange,"on-visible-change":function(e){t.cascaderShow=!t.cascaderShow}},model:{value:t.addData.cascader,callback:function(e){t.$set(t.addData,"cascader",e)},expression:"addData.cascader"}})],1),t._v(" "),n("div",{staticClass:"task-add-form"},[n("div",{staticClass:"title"},[n("Input",{ref:"input",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:8},maxlength:255,placeholder:t.$L("任务描述")},on:{"on-keydown":t.onKeydown},model:{value:t.addData.name,callback:function(e){t.$set(t.addData,"name",e)},expression:"addData.name"}})],1),t._v(" "),n("div",{staticClass:"desc"},[n("TEditor",{attrs:{plugins:t.taskPlugins,options:t.taskOptions,"option-full":t.taskOptionFull,placeholder:t.$L(t.isDesktop?"详细描述,选填...(点击右键使用工具栏)":"详细描述,选填..."),placeholderFull:t.$L("详细描述..."),inline:""},model:{value:t.addData.content,callback:function(e){t.$set(t.addData,"content",e)},expression:"addData.content"}})],1),t._v(" "),n("div",{staticClass:"advanced-option"},[n("Button",{class:{advanced:t.advanced},on:{click:function(e){t.advanced=!t.advanced}}},[t._v(t._s(t.$L("高级选项")))]),t._v(" "),n("ul",{staticClass:"advanced-priority"},t._l(t.taskPriority,(function(e,r){return n("li",{key:r},[n("ETooltip",{attrs:{content:t.taskPriorityContent(e)}},[n("i",{staticClass:"taskfont",style:{color:e.color},domProps:{innerHTML:t._s(t.addData.p_name==e.name?"":"")},on:{click:function(n){return t.choosePriority(e)}}})])],1)})),0),t._v(" "),t.taskDays>0?n("DatePicker",{attrs:{open:t.taskTimeOpen,options:t.timeOptions,placeholder:t.$L("选择计划范围"),format:"yyyy/MM/dd HH:mm",type:"datetimerange",placement:"bottom"},on:{"on-change":function(e){return t.taskTimeChange(t.addData.times)},"on-open-change":t.taskTimeOpenChange},model:{value:t.addData.times,callback:function(e){t.$set(t.addData,"times",e)},expression:"addData.times"}},[n("div",{staticClass:"advanced-time",on:{click:function(e){return t.taskTimeOpenChange(!t.taskTimeOpen)}}},[n("Icon",{attrs:{type:"ios-clock-outline"}}),t._v(" "),n("em",{style:t.addData.p_color?{backgroundColor:t.addData.p_color}:{},attrs:{type:"primary"}},[t._v(t._s(t.taskDays))])],1)]):t._e()],1)]),t._v(" "),t.advanced?n("Form",{staticClass:"task-add-advanced",attrs:{"label-width":"auto"},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:t.$L("计划时间")}},[n("DatePicker",{attrs:{options:t.timeOptions,editable:!1,placeholder:t.$L("选择计划范围"),format:"yyyy/MM/dd HH:mm",type:"datetimerange"},on:{"on-change":function(e){return t.taskTimeChange(t.addData.times)}},model:{value:t.addData.times,callback:function(e){t.$set(t.addData,"times",e)},expression:"addData.times"}})],1),t._v(" "),n("FormItem",{attrs:{label:t.$L("任务负责人")}},[n("UserInput",{attrs:{"multiple-max":10,placeholder:t.$L("选择任务负责人"),"project-id":t.addData.project_id,transfer:!1},model:{value:t.addData.owner,callback:function(e){t.$set(t.addData,"owner",e)},expression:"addData.owner"}}),t._v(" "),t.showAddAssist?n("div",{staticClass:"task-add-assist"},[n("Checkbox",{attrs:{"true-value":1,"false-value":0},model:{value:t.addData.add_assist,callback:function(e){t.$set(t.addData,"add_assist",e)},expression:"addData.add_assist"}},[t._v(t._s(t.$L("加入任务协助人员列表")))]),t._v(" "),n("ETooltip",{attrs:{content:t.$L("你不是任务负责人时建议加入任务协助人员列表")}},[n("Icon",{attrs:{type:"ios-alert-outline"}})],1)],1):t._e()],1),t._v(" "),n("div",{staticClass:"subtasks"},[t.addData.subtasks.length>0?n("div",{staticClass:"sublist"},[n("Row",[n("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("任务描述")))]),t._v(" "),n("Col",{attrs:{span:"6"}},[t._v(t._s(t.$L("计划时间")))]),t._v(" "),n("Col",{attrs:{span:"6"}},[t._v(t._s(t.$L("负责人")))])],1),t._v(" "),t._l(t.addData.subtasks,(function(e,r){return n("Row",{key:r},[n("Col",{attrs:{span:"12"}},[n("Input",{attrs:{maxlength:255,clearable:""},on:{"on-clear":function(e){return t.addData.subtasks.splice(r,1)}},model:{value:e.name,callback:function(n){t.$set(e,"name",n)},expression:"item.name"}})],1),t._v(" "),n("Col",{attrs:{span:"6"}},[n("DatePicker",{attrs:{options:t.timeOptions,editable:!1,placeholder:t.$L("选择时间"),format:"yyyy/MM/dd HH:mm",type:"datetimerange"},on:{"on-change":function(n){return t.taskTimeChange(e.times)}},model:{value:e.times,callback:function(n){t.$set(e,"times",n)},expression:"item.times"}})],1),t._v(" "),n("Col",{attrs:{span:"6"}},[n("UserInput",{attrs:{"multiple-max":1,placeholder:t.$L("选择负责人"),"project-id":t.addData.project_id,transfer:!1},model:{value:e.owner,callback:function(n){t.$set(e,"owner",n)},expression:"item.owner"}})],1)],1)}))],2):t._e(),t._v(" "),n("Input",{class:["enter-input",""==t.subName?"empty":""],attrs:{type:"text",placeholder:t.$L("+ 输入子任务,回车添加子任务")},on:{"on-enter":t.addSubTask},model:{value:t.subName,callback:function(e){t.subName=e},expression:"subName"}})],1)],1):t._e(),t._v(" "),n("div",{staticClass:"ivu-modal-footer"},[n("div",{staticClass:"adaption"},[n("Button",{attrs:{type:"default"},on:{click:t.close}},[t._v(t._s(t.$L("取消")))]),t._v(" "),n("ButtonGroup",{staticClass:"page-manage-add-task-button-group"},[n("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onAdd}},[t._v(t._s(t.$L("添加任务")))]),t._v(" "),n("Dropdown",{on:{"on-click":function(e){return t.onAdd(!0)}}},[n("Button",{attrs:{type:"primary"}},[n("Icon",{attrs:{type:"ios-arrow-down"}})],1),t._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{attrs:{disabled:t.loadIng>0}},[t._v(t._s(t.$L("提交继续添加")))])],1)],1)],1)],1)])],1):t._e()}),[],!1,null,null,null).exports},66237:(t,e,n)=>{"use strict";n.d(e,{Z:()=>b});var r=n(20629),o=n(89500),i=n(25199),a=n(73701);const s={name:"TaskUpload",props:{maxSize:{type:Number,default:204800}},data:function(){return{uploadFormat:["jpg","jpeg","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:function(t){$A.modalWarning({title:"文件格式不正确",content:"文件 "+t.name+" 格式不正确,仅支持发送:"+this.uploadFormat.join(",")})},handleMaxSize:function(t){$A.modalWarning({title:"超出文件大小限制",content:"文件 "+t.name+" 太大,不能发送超过"+$A.bytesToSize(1024*this.maxSize)+"。"})},handleBeforeUpload:function(t){return this.$emit("on-select-file",t),!1},handleClick:function(){this.$refs.upload.handleClick()}}};var u=n(51900);const c=(0,u.Z)(s,(function(){var t=this,e=t.$createElement;return(t._self._c||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}})}),[],!1,null,null,null).exports;var l=n(75225),d=n(85782),f=n(80641),m=n(21929);function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e0&&!this.windowMax768},dialogStyle:function(){var t=this.innerHeight,e=this.hasOpenDialog;return t&&e?{minHeight:t-(t>900?200:70)-48+"px"}:{}},cutTime:function(){var t=this.taskDetail,e=$A.Date(t.start_at,!0),n=$A.Date(t.end_at,!0);return $A.formatDate("Y/m/d",e)==$A.formatDate("Y/m/d",n)?$A.formatDate("Y/m/d H:i",e)+" ~ "+$A.formatDate("H:i",n):$A.formatDate("Y",e)==$A.formatDate("Y",n)?($A.formatDate("Y/m/d H:i",e)+" ~ "+$A.formatDate("m/d H:i",n)).replace(/( 00:00| 23:59)/g,""):($A.formatDate("Y/m/d H:i",e)+" ~ "+$A.formatDate("Y/m/d H:i",n)).replace(/( 00:00| 23:59)/g,"")},getOwner:function(){var t=this.taskDetail;return $A.isArray(t.task_user)?t.task_user.filter((function(t){return 1===t.owner})).sort((function(t,e){return t.id-e.id})):[]},getAssist:function(){var t=this.taskDetail;return $A.isArray(t.task_user)?t.task_user.filter((function(t){return 1!==t.owner})).sort((function(t,e){return t.id-e.id})):[]},menuList:function(){var t=this.taskDetail,e=[];return t.p_name||e.push({command:"priority",icon:"",name:"优先级"}),$A.isArray(t.task_user)&&t.task_user.find((function(t){return 1!==t.owner}))||e.push({command:"assist",icon:"",name:"协助人员"}),t.end_at||e.push({command:"times",icon:"",name:"截止时间"}),0==this.fileList.length&&e.push({command:"file",icon:"",name:"附件"}),0==this.subList.length&&e.push({command:"subtask",icon:"",name:"子任务"}),e}}),watch:{openTask:{handler:function(t){var e=this;this.taskDetail=$A.cloneJSON(t),this.$nextTick((function(){e.$refs.name&&e.$refs.name.resizeTextarea()}))},immediate:!0,deep:!0},taskId:{handler:function(t){t>0?this.ready=!0:(this.timeOpen=!1,this.timeForce=!1,this.assistForce=!1,this.addsubForce=!1,this.receiveShow=!1,this.$refs.owner&&this.$refs.owner.handleClose(),this.$refs.assist&&this.$refs.assist.handleClose())},immediate:!0},receiveShow:function(t){t&&(this.timeValue=this.taskDetail.end_at?[this.taskDetail.start_at,this.taskDetail.end_at]:[])}},methods:{innerHeightListener:function(){this.innerHeight=Math.min(1100,window.innerHeight)},within24Hours:function(t){return $A.Date(t,!0)-this.nowTime<86400},expiresFormat:function(t){return $A.countDownFormat(t,this.nowTime)},isOverdue:function(t){return!!t.overdue||$A.Date(t.end_at,!0)0)return this.receiveShow=!1,void $A.messageError("任务已被领取");var r=$A.date2string(this.timeValue,"Y-m-d H:i");if(!r[0]||!r[1])return void $A.messageError("请设置计划时间");$A.rightExists(r[0],"00:00")&&$A.rightExists(r[1],"00:00")&&(r[1]=r[1].replace("00:00","23:59")),n.times=r,n.owner=this.ownerData.owner_userid=[this.userId]}$A.jsonStringify(this.taskDetail.owner_userid)!==$A.jsonStringify(this.ownerData.owner_userid)&&(0==$A.count(n.owner)&&(n.owner=""),this.ownerLoad++,this.$store.dispatch("taskUpdate",n).then((function(t){var n=t.msg;$A.messageSuccess(n),e.ownerLoad--,e.receiveShow=!1,e.$store.dispatch("getTaskOne",e.taskDetail.id).catch((function(){}))})).catch((function(t){var n=t.msg;$A.modalError(n),e.ownerLoad--,e.receiveShow=!1})))},openAssist:function(){var t=this.getAssist.map((function(t){return t.userid}));this.$set(this.taskDetail,"assist_userid",t),this.$set(this.assistData,"assist_userid",t),this.$set(this.assistData,"disabled",this.getOwner.map((function(t){return t.userid})))},onAssist:function(){var t=this;if($A.jsonStringify(this.taskDetail.assist_userid)!==$A.jsonStringify(this.assistData.assist_userid)){var e=this.assistData.assist_userid;0===e.length&&(e=!1),this.assistLoad++,this.$store.dispatch("taskUpdate",{task_id:this.taskDetail.id,assist:e}).then((function(e){var n=e.msg;$A.messageSuccess(n),t.assistLoad--,t.$store.dispatch("getTaskOne",t.taskDetail.id).catch((function(){}))})).catch((function(e){var n=e.msg;$A.modalError(n),t.assistLoad--}))}},openTime:function(){this.timeOpen=!this.timeOpen,this.timeOpen&&(this.timeValue=this.taskDetail.end_at?[this.taskDetail.start_at,this.taskDetail.end_at]:[])},timeChange:function(t){t||(this.timeOpen=!1)},timeClear:function(){this.updateData("times",{start_at:!1,end_at:!1}),this.timeOpen=!1},timeOk:function(){var t=$A.date2string(this.timeValue,"Y-m-d H:i");t[0]&&t[1]&&$A.rightExists(t[0],"00:00")&&$A.rightExists(t[1],"00:00")&&(t[1]=t[1].replace("00:00","23:59")),this.updateData("times",{start_at:t[0],end_at:t[1]}),this.timeOpen=!1},addsubOpen:function(){var t=this;this.addsubShow=!0,this.$nextTick((function(){t.$refs.addsub.focus()}))},addsubChackClose:function(){""==this.addsubName&&(this.addsubShow=!1)},addsubKeydown:function(t){if(13===t.keyCode){if(t.shiftKey||this.addsubLoad>0)return;t.preventDefault(),this.onAddsub()}},onAddsub:function(){var t=this;""!=this.addsubName?(this.addsubLoad++,this.$store.dispatch("taskAddSub",{task_id:this.taskDetail.id,name:this.addsubName}).then((function(e){var n=e.msg;$A.messageSuccess(n),t.addsubLoad--,t.addsubName=""})).catch((function(e){var n=e.msg;$A.modalError(n),t.addsubLoad--}))):$A.messageError("任务描述不能为空")},getLogLists:function(){"log"==this.navActive&&this.$refs.log.getLists(!0)},logLoadChange:function(t){this.logLoadIng=t},dropAdd:function(t){var e=this;switch(t){case"priority":this.$set(this.taskDetail,"p_name",this.$L("未设置")),this.$nextTick((function(){e.$refs.priority.show()}));break;case"assist":this.assistForce=!0,this.openAssist(),this.$nextTick((function(){e.$refs.assist.handleClick()}));break;case"times":this.timeForce=!0,this.$nextTick((function(){e.openTime()}));break;case"file":this.$refs.upload.handleClick();break;case"subtask":this.addsubForce=!0,this.$nextTick((function(){e.addsubOpen()}))}},msgKeydown:function(t){if(13===t.keyCode){if(t.shiftKey)return;t.preventDefault(),this.msgText&&this.msgDialog()}},msgDialog:function(){var t=this;this.sendLoad>0||(this.sendLoad++,this.$store.dispatch("call",{url:"project/task/dialog",data:{task_id:this.taskDetail.id}}).then((function(e){var n=e.data;t.$store.dispatch("saveTask",n),t.$store.dispatch("getDialogOne",n.dialog_id).then((function(){t.sendLoad--,$A.isSubElectron?t.resizeDialog().then((function(){t.sendDialogMsg()})):t.$nextTick((function(){t.windowMax768?(window.__sendDialogMsg={time:$A.Time()+10,msgText:t.msgText,msgFile:t.msgFile},t.msgFile=[],t.msgText="",t.goForward({name:"manage-messenger",query:{_:$A.randomString(6)}}),$A.setStorage("messenger::dialogId",n.dialog_id),t.$store.state.dialogOpenId=n.dialog_id,t.$store.dispatch("openTask",0)):t.sendDialogMsg()}))})).catch((function(e){var n=e.msg;t.sendLoad--,$A.modalError(n)}))})).catch((function(e){var n=e.msg;t.sendLoad--,$A.modalError(n)})))},sendDialogMsg:function(){this.msgFile.length>0?this.$refs.dialog.sendFileMsg(this.msgFile):this.msgText&&this.$refs.dialog.sendMsg(this.msgText),this.msgFile=[],this.msgText=""},msgPasteDrag:function(t,e){var n="drag"===e?t.dataTransfer.files:t.clipboardData.files;this.msgFile=Array.prototype.slice.call(n),this.msgFile.length>0&&(t.preventDefault(),this.msgDialog())},taskPasteDrag:function(t,e){this.dialogDrag=!1,this.msgPasteDrag(t,e)},taskDragOver:function(t,e){var n=this,r=this.__dialogDrag=$A.randomString(8);if(t){if("move"===e.dataTransfer.effectAllowed)return;this.dialogDrag=!0}else setTimeout((function(){r===n.__dialogDrag&&(n.dialogDrag=t)}),150)},onSelectFile:function(t){this.msgFile=[t],this.msgDialog()},deleteFile:function(t){var e=this;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((function(t){var n=t.msg;$A.modalError(n),e.$store.dispatch("getTaskFiles",e.taskDetail.id)}))},openMenu:function(t){var e=this.$refs["taskMenu_".concat(t.id)];e&&e.handleClick()},openNewWin:function(){var 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,force:!1,config:t}),this.$store.dispatch("openTask",0)},resizeDialog:function(){var t=this;return new Promise((function(e){t.$Electron.sendSyncMessage("windowSize",{width:Math.max(1100,window.innerWidth),height:Math.max(720,window.innerHeight),minWidth:800,minHeight:600,autoZoom:!0});var n=0,r=setInterval((function(){n++,(t.$refs.dialog||n>20)&&(clearInterval(r),t.$refs.dialog&&e())}),100)}))},viewFile:function(t){if(["jpg","jpeg","gif","png"].includes(t.ext)){var e=this.fileList.filter((function(t){return["jpg","jpeg","gif","png"].includes(t.ext)})),n=e.findIndex((function(e){return e.id===t.id}));n>-1?(this.$store.state.previewImageIndex=n,this.$store.state.previewImageList=e.map((function(t){return t.path}))):(this.$store.state.previewImageIndex=0,this.$store.state.previewImageList=[t.path])}else this.$Electron?this.$Electron.sendMessage("windowRouter",{name:"file-task-"+t.id,path:"/single/file/task/"+t.id,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:"".concat(t.name," (").concat($A.bytesToSize(t.size),")"),titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)}}):window.open($A.apiUrl("../single/file/task/".concat(t.id)))},downFile:function(t){var e=this;$A.modalConfirm({title:"下载文件",content:"".concat(t.name," (").concat($A.bytesToSize(t.size),")"),okText:"立即下载",onOk:function(){e.$store.dispatch("downUrl",$A.apiUrl("project/task/filedown?file_id=".concat(t.id)))}})}}};const b=(0,u.Z)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.ready&&t.taskDetail.parent_id>0?n("li",[n("div",{staticClass:"subtask-icon"},[n("TaskMenu",{ref:"taskMenu_"+t.taskDetail.id,attrs:{disabled:0===t.taskId,task:t.taskDetail,"load-status":!0===t.taskDetail.loading},on:{"on-update":t.getLogLists}})],1),t._v(" "),t.taskDetail.flow_item_name?n("div",{staticClass:"subtask-flow"},[n("span",{class:t.taskDetail.flow_item_status,on:{click:function(e){return e.stopPropagation(),t.openMenu(t.taskDetail)}}},[t._v(t._s(t.taskDetail.flow_item_name))])]):t._e(),t._v(" "),n("div",{staticClass:"subtask-name"},[n("Input",{ref:"name",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:8},maxlength:255},on:{"on-blur":function(e){return t.updateBlur("name")},"on-keydown":t.onNameKeydown},model:{value:t.taskDetail.name,callback:function(e){t.$set(t.taskDetail,"name",e)},expression:"taskDetail.name"}})],1),t._v(" "),n("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-clear":t.timeClear,"on-ok":t.timeOk},model:{value:t.timeValue,callback:function(e){t.timeValue=e},expression:"timeValue"}},[!t.taskDetail.complete_at&&t.taskDetail.end_at&&t.taskDetail.end_at!=t.mainEndAt?n("div",{class:["time",t.taskDetail.today?"today":"",t.taskDetail.overdue?"overdue":""],on:{click:t.openTime}},[t._v("\n "+t._s(t.expiresFormat(t.taskDetail.end_at))+"\n ")]):n("Icon",{staticClass:"clock",attrs:{type:"ios-clock-outline"},on:{click:t.openTime}})],1),t._v(" "),n("Poptip",{ref:"owner",staticClass:"subtask-avatar",attrs:{"popper-class":"task-detail-user-popper",title:t.$L("修改负责人"),width:240,placement:"bottom",transfer:""},on:{"on-popper-show":t.openOwner,"on-ok":t.onOwner}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("UserInput",{attrs:{"multiple-max":1,"project-id":t.taskDetail.project_id,placeholder:t.$L("选择任务负责人"),transfer:!1},model:{value:t.ownerData.owner_userid,callback:function(e){t.$set(t.ownerData,"owner_userid",e)},expression:"ownerData.owner_userid"}}),t._v(" "),n("div",{staticClass:"task-detail-avatar-buttons"},[n("Button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.$refs.owner.ok()}}},[t._v(t._s(t.$L("确定")))])],1)],1),t._v(" "),t.getOwner.length>0?t._l(t.getOwner,(function(t){return n("UserAvatar",{key:t.userid,attrs:{userid:t.userid,size:20,tooltipDisabled:""}})})):n("div",[t._v("--")])],2)],1):t.ready?n("div",{class:{"task-detail":!0,"open-dialog":t.hasOpenDialog,completed:t.taskDetail.complete_at}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.taskDetail.id>0,expression:"taskDetail.id > 0"}],staticClass:"task-info"},[n("div",{staticClass:"head"},[n("TaskMenu",{ref:"taskMenu_"+t.taskDetail.id,staticClass:"icon",attrs:{disabled:0===t.taskId,task:t.taskDetail,size:"medium","color-show":!1},on:{"on-update":t.getLogLists}}),t._v(" "),t.taskDetail.flow_item_name?n("div",{staticClass:"flow"},[n("span",{class:t.taskDetail.flow_item_status,on:{click:function(e){return e.stopPropagation(),t.openMenu(t.taskDetail)}}},[t._v(t._s(t.taskDetail.flow_item_name))])]):t._e(),t._v(" "),t.taskDetail.archived_at?n("div",{staticClass:"flow"},[n("span",{staticClass:"archived",on:{click:function(e){return e.stopPropagation(),t.openMenu(t.taskDetail)}}},[t._v(t._s(t.$L("已归档")))])]):t._e(),t._v(" "),n("div",{staticClass:"nav"},[t.projectName?n("p",[n("span",[t._v(t._s(t.projectName))])]):t._e(),t._v(" "),t.columnName?n("p",[n("span",[t._v(t._s(t.columnName))])]):t._e(),t._v(" "),t.taskDetail.id?n("p",[n("span",[t._v(t._s(t.taskDetail.id))])]):t._e()]),t._v(" "),n("div",{staticClass:"function"},[0===t.getOwner.length?n("EPopover",{attrs:{placement:"bottom"},model:{value:t.receiveShow,callback:function(e){t.receiveShow=e},expression:"receiveShow"}},[n("div",{staticClass:"task-detail-receive"},[n("div",{staticClass:"receive-title"},[n("Icon",{attrs:{type:"ios-help-circle"}}),t._v("\n "+t._s(t.$L("确认计划时间领取任务"))+"\n ")],1),t._v(" "),n("div",{staticClass:"receive-time"},[n("DatePicker",{attrs:{options:t.timeOptions,format:"yyyy/MM/dd HH:mm",type:"datetimerange",placeholder:t.$L("请设置计划时间"),clearable:!1,editable:!1},model:{value:t.timeValue,callback:function(e){t.timeValue=e},expression:"timeValue"}})],1),t._v(" "),n("div",{staticClass:"receive-bottom"},[n("Button",{attrs:{size:"small",type:"text"},on:{click:function(e){t.receiveShow=!1}}},[t._v("取消")]),t._v(" "),n("Button",{attrs:{loading:t.ownerLoad>0,size:"small",type:"primary"},on:{click:function(e){return t.onOwner(!0)}}},[t._v("确定")])],1)]),t._v(" "),n("Button",{staticClass:"pick",attrs:{slot:"reference",loading:t.ownerLoad>0,type:"primary"},slot:"reference"},[t._v(t._s(t.$L("我要领取任务")))])],1):t._e(),t._v(" "),t.$Electron?n("ETooltip",{attrs:{content:t.$L("新窗口打开")}},[n("i",{staticClass:"taskfont open",on:{click:t.openNewWin}},[t._v("")])]):t._e(),t._v(" "),n("div",{staticClass:"menu"},[n("TaskMenu",{attrs:{disabled:0===t.taskId,task:t.taskDetail,icon:"ios-more","completed-icon":"ios-more",size:"medium","color-show":!1},on:{"on-update":t.getLogLists}})],1)],1)],1),t._v(" "),n("div",{staticClass:"scroller overlay-y"},[n("div",{staticClass:"title"},[n("Input",{ref:"name",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:8},maxlength:255},on:{"on-blur":function(e){return t.updateBlur("name")},"on-keydown":t.onNameKeydown},model:{value:t.taskDetail.name,callback:function(e){t.$set(t.taskDetail,"name",e)},expression:"taskDetail.name"}})],1),t._v(" "),n("div",{staticClass:"desc"},[n("TEditor",{ref:"desc",attrs:{value:t.taskContent,plugins:t.taskPlugins,options:t.taskOptions,"option-full":t.taskOptionFull,placeholder:t.$L("详细描述..."),inline:""},on:{"on-blur":function(e){return t.updateBlur("content")}}})],1),t._v(" "),n("Form",{staticClass:"items",attrs:{"label-position":"left","label-width":"auto"},nativeOn:{submit:function(t){t.preventDefault()}}},[t.taskDetail.p_name?n("FormItem",[n("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("优先级"))+"\n ")]),t._v(" "),n("ul",{staticClass:"item-content"},[n("li",[n("EDropdown",{ref:"priority",attrs:{trigger:"click",placement:"bottom"},on:{command:function(e){return t.updateData("priority",e)}}},[n("TaskPriority",{attrs:{backgroundColor:t.taskDetail.p_color}},[t._v(t._s(t.taskDetail.p_name))]),t._v(" "),n("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.taskPriority,(function(e,r){return n("EDropdownItem",{key:r,attrs:{command:e}},[n("i",{staticClass:"taskfont",style:{color:e.color},domProps:{innerHTML:t._s(t.taskDetail.p_name==e.name?"":"")}}),t._v("\n "+t._s(e.name)+"\n ")])})),1)],1)],1)])]):t._e(),t._v(" "),t.getOwner.length>0?n("FormItem",[n("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("负责人"))+"\n ")]),t._v(" "),n("Poptip",{ref:"owner",staticClass:"item-content user",attrs:{title:t.$L("修改负责人"),width:240,"popper-class":"task-detail-user-popper",placement:"bottom",transfer:""},on:{"on-popper-show":t.openOwner,"on-ok":t.onOwner}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("UserInput",{attrs:{"multiple-max":10,"project-id":t.taskDetail.project_id,placeholder:t.$L("选择任务负责人"),transfer:!1},model:{value:t.ownerData.owner_userid,callback:function(e){t.$set(t.ownerData,"owner_userid",e)},expression:"ownerData.owner_userid"}}),t._v(" "),n("div",{staticClass:"task-detail-avatar-buttons"},[n("Button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.$refs.owner.ok()}}},[t._v(t._s(t.$L("确定")))])],1)],1),t._v(" "),n("div",{staticClass:"user-list"},t._l(t.getOwner,(function(e){return n("UserAvatar",{key:e.userid,attrs:{userid:e.userid,size:28,showName:1===t.getOwner.length,tooltipDisabled:""}})})),1)])],1):t._e(),t._v(" "),t.getAssist.length>0||t.assistForce?n("FormItem",[n("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("协助人员"))+"\n ")]),t._v(" "),n("Poptip",{ref:"assist",staticClass:"item-content user",attrs:{title:t.$L(t.getAssist.length>0?"修改协助人员":"添加协助人员"),width:280,"popper-class":"task-detail-user-popper",placement:"bottom",transfer:""},on:{"on-popper-show":t.openAssist,"on-ok":t.onAssist}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("UserInput",{attrs:{"multiple-max":10,"project-id":t.taskDetail.project_id,"disabled-choice":t.assistData.disabled,placeholder:t.$L("选择任务协助人员"),transfer:!1},model:{value:t.assistData.assist_userid,callback:function(e){t.$set(t.assistData,"assist_userid",e)},expression:"assistData.assist_userid"}}),t._v(" "),n("div",{staticClass:"task-detail-avatar-buttons"},[n("Button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.$refs.assist.ok()}}},[t._v(t._s(t.$L("确定")))])],1)],1),t._v(" "),t.getAssist.length>0?n("div",{staticClass:"user-list"},t._l(t.getAssist,(function(e){return n("UserAvatar",{key:e.userid,attrs:{userid:e.userid,size:28,showName:1===t.getAssist.length,tooltipDisabled:""}})})),1):n("div",[t._v("--")])])],1):t._e(),t._v(" "),t.taskDetail.end_at||t.timeForce?n("FormItem",[n("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("截止时间"))+"\n ")]),t._v(" "),n("ul",{staticClass:"item-content"},[n("li",[n("DatePicker",{attrs:{open:t.timeOpen,options:t.timeOptions,format:"yyyy/MM/dd HH:mm",type:"datetimerange",transfer:""},on:{"on-open-change":t.timeChange,"on-clear":t.timeClear,"on-ok":t.timeOk},model:{value:t.timeValue,callback:function(e){t.timeValue=e},expression:"timeValue"}},[n("div",{staticClass:"picker-time"},[n("div",{staticClass:"time",on:{click:t.openTime}},[t._v(t._s(t.taskDetail.end_at?t.cutTime:"--"))]),t._v(" "),!t.taskDetail.complete_at&&t.taskDetail.end_at?[t.within24Hours(t.taskDetail.end_at)?n("Tag",{attrs:{color:"blue"}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.expiresFormat(t.taskDetail.end_at)))]):t._e(),t._v(" "),t.isOverdue(t.taskDetail)?n("Tag",{attrs:{color:"red"}},[t._v(t._s(t.$L("超期未完成")))]):t._e()]:t._e()],2)])],1)])]):t._e(),t._v(" "),t.fileList.length>0?n("FormItem",[n("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("附件"))+"\n ")]),t._v(" "),n("ul",{staticClass:"item-content file"},[t.taskDetail.file_num>50?n("li",{staticClass:"tip"},[t._v(t._s(t.$L("共"+t.taskDetail.file_num+"个文件,仅显示最新50个")))]):t._e(),t._v(" "),t._l(t.fileList,(function(e){return n("li",[e.id?n("img",{staticClass:"file-ext",attrs:{src:e.thumb}}):n("Loading",{staticClass:"file-load"}),t._v(" "),n("div",{staticClass:"file-name"},[t._v(t._s(e.name))]),t._v(" "),n("div",{staticClass:"file-size"},[t._v(t._s(t.$A.bytesToSize(e.size)))]),t._v(" "),n("div",{staticClass:"file-menu",class:{show:e._show_menu}},[n("Icon",{attrs:{type:"md-eye"},on:{click:function(n){return t.viewFile(e)}}}),t._v(" "),n("Icon",{attrs:{type:"md-arrow-round-down"},on:{click:function(n){return t.downFile(e)}}}),t._v(" "),n("EPopover",{staticClass:"file-delete",model:{value:e._show_menu,callback:function(n){t.$set(e,"_show_menu",n)},expression:"file._show_menu"}},[n("div",{staticClass:"task-detail-delete-file-popover"},[n("p",[t._v(t._s(t.$L("你确定要删除这个文件吗?")))]),t._v(" "),n("div",{staticClass:"buttons"},[n("Button",{attrs:{size:"small",type:"text"},on:{click:function(t){e._show_menu=!1}}},[t._v(t._s(t.$L("取消")))]),t._v(" "),n("Button",{attrs:{size:"small",type:"primary"},on:{click:function(n){return t.deleteFile(e)}}},[t._v(t._s(t.$L("确定")))])],1)]),t._v(" "),n("i",{staticClass:"taskfont del",attrs:{slot:"reference"},slot:"reference"},[t._v("")])])],1)],1)}))],2),t._v(" "),n("ul",{staticClass:"item-content"},[n("li",[n("div",{staticClass:"add-button",on:{click:function(e){return t.$refs.upload.handleClick()}}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("添加附件"))+"\n ")])])])]):t._e(),t._v(" "),t.subList.length>0||t.addsubForce?n("FormItem",[n("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("子任务"))+"\n ")]),t._v(" "),n("ul",{staticClass:"item-content subtask"},t._l(t.subList,(function(e,r){return n("TaskDetail",{key:r,ref:"subTask_"+e.id,refInFor:!0,attrs:{"task-id":e.id,"open-task":e,"main-end-at":t.taskDetail.end_at,"can-update-blur":t.canUpdateBlur}})})),1),t._v(" "),n("ul",{class:["item-content",0===t.subList.length?"nosub":""]},[n("li",[t.addsubShow?n("Input",{ref:"addsub",staticClass:"add-input",class:{loading:t.addsubLoad>0},attrs:{placeholder:t.$L("+ 输入子任务,回车添加子任务"),icon:t.addsubLoad>0?"ios-loading":""},on:{"on-blur":t.addsubChackClose,"on-keydown":t.addsubKeydown},model:{value:t.addsubName,callback:function(e){t.addsubName=e},expression:"addsubName"}}):n("div",{staticClass:"add-button",on:{click:t.addsubOpen}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("添加子任务"))+"\n ")])],1)])]):t._e()],1),t._v(" "),t.menuList.length>0?n("div",{staticClass:"add"},[n("EDropdown",{attrs:{trigger:"click",placement:"bottom"},on:{command:t.dropAdd}},[n("div",{staticClass:"add-button"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v("\n "+t._s(t.$L("添加"))+"\n "),t._l(t.menuList,(function(e){return n("em",[t._v(t._s(t.$L(e.name)))])}))],2),t._v(" "),n("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.menuList,(function(e,r){return n("EDropdownItem",{key:r,attrs:{command:e.command}},[n("div",{staticClass:"item"},[n("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(e.icon)}}),t._v(t._s(t.$L(e.name))+"\n ")])])})),1)],1)],1):t._e()],1),t._v(" "),n("TaskUpload",{ref:"upload",staticClass:"upload",on:{"on-select-file":t.onSelectFile}})],1),t._v(" "),n("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?n("DialogWrapper",{ref:"dialog",attrs:{"dialog-id":t.taskDetail.dialog_id}},[n("div",{staticClass:"head",attrs:{slot:"head"},slot:"head"},[n("Icon",{staticClass:"icon",attrs:{type:"ios-chatbubbles-outline"}}),t._v(" "),n("div",{staticClass:"nav"},[n("p",{class:{active:"dialog"==t.navActive},on:{click:function(e){t.navActive="dialog"}}},[t._v(t._s(t.$L("聊天")))]),t._v(" "),n("p",{class:{active:"log"==t.navActive},on:{click:function(e){t.navActive="log"}}},[t._v(t._s(t.$L("动态")))]),t._v(" "),"log"==t.navActive?n("div",{staticClass:"refresh"},[t.logLoadIng?n("Loading"):n("Icon",{attrs:{type:"ios-refresh"},on:{click:t.getLogLists}})],1):t._e()])],1)]):t._e(),t._v(" "),"log"==t.navActive&&t.taskId>0?n("ProjectLog",{ref:"log",attrs:{"task-id":t.taskDetail.id},on:{"on-load-change":t.logLoadChange}}):t._e()]:n("div",[n("div",{staticClass:"head"},[n("Icon",{staticClass:"icon",attrs:{type:"ios-chatbubbles-outline"}}),t._v(" "),n("div",{staticClass:"nav"},[n("p",{class:{active:"dialog"==t.navActive},on:{click:function(e){t.navActive="dialog"}}},[t._v(t._s(t.$L("聊天")))]),t._v(" "),n("p",{class:{active:"log"==t.navActive},on:{click:function(e){t.navActive="log"}}},[t._v(t._s(t.$L("动态")))]),t._v(" "),"log"==t.navActive?n("div",{staticClass:"refresh"},[t.logLoadIng?n("Loading"):n("Icon",{attrs:{type:"ios-refresh"},on:{click:t.getLogLists}})],1):t._e()])],1),t._v(" "),"log"==t.navActive&&t.taskId>0?n("ProjectLog",{ref:"log",attrs:{"task-id":t.taskDetail.id,"show-load":!1},on:{"on-load-change":t.logLoadChange}}):n("div",{staticClass:"no-dialog",on:{drop:function(e){return e.preventDefault(),t.taskPasteDrag(e,"drag")},dragover:function(e){return e.preventDefault(),t.taskDragOver(!0,e)},dragleave:function(e){return e.preventDefault(),t.taskDragOver(!1,e)}}},[n("div",{staticClass:"no-tip"},[t._v(t._s(t.$L("暂无消息")))]),t._v(" "),n("div",{staticClass:"no-input"},[n("DragInput",{staticClass:"dialog-input",attrs:{type:"textarea",disabled:t.sendLoad>0,rows:1,autosize:{minRows:1,maxRows:3},maxlength:2e4,placeholder:t.$L("输入消息...")},on:{"on-keydown":t.msgKeydown,"on-input-paste":t.msgPasteDrag},model:{value:t.msgText,callback:function(e){t.msgText=e},expression:"msgText"}}),t._v(" "),n("div",{staticClass:"no-send",on:{click:t.msgDialog}},[t.sendLoad>0?n("Loading"):[n("Badge",{attrs:{count:t.taskDetail.msg_num}}),t._v(" "),n("Icon",{attrs:{type:"md-send"}})]],2)],1),t._v(" "),t.dialogDrag?n("div",{staticClass:"drag-over",on:{click:function(e){t.dialogDrag=!1}}},[n("div",{staticClass:"drag-text"},[t._v(t._s(t.$L("拖动到这里发送")))])]):t._e()])],1)],2),t._v(" "),t.taskDetail.id?t._e():n("div",{staticClass:"task-load"},[n("Loading")],1)]):t._e()}),[],!1,null,null,null).exports},21929:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(20629);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e0},flow:function(){var t=this;return this.taskFlows.find((function(e){return e.task_id==t.task.id}))},turns:function(){var t=this;if(!this.flow)return[];var e=this.taskFlowItems.find((function(e){return e.id==t.flow.flow_item_id}));return e?this.taskFlowItems.filter((function(t){var n=t.id;return e.turns.includes(n)})):[]}}),methods:{show:function(){this.$refs.dropdown.show()},hide:function(){this.$refs.dropdown.hide()},handleClick:function(){this.$refs.dropdown.handleClick()},dropTask:function(t){var e=this,n=this.task,r=function(t){t?e.$store.dispatch("saveTaskCompleteTemp",n.id):e.$store.dispatch("forgetTaskCompleteTemp",n.id)};if($A.isJson(t))t.name&&this.updateTask({color:t.color}).catch((function(){}));else{if($A.leftExists(t,"turn::")){var o=$A.leftDelete(t,"turn::");if(o==this.task.flow_item_id)return;var i=this.taskFlowItems.find((function(t){return t.id==e.flow.flow_item_id}))||{},a=this.taskFlowItems.find((function(t){return t.id==o}))||{},s="end"!==i.status&&"end"===a.status,u="end"===i.status&&"end"!==a.status;return this.updateBefore&&(s?r(!0):u&&r(!1)),void this.updateTask({flow_item_id:o}).then((function(){s?r(!0):u&&r(!1)})).catch((function(){s?r(!1):u&&r(!0)}))}switch(t){case"complete":if(this.task.complete_at)return;this.updateBefore&&r(!0),this.updateTask({complete_at:$A.formatDate("Y-m-d H:i:s")}).then((function(){r(!0)})).catch((function(){r(!1)}));break;case"uncomplete":if(!this.task.complete_at)return;this.updateBefore&&r(!1),this.updateTask({complete_at:!1}).then((function(){r(!1)})).catch((function(){r(!0)}));break;case"archived":case"remove":this.archivedOrRemoveTask(t)}}},visibleChange:function(t){t&&this.$store.dispatch("getTaskFlow",this.task.id).then(this.$refs.dropdownMenu.updatePopper).catch(this.$refs.dropdownMenu.updatePopper)},updateTask:function(t){var e=this;return new Promise((function(n,r){e.loadIng?r():(Object.keys(t).forEach((function(n){return e.$set(e.task,n,t[n])})),e.$store.dispatch("taskUpdate",Object.assign(t,{task_id:e.task.id})).then((function(t){var r=t.data,o=t.msg;$A.messageSuccess(o),n(),e.$emit("on-update",r)})).catch((function(t){var n=t.msg;$A.modalError(n),e.$store.dispatch("getTaskOne",e.task.id).catch((function(){})),r()})))}))},archivedOrRemoveTask:function(t){var e=this,n="removeTask",r="删除",o={task_id:this.task.id},i=this.task.parent_id>0?"子任务":"任务";"archived"==t&&(n="archivedTask",r="归档",this.task.archived_at&&(r="还原归档",o={task_id:this.task.id,type:"recovery"})),$A.modalConfirm({title:r+i,content:"你确定要"+r+i+"【"+this.task.name+"】吗?",loading:!0,onOk:function(){e.loadIng?e.$Modal.remove():e.$store.dispatch(n,o).then((function(t){var n=t.msg;$A.messageSuccess(n),e.$Modal.remove()})).catch((function(t){var n=t.msg;$A.modalError(n,301),e.$Modal.remove()}))}})}}};const u=(0,n(51900).Z)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("EDropdown",{ref:"dropdown",attrs:{trigger:"click",disabled:t.disabled,size:t.size,placement:"bottom"},on:{command:t.dropTask,"visible-change":t.visibleChange}},[t._t("icon",(function(){return[n("div",{staticClass:"task-menu-icon"},[t.loadIng?n("div",{staticClass:"loading"},[n("Loading")],1):[t.task.complete_at?n("Icon",{staticClass:"completed",attrs:{type:t.completedIcon}}):n("Icon",{staticClass:"uncomplete",attrs:{type:t.icon}})]],2)]})),t._v(" "),n("EDropdownMenu",{ref:"dropdownMenu",staticClass:"task-menu-more-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("li",{staticClass:"task-menu-more-warp",class:t.size},[n("ul",[t.flow?t.turns.length>0?t._l(t.turns,(function(e){return n("EDropdownItem",{key:e.id,attrs:{command:"turn::"+e.id}},[n("div",{staticClass:"item flow"},[e.id==t.task.flow_item_id&&!0!==t.flow.auto_assign?n("Icon",{staticClass:"check",attrs:{type:"md-checkmark-circle-outline"}}):n("Icon",{attrs:{type:"md-radio-button-off"}}),t._v(" "),n("div",{staticClass:"flow-name",class:e.status},[t._v(t._s(e.name))])],1)])})):[t.task.complete_at?n("EDropdownItem",{attrs:{command:"uncomplete"}},[n("div",{staticClass:"item red"},[n("Icon",{attrs:{type:"md-checkmark-circle-outline"}}),t._v(t._s(t.$L("标记未完成"))+"\n ")],1)]):n("EDropdownItem",{attrs:{command:"complete"}},[n("div",{staticClass:"item"},[n("Icon",{attrs:{type:"md-radio-button-off"}}),t._v(t._s(t.$L("完成"))+"\n ")],1)])]:n("EDropdownItem",{staticClass:"load-flow",attrs:{disabled:""}},[n("div",{staticClass:"load-flow-warp"},[n("Loading")],1)]),t._v(" "),0===t.task.parent_id?[n("EDropdownItem",{attrs:{divided:t.turns.length>0,command:"archived"}},[n("div",{staticClass:"item"},[n("Icon",{attrs:{type:"ios-filing"}}),t._v(t._s(t.$L(t.task.archived_at?"还原归档":"归档"))+"\n ")],1)]),t._v(" "),n("EDropdownItem",{attrs:{command:"remove"}},[n("div",{staticClass:"item hover-del"},[n("Icon",{attrs:{type:"md-trash"}}),t._v(t._s(t.$L("删除"))+"\n ")],1)]),t._v(" "),t.colorShow?t._l(t.taskColorList,(function(e,r){return n("EDropdownItem",{key:"c_"+r,attrs:{divided:0==r,command:e}},[n("div",{staticClass:"item"},[n("i",{staticClass:"taskfont",style:{color:e.color||"#f9f9f9"},domProps:{innerHTML:t._s(e.color==t.task.color?"":"")}}),t._v(t._s(t.$L(e.name))+"\n ")])])})):t._e()]:n("EDropdownItem",{attrs:{command:"remove",divided:t.turns.length>0}},[n("div",{staticClass:"item"},[n("Icon",{attrs:{type:"md-trash"}}),t._v(t._s(t.$L("删除"))+"\n ")],1)])],2)])])],2)}),[],!1,null,null,null).exports},25199:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e{"use strict";n.d(e,{Z:()=>i});var r=n(1519),o=n.n(r)()((function(t){return t[1]}));o.push([t.id,'.component-resize-line[data-v-eaab078e]{cursor:col-resize}@media (max-width:768px){.component-resize-line[data-v-eaab078e]{display:none}}.component-resize-line.resizing[data-v-eaab078e]:after{bottom:0;content:"";cursor:col-resize;left:0;position:fixed;right:0;top:0;z-index:99999}.component-resize-line.bottom[data-v-eaab078e],.component-resize-line.bottom[data-v-eaab078e]:after{cursor:row-resize}',""]);const i=o},47575:(t,e,n)=>{!function(){"use strict";var e=function(t){if(null===t)return"null";if(void 0===t)return"undefined";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e},r=function(t){return{eq:t}},o=r((function(t,e){return t===e})),i=function(t){return r((function(e,n){if(e.length!==n.length)return!1;for(var r=e.length,o=0;o-1},H=function(t,e){for(var n=0,r=t.length;n=0;n--){e(t[n],n)}},K=function(t,e){for(var n=[],r=[],o=0,i=t.length;o=0&&e=e.length&&t.substr(n,n+e.length)===e}(t,e,0)},jt=function(t){return function(e){return e.replace(t,"")}},zt=jt(/^\s+|\s+$/g),Ft=jt(/^\s+/g),Ut=jt(/\s+$/g),Ht=function(t){return t.length>0},Vt=function(t){return!Ht(t)},Wt=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,qt=function(t){return function(e){return Bt(e,t)}},Kt=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(t){return Bt(t,"edge/")&&Bt(t,"chrome")&&Bt(t,"safari")&&Bt(t,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,Wt],search:function(t){return Bt(t,"chrome")&&!Bt(t,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(t){return Bt(t,"msie")||Bt(t,"trident")}},{name:"Opera",versionRegexes:[Wt,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:qt("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:qt("firefox")},{name:"Safari",versionRegexes:[Wt,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(t){return(Bt(t,"safari")||Bt(t,"mobile/"))&&Bt(t,"applewebkit")}}],Yt=[{name:"Windows",search:qt("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(t){return Bt(t,"iphone")||Bt(t,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:qt("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:qt("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:qt("linux"),versionRegexes:[]},{name:"Solaris",search:qt("sunos"),versionRegexes:[]},{name:"FreeBSD",search:qt("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:qt("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],Xt={browsers:D(Kt),oses:D(Yt)},Zt="Edge",Gt="Chrome",Jt="Opera",Qt="Firefox",te="Safari",ee=function(t){var e=t.current,n=t.version,r=function(t){return function(){return e===t}};return{current:e,version:n,isEdge:r(Zt),isChrome:r(Gt),isIE:r("IE"),isOpera:r(Jt),isFirefox:r(Qt),isSafari:r(te)}},ne={unknown:function(){return ee({current:void 0,version:It.unknown()})},nu:ee,edge:D(Zt),chrome:D(Gt),ie:D("IE"),opera:D(Jt),firefox:D(Qt),safari:D(te)},re="Windows",oe="Android",ie="Linux",ae="Solaris",se="FreeBSD",ue="ChromeOS",ce=function(t){var e=t.current,n=t.version,r=function(t){return function(){return e===t}};return{current:e,version:n,isWindows:r(re),isiOS:r("iOS"),isAndroid:r(oe),isOSX:r("OSX"),isLinux:r(ie),isSolaris:r(ae),isFreeBSD:r(se),isChromeOS:r(ue)}},le={unknown:function(){return ce({current:void 0,version:It.unknown()})},nu:ce,windows:D(re),ios:D("iOS"),android:D(oe),linux:D(ie),osx:D("OSX"),solaris:D(ae),freebsd:D(se),chromeos:D(ue)},de=function(t,e,n){var r=Xt.browsers(),o=Xt.oses(),i=e.bind((function(t){return function(t,e){return ct(e.brands,(function(e){var n=e.brand.toLowerCase();return J(t,(function(t){var e;return n===(null===(e=t.brand)||void 0===e?void 0:e.toLowerCase())})).map((function(t){return{current:t.name,version:It.nu(parseInt(e.version,10),0)}}))}))}(r,t)})).orThunk((function(){return function(t,e){return Rt(t,e).map((function(t){var n=It.detect(t.versionRegexes,e);return{current:t.name,version:n}}))}(r,t)})).fold(ne.unknown,ne.nu),a=function(t,e){return Rt(t,e).map((function(t){var n=It.detect(t.versionRegexes,e);return{current:t.name,version:n}}))}(o,t).fold(le.unknown,le.nu),s=function(t,e,n,r){var o=t.isiOS()&&!0===/ipad/i.test(n),i=t.isiOS()&&!o,a=t.isiOS()||t.isAndroid(),s=a||r("(pointer:coarse)"),u=o||!i&&a&&r("(min-device-width:768px)"),c=i||a&&!u,l=e.isSafari()&&t.isiOS()&&!1===/safari/i.test(n),d=!c&&!u&&!l;return{isiPad:D(o),isiPhone:D(i),isTablet:D(u),isPhone:D(c),isTouch:D(s),isAndroid:t.isAndroid,isiOS:t.isiOS,isWebView:D(l),isDesktop:D(d)}}(a,i,t,n);return{browser:i,os:a,deviceType:s}},fe=function(t){return window.matchMedia(t).matches},me=$t((function(){return de(navigator.userAgent,B.from(navigator.userAgentData),fe)})),pe=function(){return me()},he=navigator.userAgent,ge=pe(),ve=ge.browser,be=ge.os,ye=ge.deviceType,we=/WebKit/.test(he)&&!ve.isEdge(),_e="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,Ce=-1!==he.indexOf("Windows Phone"),ke={opera:ve.isOpera(),webkit:we,ie:!(!ve.isIE()&&!ve.isEdge())&&ve.version.major,gecko:ve.isFirefox(),mac:be.isOSX()||be.isiOS(),iOS:ye.isiPad()||ye.isiPhone(),android:be.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:window.getSelection&&"Range"in window,documentMode:ve.isIE()?document.documentMode||7:10,fileApi:_e,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!ve.isIE(),desktop:ye.isDesktop(),windowsPhone:Ce,browser:{current:ve.current,version:ve.version,isChrome:ve.isChrome,isEdge:ve.isEdge,isFirefox:ve.isFirefox,isIE:ve.isIE,isOpera:ve.isOpera,isSafari:ve.isSafari},os:{current:be.current,version:be.version,isAndroid:be.isAndroid,isChromeOS:be.isChromeOS,isFreeBSD:be.isFreeBSD,isiOS:be.isiOS,isLinux:be.isLinux,isOSX:be.isOSX,isSolaris:be.isSolaris,isWindows:be.isWindows},deviceType:{isDesktop:ye.isDesktop,isiPad:ye.isiPad,isiPhone:ye.isiPhone,isPhone:ye.isPhone,isTablet:ye.isTablet,isTouch:ye.isTouch,isWebView:ye.isWebView}},xe=/^\s*|\s*$/g,De=function(t){return null==t?"":(""+t).replace(xe,"")},Se=function(t,e){return e?!("array"!==e||!Ct(t))||typeof t===e:void 0!==t},Te=function(t,e,n,r){r=r||this,t&&(n&&(t=t[n]),kt(t,(function(t,o){if(!1===e.call(r,t,o,n))return!1;Te(t,e,n,r)})))},Ee={trim:De,isArray:Ct,is:Se,toArray:function(t){if(Ct(t))return t;for(var e=[],n=0,r=t.length;n1)throw console.error("HTML does not have a single root node",t),new Error("HTML must have a single root node");return Oe(n.childNodes[0])},fromTag:function(t,e){var n=(e||document).createElement(t);return Oe(n)},fromText:function(t,e){var n=(e||document).createTextNode(t);return Oe(n)},fromDom:Oe,fromPoint:function(t,e,n){return B.from(t.dom.elementFromPoint(e,n)).map(Oe)}},Ae=function(t,e){var n=[],r=function(t){return n.push(t),e(t)},o=e(t);do{o=o.bind(r)}while(o.isSome());return n},$e=function(t,e){var n=t.dom;if(1!==n.nodeType)return!1;var r=n;if(void 0!==r.matches)return r.matches(e);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(e);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")},Ne=function(t){return 1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType||0===t.childElementCount},Pe=function(t,e){return t.dom===e.dom},Ie=function(t,e){return n=t.dom,r=e.dom,function(t,e,n){return 0!=(t.compareDocumentPosition(e)&n)}(n,r,Node.DOCUMENT_POSITION_CONTAINED_BY);var n,r},Re=function(t,e){return pe().browser.isIE()?Ie(t,e):function(t,e){var n=t.dom,r=e.dom;return n!==r&&n.contains(r)}(t,e)};"undefined"!=typeof window?window:Function("return this;")();var Be=function(t){return t.dom.nodeName.toLowerCase()},Me=function(t){return t.dom.nodeType},je=function(t){return function(e){return Me(e)===t}},ze=je(1),Fe=je(3),Ue=je(9),He=je(11),Ve=function(t){return Le.fromDom(t.dom.ownerDocument)},We=function(t){return Ue(t)?t:Ve(t)},qe=function(t){return Le.fromDom(We(t).dom.defaultView)},Ke=function(t){return B.from(t.dom.parentNode).map(Le.fromDom)},Ye=function(t){return B.from(t.dom.previousSibling).map(Le.fromDom)},Xe=function(t){return B.from(t.dom.nextSibling).map(Le.fromDom)},Ze=function(t){return nt(Ae(t,Ye))},Ge=function(t){return Ae(t,Xe)},Je=function(t){return V(t.dom.childNodes,Le.fromDom)},Qe=function(t,e){var n=t.dom.childNodes;return B.from(n[e]).map(Le.fromDom)},tn=function(t){return Qe(t,0)},en=function(t){return Qe(t,t.dom.childNodes.length-1)},nn=function(t){return t.dom.childNodes.length},rn=function(t){return He(t)&&y(t.dom.host)},on=w(Element.prototype.attachShadow)&&w(Node.prototype.getRootNode),an=D(on),sn=on?function(t){return Le.fromDom(t.dom.getRootNode())}:We,un=function(t){return rn(t)?t:function(t){var e=t.dom.head;if(null==e)throw new Error("Head is not available yet");return Le.fromDom(e)}(We(t))},cn=function(t){return Le.fromDom(t.dom.host)},ln=function(t){return y(t.dom.shadowRoot)},dn=function(t,e){Ke(t).each((function(n){n.dom.insertBefore(e.dom,t.dom)}))},fn=function(t,e){Xe(t).fold((function(){Ke(t).each((function(t){pn(t,e)}))}),(function(t){dn(t,e)}))},mn=function(t,e){tn(t).fold((function(){pn(t,e)}),(function(n){t.dom.insertBefore(e.dom,n.dom)}))},pn=function(t,e){t.dom.appendChild(e.dom)},hn=function(t,e){W(e,(function(e){pn(t,e)}))},gn=function(t){t.dom.textContent="",W(Je(t),(function(t){vn(t)}))},vn=function(t){var e=t.dom;null!==e.parentNode&&e.parentNode.removeChild(e)},bn=function(t){var e,n=Je(t);n.length>0&&(e=t,W(n,(function(t){dn(e,t)}))),vn(t)},yn=function(t){var e=Fe(t)?t.dom.parentNode:t.dom;if(null==e||null===e.ownerDocument)return!1;var n=e.ownerDocument;return function(t){var e=sn(t);return rn(e)?B.some(e):B.none()}(Le.fromDom(e)).fold((function(){return n.body.contains(e)}),x(yn,cn))},wn=function(t,e){return{left:t,top:e,translate:function(n,r){return wn(t+n,e+r)}}},_n=wn,Cn=function(t,e){return void 0!==t?t:void 0!==e?e:0},kn=function(t){var e=t.dom,n=e.ownerDocument.body;return n===e?_n(n.offsetLeft,n.offsetTop):yn(t)?function(t){var e=t.getBoundingClientRect();return _n(e.left,e.top)}(e):_n(0,0)},xn=function(t){var e=void 0!==t?t.dom:document,n=e.body.scrollLeft||e.documentElement.scrollLeft,r=e.body.scrollTop||e.documentElement.scrollTop;return _n(n,r)},Dn=function(t,e,n){var r=(void 0!==n?n.dom:document).defaultView;r&&r.scrollTo(t,e)},Sn=function(t,e){pe().browser.isSafari()&&w(t.dom.scrollIntoViewIfNeeded)?t.dom.scrollIntoViewIfNeeded(!1):t.dom.scrollIntoView(e)},Tn=function(t,e,n,r){return{x:t,y:e,width:n,height:r,right:t+n,bottom:e+r}},En=function(t){var e=void 0===t?window:t,n=e.document,r=xn(Le.fromDom(n));return function(t){var e=void 0===t?window:t;return pe().browser.isFirefox()?B.none():B.from(e.visualViewport)}(e).fold((function(){var t=e.document.documentElement,n=t.clientWidth,o=t.clientHeight;return Tn(r.left,r.top,n,o)}),(function(t){return Tn(Math.max(t.pageLeft,r.left),Math.max(t.pageTop,r.top),t.width,t.height)}))},On=function(t){return function(e){return!!e&&e.nodeType===t}},Ln=function(t){return!!t&&!Object.getPrototypeOf(t)},An=On(1),$n=function(t){var e=t.map((function(t){return t.toLowerCase()}));return function(t){if(t&&t.nodeName){var n=t.nodeName.toLowerCase();return U(e,n)}return!1}},Nn=function(t,e){var n=e.toLowerCase().split(" ");return function(e){if(An(e))for(var r=0;r0}))},ur=function(t){var e={},n=t.dom;if(Gn(n))for(var r=0;r=t.length&&e(n)}}(i))}))}))},Cr=function(t){return{isValue:N,isError:$,getOr:D(t),getOrThunk:D(t),getOrDie:D(t),or:function(e){return Cr(t)},orThunk:function(e){return Cr(t)},fold:function(e,n){return n(t)},map:function(e){return Cr(e(t))},mapError:function(e){return Cr(t)},each:function(e){e(t)},bind:function(e){return e(t)},exists:function(e){return e(t)},forall:function(e){return e(t)},toOptional:function(){return B.some(t)}}},kr=function(t){return{isValue:$,isError:N,getOr:S,getOrThunk:function(t){return t()},getOrDie:function(){return(e=String(t),function(){throw new Error(e)})();var e},or:S,orThunk:function(t){return t()},fold:function(e,n){return e(t)},map:function(e){return kr(t)},mapError:function(e){return kr(e(t))},each:C,bind:function(e){return kr(t)},exists:$,forall:N,toOptional:B.none}},xr={value:Cr,error:kr,fromOption:function(t,e){return t.fold((function(){return kr(e)}),Cr)}},Dr=function(t){if(!p(t))throw new Error("cases must be an array");if(0===t.length)throw new Error("there must be at least one case");var e=[],n={};return W(t,(function(r,o){var i=lt(r);if(1!==i.length)throw new Error("one and only one name per case");var a=i[0],s=r[a];if(void 0!==n[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!p(s))throw new Error("case arguments must be an array");e.push(a),n[a]=function(){for(var n=[],r=0;r0?n(r.fail.map(Sr)):e(r.pass.map(Sr))}))},unload:c,unloadAll:function(t){W(t,(function(t){c(t)}))},_setReferrerPolicy:function(t){e.referrerPolicy=t}}},ao=function(){var t=new WeakMap;return{forElement:function(e,n){var r=sn(e).dom;return B.from(t.get(r)).getOrThunk((function(){var e=io(r,n);return t.set(r,e),e}))}}}(),so=function(){function t(t,e){this.node=t,this.rootNode=e,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 t.prototype.current=function(){return this.node},t.prototype.next=function(t){return this.node=this.findSibling(this.node,"firstChild","nextSibling",t),this.node},t.prototype.prev=function(t){return this.node=this.findSibling(this.node,"lastChild","previousSibling",t),this.node},t.prototype.prev2=function(t){return this.node=this.findPreviousNode(this.node,"lastChild","previousSibling",t),this.node},t.prototype.findSibling=function(t,e,n,r){var o,i;if(t){if(!r&&t[e])return t[e];if(t!==this.rootNode){if(o=t[n])return o;for(i=t.parentNode;i&&i!==this.rootNode;i=i.parentNode)if(o=i[n])return o}}},t.prototype.findPreviousNode=function(t,e,n,r){var o,i,a;if(t){if(o=t[n],this.rootNode&&o===this.rootNode)return;if(o){if(!r)for(a=o[e];a;a=a[e])if(!a[e])return a;return o}if((i=t.parentNode)&&i!==this.rootNode)return i}},t}(),uo=function(t){var e;return function(n){return e=e||function(t,e){for(var n={},r=0,o=t.length;r0&&function(t,e){var n=new so(t,e).prev(!1),r=new so(t,e).next(!1),o=v(n)||ni(n,e),i=v(r)||ni(r,e);return o&&i}(t,e)},ii=function(t,e,n){var r=n||e;if(An(e)&&ri(e))return e;for(var o=e.childNodes,i=o.length-1;i>=0;i--)ii(t,o[i],r);if(An(e)){var a=e.childNodes;1===a.length&&ri(a[0])&&e.parentNode.insertBefore(a[0],e)}return function(t){return Un(t)||Fn(t)}(e)||Go(e,r)||function(t){return!!An(t)&&t.childNodes.length>0}(e)||oi(e,r)||t.remove(e),e},ai=Ee.makeMap,si=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ui=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ci=/[<>&\"\']/g,li=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,di={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},fi={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},mi={"<":"<",">":">","&":"&",""":'"',"'":"'"},pi=function(t,e){var n,r,o,i={};if(t){for(t=t.split(","),e=e||10,n=0;n1?"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";":fi[t]||"&#"+t.charCodeAt(0)+";"}))},bi=function(t,e,n){return n=n||hi,t.replace(e?si:ui,(function(t){return fi[t]||n[t]||t}))},yi={encodeRaw:gi,encodeAllRaw:function(t){return(""+t).replace(ci,(function(t){return fi[t]||t}))},encodeNumeric:vi,encodeNamed:bi,getEncodeFunc:function(t,e){var n=pi(e)||hi,r=ai(t.replace(/\+/g,","));return r.named&&r.numeric?function(t,e){return t.replace(e?si:ui,(function(t){return void 0!==fi[t]?fi[t]:void 0!==n[t]?n[t]:t.length>1?"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";":"&#"+t.charCodeAt(0)+";"}))}:r.named?e?function(t,e){return bi(t,e,n)}:bi:r.numeric?vi:gi},decode:function(t){return t.replace(li,(function(t,e){return e?(e="x"===e.charAt(0).toLowerCase()?parseInt(e.substr(1),16):parseInt(e,10))>65535?(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e))):di[e]||String.fromCharCode(e):mi[t]||hi[t]||function(t){var e=Le.fromTag("div").dom;return e.innerHTML=t,e.textContent||e.innerText||t}(t)}))}},wi={},_i={},Ci=Ee.makeMap,ki=Ee.each,xi=Ee.extend,Di=Ee.explode,Si=Ee.inArray,Ti=function(t,e){return(t=Ee.trim(t))?t.split(e||" "):[]},Ei=function(t,e){var n;return t&&(n={},"string"==typeof t&&(t={"*":t}),ki(t,(function(t,r){n[r]=n[r.toUpperCase()]="map"===e?Ci(t,/[, ]/):Di(t,/[, ]/)}))),n},Oi=function(t){var e={},n={},r=[],o={},i={},a=function(e,n,r){var o=t[e];return o?o=Ci(o,/[, ]/,Ci(o.toUpperCase(),/[, ]/)):(o=wi[e])||(o=Ci(n," ",Ci(n.toUpperCase()," ")),o=xi(o,r),wi[e]=o),o},s=function(t){var e,n,r,o,i,a,s={},u=function(t,n,r){var o,i,a,u=function(t,e){var n,r,o={};for(n=0,r=t.length;n
    ');return dn(n.element,r),Of(r,(function(){return vn(r)}))},Af=function(t,e,n,r){If(t,(function(o,i){return Nf(t,e,n,r)}),n)},$f=function(t,e,n,r,o){var i={elm:r.element.dom,alignToTop:o};(function(t,e){return t.fire("ScrollIntoView",e).isDefaultPrevented()})(t,i)||(n(e,xn(e).top,r,o),function(t,e){t.fire("AfterScrollIntoView",e)}(t,i))},Nf=function(t,e,n,r){var o=Le.fromDom(t.getBody()),i=Le.fromDom(t.getDoc());o.dom.offsetWidth;var a=Lf(Le.fromDom(n.startContainer),n.startOffset);$f(t,i,e,a,r),a.cleanup()},Pf=function(t,e,n,r){var o=Le.fromDom(t.getDoc());$f(t,o,n,function(t){return Of(Le.fromDom(t),C)}(e),r)},If=function(t,e,n){var r=n.startContainer,o=n.startOffset,i=n.endContainer,a=n.endOffset;e(Le.fromDom(r),Le.fromDom(i));var s=t.dom.createRng();s.setStart(r,o),s.setEnd(i,a),t.selection.setRng(n)},Rf=function(t,e,n,r){var o=t.pos;if(n)Dn(o.left,o.top,r);else{var i=o.top-e+t.height;Dn(o.left,i,r)}},Bf=function(t,e,n,r,o){var i=n+e,a=r.pos.top,s=r.bottom,u=s-a>=n;if(ai){Rf(r,n,u?!1!==o:!0===o,t)}else s>i&&!u&&Rf(r,n,!0===o,t)},Mf=function(t,e,n,r){var o=t.dom.defaultView.innerHeight;Bf(t,e,o,n,r)},jf=function(t,e,n,r){var o=t.dom.defaultView.innerHeight;Bf(t,e,o,n,r);var i=Tf(n.element),a=En(window);i.topa.bottom&&Sn(n.element,!0===r)},zf=function(t,e,n){return Af(t,Mf,e,n)},Ff=function(t,e,n){return Pf(t,e,Mf,n)},Uf=function(t,e,n){return Af(t,jf,e,n)},Hf=function(t,e,n){return Pf(t,e,jf,n)},Vf=function(t,e,n){(t.inline?zf:Uf)(t,e,n)},Wf=function(t){var e=sn(t).dom;return t.dom===e.activeElement},qf=function(t){return void 0===t&&(t=Le.fromDom(document)),B.from(t.dom.activeElement).map(Le.fromDom)},Kf=function(t,e,n,r){return{start:t,soffset:e,finish:n,foffset:r}},Yf=Dr([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Xf=(Yf.before,Yf.on,Yf.after,function(t){return t.fold(S,S,S)}),Zf=Dr([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Gf={domRange:Zf.domRange,relative:Zf.relative,exact:Zf.exact,exactFromRange:function(t){return Zf.exact(t.start,t.soffset,t.finish,t.foffset)},getWin:function(t){var e=function(t){return t.match({domRange:function(t){return Le.fromDom(t.startContainer)},relative:function(t,e){return Xf(t)},exact:function(t,e,n,r){return t}})}(t);return qe(e)},range:Kf},Jf=pe().browser,Qf=function(t,e){var n=Fe(e)?qd(e).length:Je(e).length+1;return t>n?n:t<0?0:t},tm=function(t){return Gf.range(t.start,Qf(t.soffset,t.start),t.finish,Qf(t.foffset,t.finish))},em=function(t,e){return!Ln(e.dom)&&(Re(t,e)||Pe(t,e))},nm=function(t){return function(e){return em(t,e.start)&&em(t,e.finish)}},rm=function(t){return!0===t.inline||Jf.isIE()},om=function(t){return Gf.range(Le.fromDom(t.startContainer),t.startOffset,Le.fromDom(t.endContainer),t.endOffset)},im=function(t){return function(t){var e=t.getSelection();return(e&&0!==e.rangeCount?B.from(e.getRangeAt(0)):B.none()).map(om)}(qe(t).dom).filter(nm(t))},am=function(t){var e=document.createRange();try{return e.setStart(t.start.dom,t.soffset),e.setEnd(t.finish.dom,t.foffset),B.some(e)}catch(t){return B.none()}},sm=function(t){var e=rm(t)?im(Le.fromDom(t.getBody())):B.none();t.bookmark=e.isSome()?e:t.bookmark},um=function(t){return(t.bookmark?t.bookmark:B.none()).bind((function(e){return function(t,e){return B.from(e).filter(nm(t)).map(tm)}(Le.fromDom(t.getBody()),e)})).bind(am)},cm={isEditorUIElement:function(t){var e=t.className.toString();return-1!==e.indexOf("tox-")||-1!==e.indexOf("mce-")}},lm=function(t,e){pe().browser.isIE()?function(t){t.on("focusout",(function(){sm(t)}))}(t):function(t,e){t.on("mouseup touchend",(function(t){e.throttle()}))}(t,e),t.on("keyup NodeChange",(function(e){(function(t){return"nodechange"===t.type&&t.selectionChange})(e)||sm(t)}))},dm=function(t){var e=Es((function(){sm(t)}),0);t.on("init",(function(){t.inline&&function(t,e){var n=function(){e.throttle()};gs.DOM.bind(document,"mouseup",n),t.on("remove",(function(){gs.DOM.unbind(document,"mouseup",n)}))}(t,e),lm(t,e)})),t.on("remove",(function(){e.cancel()}))},fm=gs.DOM,mm=function(t,e){var n=function(t){return t.getParam("custom_ui_selector","","string")}(t),r=fm.getParent(e,(function(e){return function(t){return cm.isEditorUIElement(t)}(e)||!!n&&t.dom.is(e,n)}));return null!==r},pm=function(t,e){var n=e.editor;dm(n),n.on("focusin",(function(){var e=t.focusedEditor;e!==n&&(e&&e.fire("blur",{focusedEditor:n}),t.setActive(n),t.focusedEditor=n,n.fire("focus",{blurredEditor:e}),n.focus(!0))})),n.on("focusout",(function(){oo.setEditorTimeout(n,(function(){var e=t.focusedEditor;mm(n,function(t){try{var e=sn(Le.fromDom(t.getElement()));return qf(e).fold((function(){return document.body}),(function(t){return t.dom}))}catch(t){return document.body}}(n))||e!==n||(n.fire("blur",{focusedEditor:null}),t.focusedEditor=null)}))})),kf||(kf=function(e){var n=t.activeEditor;n&&function(t){if(an()&&y(t.target)){var e=Le.fromDom(t.target);if(ze(e)&&ln(e)&&t.composed&&t.composedPath){var n=t.composedPath();if(n)return at(n)}}return B.from(t.target)}(e).each((function(e){e.ownerDocument===document&&(e===document.body||mm(n,e)||t.focusedEditor!==n||(n.fire("blur",{focusedEditor:null}),t.focusedEditor=null))}))},fm.bind(document,"focusin",kf))},hm=function(t,e){t.focusedEditor===e.editor&&(t.focusedEditor=null),t.activeEditor||(fm.unbind(document,"focusin",kf),kf=null)},gm=function(t,e){return function(t){return t.collapsed?B.from(uu(t.startContainer,t.startOffset)).map(Le.fromDom):B.none()}(e).bind((function(e){return vo(e)?B.some(e):!1===Re(t,e)?B.some(t):B.none()}))},vm=function(t,e){gm(Le.fromDom(t.getBody()),e).bind((function(t){return Il(t.dom)})).fold((function(){t.selection.normalize()}),(function(e){return t.selection.setRng(e.toRange())}))},bm=function(t){if(t.setActive)try{t.setActive()}catch(e){t.focus()}else t.focus()},ym=function(t){return Wf(t)||(e=t,qf(sn(e)).filter((function(t){return e.dom.contains(t.dom)}))).isSome();var e},wm=function(t){return t.inline?function(t){var e=t.getBody();return e&&ym(Le.fromDom(e))}(t):function(t){return t.iframeElement&&Wf(Le.fromDom(t.iframeElement))}(t)},_m=function(t){return wm(t)||function(t){var e=sn(Le.fromDom(t.getElement()));return qf(e).filter((function(e){return!(void 0!==(n=e.dom.classList)&&(n.contains("tox-edit-area")||n.contains("tox-edit-area__iframe")||n.contains("mce-content-body")))&&mm(t,e.dom);var n})).isSome()}(t)},Cm=function(t){return t.editorManager.setActive(t)},km=function(t,e){t.removed||(e?Cm(t):function(t){var e=t.selection,n=t.getBody(),r=e.getRng();t.quirks.refreshContentEditable(),void 0!==t.bookmark&&!1===wm(t)&&um(t).each((function(e){t.selection.setRng(e),r=e}));var o=function(t,e){return t.dom.getParent(e,(function(e){return"true"===t.dom.getContentEditable(e)}))}(t,e.getNode());if(t.$.contains(n,o))return bm(o),vm(t,r),void Cm(t);t.inline||(ke.opera||bm(n),t.getWin().focus()),(ke.gecko||t.inline)&&(bm(n),vm(t,r)),Cm(t)}(t))},xm=function(t,e,n,r,o){var i=n?e.startContainer:e.endContainer,a=n?e.startOffset:e.endOffset;return B.from(i).map(Le.fromDom).map((function(t){return r&&e.collapsed?t:Qe(t,o(t,a)).getOr(t)})).bind((function(t){return ze(t)?B.some(t):Ke(t).filter(ze)})).map((function(t){return t.dom})).getOr(t)},Dm=function(t,e,n){return xm(t,e,!0,n,(function(t,e){return Math.min(nn(t),e)}))},Sm=function(t,e,n){return xm(t,e,!1,n,(function(t,e){return e>0?e-1:e}))},Tm=function(t,e){for(var n=t;t&&jn(t)&&0===t.length;)t=e?t.nextSibling:t.previousSibling;return t||n},Em=function(t,e){return V(e,(function(e){var n=t.fire("GetSelectionRange",{range:e});return n.range!==e?n.range:e}))},Om={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},Lm=function(t,e,n){var r=n?"lastChild":"firstChild",o=n?"prev":"next";if(t[r])return t[r];if(t!==e){var i=t[o];if(i)return i;for(var a=t.parent;a&&a!==e;a=a.parent)if(i=a[o])return i}},Am=function(t){if(!Xo(t.value))return!1;var e=t.parent;return!e||"span"===e.name&&!e.attr("style")||!/^[ ]+$/.test(t.value)},$m=function(t){var e="a"===t.name&&!t.attr("href")&&t.attr("id");return t.attr("name")||t.attr("id")&&!t.firstChild||t.attr("data-mce-bookmark")||e},Nm=function(){function t(t,e){this.name=t,this.type=e,1===e&&(this.attributes=[],this.attributes.map={})}return t.create=function(e,n){var r=new t(e,Om[e]||1);return n&&ft(n,(function(t,e){r.attr(e,t)})),r},t.prototype.replace=function(t){var e=this;return t.parent&&t.remove(),e.insert(t,e),e.remove(),e},t.prototype.attr=function(t,e){var n,r=this;if("string"!=typeof t)return null!=t&&ft(t,(function(t,e){r.attr(e,t)})),r;if(n=r.attributes){if(void 0!==e){if(null===e){if(t in n.map){delete n.map[t];for(var o=n.length;o--;)if(n[o].name===t)return n.splice(o,1),r}return r}if(t in n.map){for(o=n.length;o--;)if(n[o].name===t){n[o].value=e;break}}else n.push({name:t,value:e});return n.map[t]=e,r}return n.map[t]}},t.prototype.clone=function(){var e,n=this,r=new t(n.name,n.type);if(e=n.attributes){var o=[];o.map={};for(var i=0,a=e.length;i=s.length)for(n=0,r=a.length;n=s.length||a[n]!==s[n]){o=n+1;break}if(a.length=a.length||a[n]!==s[n]){o=n+1;break}if(1===o)return e;for(n=0,r=a.length-(o-1);n=0;n--)0!==u[n].length&&"."!==u[n]&&(".."!==u[n]?o>0?o--:i.push(u[n]):o++);return 0!==(r=(n=s.length-o)<=0?nt(i).join("/"):s.slice(0,n).join("/")+"/"+nt(i).join("/")).indexOf("/")&&(r="/"+r),a&&r.lastIndexOf("/")!==r.length-1&&(r+=a),r},t.prototype.getURI=function(t){var e;return void 0===t&&(t=!1),this.source&&!t||(e="",t||(this.protocol?e+=this.protocol+"://":e+="//",this.userInfo&&(e+=this.userInfo+"@"),this.host&&(e+=this.host),this.port&&(e+=":"+this.port)),this.path&&(e+=this.path),this.query&&(e+="?"+this.query),this.anchor&&(e+="#"+this.anchor),this.source=e),this.source},t}(),Um=Ee.makeMap("button,fieldset,form,iframe,img,image,input,object,output,select,textarea"),Hm=function(t,e,n){for(var r=/<([!?\/])?([A-Za-z0-9\-_:.]+)/g,o=/(?:\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g,i=t.getShortEndedElements(),a=1,s=n;0!==a;)for(r.lastIndex=s;;){var u=r.exec(e);if(null===u)return s;if("!"===u[1]){s=Mt(u[2],"--")?Vm(e,!1,u.index+"!--".length):Vm(e,!0,u.index+1);break}o.lastIndex=r.lastIndex;var c=o.exec(e);if(!h(c)&&c.index===r.lastIndex){"/"===u[1]?a-=1:wt(i,u[2])||(a+=1),s=r.lastIndex+c[0].length;break}}return s},Vm=function(t,e,n){void 0===n&&(n=0);var r=t.toLowerCase();if(-1!==r.indexOf("[if ",n)&&function(t,e){return/^\s*\[if [\w\W]+\]>.*/.test(t.substr(e))}(r,n)){var o=r.indexOf("[endif]",n);return r.indexOf(">",o)}if(e){var i=r.indexOf(">",n);return-1!==i?i:r.length}var a=/--!?>/g;a.lastIndex=n;var s=a.exec(t);return s?s.index+s[0].length:r.length},Wm=function(t,e){var n=t.exec(e);if(n){var r=n[1],o=n[2];return"string"==typeof r&&"data-mce-bogus"===r.toLowerCase()?o:null}return null},qm=function(t,e){var n;void 0===e&&(e=Oi());var r=null!==(n=(t=t||{}).document)&&void 0!==n?n:document,o=r.createElement("form");!1!==t.fix_self_closing&&(t.fix_self_closing=!0);var i=t.comment?t.comment:C,a=t.cdata?t.cdata:C,s=t.text?t.text:C,u=t.start?t.start:C,c=t.end?t.end:C,l=t.pi?t.pi:C,d=t.doctype?t.doctype:C,f=function(n,f){void 0===f&&(f="html");for(var m,p,h,g,v,b,y,w,_,C,k,x,D,S,T,E,O,L,A,$=n.html,N=0,P=[],I=0,R=yi.decode,B=Ee.makeMap("src,href,data,background,action,formaction,poster,xlink:href"),M="html"===f?0:1,j=function(t){var e,n;for(e=P.length;e--&&P[e].name!==t;);if(e>=0){for(n=P.length-1;n>=e;n--)(t=P[n]).valid&&c(t.name);P.length=e}},z=function(t,e){return s(Pm(t,n),e)},F=function(e){""!==e&&(">"===e.charAt(0)&&(e=" "+e),t.allow_conditional_comments||"[if"!==e.substr(0,3).toLowerCase()||(e=" "+e),i(Pm(e,n)))},U=function(t,e){var n=t||"",r=!Mt(n,"--"),o=Vm($,r,e);return t=$.substr(e,o-e),F(r?n+t:t),o+1},H=function(e,i,a,s,u){if(a=function(t){return Pm(t,n)}((i=i.toLowerCase())in Y?i:R(a||s||u||"")),X&&!w&&!1===function(t){return 0===t.indexOf("data-")||0===t.indexOf("aria-")}(i)){var c=S[i];if(!c&&T){for(var l=T.length;l--&&!(c=T[l]).pattern.test(i););-1===l&&(c=null)}if(!c)return;if(c.validValues&&!(a in c.validValues))return}("name"===i||"id"===i)&&e in Um&&(a in r||a in o)||B[i]&&!Fm.isDomSafe(a,e,t)||w&&(i in B||0===i.indexOf("on"))||(g.map[i]=a,g.push({name:i,value:a}))},V=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"),W=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,q=e.getShortEndedElements(),K=t.self_closing_elements||e.getSelfClosingElements(),Y=e.getBoolAttrs(),X=t.validate,Z=t.remove_internals,G=t.fix_self_closing,J=e.getSpecialElements(),Q=$+">";m=V.exec(Q);){var tt=m[0];if(N$.length){z(R($.substr(m.index))),N=m.index+tt.length;continue}":"===(p=p.toLowerCase()).charAt(0)&&(p=p.substr(1)),_=p in q,G&&K[p]&&P.length>0&&P[P.length-1].name===p&&j(p);var et=Wm(W,m[9]);if(null!==et){if("all"===et){N=Hm(e,$,V.lastIndex),V.lastIndex=N;continue}k=!1}if(!X||(C=e.getElementRule(p))){if(k=!0,X&&(S=C.attributes,T=C.attributePatterns),(D=m[9])?((w=-1!==D.indexOf("data-mce-type"))&&Z&&(k=!1),(g=[]).map={},D.replace(W,(function(t,e,n,r,o){return H(p,e,n,r,o),""}))):(g=[]).map={},X&&!w){if(E=C.attributesRequired,O=C.attributesDefault,L=C.attributesForced,C.removeEmptyAttrs&&!g.length&&(k=!1),L)for(v=L.length;v--;)y=(x=L[v]).name,"{$uid}"===(A=x.value)&&(A="mce_"+I++),g.map[y]=A,g.push({name:y,value:A});if(O)for(v=O.length;v--;)(y=(x=O[v]).name)in g.map||("{$uid}"===(A=x.value)&&(A="mce_"+I++),g.map[y]=A,g.push({name:y,value:A}));if(E){for(v=E.length;v--&&!(E[v]in g.map););-1===v&&(k=!1)}if(x=g.map["data-mce-bogus"]){if("all"===x){N=Hm(e,$,V.lastIndex),V.lastIndex=N;continue}k=!1}}k&&u(p,g,_)}else k=!1;if(h=J[p]){h.lastIndex=N=m.index+tt.length,(m=h.exec($))?(k&&(b=$.substr(N,m.index-N)),N=m.index+m[0].length):(b=$.substr(N),N=$.length),k&&(b.length>0&&z(b,!0),c(p)),V.lastIndex=N;continue}_||(D&&D.indexOf("/")===D.length-1?k&&c(p):P.push({name:p,valid:k}))}else if(p=m[1])F(p);else if(p=m[2]){if(!(1===M||t.preserve_cdata||P.length>0&&e.isValidChild(P[P.length-1].name,"#cdata"))){N=U("",m.index+2),V.lastIndex=N;continue}a(p)}else if(p=m[3])d(p);else{if((p=m[4])||"=0;v--)(p=P[v]).valid&&c(p.name)};return{parse:function(t,e){void 0===e&&(e="html"),f(function(t){for(var e,n=/data:[^;]+;base64,([a-z0-9\+\/=\s]+)/gi,r=[],o={},i=Ks("img"),a=0,s=0;e=n.exec(t);){var u=e[0],c=i+"_"+s++;o[c]=u,a]*data-mce-bogus="all"[^>]*>/g,o=t.schema,i=function(t,e){var n=new RegExp(["\\s?("+t.join("|")+')="[^"]+"'].join("|"),"gi");return e.replace(n,"")}(t.getTempAttrs(),e),a=o.getShortEndedElements();n=r.exec(i);){var s=r.lastIndex,u=n[0].length,c=void 0;c=a[n[1]]?s:qm.findEndTag(o,i,s),i=i.substring(0,s-u)+i.substring(c),r.lastIndex=s-u}return ko(i)},Ym=Km,Xm=function(t,e,n,r){var o,i=function(t,e){return Lt(Lt({},t),{format:e,get:!0,getInner:!0})}(e,n),a=e.no_events?i:t.fire("BeforeGetContent",i);return o="raw"===a.format?Ee.trim(Ym(t.serializer,r.innerHTML)):"text"===a.format?t.dom.isEmpty(r)?"":ko(r.innerText||r.textContent):"tree"===a.format?t.serializer.serialize(r,a):function(t,e){var n=nc(t),r=new RegExp("^(<"+n+"[^>]*>( | |\\s| |
    |)<\\/"+n+">[\r\n]*|
    [\r\n]*)$");return e.replace(r,"")}(t,t.serializer.serialize(r,a)),U(["text","tree"],a.format)||yo(Le.fromDom(r))?a.content=o:a.content=Ee.trim(o),a.no_events?a.content:t.fire("GetContent",a).content},Zm=Ee.each,Gm=function(t){return{compare:function(e,n){if(e.nodeName!==n.nodeName)return!1;var r=function(e){var n={};return Zm(t.getAttribs(e),(function(r){var o=r.nodeName.toLowerCase();0!==o.indexOf("_")&&"style"!==o&&0!==o.indexOf("data-")&&(n[o]=t.getAttrib(e,o))})),n},o=function(t,e){var n,r;for(r in t)if(wt(t,r)){if(void 0===(n=e[r]))return!1;if(t[r]!==n)return!1;delete e[r]}for(r in e)if(wt(e,r))return!1;return!0};return!!o(r(e),r(n))&&(!!o(t.parseStyle(t.getAttrib(e,"style")),t.parseStyle(t.getAttrib(n,"style")))&&(!Zl(e)&&!Zl(n)))}}},Jm=Ee.makeMap,Qm=function(t){var e=[],n=(t=t||{}).indent,r=Jm(t.indent_before||""),o=Jm(t.indent_after||""),i=yi.getEncodeFunc(t.entity_encoding||"raw",t.entities),a="html"===t.element_format;return{start:function(t,s,u){var c,l,d,f;if(n&&r[t]&&e.length>0&&(f=e[e.length-1]).length>0&&"\n"!==f&&e.push("\n"),e.push("<",t),s)for(c=0,l=s.length;c":" />",u&&n&&o[t]&&e.length>0&&(f=e[e.length-1]).length>0&&"\n"!==f&&e.push("\n")},end:function(t){var r;e.push(""),n&&o[t]&&e.length>0&&(r=e[e.length-1]).length>0&&"\n"!==r&&e.push("\n")},text:function(t,n){t.length>0&&(e[e.length]=n?t:i(t))},cdata:function(t){e.push("")},comment:function(t){e.push("\x3c!--",t,"--\x3e")},pi:function(t,r){r?e.push(""):e.push(""),n&&e.push("\n")},doctype:function(t){e.push("",n?"\n":"")},reset:function(){e.length=0},getContent:function(){return e.join("").replace(/\n$/,"")}}},tp=function(t,e){void 0===e&&(e=Oi());var n=Qm(t);(t=t||{}).validate=!("validate"in t)||t.validate;return{serialize:function(r){var o=t.validate,i={3:function(t){n.text(t.value,t.raw)},8:function(t){n.comment(t.value)},7:function(t){n.pi(t.name,t.value)},10:function(t){n.doctype(t.value)},4:function(t){n.cdata(t.value)},11:function(t){if(t=t.firstChild)do{a(t)}while(t=t.next)}};n.reset();var a=function(t){var r=i[t.type];if(r)r(t);else{var s=t.name,u=t.shortEnded,c=t.attributes;if(o&&c&&c.length>1){var l=[];l.map={};var d=e.getElementRule(t.name);if(d){for(var f=0,m=d.attributesOrder.length;f'))},kp=function(t){en(t).each((function(e){Ye(e).each((function(n){lo(t)&&mo(e)&&lo(n)&&vn(e)}))}))},xp=function(t,e,n){return Re(e,t)?(r=function(t,e){for(var n=w(e)?e:$,r=t.dom,o=[];null!==r.parentNode&&void 0!==r.parentNode;){var i=r.parentNode,a=Le.fromDom(i);if(o.push(a),!0===n(a))break;r=i}return o}(t,(function(t){return n(t)||Pe(t,e)})),r.slice(0,-1)):[];var r},Dp=function(t,e){return xp(t,e,$)},Sp=function(t,e){return[t].concat(Dp(t,e))},Tp=function(t,e,n){return Al(t,e,n,cp)},Ep=function(t,e){return J(Sp(Le.fromDom(e.container()),t),lo)},Op=function(t,e,n){return Tp(t,e.dom,n).forall((function(t){return Ep(e,n).fold((function(){return!1===tl(t,n,e.dom)}),(function(r){return!1===tl(t,n,e.dom)&&Re(r,Le.fromDom(t.container()))}))}))},Lp=function(t,e,n){return Ep(e,n).fold((function(){return Tp(t,e.dom,n).forall((function(t){return!1===tl(t,n,e.dom)}))}),(function(e){return Tp(t,e.dom,n).isNone()}))},Ap=E(Lp,!1),$p=E(Lp,!0),Np=E(Op,!1),Pp=E(Op,!0),Ip=function(t){return ll(t).exists(mo)},Rp=function(t,e,n){var r=Y(Sp(Le.fromDom(n.container()),e),lo),o=at(r).getOr(e);return Ol(t,o.dom,n).filter(Ip)},Bp=function(t,e){return ll(e).exists(mo)||Rp(!0,t,e).isSome()},Mp=function(t,e){return function(t){return B.from(t.getNode(!0)).map(Le.fromDom)}(e).exists(mo)||Rp(!1,t,e).isSome()},jp=E(Rp,!1),zp=E(Rp,!0),Fp=function(t){return Ou.isTextPosition(t)&&!t.isAtStart()&&!t.isAtEnd()},Up=function(t,e){var n=Y(Sp(Le.fromDom(e.container()),t),lo);return at(n).getOr(t)},Hp=function(t,e){return Fp(e)?up(e):up(e)||Pl(Up(t,e).dom,e).exists(up)},Vp=function(t,e){return Fp(e)?sp(e):sp(e)||Nl(Up(t,e).dom,e).exists(sp)},Wp=function(t){return ll(t).bind((function(t){return Xr(t,ze)})).exists((function(t){return function(t){return U(["pre","pre-wrap"],t)}(ir(t,"white-space"))}))},qp=function(t,e){return function(t,e){return Pl(t.dom,e).isNone()}(t,e)||function(t,e){return Nl(t.dom,e).isNone()}(t,e)||Ap(t,e)||$p(t,e)||Mp(t,e)||Bp(t,e)},Kp=function(t,e){return!Wp(e)&&(Ap(t,e)||Np(t,e)||Mp(t,e)||Hp(t,e))},Yp=function(t,e){return!Wp(e)&&($p(t,e)||Pp(t,e)||Bp(t,e)||Vp(t,e))},Xp=function(t,e){return Kp(t,e)||Yp(t,function(t){var e=t.container(),n=t.offset();return jn(e)&&n0&&n=t.data.length&&Yp(o,Ou(t,t.data.length)),s=0===e&&Kp(o,Ou(t,0));t.replaceData(e,n,function(t,e,n){return Z(t,(function(r,o){return Jl(o)||Gl(o)?r.previousCharIsSpace||""===r.str&&e||r.str.length===t.length-1&&n?{previousCharIsSpace:!1,str:r.str+wo}:{previousCharIsSpace:!0,str:r.str+" "}:{previousCharIsSpace:!1,str:r.str+o}}),{previousCharIsSpace:!1,str:""}).str}(i,s,a))}},nh=function(t,e){var n=t.data.slice(e),r=n.length-Ft(n).length;eh(t,e,r)},rh=function(t,e){var n=t.data.slice(0,e),r=n.length-Ut(n).length;eh(t,e-r,r)},oh=function(t,e,n,r){void 0===r&&(r=!0);var o=Ut(t.data).length,i=r?t:e,a=r?e:t;return r?i.appendData(a.data):i.insertData(0,a.data),vn(Le.fromDom(a)),n&&nh(i,o),i},ih=function(t,e){return function(t,e){var n=t.container(),r=t.offset();return!1===Ou.isTextPosition(t)&&n===e.parentNode&&r>Ou.before(e).offset()}(e,t)?Ou(e.container(),e.offset()-1):e},ah=function(t){return Wo(t.previousSibling)?B.some((e=t.previousSibling,jn(e)?Ou(e,e.data.length):Ou.after(e))):t.previousSibling?Rl(t.previousSibling):B.none();var e},sh=function(t){return Wo(t.nextSibling)?B.some((e=t.nextSibling,jn(e)?Ou(e,0):Ou.before(e))):t.nextSibling?Il(t.nextSibling):B.none();var e},uh=function(t,e){return ah(e).orThunk((function(){return sh(e)})).orThunk((function(){return function(t,e){var n=Ou.before(e.previousSibling?e.previousSibling:e.parentNode);return Pl(t,n).fold((function(){return Nl(t,Ou.after(e))}),B.some)}(t,e)}))},ch=function(t,e){return sh(e).orThunk((function(){return ah(e)})).orThunk((function(){return function(t,e){return Nl(t,Ou.after(e)).fold((function(){return Pl(t,Ou.before(e))}),B.some)}(t,e)}))},lh=function(t,e,n){return function(t,e,n){return t?ch(e,n):uh(e,n)}(t,e,n).map(E(ih,n))},dh=function(t,e,n){n.fold((function(){t.focus()}),(function(n){t.selection.setRng(n.toRange(),e)}))},fh=function(t,e){return e&&wt(t.schema.getBlockElements(),Be(e))},mh=function(t){if(ei(t)){var e=Le.fromHtml('
    ');return gn(t),pn(t,e),B.some(Ou.before(e.dom))}return B.none()},ph=function(t,e,n){var r,o,i,a,s=Ye(t).filter(Fe),u=Xe(t).filter(Fe);return vn(t),(r=s,o=u,i=e,a=function(t,e,r){var o=t.dom,i=e.dom,a=o.data.length;return oh(o,i,n),r.container()===i?Ou(o,a):r},r.isSome()&&o.isSome()&&i.isSome()?B.some(a(r.getOrDie(),o.getOrDie(),i.getOrDie())):B.none()).orThunk((function(){return n&&(s.each((function(t){return rh(t.dom,t.dom.length)})),u.each((function(t){return nh(t.dom,0)}))),e}))},hh=function(t,e,n,r){void 0===r&&(r=!0);var o,i=lh(e,t.getBody(),n.dom),a=Yr(n,E(fh,t),(o=t.getBody(),function(t){return t.dom===o})),s=ph(n,i,function(t,e){return wt(t.schema.getTextInlineElements(),Be(e))}(t,n));t.dom.isEmpty(t.getBody())?(t.setContent(""),t.selection.setCursorLocation()):a.bind(mh).fold((function(){r&&dh(t,e,s)}),(function(n){r&&dh(t,e,B.some(n))}))},gh=function(t){return Ms(t,"td,th")},vh=function(t,e){return{start:t,end:e}},bh=Dr([{singleCellTable:["rng","cell"]},{fullTable:["table"]},{partialTable:["cells","outsideDetails"]},{multiTable:["startTableCells","endTableCells","betweenRng"]}]),yh=function(t,e){return Qr(Le.fromDom(t),"td,th",e)},wh=function(t){return!Pe(t.start,t.end)},_h=function(t,e){return Bd(t.start,e).bind((function(n){return Bd(t.end,e).bind((function(t){return e=Pe(n,t),r=n,e?B.some(r):B.none();var e,r}))}))},Ch=function(t){return function(e){return _h(e,t).map((function(t){return function(t,e,n){return{rng:t,table:e,cells:n}}(e,t,gh(t))}))}},kh=function(t,e,n,r){if(n.collapsed||!t.forall(wh))return B.none();if(e.isSameTable){var o=t.bind(Ch(r));return B.some({start:o,end:o})}var i=yh(n.startContainer,r),a=yh(n.endContainer,r),s=i.bind(function(t){return function(e){return Bd(e,t).bind((function(t){return st(gh(t)).map((function(t){return vh(e,t)}))}))}}(r)).bind(Ch(r)),u=a.bind(function(t){return function(e){return Bd(e,t).bind((function(t){return at(gh(t)).map((function(t){return vh(t,e)}))}))}}(r)).bind(Ch(r));return B.some({start:s,end:u})},xh=function(t,e){return Q(t,(function(t){return Pe(t,e)}))},Dh=function(t){return Zn(xh(t.cells,t.rng.start),xh(t.cells,t.rng.end),(function(e,n){return t.cells.slice(e,n+1)}))},Sh=function(t,e,n){return t.exists((function(t){return function(t,e){return!wh(t)&&_h(t,e).exists((function(t){var e=t.dom.rows;return 1===e.length&&1===e[0].cells.length}))}(t,n)&&zd(t.start,e)}))},Th=function(t,e){var n=e.startTable,r=e.endTable,o=t.cloneRange();return n.each((function(t){return o.setStartAfter(t.dom)})),r.each((function(t){return o.setEndBefore(t.dom)})),o},Eh=function(t,e){var n=function(t){return function(e){return Pe(t,e)}}(t),r=function(t,e){var n=yh(t.startContainer,e),r=yh(t.endContainer,e);return Zn(n,r,vh)}(e,n),o=function(t,e){var n=function(t){return Bd(Le.fromDom(t),e)},r=n(t.startContainer),o=n(t.endContainer),i=r.isSome(),a=o.isSome(),s=Zn(r,o,Pe).getOr(!1);return{startTable:r,endTable:o,isStartInTable:i,isEndInTable:a,isSameTable:s,isMultiTable:!s&&i&&a}}(e,n);return Sh(r,e,n)?r.map((function(t){return bh.singleCellTable(e,t.start)})):o.isMultiTable?function(t,e,n,r){return kh(t,e,n,r).bind((function(t){var r=t.start,o=t.end,i=r.bind(Dh).getOr([]),a=o.bind(Dh).getOr([]);if(i.length>0&&a.length>0){var s=Th(n,e);return B.some(bh.multiTable(i,a,s))}return B.none()}))}(r,o,e,n):function(t,e,n,r){return kh(t,e,n,r).bind((function(t){var e=t.start,n=t.end;return e.or(n)})).bind((function(t){var r=e.isSameTable,o=Dh(t).getOr([]);if(r&&t.cells.length===o.length)return B.some(bh.fullTable(t.table));if(o.length>0){if(r)return B.some(bh.partialTable(o,B.none()));var i=Th(n,e);return B.some(bh.partialTable(o,B.some(Lt(Lt({},e),{rng:i}))))}return B.none()}))}(r,o,e,n)},Oh=function(t){var e;return(8===Me(e=t)||"#comment"===Be(e)?Ye(t):en(t)).bind(Oh).orThunk((function(){return B.some(t)}))},Lh=function(t){return W(t,(function(t){rr(t,"contenteditable"),Cp(t)}))},Ah=function(t,e,n,r){var o=n.cloneRange();r?(o.setStart(n.startContainer,n.startOffset),o.setEndAfter(e.dom.lastChild)):(o.setStartBefore(e.dom.firstChild),o.setEnd(n.endContainer,n.endOffset)),Ih(t,o,e,!1)},$h=function(t){var e=Rd(t),n=Le.fromDom(t.selection.getNode());Kn(n.dom)&&ei(n)?t.selection.setCursorLocation(n.dom,0):t.selection.collapse(!0),e.length>1&&H(e,(function(t){return Pe(t,n)}))&&Qn(n,"data-mce-selected","1")},Nh=function(t,e,n){var r=t.selection.getRng(),o=n.bind((function(n){var o=n.rng,i=n.isStartInTable,a=function(t,e){return B.from(t.dom.getParent(e,t.dom.isBlock)).map(Le.fromDom)}(t,i?o.endContainer:o.startContainer);o.deleteContents(),function(t,e,n){n.each((function(n){e?vn(n):(Cp(n),t.selection.setCursorLocation(n.dom,0))}))}(t,i,a.filter(ei));var s=i?e[0]:e[e.length-1];return Ah(t,s,r,i),ei(s)?B.none():B.some(i?e.slice(1):e.slice(0,-1))})).getOr(e);return Lh(o),$h(t),!0},Ph=function(t,e,n,r){var o=t.selection.getRng(),i=e[0],a=n[n.length-1];Ah(t,i,o,!0),Ah(t,a,o,!1);var s=ei(i)?e:e.slice(1),u=ei(a)?n:n.slice(0,-1);return Lh(s.concat(u)),r.deleteContents(),$h(t),!0},Ih=function(t,e,n,r){void 0===r&&(r=!0),e.deleteContents();var o,i=Oh(n).getOr(n),a=Le.fromDom(t.dom.getParent(i.dom,t.dom.isBlock));if(ei(a)&&(Cp(a),r&&t.selection.setCursorLocation(a.dom,0)),!Pe(n,a)){var s=Xn(Ke(a),n)?[]:Ke(o=a).map(Je).map((function(t){return Y(t,(function(t){return!Pe(o,t)}))})).getOr([]);W(s.concat(Je(n)),(function(t){Pe(t,a)||Re(t,a)||!ei(t)||vn(t)}))}return!0},Rh=function(t,e){return hh(t,!1,e),!0},Bh=function(t,e,n,r){return jh(e,r).fold((function(){return function(t,e,n){return Eh(e,n).map((function(e){return e.fold(E(Ih,t),E(Rh,t),E(Nh,t),E(Ph,t))}))}(t,e,n)}),(function(e){return function(t,e){return zh(t,e)}(t,e)})).getOr(!1)},Mh=function(t,e){return J(Sp(e,t),bo)},jh=function(t,e){return J(Sp(e,t),(n="caption",function(t){return ze(t)&&Be(t)===n}));var n},zh=function(t,e){return Cp(e),t.selection.setCursorLocation(e.dom,0),B.some(!0)},Fh=function(t,e,n,r,o){return Ll(n,t.getBody(),o).bind((function(i){return function(t,e,n,r){return Il(t.dom).bind((function(o){return Rl(t.dom).map((function(t){return e?n.isEqual(o)&&r.isEqual(t):n.isEqual(t)&&r.isEqual(o)}))})).getOr(!0)}(r,n,o,i)?function(t,e){return zh(t,e)}(t,r):function(t,e,n){return jh(t,Le.fromDom(n.getNode())).map((function(t){return!1===Pe(t,e)}))}(e,r,i)})).or(B.some(!0))},Uh=function(t,e,n,r){var o=Ou.fromRangeStart(t.selection.getRng());return Mh(n,r).bind((function(r){return ei(r)?zh(t,r):function(t,e,n,r,o){return Ll(n,t.getBody(),o).bind((function(t){return Mh(e,Le.fromDom(t.getNode())).map((function(t){return!1===Pe(t,r)}))}))}(t,n,e,r,o)})).getOr(!1)},Hh=function(t,e){return t?vp(e):bp(e)},Vh=function(t,e,n){var r=Le.fromDom(t.getBody());return jh(r,n).fold((function(){return Uh(t,e,r,n)||function(t,e){var n=Ou.fromRangeStart(t.selection.getRng());return Hh(e,n)||Ol(e,t.getBody(),n).exists((function(t){return Hh(e,t)}))}(t,e)}),(function(n){return function(t,e,n,r){var o=Ou.fromRangeStart(t.selection.getRng());return ei(r)?zh(t,r):Fh(t,n,e,r,o)}(t,e,r,n).getOr(!1)}))},Wh=function(t,e){var n=Le.fromDom(t.selection.getStart(!0)),r=Rd(t);return t.selection.isCollapsed()&&0===r.length?Vh(t,e,n):function(t,e,n){var r=Le.fromDom(t.getBody()),o=t.selection.getRng();return 0!==n.length?Nh(t,n,B.none()):Bh(t,r,o,e)}(t,n,r)},qh=function(t){var e=Ou.fromRangeStart(t),n=Ou.fromRangeEnd(t),r=t.commonAncestorContainer;return Ol(!1,r,n).map((function(o){return!tl(e,n,r)&&tl(e,o,r)?function(t,e,n,r){var o=document.createRange();return o.setStart(t,e),o.setEnd(n,r),o}(e.container(),e.offset(),o.container(),o.offset()):t})).getOr(t)},Kh=function(t){return t.collapsed?t:qh(t)},Yh=function(t,e){return t.getBlockElements()[e.name]&&function(t){return t.firstChild&&t.firstChild===t.lastChild}(e)&&function(t){return"br"===t.name||t.value===wo}(e.firstChild)},Xh=function(t,e){var n=e.firstChild,r=e.lastChild;return n&&"meta"===n.name&&(n=n.next),r&&"mce_marker"===r.attr("id")&&(r=r.prev),function(t,e){var n=t.getNonEmptyElements();return e&&(e.isEmpty(n)||Yh(t,e))}(t,r)&&(r=r.prev),!(!n||n!==r)&&("ul"===n.name||"ol"===n.name)},Zh=function(t){return t&&t.firstChild&&t.firstChild===t.lastChild&&function(t){return t.data===wo||Hn(t)}(t.firstChild)},Gh=function(t){return t.length>0&&(!(e=t[t.length-1]).firstChild||Zh(e))?t.slice(0,-1):t;var e},Jh=function(t,e){var n=t.getParent(e,t.isBlock);return n&&"LI"===n.nodeName?n:null},Qh=function(t,e){var n=Ou.after(t),r=xl(e).prev(n);return r?r.toRange():null},tg=function(t,e,n){var r=t.parentNode;return Ee.each(e,(function(e){r.insertBefore(e,t)})),function(t,e){var n=Ou.before(t),r=xl(e).next(n);return r?r.toRange():null}(t,n)},eg=function(t,e,n,r){var o,i=function(t,e,n){var r=e.serialize(n);return function(t){var e=t.firstChild,n=t.lastChild;return e&&"META"===e.nodeName&&e.parentNode.removeChild(e),n&&"mce_marker"===n.id&&n.parentNode.removeChild(n),t}(t.createFragment(r))}(e,t,r),a=Jh(e,n.startContainer),s=Gh((o=i.firstChild,Y(o.childNodes,(function(t){return"LI"===t.nodeName})))),u=e.getRoot(),c=function(t){var r=Ou.fromRangeStart(n),o=xl(e.getRoot()),i=1===t?o.prev(r):o.next(r);return!i||Jh(e,i.getNode())!==a};return c(1)?tg(a,s,u):c(2)?function(t,e,n,r){return r.insertAfter(e.reverse(),t),Qh(e[0],n)}(a,s,u,e):function(t,e,n,r){var o=function(t,e){var n=e.cloneRange(),r=e.cloneRange();return n.setStartBefore(t),r.setEndAfter(t),[n.cloneContents(),r.cloneContents()]}(t,r),i=t.parentNode;return i.insertBefore(o[0],t),Ee.each(e,(function(e){i.insertBefore(e,t)})),i.insertBefore(o[1],t),i.removeChild(t),Qh(e[e.length-1],n)}(a,s,u,n)},ng=Kn,rg=function(t){var e=t.dom,n=Kh(t.selection.getRng());t.selection.setRng(n);var r=e.getParent(n.startContainer,ng);!function(t,e,n){return null!==n&&n===t.getParent(e.endContainer,ng)&&zd(Le.fromDom(n),e)}(e,n,r)?t.getDoc().execCommand("Delete",!1,null):Ih(t,n,Le.fromDom(r))},og=function(t,e,n){var r,o,i,a=t.selection,s=t.dom;/^ | $/.test(e)&&(e=function(t,e,n){var r=Le.fromDom(t.getRoot());return n=Kp(r,Ou.fromRangeStart(e))?n.replace(/^ /," "):n.replace(/^ /," "),Yp(r,Ou.fromRangeEnd(e))?n.replace(/( | )()?$/," "):n.replace(/ ()?$/," ")}(s,a.getRng(),e));var u=t.parser,c=n.merge,l=tp({validate:yc(t)},t.schema),d='',f=t.fire("BeforeSetContent",{content:e,format:"html",selection:!0,paste:n.paste});if(f.isDefaultPrevented())t.fire("SetContent",{content:f.content,format:"html",selection:!0,paste:n.paste});else{-1===(e=f.content).indexOf("{$caret}")&&(e+="{$caret}"),e=e.replace(/\{\$caret\}/,d);var m=(o=a.getRng()).startContainer||(o.parentElement?o.parentElement():null),p=t.getBody();m===p&&a.isCollapsed()&&s.isBlock(p.firstChild)&&function(t,e){return e&&!t.schema.getShortEndedElements()[e.nodeName]}(t,p.firstChild)&&s.isEmpty(p.firstChild)&&((o=s.createRng()).setStart(p.firstChild,0),o.setEnd(p.firstChild,0),a.setRng(o)),a.isCollapsed()||rg(t);var h,g={context:(r=a.getNode()).nodeName.toLowerCase(),data:n.data,insert:!0},v=u.parse(e,g);if(!0===n.paste&&Xh(t.schema,v)&&function(t,e){return!!Jh(t,e)}(s,r))return o=eg(l,s,a.getRng(),v),a.setRng(o),void t.fire("SetContent",f);if(function(t){for(var e=t;e=e.walk();)1===e.type&&e.attr("data-mce-fragment","1")}(v),"mce_marker"===(i=v.lastChild).attr("id")){var b=i;for(i=i.prev;i;i=i.walk(!0))if(3===i.type||!s.isBlock(i.name)){t.schema.isValidChild(i.parent.name,"span")&&i.parent.insert(b,i,"br"===i.name);break}}if(t._selectionOverrides.showBlockCaretContainer(r),g.invalid){t.selection.setContent(d),r=a.getNode();var w=t.getBody();for(9===r.nodeType?r=i=w:i=r;i!==w;)r=i,i=i.parentNode;e=r===w?w.innerHTML:s.getOuterHTML(r),e=l.serialize(u.parse(e.replace(//i,(function(){return l.serialize(v)})))),r===w?s.setHTML(w,e):s.setOuterHTML(r,e)}else!function(t,e,n){if("all"===n.getAttribute("data-mce-bogus"))n.parentNode.insertBefore(t.dom.createFragment(e),n);else{var r=n.firstChild,o=n.lastChild;!r||r===o&&"BR"===r.nodeName?t.dom.setHTML(n,e):t.selection.setContent(e)}}(t,e=l.serialize(v),r);!function(t,e){var n=t.schema.getTextInlineElements(),r=t.dom;if(e){var o=t.getBody(),i=Gm(r);Ee.each(r.select("*[data-mce-fragment]"),(function(t){if(y(n[t.nodeName.toLowerCase()])&&op(r,t))for(var e=t.parentNode;y(e)&&e!==o&&!ip(r,t,e);e=e.parentNode)if(i.compare(e,t)){r.remove(t,!0);break}}))}}(t,c),function(t,e){var n,r=t.dom,o=t.selection;if(e){o.scrollIntoView(e);var i=Qd(t.getBody(),e);if("false"===r.getContentEditable(i))return r.remove(e),void o.select(i);var a=r.createRng(),s=e.previousSibling;if(jn(s)){if(a.setStart(s,s.nodeValue.length),!ke.ie){var u=e.nextSibling;jn(u)&&(s.appendData(u.data),u.parentNode.removeChild(u))}}else a.setStartBefore(e),a.setEndBefore(e);var c=r.getParent(e,r.isBlock);r.remove(e),c&&r.isEmpty(c)&&(t.$(c).empty(),a.setStart(c,0),a.setEnd(c,0),ng(c)||function(t){return!!t.getAttribute("data-mce-fragment")}(c)||!(n=function(e){var n=Ou.fromRangeStart(e);if(n=xl(t.getBody()).next(n))return n.toRange()}(a))?r.add(c,r.create("br",{"data-mce-bogus":"1"})):(a=n,r.remove(c))),o.setRng(a)}}(t,s.get("mce_marker")),h=t.getBody(),Ee.each(h.getElementsByTagName("*"),(function(t){t.removeAttribute("data-mce-fragment")})),function(t,e){B.from(t.getParent(e,"td,th")).map(Le.fromDom).each(kp)}(s,a.getStart()),t.fire("SetContent",f),t.addVisual()}},ig=function(t,e){e(t),t.firstChild&&ig(t.firstChild,e),t.next&&ig(t.next,e)},ag=function(t,e,n){var r=function(t,e,n){var r={},o={},i=[];for(var a in n.firstChild&&ig(n.firstChild,(function(n){W(t,(function(t){t.name===n.name&&(r[t.name]?r[t.name].nodes.push(n):r[t.name]={filter:t,nodes:[n]})})),W(e,(function(t){"string"==typeof n.attr(t.name)&&(o[t.name]?o[t.name].nodes.push(n):o[t.name]={filter:t,nodes:[n]})}))})),r)wt(r,a)&&i.push(r[a]);for(var s in o)wt(o,s)&&i.push(o[s]);return i}(t,e,n);W(r,(function(t){W(t.filter.callbacks,(function(e){e(t.nodes,t.filter.name,{})}))}))},sg=function(t){return t instanceof Nm},ug=function(t,e,n){t.dom.setHTML(t.getBody(),e),!0!==n&&function(t){wm(t)&&Il(t.getBody()).each((function(e){var n=e.getNode(),r=Rn(n)?Il(n).getOr(e):e;t.selection.setRng(r.toRange())}))}(t)},cg=function(t,e,n){var r=function(t,e){return Lt(Lt({format:"html"},t),{set:!0,content:sg(e)?"":e})}(n,e),o=n.no_events?r:t.fire("BeforeSetContent",r);return sg(e)||(e=o.content),B.from(t.getBody()).fold(D(e),(function(n){return sg(e)?function(t,e,n,r){ag(t.parser.getNodeFilters(),t.parser.getAttributeFilters(),n);var o=tp({validate:t.validate},t.schema).serialize(n);return r.content=yo(Le.fromDom(e))?o:Ee.trim(o),ug(t,r.content,r.no_selection),r.no_events||t.fire("SetContent",r),n}(t,n,e,o):function(t,e,n,r){if(0===n.length||/^\s+$/.test(n)){var o='
    ';"TABLE"===e.nodeName?n=""+o+"":/^(UL|OL)$/.test(e.nodeName)&&(n="
  • "+o+"
  • ");var i=nc(t);i&&t.schema.isValidChild(e.nodeName.toLowerCase(),i.toLowerCase())?(n=o,n=t.dom.createHTML(i,rc(t),n)):n||(n='
    '),ug(t,n,r.no_selection),t.fire("SetContent",r)}else"raw"!==r.format&&(n=tp({validate:t.validate},t.schema).serialize(t.parser.parse(n,{isRootContent:!0,insert:!0}))),r.content=yo(Le.fromDom(e))?n:Ee.trim(n),ug(t,r.content,r.no_selection),r.no_events||t.fire("SetContent",r);return r.content}(t,n,e,o)}))},lg=function(t,e){return function(t,e){var n=t.dom;return n.parentNode?Zr(Le.fromDom(n.parentNode),(function(n){return!Pe(t,n)&&e(n)})):B.none()}(t,e).isSome()},dg=function(t){return w(t)?t:$},fg=function(t,e,n){var r=e(t),o=dg(n);return r.orThunk((function(){return o(t)?B.none():function(t,e,n){for(var r=t.dom,o=dg(n);r.parentNode;){r=r.parentNode;var i=Le.fromDom(r),a=e(i);if(a.isSome())return a;if(o(i))break}return B.none()}(t,e,o)}))},mg=sd,pg=function(t,e,n){var r=t.formatter.get(n);if(r)for(var o=0;o1&&"%"===t.charAt(0)};return H(["styles","attributes"],(function(n){return yt(t,n).exists((function(t){var n=p(t)?t:bt(t);return H(n,e)}))}))}))}(t,r);return t.formatter.matchNode(e,r,{},o)?n.concat([r]):n}),[])},Cg=_o,kg="_mce_caret",xg=function(t){return function(t){for(var e=[];t;){if(3===t.nodeType&&t.nodeValue!==Cg||t.childNodes.length>1)return[];1===t.nodeType&&e.push(t),t=t.firstChild}return e}(t).length>0},Dg=function(t){if(t){var e=new so(t,t);for(t=e.current();t;t=e.next())if(jn(t))return t}return null},Sg=function(t){var e=Le.fromTag("span");return tr(e,{id:kg,"data-mce-bogus":"1","data-mce-type":"format-caret"}),t&&pn(e,Le.fromText(Cg)),e},Tg=function(t,e,n){void 0===n&&(n=!0);var r=t.dom,o=t.selection;if(xg(e))hh(t,!1,Le.fromDom(e),n);else{var i=o.getRng(),a=r.getParent(e,r.isBlock),s=i.startContainer,u=i.startOffset,c=i.endContainer,l=i.endOffset,d=function(t){var e=Dg(t);return e&&e.nodeValue.charAt(0)===Cg&&e.deleteData(0,1),e}(e);r.remove(e,!0),s===d&&u>0&&i.setStart(d,u-1),c===d&&l>0&&i.setEnd(d,l-1),a&&r.isEmpty(a)&&Cp(Le.fromDom(a)),o.setRng(i)}},Eg=function(t,e,n){void 0===n&&(n=!0);var r=t.dom,o=t.selection;if(e)Tg(t,e,n);else if(!(e=jl(t.getBody(),o.getStart())))for(;e=r.get(kg);)Tg(t,e,!1)},Og=function(t,e){return t.appendChild(e),e},Lg=function(t,e){var n=X(t,(function(t,e){return Og(t,e.cloneNode(!1))}),e);return Og(n,n.ownerDocument.createTextNode(Cg))},Ag=function(t,e,n,r){var o,i,a,s=t.dom,u=t.selection,c=[],l=u.getRng(),d=l.startContainer,f=l.startOffset;for(i=d,3===d.nodeType&&(f!==d.nodeValue.length&&(o=!0),i=i.parentNode);i;){if(bg(t,i,e,n,r)){a=i;break}i.nextSibling&&(o=!0),c.push(i),i=i.parentNode}if(a)if(o){var m=u.getBookmark();l.collapse(!0);var p=Ad(t,l,t.formatter.get(e),!0);p=_f(p),t.formatter.remove(e,n,p,r),u.moveToBookmark(m)}else{var h=jl(t.getBody(),a),g=Sg(!1).dom;!function(t,e,n){var r=t.dom,o=r.getParent(n,E(rd,t));o&&r.isEmpty(o)?n.parentNode.replaceChild(e,n):(_p(Le.fromDom(n)),r.isEmpty(n)?n.parentNode.replaceChild(e,n):r.insertAfter(e,n))}(t,g,null!==h?h:a);var v=function(t,e,n,r,o,i){var a=t.formatter,s=t.dom,u=Y(lt(a.get()),(function(t){return t!==r&&!Bt(t,"removeformat")})),c=_g(t,n,u);if(Y(c,(function(e){return!fd(t,e,r)})).length>0){var l=n.cloneNode(!1);return s.add(e,l),a.remove(r,o,l,i),s.remove(l),B.some(l)}return B.none()}(t,g,a,e,n,r),b=Lg(c.concat(v.toArray()),g);Tg(t,h,!1),u.setCursorLocation(b,1),s.isEmpty(a)&&s.remove(a)}},$g=function(t){t.on("mouseup keydown",(function(e){!function(t,e){var n=t.selection,r=t.getBody();Eg(t,null,!1),8!==e&&46!==e||!n.isCollapsed()||n.getStart().innerHTML!==Cg||Eg(t,jl(r,n.getStart())),37!==e&&39!==e||Eg(t,jl(r,n.getStart()))}(t,e.keyCode)}))},Ng=function(t,e){var n=t.schema.getTextInlineElements();return wt(n,Be(e))&&!Ml(e.dom)&&!In(e.dom)},Pg={},Ig=Dt,Rg=kt;!function(t,e){Pg[t]||(Pg[t]=[]),Pg[t].push(e)}("pre",(function(t){var e,n=t.selection.getRng(),r=$n(["pre"]);n.collapsed||(e=t.selection.getSelectedBlocks(),Rg(Ig(Ig(e,r),(function(t){return r(t.previousSibling)&&-1!==St(e,t.previousSibling)})),(function(t){var e,n;e=t.previousSibling,cs(n=t).remove(),cs(e).append("

    ").append(n.childNodes)})))}));var Bg=Ee.each,Mg=function(t){return An(t)&&!Zl(t)&&!Ml(t)&&!In(t)},jg=function(t,e){for(var n=t;n;n=n[e]){if(jn(n)&&Ht(n.data))return t;if(An(n)&&!Zl(n))return n}return t},zg=function(t,e,n){var r=Gm(t);if(e&&n&&(e=jg(e,"previousSibling"),n=jg(n,"nextSibling"),r.compare(e,n))){for(var o=e.nextSibling;o&&o!==n;){var i=o;o=o.nextSibling,e.appendChild(i)}return t.remove(n),Ee.each(Ee.grep(n.childNodes),(function(t){e.appendChild(t)})),e}return n},Fg=function(t,e,n,r){if(r&&!1!==e.merge_siblings){var o=zg(t,nd(r),r);zg(t,o,nd(o,!0))}},Ug=function(t,e,n){Bg(t.childNodes,(function(t){Mg(t)&&(e(t)&&n(t),t.hasChildNodes()&&Ug(t,e,n))}))},Hg=function(t,e){return function(n){return!(!n||!cd(t,n,e))}},Vg=function(t,e,n){return function(r){t.setStyle(r,e,n),""===r.getAttribute("style")&&r.removeAttribute("style"),function(t,e){"SPAN"===e.nodeName&&0===t.getAttribs(e).length&&t.remove(e,!0)}(t,r)}},Wg=Dr([{keep:[]},{rename:["name"]},{removed:[]}]),qg=/^(src|href|style)$/,Kg=Ee.each,Yg=sd,Xg=function(t,e,n){return t.isChildOf(e,n)&&e!==n&&!t.isBlock(n)},Zg=function(t,e,n){var r=e[n?"startContainer":"endContainer"],o=e[n?"startOffset":"endOffset"];if(An(r)){var i=r.childNodes.length-1;!n&&o&&o--,r=r.childNodes[o>i?i:o]}return jn(r)&&n&&o>=r.nodeValue.length&&(r=new so(r,t.getBody()).next()||r),jn(r)&&!n&&0===o&&(r=new so(r,t.getBody()).prev()||r),r},Gg=function(t,e){var n=e?"firstChild":"lastChild";if(function(t){return/^(TR|TH|TD)$/.test(t.nodeName)}(t)&&t[n]){var r=t[n];return"TR"===t.nodeName&&r[n]||r}return t},Jg=function(t,e,n,r){var o=t.create(n,r);return e.parentNode.insertBefore(o,e),o.appendChild(e),o},Qg=function(t,e,n,r,o){var i=Le.fromDom(e),a=Le.fromDom(t.create(r,o)),s=n?Ge(i):Ze(i);return hn(a,s),n?(dn(i,a),mn(a,i)):(fn(i,a),pn(a,i)),a.dom},tv=function(t,e,n,r){var o=nd(e,n,r);return b(o)||"BR"===o.nodeName||t.isBlock(o)},ev=function(t,e,n){var r,o=e.parentNode,i=t.dom,a=nc(t);md(n)&&(a?o===i.getRoot()&&(n.list_block&&Yg(e,n.list_block)||W(ut(e.childNodes),(function(e){od(t,a,e.nodeName.toLowerCase())?r?r.appendChild(e):(r=Jg(i,e,a),i.setAttribs(r,t.settings.forced_root_block_attrs)):r=null}))):i.isBlock(e)&&!i.isBlock(o)&&(tv(i,e,!1)||tv(i,e.firstChild,!0,!0)||e.insertBefore(i.create("br"),e.firstChild),tv(i,e,!0)||tv(i,e.lastChild,!1,!0)||e.appendChild(i.create("br")))),function(t){return pd(t)&&hd(t)&&Xn(yt(t,"mixed"),!0)}(n)&&!Yg(n.inline,e)||i.remove(e,!0)},nv=function(t,e,n,r,o){var i,a=t.dom;if(!function(t,e,n){return!(!hd(n)||!Yg(e,n.inline))||!(!md(n)||!Yg(e,n.block))||(pd(n)?An(e)&&t.is(e,n.selector):void 0)}(a,r,e)&&!function(t,e){return e.links&&"A"===t.nodeName}(r,e))return Wg.keep();var s=r;if(hd(e)&&"all"===e.remove&&p(e.preserve_attributes)){var u=Y(a.getAttribs(s),(function(t){return U(e.preserve_attributes,t.name.toLowerCase())}));if(a.removeAllAttribs(s),W(u,(function(t){return a.setAttrib(s,t.name,t.value)})),u.length>0)return Wg.rename("span")}if("all"!==e.remove){Kg(e.styles,(function(t,r){t=ud(a,ad(t,n),r+""),_(r)&&(r=t,o=null),(e.remove_similar||!o||Yg(cd(a,o,r),t))&&a.setStyle(s,r,""),i=!0})),i&&""===a.getAttrib(s,"style")&&(s.removeAttribute("style"),s.removeAttribute("data-mce-style")),Kg(e.attributes,(function(t,r){var i;if(t=ad(t,n),_(r)&&(r=t,o=null),e.remove_similar||!o||Yg(a.getAttrib(o,r),t)){if("class"===r&&(t=a.getAttrib(s,r))&&(i="",W(t.split(/\s+/),(function(t){/mce\-\w+/.test(t)&&(i+=(i?" ":"")+t)})),i))return void a.setAttrib(s,r,i);if(qg.test(r)&&s.removeAttribute("data-mce-"+r),"style"===r&&$n(["li"])(s)&&"none"===a.getStyle(s,"list-style-type"))return s.removeAttribute(r),void a.setStyle(s,"list-style-type","none");"class"===r&&s.removeAttribute("className"),s.removeAttribute(r)}})),Kg(e.classes,(function(t){t=ad(t,n),o&&!a.hasClass(o,t)||a.removeClass(s,t)}));for(var c=a.getAttribs(s),l=0;l1)&&r.isBlock(a)||0!==s?(hd(i)||md(i)&&i.wrapper)&&(i.exact||1!==s||(a=function(t){var e=J(t.childNodes,cv).filter((function(t){return gg(r,t,i)}));return e.map((function(e){var n=r.clone(e,!1);return c(n),r.replace(n,t,!0),r.remove(e,!0),n})).getOr(t)}(a)),sv(t,o,n,a),function(t,e,n,r,o){bg(t,o.parentNode,n,r)&&rv(t,e,r,o)||e.merge_with_parents&&t.dom.getParent(o.parentNode,(function(i){if(bg(t,i,n,r))return rv(t,e,r,o),!0}))}(t,i,e,n,a),function(t,e,n,r){e.styles&&e.styles.backgroundColor&&Ug(r,Hg(t,"fontSize"),Vg(t,"backgroundColor",ad(e.styles.backgroundColor,n)))}(r,i,n,a),function(t,e,n,r){var o=function(e){if(1===e.nodeType&&e.parentNode&&1===e.parentNode.nodeType){var n=ld(t,e.parentNode);t.getStyle(e,"color")&&n?t.setStyle(e,"text-decoration",n):t.getStyle(e,"text-decoration")===n&&t.setStyle(e,"text-decoration",null)}};e.styles&&(e.styles.color||e.styles.textDecoration)&&(Ee.walk(r,o,"childNodes"),o(r))}(r,i,0,a),function(t,e,n,r){!hd(e)||"sub"!==e.inline&&"sup"!==e.inline||(Ug(r,Hg(t,"fontSize"),Vg(t,"fontSize","")),t.remove(t.select("sup"===e.inline?"sub":"sup",r),!0))}(r,i,0,a),Fg(r,i,0,a)):r.remove(a,!0)}))};if("false"!==s.getContentEditable(u.getNode())){if(i){if(r)if(td(r)){if(!l(o,r)){var p=s.createRng();p.setStartBefore(r),p.setEndAfter(r),m(s,Ad(t,p,o),!0)}}else m(s,r,!0);else if(a&&hd(i)&&!Rd(t).length)!function(t,e,n){var r,o,i=t.selection,a=i.getRng(),s=a.startOffset,u=a.startContainer.nodeValue;(r=jl(t.getBody(),i.getStart()))&&(o=Dg(r));var c,l,d=/[^\s\u00a0\u00ad\u200b\ufeff]/;if(u&&s>0&&st?e.cells.length:t}),0)},xv=function(t,e){for(var n=t.rows,r=0;r0?vv([o]):o;var n,r,o},Nv=function(t,e){return(n=t,r=e[0],Gr(r,"table",E(Pe,n))).bind((function(t){var n=e[0],r=e[e.length-1],o=Sv(t);return Ev(o,n,r).map((function(t){return vv([Tv(t)])}))})).getOrThunk(Av);var n,r},Pv=function(t,e){var n=Id(e,t);return n.length>0?Nv(t,n):function(t,e){return e.length>0&&e[0].collapsed?Av():$v(t,e[0])}(t,e)},Iv=function(t,e){return e>=0&&ei-o?(a.push([2,n[l]]),++l):(a.push([1,r[d]]),++d);else{s(t,u.start,o,u.start-u.diag,a);for(var f=u.start;f=t&&h>=o&&n[p]===r[h];)a[m]=p--,h--;if(g%2==0&&-d<=f&&f<=d&&a[m]<=i[m+g])return u(a[m],f+t-o,e,s)}}},l=[],s(0,n.length,0,r.length,l),l),e),e},Fv=$t((function(){return document.implementation.createHTMLDocument("undo")})),Uv=function(t){var e,n=(e=t.getBody(),Y(V(ut(e.childNodes),Mv),(function(t){return t.length>0}))),r=tt(n,(function(e){var n=Km(t.serializer,e);return n.length>0?[n]:[]})),o=r.join("");return-1!==o.indexOf("")?function(t){return{type:"fragmented",fragments:t,content:"",bookmark:null,beforeBookmark:null}}(r):function(t){return{type:"complete",fragments:null,content:t,bookmark:null,beforeBookmark:null}}(o)},Hv=function(t,e,n){var r=n?e.beforeBookmark:e.bookmark;"fragmented"===e.type?zv(e.fragments,t.getBody()):t.setContent(e.content,{format:"raw",no_selection:!y(r)||!zl(r)||!r.isFakeCaret}),t.selection.moveToBookmark(r)},Vv=function(t){return"fragmented"===t.type?t.fragments.join(""):t.content},Wv=function(t){var e=Le.fromTag("body",Fv());return Ys(e,Vv(t)),W(Ms(e,"*[data-mce-bogus]"),bn),e.dom.innerHTML},qv=function(t,e){return!(!t||!e)&&(!!function(t,e){return Vv(t)===Vv(e)}(t,e)||function(t,e){return Wv(t)===Wv(e)}(t,e))},Kv=function(t){return 0===t.get()},Yv=function(t,e,n){Kv(n)&&(t.typing=e)},Xv=function(t,e){t.typing&&(Yv(t,!1,e),t.add())},Zv=function(t){return{undoManager:{beforeChange:function(e,n){return function(t,e,n){Kv(e)&&n.set(Ju(t.selection))}(t,e,n)},add:function(e,n,r,o,i,a){return function(t,e,n,r,o,i,a){var s=Uv(t);if(i=i||{},i=Ee.extend(i,s),!1===Kv(r)||t.removed)return null;var u=e.data[n.get()];if(t.fire("BeforeAddUndo",{level:i,lastLevel:u,originalEvent:a}).isDefaultPrevented())return null;if(u&&qv(u,i))return null;e.data[n.get()]&&o.get().each((function(t){e.data[n.get()].beforeBookmark=t}));var c=function(t){return t.getParam("custom_undo_redo_levels",0,"number")}(t);if(c&&e.data.length>c){for(var l=0;l0?(t.setDirty(!0),t.fire("AddUndo",d),t.fire("change",d)):t.fire("AddUndo",d),i}(t,e,n,r,o,i,a)},undo:function(e,n,r){return function(t,e,n,r){var o;return e.typing&&(e.add(),e.typing=!1,Yv(e,!1,n)),r.get()>0&&(r.set(r.get()-1),o=e.data[r.get()],Hv(t,o,!0),t.setDirty(!0),t.fire("Undo",{level:o})),o}(t,e,n,r)},redo:function(e,n){return function(t,e,n){var r;return e.get()0||e.typing&&e.data[0]&&!qv(Uv(t),e.data[0])}(t,e,n)},hasRedo:function(t,e){return function(t,e){return e.get()=0;a--){var s=n[a];if(!pd(s)||y(s.defaultBlock))return!0;for(var u=i.length-1;u>=0;u--)if(r.is(i[u],s.selector))return!0}return!1}(t,e)},closest:function(e){return wg(t,e)},apply:function(e,n,r){return lv(t,e,n,r)},remove:function(e,n,r,o){return iv(t,e,n,r,o)},toggle:function(e,n,r){return function(t,e,n,r){var o=t.formatter.get(e);!yg(t,e,n,r)||"toggle"in o[0]&&!o[0].toggle?lv(t,e,n,r):iv(t,e,n,r)}(t,e,n,r)},formatChanged:function(e,n,r,o,i){return gv(t,e,n,r,o,i)}},editor:{getContent:function(e,n){return function(t,e,n){return B.from(t.getBody()).fold(D("tree"===e.format?new Nm("body",11):""),(function(r){return Xm(t,e,n,r)}))}(t,e,n)},setContent:function(e,n){return cg(t,e,n)},insertContent:function(e,n){return og(t,e,n)},addVisual:function(e){return function(t,e){var n=t.dom,r=y(e)?e:t.getBody();v(t.hasVisual)&&(t.hasVisual=function(t){return t.getParam("visual",!0,"boolean")}(t)),W(n.select("table,a",r),(function(e){switch(e.nodeName){case"TABLE":var r=function(t){return t.getParam("visual_table_class","mce-item-table","string")}(t),o=n.getAttrib(e,"border");o&&"0"!==o||!t.hasVisual?n.removeClass(e,r):n.addClass(e,r);break;case"A":if(!n.getAttrib(e,"href")){var i=n.getAttrib(e,"name")||e.id,a=function(t){return t.getParam("visual_anchor_class","mce-item-anchor","string")}(t);i&&t.hasVisual?n.addClass(e,a):n.removeClass(e,a)}}})),t.fire("VisualAid",{element:e,hasVisual:t.hasVisual})}(t,e)}},selection:{getContent:function(e,n){return Bv(t,e,n)}},raw:{getModel:function(){return B.none()}}}},Gv=function(t){return wt(t.plugins,"rtc")},Jv=function(t){var e=t;return function(t){return yt(t.plugins,"rtc").bind((function(t){return B.from(t.setup)}))}(t).fold((function(){return e.rtcInstance=Zv(t),B.none()}),(function(t){return e.rtcInstance=function(){var t=D(null),e=D("");return{undoManager:{beforeChange:C,add:t,undo:t,redo:t,clear:C,reset:C,hasUndo:$,hasRedo:$,transact:t,ignore:C,extra:C},formatter:{match:$,matchAll:D([]),matchNode:D(void 0),canApply:$,closest:e,apply:C,remove:C,toggle:C,formatChanged:D({unbind:C})},editor:{getContent:e,setContent:e,insertContent:C,addVisual:C},selection:{getContent:e},raw:{getModel:D(B.none())}}}(),B.some((function(){return t().then((function(t){return e.rtcInstance=function(t){var e=function(t){return m(t)?t:{}},n=t.undoManager,r=t.formatter,o=t.editor,i=t.selection,a=t.raw;return{undoManager:{beforeChange:n.beforeChange,add:n.add,undo:n.undo,redo:n.redo,clear:n.clear,reset:n.reset,hasUndo:n.hasUndo,hasRedo:n.hasRedo,transact:function(t,e,r){return n.transact(r)},ignore:function(t,e){return n.ignore(e)},extra:function(t,e,r,o){return n.extra(r,o)}},formatter:{match:function(t,n,o,i){return r.match(t,e(n),i)},matchAll:r.matchAll,matchNode:r.matchNode,canApply:function(t){return r.canApply(t)},closest:function(t){return r.closest(t)},apply:function(t,n,o){return r.apply(t,e(n))},remove:function(t,n,o,i){return r.remove(t,e(n))},toggle:function(t,n,o){return r.toggle(t,e(n))},formatChanged:function(t,e,n,o,i){return r.formatChanged(e,n,o,i)}},editor:{getContent:function(t,e){return o.getContent(t)},setContent:function(t,e){return o.setContent(t,e)},insertContent:function(t,e){return o.insertContent(t)},addVisual:o.addVisual},selection:{getContent:function(t,e){return i.getContent(e)}},raw:{getModel:function(){return B.some(a.getRawModel())}}}}(t),t.rtc.isRemote}))}))}))},Qv=function(t){return t.rtcInstance?t.rtcInstance:Zv(t)},tb=function(t){var e=t.rtcInstance;if(e)return e;throw new Error("Failed to get RTC instance not yet initialized.")},eb=function(t,e){return void 0===e&&(e={}),function(t,e,n){return tb(t).selection.getContent(e,n)}(t,e.format?e.format:"html",e)},nb=function(t){return 0===t.dom.length?(vn(t),B.none()):B.some(t)},rb=function(t,e,n,r){t.bind((function(t){return(r?rh:nh)(t.dom,r?t.dom.length:0),e.filter(Fe).map((function(e){return function(t,e,n,r){var o=t.dom,i=e.dom,a=r?o.length:i.length;r?(oh(o,i,!1,!r),n.setStart(i,a)):(oh(i,o,!1,!r),n.setEnd(i,a))}(t,e,n,r)}))})).orThunk((function(){var t=function(t,e){return t.filter((function(t){return Jd.isBookmarkNode(t.dom)})).bind(e?Xe:Ye)}(e,r).or(e).filter(Fe);return t.map((function(t){return function(t,e){Ke(t).each((function(n){var r=t.dom;e&&Kp(n,Ou(r,0))?nh(r,0):!e&&Yp(n,Ou(r,r.length))&&rh(r,r.length)}))}(t,r)}))}))},ob=function(t,e,n){void 0===n&&(n={});var r=function(t,e){return Lt(Lt({format:"html"},t),{set:!0,selection:!0,content:e})}(n,e),o=r;if(!r.no_events){var i=t.fire("BeforeSetContent",r);if(i.isDefaultPrevented())return void t.fire("SetContent",i);o=i}o.content=function(t,e){if("raw"!==e.format){var n=t.selection.getRng(),r=t.dom.getParent(n.commonAncestorContainer,t.dom.isBlock),o=r?{context:r.nodeName.toLowerCase()}:{},i=t.parser.parse(e.content,Lt(Lt({isRootContent:!0,forced_root_block:!1},o),e));return tp({validate:t.validate},t.schema).serialize(i)}return e.content}(t,o);var a=t.selection.getRng();!function(t,e){var n=B.from(e.firstChild).map(Le.fromDom),r=B.from(e.lastChild).map(Le.fromDom);t.deleteContents(),t.insertNode(e);var o=n.bind(Ye).filter(Fe).bind(nb),i=r.bind(Xe).filter(Fe).bind(nb);rb(o,n,t,!0),rb(i,r,t,!1),t.collapse(!1)}(a,a.createContextualFragment(o.content)),t.selection.setRng(a),Vf(t,a),o.no_events||t.fire("SetContent",o)},ib=function(t,e,n){if(t&&wt(t,e)){var r=Y(t[e],(function(t){return t!==n}));0===r.length?delete t[e]:t[e]=r}};var ab,sb,ub=function(t){return!!t.select},cb=function(t){return!(!t||!t.ownerDocument)&&Re(Le.fromDom(t.ownerDocument),Le.fromDom(t))},lb=function(t,e,n,r){var o,i,a=function(t,e){var n,r,o=function(e,n){return J(n,(function(n){return t.is(n,e)}))},i=function(e){return t.getParents(e,null,t.getRoot())};return{selectorChangedWithUnbind:function(t,a){return n||(n={},r={},e.on("NodeChange",(function(t){var e=t.element,a=i(e),s={};Ee.each(n,(function(t,e){o(e,a).each((function(n){r[e]||(W(t,(function(t){t(!0,{node:n,selector:e,parents:a})})),r[e]=t),s[e]=t}))})),Ee.each(r,(function(t,n){s[n]||(delete r[n],Ee.each(t,(function(t){t(!1,{node:e,selector:n,parents:a})})))}))}))),n[t]||(n[t]=[]),n[t].push(a),o(t,i(e.selection.getStart())).each((function(){r[t]=n[t]})),{unbind:function(){ib(n,t,a),ib(r,t,a)}}}}}(t,r).selectorChangedWithUnbind,s=function(t,e){return ob(r,t,e)},u=function(t){var e=l();e.collapse(!!t),d(e)},c=function(){return e.getSelection?e.getSelection():e.document.selection},l=function(){var n,a,s,u=function(t,e,n){try{return e.compareBoundaryPoints(t,n)}catch(t){return-1}},l=e.document;if(void 0!==r.bookmark&&!1===wm(r)){var d=um(r);if(d.isSome())return d.map((function(t){return Em(r,[t])[0]})).getOr(l.createRange())}try{(n=c())&&!Ln(n.anchorNode)&&(a=n.rangeCount>0?n.getRangeAt(0):n.createRange?n.createRange():l.createRange(),a=Em(r,[a])[0])}catch(t){}return a||(a=l.createRange?l.createRange():l.body.createTextRange()),a.setStart&&9===a.startContainer.nodeType&&a.collapsed&&(s=t.getRoot(),a.setStart(s,0),a.setEnd(s,0)),o&&i&&(0===u(a.START_TO_START,a,o)&&0===u(a.END_TO_END,a,o)?a=i:(o=null,i=null)),a},d=function(t,e){var n;if(function(t){return!!t&&(!!ub(t)||cb(t.startContainer)&&cb(t.endContainer))}(t)){var a=ub(t)?t:null;if(a){i=null;try{a.select()}catch(t){}}else{var s=c();if(t=r.fire("SetSelectionRange",{range:t,forward:e}).range,s){i=t;try{s.removeAllRanges(),s.addRange(t)}catch(t){}!1===e&&s.extend&&(s.collapse(t.endContainer,t.endOffset),s.extend(t.startContainer,t.startOffset)),o=s.rangeCount>0?s.getRangeAt(0):null}t.collapsed||t.startContainer!==t.endContainer||!s.setBaseAndExtent||ke.ie||t.endOffset-t.startOffset<2&&t.startContainer.hasChildNodes()&&(n=t.startContainer.childNodes[t.startOffset])&&"IMG"===n.tagName&&(s.setBaseAndExtent(t.startContainer,t.startOffset,t.endContainer,t.endOffset),s.anchorNode===t.startContainer&&s.focusNode===t.endContainer||s.setBaseAndExtent(n,0,n,1)),r.fire("AfterSetSelectionRange",{range:t,forward:e})}}},f=function(){var e=c(),n=null==e?void 0:e.anchorNode,r=null==e?void 0:e.focusNode;if(!e||!n||!r||Ln(n)||Ln(r))return!0;var o=t.createRng();o.setStart(n,e.anchorOffset),o.collapse(!0);var i=t.createRng();return i.setStart(r,e.focusOffset),i.collapse(!0),o.compareBoundaryPoints(o.START_TO_START,i)<=0},m={bookmarkManager:null,controlSelection:null,dom:t,win:e,serializer:n,editor:r,collapse:u,setCursorLocation:function(e,n){var o=t.createRng();y(e)&&y(n)?(o.setStart(e,n),o.setEnd(e,n),d(o),u(!1)):(Fd(t,o,r.getBody(),!0),d(o))},getContent:function(t){return eb(r,t)},setContent:s,getBookmark:function(t,e){return p.getBookmark(t,e)},moveToBookmark:function(t){return p.moveToBookmark(t)},select:function(e,n){return function(t,e,n){return B.from(e).map((function(e){var r=t.nodeIndex(e),o=t.createRng();return o.setStart(e.parentNode,r),o.setEnd(e.parentNode,r+1),n&&(Fd(t,o,e,!0),Fd(t,o,e,!1)),o}))}(t,e,n).each(d),e},isCollapsed:function(){var t=l(),e=c();return!(!t||t.item)&&(t.compareEndPoints?0===t.compareEndPoints("StartToEnd",t):!e||t.collapsed)},isForward:f,setNode:function(e){return s(t.getOuterHTML(e)),e},getNode:function(){return function(t,e){var n,r,o;if(!e)return t;r=e.startContainer,o=e.endContainer;var i=e.startOffset,a=e.endOffset;return n=e.commonAncestorContainer,!e.collapsed&&(r===o&&a-i<2&&r.hasChildNodes()&&(n=r.childNodes[i]),3===r.nodeType&&3===o.nodeType&&(r=r.length===i?Tm(r.nextSibling,!0):r.parentNode,o=0===a?Tm(o.previousSibling,!1):o.parentNode,r&&r===o))?r:n&&3===n.nodeType?n.parentNode:n}(r.getBody(),l())},getSel:c,setRng:d,getRng:l,getStart:function(t){return Dm(r.getBody(),l(),t)},getEnd:function(t){return Sm(r.getBody(),l(),t)},getSelectedBlocks:function(e,n){return function(t,e,n,r){var o,i=[],a=t.getRoot();if(n=t.getParent(n||Dm(a,e,e.collapsed),t.isBlock),r=t.getParent(r||Sm(a,e,e.collapsed),t.isBlock),n&&n!==a&&i.push(n),n&&r&&n!==r){o=n;for(var s=new so(n,a);(o=s.next())&&o!==r;)t.isBlock(o)&&i.push(o)}return r&&n!==r&&r!==a&&i.push(r),i}(t,l(),e,n)},normalize:function(){var e=l(),n=c();if(!(Nd(n).length>1)&&Ud(r)){var o=yf(t,e);return o.each((function(t){d(t,f())})),o.getOr(e)}return e},selectorChanged:function(t,e){return a(t,e),m},selectorChangedWithUnbind:a,getScrollContainer:function(){for(var e,n=t.getRoot();n&&"BODY"!==n.nodeName;){if(n.scrollHeight>n.clientHeight){e=n;break}n=n.parentNode}return e},scrollIntoView:function(t,e){y(t)?function(t,e,n){(t.inline?Ff:Hf)(t,e,n)}(r,t,e):Vf(r,l(),e)},placeCaretAt:function(t,e){return d(cf(t,e,r.getDoc()))},getBoundingClientRect:function(){var t=l();return t.collapsed?Ou.fromRangeStart(t).getClientRects()[0]:t.getBoundingClientRect()},destroy:function(){e=o=i=null,h.destroy()}},p=Jd(m),h=sf(m,r);return m.bookmarkManager=p,m.controlSelection=h,m},db=function(t,e,n){t.addNodeFilter("font",(function(t){W(t,(function(t){var r=e.parse(t.attr("style")),o=t.attr("color"),i=t.attr("face"),a=t.attr("size");o&&(r.color=o),i&&(r["font-family"]=i),a&&(r["font-size"]=n[parseInt(t.attr("size"),10)-1]),t.name="span",t.attr("style",e.serialize(r)),function(t,e){W(e,(function(e){t.attr(e,null)}))}(t,["color","face","size"])}))}))},fb=function(t,e){var n=Ai();e.convert_fonts_to_spans&&db(t,n,Ee.explode(e.font_size_legacy_values)),function(t,e){t.addNodeFilter("strike",(function(t){W(t,(function(t){var n=e.parse(t.attr("style"));n["text-decoration"]="line-through",t.name="span",t.attr("style",e.serialize(n))}))}))}(t,n)},mb=function(t){var e,n=decodeURIComponent(t).split(","),r=/data:([^;]+)/.exec(n[0]);return r&&(e=r[1]),{type:e,data:n[1]}},pb=function(t,e){var n;try{n=atob(e)}catch(t){return B.none()}for(var r=new Uint8Array(n.length),o=0;o0)return void(r.value=o);var i=r.next;if(i){if(3===i.type&&i.value.length){r=r.prev;continue}if(!n[i.name]&&"script"!==i.name&&"style"!==i.name){r=r.prev;continue}}var a=r.prev;r.remove(),r=a}},A=qm({validate:_,document:t.document,allow_html_data_urls:t.allow_html_data_urls,allow_svg_data_urls:t.allow_svg_data_urls,allow_script_urls:t.allow_script_urls,allow_conditional_comments:t.allow_conditional_comments,preserve_cdata:t.preserve_cdata,self_closing_elements:function(t){var e={};for(var n in t)"li"!==n&&"p"!==n&&(e[n]=t[n]);return e}(e.getSelfClosingElements()),cdata:function(t){g.append(O("#cdata",4)).value=t},text:function(t,e){var n;E||(t=t.replace(S," "),function(t,e){return t&&(wt(e,t.name)||"br"===t.name)}(g.lastChild,b)&&(t=t.replace(x,""))),0!==t.length&&((n=O("#text",3)).raw=!!e,g.append(n).value=t)},comment:function(t){g.append(O("#comment",8)).value=t},pi:function(t,e){g.append(O(t,7)).value=e,L(g)},doctype:function(t){g.append(O("#doctype",10)).value=t,L(g)},start:function(t,n,o){var a=_?e.getElementRule(t):{};if(a){var s=O(a.outputName||t,1);s.attributes=n,s.shortEnded=o,g.append(s);var u=w[g.name];u&&w[s.name]&&!u[s.name]&&v.push(s);for(var c=r.length;c--;){var l=r[c].name;l in n.map&&((p=i[l])?p.push(s):i[l]=[s])}b[t]&&L(s),o||(g=s),!E&&k[t]&&(E=!0)}},end:function(n){var r,o,i,a,s=_?e.getElementRule(n):{};if(s){if(b[n]&&!E){if((r=g.firstChild)&&3===r.type)if((o=r.value.replace(x,"")).length>0)r.value=o,r=r.next;else for(i=r.next,r.remove(),r=i;r&&3===r.type;)o=r.value,i=r.next,(0===o.length||T.test(o))&&(r.remove(),r=i),r=i;if((r=g.lastChild)&&3===r.type)if((o=r.value.replace(D,"")).length>0)r.value=o,r=r.prev;else for(i=r.prev,r.remove(),r=i;r&&3===r.type;)o=r.value,i=r.prev,(0===o.length||T.test(o))&&(r.remove(),r=i),r=i}if(E&&k[n]&&(E=!1),s.removeEmpty&&Cb(e,y,k,g))return a=g.parent,b[g.name]?g.empty().remove():g.unwrap(),void(g=a);s.paddEmpty&&(function(t){return _b(t,"#text")&&t.firstChild.value===wo}(g)||Cb(e,y,k,g))&&wb(t,u,b,g),g=g.parent}}},e),$=g=new Nm(u.context||t.root_name,11);if(A.parse(s,u.format),_&&v.length&&(u.context?u.invalid=!0:function(t){for(var n=xb("tr,td,th,tbody,thead,tfoot,table"),r=e.getNonEmptyElements(),o=e.getWhiteSpaceElements(),i=e.getTextBlockElements(),s=e.getSpecialElements(),u=function(t,n){if(void 0===n&&(n=t.parent),s[t.name])t.empty().remove();else{for(var r=0,o=t.children();r1)if(e.isValidChild(d.name,l.name)){h.reverse();for(var g=f=a(h[0].clone()),v=0;v0})).concat(["noopener"]).sort().join(" ")}(r)))}})),e.allow_html_in_named_anchor||t.addAttributeFilter("id,name",(function(t){for(var e,n,r,o,i=t.length;i--;)if("a"===(o=t[i]).name&&o.firstChild&&!o.attr("href")){r=o.parent,e=o.lastChild;do{n=e.prev,r.insert(e,o),e=n}while(e)}})),e.fix_list_elements&&t.addNodeFilter("ul,ol",(function(t){for(var e,n,r=t.length;r--;)if("ul"===(n=(e=t[r]).parent).name||"ol"===n.name)if(e.prev&&"li"===e.prev.name)e.prev.append(e);else{var o=new Nm("li",1);o.attr("style","list-style-type: none"),e.wrap(o)}})),e.validate&&n.getValidClasses()&&t.addAttributeFilter("class",(function(t){for(var e=n.getValidClasses(),r=t.length;r--;){for(var o=t[r],i=o.attr("class").split(" "),a="",s=0;s0?c:null),u.attr(o,null)):(c=u.attr(r),"style"===r?c=n.serializeStyle(n.parseStyle(c),u.name):i&&(c=i.call(a,c,r,u.name)),u.attr(r,c.length>0?c:null))}})),t.addAttributeFilter("class",(function(t){for(var e=t.length;e--;){var n=t[e],r=n.attr("class");r&&(r=n.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),n.attr("class",r.length>0?r:null))}})),t.addAttributeFilter("data-mce-type",(function(t,e,n){for(var r=t.length;r--;){var o=t[r];if("bookmark"===o.attr("data-mce-type")&&!n.cleanup){var i=B.from(o.firstChild).exists((function(t){return!Co(t.value)}));i?o.unwrap():o.remove()}}})),t.addNodeFilter("noscript",(function(t){for(var e=t.length;e--;){var n=t[e].firstChild;n&&(n.value=yi.decode(n.value))}})),t.addNodeFilter("script,style",(function(t,n){for(var r=function(t){return t.replace(/()/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(()?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")},o=t.length;o--;){var i=t[o],a=i.firstChild?i.firstChild.value:"";if("script"===n){var s=i.attr("type");s&&i.attr("type","mce-no/type"===s?null:s.replace(/^mce\-/,"")),"xhtml"===e.element_format&&a.length>0&&(i.firstChild.value="// ")}else"xhtml"===e.element_format&&a.length>0&&(i.firstChild.value="\x3c!--\n"+r(a)+"\n--\x3e")}})),t.addNodeFilter("#comment",(function(t){for(var r=t.length;r--;){var o=t[r];e.preserve_cdata&&0===o.value.indexOf("[CDATA[")?(o.name="#cdata",o.type=4,o.value=n.decode(o.value.replace(/^\[CDATA\[|\]\]$/g,""))):0===o.value.indexOf("mce:protected ")&&(o.name="#text",o.type=3,o.raw=!0,o.value=unescape(o.value).substr(14))}})),t.addNodeFilter("xml:namespace,input",(function(t,e){for(var n=t.length;n--;){var r=t[n];7===r.type?r.remove():1===r.type&&("input"!==e||r.attr("type")||r.attr("type","text"))}})),t.addAttributeFilter("data-mce-type",(function(e){W(e,(function(e){"format-caret"===e.attr("data-mce-type")&&(e.isEmpty(t.schema.getNonEmptyElements())?e.remove():e.unwrap())}))})),t.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize,data-mce-placeholder",(function(t,e){for(var n=t.length;n--;)t[n].attr(e,null)}))}(i,t,r);return{schema:o,addNodeFilter:i.addNodeFilter,addAttributeFilter:i.addAttributeFilter,serialize:function(n,a){void 0===a&&(a={});var s=Lt({format:"html"},a),u=Ob(e,n,s),c=function(t,e,n){var r=ko(n.getInner?e.innerHTML:t.getOuterHTML(e));return n.selection||yo(Le.fromDom(e))?r:Ee.trim(r)}(r,u,s),l=function(t,e,n){var r=n.selection?Lt({forced_root_block:!1},n):n,o=t.parse(e,r);return function(t){var e=function(t){return t&&"br"===t.name},n=t.lastChild;if(e(n)){var r=n.prev;e(r)&&(n.remove(),r.remove())}}(o),o}(i,c,s);return"tree"===s.format?l:Ab(e,t,o,l,s)},addRules:o.addValidElements,setRules:o.setValidElements,addTempAttr:E(Lb,i,n),getTempAttrs:D(n),getNodeFilters:i.getNodeFilters,getAttributeFilters:i.getAttributeFilters}},Nb=function(t,e){var n=$b(t,e);return{schema:n.schema,addNodeFilter:n.addNodeFilter,addAttributeFilter:n.addAttributeFilter,serialize:n.serialize,addRules:n.addRules,setRules:n.setRules,addTempAttr:n.addTempAttr,getTempAttrs:n.getTempAttrs,getNodeFilters:n.getNodeFilters,getAttributeFilters:n.getAttributeFilters}},Pb=function(t,e){return void 0===e&&(e={}),function(t,e,n){return Qv(t).editor.getContent(e,n)}(t,e,e.format?e.format:"html")},Ib=function(t,e,n){return void 0===n&&(n={}),function(t,e,n){return Qv(t).editor.setContent(e,n)}(t,e,n)},Rb=gs.DOM,Bb=function(t){return B.from(t).each((function(t){return t.destroy()}))},Mb=function(t){if(!t.removed){var e=t._selectionOverrides,n=t.editorUpload,r=t.getBody(),o=t.getElement();r&&t.save({is_removing:!0}),t.removed=!0,t.unbindAllNativeEvents(),t.hasHiddenInput&&o&&Rb.remove(o.nextSibling),function(t){t.fire("remove")}(t),t.editorManager.remove(t),!t.inline&&r&&function(t){Rb.setStyle(t.id,"display",t.orgDisplay)}(t),function(t){t.fire("detach")}(t),Rb.remove(t.getContainer()),Bb(e),Bb(n),t.destroy()}},jb=function(t,e){var n=t.selection,r=t.dom;t.destroyed||(e||t.removed?(e||(t.editorManager.off("beforeunload",t._beforeUnload),t.theme&&t.theme.destroy&&t.theme.destroy(),Bb(n),Bb(r)),function(t){var e=t.formElement;e&&(e._mceOldSubmit&&(e.submit=e._mceOldSubmit,e._mceOldSubmit=null),Rb.unbind(e,"submit reset",t.formEventDelegate))}(t),function(t){t.contentAreaContainer=t.formElement=t.container=t.editorContainer=null,t.bodyElement=t.contentDocument=t.contentWindow=null,t.iframeElement=t.targetElm=null,t.selection&&(t.selection=t.selection.win=t.selection.dom=t.selection.dom.doc=null)}(t),t.destroyed=!0):t.remove())},zb=(ab=function(t,e){return m(t)&&m(e)?zb(t,e):e},function(){for(var t=[],e=0;e0}))},Qb=function(t,e){var n,r,o=(r={},gt(e,(function(e,n){return U(t,n)}),ht(n={}),ht(r)),{t:n,f:r});return function(t,e){return{sections:D(t),settings:D(e)}}(o.t,o.f)},ty=function(t,e){return wt(t.sections(),e)},ey=function(t,e){return yt(t,"toolbar_mode").orThunk((function(){return yt(t,"toolbar_drawer").map((function(t){return!1===t?"wrap":t}))})).getOr(e)},ny=function(t,e){var n={resize:!1,toolbar_mode:ey(t,"scrolling"),toolbar_sticky:!1};return Lt(Lt(Lt({},Gb),n),e?{menubar:!1}:{})},ry=function(t,e){var n=e.external_plugins?e.external_plugins:{};return t&&t.external_plugins?Ee.extend({},t.external_plugins,n):n},oy=function(t,e,n,r){return t&&function(t,e,n){var r=t.sections();return ty(t,e)&&r[e].theme===n}(e,"mobile","mobile")?Y(r,E(U,Zb)):t&&ty(e,"mobile")?r:n},iy=function(t,e,n,r){var o=Jb(n.forced_plugins),i=Jb(r.plugins),a=function(t,e){return ty(t,e)?t.sections()[e]:{}}(e,"mobile"),s=a.plugins?Jb(a.plugins):i,u=function(t,e){return[].concat(Jb(t)).concat(Jb(e))}(o,oy(t,e,i,s));if(ke.browser.isIE()&&U(u,"rtc"))throw new Error("RTC plugin is not supported on IE 11.");return Ee.extend(r,{plugins:u.join(" ")})},ay=function(t,e,n,r,o){var i=t?{mobile:ny(o.mobile||{},e)}:{},a=Qb(["mobile"],zb(i,o)),s=Ee.extend(n,r,a.settings(),function(t,e){return t&&ty(e,"mobile")}(t,a)?function(t,e,n){void 0===n&&(n={});var r=t.sections(),o=yt(r,e).getOr({});return Ee.extend({},n,o)}(a,"mobile"):{},{validate:!0,external_plugins:ry(r,a.settings())});return iy(t,a,r,s)},sy=function(t,e,n,r,o){var i=function(t,e,n,r,o){var i={id:e,theme:"silver",toolbar_mode:ey(t,"floating"),plugins:"",document_base_url:n,add_form_submit_trigger:!0,submit_patch:!0,add_unload_trigger:!0,convert_urls:!0,relative_urls:!0,remove_script_host:!0,object_resizing:!0,doctype:"",visual:!0,font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:!0,inline_styles:!0,convert_fonts_to_spans:!0,indent:!0,indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",entity_encoding:"named",url_converter:o.convertURL,url_converter_scope:o};return Lt(Lt({},i),r?Gb:{})}(o,e,n,Kb,t),a=ay(Yb||Xb,Yb,i,r,o);return!1!==a.deprecation_warnings&&function(t,e){var n=Vb(t),r=Wb(e),o=r.length>0,i=n.length>0,a="mobile"===e.theme;if(o||i||a){var s="\n- ",u=a?"\n\nThemes:\n- mobile":"",c=o?"\n\nPlugins:\n- "+r.join(s):"",l=i?"\n\nSettings:\n- "+n.join(s):"";console.warn("The following deprecated features are currently enabled, these will be removed in TinyMCE 6.0. See https://www.tiny.cloud/docs/release-notes/6.0-upcoming-changes/ for more information."+u+c+l)}}(o,a),a},uy=function(t,e,n){return B.from(e.settings[n]).filter(t)},cy=function(t,e,n,r){var o,i=e in t.settings?t.settings[e]:n;return"hash"===r?function(t){var e={};return"string"==typeof t?W(t.indexOf("=")>0?t.split(/[;,](?![^=;,]*(?:[;,]|$))/):t.split(","),(function(t){var n=t.split("=");n.length>1?e[Ee.trim(n[0])]=Ee.trim(n[1]):e[Ee.trim(n[0])]=Ee.trim(n[0])})):e=t,e}(i):"string"===r?uy(f,t,e).getOr(n):"number"===r?uy(_,t,e).getOr(n):"boolean"===r?uy(g,t,e).getOr(n):"object"===r?uy(m,t,e).getOr(n):"array"===r?uy(p,t,e).getOr(n):"string[]"===r?uy((o=f,function(t){return p(t)&&et(t,o)}),t,e).getOr(n):"function"===r?uy(w,t,e).getOr(n):i},ly=(sb={},{add:function(t,e){sb[t]=e},get:function(t){return sb[t]?sb[t]:{icons:{}}},has:function(t){return wt(sb,t)}}),dy=function(t,e){return e.dom[t]},fy=function(t,e){return parseInt(ir(e,t),10)},my=E(dy,"clientWidth"),py=E(dy,"clientHeight"),hy=E(fy,"margin-top"),gy=E(fy,"margin-left"),vy=function(t,e,n){var r,o=Le.fromDom(t.getBody()),i=t.inline?o:(r=o,Le.fromDom(We(r).dom.documentElement)),a=function(t,e,n,r){var o=function(t){return t.dom.getBoundingClientRect()}(e);return{x:n-(t?o.left+e.dom.clientLeft+gy(e):0),y:r-(t?o.top+e.dom.clientTop+hy(e):0)}}(t.inline,i,e,n);return function(t,e,n){var r=my(t),o=py(t);return e>=0&&n>=0&&e<=r&&n<=o}(i,a.x,a.y)},by=function(t){var e,n=t.inline?t.getBody():t.getContentAreaContainer();return(e=n,B.from(e).map(Le.fromDom)).map(yn).getOr(!1)},yy=function(t){var e=[],n=function(){var e,n=t.theme;return n&&n.getNotificationManagerImpl?n.getNotificationManagerImpl():{open:e=function(){throw new Error("Theme did not provide a NotificationManager implementation.")},close:e,reposition:e,getArgs:e}},r=function(){return B.from(e[0])},o=function(){e.length>0&&n().reposition(e)},i=function(t){Q(e,(function(e){return e===t})).each((function(t){e.splice(t,1)}))},a=function(a,s){if(void 0===s&&(s=!0),!t.removed&&by(t))return s&&t.fire("BeforeOpenNotification",{notification:a}),J(e,(function(t){return e=n().getArgs(t),r=a,!(e.type!==r.type||e.text!==r.text||e.progressBar||e.timeout||r.progressBar||r.timeout);var e,r})).getOrThunk((function(){t.editorManager.setActive(t);var s=n().open(a,(function(){i(s),o(),r().fold((function(){return t.focus()}),(function(t){return Le.fromDom(t.getEl()).dom.focus()}))}));return function(t){e.push(t)}(s),o(),t.fire("OpenNotification",{notification:Lt({},s)}),s}))},s=D(e);return function(t){t.on("SkinLoaded",(function(){var e=function(t){return t.getParam("service_message")}(t);e&&a({text:e,type:"warning",timeout:0},!1),o()})),t.on("show ResizeEditor ResizeWindow NodeChange",(function(){oo.requestAnimationFrame(o)})),t.on("remove",(function(){W(e.slice(),(function(t){n().close(t)}))}))}(t),{open:a,close:function(){r().each((function(t){n().close(t),i(t),o()}))},getNotifications:s}},wy=Ss.PluginManager,_y=Ss.ThemeManager;var Cy=function(t){var e=[],n=function(){var e,n=t.theme;return n&&n.getWindowManagerImpl?n.getWindowManagerImpl():{open:e=function(){throw new Error("Theme did not provide a WindowManager implementation.")},openUrl:e,alert:e,confirm:e,close:e,getParams:e,setParams:e}},r=function(t,e){return function(){for(var n=[],r=0;r=300)r("HTTP Error: "+i.status);else{var t,o,a=JSON.parse(i.responseText);if(a&&"string"==typeof a.location)n((t=e.basePath,o=a.location,t?t.replace(/\/$/,"")+"/"+o.replace(/^\//,""):o));else r("Invalid JSON: "+i.responseText)}};var a=new FormData;a.append("file",t.blob(),t.filename()),i.send(a)},o=function(t,e){return{url:e,blobInfo:t,status:!0}},i=function(t,e,n){return{url:"",blobInfo:t,status:!1,error:{message:e,options:n}}},a=function(t,e){Ee.each(n[t],(function(t){t(e)})),delete n[t]},s=function(r,s){return r=Ee.grep(r,(function(e){return!t.isUploaded(e.blobUri())})),to.all(Ee.map(r,(function(r){return t.isPending(r.blobUri())?function(t){var e=t.blobUri();return new to((function(t){n[e]=n[e]||[],n[e].push(t)}))}(r):function(e,n,r){return t.markPending(e.blobUri()),new to((function(s){var u;try{var c=function(){u&&u.close()};n(e,(function(n){c(),t.markUploaded(e.blobUri(),n),a(e.blobUri(),o(e,n)),s(o(e,n))}),(function(n,r){var o=r||{};c(),t.removeFailed(e.blobUri()),a(e.blobUri(),i(e,n,o)),s(i(e,n,o))}),(function(t){t<0||t>100||B.from(u).orThunk((function(){return B.from(r).map(L)})).each((function(e){u=e,e.progressBar.value(t)}))}))}catch(t){s(i(e,t.message,{}))}}))}(r,e.handler,s)})))};return!1===w(e.handler)&&(e.handler=r),{upload:function(t,n){return e.url||e.handler!==r?s(t,n):new to((function(t){t([])}))}}},Ry=function(t){return function(){return t.notificationManager.open({text:t.translate("Image uploading..."),type:"info",timeout:-1,progressBar:!0})}},By=function(t,e){return Iy(e,{url:sc(t),basePath:uc(t),credentials:cc(t),handler:lc(t)})},My=function(t){var e,n,r=function(){var t=[],e=function(t){if(!t.blob||!t.base64)throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");var e,n=t.id||Py("blobid"),r=t.name||n,o=t.blob;return{id:D(n),name:D(r),filename:D(t.filename||r+"."+(e=o.type,{"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png","image/apng":"apng","image/avif":"avif","image/svg+xml":"svg","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"}[e.toLowerCase()]||"dat")),blob:D(o),base64:D(t.base64),blobUri:D(t.blobUri||URL.createObjectURL(o)),uri:D(t.uri)}},n=function(e){return J(t,e).getOrUndefined()},r=function(t){return n((function(e){return e.id()===t}))};return{create:function(t,n,r,o,i){if(f(t))return e({id:t,name:o,filename:i,blob:n,base64:r});if(m(t))return e(t);throw new Error("Unknown input type")},add:function(e){r(e.id())||t.push(e)},get:r,getByUri:function(t){return n((function(e){return e.blobUri()===t}))},getByData:function(t,e){return n((function(n){return n.base64()===t&&n.blob().type===e}))},findFirst:n,removeByUri:function(e){t=Y(t,(function(t){return t.blobUri()!==e||(URL.revokeObjectURL(t.blobUri()),!1)}))},destroy:function(){W(t,(function(t){URL.revokeObjectURL(t.blobUri())})),t=[]}}}(),o=$y(),i=[],a=function(t){var e=_s(null);return t.on("change AddUndo",(function(t){e.set(Lt({},t.level))})),{fireIfChanged:function(){var n=t.undoManager.data;st(n).filter((function(t){return!qv(e.get(),t)})).each((function(e){t.setDirty(!0),t.fire("change",{level:e,lastLevel:it(n,n.length-2).getOrNull()})}))}}}(t),s=function(e){return function(n){return t.selection?e(n):[]}},u=function(t,e,n){var r=0;do{-1!==(r=t.indexOf(e,r))&&(t=t.substring(0,r)+n+t.substr(r+e.length),r+=n.length-e.length+1)}while(-1!==r);return t},c=function(t,e,n){var r='src="'+n+'"'+(n===ke.transparentSrc?' data-mce-placeholder="1"':"");return t=u(t,'src="'+e+'"',r),t=u(t,'data-mce-src="'+e+'"','data-mce-src="'+n+'"')},l=function(e,n){W(t.undoManager.data,(function(t){"fragmented"===t.type?t.fragments=V(t.fragments,(function(t){return c(t,e,n)})):t.content=c(t.content,e,n)}))},d=function(n){return e||(e=By(t,o)),g().then(s((function(o){var i=V(o,(function(t){return t.blobInfo}));return e.upload(i,Ry(t)).then(s((function(e){var i=[],s=V(e,(function(e,n){var a=o[n].blobInfo,s=o[n].image;return e.status&&function(t){return t.getParam("images_replace_blob_uris",!0,"boolean")}(t)?(r.removeByUri(s.src),Gv(t)||function(e,n){var r,o=t.convertURL(n,"src");l(e.src,n),t.$(e).attr({src:ic(t)?(r=n,r+(-1===r.indexOf("?")?"?":"&")+(new Date).getTime()):n,"data-mce-src":o})}(s,e.url)):e.error&&(e.error.options.remove&&(l(s.getAttribute("src"),ke.transparentSrc),i.push(s)),function(t,e){xy(t,Ds.translate(["Failed to upload image: {0}",e]))}(t,e.error.message)),{element:s,status:e.status,uploadUri:e.url,blobInfo:a}}));return s.length>0&&a.fireIfChanged(),i.length>0&&(Gv(t)?console.error("Removing images on failed uploads is currently unsupported for RTC"):t.undoManager.transact((function(){W(i,(function(e){t.dom.remove(e),r.removeByUri(e.src)}))}))),n&&n(s),s})))})))},p=function(e){if(oc(t))return d(e)},h=function(e){if(!1===et(i,(function(t){return t(e)})))return!1;if(0===e.getAttribute("src").indexOf("data:")){var n=function(t){return t.getParam("images_dataimg_filter",N,"function")}(t);return n(e)}return!0},g=function(){return n||(n=yb(o,r)),n.findAll(t.getBody(),h).then(s((function(e){return e=Y(e,(function(e){return"string"!=typeof e||(xy(t,e),!1)})),Gv(t)||W(e,(function(t){l(t.image.src,t.blobInfo.blobUri()),t.image.src=t.blobInfo.blobUri(),t.image.removeAttribute("data-mce-src")})),e})))},v=function(e){return e.replace(/src="(blob:[^"]+)"/g,(function(e,n){var i=o.getResultUri(n);if(i)return'src="'+i+'"';var a=r.getByUri(n);return a||(a=Z(t.editorManager.get(),(function(t,e){return t||e.editorUpload&&e.editorUpload.blobCache.getByUri(n)}),null)),a?'src="data:'+a.blob().type+";base64,"+a.base64()+'"':e}))};return t.on("SetContent",(function(){oc(t)?p():g()})),t.on("RawSaveContent",(function(t){t.content=v(t.content)})),t.on("GetContent",(function(t){t.source_view||"raw"===t.format||"tree"===t.format||(t.content=v(t.content))})),t.on("PostRender",(function(){t.parser.addNodeFilter("img",(function(t){W(t,(function(t){var e=t.attr("src");if(!r.getByUri(e)){var n=o.getResultUri(e);n&&t.attr("src",n)}}))}))})),{blobCache:r,addFilter:function(t){i.push(t)},uploadImages:d,uploadImagesAuto:p,scanForImages:g,destroy:function(){r.destroy(),o.destroy(),n=e=null}}},jy=function(t){var e={},n=function(t,r){t&&(f(t)?(p(r)||(r=[r]),W(r,(function(t){v(t.deep)&&(t.deep=!pd(t)),v(t.split)&&(t.split=!pd(t)||hd(t)),v(t.remove)&&pd(t)&&!hd(t)&&(t.remove="none"),pd(t)&&hd(t)&&(t.mixed=!0,t.block_expand=!0),f(t.classes)&&(t.classes=t.classes.split(/\s+/))})),e[t]=r):ft(t,(function(t,e){n(e,t)})))};return n(function(t){var e={valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"img,table,audio,video",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"img,table,audio,video",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},inherit:!1,defaultBlock:"div",preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all",preserve_attributes:["class","style"]}],italic:[{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all",preserve_attributes:["class","style"]}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all",preserve_attributes:["class","style"]}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all",preserve_attributes:["class","style"]},{inline:"s",remove:"all",preserve_attributes:["class","style"]}],forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},fontname:{inline:"span",toggle:!1,styles:{fontFamily:"%value"},clear_child_styles:!0},fontsize:{inline:"span",toggle:!1,styles:{fontSize:"%value"},clear_child_styles:!0},lineheight:{selector:"h1,h2,h3,h4,h5,h6,p,li,td,th,div",defaultBlock:"p",styles:{lineHeight:"%value"}},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:!0,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(t,e,n){return An(t)&&t.hasAttribute("href")},onformat:function(e,n,r){Ee.each(r,(function(n,r){t.setAttrib(e,r,n)}))}},lang:{inline:"span",clear_child_styles:!0,remove_similar:!0,attributes:{lang:"%value","data-mce-lang":function(t){var e;return null!==(e=null==t?void 0:t.customValue)&&void 0!==e?e:null}}},removeformat:[{selector:"b,strong,em,i,font,u,strike,s,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins,small",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]};return Ee.each("p h1 h2 h3 h4 h5 h6 div address pre dt dd samp".split(/\s/),(function(t){e[t]={block:t,remove:"all"}})),e}(t.dom)),n(function(t){return t.getParam("formats")}(t)),{get:function(t){return y(t)?e[t]:e},has:function(t){return wt(e,t)},register:n,unregister:function(t){return t&&e[t]&&delete e[t],e}}},zy=Ee.each,Fy=gs.DOM,Uy=function(t,e){var n,r,o,i=e&&e.schema||Oi({}),a=function(t){r="string"==typeof t?{name:t,classes:[],attrs:{}}:t;var e=Fy.create(r.name);return function(t,e){e.classes.length&&Fy.addClass(t,e.classes.join(" ")),Fy.setAttribs(t,e.attrs)}(e,r),e},s=function(t,e,n){var r,o,u=e.length>0&&e[0],c=u&&u.name,l=function(t,e){var n="string"!=typeof t?t.nodeName.toLowerCase():t,r=i.getElementRule(n),o=r&&r.parentsRequired;return!(!o||!o.length)&&(e&&-1!==Ee.inArray(o,e)?e:o[0])}(t,c);if(l)c===l?(o=e[0],e=e.slice(1)):o=l;else if(u)o=e[0],e=e.slice(1);else if(!n)return t;return o&&(r=a(o)).appendChild(t),n&&(r||(r=Fy.create("div")).appendChild(t),Ee.each(n,(function(e){var n=a(e);r.insertBefore(n,t)}))),s(r,e,o&&o.siblings)};return t&&t.length?(r=t[0],n=a(r),(o=Fy.create("div")).appendChild(s(n,t.slice(1),r.siblings)),o):""},Hy=function(t){var e,n={classes:[],attrs:{}};return"*"!==(t=n.selector=Ee.trim(t))&&(e=t.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,(function(t,e,r,o,i){switch(e){case"#":n.attrs.id=r;break;case".":n.classes.push(r);break;case":":-1!==Ee.inArray("checked disabled enabled read-only required".split(" "),r)&&(n.attrs[r]=r)}if("["===o){var a=i.match(/([\w\-]+)(?:\=\"([^\"]+))?/);a&&(n.attrs[a[1]]=a[2])}return""}))),n.name=e||"div",n},Vy=function(t,e){var n,r,o,i="",a=function(t){var e=t.getParam("preview_styles","font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow");return f(e)?e:""}(t);if(""===a)return"";var s=function(t){return t.replace(/%(\w+)/g,"")};if("string"==typeof e){if(!(e=t.formatter.get(e)))return;e=e[0]}if("preview"in e){var u=yt(e,"preview");if(Xn(u,!1))return"";a=u.getOr(a)}n=e.block||e.inline||"span";var c,l=(c=e.selector)&&"string"==typeof c?(c=(c=c.split(/\s*,\s*/)[0]).replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),Ee.map(c.split(/(?:>|\s+(?![^\[\]]+\]))/),(function(t){var e=Ee.map(t.split(/(?:~\+|~|\+)/),Hy),n=e.pop();return e.length&&(n.siblings=e),n})).reverse()):[];l.length?(l[0].name||(l[0].name=n),n=e.selector,r=Uy(l,t)):r=Uy([n],t);var d=Fy.select(n,r)[0]||r.firstChild;return zy(e.styles,(function(t,e){var n=s(t);n&&Fy.setStyle(d,e,n)})),zy(e.attributes,(function(t,e){var n=s(t);n&&Fy.setAttrib(d,e,n)})),zy(e.classes,(function(t){var e=s(t);Fy.hasClass(d,e)||Fy.addClass(d,e)})),t.fire("PreviewFormats"),Fy.setStyles(r,{position:"absolute",left:-65535}),t.getBody().appendChild(r),o=Fy.getStyle(t.getBody(),"fontSize",!0),o=/px$/.test(o)?parseInt(o,10):0,zy(a.split(" "),(function(e){var n=Fy.getStyle(d,e,!0);if(!("background-color"===e&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(n)&&(n=Fy.getStyle(t.getBody(),e,!0),"#ffffff"===Fy.toHex(n).toLowerCase())||"color"===e&&"#000000"===Fy.toHex(n).toLowerCase())){if("font-size"===e&&/em|%$/.test(n)){if(0===o)return;n=parseFloat(n)/(/%$/.test(n)?100:1)*o+"px"}"border"===e&&n&&(i+="padding:0 2px;"),i+=e+":"+n+";"}})),t.fire("AfterPreviewFormats"),Fy.remove(r),i},Wy=function(t){var e=jy(t),n=_s(null);return function(t){t.addShortcut("meta+b","","Bold"),t.addShortcut("meta+i","","Italic"),t.addShortcut("meta+u","","Underline");for(var e=1;e<=6;e++)t.addShortcut("access+"+e,"",["FormatBlock",!1,"h"+e]);t.addShortcut("access+7","",["FormatBlock",!1,"p"]),t.addShortcut("access+8","",["FormatBlock",!1,"div"]),t.addShortcut("access+9","",["FormatBlock",!1,"address"])}(t),$g(t),{get:e.get,has:e.has,register:e.register,unregister:e.unregister,apply:function(e,n,r){!function(t,e,n,r){tb(t).formatter.apply(e,n,r)}(t,e,n,r)},remove:function(e,n,r,o){!function(t,e,n,r,o){tb(t).formatter.remove(e,n,r,o)}(t,e,n,r,o)},toggle:function(e,n,r){!function(t,e,n,r){tb(t).formatter.toggle(e,n,r)}(t,e,n,r)},match:function(e,n,r,o){return function(t,e,n,r,o){return tb(t).formatter.match(e,n,r,o)}(t,e,n,r,o)},closest:function(e){return function(t,e){return tb(t).formatter.closest(e)}(t,e)},matchAll:function(e,n){return function(t,e,n){return tb(t).formatter.matchAll(e,n)}(t,e,n)},matchNode:function(e,n,r,o){return function(t,e,n,r,o){return tb(t).formatter.matchNode(e,n,r,o)}(t,e,n,r,o)},canApply:function(e){return function(t,e){return tb(t).formatter.canApply(e)}(t,e)},formatChanged:function(e,r,o,i){return function(t,e,n,r,o,i){return tb(t).formatter.formatChanged(e,n,r,o,i)}(t,n,e,r,o,i)},getCssText:E(Vy,t)}},qy=function(t){switch(t.toLowerCase()){case"undo":case"redo":case"mcerepaint":case"mcefocus":return!0;default:return!1}},Ky=function(t){var e=Ts(),n=_s(0),r=_s(0),o={data:[],typing:!1,beforeChange:function(){!function(t,e,n){tb(t).undoManager.beforeChange(e,n)}(t,n,e)},add:function(i,a){return function(t,e,n,r,o,i,a){return tb(t).undoManager.add(e,n,r,o,i,a)}(t,o,r,n,e,i,a)},undo:function(){return function(t,e,n,r){return tb(t).undoManager.undo(e,n,r)}(t,o,n,r)},redo:function(){return function(t,e,n){return tb(t).undoManager.redo(e,n)}(t,r,o.data)},clear:function(){!function(t,e,n){tb(t).undoManager.clear(e,n)}(t,o,r)},reset:function(){!function(t,e){tb(t).undoManager.reset(e)}(t,o)},hasUndo:function(){return function(t,e,n){return tb(t).undoManager.hasUndo(e,n)}(t,o,r)},hasRedo:function(){return function(t,e,n){return tb(t).undoManager.hasRedo(e,n)}(t,o,r)},transact:function(e){return function(t,e,n,r){return tb(t).undoManager.transact(e,n,r)}(t,o,n,e)},ignore:function(e){!function(t,e,n){tb(t).undoManager.ignore(e,n)}(t,n,e)},extra:function(e,n){!function(t,e,n,r,o){tb(t).undoManager.extra(e,n,r,o)}(t,o,r,e,n)}};return Gv(t)||function(t,e,n){var r=_s(!1),o=function(t){Yv(e,!1,n),e.add({},t)};t.on("init",(function(){e.add()})),t.on("BeforeExecCommand",(function(t){var r=t.command;qy(r)||(Xv(e,n),e.beforeChange())})),t.on("ExecCommand",(function(t){var e=t.command;qy(e)||o(t)})),t.on("ObjectResizeStart cut",(function(){e.beforeChange()})),t.on("SaveContent ObjectResized blur",o),t.on("dragend",o),t.on("keyup",(function(n){var i=n.keyCode;n.isDefaultPrevented()||((i>=33&&i<=36||i>=37&&i<=40||45===i||n.ctrlKey)&&(o(),t.nodeChanged()),46!==i&&8!==i||t.nodeChanged(),r.get()&&e.typing&&!1===qv(Uv(t),e.data[0])&&(!1===t.isDirty()&&(t.setDirty(!0),t.fire("change",{level:e.data[0],lastLevel:null})),t.fire("TypingUndo"),r.set(!1),t.nodeChanged()))})),t.on("keydown",(function(t){var i=t.keyCode;if(!t.isDefaultPrevented())if(i>=33&&i<=36||i>=37&&i<=40||45===i)e.typing&&o(t);else{var a=t.ctrlKey&&!t.altKey||t.metaKey;!(i<16||i>20)||224===i||91===i||e.typing||a||(e.beforeChange(),Yv(e,!0,n),e.add({},t),r.set(!0))}})),t.on("mousedown",(function(t){e.typing&&o(t)})),t.on("input",(function(t){t.inputType&&(function(t){return"insertReplacementText"===t.inputType}(t)||function(t){return"insertText"===t.inputType&&null===t.data}(t)||function(t){return"insertFromPaste"===t.inputType||"insertFromDrop"===t.inputType}(t))&&o(t)})),t.on("AddUndo Undo Redo ClearUndos",(function(e){e.isDefaultPrevented()||t.nodeChanged()}))}(t,o,n),function(t){t.addShortcut("meta+z","","Undo"),t.addShortcut("meta+y,meta+shift+z","","Redo")}(t),o},Yy=[9,27,of.HOME,of.END,19,20,44,144,145,33,34,45,16,17,18,91,92,93,of.DOWN,of.UP,of.LEFT,of.RIGHT].concat(ke.browser.isFirefox()?[224]:[]),Xy="data-mce-placeholder",Zy=function(t){return"keydown"===t.type||"keyup"===t.type},Gy=function(t){var e=t.keyCode;return e===of.BACKSPACE||e===of.DELETE},Jy=function(t){var e=t.dom,n=nc(t),r=function(t){return t.getParam("placeholder",Qu.getAttrib(t.getElement(),"placeholder"),"string")}(t),o=function(i,a){if(!function(t){if(Zy(t)){var e=t.keyCode;return!Gy(t)&&(of.metaKeyPressed(t)||t.altKey||e>=112&&e<=123||U(Yy,e))}return!1}(i)){var s=t.getBody(),u=!function(t){return Zy(t)&&!(Gy(t)||"keyup"===t.type&&229===t.keyCode)}(i)&&function(t,e,n){if(ei(Le.fromDom(e),!1)){var r=""===n,o=e.firstElementChild;return!o||!t.getStyle(e.firstElementChild,"padding-left")&&!t.getStyle(e.firstElementChild,"padding-right")&&(r?!t.isBlock(o):n===o.nodeName.toLowerCase())}return!1}(e,s,n);(""!==e.getAttrib(s,Xy)!==u||a)&&(e.setAttrib(s,Xy,u?r:null),e.setAttrib(s,"aria-placeholder",u?r:null),function(t,e){t.fire("PlaceholderToggle",{state:e})}(t,u),t.on(u?"keydown":"keyup",o),t.off(u?"keyup":"keydown",o))}};r&&t.on("init",(function(e){o(e,!0),t.on("change SetContent ExecCommand",o),t.on("paste",(function(e){return oo.setEditorTimeout(t,(function(){return o(e)}))}))}))},Qy=/[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/,tw=function(t,e){return $e(Le.fromDom(e),function(t){return t.getParam("inline_boundaries_selector","a[href],code,.mce-annotation","string")}(t))},ew=function(t){return"rtl"===gs.DOM.getStyle(t,"direction",!0)||(e=t.textContent,Qy.test(e));var e},nw=function(t,e,n){var r=function(t,e,n){return Y(gs.DOM.getParents(n.container(),"*",e),t)}(t,e,n);return B.from(r[r.length-1])},rw=function(t,e){if(!e)return e;var n=e.container(),r=e.offset();return t?To(n)?jn(n.nextSibling)?Ou(n.nextSibling,0):Ou.after(n):Lo(e)?Ou(n,r+1):e:To(n)?jn(n.previousSibling)?Ou(n.previousSibling,n.previousSibling.data.length):Ou.before(n):Ao(e)?Ou(n,r-1):e},ow=E(rw,!0),iw=E(rw,!1),aw=function(t){return po(t)||go(t)},sw=function(t,e){return Re(t,e)?Xr(e,aw,function(t){return function(e){return Pe(t,Le.fromDom(e.dom.parentNode))}}(t)):B.none()},uw=function(t){t.dom.isEmpty(t.getBody())&&(t.setContent(""),function(t){var e=t.getBody(),n=e.firstChild&&t.dom.isBlock(e.firstChild)?e.firstChild:e;t.selection.setCursorLocation(n,0)}(t))},cw=function(t,e){return{from:t,to:e}},lw=function(t,e){var n=Le.fromDom(t),r=Le.fromDom(e.container());return sw(n,r).map((function(t){return function(t,e){return{block:t,position:e}}(t,e)}))},dw=function(t,e,n){var r=lw(t,Ou.fromRangeStart(n)),o=r.bind((function(n){return Ol(e,t,n.position).bind((function(n){return lw(t,n).map((function(n){return function(t,e,n){return Hn(n.position.getNode())&&!1===ei(n.block)?$l(!1,n.block.dom).bind((function(r){return r.isEqual(n.position)?Ol(e,t,r).bind((function(e){return lw(t,e)})):B.some(n)})).getOr(n):n}(t,e,n)}))}))}));return Zn(r,o,cw).filter((function(t){return function(t){return!1===Pe(t.from.block,t.to.block)}(t)&&function(t){return Ke(t.from.block).bind((function(e){return Ke(t.to.block).filter((function(t){return Pe(e,t)}))})).isSome()}(t)&&function(t){return!1===qn(t.from.block.dom)&&!1===qn(t.to.block.dom)}(t)}))},fw=function(t){var e=Je(t);return Q(e,lo).fold(D(e),(function(t){return e.slice(0,t)}))},mw=function(t){var e=fw(t);return W(e,vn),e},pw=function(t,e){var n=Sp(e,t);return J(n.reverse(),(function(t){return ei(t)})).each(vn)},hw=function(t,e,n,r){if(ei(n))return Cp(n),Il(n.dom);0===Y(Ze(r),(function(t){return!ei(t)})).length&&ei(e)&&dn(r,Le.fromTag("br"));var o=Pl(n.dom,Ou.before(r.dom));return W(mw(e),(function(t){dn(r,t)})),pw(t,e),o},gw=function(t,e,n){if(ei(n))return vn(n),ei(e)&&Cp(e),Il(e.dom);var r=Rl(n.dom);return W(mw(e),(function(t){pn(n,t)})),pw(t,e),r},vw=function(t,e){return Re(e,t)?function(t,e){var n=Sp(e,t);return B.from(n[n.length-1])}(e,t):B.none()},bw=function(t,e){$l(t,e.dom).map((function(t){return t.getNode()})).map(Le.fromDom).filter(mo).each(vn)},yw=function(t,e,n){return bw(!0,e),bw(!1,n),vw(e,n).fold(E(gw,t,e,n),E(hw,t,e,n))},ww=function(t,e,n,r){return e?yw(t,r,n):yw(t,n,r)},_w=function(t,e){var n=Le.fromDom(t.getBody()),r=function(t,e,n){return n.collapsed?dw(t,e,n):B.none()}(n.dom,e,t.selection.getRng()).bind((function(t){return ww(n,e,t.from.block,t.to.block)}));return r.each((function(e){t.selection.setRng(e.toRange())})),r.isSome()},Cw=function(t,e){var n=Le.fromDom(e),r=E(Pe,t);return Yr(n,bo,r).isSome()},kw=function(t,e){var n=Pl(t.dom,Ou.fromRangeStart(e)).isNone(),r=Nl(t.dom,Ou.fromRangeEnd(e)).isNone();return!function(t,e){return Cw(t,e.startContainer)||Cw(t,e.endContainer)}(t,e)&&n&&r},xw=function(t){var e=Le.fromDom(t.getBody()),n=t.selection.getRng();return kw(e,n)?function(t){return t.setContent(""),t.selection.setCursorLocation(),!0}(t):function(t,e){var n=e.getRng();return Zn(sw(t,Le.fromDom(n.startContainer)),sw(t,Le.fromDom(n.endContainer)),(function(r,o){return!1===Pe(r,o)&&(n.deleteContents(),ww(t,!0,r,o).each((function(t){e.setRng(t.toRange())})),!0)})).getOr(!1)}(e,t.selection)},Dw=function(t,e){return!t.selection.isCollapsed()&&xw(t)},Sw=Wn,Tw=qn,Ew=function(t,e,n,r,o){return B.from(e._selectionOverrides.showCaret(t,n,r,o))},Ow=function(t,e){return t.fire("BeforeObjectSelected",{target:e}).isDefaultPrevented()?B.none():B.some(function(t){var e=t.ownerDocument.createRange();return e.selectNode(t),e}(e))},Lw=function(t,e,n){var r=sl(1,t.getBody(),e),o=Ou.fromRangeStart(r),i=o.getNode();if(zc(i))return Ew(1,t,i,!o.isAtEnd(),!1);var a=o.getNode(!0);if(zc(a))return Ew(1,t,a,!1,!1);var s=t.dom.getParent(o.getNode(),(function(t){return Tw(t)||Sw(t)}));return zc(s)?Ew(1,t,s,!1,n):B.none()},Aw=function(t,e,n){return e.collapsed?Lw(t,e,n).getOr(e):e},$w=function(t){return yp(t)||hp(t)},Nw=function(t){return wp(t)||gp(t)},Pw=function(t,e,n,r,o,i){return Ew(r,t,i.getNode(!o),o,!0).each((function(n){if(e.collapsed){var r=e.cloneRange();o?r.setEnd(n.startContainer,n.startOffset):r.setStart(n.endContainer,n.endOffset),r.deleteContents()}else e.deleteContents();t.selection.setRng(n)})),function(t,e){jn(e)&&0===e.data.length&&t.remove(e)}(t.dom,n),!0},Iw=function(t,e){return function(t,e){var n=t.selection.getRng();if(!jn(n.commonAncestorContainer))return!1;var r=e?Lu.Forwards:Lu.Backwards,o=xl(t.getBody()),i=E(dl,e?o.next:o.prev),a=e?$w:Nw,s=cl(r,t.getBody(),n),u=rw(e,i(s));if(!u||!fl(s,u))return!1;if(a(u))return Pw(t,n,s.getNode(),r,e,u);var c=i(u);return!!(c&&a(c)&&fl(u,c))&&Pw(t,n,s.getNode(),r,e,c)}(t,e)},Rw=Dr([{remove:["element"]},{moveToElement:["element"]},{moveToPosition:["position"]}]),Bw=function(t,e,n,r){var o=r.getNode(!1===e);return sw(Le.fromDom(t),Le.fromDom(n.getNode())).map((function(t){return ei(t)?Rw.remove(t.dom):Rw.moveToElement(o)})).orThunk((function(){return B.some(Rw.moveToElement(o))}))},Mw=function(t,e,n){return Ol(e,t,n).bind((function(r){return o=r.getNode(),bo(Le.fromDom(o))||go(Le.fromDom(o))||function(t,e,n,r){var o=function(e){return fo(Le.fromDom(e))&&!tl(n,r,t)};return ul(!e,n).fold((function(){return ul(e,r).fold($,o)}),o)}(t,e,n,r)?B.none():e&&qn(r.getNode())||!1===e&&qn(r.getNode(!0))?Bw(t,e,n,r):e&&wp(n)||!1===e&&yp(n)?B.some(Rw.moveToPosition(r)):B.none();var o}))},jw=function(t,e,n){return function(t,e){var n=e.getNode(!1===t),r=t?"after":"before";return An(n)&&n.getAttribute("data-mce-caret")===r}(e,n)?function(t,e){return t&&qn(e.nextSibling)?B.some(Rw.moveToElement(e.nextSibling)):!1===t&&qn(e.previousSibling)?B.some(Rw.moveToElement(e.previousSibling)):B.none()}(e,n.getNode(!1===e)).fold((function(){return Mw(t,e,n)}),B.some):Mw(t,e,n).bind((function(e){return function(t,e,n){return n.fold((function(t){return B.some(Rw.remove(t))}),(function(t){return B.some(Rw.moveToElement(t))}),(function(n){return tl(e,n,t)?B.none():B.some(Rw.moveToPosition(n))}))}(t,n,e)}))},zw=function(t,e){return B.from(Qd(t.getBody(),e))},Fw=function(t,e){var n=t.selection.getNode();return zw(t,n).filter(qn).fold((function(){return function(t,e,n){var r=sl(e?1:-1,t,n),o=Ou.fromRangeStart(r),i=Le.fromDom(t);return!1===e&&wp(o)?B.some(Rw.remove(o.getNode(!0))):e&&yp(o)?B.some(Rw.remove(o.getNode())):!1===e&&yp(o)&&Mp(i,o)?jp(i,o).map((function(t){return Rw.remove(t.getNode())})):e&&wp(o)&&Bp(i,o)?zp(i,o).map((function(t){return Rw.remove(t.getNode())})):jw(t,e,o)}(t.getBody(),e,t.selection.getRng()).exists((function(n){return n.fold(function(t,e){return function(n){return t._selectionOverrides.hideFakeCaret(),hh(t,e,Le.fromDom(n)),!0}}(t,e),function(t,e){return function(n){var r=e?Ou.before(n):Ou.after(n);return t.selection.setRng(r.toRange()),!0}}(t,e),function(t){return function(e){return t.selection.setRng(e.toRange()),!0}}(t))}))}),N)},Uw=function(t,e){var n=t.selection.getNode();return!(!qn(n)||Kn(n))&&zw(t,n.parentNode).filter(qn).fold((function(){var n;return n=Le.fromDom(t.getBody()),W(Ms(n,".mce-offscreen-selection"),vn),hh(t,e,Le.fromDom(t.selection.getNode())),uw(t),!0}),N)},Hw=function(t){var e=t.dom,n=t.selection,r=Qd(t.getBody(),n.getNode());if(Wn(r)&&e.isBlock(r)&&e.isEmpty(r)){var o=e.create("br",{"data-mce-bogus":"1"});e.setHTML(r,""),r.appendChild(o),n.setRng(Ou.before(o).toRange())}return!0},Vw=function(t,e){return t.selection.isCollapsed()?Fw(t,e):Uw(t,e)},Ww=function(t,e){return!!t.selection.isCollapsed()&&function(t,e){var n=Ou.fromRangeStart(t.selection.getRng());return Ol(e,t.getBody(),n).filter((function(t){return e?mp(t):pp(t)})).bind((function(t){return B.from(el(e?0:-1,t))})).exists((function(e){return t.selection.select(e),!0}))}(t,e)},qw=jn,Kw=function(t){return qw(t)&&t.data[0]===_o},Yw=function(t){return qw(t)&&t.data[t.data.length-1]===_o},Xw=function(t){return t.ownerDocument.createTextNode(_o)},Zw=function(t,e){return t?function(t){if(qw(t.previousSibling))return Yw(t.previousSibling)||t.previousSibling.appendData(_o),t.previousSibling;if(qw(t))return Kw(t)||t.insertData(0,_o),t;var e=Xw(t);return t.parentNode.insertBefore(e,t),e}(e):function(t){if(qw(t.nextSibling))return Kw(t.nextSibling)||t.nextSibling.insertData(0,_o),t.nextSibling;if(qw(t))return Yw(t)||t.appendData(_o),t;var e=Xw(t);return t.nextSibling?t.parentNode.insertBefore(e,t.nextSibling):t.parentNode.appendChild(e),e}(e)},Gw=E(Zw,!0),Jw=E(Zw,!1),Qw=function(t,e){return jn(t.container())?Zw(e,t.container()):Zw(e,t.getNode())},t_=function(t,e){var n=e.get();return n&&t.container()===n&&To(n)},e_=function(t,e){return e.fold((function(e){$c(t.get());var n=Gw(e);return t.set(n),B.some(Ou(n,n.length-1))}),(function(e){return Il(e).map((function(e){if(t_(e,t))return Ou(t.get(),1);$c(t.get());var n=Qw(e,!0);return t.set(n),Ou(n,1)}))}),(function(e){return Rl(e).map((function(e){if(t_(e,t))return Ou(t.get(),t.get().length-1);$c(t.get());var n=Qw(e,!1);return t.set(n),Ou(n,n.length-1)}))}),(function(e){$c(t.get());var n=Jw(e);return t.set(n),B.some(Ou(n,1))}))},n_=function(t,e){for(var n=0;n0&&e(l,Ot(s))&&a++,l.line=a,o(l))return!0;s.push(l)}}},c=Ot(i.getClientRects());if(!c)return s;var l=i.getNode();return u(l),function(t,e,n,r){for(;r=Jc(r,t,Ko,e);)if(n(r))return}(t,r,u,l),s},F_=E(z_,x_.Up,ou,iu),U_=E(z_,x_.Down,iu,ou),H_=function(t){return function(e){return function(t,e){return e.line>t}(t,e)}},V_=function(t){return function(e){return function(t,e){return e.line===t}(t,e)}},W_=qn,q_=Jc,K_=function(t,e){return Math.abs(t.left-e)},Y_=function(t,e){return Math.abs(t.right-e)},X_=function(t,e){return t>=e.left&&t<=e.right},Z_=function(t,e){return t>=e.top&&t<=e.bottom},G_=function(t,e,n){return void 0===n&&(n=N),Tt(t,(function(t,r){if(X_(e,r))return n(r)?r:t;if(X_(e,t))return n(t)?t:r;var o=Math.min(K_(t,e),Y_(t,e)),i=Math.min(K_(r,e),Y_(r,e));return i===o&&_t(r,"node")&&W_(r.node)||i0&&i(m,Ot(c))&&l++;var p=eu(m);if(p.position=s,p.line=l,n(p))return c;c.push(p)}}}while(s=o(s));return c}(e,t.getBody(),H_(1),c),v=G_(Y(g,V_(1)),f);if(v)return eC(t,v.position.toRange(),!1);if(v=Ot(Y(g,V_(0))))return eC(t,v.position.toRange(),!1)}return 0===d.length?oC(t,u).filter(u?o:r).map((function(e){return Aw(t,e.toRange(),!1)})):B.none()},oC=function(t,e){var n=t.selection.getRng(),r=t.getBody();if(e){var o=Ou.fromRangeEnd(n),i=N_(r,o);return st(i.positions)}o=Ou.fromRangeStart(n),i=$_(r,o);return at(i.positions)},iC=function(t,e,n){return oC(t,e).filter(n).exists((function(e){return t.selection.setRng(e.toRange()),!0}))},aC=function(t,e){var n=t.dom.createRng();n.setStart(e.container(),e.offset()),n.setEnd(e.container(),e.offset()),t.selection.setRng(n)},sC=function(t,e){t?e.setAttribute("data-mce-selected","inline-boundary"):e.removeAttribute("data-mce-selected")},uC=function(t,e,n){return e_(e,n).map((function(e){return aC(t,e),n}))},cC=function(t,e){if(t.selection.isCollapsed()&&!0!==t.composing&&e.get()){var n=Ou.fromRangeStart(t.selection.getRng());Ou.isTextPosition(n)&&!1===function(t){return Lo(t)||Ao(t)}(n)&&(aC(t,Ac(e.get(),n)),e.set(null))}},lC=function(t,e,n){return!!wc(t)&&function(t,e,n){var r=t.getBody(),o=Ou.fromRangeStart(t.selection.getRng()),i=E(tw,t);return w_(n,i,r,o).bind((function(n){return uC(t,e,n)}))}(t,e,n).isSome()},dC=function(t,e,n){return!!wc(e)&&k_(t,e)},fC=function(t){var e=_s(null),n=E(tw,t);return t.on("NodeChange",(function(r){!wc(t)||ke.browser.isIE()&&r.initial||(function(t,e,n){var r=V(Ms(Le.fromDom(e.getRoot()),'*[data-mce-selected="inline-boundary"]'),(function(t){return t.dom})),o=Y(r,t),i=Y(n,t);W(rt(o,i),E(sC,!1)),W(rt(i,o),E(sC,!0))}(n,t.dom,r.parents),cC(t,e),function(t,e,n,r){if(e.selection.isCollapsed()){var o=Y(r,t);W(o,(function(r){var o=Ou.fromRangeStart(e.selection.getRng());f_(t,e.getBody(),o).bind((function(t){return uC(e,n,t)}))}))}}(n,t,e,r.parents))})),e},mC=E(dC,!0),pC=E(dC,!1),hC=function(t,e,n){if(wc(t)){var r=oC(t,e).getOrThunk((function(){var n=t.selection.getRng();return e?Ou.fromRangeEnd(n):Ou.fromRangeStart(n)}));return f_(E(tw,t),t.getBody(),r).exists((function(e){var r=h_(e);return e_(n,r).exists((function(e){return aC(t,e),!0}))}))}return!1},gC=function(t,e){return function(n){return e_(e,n).exists((function(e){return aC(t,e),!0}))}},vC=function(t,e,n,r){var o=t.getBody(),i=E(tw,t);t.undoManager.ignore((function(){t.selection.setRng(function(t,e){var n=document.createRange();return n.setStart(t.container(),t.offset()),n.setEnd(e.container(),e.offset()),n}(n,r)),t.execCommand("Delete"),f_(i,o,Ou.fromRangeStart(t.selection.getRng())).map(g_).map(gC(t,e))})),t.nodeChanged()},bC=function(t,e,n,r){var o=function(t,e){return Qc(e,t)||t}(t.getBody(),r.container()),i=E(tw,t),a=f_(i,o,r);return a.bind((function(t){return n?t.fold(D(B.some(g_(t))),B.none,D(B.some(h_(t))),B.none):t.fold(B.none,D(B.some(h_(t))),B.none,D(B.some(g_(t))))})).map(gC(t,e)).getOrThunk((function(){var s=Ll(n,o,r),u=s.bind((function(t){return f_(i,o,t)}));return Zn(a,u,(function(){return nw(i,o,r).exists((function(e){return!!function(t){return Zn(Il(t),Rl(t),(function(e,n){var r=rw(!0,e),o=rw(!1,n);return Nl(t,r).forall((function(t){return t.isEqual(o)}))})).getOr(!0)}(e)&&(hh(t,n,Le.fromDom(e)),!0)}))})).orThunk((function(){return u.bind((function(o){return s.map((function(o){return n?vC(t,e,r,o):vC(t,e,o,r),!0}))}))})).getOr(!1)}))},yC=function(t,e,n){if(t.selection.isCollapsed()&&wc(t)){var r=Ou.fromRangeStart(t.selection.getRng());return bC(t,e,n,r)}return!1},wC=function(t){return 1===nn(t)},_C=function(t,e,n,r){var o=E(Ng,e),i=V(Y(r,o),(function(t){return t.dom}));if(0===i.length)hh(e,t,n);else{var a=function(t,e){var n=Sg(!1),r=Lg(e,n.dom);return dn(Le.fromDom(t),n),vn(Le.fromDom(t)),Ou(r,0)}(n.dom,i);e.selection.setRng(a.toRange())}},CC=function(t,e){var n=Le.fromDom(t.getBody()),r=Le.fromDom(t.selection.getStart()),o=Y(function(t,e){var n=Sp(e,t);return Q(n,lo).fold(D(n),(function(t){return n.slice(0,t)}))}(n,r),wC);return st(o).exists((function(n){var r,i=Ou.fromRangeStart(t.selection.getRng());return!(!function(t,e,n){return Zn(Il(n),Rl(n),(function(r,o){var i=rw(!0,r),a=rw(!1,o),s=rw(!1,e);return t?Nl(n,s).exists((function(t){return t.isEqual(a)&&e.isEqual(i)})):Pl(n,s).exists((function(t){return t.isEqual(i)&&e.isEqual(a)}))})).getOr(!0)}(e,i,n.dom)||(r=n,Ml(r.dom)&&xg(r.dom)))&&(_C(e,t,n,o),!0)}))},kC=function(t,e){return!!t.selection.isCollapsed()&&CC(t,e)},xC=function(t,e,n){return t._selectionOverrides.hideFakeCaret(),hh(t,e,Le.fromDom(n)),!0},DC=function(t,e){return t.selection.isCollapsed()?function(t,e){var n=e?hp:gp,r=e?Lu.Forwards:Lu.Backwards,o=cl(r,t.getBody(),t.selection.getRng());return n(o)?xC(t,e,o.getNode(!e)):B.from(rw(e,o)).filter((function(t){return n(t)&&fl(o,t)})).exists((function(n){return xC(t,e,n.getNode(!e))}))}(t,e):function(t,e){var n=t.selection.getNode();return!!Yn(n)&&xC(t,e,n)}(t,e)},SC=function(t){var e=parseInt(t,10);return isNaN(e)?0:e},TC=function(t,e){return(t||"table"===Be(e)?"margin":"padding")+("rtl"===ir(e,"direction")?"-right":"-left")},EC=function(t){var e=LC(t);return!t.mode.isReadOnly()&&(e.length>1||function(t,e){return et(e,(function(e){var n=TC(pc(t),e),r=sr(e,n).map(SC).getOr(0);return"false"!==t.dom.getContentEditable(e.dom)&&r>0}))}(t,e))},OC=function(t){return ho(t)||go(t)},LC=function(t){return Y((e=t.selection.getSelectedBlocks(),V(e,Le.fromDom)),(function(t){return!OC(t)&&!function(t){return Ke(t).exists(OC)}(t)&&Xr(t,(function(t){return Wn(t.dom)||qn(t.dom)})).exists((function(t){return Wn(t.dom)}))}));var e},AC=function(t,e){var n=t.dom,r=t.selection,o=t.formatter,i=function(t){return t.getParam("indentation","40px","string")}(t),a=/[a-z%]+$/i.exec(i)[0],s=parseInt(i,10),u=pc(t),c=nc(t);t.queryCommandState("InsertUnorderedList")||t.queryCommandState("InsertOrderedList")||""!==c||n.getParent(r.getNode(),n.isBlock)||o.apply("div"),W(LC(t),(function(t){!function(t,e,n,r,o,i){var a=TC(n,Le.fromDom(i));if("outdent"===e){var s=Math.max(0,SC(i.style[a])-r);t.setStyle(i,a,s?s+o:"")}else s=SC(i.style[a])+r+o,t.setStyle(i,a,s)}(n,e,u,s,a,t.dom)}))},$C=function(t,e){if(t.selection.isCollapsed()&&EC(t)){var n=t.dom,r=t.selection.getRng(),o=Ou.fromRangeStart(r),i=n.getParent(r.startContainer,n.isBlock);if(null!==i&&Ap(Le.fromDom(i),o))return AC(t,"outdent"),!0}return!1},NC=function(t,e){t.getDoc().execCommand(e,!1,null)},PC=function(t,e){t.addCommand("delete",(function(){!function(t,e){$C(t)||Vw(t,!1)||Iw(t,!1)||yC(t,e,!1)||_w(t,!1)||Wh(t)||Ww(t,!1)||DC(t,!1)||Dw(t)||kC(t,!1)||(NC(t,"Delete"),uw(t))}(t,e)})),t.addCommand("forwardDelete",(function(){!function(t,e){Vw(t,!0)||Iw(t,!0)||yC(t,e,!0)||_w(t,!0)||Wh(t)||Ww(t,!0)||DC(t,!0)||Dw(t)||kC(t,!0)||NC(t,"ForwardDelete")}(t,e)}))},IC=function(t){return void 0===t.touches||1!==t.touches.length?B.none():B.some(t.touches[0])},RC=function(t){var e=Ts(),n=_s(!1),r=Os((function(e){t.fire("longpress",Lt(Lt({},e),{type:"longpress"})),n.set(!0)}),400);t.on("touchstart",(function(t){IC(t).each((function(o){r.cancel();var i={x:o.clientX,y:o.clientY,target:t.target};r.throttle(t),n.set(!1),e.set(i)}))}),!0),t.on("touchmove",(function(o){r.cancel(),IC(o).each((function(r){e.on((function(o){(function(t,e){var n=Math.abs(t.clientX-e.x),r=Math.abs(t.clientY-e.y);return n>5||r>5})(r,o)&&(e.clear(),n.set(!1),t.fire("longpresscancel"))}))}))}),!0),t.on("touchend touchcancel",(function(o){r.cancel(),"touchcancel"!==o.type&&e.get().filter((function(t){return t.target.isEqualNode(o.target)})).each((function(){n.get()?o.preventDefault():t.fire("tap",Lt(Lt({},o),{type:"tap"}))}))}),!0)},BC=function(t,e){return wt(t,e.nodeName)},MC=function(t,e){return!!jn(e)||!!An(e)&&(!BC(t,e)&&!Zl(e))},jC=function(t,e){if(jn(e)){if(0===e.nodeValue.length)return!0;if(/^\s+$/.test(e.nodeValue)&&(!e.nextSibling||BC(t,e.nextSibling)))return!0}return!1},zC=function(t){var e,n,r,o=t.dom,i=t.selection,a=t.schema,s=a.getBlockElements(),u=i.getStart(),c=t.getBody(),l=nc(t);if(u&&An(u)&&l){var d=c.nodeName.toLowerCase();if(a.isValidChild(d,l.toLowerCase())&&!function(t,e,n){return H(Dp(Le.fromDom(n),Le.fromDom(e)),(function(e){return BC(t,e.dom)}))}(s,c,u)){var f=i.getRng(),m=f.startContainer,p=f.startOffset,h=f.endContainer,g=f.endOffset,v=wm(t);for(u=c.firstChild;u;)if(MC(s,u)){if(jC(s,u)){n=u,u=u.nextSibling,o.remove(n);continue}e||(e=o.create(l,rc(t)),u.parentNode.insertBefore(e,u),r=!0),n=u,u=u.nextSibling,e.appendChild(n)}else e=null,u=u.nextSibling;r&&v&&(f.setStart(m,p),f.setEnd(h,g),i.setRng(f),t.nodeChanged())}}},FC=function(t,e){e.hasAttribute("data-mce-caret")&&(Io(e),function(t){t.selection.setRng(t.selection.getRng())}(t),t.selection.scrollIntoView(e))},UC=function(t,e){var n=function(t){return Jr(Le.fromDom(t.getBody()),"*[data-mce-caret]").map((function(t){return t.dom})).getOrNull()}(t);if(n)return"compositionstart"===e.type?(e.preventDefault(),e.stopPropagation(),void FC(t,n)):void(Oo(n)&&(FC(t,n),t.undoManager.add()))},HC=qn,VC=function(t,e,n){var r=xl(t.getBody()),o=E(dl,1===e?r.next:r.prev);if(n.collapsed&&function(t){return""!==nc(t)}(t)){var i=t.dom.getParent(n.startContainer,"PRE");if(!i)return;if(!o(Ou.fromRangeStart(n))){var a=function(t){var e=t.dom.create(nc(t));return(!ke.ie||ke.ie>=11)&&(e.innerHTML='
    '),e}(t);1===e?t.$(i).after(a):t.$(i).before(a),t.selection.select(a,!0),t.selection.collapse()}}},WC=function(t,e){var n=e?Lu.Forwards:Lu.Backwards,r=t.selection.getRng();return function(t,e,n){return nC(e,t,n,yp,wp,HC)}(n,t,r).orThunk((function(){return VC(t,n,r),B.none()}))},qC=function(t,e){var n=e?1:-1,r=t.selection.getRng();return function(t,e,n){return rC(e,t,n,(function(t){return yp(t)||vp(t)}),(function(t){return wp(t)||bp(t)}),HC)}(n,t,r).orThunk((function(){return VC(t,n,r),B.none()}))},KC=function(t,e){return WC(t,e).exists((function(e){return tC(t,e),!0}))},YC=function(t,e){return qC(t,e).exists((function(e){return tC(t,e),!0}))},XC=function(t,e){return iC(t,e,e?wp:yp)},ZC=function(t){return U(["figcaption"],Be(t))},GC=function(t){var e=document.createRange();return e.setStartBefore(t.dom),e.setEndBefore(t.dom),e},JC=function(t,e,n){n?pn(t,e):mn(t,e)},QC=function(t,e,n,r){return""===e?function(t,e){var n=Le.fromTag("br");return JC(t,n,e),GC(n)}(t,r):function(t,e,n,r){var o=Le.fromTag(n),i=Le.fromTag("br");return tr(o,r),pn(o,i),JC(t,o,e),GC(i)}(t,r,e,n)},tk=function(t,e,n){return e?function(t,e){return N_(t,e).breakAt.isNone()}(t.dom,n):function(t,e){return $_(t,e).breakAt.isNone()}(t.dom,n)},ek=function(t,e){var n=Le.fromDom(t.getBody()),r=Ou.fromRangeStart(t.selection.getRng()),o=nc(t),i=rc(t);return function(t,e){var n=E(Pe,e);return Xr(Le.fromDom(t.container()),lo,n).filter(ZC)}(r,n).exists((function(){if(tk(n,e,r)){var a=QC(n,o,i,e);return t.selection.setRng(a),!0}return!1}))},nk=function(t,e){return!!t.selection.isCollapsed()&&ek(t,e)},rk=function(t,e){return tt(function(t){return V(t,(function(t){return Lt({shiftKey:!1,altKey:!1,ctrlKey:!1,metaKey:!1,keyCode:0,action:C},t)}))}(t),(function(t){return function(t,e){return e.keyCode===t.keyCode&&e.shiftKey===t.shiftKey&&e.altKey===t.altKey&&e.ctrlKey===t.ctrlKey&&e.metaKey===t.metaKey}(t,e)?[t]:[]}))},ok=function(t){for(var e=[],n=1;ne})),fk=function(t,e){return at(e.getClientRects()).bind((function(e){return lk(t,e.left,e.top)})).bind((function(t){return A_(Rl(n=t).map((function(t){return $_(n,t).positions.concat(t)})).getOr([]),e);var n}))},mk=function(t,e){return st(e.getClientRects()).bind((function(e){return dk(t,e.left,e.top)})).bind((function(t){return A_(Il(n=t).map((function(t){return[t].concat(N_(n,t).positions)})).getOr([]),e);var n}))},pk=function(t,e,n){var r=t(e,n);return function(t){return t.breakType===__.Wrap&&0===t.positions.length}(r)||!Hn(n.getNode())&&function(t){return t.breakType===__.Br&&1===t.positions.length}(r)?!function(t,e,n){return n.breakAt.exists((function(n){return t(e,n).breakAt.isSome()}))}(t,e,r):r.breakAt.isNone()},hk=E(pk,$_),gk=E(pk,N_),vk=function(t,e,n,r){var o=t.selection.getRng(),i=e?1:-1;return!(!jc()||!function(t,e,n){var r=Ou.fromRangeStart(e);return $l(!t,n).exists((function(t){return t.isEqual(r)}))}(e,o,n))&&(Ew(i,t,n,!e,!1).each((function(e){tC(t,e)})),!0)},bk=function(t,e){var n=e.getNode(t);return An(n)&&"TABLE"===n.nodeName?B.some(n):B.none()},yk=function(t,e,n){var r=bk(!!e,n),o=!1===e;r.fold((function(){return tC(t,n.toRange())}),(function(r){return $l(o,t.getBody()).filter((function(t){return t.isEqual(n)})).fold((function(){return tC(t,n.toRange())}),(function(o){return function(t,e,n,r){var o=nc(e);o?e.undoManager.transact((function(){var r=Le.fromTag(o);tr(r,rc(e)),pn(r,Le.fromTag("br")),t?fn(Le.fromDom(n),r):dn(Le.fromDom(n),r);var i=e.dom.createRng();i.setStart(r.dom,0),i.setEnd(r.dom,0),tC(e,i)})):tC(e,r.toRange())}(e,t,r,n)}))}))},wk=function(t,e,n,r){var o=t.selection.getRng(),i=Ou.fromRangeStart(o),a=t.getBody();if(!e&&hk(r,i)){var s=function(t,e,n){return fk(e,n).orThunk((function(){return at(n.getClientRects()).bind((function(n){return L_(P_(t,Ou.before(e)),n.left)}))})).getOr(Ou.before(e))}(a,n,i);return yk(t,e,s),!0}if(e&&gk(r,i)){s=function(t,e,n){return mk(e,n).orThunk((function(){return at(n.getClientRects()).bind((function(n){return L_(I_(t,Ou.after(e)),n.left)}))})).getOr(Ou.after(e))}(a,n,i);return yk(t,e,s),!0}return!1},_k=function(t,e,n){return B.from(t.dom.getParent(t.selection.getNode(),"td,th")).bind((function(r){return B.from(t.dom.getParent(r,"table")).map((function(o){return n(t,e,o,r)}))})).getOr(!1)},Ck=function(t,e){return _k(t,e,vk)},kk=function(t,e){return _k(t,e,wk)},xk=function(t,e){t.on("keydown",(function(n){!1===n.isDefaultPrevented()&&function(t,e,n){var r=pe().os;ik([{keyCode:of.RIGHT,action:ok(KC,t,!0)},{keyCode:of.LEFT,action:ok(KC,t,!1)},{keyCode:of.UP,action:ok(YC,t,!1)},{keyCode:of.DOWN,action:ok(YC,t,!0)},{keyCode:of.RIGHT,action:ok(Ck,t,!0)},{keyCode:of.LEFT,action:ok(Ck,t,!1)},{keyCode:of.UP,action:ok(kk,t,!1)},{keyCode:of.DOWN,action:ok(kk,t,!0)},{keyCode:of.RIGHT,action:ok(ak,t,!0)},{keyCode:of.LEFT,action:ok(ak,t,!1)},{keyCode:of.UP,action:ok(sk,t,!1)},{keyCode:of.DOWN,action:ok(sk,t,!0)},{keyCode:of.RIGHT,action:ok(lC,t,e,!0)},{keyCode:of.LEFT,action:ok(lC,t,e,!1)},{keyCode:of.RIGHT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:ok(mC,t,e)},{keyCode:of.LEFT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:ok(pC,t,e)},{keyCode:of.UP,action:ok(nk,t,!1)},{keyCode:of.DOWN,action:ok(nk,t,!0)}],n).each((function(t){n.preventDefault()}))}(t,e,n)}))},Dk=function(t,e){t.on("keydown",(function(n){!1===n.isDefaultPrevented()&&function(t,e,n){ik([{keyCode:of.BACKSPACE,action:ok($C,t,!1)},{keyCode:of.BACKSPACE,action:ok(Vw,t,!1)},{keyCode:of.DELETE,action:ok(Vw,t,!0)},{keyCode:of.BACKSPACE,action:ok(Iw,t,!1)},{keyCode:of.DELETE,action:ok(Iw,t,!0)},{keyCode:of.BACKSPACE,action:ok(yC,t,e,!1)},{keyCode:of.DELETE,action:ok(yC,t,e,!0)},{keyCode:of.BACKSPACE,action:ok(Wh,t,!1)},{keyCode:of.DELETE,action:ok(Wh,t,!0)},{keyCode:of.BACKSPACE,action:ok(Ww,t,!1)},{keyCode:of.DELETE,action:ok(Ww,t,!0)},{keyCode:of.BACKSPACE,action:ok(DC,t,!1)},{keyCode:of.DELETE,action:ok(DC,t,!0)},{keyCode:of.BACKSPACE,action:ok(Dw,t,!1)},{keyCode:of.DELETE,action:ok(Dw,t,!0)},{keyCode:of.BACKSPACE,action:ok(_w,t,!1)},{keyCode:of.DELETE,action:ok(_w,t,!0)},{keyCode:of.BACKSPACE,action:ok(kC,t,!1)},{keyCode:of.DELETE,action:ok(kC,t,!0)}],n).each((function(t){n.preventDefault()}))}(t,e,n)})),t.on("keyup",(function(e){!1===e.isDefaultPrevented()&&function(t,e){ik([{keyCode:of.BACKSPACE,action:ok(Hw,t)},{keyCode:of.DELETE,action:ok(Hw,t)}],e)}(t,e)}))},Sk=function(t,e){var n,r=e,o=t.dom,i=t.schema.getMoveCaretBeforeOnEnterElements();if(e){if(/^(LI|DT|DD)$/.test(e.nodeName)){var a=function(t){for(;t;){if(1===t.nodeType||3===t.nodeType&&t.data&&/[\r\n\s]/.test(t.data))return t;t=t.nextSibling}}(e.firstChild);a&&/^(UL|OL|DL)$/.test(a.nodeName)&&e.insertBefore(o.doc.createTextNode(wo),e.firstChild)}var s=o.createRng();if(e.normalize(),e.hasChildNodes()){for(var u=new so(e,e);n=u.current();){if(jn(n)){s.setStart(n,0),s.setEnd(n,0);break}if(i[n.nodeName.toLowerCase()]){s.setStartBefore(n),s.setEndBefore(n);break}r=n,n=u.next()}n||(s.setStart(r,0),s.setEnd(r,0))}else Hn(e)?e.nextSibling&&o.isBlock(e.nextSibling)?(s.setStartBefore(e),s.setEndBefore(e)):(s.setStartAfter(e),s.setEndAfter(e)):(s.setStart(e,0),s.setEnd(e,0));t.selection.setRng(s),Vf(t,s)}},Tk=function(t){return B.from(t.dom.getParent(t.selection.getStart(!0),t.dom.isBlock))},Ek=function(t,e){return t&&t.parentNode&&t.parentNode.nodeName===e},Ok=function(t){return t&&/^(OL|UL|LI)$/.test(t.nodeName)},Lk=function(t){var e=t.parentNode;return/^(LI|DT|DD)$/.test(e.nodeName)?e:t},Ak=function(t,e,n){for(var r=t[n?"firstChild":"lastChild"];r&&!An(r);)r=r[n?"nextSibling":"previousSibling"];return r===e},$k=function(t,e,n,r,o){var i=t.dom,a=t.selection.getRng();if(n!==t.getBody()){var s;Ok(s=n)&&Ok(s.parentNode)&&(o="LI");var u=o?e(o):i.create("BR");if(Ak(n,r,!0)&&Ak(n,r,!1))if(Ek(n,"LI")){var c=Lk(n);i.insertAfter(u,c),!function(t){var e;return(null===(e=t.parentNode)||void 0===e?void 0:e.firstChild)===t}(n)?i.remove(n):i.remove(c)}else i.replace(u,n);else if(Ak(n,r,!0))Ek(n,"LI")?(i.insertAfter(u,Lk(n)),u.appendChild(i.doc.createTextNode(" ")),u.appendChild(n)):n.parentNode.insertBefore(u,n),i.remove(r);else if(Ak(n,r,!1))i.insertAfter(u,Lk(n)),i.remove(r);else{n=Lk(n);var l=a.cloneRange();l.setStartAfter(r),l.setEndAfter(n);var d=l.extractContents();"LI"===o&&function(t,e){return t.firstChild&&t.firstChild.nodeName===e}(d,"LI")?(u=d.firstChild,i.insertAfter(d,n)):(i.insertAfter(d,n),i.insertAfter(u,n)),i.remove(r)}Sk(t,u)}},Nk=function(t,e){return e&&"A"===e.nodeName&&t.isEmpty(e)},Pk=function(t){t.innerHTML='
    '},Ik=function(t,e){return t.nodeName===e||t.previousSibling&&t.previousSibling.nodeName===e},Rk=function(t,e){return e&&t.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&!/^(fixed|absolute)/i.test(e.style.position)&&"true"!==t.getContentEditable(e)},Bk=function(t,e,n){return!1===jn(e)?n:t?1===n&&e.data.charAt(n-1)===_o?0:n:n===e.data.length-1&&e.data.charAt(n)===_o?e.data.length:n},Mk=function(t,e){var n,r,o=t.getRoot();for(n=e;n!==o&&"false"!==t.getContentEditable(n);)"true"===t.getContentEditable(n)&&(r=n),n=n.parentNode;return n!==o?r:o},jk=function(t,e){var n=nc(t);n&&n.toLowerCase()===e.tagName.toLowerCase()&&function(t,e,n){var r=t.dom;B.from(n.style).map(r.parseStyle).each((function(t){var n=ur(Le.fromDom(e)),o=Lt(Lt({},n),t);r.setStyles(e,o)}));var o=B.from(n.class).map((function(t){return t.split(/\s+/)})),i=B.from(e.className).map((function(t){return Y(t.split(/\s+/),(function(t){return""!==t}))}));Zn(o,i,(function(t,n){var o=Y(n,(function(e){return!U(t,e)})),i=At(At([],t,!0),o,!0);r.setAttrib(e,"class",i.join(" "))}));var a=["style","class"],s=vt(n,(function(t,e){return!U(a,e)}));r.setAttribs(e,s)}(t,e,rc(t))},zk=function(t,e){var n,r,o,i,a,s,u,c,l,d,f=t.dom,m=t.schema,p=m.getNonEmptyElements(),h=t.selection.getRng(),g=function(e){var n,o,a,s=r,u=m.getTextInlineElements();if(a=n=e||"TABLE"===c||"HR"===c?f.create(e||l):i.cloneNode(!1),!1===function(t){return t.getParam("keep_styles",!0)}(t))f.setAttrib(n,"style",null),f.setAttrib(n,"class",null);else do{if(u[s.nodeName]){if(Ml(s)||Zl(s))continue;o=s.cloneNode(!1),f.setAttrib(o,"id",""),n.hasChildNodes()?(o.appendChild(n.firstChild),n.appendChild(o)):(a=o,n.appendChild(o))}}while((s=s.parentNode)&&s!==_);return jk(t,n),Pk(a),n},v=function(t){var e,n,a=Bk(t,r,o);if(jn(r)&&(t?a>0:ar.childNodes.length-1,r=r.childNodes[Math.min(o,r.childNodes.length-1)]||r,o=d&&jn(r)?r.nodeValue.length:0);var _=Mk(f,r);if(_){(l&&!y||!l&&y)&&(r=function(t,e,n,r,o){var i,a,s,u,c,l,d=e||"P",f=t.dom,m=Mk(f,r);if(!(a=f.getParent(r,f.isBlock))||!Rk(f,a)){if(l=(a=a||m)===t.getBody()||function(t){return t&&/^(TD|TH|CAPTION)$/.test(t.nodeName)}(a)?a.nodeName.toLowerCase():a.parentNode.nodeName.toLowerCase(),!a.hasChildNodes())return i=f.create(d),jk(t,i),a.appendChild(i),n.setStart(i,0),n.setEnd(i,0),i;for(u=r;u.parentNode!==a;)u=u.parentNode;for(;u&&!f.isBlock(u);)s=u,u=u.previousSibling;if(s&&t.schema.isValidChild(l,d.toLowerCase())){for(i=f.create(d),jk(t,i),s.parentNode.insertBefore(i,s),u=s;u&&!f.isBlock(u);)c=u.nextSibling,i.appendChild(u),u=c;n.setStart(r,o),n.setEnd(r,o)}}return r}(t,l,h,r,o)),i=f.getParent(r,f.isBlock),u=i?f.getParent(i.parentNode,f.isBlock):null,c=i?i.nodeName.toUpperCase():"";var C=u?u.nodeName.toUpperCase():"";"LI"!==C||w||(i=u,u=u.parentNode,c=C),/^(LI|DT|DD)$/.test(c)&&f.isEmpty(i)?$k(t,g,u,i,l):l&&i===t.getBody()||(l=l||"P",So(i)?(a=Io(i),f.isEmpty(i)&&Pk(i),jk(t,a),Sk(t,a)):v()?b():v(!0)?(a=i.parentNode.insertBefore(g(),i),Sk(t,Ik(i,"HR")?a:i)):(n=function(t){var e=t.cloneRange();return e.setStart(t.startContainer,Bk(!0,t.startContainer,t.startOffset)),e.setEnd(t.endContainer,Bk(!1,t.endContainer,t.endOffset)),e}(h).cloneRange(),n.setEndAfter(i),function(t){W(Bs(Le.fromDom(t),Fe),(function(t){var e=t.dom;e.nodeValue=ko(e.nodeValue)}))}(s=n.extractContents()),function(t){do{jn(t)&&(t.nodeValue=t.nodeValue.replace(/^[\r\n]+/,"")),t=t.firstChild}while(t)}(s),a=s.firstChild,f.insertAfter(s,i),function(t,e,n){var r,o=n,i=[];if(o){for(;o=o.firstChild;){if(t.isBlock(o))return;An(o)&&!e[o.nodeName.toLowerCase()]&&i.push(o)}for(r=i.length;r--;)(!(o=i[r]).hasChildNodes()||o.firstChild===o.lastChild&&""===o.firstChild.nodeValue||Nk(t,o))&&t.remove(o)}}(f,p,a),function(t,e){e.normalize();var n=e.lastChild;n&&!/^(left|right)$/gi.test(t.getStyle(n,"float",!0))||t.add(e,"br")}(f,i),f.isEmpty(i)&&Pk(i),a.normalize(),f.isEmpty(a)?(f.remove(a),b()):(jk(t,a),Sk(t,a))),f.setAttrib(a,"id",""),t.fire("NewBlock",{newBlock:a}))}},Fk=function(t,e,n){var r=t.dom.createRng();n?(r.setStartBefore(e),r.setEndBefore(e)):(r.setStartAfter(e),r.setEndAfter(e)),t.selection.setRng(r),Vf(t,r)},Uk=function(t,e){var n,r,o=t.selection,i=t.dom,a=o.getRng();yf(i,a).each((function(t){a.setStart(t.startContainer,t.startOffset),a.setEnd(t.endContainer,t.endOffset)}));var s=a.startOffset,u=a.startContainer;if(1===u.nodeType&&u.hasChildNodes()){var c=s>u.childNodes.length-1;u=u.childNodes[Math.min(s,u.childNodes.length-1)]||u,s=c&&3===u.nodeType?u.nodeValue.length:0}var l=i.getParent(u,i.isBlock),d=l?i.getParent(l.parentNode,i.isBlock):null,f=d?d.nodeName.toUpperCase():"",m=!(!e||!e.ctrlKey);"LI"!==f||m||(l=d),u&&3===u.nodeType&&s>=u.nodeValue.length&&(function(t,e,n){for(var r,o=new so(e,n),i=t.getNonEmptyElements();r=o.next();)if(i[r.nodeName.toLowerCase()]||r.length>0)return!0}(t.schema,u,l)||(n=i.create("br"),a.insertNode(n),a.setStartAfter(n),a.setEndAfter(n),r=!0)),n=i.create("br"),$u(i,a,n),Fk(t,n,r),t.undoManager.add()},Hk=function(t,e){var n=Le.fromTag("br");dn(Le.fromDom(e),n),t.undoManager.add()},Vk=function(t,e){Wk(t.getBody(),e)||fn(Le.fromDom(e),Le.fromTag("br"));var n=Le.fromTag("br");fn(Le.fromDom(e),n),Fk(t,n.dom,!1),t.undoManager.add()},Wk=function(t,e){return n=Ou.after(e),!!Hn(n.getNode())||Nl(t,Ou.after(e)).map((function(t){return Hn(t.getNode())})).getOr(!1);var n},qk=function(t){return t&&"A"===t.nodeName&&"href"in t},Kk=function(t){return t.fold($,qk,qk,$)},Yk=function(t,e){e.fold(C,E(Hk,t),E(Vk,t),C)},Xk=function(t,e){var n=function(t){var e=E(tw,t),n=Ou.fromRangeStart(t.selection.getRng());return f_(e,t.getBody(),n).filter(Kk)}(t);n.isSome()?n.each(E(Yk,t)):Uk(t,e)},Zk=function(t,e){return Tk(t).filter((function(t){return e.length>0&&$e(Le.fromDom(t),e)})).isSome()},Gk=Dr([{br:[]},{block:[]},{none:[]}]),Jk=function(t,e){return function(t){return Zk(t,function(t){return t.getParam("no_newline_selector","")}(t))}(t)},Qk=function(t){return function(e,n){return""===nc(e)===t}},tx=function(t){return function(e,n){return function(t){return Tk(t).filter((function(t){return go(Le.fromDom(t))})).isSome()}(e)===t}},ex=function(t,e){return function(n,r){var o=function(t){return Tk(t).fold(D(""),(function(t){return t.nodeName.toUpperCase()}))}(n)===t.toUpperCase();return o===e}},nx=function(t){return ex("pre",t)},rx=function(t){return function(e,n){return function(t){return t.getParam("br_in_pre",!0)}(e)===t}},ox=function(t,e){return function(t){return Zk(t,function(t){return t.getParam("br_newline_selector",".mce-toc h2,figcaption,caption")}(t))}(t)},ix=function(t,e){return e},ax=function(t){var e=nc(t),n=function(t,e){var n,r,o=t.getRoot();for(n=e;n!==o&&"false"!==t.getContentEditable(n);)"true"===t.getContentEditable(n)&&(r=n),n=n.parentNode;return n!==o?r:o}(t.dom,t.selection.getStart());return n&&t.schema.isValidChild(n.nodeName,e||"P")},sx=function(t,e){return function(n,r){return Z(t,(function(t,e){return t&&e(n,r)}),!0)?B.some(e):B.none()}},ux=function(t,e){(function(t,e){return n_([sx([Jk],Gk.none()),sx([ex("summary",!0)],Gk.br()),sx([nx(!0),rx(!1),ix],Gk.br()),sx([nx(!0),rx(!1)],Gk.block()),sx([nx(!0),rx(!0),ix],Gk.block()),sx([nx(!0),rx(!0)],Gk.br()),sx([tx(!0),ix],Gk.br()),sx([tx(!0)],Gk.block()),sx([Qk(!0),ix,ax],Gk.block()),sx([Qk(!0)],Gk.br()),sx([ox],Gk.br()),sx([Qk(!1),ix],Gk.br()),sx([ax],Gk.block())],[t,!(!e||!e.shiftKey)]).getOr(Gk.none())})(t,e).fold((function(){Xk(t,e)}),(function(){zk(t,e)}),C)},cx=function(t){t.on("keydown",(function(e){e.keyCode===of.ENTER&&function(t,e){var n;e.isDefaultPrevented()||(e.preventDefault(),(n=t.undoManager).typing&&(n.typing=!1,n.add()),t.undoManager.transact((function(){!1===t.selection.isCollapsed()&&t.execCommand("Delete"),ux(t,e)})))}(t,e)}))},lx=function(t,e){t.on("keydown",(function(n){!1===n.isDefaultPrevented()&&function(t,e,n){ik([{keyCode:of.END,action:ok(XC,t,!0)},{keyCode:of.HOME,action:ok(XC,t,!1)},{keyCode:of.END,action:ok(uk,t,!0)},{keyCode:of.HOME,action:ok(uk,t,!1)},{keyCode:of.END,action:ok(hC,t,!0,e)},{keyCode:of.HOME,action:ok(hC,t,!1,e)}],n).each((function(t){n.preventDefault()}))}(t,e,n)}))},dx=pe().browser,fx=function(t){!function(t){var e=Es((function(){t.composing||th(t)}),0);dx.isIE()&&(t.on("keypress",(function(t){e.throttle()})),t.on("remove",(function(t){e.cancel()})))}(t),t.on("input",(function(e){!1===e.isComposing&&th(t)}))},mx=pe(),px=function(t){return t.stopImmediatePropagation()},hx=function(t){return t.keyCode===of.PAGE_UP||t.keyCode===of.PAGE_DOWN},gx=function(t,e,n){n&&!t.get()?e.on("NodeChange",px,!0):!n&&t.get()&&e.off("NodeChange",px),t.set(n)},vx=function(t,e){if(!mx.os.isOSX()){var n=_s(!1);t.on("keydown",(function(e){hx(e)&&gx(n,t,!0)})),t.on("keyup",(function(r){!1===r.isDefaultPrevented()&&function(t,e,n){ik([{keyCode:of.PAGE_UP,action:ok(hC,t,!1,e)},{keyCode:of.PAGE_DOWN,action:ok(hC,t,!0,e)}],n)}(t,e,r),hx(r)&&n.get()&&(gx(n,t,!1),t.nodeChanged())}))}},bx=function(t,e){var n=e.container(),r=e.offset();return jn(n)?(n.insertData(r,t),B.some(Ou(n,r+t.length))):ll(e).map((function(n){var r=Le.fromText(t);return e.isAtEnd()?fn(n,r):dn(n,r),Ou(r.dom,t.length)}))},yx=E(bx,wo),wx=E(bx," "),_x=function(t,e){return function(n){return function(t,e){return!Wp(e)&&(qp(t,e)||Hp(t,e)||Vp(t,e))}(t,n)?yx(e):wx(e)}},Cx=function(t){var e=Ou.fromRangeStart(t.selection.getRng()),n=Le.fromDom(t.getBody());if(t.selection.isCollapsed()){var r=E(tw,t),o=Ou.fromRangeStart(t.selection.getRng());return f_(r,t.getBody(),o).bind(function(t){return function(e){return e.fold((function(e){return Pl(t.dom,Ou.before(e))}),(function(t){return Il(t)}),(function(t){return Rl(t)}),(function(e){return Nl(t.dom,Ou.after(e))}))}}(n)).bind(_x(n,e)).exists(function(t){return function(e){return t.selection.setRng(e.toRange()),t.nodeChanged(),!0}}(t))}return!1},kx=function(t){t.on("keydown",(function(e){!1===e.isDefaultPrevented()&&function(t,e){ik([{keyCode:of.SPACEBAR,action:ok(Cx,t)}],e).each((function(t){e.preventDefault()}))}(t,e)}))},xx=function(t){var e=fC(t);return function(t){t.on("keyup compositionstart",E(UC,t))}(t),xk(t,e),Dk(t,e),cx(t),kx(t),fx(t),lx(t,e),vx(t,e),e},Dx=function(){function t(t){var e;this.lastPath=[],this.editor=t;var n=this;"onselectionchange"in t.getDoc()||t.on("NodeChange click mouseup keyup focus",(function(n){var r=t.selection.getRng(),o={startContainer:r.startContainer,startOffset:r.startOffset,endContainer:r.endContainer,endOffset:r.endOffset};"nodechange"!==n.type&&lf(o,e)||t.fire("SelectionChange"),e=o})),t.on("contextmenu",(function(){t.fire("SelectionChange")})),t.on("SelectionChange",(function(){var e=t.selection.getStart(!0);!e||!ke.range&&t.selection.isCollapsed()||Ud(t)&&!n.isSameElementPath(e)&&t.dom.isChildOf(e,t.getBody())&&t.nodeChanged({selectionChange:!0})})),t.on("mouseup",(function(e){!e.isDefaultPrevented()&&Ud(t)&&("IMG"===t.selection.getNode().nodeName?oo.setEditorTimeout(t,(function(){t.nodeChanged()})):t.nodeChanged())}))}return t.prototype.nodeChanged=function(t){var e,n,r,o=this.editor.selection;this.editor.initialized&&o&&!this.editor.getParam("disable_nodechange")&&!this.editor.mode.isReadOnly()&&(r=this.editor.getBody(),(e=o.getStart(!0)||r).ownerDocument===this.editor.getDoc()&&this.editor.dom.isChildOf(e,r)||(e=r),n=[],this.editor.dom.getParent(e,(function(t){if(t===r)return!0;n.push(t)})),(t=t||{}).element=e,t.parents=n,this.editor.fire("NodeChange",t))},t.prototype.isSameElementPath=function(t){var e,n=this.editor.$(t).parentsUntil(this.editor.getBody()).add(t);if(n.length===this.lastPath.length){for(e=n.length;e>=0&&n[e]===this.lastPath[e];e--);if(-1===e)return this.lastPath=n,!0}return this.lastPath=n,!1},t}(),Sx=function(t){!function(t){t.on("click",(function(e){t.dom.getParent(e.target,"details")&&e.preventDefault()}))}(t),function(t){t.parser.addNodeFilter("details",(function(t){W(t,(function(t){t.attr("data-mce-open",t.attr("open")),t.attr("open","open")}))})),t.serializer.addNodeFilter("details",(function(t){W(t,(function(t){var e=t.attr("data-mce-open");t.attr("open",f(e)?e:null),t.attr("data-mce-open",null)}))}))}(t)},Tx=function(t){return An(t)&&po(Le.fromDom(t))},Ex=function(t){t.on("click",(function(e){e.detail>=3&&function(t){var e=t.selection.getRng(),n=Ou.fromRangeStart(e),r=Ou.fromRangeEnd(e);if(Ou.isElementPosition(n)){var o=n.container();Tx(o)&&Il(o).each((function(t){return e.setStart(t.container(),t.offset())}))}Ou.isElementPosition(r)&&(o=n.container(),Tx(o)&&Rl(o).each((function(t){return e.setEnd(t.container(),t.offset())})));t.selection.setRng(Kh(e))}(t)}))},Ox=function(t){var e=t.getBoundingClientRect(),n=t.ownerDocument,r=n.documentElement,o=n.defaultView;return{top:e.top+o.pageYOffset-r.clientTop,left:e.left+o.pageXOffset-r.clientLeft}},Lx=function(t,e){return n=function(t){return t.inline?Ox(t.getBody()):{left:0,top:0}}(t),r=function(t){var e=t.getBody();return t.inline?{left:e.scrollLeft,top:e.scrollTop}:{left:0,top:0}}(t),o=function(t,e){if(e.target.ownerDocument!==t.getDoc()){var n=Ox(t.getContentAreaContainer()),r=function(t){var e=t.getBody(),n=t.getDoc().documentElement,r={left:e.scrollLeft,top:e.scrollTop},o={left:e.scrollLeft||n.scrollLeft,top:e.scrollTop||n.scrollTop};return t.inline?r:o}(t);return{left:e.pageX-n.left+r.left,top:e.pageY-n.top+r.top}}return{left:e.pageX,top:e.pageY}}(t,e),{pageX:o.left-n.left+r.left,pageY:o.top-n.top+r.top};var n,r,o},Ax=qn,$x=Wn,Nx=function(t,e,n,r){var o=t.dom,i=e.cloneNode(!0);o.setStyles(i,{width:n,height:r}),o.setAttrib(i,"data-mce-selected",null);var a=o.create("div",{class:"mce-drag-container","data-mce-bogus":"all",unselectable:"on",contenteditable:"false"});return o.setStyles(a,{position:"absolute",opacity:.5,overflow:"hidden",border:0,padding:0,margin:0,width:n,height:r}),o.setStyles(i,{margin:0,boxSizing:"border-box"}),a.appendChild(i),a},Px=function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},Ix=function(t,e){return function(n){if(function(t){return 0===t.button}(n)){var r=J(e.dom.getParents(n.target),function(){for(var t=[],e=0;e10){if(e.fire("dragstart",{target:t.element}).isDefaultPrevented())return;t.dragging=!0,e.focus()}if(t.dragging){var s=function(t,e){return{pageX:e.pageX-t.relX,pageY:e.pageY+5}}(t,Lx(e,r));o=t.ghost,i=e.getBody(),o.parentNode!==i&&i.appendChild(o),function(t,e,n,r,o,i){var a=0,s=0;t.style.left=e.pageX+"px",t.style.top=e.pageY+"px",e.pageX+n>o&&(a=e.pageX+n-o),e.pageY+r>i&&(s=e.pageY+r-i),t.style.width=n-a+"px",t.style.height=r-s+"px"}(t.ghost,s,t.width,t.height,t.maxX,t.maxY),n(r.clientX,r.clientY)}}))}}(e,t),a=Rx(e,t),s=function(t,e){return function(){t.on((function(t){t.dragging&&e.fire("dragend")})),Bx(t)}}(e,t);t.on("mousedown",o),t.on("mousemove",i),t.on("mouseup",a),n.bind(r,"mousemove",i),n.bind(r,"mouseup",s),t.on("remove",(function(){n.unbind(r,"mousemove",i),n.unbind(r,"mouseup",s)})),t.on("keydown",(function(t){t.keyCode===of.ESC&&s()}))},jx=function(t){Mx(t),function(t){t.on("drop",(function(e){var n=void 0!==e.clientX?t.getDoc().elementFromPoint(e.clientX,e.clientY):null;(Ax(n)||"false"===t.dom.getContentEditableParent(n))&&e.preventDefault()}))}(t),function(t){return t.getParam("block_unsupported_drop",!0,"boolean")}(t)&&function(t){var e=function(e){if(!e.isDefaultPrevented()){var n=e.dataTransfer;n&&(U(n.types,"Files")||n.files.length>0)&&(e.preventDefault(),"drop"===e.type&&xy(t,"Dropped file type is not supported"))}},n=function(n){mm(t,n.target)&&e(n)},r=function(){var r=gs.DOM,o=t.dom,i=document,a=t.inline?t.getBody():t.getDoc(),s=["drop","dragover"];W(s,(function(t){r.bind(i,t,n),o.bind(a,t,e)})),t.on("remove",(function(){W(s,(function(t){r.unbind(i,t,n),o.unbind(a,t,e)}))}))};t.on("init",(function(){oo.setEditorTimeout(t,r,0)}))}(t)},zx=Wn,Fx=qn,Ux=function(t,e){return Qd(t.getBody(),e)},Hx=function(t){var e,n=t.selection,r=t.dom,o=r.isBlock,i=t.getBody(),a=Mc(t,i,o,(function(){return wm(t)})),s="sel-"+r.uniqueId(),u="data-mce-selected",c=function(t){return t!==i&&(Fx(t)||Yn(t))&&r.isChildOf(t,i)},l=function(t){return yp(t)||wp(t)||hp(t)||gp(t)},d=function(t){t&&n.setRng(t)},f=n.getRng,m=function(e,r,o,i){return void 0===i&&(i=!0),t.fire("ShowCaret",{target:r,direction:e,before:o}).isDefaultPrevented()?null:(i&&n.scrollIntoView(r,-1===e),a.show(o,r))},p=function(t){return Eo(t)||No(t)||Po(t)},h=function(t){return p(t.startContainer)||p(t.endContainer)},g=function(e){var n=t.schema.getShortEndedElements(),o=r.createRng(),i=e.startContainer,a=e.startOffset,s=e.endContainer,u=e.endOffset;return wt(n,i.nodeName.toLowerCase())?0===a?o.setStartBefore(i):o.setStartAfter(i):o.setStart(i,a),wt(n,s.nodeName.toLowerCase())?0===u?o.setEndBefore(s):o.setEndAfter(s):o.setEnd(s,u),o},v=function(o){var i=o.cloneNode(!0),a=t.fire("ObjectSelected",{target:o,targetClone:i});if(a.isDefaultPrevented())return null;var c=function(e,o,i){var a=t.$,u=Jr(Le.fromDom(t.getBody()),"#"+s).fold((function(){return a([])}),(function(t){return a([t.dom])}));0===u.length&&(u=a('
    ').attr("id",s)).appendTo(t.getBody());var c=r.createRng();o===i&&ke.ie?(u.empty().append('

     

    ').append(o),c.setStartAfter(u[0].firstChild.firstChild),c.setEndAfter(o)):(u.empty().append(wo).append(o).append(wo),c.setStart(u[0].firstChild,1),c.setEnd(u[0].lastChild,0)),u.css({top:r.getPos(e,t.getBody()).y}),u[0].focus();var l=n.getSel();return l.removeAllRanges(),l.addRange(c),c}(o,a.targetClone,i),l=Le.fromDom(o);return W(Ms(Le.fromDom(t.getBody()),"*[data-mce-selected]"),(function(t){Pe(l,t)||rr(t,u)})),r.getAttrib(o,u)||o.setAttribute(u,"1"),e=o,_(),c},y=function(t,e){if(!t)return null;if(t.collapsed){if(!h(t)){var n=e?1:-1,o=cl(n,i,t),a=o.getNode(!e);if(Fc(a))return m(n,a,!!e&&!o.isAtEnd(),!1);var s=o.getNode(e);if(Fc(s))return m(n,s,!e&&!o.isAtEnd(),!1)}return null}var u=t.startContainer,l=t.startOffset,d=t.endOffset;if(3===u.nodeType&&0===l&&Fx(u.parentNode)&&(u=u.parentNode,l=r.nodeIndex(u),u=u.parentNode),1!==u.nodeType)return null;if(d===l+1&&u===t.endContainer){var f=u.childNodes[l];if(c(f))return v(f)}return null},w=function(){e&&e.removeAttribute(u),Jr(Le.fromDom(t.getBody()),"#"+s).each(vn),e=null},_=function(){a.hide()};return ke.ceFalse&&!Gv(t)&&function(){t.on("mouseup",(function(e){var n=f();n.collapsed&&vy(t,e.clientX,e.clientY)&&Lw(t,n,!1).each(d)})),t.on("click",(function(e){var o=Ux(t,e.target);o&&(Fx(o)&&(e.preventDefault(),t.focus()),zx(o)&&r.isChildOf(o,n.getNode())&&w())})),t.on("blur NewBlock",w),t.on("ResizeWindow FullscreenStateChanged",a.reposition);var u=function(e,n){var i,a,s=r.getParent(e,o),u=r.getParent(n,o);return!b(s)&&(!(e===u||!r.isChildOf(s,u)||!1!==Fx(Ux(t,s)))||!r.isChildOf(u,s)&&(i=s,a=u,!(r.getParent(i,o)===r.getParent(a,o)))&&function(t){var e=t.firstChild;if(b(e))return!1;var n=Ou.before(e);if(Hn(n.getNode())&&1===t.childNodes.length)return!l(n);var r=xl(t).next(n);return r&&!l(r)}(s))};t.on("tap",(function(e){var n=e.target,r=Ux(t,n);Fx(r)?(e.preventDefault(),Ow(t,r).each(y)):c(n)&&Ow(t,n).each(y)}),!0),t.on("mousedown",(function(e){var o=e.target;if((o===i||"HTML"===o.nodeName||r.isChildOf(o,i))&&!1!==vy(t,e.clientX,e.clientY)){var a=Ux(t,o);if(a)Fx(a)?(e.preventDefault(),Ow(t,a).each(y)):(w(),zx(a)&&e.shiftKey||tf(e.clientX,e.clientY,n.getRng())||(_(),n.placeCaretAt(e.clientX,e.clientY)));else if(c(o))Ow(t,o).each(y);else if(!1===Fc(o)){w(),_();var s=Q_(i,e.clientX,e.clientY);if(s&&!u(o,s.node)){e.preventDefault();var l=m(1,s.node,s.before,!1);d(l),t.getBody().focus()}}}})),t.on("keypress",(function(t){of.modifierPressed(t)||Fx(n.getNode())&&t.preventDefault()})),t.on("GetSelectionRange",(function(t){var n=t.range;if(e){if(!e.parentNode)return void(e=null);(n=n.cloneRange()).selectNode(e),t.range=n}})),t.on("SetSelectionRange",(function(t){t.range=g(t.range);var e=y(t.range,t.forward);e&&(t.range=e)})),t.on("AfterSetSelectionRange",(function(t){var e,n=t.range,o=n.startContainer.parentNode;h(n)||"mcepastebin"===o.id||_(),e=o,r.hasClass(e,"mce-offscreen-selection")||w()})),t.on("copy",(function(t){var e,n=t.clipboardData;if(!t.isDefaultPrevented()&&t.clipboardData&&!ke.ie){var o=(e=r.get(s))?e.getElementsByTagName("*")[0]:e;o&&(t.preventDefault(),n.clearData(),n.setData("text/html",o.outerHTML),n.setData("text/plain",o.outerText||o.innerText))}})),jx(t),function(t){var e=Es((function(){if(!t.removed&&t.getBody().contains(document.activeElement)){var e=t.selection.getRng();if(e.collapsed){var n=Aw(t,e,!1);t.selection.setRng(n)}}}),0);t.on("focus",(function(){e.throttle()})),t.on("blur",(function(){e.cancel()}))}(t),function(t){t.on("init",(function(){t.on("focusin",(function(e){var n=e.target;if(Yn(n)){var r=Qd(t.getBody(),n),o=qn(r)?r:n;t.selection.getNode()!==o&&Ow(t,o).each((function(e){return t.selection.setRng(e)}))}}))}))}(t)}(),{showCaret:m,showBlockCaretContainer:function(t){t.hasAttribute("data-mce-caret")&&(Io(t),d(f()),n.scrollIntoView(t))},hideFakeCaret:_,destroy:function(){a.destroy(),e=null}}},Vx=function(t){var e,n,r=Ee.each,o=of.BACKSPACE,i=of.DELETE,a=t.dom,s=t.selection,u=t.parser,c=ke.gecko,l=ke.ie,d=ke.webkit,f="data:text/mce-internal,",m=l?"Text":"URL",p=function(e,n){try{t.getDoc().execCommand(e,!1,n)}catch(t){}},h=function(t){return t.isDefaultPrevented()},g=function(){var e=function(t){var e=a.create("body"),n=t.cloneContents();return e.appendChild(n),s.serializer.serialize(e,{format:"html"})};t.on("keydown",(function(n){var r,s,u=n.keyCode;if(!h(n)&&(u===i||u===o)){if(r=t.selection.isCollapsed(),s=t.getBody(),r&&!a.isEmpty(s))return;if(!r&&!function(n){var r=e(n),o=a.createRng();return o.selectNode(t.getBody()),r===e(o)}(t.selection.getRng()))return;n.preventDefault(),t.setContent(""),s.firstChild&&a.isBlock(s.firstChild)?t.selection.setCursorLocation(s.firstChild,0):t.selection.setCursorLocation(s,0),t.nodeChanged()}}))},v=function(){t.shortcuts.add("meta+a",null,"SelectAll")},b=function(){t.inline||a.bind(t.getDoc(),"mousedown mouseup",(function(e){var n;if(e.target===t.getDoc().documentElement)if(n=s.getRng(),t.getBody().focus(),"mousedown"===e.type){if(Eo(n.startContainer))return;s.placeCaretAt(e.clientX,e.clientY)}else s.setRng(n)}))},y=function(){Range.prototype.getClientRects||t.on("mousedown",(function(e){if(!h(e)&&"HTML"===e.target.nodeName){var n=t.getBody();n.blur(),oo.setEditorTimeout(t,(function(){n.focus()}))}}))},w=function(){t.on("click",(function(e){var n=e.target;/^(IMG|HR)$/.test(n.nodeName)&&"false"!==a.getContentEditableParent(n)&&(e.preventDefault(),t.selection.select(n),t.nodeChanged()),"A"===n.nodeName&&a.hasClass(n,"mce-item-anchor")&&(e.preventDefault(),s.select(n))}))},_=function(){t.on("keydown",(function(t){if(!h(t)&&t.keyCode===o&&s.isCollapsed()&&0===s.getRng().startOffset){var e=s.getNode().previousSibling;if(e&&e.nodeName&&"table"===e.nodeName.toLowerCase())return t.preventDefault(),!1}}))},k=function(){(function(t){return t.getParam("readonly")})(t)||t.on("BeforeExecCommand mousedown",(function(){p("StyleWithCSS",!1),p("enableInlineTableEditing",!1),gc(t)||p("enableObjectResizing",!1)}))},x=function(){t.on("SetContent ExecCommand",(function(t){"setcontent"!==t.type&&"mceInsertLink"!==t.command||r(a.select("a"),(function(t){var e=t.parentNode,n=a.getRoot();if(e.lastChild===t){for(;e&&!a.isBlock(e);){if(e.parentNode.lastChild!==e||e===n)return;e=e.parentNode}a.add(e,"br",{"data-mce-bogus":1})}}))}))},D=function(){t.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")},S=function(){t.inline||t.on("keydown",(function(){document.activeElement===document.body&&t.getWin().focus()}))},T=function(){t.inline||(t.contentStyles.push("body {min-height: 150px}"),t.on("click",(function(e){var n;if("HTML"===e.target.nodeName){if(ke.ie>11)return void t.getBody().focus();n=t.selection.getRng(),t.getBody().focus(),t.selection.setRng(n),t.selection.normalize(),t.nodeChanged()}})))},E=function(){ke.mac&&t.on("keydown",(function(e){!of.metaKeyPressed(e)||e.shiftKey||37!==e.keyCode&&39!==e.keyCode||(e.preventDefault(),t.selection.getSel().modify("move",37===e.keyCode?"backward":"forward","lineboundary"))}))},O=function(){t.on("click",(function(t){var e=t.target;do{if("A"===e.tagName)return void t.preventDefault()}while(e=e.parentNode)})),t.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")},L=function(){t.on("init",(function(){t.dom.bind(t.getBody(),"submit",(function(t){t.preventDefault()}))}))},A=function(){t.on("dragstart",(function(e){!function(e){var n,r;e.dataTransfer&&(t.selection.isCollapsed()&&"IMG"===e.target.tagName&&s.select(e.target),(n=t.selection.getContent()).length>0&&(r=f+escape(t.id)+","+escape(n),e.dataTransfer.setData(m,r)))}(e)})),t.on("drop",(function(e){if(!h(e)){var n=function(t){var e;return t.dataTransfer&&(e=t.dataTransfer.getData(m))&&e.indexOf(f)>=0?(e=e.substr(f.length).split(","),{id:unescape(e[0]),html:unescape(e[1])}):null}(e);if(n&&n.id!==t.id){e.preventDefault();var r=cf(e.x,e.y,t.getDoc());s.setRng(r),o=n.html,i=!0,t.queryCommandSupported("mceInsertClipboardContent")?t.execCommand("mceInsertClipboardContent",!1,{content:o,internal:i}):t.execCommand("mceInsertContent",!1,o)}}var o,i}))},$=C;return Gv(t)?(d&&(b(),w(),L(),v(),ke.iOS&&(S(),T(),O())),c&&(y(),k(),D(),E())):(t.on("keydown",(function(e){var n,r;if(!h(e)&&e.keyCode===of.BACKSPACE){var o=(n=s.getRng()).startContainer,i=n.startOffset,u=a.getRoot();if(r=o,n.collapsed&&0===i){for(;r&&r.parentNode&&r.parentNode.firstChild===r&&r.parentNode!==u;)r=r.parentNode;"BLOCKQUOTE"===r.tagName&&(t.formatter.toggle("blockquote",null,r),(n=a.createRng()).setStart(o,0),n.setEnd(o,0),s.setRng(n))}}})),g(),ke.windowsPhone||t.on("keyup focusin mouseup",(function(t){of.modifierPressed(t)||s.normalize()}),!0),d&&(b(),w(),nc(t)&&t.on("init",(function(){p("DefaultParagraphSeparator",nc(t))})),L(),_(),u.addNodeFilter("br",(function(t){for(var e=t.length;e--;)"Apple-interchange-newline"===t[e].attr("class")&&t[e].remove()})),ke.iOS?(S(),T(),O()):v()),ke.ie>=11&&(T(),_()),ke.ie&&(v(),p("AutoUrlDetect",!1),A()),c&&(t.on("keydown",(function(e){if(!h(e)&&e.keyCode===o){if(!t.getBody().getElementsByTagName("hr").length)return;if(s.isCollapsed()&&0===s.getRng().startOffset){var n=s.getNode(),r=n.previousSibling;if("HR"===n.nodeName)return a.remove(n),void e.preventDefault();r&&r.nodeName&&"hr"===r.nodeName.toLowerCase()&&(a.remove(r),e.preventDefault())}}})),y(),e=function(){var e=a.getAttribs(s.getStart().cloneNode(!1));return function(){var n=s.getStart();n!==t.getBody()&&(a.setAttrib(n,"style",null),r(e,(function(t){n.setAttributeNode(t.cloneNode(!0))})))}},n=function(){return!s.isCollapsed()&&a.getParent(s.getStart(),a.isBlock)!==a.getParent(s.getEnd(),a.isBlock)},t.on("keypress",(function(r){var o;if(!h(r)&&(8===r.keyCode||46===r.keyCode)&&n())return o=e(),t.getDoc().execCommand("delete",!1,null),o(),r.preventDefault(),!1})),a.bind(t.getDoc(),"cut",(function(r){var o;!h(r)&&n()&&(o=e(),oo.setEditorTimeout(t,(function(){o()})))})),k(),x(),D(),E(),_())),{refreshContentEditable:$,isHidden:function(){if(!c||t.removed)return!1;var e=t.selection.getSel();return!e||!e.rangeCount||0===e.rangeCount}}},Wx=gs.DOM,qx=function(t){return t.inline?t.getElement().nodeName.toLowerCase():void 0},Kx=function(t){return vt(t,(function(t){return!1===v(t)}))},Yx=function(t){var e=t.settings,n=t.editorUpload.blobCache;return Kx({allow_conditional_comments:e.allow_conditional_comments,allow_html_data_urls:e.allow_html_data_urls,allow_svg_data_urls:e.allow_svg_data_urls,allow_html_in_named_anchor:e.allow_html_in_named_anchor,allow_script_urls:e.allow_script_urls,allow_unsafe_link_target:e.allow_unsafe_link_target,convert_fonts_to_spans:e.convert_fonts_to_spans,fix_list_elements:e.fix_list_elements,font_size_legacy_values:e.font_size_legacy_values,forced_root_block:e.forced_root_block,forced_root_block_attrs:e.forced_root_block_attrs,padd_empty_with_br:e.padd_empty_with_br,preserve_cdata:e.preserve_cdata,remove_trailing_brs:e.remove_trailing_brs,inline_styles:e.inline_styles,root_name:qx(t),validate:!0,blob_cache:n,document:t.getDoc(),images_dataimg_filter:e.images_dataimg_filter})},Xx=function(t){var e=t.dom.getRoot();t.inline||Ud(t)&&t.selection.getStart(!0)!==e||Il(e).each((function(e){var n=e.getNode(),r=Rn(n)?Il(n).getOr(e):e;ke.browser.isIE()?function(t,e){var n=Le.fromDom(t.getBody()),r=(rm(t)?B.from(e):B.none()).map(om).filter(nm(n));t.bookmark=r.isSome()?r:t.bookmark}(t,r.toRange()):t.selection.setRng(r.toRange())}))},Zx=function(t){t.bindPendingEventDelegates(),t.initialized=!0,function(t){t.fire("Init")}(t),t.focus(!0),Xx(t),t.nodeChanged({initial:!0}),t.execCallback("init_instance_callback",t),function(t){t.settings.auto_focus&&oo.setEditorTimeout(t,(function(){var e;(e=!0===t.settings.auto_focus?t:t.editorManager.get(t.settings.auto_focus)).destroyed||e.focus()}),100)}(t)},Gx=function(t){return t.inline?t.ui.styleSheetLoader:t.dom.styleSheetLoader},Jx=function(t){var e=Gx(t),n=hc(t),r=t.contentCSS,o=function(){e.unloadAll(r),t.inline||t.ui.styleSheetLoader.unloadAll(n)},i=function(){t.removed?o():t.on("remove",o)};if(t.contentStyles.length>0){var a="";Ee.each(t.contentStyles,(function(t){a+=t+"\r\n"})),t.dom.addStyle(a)}var s=to.all(function(t,e,n){var r=[new to((function(n,r){return Gx(t).loadAll(e,n,r)}))];return t.inline?r:r.concat([new to((function(e,r){return t.ui.styleSheetLoader.loadAll(n,e,r)}))])}(t,r,n)).then(i).catch(i);return t.settings.content_style&&function(t,e){var n=Le.fromDom(t.getBody()),r=un(sn(n)),o=Le.fromTag("style");Qn(o,"type","text/css"),pn(o,Le.fromText(e)),pn(r,o),t.on("remove",(function(){vn(o)}))}(t,t.settings.content_style),s},Qx=function(t){var e=t.settings,n=t.getDoc(),r=t.getBody();!function(t){t.fire("PreInit")}(t),e.browser_spellcheck||e.gecko_spellcheck||(n.body.spellcheck=!1,Wx.setAttrib(r,"spellcheck","false")),t.quirks=Vx(t),function(t){t.fire("PostRender")}(t);var o=function(t){return t.getParam("directionality",Ds.isRtl()?"rtl":void 0)}(t);void 0!==o&&(r.dir=o),e.protect&&t.on("BeforeSetContent",(function(t){Ee.each(e.protect,(function(e){t.content=t.content.replace(e,(function(t){return"\x3c!--mce:protected "+escape(t)+"--\x3e"}))}))})),t.on("SetContent",(function(){t.addVisual(t.getBody())})),t.on("compositionstart compositionend",(function(e){t.composing="compositionstart"===e.type}))},tD=function(t){!0!==t.removed&&(!function(t){Gv(t)||t.load({initial:!0,format:"html"}),t.startContent=t.getContent({format:"raw"})}(t),Zx(t))},eD=function(t,e){var n=t.settings,r=t.getElement(),o=t.getDoc();n.inline||(t.getElement().style.visibility=t.orgVisibility),e||t.inline||(o.open(),o.write(t.iframeHTML),o.close()),t.inline&&(Wx.addClass(r,"mce-content-body"),t.contentDocument=o=document,t.contentWindow=window,t.bodyElement=r,t.contentAreaContainer=r);var i=t.getBody();i.disabled=!0,t.readonly=!!n.readonly,t.readonly||(t.inline&&"static"===Wx.getStyle(i,"position",!0)&&(i.style.position="relative"),i.contentEditable=t.getParam("content_editable_state",!0)),i.disabled=!1,t.editorUpload=My(t),t.schema=Oi(n),t.dom=gs(o,{keep_values:!0,url_converter:t.convertURL,url_converter_scope:t,hex_colors:n.force_hex_style_colors,update_styles:!0,root_element:t.inline?t.getBody():null,collect:function(){return t.inline},schema:t.schema,contentCssCors:dc(t),referrerPolicy:fc(t),onSetAttrib:function(e){t.fire("SetAttrib",e)}}),t.parser=function(t){var e=Eb(Yx(t),t.schema);return e.addAttributeFilter("src,href,style,tabindex",(function(e,n){for(var r,o,i=e.length,a=t.dom,s="data-mce-"+n;i--;)if((o=(r=e[i]).attr(n))&&!r.attr(s)){if(0===o.indexOf("data:")||0===o.indexOf("blob:"))continue;"style"===n?((o=a.serializeStyle(a.parseStyle(o),r.name)).length||(o=null),r.attr(s,o),r.attr(n,o)):"tabindex"===n?(r.attr(s,o),r.attr(n,null)):r.attr(s,t.convertURL(o,n,r.name))}})),e.addNodeFilter("script",(function(t){for(var e=t.length;e--;){var n=t[e],r=n.attr("type")||"no/type";0!==r.indexOf("mce-")&&n.attr("type","mce-"+r)}})),t.settings.preserve_cdata&&e.addNodeFilter("#cdata",(function(e){for(var n=e.length;n--;){var r=e[n];r.type=8,r.name="#comment",r.value="[CDATA["+t.dom.encode(r.value)+"]]"}})),e.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",(function(e){for(var n=e.length,r=t.schema.getNonEmptyElements();n--;){var o=e[n];o.isEmpty(r)&&0===o.getAll("br").length&&(o.append(new Nm("br",1)).shortEnded=!0)}})),e}(t),t.serializer=Nb(function(t){var e=t.settings;return Lt(Lt({},Yx(t)),Kx({url_converter:e.url_converter,url_converter_scope:e.url_converter_scope,element_format:e.element_format,entities:e.entities,entity_encoding:e.entity_encoding,indent:e.indent,indent_after:e.indent_after,indent_before:e.indent_before,block_elements:e.block_elements,boolean_attributes:e.boolean_attributes,custom_elements:e.custom_elements,extended_valid_elements:e.extended_valid_elements,invalid_elements:e.invalid_elements,invalid_styles:e.invalid_styles,move_caret_before_on_enter_elements:e.move_caret_before_on_enter_elements,non_empty_elements:e.non_empty_elements,schema:e.schema,self_closing_elements:e.self_closing_elements,short_ended_elements:e.short_ended_elements,special:e.special,text_block_elements:e.text_block_elements,text_inline_elements:e.text_inline_elements,valid_children:e.valid_children,valid_classes:e.valid_classes,valid_elements:e.valid_elements,valid_styles:e.valid_styles,verify_html:e.verify_html,whitespace_elements:e.whitespace_elements}))}(t),t),t.selection=lb(t.dom,t.getWin(),t.serializer,t),t.annotator=Gd(t),t.formatter=Wy(t),t.undoManager=Ky(t),t._nodeChangeDispatcher=new Dx(t),t._selectionOverrides=Hx(t),RC(t),Sx(t),Gv(t)||Ex(t);var a=function(t){return Gv(t)?_s(null):xx(t)}(t);PC(t,a),function(t){nc(t)&&t.on("NodeChange",E(zC,t))}(t),Jy(t);var s=Jv(t);Qx(t),s.fold((function(){Jx(t).then((function(){return tD(t)}))}),(function(e){t.setProgressState(!0),Jx(t).then((function(){e().then((function(e){t.setProgressState(!1),tD(t)}),(function(e){t.notificationManager.open({type:"error",text:String(e)}),tD(t)}))}))}))},nD=gs.DOM,rD=function(t){var e=function(t){return t.getParam("doctype","")}(t)+"";(function(t){return t.getParam("document_base_url","")})(t)!==t.documentBaseUrl&&(e+=''),e+='';var n=function(t){return tc(t,"body_id","tinymce")}(t),r=function(t){return tc(t,"body_class","")}(t),o=t.translate(function(t){return t.getParam("iframe_aria_text","Rich Text Area. Press ALT-0 for help.","string")}(t));return ec(t)&&(e+=''),e+='
    '},oD=function(t,e){var n,r,o,i,a=t.translate("Rich Text Area"),s=(n=t.id,r=a,e.height,o=function(t){return t.getParam("iframe_attrs",{})}(t),i=Le.fromTag("iframe"),tr(i,o),tr(i,{id:n+"_ifr",frameBorder:"0",allowTransparency:"true",title:r}),Ps(i,"tox-edit-area__iframe"),i).dom;s.onload=function(){s.onload=null,t.fire("load")};var u=function(t,e){if(document.domain!==window.location.hostname&&ke.browser.isIE()){var n=Py("mce");t[n]=function(){eD(t)};var r='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinymce.get("'+t.id+'");document.write(ed.iframeHTML);document.close();ed.'+n+"(true);})()";return nD.setAttrib(e,"src",r),!0}return!1}(t,s);return t.contentAreaContainer=e.iframeContainer,t.iframeElement=s,t.iframeHTML=rD(t),nD.add(e.iframeContainer,s),u},iD=gs.DOM,aD=function(t,e,n){var r=wy.get(n),o=wy.urls[n]||t.documentBaseUrl.replace(/\/$/,"");if(n=Ee.trim(n),r&&-1===Ee.inArray(e,n)){if(Ee.each(wy.dependencies(n),(function(n){aD(t,e,n)})),t.plugins[n])return;try{var i=new r(t,o,t.$);t.plugins[n]=i,i.init&&(i.init(t,o),e.push(n))}catch(e){!function(t,e,n){var r=Ds.translate(["Failed to initialize plugin: {0}",e]);ef(t,"PluginLoadError",{message:r}),Ey(r,n),xy(t,r)}(t,n,e)}}},sD=function(t){return t.replace(/^\-/,"")},uD=function(t){return{editorContainer:t,iframeContainer:t,api:{}}},cD=function(t){var e=t.getElement();return t.inline?uD(null):function(t){var e=iD.create("div");return iD.insertAfter(e,t),uD(e)}(e)},lD=function(t){var e=t.getElement();return t.orgDisplay=e.style.display,f(bc(t))?function(t){return t.theme.renderUI()}(t):w(bc(t))?function(t){var e=t.getElement(),n=bc(t)(t,e);return n.editorContainer.nodeType&&(n.editorContainer.id=n.editorContainer.id||t.id+"_parent"),n.iframeContainer&&n.iframeContainer.nodeType&&(n.iframeContainer.id=n.iframeContainer.id||t.id+"_iframecontainer"),n.height=n.iframeHeight?n.iframeHeight:e.offsetHeight,n}(t):cD(t)},dD=function(t){t.fire("ScriptsLoaded"),function(t){var e=Ee.trim(ac(t)),n=t.ui.registry.getAll().icons,r=Lt(Lt({},ly.get("default").icons),ly.get(e).icons);ft(r,(function(e,r){wt(n,r)||t.ui.registry.addIcon(r,e)}))}(t),function(t){var e=bc(t);if(f(e)){t.settings.theme=sD(e);var n=_y.get(e);t.theme=new n(t,_y.urls[e]),t.theme.init&&t.theme.init(t,_y.urls[e]||t.documentBaseUrl.replace(/\/$/,""),t.$)}else t.theme={}}(t),function(t){var e=[];Ee.each(Cc(t).split(/[ ,]/),(function(n){aD(t,e,sD(n))}))}(t);var e=lD(t);!function(t,e){var n={show:B.from(e.show).getOr(C),hide:B.from(e.hide).getOr(C),disable:B.from(e.disable).getOr(C),isDisabled:B.from(e.isDisabled).getOr($),enable:function(){t.mode.isReadOnly()||B.from(e.enable).map(A)}};t.ui=Lt(Lt({},t.ui),n)}(t,B.from(e.api).getOr({}));var n={editorContainer:e.editorContainer,iframeContainer:e.iframeContainer};return t.editorContainer=n.editorContainer?n.editorContainer:null,Ay(t),t.inline?eD(t):function(t,e){var n=oD(t,e);e.editorContainer&&(nD.get(e.editorContainer).style.display=t.orgDisplay,t.hidden=nD.isHidden(e.editorContainer)),t.getElement().style.display="none",nD.setAttrib(t.id,"aria-hidden","true"),n||eD(t)}(t,n)},fD=gs.DOM,mD=function(t){return"-"===t.charAt(0)},pD=function(t,e){var n=mc(e),r=function(t){return t.getParam("language_url","","string")}(e);if(!1===Ds.hasCode(n)&&"en"!==n){var o=""!==r?r:e.editorManager.baseURL+"/langs/"+n+".js";t.add(o,C,void 0,(function(){!function(t,e,n){Dy(t,"LanguageLoadError",Sy("language",e,n))}(e,o,n)}))}},hD=function(t,e,n){return B.from(e).filter((function(t){return t.length>0&&!ly.has(t)})).map((function(e){return{url:t.editorManager.baseURL+"/icons/"+e+"/icons"+n+".js",name:B.some(e)}}))},gD=function(t,e,n){var r=hD(e,"default",n),o=function(t){return B.from(function(t){return t.getParam("icons_url","","string")}(t)).filter((function(t){return t.length>0})).map((function(t){return{url:t,name:B.none()}}))}(e).orThunk((function(){return hD(e,ac(e),"")}));W(function(t){for(var e=[],n=function(t){e.push(t)},r=0;r=1&&n<=7){var r=function(t){return Ee.explode(t.getParam("font_size_style_values","xx-small,x-small,small,medium,large,x-large,xx-large"))}(t),o=function(t){return Ee.explode(t.getParam("font_size_classes",""))}(t);return o?o[n-1]||e:r[n-1]||e}return e}return e},OD=function(t){var e=t.split(/\s*,\s*/);return V(e,(function(t){return-1===t.indexOf(" ")||Mt(t,'"')||Mt(t,"'")?t:"'"+t+"'"})).join(",")},LD=function(t,e){var n=function(t){if("string"!=typeof t){var e=Ee.extend({paste:t.paste,data:{paste:t.paste}},t);return{content:t.content,details:e}}return{content:t,details:{}}}(e);!function(t,e,n){Qv(t).editor.insertContent(e,n)}(t,n.content,n.details)},AD=Ee.each,$D=Ee.map,ND=Ee.inArray,PD=function(){function t(t){this.commands={state:{},exec:{},value:{}},this.editor=t,this.setupCommands(t)}return t.prototype.execCommand=function(t,e,n,r){var o,i=!1,a=this;if(!a.editor.removed){var s;if("mcefocus"!==t.toLowerCase()&&(/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(t)||r&&r.skip_focus?(s=a.editor,um(s).each((function(t){return s.selection.setRng(t)}))):a.editor.focus()),(r=a.editor.fire("BeforeExecCommand",{command:t,ui:e,value:n})).isDefaultPrevented())return!1;var u=t.toLowerCase();if(o=a.commands.exec[u])return o(u,e,n),a.editor.fire("ExecCommand",{command:t,ui:e,value:n}),!0;if(AD(this.editor.plugins,(function(r){if(r.execCommand&&r.execCommand(t,e,n))return a.editor.fire("ExecCommand",{command:t,ui:e,value:n}),i=!0,!1})),i)return i;if(a.editor.theme&&a.editor.theme.execCommand&&a.editor.theme.execCommand(t,e,n))return a.editor.fire("ExecCommand",{command:t,ui:e,value:n}),!0;try{i=a.editor.getDoc().execCommand(t,e,n)}catch(t){}return!!i&&(a.editor.fire("ExecCommand",{command:t,ui:e,value:n}),!0)}},t.prototype.queryCommandState=function(t){var e;if(!this.editor.quirks.isHidden()&&!this.editor.removed){if(t=t.toLowerCase(),e=this.commands.state[t])return e(t);try{return this.editor.getDoc().queryCommandState(t)}catch(t){}return!1}},t.prototype.queryCommandValue=function(t){var e;if(!this.editor.quirks.isHidden()&&!this.editor.removed){if(t=t.toLowerCase(),e=this.commands.value[t])return e(t);try{return this.editor.getDoc().queryCommandValue(t)}catch(t){}}},t.prototype.addCommands=function(t,e){void 0===e&&(e="exec");var n=this;AD(t,(function(t,r){AD(r.toLowerCase().split(","),(function(r){n.commands[e][r]=t}))}))},t.prototype.addCommand=function(t,e,n){var r=this;t=t.toLowerCase(),this.commands.exec[t]=function(t,o,i,a){return e.call(n||r.editor,o,i,a)}},t.prototype.queryCommandSupported=function(t){if(t=t.toLowerCase(),this.commands.exec[t])return!0;try{return this.editor.getDoc().queryCommandSupported(t)}catch(t){}return!1},t.prototype.addQueryStateHandler=function(t,e,n){var r=this;t=t.toLowerCase(),this.commands.state[t]=function(){return e.call(n||r.editor)}},t.prototype.addQueryValueHandler=function(t,e,n){var r=this;t=t.toLowerCase(),this.commands.value[t]=function(){return e.call(n||r.editor)}},t.prototype.hasCustomCommand=function(t){return t=t.toLowerCase(),!!this.commands.exec[t]},t.prototype.execNativeCommand=function(t,e,n){return void 0===e&&(e=!1),void 0===n&&(n=null),this.editor.getDoc().execCommand(t,e,n)},t.prototype.isFormatMatch=function(t){return this.editor.formatter.match(t)},t.prototype.toggleFormat=function(t,e){this.editor.formatter.toggle(t,e),this.editor.nodeChanged()},t.prototype.storeSelection=function(t){this.selectionBookmark=this.editor.selection.getBookmark(t)},t.prototype.restoreSelection=function(){this.editor.selection.moveToBookmark(this.selectionBookmark)},t.prototype.setupCommands=function(t){var e=this;this.addCommands({"mceResetDesignMode,mceBeginUndoLevel":C,"mceEndUndoLevel,mceAddUndoLevel":function(){t.undoManager.add()},mceFocus:function(e,n,r){km(t,r)},"Cut,Copy,Paste":function(n){var r,o=t.getDoc();try{e.execNativeCommand(n)}catch(t){r=!0}if("paste"!==n||o.queryCommandEnabled(n)||(r=!0),r||!o.queryCommandSupported(n)){var i=t.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");ke.mac&&(i=i.replace(/Ctrl\+/g,"⌘+")),t.notificationManager.open({text:i,type:"error"})}},unlink:function(){if(t.selection.isCollapsed()){var e=t.dom.getParent(t.selection.getStart(),"a");e&&t.dom.remove(e,!0)}else t.formatter.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone":function(n){var r=n.substring(7);"full"===r&&(r="justify"),AD("left,center,right,justify".split(","),(function(e){r!==e&&t.formatter.remove("align"+e)})),"none"!==r&&e.toggleFormat("align"+r)},"InsertUnorderedList,InsertOrderedList":function(n){var r;e.execNativeCommand(n);var o=t.dom.getParent(t.selection.getNode(),"ol,ul");o&&(r=o.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(r.nodeName)&&(e.storeSelection(),t.dom.split(r,o),e.restoreSelection()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(t){e.toggleFormat(t)},"ForeColor,HiliteColor":function(t,n,r){e.toggleFormat(t,{value:r})},FontName:function(e,n,r){!function(t,e){var n=ED(t,e);t.formatter.toggle("fontname",{value:OD(n)}),t.nodeChanged()}(t,r)},FontSize:function(e,n,r){!function(t,e){t.formatter.toggle("fontsize",{value:ED(t,e)}),t.nodeChanged()}(t,r)},LineHeight:function(e,n,r){!function(t,e){t.formatter.toggle("lineheight",{value:String(e)}),t.nodeChanged()}(t,r)},Lang:function(t,n,r){e.toggleFormat(t,{value:r.code,customValue:r.customCode})},RemoveFormat:function(e){t.formatter.remove(e)},mceBlockQuote:function(){e.toggleFormat("blockquote")},FormatBlock:function(t,n,r){return e.toggleFormat(r||"p")},mceCleanup:function(){var e=t.selection.getBookmark();t.setContent(t.getContent()),t.selection.moveToBookmark(e)},mceRemoveNode:function(n,r,o){var i=o||t.selection.getNode();i!==t.getBody()&&(e.storeSelection(),t.dom.remove(i,!0),e.restoreSelection())},mceSelectNodeDepth:function(e,n,r){var o=0;t.dom.getParent(t.selection.getNode(),(function(e){if(1===e.nodeType&&o++===r)return t.selection.select(e),!1}),t.getBody())},mceSelectNode:function(e,n,r){t.selection.select(r)},mceInsertContent:function(e,n,r){LD(t,r)},mceInsertRawHTML:function(e,n,r){t.selection.setContent("tiny_mce_marker");var o=t.getContent();t.setContent(o.replace(/tiny_mce_marker/g,(function(){return r})))},mceInsertNewLine:function(e,n,r){ux(t,r)},mceToggleFormat:function(t,n,r){e.toggleFormat(r)},mceSetContent:function(e,n,r){t.setContent(r)},"Indent,Outdent":function(e){AC(t,e)},mceRepaint:C,InsertHorizontalRule:function(){t.execCommand("mceInsertContent",!1,"
    ")},mceToggleVisualAid:function(){t.hasVisual=!t.hasVisual,t.addVisual()},mceReplaceContent:function(e,n,r){t.execCommand("mceInsertContent",!1,r.replace(/\{\$selection\}/g,t.selection.getContent({format:"text"})))},mceInsertLink:function(e,n,r){"string"==typeof r&&(r={href:r});var o=t.dom.getParent(t.selection.getNode(),"a");r.href=r.href.replace(/ /g,"%20"),o&&r.href||t.formatter.remove("link"),r.href&&t.formatter.apply("link",r,o)},selectAll:function(){var e=t.dom.getParent(t.selection.getStart(),Wn);if(e){var n=t.dom.createRng();n.selectNodeContents(e),t.selection.setRng(n)}},mceNewDocument:function(){t.setContent("")},InsertLineBreak:function(e,n,r){return Xk(t,r),!0}});var n=function(e){return function(){var n=t.selection,r=n.isCollapsed()?[t.dom.getParent(n.getNode(),t.dom.isBlock)]:n.getSelectedBlocks(),o=$D(r,(function(n){return!!t.formatter.matchNode(n,e)}));return-1!==ND(o,!0)}};e.addCommands({JustifyLeft:n("alignleft"),JustifyCenter:n("aligncenter"),JustifyRight:n("alignright"),JustifyFull:n("alignjustify"),"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(t){return e.isFormatMatch(t)},mceBlockQuote:function(){return e.isFormatMatch("blockquote")},Outdent:function(){return EC(t)},"InsertUnorderedList,InsertOrderedList":function(e){var n=t.dom.getParent(t.selection.getNode(),"ul,ol");return n&&("insertunorderedlist"===e&&"UL"===n.tagName||"insertorderedlist"===e&&"OL"===n.tagName)}},"state"),e.addCommands({Undo:function(){t.undoManager.undo()},Redo:function(){t.undoManager.redo()}}),e.addQueryValueHandler("FontName",(function(){return function(t){return TD(t,(function(e){return xD(t.getBody(),e.dom)})).getOr("")}(t)}),this),e.addQueryValueHandler("FontSize",(function(){return function(t){return TD(t,(function(e){return kD(t.getBody(),e.dom)})).getOr("")}(t)}),this),e.addQueryValueHandler("LineHeight",(function(){return function(t){return TD(t,(function(e){var n=Le.fromDom(t.getBody()),r=fg(e,(function(t){return sr(t,"line-height")}),E(Pe,n));return r.getOrThunk((function(){var t=parseFloat(ir(e,"line-height")),n=parseFloat(ir(e,"font-size"));return String(t/n)}))})).getOr("")}(t)}),this)},t}(),ID="data-mce-contenteditable",RD=function(t,e,n){var r,o;Rs(t,e)&&!1===n?(o=e,As(r=t)?r.dom.classList.remove(o):Ns(r,o),Is(r)):n&&Ps(t,e)},BD=function(t,e,n){try{t.getDoc().execCommand(e,!1,String(n))}catch(t){}},MD=function(t,e){t.dom.contentEditable=e?"true":"false"},jD=function(t,e){var n=Le.fromDom(t.getBody());RD(n,"mce-content-readonly",e),e?(t.selection.controlSelection.hideResizeRect(),t._selectionOverrides.hideFakeCaret(),function(t){B.from(t.selection.getNode()).each((function(t){t.removeAttribute("data-mce-selected")}))}(t),t.readonly=!0,MD(n,!1),W(Ms(n,'*[contenteditable="true"]'),(function(t){Qn(t,ID,"true"),MD(t,!1)}))):(t.readonly=!1,MD(n,!0),function(t){W(Ms(t,'*[data-mce-contenteditable="true"]'),(function(t){rr(t,ID),MD(t,!0)}))}(n),BD(t,"StyleWithCSS",!1),BD(t,"enableInlineTableEditing",!1),BD(t,"enableObjectResizing",!1),_m(t)&&t.focus(),function(t){t.selection.setRng(t.selection.getRng())}(t),t.nodeChanged())},zD=function(t){return t.readonly},FD=function(t){t.parser.addAttributeFilter("contenteditable",(function(e){zD(t)&&W(e,(function(t){t.attr(ID,t.attr("contenteditable")),t.attr("contenteditable","false")}))})),t.serializer.addAttributeFilter(ID,(function(e){zD(t)&&W(e,(function(t){t.attr("contenteditable",t.attr(ID))}))})),t.serializer.addTempAttr(ID)},UD=function(t,e){if(function(t){return"click"===t.type}(e)&&!of.metaKeyPressed(e)){var n=Le.fromDom(e.target);(function(t,e){return Qr(e,"a",(function(e){return Pe(e,Le.fromDom(t.getBody()))})).bind((function(t){return nr(t,"href")}))})(t,n).each((function(n){if(e.preventDefault(),/^#/.test(n)){var r=t.dom.select(n+',[name="'+((Mt(o=n,i="#")?function(t,e){return t.substring(e)}(o,i.length):o)+'"]'));r.length&&t.selection.scrollIntoView(r[0],!0)}else window.open(n,"_blank","rel=noopener noreferrer,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,scrollbars=yes");var o,i}))}},HD=Ee.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," "),VD=function(){function t(t){this.bindings={},this.settings=t||{},this.scope=this.settings.scope||this,this.toggleEvent=this.settings.toggleEvent||$}return t.isNative=function(t){return!!HD[t.toLowerCase()]},t.prototype.fire=function(t,e){var n=t.toLowerCase(),r=Pi(n,e||{},this.scope);this.settings.beforeFire&&this.settings.beforeFire(r);var o=this.bindings[n];if(o)for(var i=0,a=o.length;i"),iS);return o[o.length-1]=Ee.extend(o[o.length-1],{func:n,scope:r||this.editor}),Ee.extend(o[0],{desc:this.editor.translate(e),subpatterns:o.slice(1)})},t.prototype.hasModifier=function(t){return t.altKey||t.ctrlKey||t.metaKey},t.prototype.isFunctionKey=function(t){return"keydown"===t.type&&t.keyCode>=112&&t.keyCode<=123},t.prototype.matchShortcut=function(t,e){return!!e&&(e.ctrl===t.ctrlKey&&e.meta===t.metaKey&&(e.alt===t.altKey&&e.shift===t.shiftKey&&(!!(t.keyCode===e.keyCode||t.charCode&&t.charCode===e.charCode)&&(t.preventDefault(),!0))))},t.prototype.executeShortcutAction=function(t){return t.func?t.func.call(t.scope):null},t}(),sS=function(){var t=function(){var t={},e={},n={},r={},o={},i={},a={},s=function(t,e){return function(n,r){return t[n.toLowerCase()]=Lt(Lt({},r),{type:e})}};return{addButton:s(t,"button"),addGroupToolbarButton:s(t,"grouptoolbarbutton"),addToggleButton:s(t,"togglebutton"),addMenuButton:s(t,"menubutton"),addSplitButton:s(t,"splitbutton"),addMenuItem:s(e,"menuitem"),addNestedMenuItem:s(e,"nestedmenuitem"),addToggleMenuItem:s(e,"togglemenuitem"),addAutocompleter:s(n,"autocompleter"),addContextMenu:s(o,"contextmenu"),addContextToolbar:s(i,"contexttoolbar"),addContextForm:s(i,"contextform"),addSidebar:s(a,"sidebar"),addIcon:function(t,e){return r[t.toLowerCase()]=e},getAll:function(){return{buttons:t,menuItems:e,icons:r,popups:n,contextMenus:o,contextToolbars:i,sidebars:a}}}}();return{addAutocompleter:t.addAutocompleter,addButton:t.addButton,addContextForm:t.addContextForm,addContextMenu:t.addContextMenu,addContextToolbar:t.addContextToolbar,addIcon:t.addIcon,addMenuButton:t.addMenuButton,addMenuItem:t.addMenuItem,addNestedMenuItem:t.addNestedMenuItem,addSidebar:t.addSidebar,addSplitButton:t.addSplitButton,addToggleButton:t.addToggleButton,addGroupToolbarButton:t.addGroupToolbarButton,addToggleMenuItem:t.addToggleMenuItem,getAll:t.getAll}},uS=gs.DOM,cS=Ee.extend,lS=Ee.each,dS=Ee.resolve,fS=ke.ie,mS=function(){function t(t,e,n){var r=this;this.plugins={},this.contentCSS=[],this.contentStyles=[],this.loadedCSS={},this.isNotDirty=!1,this.editorManager=n,this.documentBaseUrl=n.documentBaseURL,cS(this,GD),this.settings=sy(this,t,this.documentBaseUrl,n.defaultSettings,e),this.settings.suffix&&(n.suffix=this.settings.suffix),this.suffix=n.suffix,this.settings.base_url&&n._setBaseUrl(this.settings.base_url),this.baseUri=n.baseURI,this.settings.referrer_policy&&(ws.ScriptLoader._setReferrerPolicy(this.settings.referrer_policy),gs.DOM.styleSheetLoader._setReferrerPolicy(this.settings.referrer_policy)),Ss.languageLoad=this.settings.language_load,Ss.baseURL=n.baseURL,this.id=t,this.setDirty(!1),this.documentBaseURI=new Fm(this.settings.document_base_url,{base_uri:this.baseUri}),this.baseURI=this.baseUri,this.inline=!!this.settings.inline,this.shortcuts=new aS(this),this.editorCommands=new PD(this),this.settings.cache_suffix&&(ke.cacheSuffix=this.settings.cache_suffix.replace(/^[\?\&]+/,"")),this.ui={registry:sS(),styleSheetLoader:void 0,show:C,hide:C,enable:C,disable:C,isDisabled:$};var o=tS(this);this.mode=o,this.setMode=o.set,n.fire("SetupEditor",{editor:this}),this.execCallback("setup",this),this.$=cs.overrideDefaults((function(){return{context:r.inline?r.getBody():r.getDoc(),element:r.getBody()}}))}return t.prototype.render=function(){bD(this)},t.prototype.focus=function(t){this.execCommand("mceFocus",!1,t)},t.prototype.hasFocus=function(){return wm(this)},t.prototype.execCallback=function(t){for(var e=[],n=1;n0?_S[0]:null),SS.focusedEditor===t&&(SS.focusedEditor=null),e.length!==_S.length},DS="CSS1Compat"!==document.compatMode,SS=Lt(Lt({},qD),{baseURI:null,baseURL:null,defaultSettings:{},documentBaseURL:null,suffix:null,$:cs,majorVersion:"5",minorVersion:"10.3",releaseDate:"2022-02-09",editors:wS,i18n:Ds,activeEditor:null,focusedEditor:null,settings:{},setup:function(){var t,e,n=this,r="";e=Fm.getDocumentBaseUrl(document.location),/^[^:]+:\/\/\/?[^\/]+\//.test(e)&&(e=e.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(e)||(e+="/"));var o,i=window.tinymce||window.tinyMCEPreInit;if(i)t=i.base||i.baseURL,r=i.suffix;else{for(var a=document.getElementsByTagName("script"),s=0;s0&&gS(hS(n),(function(t){var n=pS.get(t);n?e.push(n):gS(document.forms,(function(n){gS(n.elements,(function(n){n.name===t&&(t="mce_editor_"+bS++,pS.setAttrib(n,"id",t),e.push(n))}))}))}));break;case"textareas":case"specific_textareas":gS(pS.select("textarea"),(function(n){t.editor_deselector&&i(n,t.editor_deselector)||t.editor_selector&&!i(n,t.editor_selector)||e.push(n)}))}return e}(t)),t.types?gS(t.types,(function(n){Ee.each(e,(function(e){return!pS.is(e,n.selector)||(l(o(e),vS({},t,n),e),!1)}))})):(Ee.each(e,(function(t){var e;(e=n.get(t.id))&&e.initialized&&!(e.getContainer()||e.getBody()).parentNode&&(xS(e),e.unbindAllNativeEvents(),e.destroy(!0),e.removed=!0,e=null)})),0===(e=Ee.grep(e,(function(t){return!n.get(t.id)}))).length?a([]):gS(e,(function(e){!function(t,e){return t.inline&&e.tagName.toLowerCase()in r}(t,e)?l(o(e),t,e):Ey("Could not initialize inline editor on invalid inline target element",e)})))};return n.settings=t,pS.bind(window,"ready",s),new to((function(t){e?t(e):a=function(e){t(e)}}))},get:function(t){return 0===arguments.length?_S.slice(0):f(t)?J(_S,(function(e){return e.id===t})).getOr(null):_(t)&&_S[t]?_S[t]:null},add:function(t){var e=this;return wS[t.id]===t||(null===e.get(t.id)&&("length"!==t.id&&(wS[t.id]=t),wS.push(t),_S.push(t)),kS(!0),e.activeEditor=t,e.fire("AddEditor",{editor:t}),j_||(j_=function(t){var n=e.fire("BeforeUnload");if(n.returnValue)return t.preventDefault(),t.returnValue=n.returnValue,n.returnValue},window.addEventListener("beforeunload",j_))),t},createEditor:function(t,e){return this.add(new mS(t,e,this))},remove:function(t){var e,n,r=this;if(t){if(!f(t))return n=t,h(r.get(n.id))?null:(xS(n)&&r.fire("RemoveEditor",{editor:n}),0===_S.length&&window.removeEventListener("beforeunload",j_),n.remove(),kS(_S.length>0),n);gS(pS.select(t),(function(t){(n=r.get(t.id))&&r.remove(n)}))}else for(e=_S.length-1;e>=0;e--)r.remove(_S[e])},execCommand:function(t,e,n){var r=this,o=r.get(n);switch(t){case"mceAddEditor":return r.get(n)||new mS(n,r.settings,r).render(),!0;case"mceRemoveEditor":return o&&o.remove(),!0;case"mceToggleEditor":return o?(o.isHidden()?o.show():o.hide(),!0):(r.execCommand("mceAddEditor",!1,n),!0)}return!!r.activeEditor&&r.activeEditor.execCommand(t,e,n)},triggerSave:function(){gS(_S,(function(t){t.save()}))},addI18n:function(t,e){Ds.add(t,e)},translate:function(t){return Ds.translate(t)},setActive:function(t){var e=this.activeEditor;this.activeEditor!==t&&(e&&e.fire("deactivate",{relatedTarget:t}),t.fire("activate",{relatedTarget:e})),this.activeEditor=t},_setBaseUrl:function(t){this.baseURL=new Fm(this.documentBaseURL).toAbsolute(t.replace(/\/+$/,"")),this.baseURI=new Fm(this.baseURL)}});SS.setup();var TS,ES,OS,LS,AS=Math.min,$S=Math.max,NS=Math.round,PS=function(t,e,n){var r=e.x,o=e.y,i=t.w,a=t.h,s=e.w,u=e.h,c=(n||"").split("");return"b"===c[0]&&(o+=u),"r"===c[1]&&(r+=s),"c"===c[0]&&(o+=NS(u/2)),"c"===c[1]&&(r+=NS(s/2)),"b"===c[3]&&(o-=a),"r"===c[4]&&(r-=i),"c"===c[3]&&(o-=NS(a/2)),"c"===c[4]&&(r-=NS(i/2)),IS(r,o,i,a)},IS=function(t,e,n,r){return{x:t,y:e,w:n,h:r}},RS={inflate:function(t,e,n){return IS(t.x-e,t.y-n,t.w+2*e,t.h+2*n)},relativePosition:PS,findBestRelativePosition:function(t,e,n,r){var o,i;for(i=0;i=n.x&&o.x+o.w<=n.w+n.x&&o.y>=n.y&&o.y+o.h<=n.h+n.y)return r[i];return null},intersect:function(t,e){var n=$S(t.x,e.x),r=$S(t.y,e.y),o=AS(t.x+t.w,e.x+e.w),i=AS(t.y+t.h,e.y+e.h);return o-n<0||i-r<0?null:IS(n,r,o-n,i-r)},clamp:function(t,e,n){var r=t.x,o=t.y,i=t.x+t.w,a=t.y+t.h,s=e.x+e.w,u=e.y+e.h,c=$S(0,e.x-r),l=$S(0,e.y-o),d=$S(0,i-s),f=$S(0,a-u);return r+=c,o+=l,n&&(i+=c,a+=l,r-=d,o-=f),IS(r,o,(i-=d)-r,(a-=f)-o)},create:IS,fromClientRect:function(t){return IS(t.left,t.top,t.width,t.height)}},BS=(TS={},ES={},{load:function(t,e){var n='Script at URL "'+e+'" failed to load',r='Script at URL "'+e+"\" did not call `tinymce.Resource.add('"+t+"', data)` within 1 second";if(void 0!==TS[t])return TS[t];var o=new to((function(o,i){var a=function(t,e,n){void 0===n&&(n=1e3);var r=!1,o=null,i=function(t){return function(){for(var e=[],n=0;n1e4?(t.success&&n<1e4&&200===e.status?t.success.call(t.success_scope,""+e.responseText,e,t):t.error&&t.error.call(t.error_scope,n>1e4?"TIMED_OUT":"GENERAL",e,t),e=null):oo.setTimeout(r,10)};if(t.scope=t.scope||this,t.success_scope=t.success_scope||t.scope,t.error_scope=t.error_scope||t.scope,t.async=!1!==t.async,t.data=t.data||"",KS.fire("beforeInitialize",{settings:t}),(e=new XMLHttpRequest).overrideMimeType&&e.overrideMimeType(t.content_type),e.open(t.type||(t.data?"POST":"GET"),t.url,t.async),t.crossDomain&&(e.withCredentials=!0),t.content_type&&e.setRequestHeader("Content-Type",t.content_type),t.requestheaders&&Ee.each(t.requestheaders,(function(t){e.setRequestHeader(t.key,t.value)})),e.setRequestHeader("X-Requested-With","XMLHttpRequest"),(e=KS.fire("beforeSend",{xhr:e,settings:t}).xhr).send(t.data),!t.async)return r();oo.setTimeout(r,10)}}),YS=Ee.extend,XS=function(){function t(t){this.settings=YS({},t),this.count=0}return t.sendRPC=function(e){return(new t).send(e)},t.prototype.send=function(t){var e=t.error,n=t.success,r=YS(this.settings,t);r.success=function(t,o){void 0===(t=WS.parse(t))&&(t={error:"JSON Parse error."}),t.error?e.call(r.error_scope||r.scope,t.error,o):n.call(r.success_scope||r.scope,t.result)},r.error=function(t,n){e&&e.call(r.error_scope||r.scope,t,n)},r.data=WS.serialize({id:t.id||"c"+this.count++,method:t.method,params:t.params}),r.content_type="application/json",KS.send(r)},t}();try{var ZS="__storage_test__";(FS=window.localStorage).setItem(ZS,ZS),FS.removeItem(ZS)}catch(t){FS=function(){var t={},e=[],n={getItem:function(e){return t[e]||null},setItem:function(n,r){e.push(n),t[n]=String(r)},key:function(t){return e[t]},removeItem:function(n){e=e.filter((function(t){return t===n})),delete t[n]},clear:function(){e=[],t={}},length:0};return Object.defineProperty(n,"length",{get:function(){return e.length},configurable:!1,enumerable:!1}),n}()}var GS={geom:{Rect:RS},util:{Promise:to,Delay:oo,Tools:Ee,VK:of,URI:Fm,Class:zS,EventDispatcher:VD,Observable:qD,I18n:Ds,XHR:KS,JSON:WS,JSONRequest:XS,JSONP:qS,LocalStorage:FS,Color:function(t){var e={},n=0,r=0,o=0,i=function(t){var i;return"object"==typeof t?"r"in t?(n=t.r,r=t.g,o=t.b):"v"in t&&function(t,e,i){if(t=(parseInt(t,10)||0)%360,e=parseInt(e,10)/100,i=parseInt(i,10)/100,e=HS(0,US(e,1)),i=HS(0,US(i,1)),0!==e){var a=t/60,s=i*e,u=s*(1-Math.abs(a%2-1)),c=i-s;switch(Math.floor(a)){case 0:n=s,r=u,o=0;break;case 1:n=u,r=s,o=0;break;case 2:n=0,r=s,o=u;break;case 3:n=0,r=u,o=s;break;case 4:n=u,r=0,o=s;break;case 5:n=s,r=0,o=u;break;default:n=r=o=0}n=VS(255*(n+c)),r=VS(255*(r+c)),o=VS(255*(o+c))}else n=r=o=VS(255*i)}(t.h,t.s,t.v):(i=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(t))?(n=parseInt(i[1],10),r=parseInt(i[2],10),o=parseInt(i[3],10)):(i=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(t))?(n=parseInt(i[1],16),r=parseInt(i[2],16),o=parseInt(i[3],16)):(i=/#([0-F])([0-F])([0-F])/gi.exec(t))&&(n=parseInt(i[1]+i[1],16),r=parseInt(i[2]+i[2],16),o=parseInt(i[3]+i[3],16)),n=n<0?0:n>255?255:n,r=r<0?0:r>255?255:r,o=o<0?0:o>255?255:o,e};return t&&i(t),e.toRgb=function(){return{r:n,g:r,b:o}},e.toHsv=function(){return function(t,e,n){var r,o;o=0;var i=US(t/=255,US(e/=255,n/=255)),a=HS(t,HS(e,n));return i===a?{h:0,s:0,v:100*(o=i)}:(r=(a-i)/a,o=a,{h:VS(60*((t===i?3:n===i?1:5)-(t===i?e-n:n===i?t-e:n-t)/(a-i))),s:VS(100*r),v:VS(100*o)})}(n,r,o)},e.toHex=function(){var t=function(t){return(t=parseInt(t,10).toString(16)).length>1?t:"0"+t};return"#"+t(n)+t(r)+t(o)},e.parse=i,e},ImageUploader:function(t){var e=$y(),n=By(t,e);return{upload:function(e,r){return void 0===r&&(r=!0),n.upload(e,r?Ry(t):void 0)}}}},dom:{EventUtils:zi,Sizzle:ka,DomQuery:cs,TreeWalker:so,TextSeeker:Qs,DOMUtils:gs,ScriptLoader:ws,RangeUtils:Cf,Serializer:Nb,StyleSheetLoader:io,ControlSelection:sf,BookmarkManager:Jd,Selection:lb,Event:zi.Event},html:{Styles:Ai,Entities:yi,Node:Nm,Schema:Oi,SaxParser:qm,DomParser:Eb,Writer:Qm,Serializer:tp},Env:ke,AddOnManager:Ss,Annotator:Gd,Formatter:Wy,UndoManager:Ky,EditorCommands:PD,WindowManager:Cy,NotificationManager:yy,EditorObservable:GD,Shortcuts:aS,Editor:mS,FocusManager:cm,EditorManager:SS,DOM:gs.DOM,ScriptLoader:ws.ScriptLoader,PluginManager:wy,ThemeManager:_y,IconManager:ly,Resource:BS,trim:Ee.trim,isArray:Ee.isArray,is:Ee.is,toArray:Ee.toArray,makeMap:Ee.makeMap,each:Ee.each,map:Ee.map,grep:Ee.grep,inArray:Ee.inArray,extend:Ee.extend,create:Ee.create,walk:Ee.walk,createNS:Ee.createNS,resolve:Ee.resolve,explode:Ee.explode,_addCacheSuffix:Ee._addCacheSuffix,isOpera:ke.opera,isWebKit:ke.webkit,isIE:ke.ie,isGecko:ke.gecko,isMac:ke.mac},JS=Ee.extend(SS,GS);!function(t){window.tinymce=t,window.tinyMCE=t}(JS),function(e){try{t.exports=e}catch(t){}}(JS)}()},30264:(t,e,n)=>{"use strict";n.d(e,{Z:()=>p});const r=n(70538).default.prototype.$isServer;function o(t,e){for(let n=0;n`${t}:${r.getPropertyValue(t)}`)).join(";"),paddingSize:i,borderSize:s,boxSizing:o};return e&&n&&(u[n]=c),c}(t,r);s.setAttribute("style",`${l};\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n`),s.value=t.value||t.placeholder||"";let d,f=Number.MIN_SAFE_INTEGER,m=Number.MAX_SAFE_INTEGER,p=s.scrollHeight;if("border-box"===c?p+=i:"content-box"===c&&(p-=o),null!==e||null!==n){s.value=" ";let t=s.scrollHeight-o;null!==e&&(f=t*e,"border-box"===c&&(f=f+o+i),p=Math.max(f,p)),null!==n&&(m=t*n,"border-box"===c&&(m=m+o+i),d=p>m?"":"hidden",p=Math.min(m,p))}return n||(d="hidden"),{height:`${p}px`,minHeight:`${f}px`,maxHeight:`${m}px`,overflowY:d}}function l(t,e,n){this.$children.forEach((r=>{r.$options.name===t?r.$emit.apply(r,[e].concat(n)):l.apply(r,[t,e].concat([n]))}))}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f="ivu-input";const m={name:"DragInput",mixins:[{methods:{dispatch(t,e,n){let r=this.$parent||this.$root,o=r.$options.name;for(;r&&(!o||o!==t);)r=r.$parent,r&&(o=r.$options.name);r&&r.$emit.apply(r,[e].concat(n))},broadcast(t,e,n){l.call(this,t,e,n)}}},{inject:{FormInstance:{default:""}},computed:{itemDisabled(){let t=this.disabled;return!t&&this.FormInstance&&(t=this.FormInstance.disabled),t}}}],props:{type:{validator:function(t){return o(t,["text","textarea","password","url","email","date","number","tel"])},default:"text"},value:{type:[String,Number],default:""},size:{validator:function(t){return o(t,["small","large","default"])},default:function(){return this.$IVIEW&&""!==this.$IVIEW.size?this.$IVIEW.size:"default"}},placeholder:{type:String,default:""},maxlength:{type:[String,Number]},disabled:{type:Boolean,default:!1},icon:String,autosize:{type:[Boolean,Object],default:!1},rows:{type:Number,default:2},readonly:{type:Boolean,default:!1},name:{type:String},number:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},spellcheck:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},clearable:{type:Boolean,default:!1},elementId:{type:String},wrap:{validator:function(t){return o(t,["hard","soft"])},default:"soft"},prefix:{type:String,default:""},suffix:{type:String,default:""},search:{type:Boolean,default:!1},enterButton:{type:[Boolean,String],default:!1},showWordLimit:{type:Boolean,default:!1},password:{type:Boolean,default:!1}},data:function(){return{currentValue:this.value,prefixCls:f,slotReady:!1,textareaStyles:{},isOnComposition:!1,showPassword:!1}},computed:{currentType:function(){var t=this.type;return"password"===t&&this.password&&this.showPassword&&(t="text"),t},prepend:function(){var t=!1;return"textarea"!==this.type&&(t=void 0!==this.$slots.prepend),t},append:function(){var t=!1;return"textarea"!==this.type&&(t=void 0!==this.$slots.append),t},showPrefix:function(){var t=!1;return"textarea"!==this.type&&(t=""!==this.prefix||void 0!==this.$slots.prefix),t},showSuffix:function(){var t=!1;return"textarea"!==this.type&&(t=""!==this.suffix||void 0!==this.$slots.suffix),t},wrapClasses:function(){var t;return["".concat(f,"-wrapper"),(t={},d(t,"".concat(f,"-wrapper-").concat(this.size),!!this.size),d(t,"".concat(f,"-type-").concat(this.type),this.type),d(t,"".concat(f,"-group"),this.prepend||this.append||this.search&&this.enterButton),d(t,"".concat(f,"-group-").concat(this.size),(this.prepend||this.append||this.search&&this.enterButton)&&!!this.size),d(t,"".concat(f,"-group-with-prepend"),this.prepend),d(t,"".concat(f,"-group-with-append"),this.append||this.search&&this.enterButton),d(t,"".concat(f,"-hide-icon"),this.append),d(t,"".concat(f,"-with-search"),this.search&&this.enterButton),t)]},inputClasses:function(){var t;return["".concat(f),(t={},d(t,"".concat(f,"-").concat(this.size),!!this.size),d(t,"".concat(f,"-disabled"),this.itemDisabled),d(t,"".concat(f,"-with-prefix"),this.showPrefix),d(t,"".concat(f,"-with-suffix"),this.showSuffix||this.search&&!1===this.enterButton),t)]},textareaClasses:function(){return["".concat(f),d({},"".concat(f,"-disabled"),this.itemDisabled)]},upperLimit:function(){return this.maxlength},textLength:function(){return"number"==typeof this.value?String(this.value).length:(this.value||"").length}},methods:{handleEnter:function(t){this.$emit("on-enter",t),this.search&&this.$emit("on-search",this.currentValue)},handleKeydown:function(t){this.$emit("on-keydown",t)},handleKeypress:function(t){this.$emit("on-keypress",t)},handleKeyup:function(t){this.$emit("on-keyup",t)},handleIconClick:function(t){this.$emit("on-click",t)},handleFocus:function(t){this.$emit("on-focus",t)},handleBlur:function(t){this.$emit("on-blur",t),i(this,["DatePicker","TimePicker","Cascader","Search"])||this.dispatch("FormItem","on-form-blur",this.currentValue)},handleComposition:function(t){"compositionstart"===t.type&&(this.isOnComposition=!0),"compositionend"===t.type&&(this.isOnComposition=!1,this.handleInput(t))},handleInput:function(t){if(!this.isOnComposition){var e=t.target.value;this.number&&""!==e&&(e=Number.isNaN(Number(e))?e:Number(e)),this.$emit("input",e),this.setCurrentValue(e),this.$emit("on-change",t)}},handleChange:function(t){this.$emit("on-input-change",t)},handlePaste:function(t){this.$emit("on-input-paste",t)},setCurrentValue:function(t){var e=this;t!==this.currentValue&&(this.$nextTick((function(){e.resizeTextarea()})),this.currentValue=t,i(this,["DatePicker","TimePicker","Cascader","Search"])||this.dispatch("FormItem","on-form-change",t))},resizeTextarea:function(){var t=this.autosize;if(!t||"textarea"!==this.type)return!1;var e=t.minRows,n=t.maxRows;this.textareaStyles=c(this.$refs.textarea,e,n)},focus:function(){"textarea"===this.type?this.$refs.textarea.focus():this.$refs.input.focus()},blur:function(){"textarea"===this.type?this.$refs.textarea.blur():this.$refs.input.blur()},handleClear:function(){this.$emit("input",""),this.setCurrentValue(""),this.$emit("on-change",{target:{value:""}}),this.$emit("on-clear")},handleSearch:function(){if(this.itemDisabled)return!1;this.$refs.input.focus(),this.$emit("on-search",this.currentValue)},handleToggleShowPassword:function(){var t=this;if(this.itemDisabled)return!1;this.showPassword=!this.showPassword,this.focus();var e=this.currentValue.length;setTimeout((function(){t.$refs.input.setSelectionRange(e,e)}),0)}},watch:{value:function(t){this.setCurrentValue(t)}},mounted:function(){this.slotReady=!0,this.resizeTextarea()}};const p=(0,n(51900).Z)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.wrapClasses},["textarea"!==t.type?[t.prepend?n("div",{directives:[{name:"show",rawName:"v-show",value:t.slotReady,expression:"slotReady"}],class:[t.prefixCls+"-group-prepend"]},[t._t("prepend")],2):t._e(),t._v(" "),t.clearable&&t.currentValue&&!t.itemDisabled?n("i",{staticClass:"ivu-icon",class:["ivu-icon-ios-close-circle",t.prefixCls+"-icon",t.prefixCls+"-icon-clear",t.prefixCls+"-icon-normal"],on:{click:t.handleClear}}):t.icon?n("i",{staticClass:"ivu-icon",class:["ivu-icon-"+t.icon,t.prefixCls+"-icon",t.prefixCls+"-icon-normal"],on:{click:t.handleIconClick}}):t.search&&!1===t.enterButton?n("i",{staticClass:"ivu-icon ivu-icon-ios-search",class:[t.prefixCls+"-icon",t.prefixCls+"-icon-normal",t.prefixCls+"-search-icon"],on:{click:t.handleSearch}}):t.showSuffix?n("span",{staticClass:"ivu-input-suffix"},[t._t("suffix",(function(){return[t.suffix?n("i",{staticClass:"ivu-icon",class:["ivu-icon-"+t.suffix]}):t._e()]}))],2):t.showWordLimit?n("span",{staticClass:"ivu-input-word-count"},[t._v(t._s(t.textLength)+"/"+t._s(t.upperLimit))]):t.password?n("span",{staticClass:"ivu-input-suffix",on:{click:t.handleToggleShowPassword}},[t.showPassword?n("i",{staticClass:"ivu-icon ivu-icon-ios-eye-off-outline"}):n("i",{staticClass:"ivu-icon ivu-icon-ios-eye-outline"})]):t._e(),t._v(" "),n("transition",{attrs:{name:"fade"}},[t.icon?t._e():n("i",{staticClass:"ivu-icon ivu-icon-ios-loading ivu-load-loop",class:[t.prefixCls+"-icon",t.prefixCls+"-icon-validate"]})]),t._v(" "),n("input",{ref:"input",class:t.inputClasses,attrs:{id:t.elementId,autocomplete:t.autocomplete,spellcheck:t.spellcheck,type:t.currentType,placeholder:t.placeholder,disabled:t.itemDisabled,maxlength:t.maxlength,readonly:t.readonly,name:t.name,number:t.number,autofocus:t.autofocus},domProps:{value:t.currentValue},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleEnter.apply(null,arguments)},t.handleKeyup],keypress:t.handleKeypress,keydown:t.handleKeydown,focus:t.handleFocus,blur:t.handleBlur,compositionstart:t.handleComposition,compositionupdate:t.handleComposition,compositionend:t.handleComposition,input:t.handleInput,change:t.handleChange,paste:t.handlePaste}}),t._v(" "),t.append?n("div",{directives:[{name:"show",rawName:"v-show",value:t.slotReady,expression:"slotReady"}],class:[t.prefixCls+"-group-append"]},[t._t("append")],2):t.search&&t.enterButton?n("div",{class:[t.prefixCls+"-group-append",t.prefixCls+"-search"],on:{click:t.handleSearch}},[!0===t.enterButton?n("i",{staticClass:"ivu-icon ivu-icon-ios-search"}):[t._v(t._s(t.enterButton))]],2):t.showPrefix?n("span",{staticClass:"ivu-input-prefix"},[t._t("prefix",(function(){return[t.prefix?n("i",{staticClass:"ivu-icon",class:["ivu-icon-"+t.prefix]}):t._e()]}))],2):t._e()]:[n("textarea",{ref:"textarea",class:t.textareaClasses,style:t.textareaStyles,attrs:{id:t.elementId,wrap:t.wrap,autocomplete:t.autocomplete,spellcheck:t.spellcheck,placeholder:t.placeholder,disabled:t.itemDisabled,rows:t.rows,maxlength:t.maxlength,readonly:t.readonly,name:t.name,autofocus:t.autofocus},domProps:{value:t.currentValue},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleEnter.apply(null,arguments)},t.handleKeyup],keypress:t.handleKeypress,keydown:t.handleKeydown,focus:t.handleFocus,blur:t.handleBlur,compositionstart:t.handleComposition,compositionupdate:t.handleComposition,compositionend:t.handleComposition,input:t.handleInput,paste:t.handlePaste}}),t._v(" "),t.showWordLimit?n("span",{staticClass:"ivu-input-word-count"},[t._v(t._s(t.textLength)+"/"+t._s(t.upperLimit))]):t._e()]],2)}),[],!1,null,null,null).exports},70631:(t,e,n)=>{"use strict";n.d(e,{Z:()=>v});const r={name:"ResizeLine",props:{value:{},min:{type:Number,default:100},max:{type:Number,default:600},placement:{validator:function(t){return["right","bottom"].includes(t)},default:"bottom"},reverse:{type:Boolean,default:!1}},data:function(){return{resizing:!1,mouseX:0,mouseY:0,offset:{},tmpSize:void 0}},mounted:function(){document.documentElement.addEventListener("mousemove",this.handleMove,!0),document.documentElement.addEventListener("mouseup",this.handleUp,!0)},methods:{resizeDown:function(t){this.mouseX=t.pageX||t.clientX+document.documentElement.scrollLeft,this.mouseY=t.pageY||t.clientY+document.documentElement.scrollTop,this.offset={left:t.target.offsetLeft,top:t.target.offsetTop},this.resizing=!0,"number"==typeof this.value&&(this.tmpSize=this.value),this.$emit("on-change",{event:"down"})},handleMove:function(t){if(this.resizing){var e,n=(t.pageX||t.clientX+document.documentElement.scrollLeft)-this.mouseX,r=(t.pageY||t.clientY+document.documentElement.scrollTop)-this.mouseY;if("number"==typeof this.tmpSize)e="bottom"==this.placement?this.reverse?this.tmpSize-r:this.tmpSize+r:this.reverse?this.tmpSize-n:this.tmpSize+n,this.min>0&&(e=Math.max(this.min,e)),this.max>0&&(e=Math.min(this.max,e)),this.$emit("input",e);this.$emit("on-change",{event:"move",diff:{x:n,y:r},offset:this.offset})}},handleUp:function(){this.resizing=!1,this.tmpSize=void 0,this.$emit("on-change",{event:"up"})}}};var o=n(93379),i=n.n(o),a=n(26167),s={insert:"head",singleton:!1};i()(a.Z,s);a.Z.locals;var u=n(51900);const c=(0,u.Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"component-resize-line",class:[t.resizing?"resizing":"",t.placement],on:{mousedown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:(e.stopPropagation(),e.preventDefault(),t.resizeDown.apply(null,arguments))}}})}),[],!1,null,"eaab078e",null).exports;function l(t){return void 0===t&&(t=document.body),!0===t?document.body:t instanceof window.Node?t:document.querySelector(t)}const d={inserted:function(t,e,n){var r=e.value;if(t.dataset&&"true"!==t.dataset.transfer)return!1;t.className=t.className?t.className+" v-transfer-dom":"v-transfer-dom";var o=t.parentNode;if(o){var i=document.createComment(""),a=!1;!1!==r&&(o.replaceChild(i,t),l(r).appendChild(t),a=!0),t.__transferDomData||(t.__transferDomData={parentNode:o,home:i,target:l(r),hasMovedOut:a})}},componentUpdated:function(t,e){var n=e.value;if(t.dataset&&"true"!==t.dataset.transfer)return!1;var r=t.__transferDomData;if(r){var o=r.parentNode,i=r.home,a=r.hasMovedOut;!a&&n?(o.replaceChild(i,t),l(n).appendChild(t),t.__transferDomData=Object.assign({},t.__transferDomData,{hasMovedOut:!0,target:l(n)})):a&&!1===n?(o.replaceChild(t,i),t.__transferDomData=Object.assign({},t.__transferDomData,{hasMovedOut:!1,target:l(n)})):n&&l(n).appendChild(t)}},unbind:function(t){if(t.dataset&&"true"!==t.dataset.transfer)return!1;t.className=t.className.replace("v-transfer-dom",""),t.__transferDomData&&(!0===t.__transferDomData.hasMovedOut&&t.__transferDomData.parentNode&&t.__transferDomData.parentNode.appendChild(t),t.__transferDomData=null)}};var f=n(20629);function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e-1&&this.$store.state.cacheDrawerOverlay.splice(n,1)}t?this.zIndex=this.$store.state.cacheDrawerIndex++:0===this.$store.state.cacheDrawerOverlay.length&&(this.$store.state.cacheDrawerIndex=0)},size:{handler:function(t){this.dynamicSize=parseInt(t)},immediate:!0}},methods:{mask:function(){this.maskClosable&&this.close()},close:function(){if(!this.beforeClose)return this.handleClose();var t=this.beforeClose();t&&t.then?t.then(this.handleClose):this.handleClose()},handleClose:function(){this.$emit("input",!1)},escClose:function(t){if(this.value&&this.escClosable&&27===t.keyCode){if(this.$Modal.visibles().length>0)return;var e=this.$store.state.cacheDrawerOverlay;if(e.length>0)e[e.length-1].close()}}}};const v=(0,u.Z)(g,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"transfer-dom",rawName:"v-transfer-dom"}],class:["drawer-overlay",t.placement,t.value?"overlay-visible":"overlay-hide"],style:t.overlayStyle,attrs:{"data-transfer":t.transfer}},[n("div",{staticClass:"overlay-mask",on:{click:t.mask}}),t._v(" "),n("div",{staticClass:"overlay-body",style:t.bodyStyle},[n("div",{staticClass:"overlay-close"},[n("a",{attrs:{href:"javascript:void(0)"},on:{click:function(e){return e.stopPropagation(),t.close.apply(null,arguments)}}},[n("svg",{staticClass:"icon fill-current",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 26",fill:"none",role:"img"}},[n("path",{attrs:{d:"M8.28596 6.51819C7.7978 6.03003 7.00634 6.03003 6.51819 6.51819C6.03003 7.00634 6.03003 7.7978 6.51819 8.28596L11.2322 13L6.51819 17.714C6.03003 18.2022 6.03003 18.9937 6.51819 19.4818C7.00634 19.97 7.7978 19.97 8.28596 19.4818L13 14.7678L17.714 19.4818C18.2022 19.97 18.9937 19.97 19.4818 19.4818C19.97 18.9937 19.97 18.2022 19.4818 17.714L14.7678 13L19.4818 8.28596C19.97 7.7978 19.97 7.00634 19.4818 6.51819C18.9937 6.03003 18.2022 6.03003 17.714 6.51819L13 11.2322L8.28596 6.51819Z",fill:"currentColor"}})])])]),t._v(" "),t.resize?n("ResizeLine",{staticClass:"overlay-resize",attrs:{placement:t.placement,min:t.minSize,max:0,reverse:""},model:{value:t.dynamicSize,callback:function(e){t.dynamicSize=e},expression:"dynamicSize"}}):t._e(),t._v(" "),n("div",{staticClass:"overlay-content"},[t._t("default")],2)],1)])}),[],!1,null,null,null).exports},2749:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(20629);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e1,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:function(){var t=this;this.uploadList=this.$refs.upload.fileList,this.$emit("input",this.uploadList);var e=$A(this.$refs.browselistbox);e.scroll((function(){var n=e[0].scrollHeight;if(e[0].scrollTop+e.height()>=n&&t.browseListNext.length>0){var r=t.browseListNext;t.browseListNext=[],t.browsePictureFor(r)}}))},watch:{value:function(t){"string"!=typeof t?t!==this.$refs.upload.fileList&&(this.$refs.upload.fileList=this.initItems(t),this.uploadList=this.$refs.upload.fileList):this.$emit("input",this.initItems(t))},browseVisible:function(){this.httpType="",this.httpValue=""}},computed:a(a({},(0,r.rn)(["userToken"])),{},{uploadHeaders:function(){return{fd:$A.getStorageString("userWsFd"),token:this.userToken}},uploadParams:function(){return Object.keys(this.otherParams).length>0?Object.assign(this.params,this.otherParams):this.params}}),methods:{handleCallback:function(t){"callback"===this.type&&(!0===t?(this.$emit("on-callback",this.uploadList),this.$refs.upload.fileList=[],this.uploadList=this.$refs.upload.fileList):"object"===o(t)&&this.$emit("on-callback",[t])),this.browseVisible=!1},initItems:function(t){"string"==typeof t&&(t=[{url:t}]);var e=[];return $A.each(t,(function(t,n){"string"==typeof n&&(n={url:n}),n.url&&(n.active=!0,n.status="finished",void 0===n.path&&(n.path=n.url),void 0===n.thumb&&(n.thumb=n.url),e.push(n))})),e},handleView:function(t){this.visible=!0,this.imgVisible=t.url},handleRemove:function(t){var e=this.$refs.upload.fileList;this.$refs.upload.fileList.splice(e.indexOf(t),1),this.$emit("input",this.$refs.upload.fileList)},handleProgress:function(t,e){void 0===e._uploadIng&&(e._uploadIng=!0,this.$emit("update:uploadIng",this.uploadIng+1))},handleSuccess:function(t,e){this.$emit("update:uploadIng",this.uploadIng-1),1===t.ret?(e.url=t.data.url,e.path=t.data.path,e.thumb=t.data.thumb,this.handleCallback(e)):($A.noticeWarning({title:this.$L("上传失败"),desc:this.$L("文件 "+e.name+" 上传失败 "+t.msg)}),this.$refs.upload.fileList.pop()),this.$emit("input",this.$refs.upload.fileList)},handleError:function(){this.$emit("update:uploadIng",this.uploadIng-1)},handleFormatError:function(t){$A.noticeWarning({title:this.$L("文件格式不正确"),desc:this.$L("文件 "+t.name+" 格式不正确,请上传 jpg、jpeg、gif、png 格式的图片。")})},handleMaxSize:function(t){$A.noticeWarning({title:this.$L("超出文件大小限制"),desc:this.$L("文件 "+t.name+" 太大,不能超过:"+$A.bytesToSize(1024*this.maxSize))})},handleBeforeUpload:function(){var t=this.uploadList.length{"use strict";n.d(e,{Z:()=>o});const r={name:"ScrollerY",props:{static:{type:Boolean,default:!1},autoBottom:{type:Boolean,default:!1},autoRecovery:{type:Boolean,default:!0},autoRecoveryAnimate:{type:Boolean,default:!1}},data:function(){return{scrollY:0,scrollDiff:0,autoInterval:null}},mounted:function(){this.openInterval(),this.$nextTick(this.initScroll)},activated:function(){this.openInterval(),this.recoveryScroll()},destroyed:function(){this.closeInterval()},deactivated:function(){this.closeInterval()},methods:{initScroll:function(){var t=this;this.autoToBottom();var e="function"==typeof this.$listeners["on-scroll"],n=$A(this.$refs.scrollerView);n.scroll((function(){var r=Math.round(n.innerHeight()),o=n.scrollTop(),i=t.$refs.scrollerView.scrollHeight;if(t.scrollY=o,e){var a="static",s="static";t.scrollDiff-o>50?(t.scrollDiff=o,a="down"):t.scrollDiff-o<-100&&(t.scrollDiff=o,a="up"),t.scrollDiff-o>1?(t.scrollDiff=o,s="down"):t.scrollDiff-o<-1&&(t.scrollDiff=o,s="up"),t.$emit("on-scroll",{scale:o/(i-r),scrollY:o,scrollE:i-r-o,direction:a,directionreal:s})}}))},recoveryScroll:function(){var t=this;this.autoRecovery&&(this.scrollY>0||this.autoBottom)&&this.$nextTick((function(){t.autoBottom?t.autoToBottom():t.scrollTo(t.scrollY,t.autoRecoveryAnimate)}))},openInterval:function(){this.autoToBottom(),this.autoInterval&&clearInterval(this.autoInterval),this.autoInterval=setInterval(this.autoToBottom,300)},closeInterval:function(){clearInterval(this.autoInterval),this.autoInterval=null},scrollTo:function(t,e){!1===e?$A(this.$refs.scrollerView).stop().scrollTop(t):$A(this.$refs.scrollerView).stop().animate({scrollTop:t})},autoToBottom:function(){this.autoBottom&&$A.scrollToView(this.$refs.bottom,{behavior:"instant",inline:"end"})},scrollInfo:function(){var t=$A(this.$refs.scrollerView),e=Math.round(t.innerHeight()),n=t.scrollTop(),r=this.$refs.scrollerView.scrollHeight;return this.scrollY=n,{scale:n/(r-e),scrollY:n,scrollE:r-e-n}},querySelector:function(t){return this.$refs.scrollerView&&this.$refs.scrollerView.querySelector(t)}}};const o=(0,n(51900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"scrollerView",staticClass:"app-scroller-y",class:[t.static?"static":""]},[t._t("default"),t._v(" "),n("div",{ref:"bottom",staticClass:"app-scroller-bottom"})],2)}),[],!1,null,null,null).exports},89500:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var r=n(47575),o=n.n(r),i=n(2749),a=n(20629);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e0&&(n.min_height=this.minHeight),n},closeFull:function(){this.content=this.getContent(),this.$emit("input",this.content),this.$emit("on-blur"),this.transfer=!1,null!=this.editorT&&(this.editorT.destroy(),this.editorT=null)},transferChange:function(t){t||null==this.editorT||(this.content=this.editorT.getContent(),this.$emit("input",this.content),this.editorT.destroy(),this.editorT=null)},getEditor:function(){return this.transfer?this.editorT:this.editor},concatAssciativeArrays:function(t,e){if(0===e.length)return t;if(0===t.length)return e;var n=[];for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);return n},submitNewContent:function(){var t=this;this.isTyping=!0,null!==this.checkerTimeout&&clearTimeout(this.checkerTimeout),this.checkerTimeout=setTimeout((function(){t.isTyping=!1}),300),this.$emit("input",this.getContent())},insertContent:function(t){null!==this.getEditor()?this.getEditor().insertContent(t):this.content+=t},getContent:function(){return null===this.getEditor()?"":this.getEditor().getContent()},setContent:function(t){null===this.getEditor()?this.content=t:t!=this.getEditor().getContent()&&this.getEditor().setContent(t)},focus:function(){return null===this.getEditor()?"":this.getEditor().focus()},insertImage:function(t){this.insertContent('')},editorImage:function(t){for(var e=0;e|\/>)/gi);if(n)for(var r=0;r').concat(t.data.name," (").concat($A.bytesToSize(1024*t.data.size),")")):$A.noticeWarning({title:this.$L("上传失败"),desc:this.$L("文件 "+e.name+" 上传失败,"+t.msg)})},handleError:function(){this.uploadIng--},handleFormatError:function(t){$A.noticeWarning({title:this.$L("文件格式不正确"),desc:this.$L("文件 "+t.name+" 格式不正确,仅支持上传:"+this.uploadFormat.join(","))})},handleMaxSize:function(t){$A.noticeWarning({title:this.$L("超出文件大小限制"),desc:this.$L("文件 "+t.name+" 太大,不能超过:"+$A.bytesToSize(1024*this.maxSize))})},handleBeforeUpload:function(){return!0}}};const f=(0,n(51900).Z)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"teditor-wrapper"},[n("div",{staticClass:"teditor-box",class:[!t.inline&&t.spinShow?"teditor-loadstyle":"teditor-loadedstyle"]},[t.inline?[n("div",{ref:"myTextarea",attrs:{id:t.id},domProps:{innerHTML:t._s(t.spinShow?"":t.content)}}),t._v(" "),t.spinShow?n("Icon",{staticClass:"icon-loading icon-inline",attrs:{type:"ios-loading",size:18}}):t._e()]:[n("textarea",{ref:"myTextarea",attrs:{id:t.id}},[t._v(t._s(t.content))]),t._v(" "),t.spinShow?n("Spin",{attrs:{fix:""}},[n("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading",size:18}}),t._v(" "),n("div",[t._v(t._s(t.$L("加载组件中...")))])],1):t._e()],t._v(" "),n("ImgUpload",{ref:"myUpload",staticClass:"upload-control",attrs:{type:"callback",uploadIng:t.uploadIng,num:"50"},on:{"update:uploadIng":function(e){t.uploadIng=e},"update:upload-ing":function(e){t.uploadIng=e},"on-callback":t.editorImage}}),t._v(" "),n("Upload",{ref:"fileUpload",staticClass:"upload-control",attrs:{name:"files",action:t.actionUrl,headers:t.headers,multiple:"",format:t.uploadFormat,"show-upload-list":!1,"max-size":t.maxSize,"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}})],2),t._v(" "),t.uploadIng>0?n("Spin",{attrs:{fix:""}},[n("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}),t._v(" "),n("div",[t._v(t._s(t.$L("正在上传文件...")))])],1):t._e(),t._v(" "),n("Modal",{staticClass:"teditor-transfer",attrs:{"footer-hide":"",fullscreen:"",transfer:""},on:{"on-visible-change":t.transferChange},model:{value:t.transfer,callback:function(e){t.transfer=e},expression:"transfer"}},[n("div",{attrs:{slot:"close"},slot:"close"},[n("Button",{attrs:{type:"primary",size:"small"}},[t._v(t._s(t.$L("完成")))])],1),t._v(" "),n("div",{staticClass:"teditor-transfer-body"},[n("textarea",{attrs:{id:"T_"+t.id}},[t._v(t._s(t.content))])]),t._v(" "),t.uploadIng>0?n("Spin",{attrs:{fix:""}},[n("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}),t._v(" "),n("div",[t._v(t._s(t.$L("正在上传文件...")))])],1):t._e()],1)],1)}),[],!1,null,null,null).exports},73701:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(80641);const o={name:"UserInput",props:{value:{type:[String,Number,Array],default:""},uncancelable:{type:Array,default:function(){return[]}},disabledChoice:{type:Array,default:function(){return[]}},placeholder:{default:""},size:{default:"default"},transfer:{type:Boolean,default:!0},multipleMax:{type:Number},maxHiddenInput:{type:Boolean,default:!0},projectId:{type:Number,default:0},noProjectId:{type:Number,default:0}},data:function(){return{loadIng:0,selects:[],list:[],searchKey:null,searchHistory:[],subscribe:null}},mounted:function(){var t=this;this.subscribe=r.Store.subscribe("cacheUserActive",(function(e){var n=t.list.findIndex((function(t){return t.userid==e.userid}));n>-1&&(t.$set(t.list,n,Object.assign({},t.list[n],e)),t.handleSelectData())}))},beforeDestroy:function(){this.subscribe&&(this.subscribe.unsubscribe(),this.subscribe=null)},computed:{maxHiddenClass:function(){var t=this.multipleMax,e=this.maxHiddenInput,n=this.selects;return t&&e&&n.length>=t?"hidden-input":""}},watch:{value:{handler:function(){this.valueChange()},immediate:!0},selects:function(t){this.$emit("input",t)}},methods:{searchUser:function(t){var e=this;"string"!=typeof t&&(t=""),this.searchKey=t;var n=this.searchHistory.find((function(e){return e.key==t}));n&&(this.list=n.data),n||this.loadIng++,setTimeout((function(){e.searchKey==t?e.$store.dispatch("call",{url:"users/search",data:{keys:{key:t,project_id:e.projectId,no_project_id:e.noProjectId},take:30}}).then((function(r){var o=r.data;n||e.loadIng--,e.list=o;var i=e.searchHistory.findIndex((function(e){return e.key==t})),a={key:t,data:o,time:$A.Time()};i>-1?e.searchHistory.splice(i,1,a):e.searchHistory.push(a)})).catch((function(t){var r=t.msg;n||e.loadIng--,e.list=[],$A.messageWarning(r)})):n||e.loadIng--}),this.searchHistory.length>0?300:0)},isDisabled:function(t){return 0!==this.disabledChoice.length&&this.disabledChoice.includes(t)},openChange:function(t){t&&this.$nextTick(this.searchUser)},remoteMethod:function(){},valueChange:function(){var t=this;this.selects!=this.value&&($A.isArray(this.value)?this.selects=$A.cloneJSON(this.value):this.value?this.selects=[this.value]:this.selects=[],this.selects.some((function(e){t.list.find((function(t){return t.userid==e}))||(t.list.push({userid:e,nickname:e}),t.$store.dispatch("getUserBasic",{userid:e}))})))},handleSelectData:function(){var t=this;this.__handleSelectTimeout&&clearTimeout(this.__handleSelectTimeout),this.__handleSelectTimeout=setTimeout((function(){if(t.$refs.select){var e=t.$refs.select.getValue();e&&e.some((function(e){var n=t.list.find((function(t){return t.userid==e.value}));n&&(t.$set(e,"label",n.nickname),t.$set(e,"avatar",n.userimg))}))}}),100)}}};const i=(0,n(51900).Z)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["common-user",t.maxHiddenClass]},[n("Select",{ref:"select",attrs:{transfer:t.transfer,placeholder:t.placeholder,size:t.size,loading:t.loadIng>0,"loading-text":t.$L("加载中..."),"default-label":t.value,"default-event-object":!0,"multiple-max":t.multipleMax,"multiple-uncancelable":t.uncancelable,"remote-method":t.remoteMethod,multiple:"",filterable:"","transfer-class-name":"common-user-transfer"},on:{"on-query-change":t.searchUser,"on-open-change":t.openChange},model:{value:t.selects,callback:function(e){t.selects=e},expression:"selects"}},[t.multipleMax?n("div",{staticClass:"user-drop-prepend",attrs:{slot:"drop-prepend"},slot:"drop-prepend"},[t._v(t._s(t.$L("最多只能选择"+t.multipleMax+"个")))]):t._e(),t._v(" "),t._t("option-prepend"),t._v(" "),t._l(t.list,(function(e,r){return n("Option",{key:r,attrs:{value:e.userid,"key-value":e.email,label:e.nickname,avatar:e.userimg,disabled:t.isDisabled(e.userid)}},[n("div",{staticClass:"user-input-option"},[n("div",{staticClass:"user-input-avatar"},[n("EAvatar",{staticClass:"avatar",attrs:{src:e.userimg}})],1),t._v(" "),n("div",{staticClass:"user-input-nickname"},[t._v(t._s(e.nickname))]),t._v(" "),n("div",{staticClass:"user-input-userid"},[t._v("ID: "+t._s(e.userid))])])])}))],2),t._v(" "),t.loadIng>0?n("div",{staticClass:"common-user-loading"},[n("Loading")],1):t._e()],1)}),[],!1,null,null,null).exports},17201:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>U});var r=n(20629),o=n(66237);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const s={name:"ProjectArchived",data:function(){return{loadIng:0,keys:{},columns:[],list:[],page:1,pageSize:20,total:0,noText:""}},mounted:function(){this.getLists()},computed:function(t){for(var e=1;e0?n("Loading"):t._e()],1)]),t._v(" "),n("div",{staticClass:"search-container lr"},[n("ul",[n("li",[n("div",{staticClass:"search-label"},[t._v("\n "+t._s(t.$L("项目名"))+"\n ")]),t._v(" "),n("div",{staticClass:"search-content"},[n("Input",{attrs:{clearable:""},model:{value:t.keys.name,callback:function(e){t.$set(t.keys,"name",e)},expression:"keys.name"}})],1)]),t._v(" "),n("li",{staticClass:"search-button"},[n("Tooltip",{attrs:{theme:"light",placement:"right","transfer-class-name":"search-button-clear",transfer:""}},[n("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("搜索")))]),t._v(" "),n("div",{attrs:{slot:"content"},slot:"content"},[n("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.refresh}},[t._v(t._s(t.$L("刷新")))])],1)],1)],1)])]),t._v(" "),n("div",{staticClass:"table-page-box"},[n("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),t._v(" "),n("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowMax768,"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)])}),[],!1,null,null,null).exports;function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const f={name:"TeamManagement",data:function(){return{loadIng:0,keys:{identity:"nodisable"},columns:[],list:[],page:1,pageSize:20,total:0,noText:""}},mounted:function(){this.getLists()},computed:function(t){for(var e=1;e0?n("Loading"):t._e()],1)]),t._v(" "),n("div",{staticClass:"search-container lr"},[n("ul",[n("li",[n("div",{staticClass:"search-label"},[t._v("\n "+t._s(t.$L("关键词"))+"\n ")]),t._v(" "),n("div",{staticClass:"search-content"},[n("Input",{attrs:{placeholder:t.$L("邮箱、昵称、职位"),clearable:""},model:{value:t.keys.key,callback:function(e){t.$set(t.keys,"key",e)},expression:"keys.key"}})],1)]),t._v(" "),n("li",[n("div",{staticClass:"search-label"},[t._v("\n "+t._s(t.$L("身份"))+"\n ")]),t._v(" "),n("div",{staticClass:"search-content"},[n("Select",{attrs:{placeholder:t.$L("请选择")},model:{value:t.keys.identity,callback:function(e){t.$set(t.keys,"identity",e)},expression:"keys.identity"}},[n("Option",{attrs:{value:""}},[t._v(t._s(t.$L("全部")))]),t._v(" "),n("Option",{attrs:{value:"admin"}},[t._v(t._s(t.$L("管理员")))]),t._v(" "),n("Option",{attrs:{value:"disable"}},[t._v(t._s(t.$L("禁用")))]),t._v(" "),n("Option",{attrs:{value:"noadmin"}},[t._v(t._s(t.$L("非管理员")))]),t._v(" "),n("Option",{attrs:{value:"nodisable"}},[t._v(t._s(t.$L("非禁用")))])],1)],1)]),t._v(" "),n("li",[n("div",{staticClass:"search-label"},[t._v("\n "+t._s(t.$L("邮箱认证"))+"\n ")]),t._v(" "),n("div",{staticClass:"search-content"},[n("Select",{attrs:{placeholder:t.$L("请选择")},model:{value:t.keys.email_verity,callback:function(e){t.$set(t.keys,"email_verity",e)},expression:"keys.email_verity"}},[n("Option",{attrs:{value:""}},[t._v(t._s(t.$L("全部")))]),t._v(" "),n("Option",{attrs:{value:"yes"}},[t._v(t._s(t.$L("已邮箱认证")))]),t._v(" "),n("Option",{attrs:{value:"no"}},[t._v(t._s(t.$L("未邮箱认证")))])],1)],1)]),t._v(" "),n("li",{staticClass:"search-button"},[n("Tooltip",{attrs:{theme:"light",placement:"bottom","transfer-class-name":"search-button-clear",transfer:""}},[n("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("搜索")))]),t._v(" "),n("div",{attrs:{slot:"content"},slot:"content"},[n("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("刷新")))])],1)],1)],1)])]),t._v(" "),n("div",{staticClass:"table-page-box"},[n("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),t._v(" "),n("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowMax768,"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)])}),[],!1,null,null,null).exports;function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const g={name:"ProjectManagement",data:function(){return{loadIng:0,keys:{},columns:[],list:[],page:1,pageSize:20,total:0,noText:""}},mounted:function(){this.getLists()},computed:function(t){for(var e=1;e0?n("Loading"):t._e()],1)]),t._v(" "),n("div",{staticClass:"search-container lr"},[n("ul",[n("li",[n("div",{staticClass:"search-label"},[t._v("\n "+t._s(t.$L("项目名"))+"\n ")]),t._v(" "),n("div",{staticClass:"search-content"},[n("Input",{attrs:{clearable:""},model:{value:t.keys.name,callback:function(e){t.$set(t.keys,"name",e)},expression:"keys.name"}})],1)]),t._v(" "),n("li",[n("div",{staticClass:"search-label"},[t._v("\n "+t._s(t.$L("项目状态"))+"\n ")]),t._v(" "),n("div",{staticClass:"search-content"},[n("Select",{attrs:{placeholder:t.$L("请选择")},model:{value:t.keys.status,callback:function(e){t.$set(t.keys,"status",e)},expression:"keys.status"}},[n("Option",{attrs:{value:""}},[t._v(t._s(t.$L("全部")))]),t._v(" "),n("Option",{attrs:{value:"unarchived"}},[t._v(t._s(t.$L("未归档")))]),t._v(" "),n("Option",{attrs:{value:"archived"}},[t._v(t._s(t.$L("已归档")))])],1)],1)]),t._v(" "),n("li",{staticClass:"search-button"},[n("Tooltip",{attrs:{theme:"light",placement:"right","transfer-class-name":"search-button-clear",transfer:""}},[n("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("搜索")))]),t._v(" "),n("div",{attrs:{slot:"content"},slot:"content"},[n("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("刷新")))])],1)],1)],1)])]),t._v(" "),n("div",{staticClass:"table-page-box"},[n("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),t._v(" "),n("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowMax768,"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)])}),[],!1,null,null,null).exports;var b=n(70631);const y={name:"DragBallComponent",props:{id:{type:String,default:""},distanceLeft:{type:Number,default:-1},distanceRight:{type:Number,default:0},distanceTop:{type:Number,default:-1},distanceBottom:{type:Number,default:100},isScrollHidden:{type:Boolean,default:!1},isCanDraggable:{type:Boolean,default:!0},zIndex:{type:Number,default:50}},data:function(){return{clientWidth:null,clientHeight:null,top:0,left:0,timer:null,currentTop:0,isMoving:!1,record:{}}},created:function(){this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight},mounted:function(){var t=this;this.id&&($A.isJson(window._DragBallComponent)||(window._DragBallComponent={})),this.isCanDraggable&&this.$nextTick((function(){t.id&&$A.isJson(window._DragBallComponent[t.id])?(t.left=window._DragBallComponent[t.id].left,t.top=window._DragBallComponent[t.id].top):(t.distanceLeft>-1?t.left=t.distanceLeft:t.left=t.clientWidth-t.floatDrag.offsetWidth-t.distanceRight,t.distanceTop>-1?t.top=t.distanceTop:t.top=t.clientHeight-t.floatDrag.offsetHeight-t.distanceBottom),t.initDraggable()})),this.isScrollHidden&&window.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleResize)},beforeDestroy:function(){this.id&&(window._DragBallComponent[this.id]={left:this.left,top:this.top}),window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleResize)},computed:{dragStyle:function(){return{left:this.left+"px",top:this.top+"px",zIndex:this.zIndex,position:"fixed"}},floatDrag:function(){return this.$refs.floatDrag}},methods:{handleScroll:function(){var t=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout((function(){t.handleScrollEnd()}),200),this.currentTop=document.documentElement.scrollTop||document.body.scrollTop,this.left>this.clientWidth/2?this.left=this.clientWidth+this.floatDrag.offsetWidth:this.left=-this.floatDrag.offsetWidth},handleScrollEnd:function(){(document.documentElement.scrollTop||document.body.scrollTop)===this.currentTop&&(this.left>this.clientWidth/2?this.left=this.clientWidth-this.floatDrag.offsetWidth:this.left=0,clearTimeout(this.timer))},handleResize:function(){this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight,this.checkDraggablePosition()},initDraggable:function(){this.floatDrag.addEventListener("touchstart",this.toucheStart),this.floatDrag.addEventListener("touchmove",this.touchMove),this.floatDrag.addEventListener("touchend",this.touchEnd)},mouseDown:function(t){var e=this;this.record={time:(new Date).getTime(),top:this.floatDrag.offsetTop,left:this.floatDrag.offsetLeft,x:t.clientX-this.floatDrag.offsetLeft,y:t.clientY-this.floatDrag.offsetTop},this.floatDrag.style.transition="none",this.canClick=!1,document.onmousemove=function(t){var n=t.clientX-e.record.x,r=t.clientY-e.record.y;n<0?n=0:n>window.innerWidth-e.floatDrag.offsetWidth&&(n=window.innerWidth-e.floatDrag.offsetWidth),r<0?r=0:r>window.innerHeight-e.floatDrag.offsetHeight&&(r=window.innerHeight-e.floatDrag.offsetHeight),e.left=n,e.top=r},document.onmouseup=function(){document.onmousemove=null,document.onmouseup=null,e.checkDraggablePosition(),e.floatDrag.style.transition="all 0.3s",(Math.abs(e.record.top-e.floatDrag.offsetTop)<5&&Math.abs(e.record.left-e.floatDrag.offsetLeft)<5||(new Date).getTime()-e.record.time<200)&&e.$emit("on-click")}},toucheStart:function(){this.canClick=!1,this.floatDrag.style.transition="none"},touchMove:function(t){if(this.canClick=!0,1===t.targetTouches.length){var e=event.targetTouches[0],n=e.clientX-this.floatDrag.offsetWidth/2,r=e.clientY-this.floatDrag.offsetHeight/2;n<0?n=0:n>window.innerWidth-this.floatDrag.offsetWidth&&(n=window.innerWidth-this.floatDrag.offsetWidth),r<0?r=0:r>window.innerHeight-this.floatDrag.offsetHeight&&(r=window.innerHeight-this.floatDrag.offsetHeight),this.left=n,this.top=r}},touchEnd:function(){this.canClick&&(this.floatDrag.style.transition="all 0.3s",this.checkDraggablePosition())},checkDraggablePosition:function(){this.left+this.floatDrag.offsetWidth/2>=this.clientWidth/2?this.left=this.clientWidth-this.floatDrag.offsetWidth:this.left=0,this.top<0&&(this.top=0),this.top+this.floatDrag.offsetHeight>=this.clientHeight&&(this.top=this.clientHeight-this.floatDrag.offsetHeight)}}};const w=(0,u.Z)(y,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{ref:"floatDrag",style:t.dragStyle,on:{mousedown:function(e){return e.stopPropagation(),e.preventDefault(),t.mouseDown.apply(null,arguments)}}},[t._t("default")],2)}),[],!1,null,null,null).exports;var _=n(19246),C=n(22371);function k(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const D={name:"ReportMy",data:function(){return{loadIng:0,columns:[],lists:[],listPage:1,listTotal:0,listPageSize:20,noDataText:"",createAt:[],reportType:"",reportTypeList:[]}},mounted:function(){this.getLists()},computed:function(t){for(var e=1;e0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("搜索")))]),t._v(" "),n("div",{attrs:{slot:"content"},slot:"content"},[n("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("刷新")))])],1)],1)],1)])]),t._v(" "),n("div",{staticClass:"expand-button-group"},[n("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:t.addReport}},[t._v(t._s(t.$L("新增报告")))])],1)]),t._v(" "),n("div",{staticClass:"table-page-box"},[n("Table",{attrs:{columns:t.columns,data:t.lists,loading:t.loadIng>0,"no-data-text":t.$L(t.noDataText),stripe:""}}),t._v(" "),n("Page",{attrs:{total:t.listTotal,current:t.listPage,"page-size":t.listPageSize,disabled:t.loadIng>0,simple:t.windowMax768,"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)])}),[],!1,null,"5c19542f",null).exports;function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const O={name:"ReportReceive",data:function(){return{loadIng:0,columns:[],lists:[],listPage:1,listTotal:0,listPageSize:20,noDataText:"",username:"",reportType:"",createAt:[],reportTypeList:[]}},mounted:function(){this.getLists()},computed:function(t){for(var e=1;e0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("搜索")))]),t._v(" "),n("div",{attrs:{slot:"content"},slot:"content"},[n("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("刷新")))])],1)],1)],1)])]),t._v(" "),n("div",{staticClass:"table-page-box"},[n("Table",{attrs:{columns:t.columns,data:t.lists,loading:t.loadIng>0,"no-data-text":t.$L(t.noDataText),stripe:""}}),t._v(" "),n("Page",{attrs:{total:t.listTotal,current:t.listPage,"page-size":t.listPageSize,disabled:t.loadIng>0,simple:t.windowMax768,"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)])}),[],!1,null,"471ba53f",null).exports;var A=n(34910);const $={name:"Report",components:{DrawerOverlay:b.Z,ReportEdit:C.Z,ReportMy:S,ReportReceive:L,ReportDetail:A.Z},props:{reportUnreadNumber:{type:Number,default:0},reportType:{default:"my"}},data:function(){return{reportTabs:"my",showDetailDrawer:!1,showEditDrawer:!1,detailData:{},reportId:0}},mounted:function(){this.reportTabs=this.reportType,this.$isMainElectron&&this.$Electron.registerMsgListener("reportSaveSuccess",this.saveSuccess)},methods:{tabRebder:function(t){var e=this;return function(n){return n("div",t>0?[n("span",{class:"navbar-item-content"},e.$L("收到的汇报")),n("Badge",{class:"manage-box-report",props:{count:t}})]:[n("span",{class:"navbar-item-content"},e.$L("收到的汇报"))])}},onView:function(t){if(this.detailData=t,this.$emit("on-read"),this.$Electron){var e={title:t.title,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)};this.$Electron.sendMessage("windowRouter",{name:"report-"+t.id,path:"/single/report/detail/"+t.id,force:!1,config:e})}else this.showDetailDrawer=!0},onEditReport:function(t){if(this.reportId=t,this.$Electron){var e={title:this.$L(t>0?"修改报告":"新增报告"),parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)};this.$Electron.sendMessage("windowRouter",{name:"report-"+t,path:"/single/report/edit/"+t,force:!1,config:e})}else this.showEditDrawer=!0},saveSuccess:function(){this.reportId=0,this.reportTabs="my",this.showEditDrawer=!1,this.$refs.report&&this.$refs.report.getLists()}}};const N=(0,u.Z)($,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"report"},[n("Tabs",{model:{value:t.reportTabs,callback:function(e){t.reportTabs=e},expression:"reportTabs"}},[n("TabPane",{attrs:{label:t.$L("我的汇报"),name:"my"}},["my"===t.reportTabs?n("ReportMy",{ref:"report",on:{"on-view":t.onView,"on-edit":t.onEditReport}}):t._e()],1),t._v(" "),n("TabPane",{attrs:{label:t.tabRebder(t.reportUnreadNumber),name:"receive"}},["receive"===t.reportTabs?n("ReportReceive",{on:{"on-view":t.onView}}):t._e()],1)],1),t._v(" "),n("DrawerOverlay",{attrs:{placement:"right",size:950,transfer:""},model:{value:t.showDetailDrawer,callback:function(e){t.showDetailDrawer=e},expression:"showDetailDrawer"}},[t.showDetailDrawer?n("ReportDetail",{attrs:{data:t.detailData}}):t._e()],1),t._v(" "),n("DrawerOverlay",{attrs:{placement:"right",size:1e3,transfer:""},model:{value:t.showEditDrawer,callback:function(e){t.showEditDrawer=e},expression:"showEditDrawer"}},[t.showEditDrawer?n("ReportEdit",{attrs:{id:t.reportId},on:{saveSuccess:t.saveSuccess}}):t._e()],1)],1)}),[],!1,null,null,null).exports,P=(t,e)=>!(!t||!e)&&("String"===t?"string"==typeof e:"Object"===t?"[object Object]"===Object.prototype.toString.call(e):"number"===t?"number"==typeof e:"function"===t&&"[object Function]"===Object.prototype.toString.call(e)),I=(t,e,n)=>t.findIndex((t=>t[e]===n));const R=class{constructor(t="默认标题",e={}){this.title=t,this.options=e,this.support=!1,this.supportFn()}supportFn(){window.Notification?(this.initStatus(),this.support=!0):this.support=!1}initStatus(){this.notification=null,this.state=Notification.permission,this.msg=null,this.callBackObj={},this.notificationAll=[],this.requireInteractionTimeout=!1,this.timeout=null}initNotification(t){if(this.checkStatus("support")){if(!P("function",t))return console.error("initNotification的参数必须为函数");if("granted"===this.state)this.msg="already granted";else if("default"===this.state){const e=e=>(this.state=e,this.msg="granted"===e?"granted":"default"===e?"close":"denied",t(this.msg));try{Notification.requestPermission().then(e)}catch(t){Notification.requestPermission(e)}}else this.msg="already denied";return"default"!==this.state?t(this.msg):void 0}}userAgreed(){if(this.checkStatus("userAgreed")){this.notification=new Notification(this.title,this.options),this.notificationWatch();for(const t in this.callBackObj)this.notification[t]=e=>{this.callBackObj[t](e)}}}notificationTimeoutFn(t){t&&P("number",t)?this.timeout=t:this.timeout=5e3}notificationWatch(){this.notificationAll.push(this.notification),this.notification.requireInteraction?this.everyTimeout():this.autoClose(),this.watchClose()}everyTimeout(){P("number",this.timeout)&&(this.options.timeOut&&P("number",this.options.timeOut)?this.timeoutCloseFn(this.options.timeOut):this.timeoutCloseFn(this.timeout))}timeoutCloseFn(t){const e=this.notification.timestamp;setTimeout((()=>{const t=I(this.notificationAll,"timestamp",e);-1!==t&&this.notificationAll[t].close()}),t)}watchClose(){const t=this.notification.timestamp;this.notification.addEventListener("close",(e=>{const n=I(this.notificationAll,"timestamp",t);-1!==n&&this.notificationAll.splice(n,1)}))}autoClose(){const t=this.notification.timestamp;setTimeout((()=>{const e=I(this.notificationAll,"timestamp",t);-1!==e&&this.notificationAll.splice(e,1)}),6e3)}notificationEvent(t){if(this.checkStatus("support")){if(!P("Object",t))return console.error("callObj必须为对象");for(const e in t)if(!P("function",t[e]))return console.error("callObj对象中的每个value必须为函数");this.callBackObj=t}}closeAll(){for(let t of this.notificationAll.values())t.close();this.notificationAll=[]}close(){if(!this.notification)return console.warn("this.notification为null,通知尚未调用/用户未同意显示通知");this.notification.close()}updateOptions(t){if(t&&P("Object",t))for(const e in t)this.options[e]=t[e];else console.warn("updateOptions参数错误:options为必填对象")}replaceTitle(t){t&&P("String",t)?this.title=t:console.warn("replaceTitle: title(通知标题)为必填字符串")}replaceOptions(t){t&&P("Object",t)?this.options=t:console.warn("replaceOptions参数错误:options为必填对象")}checkStatus(t){if("support"===t){if(!this.support)return console.warn("用户浏览器不支持"),!1}else if("userAgreed"===t){if("granted"!==this.state)return!1;if(!this.checkStatus("support"))return!1}return!0}};var B=n(80641);function M(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function j(t){for(var e=1;e-1})):n},taskStyle:function(){var t=this.innerHeight;return{maxHeight:t-(t>900?200:70)-20+"px"}},overlayClass:function(){return{"overlay-y":!0,"overlay-none":!0===this.topOperateVisible}},taskBrowseLists:function(){var t=this.cacheTasks,e=this.cacheTaskBrowse,n=this.userId;return e.filter((function(t){return t.userid===n})).map((function(e){var n=e.id;return t.find((function(t){return t.id===n}))||{}}))}}),watch:{$route:function(t){this.curPath=t.path,this.chackPass()},userInfo:function(){this.chackPass()},taskId:function(t){t>0&&this.$Modal.resetIndex()},projectKeyValue:function(t){var e=this;""!=t&&setTimeout((function(){e.projectKeyValue==t&&e.searchProject()}),600)},natificationHidden:function(t){var e=this;clearTimeout(this.notificationTimeout),!t&&this.notificationClass&&(this.notificationTimeout=setTimeout((function(){e.notificationClass.close()}),6e3))},wsOpenNum:function(t){var e=this;t<=1||(this.wsOpenTimeout&&clearTimeout(this.wsOpenTimeout),this.wsOpenTimeout=setTimeout((function(){e.$store.dispatch("getBasicData"),e.getReportUnread()}),5e3))},workReportShow:function(t){t&&this.getReportUnread(0)},unreadTotal:{handler:function(t){this.$Electron&&this.$Electron.sendMessage("setDockBadge",t)},immediate:!0},wsMsg:{handler:function(t){var e=t.type,n=t.action;if("report"===e)"unreadUpdate"==n&&this.getReportUnread()},deep:!0}},methods:{initLanguage:function(){this.addRule={name:[{required:!0,message:this.$L("请填写项目名称!"),trigger:"change"},{type:"string",min:2,message:this.$L("项目名称至少2个字!"),trigger:"change"}]}},innerHeightListener:function(){this.innerHeight=window.innerHeight},chackPass:function(){1===this.userInfo.changepass&&this.goForward({name:"manage-setting-password"})},setTheme:function(t){this.$store.dispatch("setTheme",t)},toggleRoute:function(t){this.show768Menu=!1,this.goForward({path:"/manage/"+t})},toggleOpenMenu:function(t){this.$set(this.openMenu,t,!this.openMenu[t])},settingRoute:function(t){var e=this;switch(t){case"allUser":return void(this.allUserShow=!0);case"allProject":return void(this.allProjectShow=!0);case"archivedProject":return void(this.archivedProjectShow=!0);case"exportTask":return void(this.exportTaskShow=!0);case"workReport":return this.reportUnreadNumber>0&&(this.reportTabs="receive"),void(this.workReportShow=!0);case"version":return void B.Store.set("updateNotification",null);case"clearCache":return void this.$store.dispatch("handleClearCache",null).then((function(){$A.setStorage("clearCache",$A.randomString(6)),window.location.reload()})).catch((function(){window.location.reload()}));case"logout":return void $A.modalConfirm({title:"退出登录",content:"你确定要登出系统?",onOk:function(){e.$store.dispatch("logout",!1)}})}this.menu.findIndex((function(e){return e.path==t}))>-1&&this.toggleRoute("setting/"+t)},menuVisibleChange:function(t){this.visibleMenu=t},classNameRoute:function(t){return{active:this.curPath=="/manage/"+t}},classNameProject:function(t){var e="project/"+t.id,n=this.openMenu[t.id];return{active:this.curPath=="/manage/"+e,"open-menu":!0===n,operate:t.id==this.topOperateItem.id&&this.topOperateVisible}},onAddShow:function(){var t=this;this.$store.dispatch("getColumnTemplate").catch((function(){})),this.addShow=!0,this.$nextTick((function(){t.$refs.projectName.focus()}))},onAddProject:function(){var t=this;this.$refs.addProject.validate((function(e){e&&(t.loadIng++,t.$store.dispatch("call",{url:"project/add",data:t.addData}).then((function(e){var n=e.data,r=e.msg;$A.messageSuccess(r),t.loadIng--,t.addShow=!1,t.$refs.addProject.resetFields(),t.$store.dispatch("saveProject",n),t.toggleRoute("project/"+n.id)})).catch((function(e){var n=e.msg;$A.modalError(n),t.loadIng--})))}))},searchProject:function(){var t=this;!0!==this.projectKeyAlready[this.projectKeyValue]&&(this.projectKeyAlready[this.projectKeyValue]=!0,setTimeout((function(){t.projectKeyLoading++}),1e3),this.$store.dispatch("getProjects",{keys:{name:this.projectKeyValue}}).then((function(){t.projectKeyLoading--})).catch((function(){t.projectKeyLoading--})))},selectChange:function(t){var e=this;this.$nextTick((function(){e.$set(e.addData,"columns",e.columns[t].columns.join(","))}))},shortcutEvent:function(t){(t.metaKey||t.ctrlKey)&&(75===t.keyCode||78===t.keyCode?(t.preventDefault(),this.onAddTask(0)):83===t.keyCode&&this.taskId>0&&(t.preventDefault(),this.$refs.taskDetail.checkUpdate(!0)))},onAddTask:function(t){this.$refs.addTask.defaultPriority(),this.$refs.addTask.setData($A.isJson(t)?t:{owner:[this.userId],column_id:t}),this.addTaskShow=!0},openTask:function(t){this.$store.dispatch("openTask",t)},addDialogMsg:function(t){var e=this;if(this.natificationReady&&(this.natificationHidden||"/manage/messenger"!=this.curPath||this.dialogOpenId!=t.dialog_id)){var n=t.id,r=t.dialog_id,o=t.type,i=t.msg,a="";switch(o){case"text":a=i.text;break;case"file":a="["+this.$L("img"==i.type?"图片信息":"文件信息")+"]";break;default:return}this._notificationId=n,this.notificationClass.replaceOptions({icon:$A.originUrl("images/logo.png"),body:a,data:t,tag:"dialog",requireInteraction:!0});var s=this.cacheDialogs.find((function(t){return t.id==r}));s?(this.notificationClass.replaceTitle(s.name),this.notificationClass.userAgreed()):this.$store.dispatch("getDialogOne",r).then((function(t){var r=t.data;e._notificationId===n&&(e.notificationClass.replaceTitle(r.name),e.notificationClass.userAgreed())})).catch((function(){}))}},taskVisibleChange:function(t){t||this.openTask(0)},getReportUnread:function(t){var e=this;this.reportUnreadTimeout&&clearTimeout(this.reportUnreadTimeout),this.reportUnreadTimeout=setTimeout((function(){e.$store.dispatch("call",{url:"report/unread"}).then((function(t){var n=t.data;e.reportUnreadNumber=n.total||0})).catch((function(){}))}),"number"==typeof t?t:1e3)},handleRightClick:function(t,e){var n=this;this.handleClickTopOperateOutside(),this.topOperateItem=e,this.$nextTick((function(){var e=n.$refs.projectWrapper.getBoundingClientRect();n.topOperateStyles={left:"".concat(t.clientX-e.left,"px"),top:"".concat(t.clientY-e.top,"px")},n.topOperateVisible=!0}))},handleClickTopOperateOutside:function(){this.topOperateVisible=!1},handleTopClick:function(){var t=this;this.$store.dispatch("call",{url:"project/top",data:{project_id:this.topOperateItem.id}}).then((function(e){var n=e.data;t.$store.dispatch("saveProject",n),t.$nextTick((function(){var e=t.$refs.projectWrapper.querySelector(".active");e&&$A.scrollToView(e,{behavior:"instant",scrollMode:"if-needed"})}))})).catch((function(t){var e=t.msg;$A.modalError(e)}))},onExportTask:function(){var t=this;this.exportLoadIng>0||(this.exportLoadIng++,this.$store.dispatch("call",{url:"project/task/export",data:this.exportData}).then((function(e){var n=e.data;t.exportLoadIng--,t.exportTaskShow=!1,t.$store.dispatch("downUrl",{url:n.url})})).catch((function(e){var n=e.msg;t.exportLoadIng--,$A.modalError(n)})))},notificationInit:function(){var t=this;this.notificationClass=new R(this.$L("打开通知成功")),this.notificationClass.support&&(this.notificationClass.notificationEvent({onclick:function(e){var n=e.target;console.log("[Notification] Click",n),t.notificationClass.close(),window.focus();var r=n.tag,o=n.data;if("dialog"==r){if(!$A.isJson(o))return;t.goForward({name:"manage-messenger"}),o.dialog_id&&($A.setStorage("messenger::dialogId",o.dialog_id),t.$store.state.dialogOpenId=o.dialog_id)}}}),this.notificationPermission())},notificationPermission:function(){var t=this;this.notificationClass.initNotification((function e(n){switch(n){case"already granted":case"granted":return t.natificationReady=!0;case"close":return t.notificationClass.initNotification(e);case"denied":case"already denied":"denied"===n?console.log("您刚刚拒绝显示通知 请在设置中更改设置"):console.log("您曾级拒绝显示通知 请在设置中更改设置")}}))},onVisibilityChange:function(){var t=this,e="hidden"in document?"hidden":"webkitHidden"in document?"webkitHidden":"mozHidden"in document?"mozHidden":null,n=e.replace(/hidden/i,"visibilitychange");document.addEventListener(n,(function(){t.natificationHidden=!!document[e]}))}}};const U=(0,u.Z)(F,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.userId>0,expression:"userId > 0"}],staticClass:"page-manage"},[n("div",{staticClass:"manage-box-menu",class:{"show768-menu":t.show768Menu}},[n("Dropdown",{staticClass:"manage-box-dropdown",attrs:{trigger:"click"},on:{"on-click":t.settingRoute,"on-visible-change":t.menuVisibleChange}},[n("div",{class:["manage-box-title",t.visibleMenu?"menu-visible":""]},[n("div",{staticClass:"manage-box-avatar"},[n("UserAvatar",{attrs:{userid:t.userId,size:36,tooltipDisabled:""}})],1),t._v(" "),n("span",[t._v(t._s(t.userInfo.nickname))]),t._v(" "),t.reportUnreadNumber>0?n("Badge",{staticClass:"manage-box-top-report",attrs:{count:t.reportUnreadNumber}}):t.clientNewVersion?n("Badge",{staticClass:"manage-box-top-report",attrs:{dot:""}}):t._e(),t._v(" "),n("div",{staticClass:"manage-box-arrow"},[n("Icon",{attrs:{type:"ios-arrow-up"}}),t._v(" "),n("Icon",{attrs:{type:"ios-arrow-down"}})],1)],1),t._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t._l(t.menu,(function(e){return["taskBrowse"===e.path?n("Dropdown",{attrs:{transfer:"",placement:"right-start"}},[n("DropdownItem",[n("div",{staticClass:"manage-menu-flex"},[t._v("\n "+t._s(t.$L(e.name))+"\n "),n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t._v(" "),t.taskBrowseLists.length>0?n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.taskBrowseLists,(function(e,r){return e.id>0&&r<10?n("DropdownItem",{key:r,staticClass:"task-title",attrs:{name:e.name},nativeOn:{click:function(n){return t.openTask(e)}}},[t._v(t._s(e.name))]):t._e()})),1):n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{staticStyle:{color:"darkgrey"}},[t._v(t._s(t.$L("暂无打开记录")))])],1)],1):"team"===e.path?n("Dropdown",{attrs:{transfer:"",placement:"right-start"}},[n("DropdownItem",{attrs:{divided:""}},[n("div",{staticClass:"manage-menu-flex"},[t._v("\n "+t._s(t.$L(e.name))+"\n "),t.reportUnreadNumber>0?n("Badge",{staticClass:"manage-menu-report-badge",attrs:{count:t.reportUnreadNumber}}):n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{attrs:{name:"allUser"}},[t._v(t._s(t.$L("团队管理")))]),t._v(" "),n("DropdownItem",{attrs:{name:"workReport"}},[n("div",{staticClass:"manage-menu-flex"},[t._v("\n "+t._s(t.$L("工作报告"))+"\n "),t.reportUnreadNumber>0?n("Badge",{staticClass:"manage-menu-report-badge",attrs:{count:t.reportUnreadNumber}}):t._e()],1)]),t._v(" "),n("DropdownItem",{attrs:{name:"exportTask"}},[t._v(t._s(t.$L("导出任务统计")))])],1)],1):"theme"===e.path?n("Dropdown",{attrs:{placement:"right-start",transfer:""},on:{"on-click":t.setTheme}},[n("DropdownItem",{attrs:{divided:""}},[n("div",{staticClass:"manage-menu-flex"},[t._v("\n "+t._s(t.$L(e.name))+"\n "),n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.themeList,(function(e,r){return n("DropdownItem",{key:r,attrs:{name:e.value,selected:t.themeMode===e.value}},[t._v(t._s(t.$L(e.name)))])})),1)],1):"language"===e.path?n("Dropdown",{attrs:{placement:"right-start",transfer:""},on:{"on-click":t.setLanguage}},[n("DropdownItem",{attrs:{divided:""}},[n("div",{staticClass:"manage-menu-flex"},[t._v("\n "+t._s(t.currentLanguage)+"\n "),n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.languageList,(function(e,r){return n("DropdownItem",{key:r,attrs:{name:r,selected:t.getLanguage()===r}},[t._v(t._s(e))])})),1)],1):!1!==e.visible?n("DropdownItem",{style:e.style||{},attrs:{divided:!!e.divided,name:e.path}},[n("div",{staticClass:"manage-menu-flex"},[t._v("\n "+t._s(t.$L(e.name))+"\n "),"version"===e.path?n("Badge",{staticClass:"manage-menu-report-badge",attrs:{text:t.clientNewVersion}}):"workReport"===e.path&&t.reportUnreadNumber>0?n("Badge",{staticClass:"manage-menu-report-badge",attrs:{count:t.reportUnreadNumber}}):t._e()],1)]):t._e()]}))],2)],1),t._v(" "),n("ul",{class:t.overlayClass,on:{scroll:t.handleClickTopOperateOutside}},[n("li",{class:t.classNameRoute("dashboard"),on:{click:function(e){return t.toggleRoute("dashboard")}}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(" "),n("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("仪表盘")))]),t._v(" "),t.dashboardTask.overdue.length>0?n("Badge",{staticClass:"menu-badge",attrs:{type:"error",count:t.dashboardTask.overdue.length}}):t.dashboardTask.today.length>0?n("Badge",{staticClass:"menu-badge",attrs:{type:"info",count:t.dashboardTask.today.length}}):t.dashboardTask.all.length>0?n("Badge",{staticClass:"menu-badge",attrs:{type:"primary",count:t.dashboardTask.all.length}}):t._e()],1),t._v(" "),n("li",{class:t.classNameRoute("calendar"),on:{click:function(e){return t.toggleRoute("calendar")}}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(" "),n("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("日历")))])]),t._v(" "),n("li",{class:t.classNameRoute("messenger"),on:{click:function(e){return t.toggleRoute("messenger")}}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(" "),n("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("消息")))]),t._v(" "),n("Badge",{staticClass:"menu-badge",attrs:{count:t.msgAllUnread}})],1),t._v(" "),n("li",{class:t.classNameRoute("file"),on:{click:function(e){return t.toggleRoute("file")}}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(" "),n("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("文件")))])]),t._v(" "),n("li",{ref:"projectWrapper",staticClass:"menu-project"},[n("ul",{class:t.overlayClass,on:{scroll:t.handleClickTopOperateOutside}},t._l(t.projectLists,(function(e,r){return n("li",{key:r,class:t.classNameProject(e),on:{click:function(n){return t.toggleRoute("project/"+e.id)},contextmenu:function(n){return n.preventDefault(),n.stopPropagation(),t.handleRightClick(n,e)}}},[n("div",{staticClass:"project-h1"},[n("em",{on:{click:function(n){return n.stopPropagation(),t.toggleOpenMenu(e.id)}}}),t._v(" "),n("div",{staticClass:"title"},[t._v(t._s(e.name))]),t._v(" "),e.top_at?n("div",{staticClass:"icon-top"}):t._e(),t._v(" "),e.task_my_num-e.task_my_complete>0?n("div",{staticClass:"num"},[t._v(t._s(e.task_my_num-e.task_my_complete))]):t._e()]),t._v(" "),n("div",{staticClass:"project-h2"},[n("p",[n("em",[t._v(t._s(t.$L("我的"))+":")]),t._v(" "),n("span",[t._v(t._s(e.task_my_complete)+"/"+t._s(e.task_my_num))]),t._v(" "),n("Progress",{attrs:{percent:e.task_my_percent,"stroke-width":6}})],1),t._v(" "),n("p",[n("em",[t._v(t._s(t.$L("全部"))+":")]),t._v(" "),n("span",[t._v(t._s(e.task_complete)+"/"+t._s(e.task_num))]),t._v(" "),n("Progress",{attrs:{percent:e.task_percent,"stroke-width":6}})],1)])])})),0),t._v(" "),t.loadIng>0?n("Loading"):t._e(),t._v(" "),n("div",{staticClass:"top-operate",style:t.topOperateStyles},[n("Dropdown",{attrs:{trigger:"custom",visible:t.topOperateVisible,"transfer-class-name":"page-file-dropdown-menu",transfer:""},on:{"on-clickoutside":t.handleClickTopOperateOutside}},[n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{nativeOn:{click:function(e){return t.handleTopClick.apply(null,arguments)}}},[t._v("\n "+t._s(t.$L(t.topOperateItem.top_at?"取消置顶":"置顶该项目"))+"\n ")])],1)],1)],1)],1)]),t._v(" "),t.projectTotal>20?n("div",{staticClass:"manage-project-search",class:{loading:t.projectKeyLoading>0}},[n("Input",{attrs:{prefix:"ios-search",placeholder:t.$L("共"+t.projectTotal+"个项目,搜索..."),clearable:""},model:{value:t.projectKeyValue,callback:function(e){t.projectKeyValue=e},expression:"projectKeyValue"}})],1):t._e(),t._v(" "),n("ButtonGroup",{staticClass:"manage-box-new-group"},[n("Button",{staticClass:"manage-box-new",attrs:{type:"primary",icon:"md-add"},on:{click:t.onAddShow}},[t._v(t._s(t.$L("新建项目")))]),t._v(" "),n("Dropdown",{on:{"on-click":function(e){return t.onAddTask(0)}}},[n("Button",{attrs:{type:"primary"}},[n("Icon",{attrs:{type:"ios-arrow-down"}})],1),t._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",[t._v(t._s(t.$L("新建任务"))+" ("+t._s(t.mateName)+"+K)")])],1)],1)],1)],1),t._v(" "),n("div",{staticClass:"manage-box-main"},[n("keep-alive",[n("router-view",{staticClass:"manage-box-view overlay"})],1)],1),t._v(" "),n("Modal",{attrs:{title:t.$L("新建项目"),"mask-closable":!1},model:{value:t.addShow,callback:function(e){t.addShow=e},expression:"addShow"}},[n("Form",{ref:"addProject",attrs:{model:t.addData,rules:t.addRule,"label-width":"auto"},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{prop:"name",label:t.$L("项目名称")}},[n("Input",{ref:"projectName",attrs:{type:"text"},model:{value:t.addData.name,callback:function(e){t.$set(t.addData,"name",e)},expression:"addData.name"}})],1),t._v(" "),t.addData.columns?n("FormItem",{attrs:{label:t.$L("任务列表")}},[n("TagInput",{model:{value:t.addData.columns,callback:function(e){t.$set(t.addData,"columns",e)},expression:"addData.columns"}})],1):n("FormItem",{attrs:{label:t.$L("项目模板")}},[n("Select",{attrs:{value:0,placeholder:t.$L("请选择模板")},on:{"on-change":t.selectChange}},t._l(t.columns,(function(e,r){return n("Option",{key:r,attrs:{value:r}},[t._v(t._s(e.name))])})),1)],1),t._v(" "),n("FormItem",{attrs:{prop:"flow",label:t.$L("开启工作流")}},[n("RadioGroup",{model:{value:t.addData.flow,callback:function(e){t.$set(t.addData,"flow",e)},expression:"addData.flow"}},[n("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("开启")))]),t._v(" "),n("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("关闭")))])],1)],1)],1),t._v(" "),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(e){t.addShow=!1}}},[t._v(t._s(t.$L("取消")))]),t._v(" "),n("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onAddProject}},[t._v(t._s(t.$L("添加")))])],1)],1),t._v(" "),n("Modal",{attrs:{"mask-closable":!1,styles:{width:"90%",maxWidth:"640px"},"footer-hide":""},model:{value:t.addTaskShow,callback:function(e){t.addTaskShow=e},expression:"addTaskShow"}},[n("TaskAdd",{ref:"addTask",model:{value:t.addTaskShow,callback:function(e){t.addTaskShow=e},expression:"addTaskShow"}})],1),t._v(" "),n("Modal",{attrs:{title:t.$L("导出任务统计"),"mask-closable":!1},model:{value:t.exportTaskShow,callback:function(e){t.exportTaskShow=e},expression:"exportTaskShow"}},[n("Form",{ref:"exportTask",attrs:{model:t.exportData,"label-width":"auto"},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:t.$L("导出会员")}},[n("UserInput",{attrs:{"multiple-max":20,placeholder:t.$L("请选择会员")},model:{value:t.exportData.userid,callback:function(e){t.$set(t.exportData,"userid",e)},expression:"exportData.userid"}})],1),t._v(" "),n("FormItem",{attrs:{label:t.$L("时间范围")}},[n("DatePicker",{staticStyle:{width:"100%"},attrs:{type:"daterange",format:"yyyy/MM/dd",placeholder:t.$L("请选择时间")},model:{value:t.exportData.time,callback:function(e){t.$set(t.exportData,"time",e)},expression:"exportData.time"}})],1),t._v(" "),n("FormItem",{attrs:{prop:"type",label:t.$L("导出时间类型")}},[n("RadioGroup",{model:{value:t.exportData.type,callback:function(e){t.$set(t.exportData,"type",e)},expression:"exportData.type"}},[n("Radio",{attrs:{label:"taskTime"}},[t._v(t._s(t.$L("任务时间")))]),t._v(" "),n("Radio",{attrs:{label:"createdTime"}},[t._v(t._s(t.$L("创建时间")))])],1)],1)],1),t._v(" "),n("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"default"},on:{click:function(e){t.exportTaskShow=!1}}},[t._v(t._s(t.$L("取消")))]),t._v(" "),n("Button",{attrs:{type:"primary",loading:t.exportLoadIng>0},on:{click:t.onExportTask}},[t._v(t._s(t.$L("导出")))])],1)],1),t._v(" "),n("Modal",{attrs:{value:t.taskId>0,styles:{width:"90%",maxWidth:t.taskData.dialog_id?"1200px":"700px"},"mask-closable":!1,"footer-hide":!0},on:{"on-visible-change":t.taskVisibleChange}},[n("div",{staticClass:"page-manage-task-modal",style:t.taskStyle},[n("TaskDetail",{ref:"taskDetail",attrs:{"task-id":t.taskId,"open-task":t.taskData}})],1)]),t._v(" "),n("DrawerOverlay",{attrs:{placement:"right",size:1100},model:{value:t.workReportShow,callback:function(e){t.workReportShow=e},expression:"workReportShow"}},[t.workReportShow?n("Report",{attrs:{reportType:t.reportTabs,reportUnreadNumber:t.reportUnreadNumber},on:{"on-read":t.getReportUnread}}):t._e()],1),t._v(" "),n("DrawerOverlay",{attrs:{placement:"right",size:1100},model:{value:t.allUserShow,callback:function(e){t.allUserShow=e},expression:"allUserShow"}},[t.allUserShow?n("TeamManagement"):t._e()],1),t._v(" "),n("DrawerOverlay",{attrs:{placement:"right",size:1100},model:{value:t.allProjectShow,callback:function(e){t.allProjectShow=e},expression:"allProjectShow"}},[t.allProjectShow?n("ProjectManagement"):t._e()],1),t._v(" "),n("DrawerOverlay",{attrs:{placement:"right",size:1100},model:{value:t.archivedProjectShow,callback:function(e){t.archivedProjectShow=e},expression:"archivedProjectShow"}},[t.archivedProjectShow?n("ProjectArchived"):t._e()],1),t._v(" "),n("DragBallComponent",{attrs:{distanceLeft:0,distanceTop:60},on:{"on-click":function(e){t.show768Menu=!t.show768Menu}}},[n("div",{staticClass:"manage-mini-menu"},[n("Icon",{attrs:{type:t.show768Menu?"md-close":"md-menu"}}),t._v(" "),n("Badge",{attrs:{count:t.unreadTotal}})],1)])],1)}),[],!1,null,null,null).exports},75225:(t,e,n)=>{"use strict";n.d(e,{Z:()=>k});var r=n(30264),o=n(86877),i=n(20629);const a={name:"WCircle",props:{percent:{type:Number,default:0},size:{type:Number,default:120}},computed:{style:function(){var t=this.size;return this.isNumeric(t)&&(t+="px"),{width:t,height:t}},args:function(){var t=this.percent,e=Math.min(360,3.6*t);return 360==e?e=0:0==e&&(e=360),{x:14,y:14,r:14,start:360,end:e}}},methods:{isNumeric:function(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)},point:function(t,e,n,r){return[(t+Math.sin(r)*n).toFixed(2),(e-Math.cos(r)*n).toFixed(2)]},full:function(t,e,n,r){return r<=0?"M ".concat(t-n," ").concat(e," A ").concat(n," ").concat(n," 0 1 1 ").concat(t+n," ").concat(e," A ").concat(n," ").concat(n," 1 1 1 ").concat(t-n," ").concat(e," Z"):"M ".concat(t-n," ").concat(e," A ").concat(n," ").concat(n," 0 1 1 ").concat(t+n," ").concat(e," A ").concat(n," ").concat(n," 1 1 1 ").concat(t-n," ").concat(e," M ").concat(t-r," ").concat(e," A ").concat(r," ").concat(r," 0 1 1 ").concat(t+r," ").concat(e," A ").concat(r," ").concat(r," 1 1 1 ").concat(t-r," ").concat(e," Z")},part:function(t,e,n,r,o,i){var a=o/360*2*Math.PI,s=i/360*2*Math.PI,u=[this.point(t,e,r,a),this.point(t,e,n,a),this.point(t,e,n,s),this.point(t,e,r,s)],c=s-a>Math.PI?"1":"0";return"M ".concat(u[0][0]," ").concat(u[0][1]," L ").concat(u[1][0]," ").concat(u[1][1]," A ").concat(n," ").concat(n," 0 ").concat(c," 1 ").concat(u[2][0]," ").concat(u[2][1]," L ").concat(u[3][0]," ").concat(u[3][1]," A ").concat(r," ").concat(r," 0 ").concat(c," 0 ").concat(u[0][0]," ").concat(u[0][1]," Z")},arc:function(t){var e=t.x,n=void 0===e?0:e,r=t.y,o=void 0===r?0:r,i=t.R,a=void 0===i?0:i,s=t.r,u=void 0===s?0:s,c=t.start,l=t.end,d=[Math.max(a,u),Math.min(a,u)];if(u=d[1],(a=d[0])<=0)return"";if(c!==+c||l!==+l)return this.full(n,o,a,u);if(Math.abs(c-l)<1e-6)return"";if(Math.abs(c-l)%360<1e-6)return this.full(n,o,a,u);var f=[c%360,l%360];return(c=f[0])>(l=f[1])&&(l+=360),this.part(n,o,a,u,c,l)}}};var s=n(51900);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e180||n>180)&&(e>n?(r=180,o=n*(180/e)):(r=e*(180/n),o=180)),{width:r+"px",height:o+"px"}}return{}},withdraw:function(){var t=this;$A.modalConfirm({content:"确定撤回此信息吗?",okText:"撤回",loading:!0,onOk:function(){t.$store.dispatch("call",{url:"dialog/msg/withdraw",data:{msg_id:t.msgData.id}}).then((function(){$A.messageSuccess("消息已撤回"),t.$store.dispatch("forgetDialogMsg",t.msgData.id),t.$Modal.remove()})).catch((function(e){var n=e.msg;$A.messageError(n,301),t.$Modal.remove()}))}})},viewFile:function(){var t=this.msgData,e=t.id,n=t.dialog_id,r=t.msg;if(["jpg","jpeg","gif","png"].includes(r.ext)){var o=$A.cloneJSON(this.dialogMsgs.filter((function(t){return t.dialog_id===n&&"file"===t.type&&["jpg","jpeg","gif","png"].includes(t.msg.ext)}))).sort((function(t,e){return t.id-e.id})),i=o.findIndex((function(t){return t.id===e}));i>-1?(this.$store.state.previewImageIndex=i,this.$store.state.previewImageList=o.map((function(t){return t.msg.path}))):(this.$store.state.previewImageIndex=0,this.$store.state.previewImageList=[r.path])}else this.$Electron?this.$Electron.sendMessage("windowRouter",{name:"file-msg-"+this.msgData.id,path:"/single/file/msg/"+this.msgData.id,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:"".concat(this.msgData.msg.name," (").concat($A.bytesToSize(this.msgData.msg.size),")"),titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)}}):window.open($A.apiUrl("../single/file/msg/".concat(this.msgData.id)))},downFile:function(){var t=this;$A.modalConfirm({title:"下载文件",content:"".concat(this.msgData.msg.name," (").concat($A.bytesToSize(this.msgData.msg.size),")"),okText:"立即下载",onOk:function(){t.$store.dispatch("downUrl",$A.apiUrl("dialog/msg/download?msg_id=".concat(t.msgData.id)))}})}}};const f=(0,s.Z)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:"dialog-view "+t.msgData.type,attrs:{"data-id":t.msgData.id}},[n("div",{staticClass:"dialog-head"},[n("div",{staticClass:"dialog-content"},["text"===t.msgData.type?n("div",{staticClass:"content-text"},[n("pre",{staticClass:"no-dark-mode"},[t._v(t._s(t.textMsg(t.msgData.msg.text)))])]):"file"===t.msgData.type?n("div",{class:"content-file "+t.msgData.msg.type},[n("div",{staticClass:"dialog-file"},["img"===t.msgData.msg.type?n("img",{staticClass:"file-img",style:t.imageStyle(t.msgData.msg),attrs:{src:t.msgData.msg.thumb},on:{click:t.viewFile}}):n("div",{staticClass:"file-box"},[n("img",{staticClass:"file-thumb",attrs:{src:t.msgData.msg.thumb}}),t._v(" "),n("div",{staticClass:"file-info"},[n("div",{staticClass:"file-name"},[t._v(t._s(t.msgData.msg.name))]),t._v(" "),n("div",{staticClass:"file-size"},[t._v(t._s(t.$A.bytesToSize(t.msgData.msg.size)))])])])])]):"loading"===t.msgData.type?n("div",{staticClass:"content-loading"},[n("Loading")],1):n("div",{staticClass:"content-unknown"},[t._v(t._s(t.$L("未知的消息类型")))])]),t._v(" "),t.showMenu?n("div",{staticClass:"dialog-menu"},[n("div",{staticClass:"menu-icon"},[t.msgData.userid==t.userId?n("Icon",{attrs:{type:"md-undo",title:t.$L("撤回")},on:{click:t.withdraw}}):t._e(),t._v(" "),"file"===t.msgData.type?[n("Icon",{attrs:{type:"md-eye",title:t.$L("查看")},on:{click:t.viewFile}}),t._v(" "),n("Icon",{attrs:{type:"md-arrow-round-down",title:t.$L("下载")},on:{click:t.downFile}})]:t._e()],2)]):t._e()]),t._v(" "),t.msgData.created_at?n("div",{staticClass:"dialog-foot"},[n("div",{staticClass:"time",attrs:{title:t.msgData.created_at}},[t._v(t._s(t.$A.formatTime(t.msgData.created_at)))]),t._v(" "),t.msgData.send>1||"group"==t.dialogType?n("EPopover",{ref:"percent",staticClass:"percent",attrs:{placement:"left-end",width:360,offset:-8},model:{value:t.popperShow,callback:function(e){t.popperShow=e},expression:"popperShow"}},[n("div",{staticClass:"dialog-wrapper-read-poptip-content"},[n("ul",{staticClass:"read overlay-y"},[n("li",{staticClass:"read-title"},[n("em",[t._v(t._s(t.readList.length))]),t._v(t._s(t.$L("已读")))]),t._v(" "),t._l(t.readList,(function(t){return n("li",[n("UserAvatar",{attrs:{userid:t.userid,size:26,showName:""}})],1)}))],2),t._v(" "),n("ul",{staticClass:"unread overlay-y"},[n("li",{staticClass:"read-title"},[n("em",[t._v(t._s(t.unreadList.length))]),t._v(t._s(t.$L("未读")))]),t._v(" "),t._l(t.unreadList,(function(t){return n("li",[n("UserAvatar",{attrs:{userid:t.userid,size:26,showName:""}})],1)}))],2)]),t._v(" "),n("WCircle",{attrs:{slot:"reference",percent:t.msgData.percentage,size:14},slot:"reference"})],1):100===t.msgData.percentage?n("Icon",{staticClass:"done",attrs:{type:"md-done-all"}}):n("Icon",{staticClass:"done",attrs:{type:"md-checkmark"}})],1):n("div",{staticClass:"dialog-foot"},[n("Loading")],1)])}),[],!1,null,null,null).exports;function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e$A.Time()){var n=window.__sendDialogMsg,r=n.msgFile,o=n.msgText;window.__sendDialogMsg=null,this.$nextTick((function(){$A.isArray(r)&&r.length>0?e.sendFileMsg(r):o&&e.sendMsg(o)}))}if(t.query&&t.query._){var i=$A.cloneJSON(t.query);delete i._,this.goForward({query:i},!0)}},immediate:!0},dialogId:{handler:function(t){var e=this;t&&(this.msgNew=0,this.topId=-1,this.visible=!1,this.$store.dispatch("getDialogMsgs",t).then((function(t){e.onToBottom(),e.visible=!0})))},immediate:!0},wsOpenNum:function(t){t<=1||this.$store.dispatch("getDialogMsgs",this.dialogId)}},methods:{sendMsg:function(t){var e=this;if("string"==typeof t&&t&&(this.msgText=t,this.$refs.input.focus()),""!=this.msgText){var n=$A.randomString(16);this.tempMsgs.push({id:n,dialog_id:this.dialogData.id,type:"text",userid:this.userId,msg:{text:this.msgText}}),this.isDesktop||this.$refs.input.blur(),this.onToBottom(),this.onActive(),this.$store.dispatch("call",{url:"dialog/msg/sendtext",data:{dialog_id:this.dialogId,text:this.msgText},method:"post"}).then((function(t){var r=t.data;e.tempMsgs=e.tempMsgs.filter((function(t){return t.id!=n})),e.sendSuccess(r)})).catch((function(t){var r=t.msg;$A.modalError(r),e.tempMsgs=e.tempMsgs.filter((function(t){return t.id!=n}))})),this.msgText=""}},sendFileMsg:function(t){var e=this;t.length>0&&(this.pasteFile=[],this.pasteItem=[],t.some((function(t){var n=new FileReader;n.readAsDataURL(t),n.onload=function(n){var r=n.target;e.pasteFile.push(t),e.pasteItem.push({type:$A.getMiddle(t.type,null,"/"),name:t.name,size:t.size,result:r.result}),e.pasteShow=!0}})))},chatKeydown:function(t){if(13===t.keyCode){if(t.shiftKey)return;t.preventDefault(),this.sendMsg()}},pasteDrag:function(t,e){var n="drag"===e?t.dataTransfer.files:t.clipboardData.files,r=Array.prototype.slice.call(n);r.length>0&&(t.preventDefault(),this.sendFileMsg(r))},chatPasteDrag:function(t,e){this.dialogDrag=!1,this.pasteDrag(t,e)},chatDragOver:function(t,e){var n=this,r=this.__dialogDrag=$A.randomString(8);if(t){if("move"===e.dataTransfer.effectAllowed)return;this.dialogDrag=!0}else setTimeout((function(){r===n.__dialogDrag&&(n.dialogDrag=t)}),150)},pasteSend:function(){var t=this;this.pasteFile.some((function(e){t.$refs.chatUpload.upload(e)}))},chatFile:function(t,e){switch(t){case"progress":this.tempMsgs.push({id:e.tempId,dialog_id:this.dialogData.id,type:"loading",userid:this.userId,msg:{}}),this.isDesktop||this.$refs.input.blur(),this.onToBottom(),this.onActive();break;case"error":this.tempMsgs=this.tempMsgs.filter((function(t){return t.id!=e.tempId}));break;case"success":this.tempMsgs=this.tempMsgs.filter((function(t){return t.id!=e.tempId})),this.sendSuccess(e.data)}},sendSuccess:function(t){var e=this;$A.isArray(t)?t.some((function(t){e.sendSuccess(t)})):(this.$store.dispatch("saveDialogMsg",t),this.$store.dispatch("increaseTaskMsgNum",this.dialogId),this.$store.dispatch("updateDialogLastMsg",t),this.onActive())},chatScroll:function(t){switch(t.directionreal){case"up":t.scrollE<10&&(this.msgNew=0,this.autoBottom=!0);break;case"down":this.autoBottom=!1}t.scale>=1&&(this.msgNew=0,this.autoBottom=!0)},onEventFocus:function(t){this.inputFocus=!0,this.$emit("on-focus",t)},onEventblur:function(t){this.inputFocus=!1,this.$emit("on-blur",t)},onActive:function(){this.$emit("on-active")},onToBottom:function(){this.autoBottom=!0,this.$refs.scroller&&this.$refs.scroller.autoToBottom()},openProject:function(){this.dialogData.group_info&&this.goForward({path:"/manage/project/"+this.dialogData.group_info.id})},openTask:function(){this.dialogData.group_info&&this.$store.dispatch("openTask",this.dialogData.group_info.id)},loadNextPage:function(){var t=this,e=this.dialogMsgList[0].id;this.$store.dispatch("getDialogMoreMsgs",this.dialogId).then((function(){t.$nextTick((function(){t.topId=e,$A.scrollToView(document.getElementById("view_"+e),{behavior:"instant",inline:"start"})}))})).catch((function(){}))},addDialogMsg:function(){var t=this;this.isAutoBottom?this.$nextTick(this.onToBottom):this.$nextTick((function(){t.$refs.scroller&&t.$refs.scroller.scrollInfo().scrollE>10&&t.msgNew++}))}}};const k=(0,s.Z)(C,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.dialogData&&t.dialogData.id?n("div",{staticClass:"dialog-wrapper",on:{drop:function(e){return e.preventDefault(),t.chatPasteDrag(e,"drag")},dragover:function(e){return e.preventDefault(),t.chatDragOver(!0,e)},dragleave:function(e){return e.preventDefault(),t.chatDragOver(!1,e)}}},[t._t("head",(function(){return[n("div",{staticClass:"dialog-nav"},[n("div",{staticClass:"dialog-avatar"},["group"==t.dialogData.type?["project"==t.dialogData.group_type?n("i",{staticClass:"taskfont icon-avatar project"},[t._v("")]):"task"==t.dialogData.group_type?n("i",{staticClass:"taskfont icon-avatar task",class:{completed:t.$A.dialogCompleted(t.dialogData)}},[t._v("")]):n("Icon",{staticClass:"icon-avatar",attrs:{type:"ios-people"}})]:t.dialogData.dialog_user?n("div",{staticClass:"user-avatar"},[n("UserAvatar",{attrs:{userid:t.dialogData.dialog_user.userid,size:42}})],1):n("Icon",{staticClass:"icon-avatar",attrs:{type:"md-person"}})],2),t._v(" "),n("div",{staticClass:"dialog-title"},[n("div",{staticClass:"main-title"},[t._l(t.$A.dialogTags(t.dialogData),(function(e){return"success"!=e.color?[n("Tag",{attrs:{color:e.color,fade:!1}},[t._v(t._s(t.$L(e.text)))])]:t._e()})),t._v(" "),n("h2",[t._v(t._s(t.dialogData.name))]),t._v(" "),t.peopleNum>0?n("em",[t._v("("+t._s(t.peopleNum)+")")]):t._e(),t._v(" "),t.dialogData.top_at?n("label",{staticClass:"top-text"},[t._v(t._s(t.$L("置顶")))]):t._e()],2),t._v(" "),"group"===t.dialogData.type?["project"===t.dialogData.group_type?n("div",{staticClass:"sub-title pointer",on:{click:t.openProject}},[t._v("\n "+t._s(t.$L("项目聊天室"))+" "+t._s(t.$L("打开项目管理"))+"\n ")]):"task"===t.dialogData.group_type?n("div",{staticClass:"sub-title pointer",on:{click:t.openTask}},[t._v("\n "+t._s(t.$L("任务聊天室"))+" "+t._s(t.$L("查看任务详情"))+"\n ")]):t._e()]:t._e()],2)])]})),t._v(" "),n("ScrollerY",{ref:"scroller",staticClass:"dialog-scroller overlay-y",style:{opacity:t.visible?1:0},attrs:{"auto-bottom":t.isAutoBottom,static:""},on:{"on-scroll":t.chatScroll}},[n("div",{ref:"manageList",staticClass:"dialog-list"},[n("ul",[t.dialogData.hasMorePages?n("li",{staticClass:"history",on:{click:t.loadNextPage}},[t._v(t._s(t.$L("加载历史消息")))]):t.dialogData.loading>0&&0===t.dialogMsgList.length?n("li",{staticClass:"loading"},[n("Loading")],1):0===t.dialogMsgList.length?n("li",{staticClass:"nothing"},[t._v(t._s(t.$L("暂无消息")))]):t._e(),t._v(" "),t._l(t.dialogMsgList,(function(e){return n("li",{key:e.id,class:{self:e.userid==t.userId,"history-tip":t.topId==e.id},attrs:{id:"view_"+e.id}},[t.topId==e.id?n("em",{staticClass:"history-text"},[t._v(t._s(t.$L("历史消息")))]):t._e(),t._v(" "),n("div",{staticClass:"dialog-avatar"},[n("UserAvatar",{attrs:{userid:e.userid,tooltipDisabled:e.userid==t.userId,size:30}})],1),t._v(" "),n("DialogView",{attrs:{"msg-data":e,"dialog-type":t.dialogData.type}})],1)})),t._v(" "),t._l(t.tempMsgList,(function(e){return n("li",{key:"tmp_"+e.id,class:{self:e.userid==t.userId},attrs:{id:"tmp_"+e.id}},[n("div",{staticClass:"dialog-avatar"},[n("UserAvatar",{attrs:{userid:e.userid,tooltipDisabled:e.userid==t.userId,size:30}})],1),t._v(" "),n("DialogView",{attrs:{"msg-data":e,"dialog-type":t.dialogData.type}})],1)}))],2)])]),t._v(" "),n("div",{class:["dialog-footer",t.msgNew>0&&t.dialogMsgList.length>0?"newmsg":""],on:{click:t.onActive}},[n("div",{staticClass:"dialog-newmsg",on:{click:t.onToBottom}},[t._v(t._s(t.$L("有"+t.msgNew+"条新消息")))]),t._v(" "),t._t("inputBefore"),t._v(" "),n("DragInput",{ref:"input",staticClass:"dialog-input",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:3},maxlength:2e4,placeholder:t.$L("输入消息...")},on:{"on-focus":t.onEventFocus,"on-blur":t.onEventblur,"on-keydown":t.chatKeydown,"on-input-paste":t.pasteDrag},model:{value:t.msgText,callback:function(e){t.msgText=e},expression:"msgText"}}),t._v(" "),""!=t.msgText?n("div",{staticClass:"dialog-send",on:{click:t.sendMsg}},[n("Icon",{attrs:{type:"md-send"}})],1):t._e(),t._v(" "),n("DialogUpload",{ref:"chatUpload",staticClass:"chat-upload",attrs:{"dialog-id":t.dialogId},on:{"on-progress":function(e){return t.chatFile("progress",e)},"on-success":function(e){return t.chatFile("success",e)},"on-error":function(e){return t.chatFile("error",e)}}})],2),t._v(" "),t.dialogDrag?n("div",{staticClass:"drag-over",on:{click:function(e){t.dialogDrag=!1}}},[n("div",{staticClass:"drag-text"},[t._v(t._s(t.$L("拖动到这里发送")))])]):t._e(),t._v(" "),n("Modal",{attrs:{title:t.$L(t.pasteTitle),"cancel-text":t.$L("取消"),"ok-text":t.$L("发送"),"enter-ok":!0},on:{"on-ok":t.pasteSend},model:{value:t.pasteShow,callback:function(e){t.pasteShow=e},expression:"pasteShow"}},[n("div",{staticClass:"dialog-wrapper-paste"},[t._l(t.pasteItem,(function(e){return["image"==e.type?n("img",{attrs:{src:e.result}}):n("div",[t._v(t._s(t.$L("文件"))+": "+t._s(e.name)+" ("+t._s(t.$A.bytesToSize(e.size))+")")])]}))],2)])],2):t._e()}),[],!1,null,null,null).exports},85782:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0)}},methods:{logDate:function(t){return $A.formatDate("m-d")==t.ymd?t.ymd+" "+this.$L("今天"):t.key},getLists:function(t){var e=this;!0===t&&(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((function(n){var r=n.data;e.loadIng--,!0===t&&(e.lists=[]),r.data.some((function(t){var n=t.time,r=n.ymd+" "+n.week,o=e.lists.find((function(t){return t.key==r}));if(o){var i=o.lists.find((function(e){return e.userid==t.userid}));i?i.lists.push(t):o.lists.push({userid:t.userid,lists:[t]})}else e.lists.push({key:r,ymd:t.ymd,lists:[{userid:t.userid,lists:[t]}]})})),e.hasMorePages=r.current_page ")),i.push(t("span",{class:"change-value"},"".concat(u||"-")))):i.push(t("span",{class:"change-value"},u||"-"))}if(o.userid){var c=$A.isArray(o.userid)?o.userid:[o.userid],l=[];c.some((function(e){l.push(t("UserAvatar",{props:{size:18,userid:e}}))})),l.length>0&&i.push(t("div",{class:"detail-user"},[t("div",{class:"detail-user-wrap"},l)]))}}return t("span",{class:"log-text"},i)},operationList:function(t){var e=t.id,n=t.record,r=[];if(!$A.isJson(n))return r;if(this.taskId>0&&$A.isJson(n.flow)){var o=$A.getMiddle(n.flow.flow_item_name,"|");o&&r.push({id:e,button:"重置",content:"确定重置为【".concat(o,"】吗?")})}return r},onOperation:function(t){var e=this;$A.modalConfirm({content:t.content,loading:!0,onOk:function(){e.$store.dispatch("call",{url:"project/task/resetfromlog",data:{id:t.id}}).then((function(t){var n=t.data,r=t.msg;$A.messageSuccess(r),e.$Modal.remove(),e.$store.dispatch("saveTask",n),e.getLists(!0)})).catch((function(t){var n=t.msg;$A.modalError(n,301),e.$Modal.remove()}))}})},openTask:function(t){this.$store.dispatch("openTask",t)}}};const a=(0,n(51900).Z)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["project-log",0==t.taskId?"is-drawer":""]},[n("div",{staticClass:"log-title"},[t._v(t._s(t.$L("项目动态")))]),t._v(" "),n("ul",{staticClass:"logs-activity"},[t._l(t.lists,(function(e){return n("li",[n("div",{staticClass:"logs-date"},[t._v(t._s(t.logDate(e)))]),t._v(" "),n("div",{staticClass:"logs-section"},[n("Timeline",t._l(e.lists,(function(e,r){return n("TimelineItem",{key:r},[n("div",{staticClass:"logs-dot",attrs:{slot:"dot"},slot:"dot"},[e.userid?n("UserAvatar",{attrs:{userid:e.userid,size:18,showName:""}}):n("div",{staticClass:"avatar-wrapper common-avatar"},[n("EAvatar",{attrs:{size:18}},[t._v("A")]),t._v(" "),n("div",{staticClass:"avatar-name auto"},[t._v(t._s(t.$L("系统")))])],1)],1),t._v(" "),t._l(e.lists,(function(e){return[n("div",{staticClass:"log-summary"},[n("ProjectLogDetail",{attrs:{render:t.logDetail,item:e}}),t._v(" "),t.operationList(e).length>0?n("span",{staticClass:"log-operation"},t._l(t.operationList(e),(function(e,r){return n("Button",{key:r,attrs:{size:"small"},on:{click:function(n){return t.onOperation(e)}}},[t._v(t._s(e.button))])})),1):t._e(),t._v(" "),n("span",{staticClass:"log-time"},[t._v(t._s(e.time.ymd)+" "+t._s(e.time.segment)+" "+t._s(e.time.hi))])],1),t._v(" "),e.project_task?n("div",{staticClass:"log-task"},[n("em",{on:{click:function(n){return t.openTask(e.project_task)}}},[t._v(t._s(t.$L("关联任务"))+": "+t._s(e.project_task.name))])]):t._e()]}))],2)})),1)],1)])})),t._v(" "),t.loadIng>0&&t.showLoad?n("li",{staticClass:"logs-loading"},[n("Loading")],1):t.hasMorePages?n("li",{staticClass:"logs-more",on:{click:t.getMore}},[t._v(t._s(t.$L("加载更多")))]):0==t.totalNum?n("li",{staticClass:"logs-none",on:{click:function(e){return t.getLists(!0)}}},[t._v(t._s(t.$L("没有任何动态")))]):t._e()],2)])}),[],!1,null,null,null).exports},34910:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});const r={name:"ReportDetail",props:{data:{default:{}}},watch:{"data.id":{handler:function(t){t>0&&this.sendRead()},immediate:!0}},methods:{sendRead:function(){this.$store.dispatch("call",{url:"report/read",data:{ids:[this.data.id]}}).then((function(){})).catch((function(){}))}}};const o=(0,n(51900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"report-detail"},[n("div",{staticClass:"report-title"},[t._v(t._s(t.data.title))]),t._v(" "),n("div",{staticClass:"report-detail-context"},[n("Form",{staticClass:"report-form",attrs:{"label-width":"auto",inline:""}},[n("FormItem",{attrs:{label:t.$L("汇报人")}},[n("UserAvatar",{attrs:{userid:t.data.userid,size:28}})],1),t._v(" "),n("FormItem",{attrs:{label:t.$L("提交时间")}},[t._v("\n "+t._s(t.data.created_at)+"\n ")]),t._v(" "),n("FormItem",{attrs:{label:t.$L("汇报对象")}},t._l(t.data.receives_user,(function(t,e){return n("UserAvatar",{key:e,attrs:{userid:t.userid,size:28}})})),1)],1),t._v(" "),n("Form",{staticClass:"report-form",attrs:{"label-width":"auto"}},[n("FormItem",{attrs:{label:t.$L("汇报内容")}},[n("div",{staticClass:"report-content",domProps:{innerHTML:t._s(t.data.content)}})])],1)],1)])}),[],!1,null,null,null).exports},22371:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(73701),o=n(20629);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const s={name:"ReportEdit",components:{TEditor:function(){return n.e(500).then(n.bind(n,89500))},UserInput:r.Z},props:{id:{default:0}},data:function(){return{reportData:{title:"",content:"",type:"weekly",receive:[],id:0,offset:0},prevCycleText:"",nextCycleText:""}},watch:{id:function(t){this.id>0?this.getDetail(t):(this.reportData.offset=0,this.reportData.type="weekly",this.reportData.receive=[],this.getTemplate())}},computed:function(t){for(var e=1;e0?$A.modalConfirm({title:"覆盖提交",content:"你已提交过此日期的报告,是否覆盖提交?",loading:!0,onOk:function(){t.doSubmit(!0)}}):this.doSubmit()},doSubmit:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$store.dispatch("call",{url:"report/store",data:this.reportData,method:"post"}).then((function(n){var r=n.data,o=n.msg;e&&t.$Modal.remove(),t.reportData.offset=0,t.reportData.type="weekly",t.reportData.receive=[],t.getTemplate(),$A.messageSuccess(o),t.$emit("saveSuccess",r)})).catch((function(n){var r=n.msg;e&&t.$Modal.remove(),$A.messageError(r)}))},getTemplate:function(){var t=this;this.$store.dispatch("call",{url:"report/template",data:{type:this.reportData.type,offset:this.reportData.offset,id:this.id}}).then((function(e){var n=e.data;n.id?(t.reportData.id=n.id,t.id>0?t.getDetail(n.id):(t.reportData.title=n.title,t.reportData.content=n.content)):(t.reportData.id=0,t.reportData.title=n.title,t.reportData.content=n.content)})).catch((function(t){var e=t.msg;$A.messageError(e)}))},typeChange:function(t){this.reportData.offset=0,"weekly"===t?(this.prevCycleText=this.$L("上一周"),this.nextCycleText=this.$L("下一周")):(this.prevCycleText=this.$L("上一天"),this.nextCycleText=this.$L("下一天")),this.getTemplate()},getDetail:function(t){var e=this;this.$store.dispatch("call",{url:"report/detail",data:{id:t}}).then((function(n){var r=n.data;e.reportData.title=r.title,e.reportData.content=r.content,e.reportData.receive=r.receives_user.map((function(t){return t.userid})),e.reportData.type=r.type_val,e.reportData.id=t})).catch((function(t){var e=t.msg;$A.messageError(e)}))},prevCycle:function(){this.reportData.offset-=1,this.reReportData(),this.getTemplate()},nextCycle:function(){this.reportData.offset<0&&(this.reportData.offset+=1),this.reReportData(),this.getTemplate()},getLastSubmitter:function(){var t=this;this.$store.dispatch("call",{url:"report/last_submitter"}).then((function(e){var n=e.data;t.reportData.receive=n})).catch((function(t){var e=t.msg;$A.messageError(e)}))},reReportData:function(){this.reportData.title="",this.reportData.content="",this.reportData.receive=[],this.reportData.id=0}}};const u=(0,n(51900).Z)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Form",{staticClass:"report-edit",attrs:{"label-width":"auto"},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:t.$L("汇报类型")}},[n("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(e){t.$set(t.reportData,"type",e)},expression:"reportData.type"}},[n("Radio",{attrs:{label:"weekly",disabled:t.id>0&&"daily"==t.reportData.type}},[t._v(t._s(t.$L("周报")))]),t._v(" "),n("Radio",{attrs:{label:"daily",disabled:t.id>0&&"weekly"==t.reportData.type}},[t._v(t._s(t.$L("日报")))])],1),t._v(" "),0===t.id?n("ButtonGroup",{staticClass:"report-buttongroup"},[n("ETooltip",{attrs:{content:t.prevCycleText,placement:"bottom"}},[n("Button",{attrs:{type:"primary"},on:{click:t.prevCycle}},[n("Icon",{attrs:{type:"ios-arrow-back"}})],1)],1),t._v(" "),n("div",{staticClass:"report-buttongroup-vertical"}),t._v(" "),n("ETooltip",{attrs:{disabled:t.reportData.offset>=0,content:t.nextCycleText,placement:"bottom"}},[n("Button",{attrs:{type:"primary",disabled:t.reportData.offset>=0},on:{click:t.nextCycle}},[n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)],1)],1):t._e()],1),t._v(" "),n("FormItem",{attrs:{label:t.$L("汇报名称")}},[n("Input",{attrs:{disabled:""},model:{value:t.reportData.title,callback:function(e){t.$set(t.reportData,"title",e)},expression:"reportData.title"}})],1),t._v(" "),n("FormItem",{attrs:{label:t.$L("汇报对象")}},[n("div",{staticClass:"report-users"},[n("UserInput",{attrs:{disabledChoice:[t.userId],placeholder:t.$L("选择接收人"),transfer:!1},model:{value:t.reportData.receive,callback:function(e){t.$set(t.reportData,"receive",e)},expression:"reportData.receive"}}),t._v(" "),n("a",{staticClass:"report-user-link",attrs:{href:"javascript:void(0);"},on:{click:t.getLastSubmitter}},[n("Icon",{attrs:{type:"ios-share-outline"}}),t._v(t._s(t.$L("使用我上次的汇报对象"))+"\n ")],1)],1)]),t._v(" "),n("FormItem",{staticClass:"report-content-editor",attrs:{label:t.$L("汇报内容")}},[n("TEditor",{attrs:{height:"100%"},model:{value:t.reportData.content,callback:function(e){t.$set(t.reportData,"content",e)},expression:"reportData.content"}})],1),t._v(" "),n("FormItem",{staticClass:"report-foot"},[n("Button",{staticClass:"report-bottom",attrs:{type:"primary"},on:{click:t.handleSubmit}},[t._v(t._s(t.$L(t.id>0?"修改":"提交")))])],1)],1)}),[],!1,null,null,null).exports},19246:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(89500),o=n(20629);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e0)return n}return 0},showAddAssist:function(){return!this.addData.owner.includes(this.userId)}}),watch:{value:function(t){var e=this;t?(this.ready=!0,this.initCascaderData(),this.initProjectData(),this.$nextTick((function(){e.$refs.input.focus()}))):(this.beforeClose.some((function(t){"function"==typeof t&&t()})),this.beforeClose=[],this.taskTimeOpen=!1)},"addData.project_id":function(t){t>0&&$A.setStorage("cacheAddTaskProjectId",t)},"addData.column_id":function(t){var e=this,n=this.addData.project_id;this.$nextTick((function(){n&&t?e.$set(e.addData,"cascader",[n,t]):e.$set(e.addData,"cascader",[])})),t>0&&$A.setStorage("cacheAddTaskColumnId",t)}},methods:{initLanguage:function(){},initCascaderData:function(){var t=this;this.cascaderData=this.cacheProjects.map((function(e){var n=t.cacheColumns.filter((function(t){return t.project_id==e.id})).map((function(t){return{value:t.id,label:t.name}})),r={value:e.id,label:e.name,children:n};return 0==n.length&&(r.loading=!1),r}))},initProjectData:function(){var t=this,e=this.addData.column_id;if(e){var n=this.cacheColumns.find((function(t){return t.id==e}));n&&(this.addData.project_id=n.project_id,this.addData.column_id=n.id)}else{var r=$A.getStorageInt("cacheAddTaskProjectId"),o=$A.getStorageInt("cacheAddTaskColumnId"),i=this.cacheProjects.find((function(e){return e.id==t.projectId}))||this.cacheProjects.find((function(t){return t.id==r}))||this.cacheProjects.find((function(t){return t.id>0}));if(i){var a=this.cacheColumns.find((function(t){var e=t.project_id,n=t.id;return e==i.id&&n==o}))||this.cacheColumns.find((function(t){return t.project_id==i.id}));a?(this.addData.project_id=a.project_id,this.addData.column_id=a.id):this.$store.dispatch("getColumns",i.id).then((function(){(a=t.cacheColumns.find((function(t){var e=t.project_id,n=t.id;return e==i.id&&n==o}))||t.cacheColumns.find((function(t){return t.project_id==i.id})))&&(t.addData.project_id=a.project_id,t.addData.column_id=a.id)})).catch((function(){}))}}},taskTimeOpenChange:function(t){this.taskTimeOpen=t},taskTimeChange:function(t){var e=$A.date2string(t,"Y-m-d H:i");e[0]&&e[1]&&$A.rightExists(e[0],"00:00")&&$A.rightExists(e[1],"00:00")&&this.$set(this.addData,"times",[e[0],e[1].replace("00:00","23:59")])},onKeydown:function(t){if(13===t.keyCode){if(t.shiftKey)return;t.preventDefault(),this.onAdd()}},addSubTask:function(){""!==this.subName.trim()&&(this.addData.subtasks.push({name:this.subName.trim(),owner:[this.userId],times:[]}),this.subName="")},taskPriorityContent:function(t){var e=$A.runNum(t.days);return e<=0?t.name+" ("+this.$L("无时间限制")+")":t.name+" ("+e+this.$L("天")+")"},choosePriority:function(t){var e=new Date,n=$A.runNum(t.days);if(n>0){var r=new Date((new Date).setDate(e.getDate()+n));this.$set(this.addData,"times",$A.date2string([e,r]))}else this.$set(this.addData,"times",[]);this.$set(this.addData,"p_level",t.priority),this.$set(this.addData,"p_name",t.name),this.$set(this.addData,"p_color",t.color)},defaultPriority:function(){0!==this.taskPriority.length&&(this.addData.p_name||this.choosePriority(this.taskPriority[0]))},cascaderLoadData:function(t,e){t.loading=!0,this.$store.dispatch("getColumns",t.value).then((function(n){t.children=n.map((function(t){return{value:t.id,label:t.name}})),t.loading=!1,e()})).catch((function(){t.loading=!1,e()}))},cascaderChange:function(t){t[1]&&this.$set(this.addData,"column_id",t[1])},cascaderInputChange:function(t){var e=this;this.cascaderValue=t||"",!0!==this.cascaderAlready[this.cascaderValue]&&(this.cascaderAlready[this.cascaderValue]=!0,setTimeout((function(){e.cascaderLoading++}),1e3),this.$store.dispatch("getProjects",{keys:{name:this.cascaderValue},getcolumn:"yes"}).then((function(){e.cascaderLoading--,e.initCascaderData()})).catch((function(){e.cascaderLoading--})))},setData:function(t){void 0!==t.beforeClose&&(this.beforeClose.push(t.beforeClose),delete t.beforeClose),this.addData=Object.assign({},this.addData,t)},onAdd:function(t){var e=this;this.addData.name?(this.loadIng++,this.$store.dispatch("taskAdd",this.addData).then((function(n){var r=n.msg;e.loadIng--,$A.messageSuccess(r),!0===t?(e.addData=Object.assign({},e.addData,{name:"",content:"",subtasks:[]}),e.$refs.input.focus()):(e.addData={cascader:[],name:"",content:"",owner:[],add_assist:1,column_id:0,times:[],subtasks:[],p_level:0,p_name:"",p_color:""},e.close())})).catch((function(t){var n=t.msg;e.loadIng--,$A.modalError(n)}))):$A.messageError("任务描述不能为空")},close:function(){this.$emit("input",!this.value)}}};const c=(0,n(51900).Z)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.ready?n("div",{staticClass:"task-add"},[n("div",{staticClass:"head",class:{empty:0==t.addData.cascader.length,visible:t.cascaderShow}},[n("Cascader",{attrs:{data:t.cascaderData,clearable:!1,placeholder:t.$L("请选择项目"),"load-data":t.cascaderLoadData,filterable:""},on:{"on-change":t.cascaderChange,"on-input-change":t.cascaderInputChange,"on-visible-change":function(e){t.cascaderShow=!t.cascaderShow}},model:{value:t.addData.cascader,callback:function(e){t.$set(t.addData,"cascader",e)},expression:"addData.cascader"}})],1),t._v(" "),n("div",{staticClass:"task-add-form"},[n("div",{staticClass:"title"},[n("Input",{ref:"input",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:8},maxlength:255,placeholder:t.$L("任务描述")},on:{"on-keydown":t.onKeydown},model:{value:t.addData.name,callback:function(e){t.$set(t.addData,"name",e)},expression:"addData.name"}})],1),t._v(" "),n("div",{staticClass:"desc"},[n("TEditor",{attrs:{plugins:t.taskPlugins,options:t.taskOptions,"option-full":t.taskOptionFull,placeholder:t.$L(t.isDesktop?"详细描述,选填...(点击右键使用工具栏)":"详细描述,选填..."),placeholderFull:t.$L("详细描述..."),inline:""},model:{value:t.addData.content,callback:function(e){t.$set(t.addData,"content",e)},expression:"addData.content"}})],1),t._v(" "),n("div",{staticClass:"advanced-option"},[n("Button",{class:{advanced:t.advanced},on:{click:function(e){t.advanced=!t.advanced}}},[t._v(t._s(t.$L("高级选项")))]),t._v(" "),n("ul",{staticClass:"advanced-priority"},t._l(t.taskPriority,(function(e,r){return n("li",{key:r},[n("ETooltip",{attrs:{content:t.taskPriorityContent(e)}},[n("i",{staticClass:"taskfont",style:{color:e.color},domProps:{innerHTML:t._s(t.addData.p_name==e.name?"":"")},on:{click:function(n){return t.choosePriority(e)}}})])],1)})),0),t._v(" "),t.taskDays>0?n("DatePicker",{attrs:{open:t.taskTimeOpen,options:t.timeOptions,placeholder:t.$L("选择计划范围"),format:"yyyy/MM/dd HH:mm",type:"datetimerange",placement:"bottom"},on:{"on-change":function(e){return t.taskTimeChange(t.addData.times)},"on-open-change":t.taskTimeOpenChange},model:{value:t.addData.times,callback:function(e){t.$set(t.addData,"times",e)},expression:"addData.times"}},[n("div",{staticClass:"advanced-time",on:{click:function(e){return t.taskTimeOpenChange(!t.taskTimeOpen)}}},[n("Icon",{attrs:{type:"ios-clock-outline"}}),t._v(" "),n("em",{style:t.addData.p_color?{backgroundColor:t.addData.p_color}:{},attrs:{type:"primary"}},[t._v(t._s(t.taskDays))])],1)]):t._e()],1)]),t._v(" "),t.advanced?n("Form",{staticClass:"task-add-advanced",attrs:{"label-width":"auto"},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:t.$L("计划时间")}},[n("DatePicker",{attrs:{options:t.timeOptions,editable:!1,placeholder:t.$L("选择计划范围"),format:"yyyy/MM/dd HH:mm",type:"datetimerange"},on:{"on-change":function(e){return t.taskTimeChange(t.addData.times)}},model:{value:t.addData.times,callback:function(e){t.$set(t.addData,"times",e)},expression:"addData.times"}})],1),t._v(" "),n("FormItem",{attrs:{label:t.$L("任务负责人")}},[n("UserInput",{attrs:{"multiple-max":10,placeholder:t.$L("选择任务负责人"),"project-id":t.addData.project_id,transfer:!1},model:{value:t.addData.owner,callback:function(e){t.$set(t.addData,"owner",e)},expression:"addData.owner"}}),t._v(" "),t.showAddAssist?n("div",{staticClass:"task-add-assist"},[n("Checkbox",{attrs:{"true-value":1,"false-value":0},model:{value:t.addData.add_assist,callback:function(e){t.$set(t.addData,"add_assist",e)},expression:"addData.add_assist"}},[t._v(t._s(t.$L("加入任务协助人员列表")))]),t._v(" "),n("ETooltip",{attrs:{content:t.$L("你不是任务负责人时建议加入任务协助人员列表")}},[n("Icon",{attrs:{type:"ios-alert-outline"}})],1)],1):t._e()],1),t._v(" "),n("div",{staticClass:"subtasks"},[t.addData.subtasks.length>0?n("div",{staticClass:"sublist"},[n("Row",[n("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("任务描述")))]),t._v(" "),n("Col",{attrs:{span:"6"}},[t._v(t._s(t.$L("计划时间")))]),t._v(" "),n("Col",{attrs:{span:"6"}},[t._v(t._s(t.$L("负责人")))])],1),t._v(" "),t._l(t.addData.subtasks,(function(e,r){return n("Row",{key:r},[n("Col",{attrs:{span:"12"}},[n("Input",{attrs:{maxlength:255,clearable:""},on:{"on-clear":function(e){return t.addData.subtasks.splice(r,1)}},model:{value:e.name,callback:function(n){t.$set(e,"name",n)},expression:"item.name"}})],1),t._v(" "),n("Col",{attrs:{span:"6"}},[n("DatePicker",{attrs:{options:t.timeOptions,editable:!1,placeholder:t.$L("选择时间"),format:"yyyy/MM/dd HH:mm",type:"datetimerange"},on:{"on-change":function(n){return t.taskTimeChange(e.times)}},model:{value:e.times,callback:function(n){t.$set(e,"times",n)},expression:"item.times"}})],1),t._v(" "),n("Col",{attrs:{span:"6"}},[n("UserInput",{attrs:{"multiple-max":1,placeholder:t.$L("选择负责人"),"project-id":t.addData.project_id,transfer:!1},model:{value:e.owner,callback:function(n){t.$set(e,"owner",n)},expression:"item.owner"}})],1)],1)}))],2):t._e(),t._v(" "),n("Input",{class:["enter-input",""==t.subName?"empty":""],attrs:{type:"text",placeholder:t.$L("+ 输入子任务,回车添加子任务")},on:{"on-enter":t.addSubTask},model:{value:t.subName,callback:function(e){t.subName=e},expression:"subName"}})],1)],1):t._e(),t._v(" "),n("div",{staticClass:"ivu-modal-footer"},[n("div",{staticClass:"adaption"},[n("Button",{attrs:{type:"default"},on:{click:t.close}},[t._v(t._s(t.$L("取消")))]),t._v(" "),n("ButtonGroup",{staticClass:"page-manage-add-task-button-group"},[n("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onAdd}},[t._v(t._s(t.$L("添加任务")))]),t._v(" "),n("Dropdown",{on:{"on-click":function(e){return t.onAdd(!0)}}},[n("Button",{attrs:{type:"primary"}},[n("Icon",{attrs:{type:"ios-arrow-down"}})],1),t._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{attrs:{disabled:t.loadIng>0}},[t._v(t._s(t.$L("提交继续添加")))])],1)],1)],1)],1)])],1):t._e()}),[],!1,null,null,null).exports},66237:(t,e,n)=>{"use strict";n.d(e,{Z:()=>b});var r=n(20629),o=n(89500),i=n(25199),a=n(73701);const s={name:"TaskUpload",props:{maxSize:{type:Number,default:204800}},data:function(){return{uploadFormat:["jpg","jpeg","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:function(t){$A.modalWarning({title:"文件格式不正确",content:"文件 "+t.name+" 格式不正确,仅支持发送:"+this.uploadFormat.join(",")})},handleMaxSize:function(t){$A.modalWarning({title:"超出文件大小限制",content:"文件 "+t.name+" 太大,不能发送超过"+$A.bytesToSize(1024*this.maxSize)+"。"})},handleBeforeUpload:function(t){return this.$emit("on-select-file",t),!1},handleClick:function(){this.$refs.upload.handleClick()}}};var u=n(51900);const c=(0,u.Z)(s,(function(){var t=this,e=t.$createElement;return(t._self._c||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}})}),[],!1,null,null,null).exports;var l=n(75225),d=n(85782),f=n(80641),m=n(21929);function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e0&&!this.windowMax768},dialogStyle:function(){var t=this.innerHeight,e=this.hasOpenDialog;return t&&e?{minHeight:t-(t>900?200:70)-48+"px"}:{}},cutTime:function(){var t=this.taskDetail,e=$A.Date(t.start_at,!0),n=$A.Date(t.end_at,!0);return $A.formatDate("Y/m/d",e)==$A.formatDate("Y/m/d",n)?$A.formatDate("Y/m/d H:i",e)+" ~ "+$A.formatDate("H:i",n):$A.formatDate("Y",e)==$A.formatDate("Y",n)?($A.formatDate("Y/m/d H:i",e)+" ~ "+$A.formatDate("m/d H:i",n)).replace(/( 00:00| 23:59)/g,""):($A.formatDate("Y/m/d H:i",e)+" ~ "+$A.formatDate("Y/m/d H:i",n)).replace(/( 00:00| 23:59)/g,"")},getOwner:function(){var t=this.taskDetail;return $A.isArray(t.task_user)?t.task_user.filter((function(t){return 1===t.owner})).sort((function(t,e){return t.id-e.id})):[]},getAssist:function(){var t=this.taskDetail;return $A.isArray(t.task_user)?t.task_user.filter((function(t){return 1!==t.owner})).sort((function(t,e){return t.id-e.id})):[]},menuList:function(){var t=this.taskDetail,e=[];return t.p_name||e.push({command:"priority",icon:"",name:"优先级"}),$A.isArray(t.task_user)&&t.task_user.find((function(t){return 1!==t.owner}))||e.push({command:"assist",icon:"",name:"协助人员"}),t.end_at||e.push({command:"times",icon:"",name:"截止时间"}),0==this.fileList.length&&e.push({command:"file",icon:"",name:"附件"}),0==this.subList.length&&e.push({command:"subtask",icon:"",name:"子任务"}),e}}),watch:{openTask:{handler:function(t){var e=this;this.taskDetail=$A.cloneJSON(t),this.$nextTick((function(){e.$refs.name&&e.$refs.name.resizeTextarea()}))},immediate:!0,deep:!0},taskId:{handler:function(t){t>0?this.ready=!0:(this.timeOpen=!1,this.timeForce=!1,this.assistForce=!1,this.addsubForce=!1,this.receiveShow=!1,this.$refs.owner&&this.$refs.owner.handleClose(),this.$refs.assist&&this.$refs.assist.handleClose())},immediate:!0},receiveShow:function(t){t&&(this.timeValue=this.taskDetail.end_at?[this.taskDetail.start_at,this.taskDetail.end_at]:[])}},methods:{innerHeightListener:function(){this.innerHeight=Math.min(1100,window.innerHeight)},within24Hours:function(t){return $A.Date(t,!0)-this.nowTime<86400},expiresFormat:function(t){return $A.countDownFormat(t,this.nowTime)},isOverdue:function(t){return!!t.overdue||$A.Date(t.end_at,!0)0)return this.receiveShow=!1,void $A.messageError("任务已被领取");var r=$A.date2string(this.timeValue,"Y-m-d H:i");if(!r[0]||!r[1])return void $A.messageError("请设置计划时间");$A.rightExists(r[0],"00:00")&&$A.rightExists(r[1],"00:00")&&(r[1]=r[1].replace("00:00","23:59")),n.times=r,n.owner=this.ownerData.owner_userid=[this.userId]}$A.jsonStringify(this.taskDetail.owner_userid)!==$A.jsonStringify(this.ownerData.owner_userid)&&(0==$A.count(n.owner)&&(n.owner=""),this.ownerLoad++,this.$store.dispatch("taskUpdate",n).then((function(t){var n=t.msg;$A.messageSuccess(n),e.ownerLoad--,e.receiveShow=!1,e.$store.dispatch("getTaskOne",e.taskDetail.id).catch((function(){}))})).catch((function(t){var n=t.msg;$A.modalError(n),e.ownerLoad--,e.receiveShow=!1})))},openAssist:function(){var t=this.getAssist.map((function(t){return t.userid}));this.$set(this.taskDetail,"assist_userid",t),this.$set(this.assistData,"assist_userid",t),this.$set(this.assistData,"disabled",this.getOwner.map((function(t){return t.userid})))},onAssist:function(){var t=this;if($A.jsonStringify(this.taskDetail.assist_userid)!==$A.jsonStringify(this.assistData.assist_userid)){var e=this.assistData.assist_userid;0===e.length&&(e=!1),this.assistLoad++,this.$store.dispatch("taskUpdate",{task_id:this.taskDetail.id,assist:e}).then((function(e){var n=e.msg;$A.messageSuccess(n),t.assistLoad--,t.$store.dispatch("getTaskOne",t.taskDetail.id).catch((function(){}))})).catch((function(e){var n=e.msg;$A.modalError(n),t.assistLoad--}))}},openTime:function(){this.timeOpen=!this.timeOpen,this.timeOpen&&(this.timeValue=this.taskDetail.end_at?[this.taskDetail.start_at,this.taskDetail.end_at]:[])},timeChange:function(t){t||(this.timeOpen=!1)},timeClear:function(){this.updateData("times",{start_at:!1,end_at:!1}),this.timeOpen=!1},timeOk:function(){var t=$A.date2string(this.timeValue,"Y-m-d H:i");t[0]&&t[1]&&$A.rightExists(t[0],"00:00")&&$A.rightExists(t[1],"00:00")&&(t[1]=t[1].replace("00:00","23:59")),this.updateData("times",{start_at:t[0],end_at:t[1]}),this.timeOpen=!1},addsubOpen:function(){var t=this;this.addsubShow=!0,this.$nextTick((function(){t.$refs.addsub.focus()}))},addsubChackClose:function(){""==this.addsubName&&(this.addsubShow=!1)},addsubKeydown:function(t){if(13===t.keyCode){if(t.shiftKey||this.addsubLoad>0)return;t.preventDefault(),this.onAddsub()}},onAddsub:function(){var t=this;""!=this.addsubName?(this.addsubLoad++,this.$store.dispatch("taskAddSub",{task_id:this.taskDetail.id,name:this.addsubName}).then((function(e){var n=e.msg;$A.messageSuccess(n),t.addsubLoad--,t.addsubName=""})).catch((function(e){var n=e.msg;$A.modalError(n),t.addsubLoad--}))):$A.messageError("任务描述不能为空")},getLogLists:function(){"log"==this.navActive&&this.$refs.log.getLists(!0)},logLoadChange:function(t){this.logLoadIng=t},dropAdd:function(t){var e=this;switch(t){case"priority":this.$set(this.taskDetail,"p_name",this.$L("未设置")),this.$nextTick((function(){e.$refs.priority.show()}));break;case"assist":this.assistForce=!0,this.openAssist(),this.$nextTick((function(){e.$refs.assist.handleClick()}));break;case"times":this.timeForce=!0,this.$nextTick((function(){e.openTime()}));break;case"file":this.$refs.upload.handleClick();break;case"subtask":this.addsubForce=!0,this.$nextTick((function(){e.addsubOpen()}))}},msgKeydown:function(t){if(13===t.keyCode){if(t.shiftKey)return;t.preventDefault(),this.msgText&&this.msgDialog()}},msgDialog:function(){var t=this;this.sendLoad>0||(this.sendLoad++,this.$store.dispatch("call",{url:"project/task/dialog",data:{task_id:this.taskDetail.id}}).then((function(e){var n=e.data;t.$store.dispatch("saveTask",n),t.$store.dispatch("getDialogOne",n.dialog_id).then((function(){t.sendLoad--,$A.isSubElectron?t.resizeDialog().then((function(){t.sendDialogMsg()})):t.$nextTick((function(){t.windowMax768?(window.__sendDialogMsg={time:$A.Time()+10,msgText:t.msgText,msgFile:t.msgFile},t.msgFile=[],t.msgText="",t.goForward({name:"manage-messenger",query:{_:$A.randomString(6)}}),$A.setStorage("messenger::dialogId",n.dialog_id),t.$store.state.dialogOpenId=n.dialog_id,t.$store.dispatch("openTask",0)):t.sendDialogMsg()}))})).catch((function(e){var n=e.msg;t.sendLoad--,$A.modalError(n)}))})).catch((function(e){var n=e.msg;t.sendLoad--,$A.modalError(n)})))},sendDialogMsg:function(){this.msgFile.length>0?this.$refs.dialog.sendFileMsg(this.msgFile):this.msgText&&this.$refs.dialog.sendMsg(this.msgText),this.msgFile=[],this.msgText=""},msgPasteDrag:function(t,e){var n="drag"===e?t.dataTransfer.files:t.clipboardData.files;this.msgFile=Array.prototype.slice.call(n),this.msgFile.length>0&&(t.preventDefault(),this.msgDialog())},taskPasteDrag:function(t,e){this.dialogDrag=!1,this.msgPasteDrag(t,e)},taskDragOver:function(t,e){var n=this,r=this.__dialogDrag=$A.randomString(8);if(t){if("move"===e.dataTransfer.effectAllowed)return;this.dialogDrag=!0}else setTimeout((function(){r===n.__dialogDrag&&(n.dialogDrag=t)}),150)},onSelectFile:function(t){this.msgFile=[t],this.msgDialog()},deleteFile:function(t){var e=this;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((function(t){var n=t.msg;$A.modalError(n),e.$store.dispatch("getTaskFiles",e.taskDetail.id)}))},openMenu:function(t){var e=this.$refs["taskMenu_".concat(t.id)];e&&e.handleClick()},openNewWin:function(){var 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,force:!1,config:t}),this.$store.dispatch("openTask",0)},resizeDialog:function(){var t=this;return new Promise((function(e){t.$Electron.sendSyncMessage("windowSize",{width:Math.max(1100,window.innerWidth),height:Math.max(720,window.innerHeight),minWidth:800,minHeight:600,autoZoom:!0});var n=0,r=setInterval((function(){n++,(t.$refs.dialog||n>20)&&(clearInterval(r),t.$refs.dialog&&e())}),100)}))},viewFile:function(t){if(["jpg","jpeg","gif","png"].includes(t.ext)){var e=this.fileList.filter((function(t){return["jpg","jpeg","gif","png"].includes(t.ext)})),n=e.findIndex((function(e){return e.id===t.id}));n>-1?(this.$store.state.previewImageIndex=n,this.$store.state.previewImageList=e.map((function(t){return t.path}))):(this.$store.state.previewImageIndex=0,this.$store.state.previewImageList=[t.path])}else this.$Electron?this.$Electron.sendMessage("windowRouter",{name:"file-task-"+t.id,path:"/single/file/task/"+t.id,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:"".concat(t.name," (").concat($A.bytesToSize(t.size),")"),titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)}}):window.open($A.apiUrl("../single/file/task/".concat(t.id)))},downFile:function(t){var e=this;$A.modalConfirm({title:"下载文件",content:"".concat(t.name," (").concat($A.bytesToSize(t.size),")"),okText:"立即下载",onOk:function(){e.$store.dispatch("downUrl",$A.apiUrl("project/task/filedown?file_id=".concat(t.id)))}})}}};const b=(0,u.Z)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.ready&&t.taskDetail.parent_id>0?n("li",[n("div",{staticClass:"subtask-icon"},[n("TaskMenu",{ref:"taskMenu_"+t.taskDetail.id,attrs:{disabled:0===t.taskId,task:t.taskDetail,"load-status":!0===t.taskDetail.loading},on:{"on-update":t.getLogLists}})],1),t._v(" "),t.taskDetail.flow_item_name?n("div",{staticClass:"subtask-flow"},[n("span",{class:t.taskDetail.flow_item_status,on:{click:function(e){return e.stopPropagation(),t.openMenu(t.taskDetail)}}},[t._v(t._s(t.taskDetail.flow_item_name))])]):t._e(),t._v(" "),n("div",{staticClass:"subtask-name"},[n("Input",{ref:"name",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:8},maxlength:255},on:{"on-blur":function(e){return t.updateBlur("name")},"on-keydown":t.onNameKeydown},model:{value:t.taskDetail.name,callback:function(e){t.$set(t.taskDetail,"name",e)},expression:"taskDetail.name"}})],1),t._v(" "),n("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-clear":t.timeClear,"on-ok":t.timeOk},model:{value:t.timeValue,callback:function(e){t.timeValue=e},expression:"timeValue"}},[!t.taskDetail.complete_at&&t.taskDetail.end_at&&t.taskDetail.end_at!=t.mainEndAt?n("div",{class:["time",t.taskDetail.today?"today":"",t.taskDetail.overdue?"overdue":""],on:{click:t.openTime}},[t._v("\n "+t._s(t.expiresFormat(t.taskDetail.end_at))+"\n ")]):n("Icon",{staticClass:"clock",attrs:{type:"ios-clock-outline"},on:{click:t.openTime}})],1),t._v(" "),n("Poptip",{ref:"owner",staticClass:"subtask-avatar",attrs:{"popper-class":"task-detail-user-popper",title:t.$L("修改负责人"),width:240,placement:"bottom",transfer:""},on:{"on-popper-show":t.openOwner,"on-ok":t.onOwner}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("UserInput",{attrs:{"multiple-max":1,"project-id":t.taskDetail.project_id,placeholder:t.$L("选择任务负责人"),transfer:!1},model:{value:t.ownerData.owner_userid,callback:function(e){t.$set(t.ownerData,"owner_userid",e)},expression:"ownerData.owner_userid"}}),t._v(" "),n("div",{staticClass:"task-detail-avatar-buttons"},[n("Button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.$refs.owner.ok()}}},[t._v(t._s(t.$L("确定")))])],1)],1),t._v(" "),t.getOwner.length>0?t._l(t.getOwner,(function(t){return n("UserAvatar",{key:t.userid,attrs:{userid:t.userid,size:20,tooltipDisabled:""}})})):n("div",[t._v("--")])],2)],1):t.ready?n("div",{class:{"task-detail":!0,"open-dialog":t.hasOpenDialog,completed:t.taskDetail.complete_at}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.taskDetail.id>0,expression:"taskDetail.id > 0"}],staticClass:"task-info"},[n("div",{staticClass:"head"},[n("TaskMenu",{ref:"taskMenu_"+t.taskDetail.id,staticClass:"icon",attrs:{disabled:0===t.taskId,task:t.taskDetail,size:"medium","color-show":!1},on:{"on-update":t.getLogLists}}),t._v(" "),t.taskDetail.flow_item_name?n("div",{staticClass:"flow"},[n("span",{class:t.taskDetail.flow_item_status,on:{click:function(e){return e.stopPropagation(),t.openMenu(t.taskDetail)}}},[t._v(t._s(t.taskDetail.flow_item_name))])]):t._e(),t._v(" "),t.taskDetail.archived_at?n("div",{staticClass:"flow"},[n("span",{staticClass:"archived",on:{click:function(e){return e.stopPropagation(),t.openMenu(t.taskDetail)}}},[t._v(t._s(t.$L("已归档")))])]):t._e(),t._v(" "),n("div",{staticClass:"nav"},[t.projectName?n("p",[n("span",[t._v(t._s(t.projectName))])]):t._e(),t._v(" "),t.columnName?n("p",[n("span",[t._v(t._s(t.columnName))])]):t._e(),t._v(" "),t.taskDetail.id?n("p",[n("span",[t._v(t._s(t.taskDetail.id))])]):t._e()]),t._v(" "),n("div",{staticClass:"function"},[0===t.getOwner.length?n("EPopover",{attrs:{placement:"bottom"},model:{value:t.receiveShow,callback:function(e){t.receiveShow=e},expression:"receiveShow"}},[n("div",{staticClass:"task-detail-receive"},[n("div",{staticClass:"receive-title"},[n("Icon",{attrs:{type:"ios-help-circle"}}),t._v("\n "+t._s(t.$L("确认计划时间领取任务"))+"\n ")],1),t._v(" "),n("div",{staticClass:"receive-time"},[n("DatePicker",{attrs:{options:t.timeOptions,format:"yyyy/MM/dd HH:mm",type:"datetimerange",placeholder:t.$L("请设置计划时间"),clearable:!1,editable:!1},model:{value:t.timeValue,callback:function(e){t.timeValue=e},expression:"timeValue"}})],1),t._v(" "),n("div",{staticClass:"receive-bottom"},[n("Button",{attrs:{size:"small",type:"text"},on:{click:function(e){t.receiveShow=!1}}},[t._v("取消")]),t._v(" "),n("Button",{attrs:{loading:t.ownerLoad>0,size:"small",type:"primary"},on:{click:function(e){return t.onOwner(!0)}}},[t._v("确定")])],1)]),t._v(" "),n("Button",{staticClass:"pick",attrs:{slot:"reference",loading:t.ownerLoad>0,type:"primary"},slot:"reference"},[t._v(t._s(t.$L("我要领取任务")))])],1):t._e(),t._v(" "),t.$Electron?n("ETooltip",{attrs:{content:t.$L("新窗口打开")}},[n("i",{staticClass:"taskfont open",on:{click:t.openNewWin}},[t._v("")])]):t._e(),t._v(" "),n("div",{staticClass:"menu"},[n("TaskMenu",{attrs:{disabled:0===t.taskId,task:t.taskDetail,icon:"ios-more","completed-icon":"ios-more",size:"medium","color-show":!1},on:{"on-update":t.getLogLists}})],1)],1)],1),t._v(" "),n("div",{staticClass:"scroller overlay-y"},[n("div",{staticClass:"title"},[n("Input",{ref:"name",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:8},maxlength:255},on:{"on-blur":function(e){return t.updateBlur("name")},"on-keydown":t.onNameKeydown},model:{value:t.taskDetail.name,callback:function(e){t.$set(t.taskDetail,"name",e)},expression:"taskDetail.name"}})],1),t._v(" "),n("div",{staticClass:"desc"},[n("TEditor",{ref:"desc",attrs:{value:t.taskContent,plugins:t.taskPlugins,options:t.taskOptions,"option-full":t.taskOptionFull,placeholder:t.$L("详细描述..."),inline:""},on:{"on-blur":function(e){return t.updateBlur("content")}}})],1),t._v(" "),n("Form",{staticClass:"items",attrs:{"label-position":"left","label-width":"auto"},nativeOn:{submit:function(t){t.preventDefault()}}},[t.taskDetail.p_name?n("FormItem",[n("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("优先级"))+"\n ")]),t._v(" "),n("ul",{staticClass:"item-content"},[n("li",[n("EDropdown",{ref:"priority",attrs:{trigger:"click",placement:"bottom"},on:{command:function(e){return t.updateData("priority",e)}}},[n("TaskPriority",{attrs:{backgroundColor:t.taskDetail.p_color}},[t._v(t._s(t.taskDetail.p_name))]),t._v(" "),n("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.taskPriority,(function(e,r){return n("EDropdownItem",{key:r,attrs:{command:e}},[n("i",{staticClass:"taskfont",style:{color:e.color},domProps:{innerHTML:t._s(t.taskDetail.p_name==e.name?"":"")}}),t._v("\n "+t._s(e.name)+"\n ")])})),1)],1)],1)])]):t._e(),t._v(" "),t.getOwner.length>0?n("FormItem",[n("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("负责人"))+"\n ")]),t._v(" "),n("Poptip",{ref:"owner",staticClass:"item-content user",attrs:{title:t.$L("修改负责人"),width:240,"popper-class":"task-detail-user-popper",placement:"bottom",transfer:""},on:{"on-popper-show":t.openOwner,"on-ok":t.onOwner}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("UserInput",{attrs:{"multiple-max":10,"project-id":t.taskDetail.project_id,placeholder:t.$L("选择任务负责人"),transfer:!1},model:{value:t.ownerData.owner_userid,callback:function(e){t.$set(t.ownerData,"owner_userid",e)},expression:"ownerData.owner_userid"}}),t._v(" "),n("div",{staticClass:"task-detail-avatar-buttons"},[n("Button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.$refs.owner.ok()}}},[t._v(t._s(t.$L("确定")))])],1)],1),t._v(" "),n("div",{staticClass:"user-list"},t._l(t.getOwner,(function(e){return n("UserAvatar",{key:e.userid,attrs:{userid:e.userid,size:28,showName:1===t.getOwner.length,tooltipDisabled:""}})})),1)])],1):t._e(),t._v(" "),t.getAssist.length>0||t.assistForce?n("FormItem",[n("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("协助人员"))+"\n ")]),t._v(" "),n("Poptip",{ref:"assist",staticClass:"item-content user",attrs:{title:t.$L(t.getAssist.length>0?"修改协助人员":"添加协助人员"),width:280,"popper-class":"task-detail-user-popper",placement:"bottom",transfer:""},on:{"on-popper-show":t.openAssist,"on-ok":t.onAssist}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("UserInput",{attrs:{"multiple-max":10,"project-id":t.taskDetail.project_id,"disabled-choice":t.assistData.disabled,placeholder:t.$L("选择任务协助人员"),transfer:!1},model:{value:t.assistData.assist_userid,callback:function(e){t.$set(t.assistData,"assist_userid",e)},expression:"assistData.assist_userid"}}),t._v(" "),n("div",{staticClass:"task-detail-avatar-buttons"},[n("Button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.$refs.assist.ok()}}},[t._v(t._s(t.$L("确定")))])],1)],1),t._v(" "),t.getAssist.length>0?n("div",{staticClass:"user-list"},t._l(t.getAssist,(function(e){return n("UserAvatar",{key:e.userid,attrs:{userid:e.userid,size:28,showName:1===t.getAssist.length,tooltipDisabled:""}})})),1):n("div",[t._v("--")])])],1):t._e(),t._v(" "),t.taskDetail.end_at||t.timeForce?n("FormItem",[n("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("截止时间"))+"\n ")]),t._v(" "),n("ul",{staticClass:"item-content"},[n("li",[n("DatePicker",{attrs:{open:t.timeOpen,options:t.timeOptions,format:"yyyy/MM/dd HH:mm",type:"datetimerange",transfer:""},on:{"on-open-change":t.timeChange,"on-clear":t.timeClear,"on-ok":t.timeOk},model:{value:t.timeValue,callback:function(e){t.timeValue=e},expression:"timeValue"}},[n("div",{staticClass:"picker-time"},[n("div",{staticClass:"time",on:{click:t.openTime}},[t._v(t._s(t.taskDetail.end_at?t.cutTime:"--"))]),t._v(" "),!t.taskDetail.complete_at&&t.taskDetail.end_at?[t.within24Hours(t.taskDetail.end_at)?n("Tag",{attrs:{color:"blue"}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.expiresFormat(t.taskDetail.end_at)))]):t._e(),t._v(" "),t.isOverdue(t.taskDetail)?n("Tag",{attrs:{color:"red"}},[t._v(t._s(t.$L("超期未完成")))]):t._e()]:t._e()],2)])],1)])]):t._e(),t._v(" "),t.fileList.length>0?n("FormItem",[n("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("附件"))+"\n ")]),t._v(" "),n("ul",{staticClass:"item-content file"},[t.taskDetail.file_num>50?n("li",{staticClass:"tip"},[t._v(t._s(t.$L("共"+t.taskDetail.file_num+"个文件,仅显示最新50个")))]):t._e(),t._v(" "),t._l(t.fileList,(function(e){return n("li",[e.id?n("img",{staticClass:"file-ext",attrs:{src:e.thumb}}):n("Loading",{staticClass:"file-load"}),t._v(" "),n("div",{staticClass:"file-name"},[t._v(t._s(e.name))]),t._v(" "),n("div",{staticClass:"file-size"},[t._v(t._s(t.$A.bytesToSize(e.size)))]),t._v(" "),n("div",{staticClass:"file-menu",class:{show:e._show_menu}},[n("Icon",{attrs:{type:"md-eye"},on:{click:function(n){return t.viewFile(e)}}}),t._v(" "),n("Icon",{attrs:{type:"md-arrow-round-down"},on:{click:function(n){return t.downFile(e)}}}),t._v(" "),n("EPopover",{staticClass:"file-delete",model:{value:e._show_menu,callback:function(n){t.$set(e,"_show_menu",n)},expression:"file._show_menu"}},[n("div",{staticClass:"task-detail-delete-file-popover"},[n("p",[t._v(t._s(t.$L("你确定要删除这个文件吗?")))]),t._v(" "),n("div",{staticClass:"buttons"},[n("Button",{attrs:{size:"small",type:"text"},on:{click:function(t){e._show_menu=!1}}},[t._v(t._s(t.$L("取消")))]),t._v(" "),n("Button",{attrs:{size:"small",type:"primary"},on:{click:function(n){return t.deleteFile(e)}}},[t._v(t._s(t.$L("确定")))])],1)]),t._v(" "),n("i",{staticClass:"taskfont del",attrs:{slot:"reference"},slot:"reference"},[t._v("")])])],1)],1)}))],2),t._v(" "),n("ul",{staticClass:"item-content"},[n("li",[n("div",{staticClass:"add-button",on:{click:function(e){return t.$refs.upload.handleClick()}}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("添加附件"))+"\n ")])])])]):t._e(),t._v(" "),t.subList.length>0||t.addsubForce?n("FormItem",[n("div",{staticClass:"item-label",attrs:{slot:"label"},slot:"label"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("子任务"))+"\n ")]),t._v(" "),n("ul",{staticClass:"item-content subtask"},t._l(t.subList,(function(e,r){return n("TaskDetail",{key:r,ref:"subTask_"+e.id,refInFor:!0,attrs:{"task-id":e.id,"open-task":e,"main-end-at":t.taskDetail.end_at,"can-update-blur":t.canUpdateBlur}})})),1),t._v(" "),n("ul",{class:["item-content",0===t.subList.length?"nosub":""]},[n("li",[t.addsubShow?n("Input",{ref:"addsub",staticClass:"add-input",class:{loading:t.addsubLoad>0},attrs:{placeholder:t.$L("+ 输入子任务,回车添加子任务"),icon:t.addsubLoad>0?"ios-loading":""},on:{"on-blur":t.addsubChackClose,"on-keydown":t.addsubKeydown},model:{value:t.addsubName,callback:function(e){t.addsubName=e},expression:"addsubName"}}):n("div",{staticClass:"add-button",on:{click:t.addsubOpen}},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v(t._s(t.$L("添加子任务"))+"\n ")])],1)])]):t._e()],1),t._v(" "),t.menuList.length>0?n("div",{staticClass:"add"},[n("EDropdown",{attrs:{trigger:"click",placement:"bottom"},on:{command:t.dropAdd}},[n("div",{staticClass:"add-button"},[n("i",{staticClass:"taskfont"},[t._v("")]),t._v("\n "+t._s(t.$L("添加"))+"\n "),t._l(t.menuList,(function(e){return n("em",[t._v(t._s(t.$L(e.name)))])}))],2),t._v(" "),n("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.menuList,(function(e,r){return n("EDropdownItem",{key:r,attrs:{command:e.command}},[n("div",{staticClass:"item"},[n("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(e.icon)}}),t._v(t._s(t.$L(e.name))+"\n ")])])})),1)],1)],1):t._e()],1),t._v(" "),n("TaskUpload",{ref:"upload",staticClass:"upload",on:{"on-select-file":t.onSelectFile}})],1),t._v(" "),n("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?n("DialogWrapper",{ref:"dialog",attrs:{"dialog-id":t.taskDetail.dialog_id}},[n("div",{staticClass:"head",attrs:{slot:"head"},slot:"head"},[n("Icon",{staticClass:"icon",attrs:{type:"ios-chatbubbles-outline"}}),t._v(" "),n("div",{staticClass:"nav"},[n("p",{class:{active:"dialog"==t.navActive},on:{click:function(e){t.navActive="dialog"}}},[t._v(t._s(t.$L("聊天")))]),t._v(" "),n("p",{class:{active:"log"==t.navActive},on:{click:function(e){t.navActive="log"}}},[t._v(t._s(t.$L("动态")))]),t._v(" "),"log"==t.navActive?n("div",{staticClass:"refresh"},[t.logLoadIng?n("Loading"):n("Icon",{attrs:{type:"ios-refresh"},on:{click:t.getLogLists}})],1):t._e()])],1)]):t._e(),t._v(" "),"log"==t.navActive&&t.taskId>0?n("ProjectLog",{ref:"log",attrs:{"task-id":t.taskDetail.id},on:{"on-load-change":t.logLoadChange}}):t._e()]:n("div",[n("div",{staticClass:"head"},[n("Icon",{staticClass:"icon",attrs:{type:"ios-chatbubbles-outline"}}),t._v(" "),n("div",{staticClass:"nav"},[n("p",{class:{active:"dialog"==t.navActive},on:{click:function(e){t.navActive="dialog"}}},[t._v(t._s(t.$L("聊天")))]),t._v(" "),n("p",{class:{active:"log"==t.navActive},on:{click:function(e){t.navActive="log"}}},[t._v(t._s(t.$L("动态")))]),t._v(" "),"log"==t.navActive?n("div",{staticClass:"refresh"},[t.logLoadIng?n("Loading"):n("Icon",{attrs:{type:"ios-refresh"},on:{click:t.getLogLists}})],1):t._e()])],1),t._v(" "),"log"==t.navActive&&t.taskId>0?n("ProjectLog",{ref:"log",attrs:{"task-id":t.taskDetail.id,"show-load":!1},on:{"on-load-change":t.logLoadChange}}):n("div",{staticClass:"no-dialog",on:{drop:function(e){return e.preventDefault(),t.taskPasteDrag(e,"drag")},dragover:function(e){return e.preventDefault(),t.taskDragOver(!0,e)},dragleave:function(e){return e.preventDefault(),t.taskDragOver(!1,e)}}},[n("div",{staticClass:"no-tip"},[t._v(t._s(t.$L("暂无消息")))]),t._v(" "),n("div",{staticClass:"no-input"},[n("DragInput",{staticClass:"dialog-input",attrs:{type:"textarea",disabled:t.sendLoad>0,rows:1,autosize:{minRows:1,maxRows:3},maxlength:2e4,placeholder:t.$L("输入消息...")},on:{"on-keydown":t.msgKeydown,"on-input-paste":t.msgPasteDrag},model:{value:t.msgText,callback:function(e){t.msgText=e},expression:"msgText"}}),t._v(" "),n("div",{staticClass:"no-send",on:{click:t.msgDialog}},[t.sendLoad>0?n("Loading"):[n("Badge",{attrs:{count:t.taskDetail.msg_num}}),t._v(" "),n("Icon",{attrs:{type:"md-send"}})]],2)],1),t._v(" "),t.dialogDrag?n("div",{staticClass:"drag-over",on:{click:function(e){t.dialogDrag=!1}}},[n("div",{staticClass:"drag-text"},[t._v(t._s(t.$L("拖动到这里发送")))])]):t._e()])],1)],2),t._v(" "),t.taskDetail.id?t._e():n("div",{staticClass:"task-load"},[n("Loading")],1)]):t._e()}),[],!1,null,null,null).exports},21929:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(20629);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e0},flow:function(){var t=this;return this.taskFlows.find((function(e){return e.task_id==t.task.id}))},turns:function(){var t=this;if(!this.flow)return[];var e=this.taskFlowItems.find((function(e){return e.id==t.flow.flow_item_id}));return e?this.taskFlowItems.filter((function(t){var n=t.id;return e.turns.includes(n)})):[]}}),methods:{show:function(){this.$refs.dropdown.show()},hide:function(){this.$refs.dropdown.hide()},handleClick:function(){this.$refs.dropdown.handleClick()},dropTask:function(t){var e=this,n=this.task,r=function(t){t?e.$store.dispatch("saveTaskCompleteTemp",n.id):e.$store.dispatch("forgetTaskCompleteTemp",n.id)};if($A.isJson(t))t.name&&this.updateTask({color:t.color}).catch((function(){}));else{if($A.leftExists(t,"turn::")){var o=$A.leftDelete(t,"turn::");if(o==this.task.flow_item_id)return;var i=this.taskFlowItems.find((function(t){return t.id==e.flow.flow_item_id}))||{},a=this.taskFlowItems.find((function(t){return t.id==o}))||{},s="end"!==i.status&&"end"===a.status,u="end"===i.status&&"end"!==a.status;return this.updateBefore&&(s?r(!0):u&&r(!1)),void this.updateTask({flow_item_id:o}).then((function(){s?r(!0):u&&r(!1)})).catch((function(){s?r(!1):u&&r(!0)}))}switch(t){case"complete":if(this.task.complete_at)return;this.updateBefore&&r(!0),this.updateTask({complete_at:$A.formatDate("Y-m-d H:i:s")}).then((function(){r(!0)})).catch((function(){r(!1)}));break;case"uncomplete":if(!this.task.complete_at)return;this.updateBefore&&r(!1),this.updateTask({complete_at:!1}).then((function(){r(!1)})).catch((function(){r(!0)}));break;case"archived":case"remove":this.archivedOrRemoveTask(t)}}},visibleChange:function(t){t&&this.$store.dispatch("getTaskFlow",this.task.id).then(this.$refs.dropdownMenu.updatePopper).catch(this.$refs.dropdownMenu.updatePopper)},updateTask:function(t){var e=this;return new Promise((function(n,r){e.loadIng?r():(Object.keys(t).forEach((function(n){return e.$set(e.task,n,t[n])})),e.$store.dispatch("taskUpdate",Object.assign(t,{task_id:e.task.id})).then((function(t){var r=t.data,o=t.msg;$A.messageSuccess(o),n(),e.$emit("on-update",r)})).catch((function(t){var n=t.msg;$A.modalError(n),e.$store.dispatch("getTaskOne",e.task.id).catch((function(){})),r()})))}))},archivedOrRemoveTask:function(t){var e=this,n="removeTask",r="删除",o={task_id:this.task.id},i=this.task.parent_id>0?"子任务":"任务";"archived"==t&&(n="archivedTask",r="归档",this.task.archived_at&&(r="还原归档",o={task_id:this.task.id,type:"recovery"})),$A.modalConfirm({title:r+i,content:"你确定要"+r+i+"【"+this.task.name+"】吗?",loading:!0,onOk:function(){e.loadIng?e.$Modal.remove():e.$store.dispatch(n,o).then((function(t){var n=t.msg;$A.messageSuccess(n),e.$Modal.remove()})).catch((function(t){var n=t.msg;$A.modalError(n,301),e.$Modal.remove()}))}})}}};const u=(0,n(51900).Z)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("EDropdown",{ref:"dropdown",attrs:{trigger:"click",disabled:t.disabled,size:t.size,placement:"bottom"},on:{command:t.dropTask,"visible-change":t.visibleChange}},[t._t("icon",(function(){return[n("div",{staticClass:"task-menu-icon"},[t.loadIng?n("div",{staticClass:"loading"},[n("Loading")],1):[t.task.complete_at?n("Icon",{staticClass:"completed",attrs:{type:t.completedIcon}}):n("Icon",{staticClass:"uncomplete",attrs:{type:t.icon}})]],2)]})),t._v(" "),n("EDropdownMenu",{ref:"dropdownMenu",staticClass:"task-menu-more-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("li",{staticClass:"task-menu-more-warp",class:t.size},[n("ul",[t.flow?t.turns.length>0?t._l(t.turns,(function(e){return n("EDropdownItem",{key:e.id,attrs:{command:"turn::"+e.id}},[n("div",{staticClass:"item flow"},[e.id==t.task.flow_item_id&&!0!==t.flow.auto_assign?n("Icon",{staticClass:"check",attrs:{type:"md-checkmark-circle-outline"}}):n("Icon",{attrs:{type:"md-radio-button-off"}}),t._v(" "),n("div",{staticClass:"flow-name",class:e.status},[t._v(t._s(e.name))])],1)])})):[t.task.complete_at?n("EDropdownItem",{attrs:{command:"uncomplete"}},[n("div",{staticClass:"item red"},[n("Icon",{attrs:{type:"md-checkmark-circle-outline"}}),t._v(t._s(t.$L("标记未完成"))+"\n ")],1)]):n("EDropdownItem",{attrs:{command:"complete"}},[n("div",{staticClass:"item"},[n("Icon",{attrs:{type:"md-radio-button-off"}}),t._v(t._s(t.$L("完成"))+"\n ")],1)])]:n("EDropdownItem",{staticClass:"load-flow",attrs:{disabled:""}},[n("div",{staticClass:"load-flow-warp"},[n("Loading")],1)]),t._v(" "),0===t.task.parent_id?[n("EDropdownItem",{attrs:{divided:t.turns.length>0,command:"archived"}},[n("div",{staticClass:"item"},[n("Icon",{attrs:{type:"ios-filing"}}),t._v(t._s(t.$L(t.task.archived_at?"还原归档":"归档"))+"\n ")],1)]),t._v(" "),n("EDropdownItem",{attrs:{command:"remove"}},[n("div",{staticClass:"item hover-del"},[n("Icon",{attrs:{type:"md-trash"}}),t._v(t._s(t.$L("删除"))+"\n ")],1)]),t._v(" "),t.colorShow?t._l(t.taskColorList,(function(e,r){return n("EDropdownItem",{key:"c_"+r,attrs:{divided:0==r,command:e}},[n("div",{staticClass:"item"},[n("i",{staticClass:"taskfont",style:{color:e.color||"#f9f9f9"},domProps:{innerHTML:t._s(e.color==t.task.color?"":"")}}),t._v(t._s(t.$L(e.name))+"\n ")])])})):t._e()]:n("EDropdownItem",{attrs:{command:"remove",divided:t.turns.length>0}},[n("div",{staticClass:"item"},[n("Icon",{attrs:{type:"md-trash"}}),t._v(t._s(t.$L("删除"))+"\n ")],1)])],2)])])],2)}),[],!1,null,null,null).exports},25199:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e{s.d(e,{Z:()=>c});var a=s(20629);function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function n(t){for(var e=1;e0},flow:function(){var t=this;return this.taskFlows.find((function(e){return e.task_id==t.task.id}))},turns:function(){var t=this;if(!this.flow)return[];var e=this.taskFlowItems.find((function(e){return e.id==t.flow.flow_item_id}));return e?this.taskFlowItems.filter((function(t){var s=t.id;return e.turns.includes(s)})):[]}}),methods:{show:function(){this.$refs.dropdown.show()},hide:function(){this.$refs.dropdown.hide()},handleClick:function(){this.$refs.dropdown.handleClick()},dropTask:function(t){var e=this,s=this.task,a=function(t){t?e.$store.dispatch("saveTaskCompleteTemp",s.id):e.$store.dispatch("forgetTaskCompleteTemp",s.id)};if($A.isJson(t))t.name&&this.updateTask({color:t.color}).catch((function(){}));else{if($A.leftExists(t,"turn::")){var o=$A.leftDelete(t,"turn::");if(o==this.task.flow_item_id)return;var n=this.taskFlowItems.find((function(t){return t.id==e.flow.flow_item_id}))||{},i=this.taskFlowItems.find((function(t){return t.id==o}))||{},r="end"!==n.status&&"end"===i.status,c="end"===n.status&&"end"!==i.status;return this.updateBefore&&(r?a(!0):c&&a(!1)),void this.updateTask({flow_item_id:o}).then((function(){r?a(!0):c&&a(!1)})).catch((function(){r?a(!1):c&&a(!0)}))}switch(t){case"complete":if(this.task.complete_at)return;this.updateBefore&&a(!0),this.updateTask({complete_at:$A.formatDate("Y-m-d H:i:s")}).then((function(){a(!0)})).catch((function(){a(!1)}));break;case"uncomplete":if(!this.task.complete_at)return;this.updateBefore&&a(!1),this.updateTask({complete_at:!1}).then((function(){a(!1)})).catch((function(){a(!0)}));break;case"archived":case"remove":this.archivedOrRemoveTask(t)}}},visibleChange:function(t){t&&this.$store.dispatch("getTaskFlow",this.task.id).then(this.$refs.dropdownMenu.updatePopper).catch(this.$refs.dropdownMenu.updatePopper)},updateTask:function(t){var e=this;return new Promise((function(s,a){e.loadIng?a():(Object.keys(t).forEach((function(s){return e.$set(e.task,s,t[s])})),e.$store.dispatch("taskUpdate",Object.assign(t,{task_id:e.task.id})).then((function(t){var a=t.data,o=t.msg;$A.messageSuccess(o),s(),e.$emit("on-update",a)})).catch((function(t){var s=t.msg;$A.modalError(s),e.$store.dispatch("getTaskOne",e.task.id).catch((function(){})),a()})))}))},archivedOrRemoveTask:function(t){var e=this,s="removeTask",a="删除",o={task_id:this.task.id},n=this.task.parent_id>0?"子任务":"任务";"archived"==t&&(s="archivedTask",a="归档",this.task.archived_at&&(a="还原归档",o={task_id:this.task.id,type:"recovery"})),$A.modalConfirm({title:a+n,content:"你确定要"+a+n+"【"+this.task.name+"】吗?",loading:!0,onOk:function(){e.loadIng?e.$Modal.remove():e.$store.dispatch(s,o).then((function(t){var s=t.msg;$A.messageSuccess(s),e.$Modal.remove()})).catch((function(t){var s=t.msg;$A.modalError(s,301),e.$Modal.remove()}))}})}}};const c=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("EDropdown",{ref:"dropdown",attrs:{trigger:"click",disabled:t.disabled,size:t.size,placement:"bottom"},on:{command:t.dropTask,"visible-change":t.visibleChange}},[t._t("icon",(function(){return[s("div",{staticClass:"task-menu-icon"},[t.loadIng?s("div",{staticClass:"loading"},[s("Loading")],1):[t.task.complete_at?s("Icon",{staticClass:"completed",attrs:{type:t.completedIcon}}):s("Icon",{staticClass:"uncomplete",attrs:{type:t.icon}})]],2)]})),t._v(" "),s("EDropdownMenu",{ref:"dropdownMenu",staticClass:"task-menu-more-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[s("li",{staticClass:"task-menu-more-warp",class:t.size},[s("ul",[t.flow?t.turns.length>0?t._l(t.turns,(function(e){return s("EDropdownItem",{key:e.id,attrs:{command:"turn::"+e.id}},[s("div",{staticClass:"item flow"},[e.id==t.task.flow_item_id&&!0!==t.flow.auto_assign?s("Icon",{staticClass:"check",attrs:{type:"md-checkmark-circle-outline"}}):s("Icon",{attrs:{type:"md-radio-button-off"}}),t._v(" "),s("div",{staticClass:"flow-name",class:e.status},[t._v(t._s(e.name))])],1)])})):[t.task.complete_at?s("EDropdownItem",{attrs:{command:"uncomplete"}},[s("div",{staticClass:"item red"},[s("Icon",{attrs:{type:"md-checkmark-circle-outline"}}),t._v(t._s(t.$L("标记未完成"))+"\n ")],1)]):s("EDropdownItem",{attrs:{command:"complete"}},[s("div",{staticClass:"item"},[s("Icon",{attrs:{type:"md-radio-button-off"}}),t._v(t._s(t.$L("完成"))+"\n ")],1)])]:s("EDropdownItem",{staticClass:"load-flow",attrs:{disabled:""}},[s("div",{staticClass:"load-flow-warp"},[s("Loading")],1)]),t._v(" "),0===t.task.parent_id?[s("EDropdownItem",{attrs:{divided:t.turns.length>0,command:"archived"}},[s("div",{staticClass:"item"},[s("Icon",{attrs:{type:"ios-filing"}}),t._v(t._s(t.$L(t.task.archived_at?"还原归档":"归档"))+"\n ")],1)]),t._v(" "),s("EDropdownItem",{attrs:{command:"remove"}},[s("div",{staticClass:"item hover-del"},[s("Icon",{attrs:{type:"md-trash"}}),t._v(t._s(t.$L("删除"))+"\n ")],1)]),t._v(" "),t.colorShow?t._l(t.taskColorList,(function(e,a){return s("EDropdownItem",{key:"c_"+a,attrs:{divided:0==a,command:e}},[s("div",{staticClass:"item"},[s("i",{staticClass:"taskfont",style:{color:e.color||"#f9f9f9"},domProps:{innerHTML:t._s(e.color==t.task.color?"":"")}}),t._v(t._s(t.$L(e.name))+"\n ")])])})):t._e()]:s("EDropdownItem",{attrs:{command:"remove",divided:t.turns.length>0}},[s("div",{staticClass:"item"},[s("Icon",{attrs:{type:"md-trash"}}),t._v(t._s(t.$L("删除"))+"\n ")],1)])],2)])])],2)}),[],!1,null,null,null).exports},78214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=s(20629);function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function n(t){for(var e=1;e0?[s("div",{ref:"type_"+e.type,refInFor:!0,staticClass:"dashboard-ref"}),t._v(" "),s("div",{staticClass:"dashboard-title"},[t._v(t._s(e.title))]),t._v(" "),s("ul",{staticClass:"dashboard-ul"},t._l(e.list,(function(e,a){return s("li",{key:a,class:{complete:e.complete_at},style:e.color?{backgroundColor:e.color}:{},on:{click:function(s){return t.openTask(e)}}},[e.p_name?s("em",{staticClass:"priority-color",style:{backgroundColor:e.p_color}}):t._e(),t._v(" "),s("TaskMenu",{ref:"taskMenu_"+e.id,refInFor:!0,attrs:{task:e}},[s("div",{staticClass:"drop-icon",attrs:{slot:"icon"},on:{click:function(t){t.stopPropagation()}},slot:"icon"},[s("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(e.complete_at?"":"")}})])]),t._v(" "),s("div",{staticClass:"item-title"},[e.flow_item_name?s("span",{class:e.flow_item_status,on:{click:function(s){return s.stopPropagation(),t.openMenu(e)}}},[t._v(t._s(e.flow_item_name))]):t._e(),t._v(" "),!0===e.sub_top?s("span",[t._v(t._s(t.$L("子任务")))]):t._e(),t._v(" "),e.sub_my&&e.sub_my.length>0?s("span",[t._v("+"+t._s(e.sub_my.length))]):t._e(),t._v(" "),t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),e.desc?s("div",{staticClass:"item-icon"},[s("i",{staticClass:"taskfont"},[t._v("")])]):t._e(),t._v(" "),e.sub_num>0?s("div",{staticClass:"item-icon"},[s("i",{staticClass:"taskfont"},[t._v("")]),t._v(" "),s("em",[t._v(t._s(e.sub_complete)+"/"+t._s(e.sub_num))])]):t._e(),t._v(" "),e.end_at?s("ETooltip",{attrs:{content:e.end_at,placement:"right"}},[s("div",{class:["item-icon",e.today?"today":"",e.overdue?"overdue":""]},[s("i",{staticClass:"taskfont"},[t._v("")]),t._v(" "),s("em",[t._v(t._s(t.expiresFormat(e.end_at)))])])]):t._e()],1)})),0)]:t._e()}))],2)])],1)}),[],!1,null,null,null).exports}}]); \ No newline at end of file +"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[478],{21929:(t,e,s)=>{s.d(e,{Z:()=>c});var a=s(20629);function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function n(t){for(var e=1;e0},flow:function(){var t=this;return this.taskFlows.find((function(e){return e.task_id==t.task.id}))},turns:function(){var t=this;if(!this.flow)return[];var e=this.taskFlowItems.find((function(e){return e.id==t.flow.flow_item_id}));return e?this.taskFlowItems.filter((function(t){var s=t.id;return e.turns.includes(s)})):[]}}),methods:{show:function(){this.$refs.dropdown.show()},hide:function(){this.$refs.dropdown.hide()},handleClick:function(){this.$refs.dropdown.handleClick()},dropTask:function(t){var e=this,s=this.task,a=function(t){t?e.$store.dispatch("saveTaskCompleteTemp",s.id):e.$store.dispatch("forgetTaskCompleteTemp",s.id)};if($A.isJson(t))t.name&&this.updateTask({color:t.color}).catch((function(){}));else{if($A.leftExists(t,"turn::")){var o=$A.leftDelete(t,"turn::");if(o==this.task.flow_item_id)return;var n=this.taskFlowItems.find((function(t){return t.id==e.flow.flow_item_id}))||{},i=this.taskFlowItems.find((function(t){return t.id==o}))||{},r="end"!==n.status&&"end"===i.status,c="end"===n.status&&"end"!==i.status;return this.updateBefore&&(r?a(!0):c&&a(!1)),void this.updateTask({flow_item_id:o}).then((function(){r?a(!0):c&&a(!1)})).catch((function(){r?a(!1):c&&a(!0)}))}switch(t){case"complete":if(this.task.complete_at)return;this.updateBefore&&a(!0),this.updateTask({complete_at:$A.formatDate("Y-m-d H:i:s")}).then((function(){a(!0)})).catch((function(){a(!1)}));break;case"uncomplete":if(!this.task.complete_at)return;this.updateBefore&&a(!1),this.updateTask({complete_at:!1}).then((function(){a(!1)})).catch((function(){a(!0)}));break;case"archived":case"remove":this.archivedOrRemoveTask(t)}}},visibleChange:function(t){t&&this.$store.dispatch("getTaskFlow",this.task.id).then(this.$refs.dropdownMenu.updatePopper).catch(this.$refs.dropdownMenu.updatePopper)},updateTask:function(t){var e=this;return new Promise((function(s,a){e.loadIng?a():(Object.keys(t).forEach((function(s){return e.$set(e.task,s,t[s])})),e.$store.dispatch("taskUpdate",Object.assign(t,{task_id:e.task.id})).then((function(t){var a=t.data,o=t.msg;$A.messageSuccess(o),s(),e.$emit("on-update",a)})).catch((function(t){var s=t.msg;$A.modalError(s),e.$store.dispatch("getTaskOne",e.task.id).catch((function(){})),a()})))}))},archivedOrRemoveTask:function(t){var e=this,s="removeTask",a="删除",o={task_id:this.task.id},n=this.task.parent_id>0?"子任务":"任务";"archived"==t&&(s="archivedTask",a="归档",this.task.archived_at&&(a="还原归档",o={task_id:this.task.id,type:"recovery"})),$A.modalConfirm({title:a+n,content:"你确定要"+a+n+"【"+this.task.name+"】吗?",loading:!0,onOk:function(){e.loadIng?e.$Modal.remove():e.$store.dispatch(s,o).then((function(t){var s=t.msg;$A.messageSuccess(s),e.$Modal.remove()})).catch((function(t){var s=t.msg;$A.modalError(s,301),e.$Modal.remove()}))}})}}};const c=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("EDropdown",{ref:"dropdown",attrs:{trigger:"click",disabled:t.disabled,size:t.size,placement:"bottom"},on:{command:t.dropTask,"visible-change":t.visibleChange}},[t._t("icon",(function(){return[s("div",{staticClass:"task-menu-icon"},[t.loadIng?s("div",{staticClass:"loading"},[s("Loading")],1):[t.task.complete_at?s("Icon",{staticClass:"completed",attrs:{type:t.completedIcon}}):s("Icon",{staticClass:"uncomplete",attrs:{type:t.icon}})]],2)]})),t._v(" "),s("EDropdownMenu",{ref:"dropdownMenu",staticClass:"task-menu-more-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[s("li",{staticClass:"task-menu-more-warp",class:t.size},[s("ul",[t.flow?t.turns.length>0?t._l(t.turns,(function(e){return s("EDropdownItem",{key:e.id,attrs:{command:"turn::"+e.id}},[s("div",{staticClass:"item flow"},[e.id==t.task.flow_item_id&&!0!==t.flow.auto_assign?s("Icon",{staticClass:"check",attrs:{type:"md-checkmark-circle-outline"}}):s("Icon",{attrs:{type:"md-radio-button-off"}}),t._v(" "),s("div",{staticClass:"flow-name",class:e.status},[t._v(t._s(e.name))])],1)])})):[t.task.complete_at?s("EDropdownItem",{attrs:{command:"uncomplete"}},[s("div",{staticClass:"item red"},[s("Icon",{attrs:{type:"md-checkmark-circle-outline"}}),t._v(t._s(t.$L("标记未完成"))+"\n ")],1)]):s("EDropdownItem",{attrs:{command:"complete"}},[s("div",{staticClass:"item"},[s("Icon",{attrs:{type:"md-radio-button-off"}}),t._v(t._s(t.$L("完成"))+"\n ")],1)])]:s("EDropdownItem",{staticClass:"load-flow",attrs:{disabled:""}},[s("div",{staticClass:"load-flow-warp"},[s("Loading")],1)]),t._v(" "),0===t.task.parent_id?[s("EDropdownItem",{attrs:{divided:t.turns.length>0,command:"archived"}},[s("div",{staticClass:"item"},[s("Icon",{attrs:{type:"ios-filing"}}),t._v(t._s(t.$L(t.task.archived_at?"还原归档":"归档"))+"\n ")],1)]),t._v(" "),s("EDropdownItem",{attrs:{command:"remove"}},[s("div",{staticClass:"item hover-del"},[s("Icon",{attrs:{type:"md-trash"}}),t._v(t._s(t.$L("删除"))+"\n ")],1)]),t._v(" "),t.colorShow?t._l(t.taskColorList,(function(e,a){return s("EDropdownItem",{key:"c_"+a,attrs:{divided:0==a,command:e}},[s("div",{staticClass:"item"},[s("i",{staticClass:"taskfont",style:{color:e.color||"#f9f9f9"},domProps:{innerHTML:t._s(e.color==t.task.color?"":"")}}),t._v(t._s(t.$L(e.name))+"\n ")])])})):t._e()]:s("EDropdownItem",{attrs:{command:"remove",divided:t.turns.length>0}},[s("div",{staticClass:"item"},[s("Icon",{attrs:{type:"md-trash"}}),t._v(t._s(t.$L("删除"))+"\n ")],1)])],2)])])],2)}),[],!1,null,null,null).exports},45478:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=s(20629);function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function n(t){for(var e=1;e0?[s("div",{ref:"type_"+e.type,refInFor:!0,staticClass:"dashboard-ref"}),t._v(" "),s("div",{staticClass:"dashboard-title"},[t._v(t._s(e.title))]),t._v(" "),s("ul",{staticClass:"dashboard-ul"},t._l(e.list,(function(a,o){return s("li",{key:o,class:{complete:a.complete_at},style:a.color?{backgroundColor:a.color}:{},on:{click:function(e){return t.openTask(a)}}},[a.p_name?s("em",{staticClass:"priority-color",style:{backgroundColor:a.p_color}}):t._e(),t._v(" "),s("TaskMenu",{ref:"taskMenu_"+e.type+"_"+a.id,refInFor:!0,attrs:{task:a}},[s("div",{staticClass:"drop-icon",attrs:{slot:"icon"},on:{click:function(t){t.stopPropagation()}},slot:"icon"},[s("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(a.complete_at?"":"")}})])]),t._v(" "),s("div",{staticClass:"item-title"},[a.flow_item_name?s("span",{class:a.flow_item_status,on:{click:function(s){return s.stopPropagation(),t.openMenu(e.type,a)}}},[t._v(t._s(a.flow_item_name))]):t._e(),t._v(" "),!0===a.sub_top?s("span",[t._v(t._s(t.$L("子任务")))]):t._e(),t._v(" "),a.sub_my&&a.sub_my.length>0?s("span",[t._v("+"+t._s(a.sub_my.length))]):t._e(),t._v(" "),t._v("\n "+t._s(a.name)+"\n ")]),t._v(" "),a.desc?s("div",{staticClass:"item-icon"},[s("i",{staticClass:"taskfont"},[t._v("")])]):t._e(),t._v(" "),a.sub_num>0?s("div",{staticClass:"item-icon"},[s("i",{staticClass:"taskfont"},[t._v("")]),t._v(" "),s("em",[t._v(t._s(a.sub_complete)+"/"+t._s(a.sub_num))])]):t._e(),t._v(" "),a.end_at?s("ETooltip",{attrs:{content:a.end_at,placement:"right"}},[s("div",{class:["item-icon",a.today?"today":"",a.overdue?"overdue":""]},[s("i",{staticClass:"taskfont"},[t._v("")]),t._v(" "),s("em",[t._v(t._s(t.expiresFormat(a.end_at)))])])]):t._e()],1)})),0)]:t._e()}))],2)])],1)}),[],!1,null,null,null).exports}}]); \ No newline at end of file diff --git a/public/js/build/814.js b/public/js/build/814.js deleted file mode 100644 index 6858bc30e..000000000 --- a/public/js/build/814.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[814],{53814:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(20629),i=n(80641);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t0||e.loginJump,size:"large",long:""},on:{click:e.onLogin}},[e._v(e._s(e.$L(e.loginText)))]),e._v(" "),"reg"==e.loginType?n("div",{staticClass:"login-switch"},[e._v(e._s(e.$L("已经有帐号?"))),n("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){e.loginType="login"}}},[e._v(e._s(e.$L("登录帐号")))])]):n("div",{staticClass:"login-switch"},[e._v(e._s(e.$L("还没有帐号?"))),n("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){e.loginType="reg"}}},[e._v(e._s(e.$L("注册帐号")))])])],1)]),e._v(" "),n("div",{staticClass:"login-bottom"},[n("Dropdown",{attrs:{trigger:"click",placement:"top-start"}},[n("div",{staticClass:"login-setting"},[e._v("\n "+e._s(e.$L("设置"))+"\n "),n("i",{staticClass:"taskfont"},[e._v("")])]),e._v(" "),n("DropdownMenu",{staticClass:"login-setting-menu",attrs:{slot:"list"},slot:"list"},[n("Dropdown",{attrs:{placement:"right-end"},on:{"on-click":e.setTheme}},[n("DropdownItem",[n("div",{staticClass:"login-setting-item"},[e._v("\n "+e._s(e.$L("主题皮肤"))+"\n "),n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),e._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},e._l(e.themeList,(function(t,o){return n("DropdownItem",{key:o,attrs:{name:t.value,selected:e.themeMode===t.value}},[e._v(e._s(e.$L(t.name)))])})),1)],1),e._v(" "),n("Dropdown",{attrs:{placement:"right-end"},on:{"on-click":e.setLanguage}},[n("DropdownItem",{attrs:{divided:""}},[n("div",{staticClass:"login-setting-item"},[e._v("\n "+e._s(e.currentLanguage)+"\n "),n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),e._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},e._l(e.languageList,(function(t,o){return n("DropdownItem",{key:o,attrs:{name:o,selected:e.getLanguage()===o}},[e._v(e._s(t))])})),1)],1)],1)],1),e._v(" "),n("div",{staticClass:"login-forgot"},[e._v(e._s(e.$L("忘记密码了?"))),n("a",{attrs:{href:"javascript:void(0)"},on:{click:e.forgotPassword}},[e._v(e._s(e.$L("重置密码")))])])],1)])],1)}),[],!1,null,null,null).exports}}]); \ No newline at end of file diff --git a/public/js/build/826.js b/public/js/build/826.js new file mode 100644 index 000000000..f0babd886 --- /dev/null +++ b/public/js/build/826.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[826],{5826:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(20629),i=n(80641);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t0||e.loginJump,size:"large",long:""},on:{click:e.onLogin}},[e._v(e._s(e.$L(e.loginText)))]),e._v(" "),"reg"==e.loginType?n("div",{staticClass:"login-switch"},[e._v(e._s(e.$L("已经有帐号?"))),n("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){e.loginType="login"}}},[e._v(e._s(e.$L("登录帐号")))])]):n("div",{staticClass:"login-switch"},[e._v(e._s(e.$L("还没有帐号?"))),n("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){e.loginType="reg"}}},[e._v(e._s(e.$L("注册帐号")))])])],1)]),e._v(" "),n("div",{staticClass:"login-bottom"},[n("Dropdown",{attrs:{trigger:"click",placement:"bottom-start"}},[n("div",{staticClass:"login-setting"},[e._v("\n "+e._s(e.$L("设置"))+"\n "),n("i",{staticClass:"taskfont"},[e._v("")])]),e._v(" "),n("DropdownMenu",{staticClass:"login-setting-menu",attrs:{slot:"list"},slot:"list"},[n("Dropdown",{attrs:{placement:"right-start",transfer:""},on:{"on-click":e.setTheme}},[n("DropdownItem",[n("div",{staticClass:"login-setting-item"},[e._v("\n "+e._s(e.$L("主题皮肤"))+"\n "),n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),e._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},e._l(e.themeList,(function(t,o){return n("DropdownItem",{key:o,attrs:{name:t.value,selected:e.themeMode===t.value}},[e._v(e._s(e.$L(t.name)))])})),1)],1),e._v(" "),n("Dropdown",{attrs:{placement:"right-start",transfer:""},on:{"on-click":e.setLanguage}},[n("DropdownItem",{attrs:{divided:""}},[n("div",{staticClass:"login-setting-item"},[e._v("\n "+e._s(e.currentLanguage)+"\n "),n("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),e._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},e._l(e.languageList,(function(t,o){return n("DropdownItem",{key:o,attrs:{name:o,selected:e.getLanguage()===o}},[e._v(e._s(t))])})),1)],1)],1)],1),e._v(" "),n("div",{staticClass:"login-forgot"},[e._v(e._s(e.$L("忘记密码了?"))),n("a",{attrs:{href:"javascript:void(0)"},on:{click:e.forgotPassword}},[e._v(e._s(e.$L("重置密码")))])])],1)])],1)}),[],!1,null,null,null).exports}}]); \ No newline at end of file diff --git a/public/js/hash b/public/js/hash index f76192653..694dc49aa 100644 --- a/public/js/hash +++ b/public/js/hash @@ -1 +1 @@ -59ef1c199f078b0b +89e4d36b5138de04 diff --git a/resources/assets/js/pages/login.vue b/resources/assets/js/pages/login.vue index c60cfc284..d934eb8c0 100644 --- a/resources/assets/js/pages/login.vue +++ b/resources/assets/js/pages/login.vue @@ -31,13 +31,13 @@