@polyv/live-watch-ai-ui 1.0.0-rc-20250814.5 → 1.0.0-rc-20250904.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/live-watch-ai-ui.cjs.js +6 -6
- package/live-watch-ai-ui.es.js +2008 -780
- package/live-watch-ai-ui.umd.js +6 -6
- package/package.json +1 -23
package/live-watch-ai-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode("@charset \"UTF-8\";.plv-polyv-ui-empty-css{font-size:14px}.plv-click-out-side{display:none}.plv-popper{position:fixed;border:1px solid #e5e5e5;font-size:14px;background:#fff;border-radius:2px}.plv-popper .popper__arrow,.plv-popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:#0000;border-style:solid}.plv-popper .popper__arrow{border-width:6px}.plv-popper .popper__arrow:after{content:\" \";border-width:6px}.plv-popper[x-placement^=top]{margin-bottom:9px}.plv-popper[x-placement^=top] .popper__arrow{bottom:-7px;border-top-color:#e5e5e5;border-bottom-width:0}.plv-popper[x-placement^=top] .popper__arrow:after{bottom:1.5px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.plv-popper[x-placement^=bottom]{margin-top:9px}.plv-popper[x-placement^=bottom] .popper__arrow{top:-7px;border-top-width:0;border-bottom-color:#e5e5e5}.plv-popper[x-placement^=bottom] .popper__arrow:after{top:1.5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.plv-popper[x-placement=bottom-start] .popper__arrow,.plv-popper[x-placement=top-start] .popper__arrow{margin-left:-13px}.plv-popper[x-placement=bottom] .popper__arrow,.plv-popper[x-placement=top] .popper__arrow{left:50%!important;margin-left:-6px}.plv-popper[x-placement=bottom-end] .popper__arrow,.plv-popper[x-placement=top-end] .popper__arrow{margin-left:-13px}.plv-popper[x-placement^=right]{margin-left:9px}.plv-popper[x-placement^=right] .popper__arrow{left:-7px;border-right-color:#e5e5e5;border-left-width:0}.plv-popper[x-placement^=right] .popper__arrow:after{bottom:-6px;left:1.5px;border-right-color:#fff;border-left-width:0}.plv-popper[x-placement^=left]{margin-right:9px}.plv-popper[x-placement^=left] .popper__arrow{right:-7px;border-right-width:0;border-left-color:#e5e5e5}.plv-popper[x-placement^=left] .popper__arrow:after{right:1.5px;bottom:-6px;margin-left:-6px;border-right-width:0;border-left-color:#fff}.plv-popper[x-placement=left] .popper__arrow,.plv-popper[x-placement=right] .popper__arrow{top:50%!important;margin-top:-6px}.plv-popper[x-placement=left-end] .popper__arrow,.plv-popper[x-placement=left-start] .popper__arrow,.plv-popper[x-placement=right-end] .popper__arrow,.plv-popper[x-placement=right-start] .popper__arrow{margin-top:-11px}.plv-popper.plv-popper--dark{border:none;background:#0a0a11cc;color:#fff}.plv-popper.plv-popper--dark .popper__arrow:after{display:none}.plv-popper.plv-popper--dark[x-placement^=bottom] .popper__arrow{top:-4px!important;border-bottom-color:#0a0a11cc}.plv-popper.plv-popper--dark[x-placement^=top] .popper__arrow{bottom:-4px;border-top-color:#0a0a11cc}.plv-popper.plv-popper--dark[x-placement^=left] .popper__arrow{right:-4px;border-left-color:#0a0a11cc}.plv-popper.plv-popper--dark[x-placement^=right] .popper__arrow{left:-4px;border-right-color:#0a0a11cc}.plv-markdown-render.plv-markdown-render--light{color:#1d2129;background:#f5f5f5}.plv-markdown-render.plv-markdown-render--light pre code.hljs{display:block;overflow-x:auto;padding:1em}.plv-markdown-render.plv-markdown-render--light code.hljs{padding:3px 5px}.plv-markdown-render.plv-markdown-render--light .hljs{color:#24292e;background:#fff}.plv-markdown-render.plv-markdown-render--light .hljs-doctag,.plv-markdown-render.plv-markdown-render--light .hljs-keyword,.plv-markdown-render.plv-markdown-render--light .hljs-meta .hljs-keyword,.plv-markdown-render.plv-markdown-render--light .hljs-template-tag,.plv-markdown-render.plv-markdown-render--light .hljs-template-variable,.plv-markdown-render.plv-markdown-render--light .hljs-type,.plv-markdown-render.plv-markdown-render--light .hljs-variable.language_{color:#d73a49}.plv-markdown-render.plv-markdown-render--light .hljs-title,.plv-markdown-render.plv-markdown-render--light .hljs-title.class_,.plv-markdown-render.plv-markdown-render--light .hljs-title.class_.inherited__,.plv-markdown-render.plv-markdown-render--light .hljs-title.function_{color:#6f42c1}.plv-markdown-render.plv-markdown-render--light .hljs-attr,.plv-markdown-render.plv-markdown-render--light .hljs-attribute,.plv-markdown-render.plv-markdown-render--light .hljs-literal,.plv-markdown-render.plv-markdown-render--light .hljs-meta,.plv-markdown-render.plv-markdown-render--light .hljs-number,.plv-markdown-render.plv-markdown-render--light .hljs-operator,.plv-markdown-render.plv-markdown-render--light .hljs-selector-attr,.plv-markdown-render.plv-markdown-render--light .hljs-selector-class,.plv-markdown-render.plv-markdown-render--light .hljs-selector-id,.plv-markdown-render.plv-markdown-render--light .hljs-variable{color:#005cc5}.plv-markdown-render.plv-markdown-render--light .hljs-meta .hljs-string,.plv-markdown-render.plv-markdown-render--light .hljs-regexp,.plv-markdown-render.plv-markdown-render--light .hljs-string{color:#032f62}.plv-markdown-render.plv-markdown-render--light .hljs-built_in,.plv-markdown-render.plv-markdown-render--light .hljs-symbol{color:#e36209}.plv-markdown-render.plv-markdown-render--light .hljs-code,.plv-markdown-render.plv-markdown-render--light .hljs-comment,.plv-markdown-render.plv-markdown-render--light .hljs-formula{color:#6a737d}.plv-markdown-render.plv-markdown-render--light .hljs-name,.plv-markdown-render.plv-markdown-render--light .hljs-quote,.plv-markdown-render.plv-markdown-render--light .hljs-selector-pseudo,.plv-markdown-render.plv-markdown-render--light .hljs-selector-tag{color:#22863a}.plv-markdown-render.plv-markdown-render--light .hljs-subst{color:#24292e}.plv-markdown-render.plv-markdown-render--light .hljs-section{color:#005cc5;font-weight:700}.plv-markdown-render.plv-markdown-render--light .hljs-bullet{color:#735c0f}.plv-markdown-render.plv-markdown-render--light .hljs-emphasis{color:#24292e;font-style:italic}.plv-markdown-render.plv-markdown-render--light .hljs-strong{color:#24292e;font-weight:700}.plv-markdown-render.plv-markdown-render--light .hljs-addition{color:#22863a;background-color:#f0fff4}.plv-markdown-render.plv-markdown-render--light .hljs-deletion{color:#b31d28;background-color:#ffeef0}.plv-markdown-render.plv-markdown-render--light blockquote{border-left:4px solid #ddd;color:#6a737d;background:#fff}.plv-markdown-render.plv-markdown-render--light code,.plv-markdown-render.plv-markdown-render--light pre{background:#fff}.plv-markdown-render.plv-markdown-render--light td,.plv-markdown-render.plv-markdown-render--light th{border:1px solid #ccc}.plv-markdown-render.plv-markdown-render--dark{color:#adadc0;background:#141518}.plv-markdown-render.plv-markdown-render--dark pre code.hljs{display:block;overflow-x:auto;padding:1em}.plv-markdown-render.plv-markdown-render--dark code.hljs{padding:3px 5px}.plv-markdown-render.plv-markdown-render--dark .hljs{color:#c9d1d9;background:#292b2e}.plv-markdown-render.plv-markdown-render--dark .hljs-doctag,.plv-markdown-render.plv-markdown-render--dark .hljs-keyword,.plv-markdown-render.plv-markdown-render--dark .hljs-meta .hljs-keyword,.plv-markdown-render.plv-markdown-render--dark .hljs-template-tag,.plv-markdown-render.plv-markdown-render--dark .hljs-template-variable,.plv-markdown-render.plv-markdown-render--dark .hljs-type,.plv-markdown-render.plv-markdown-render--dark .hljs-variable.language_{color:#ff7b72}.plv-markdown-render.plv-markdown-render--dark .hljs-title,.plv-markdown-render.plv-markdown-render--dark .hljs-title.class_,.plv-markdown-render.plv-markdown-render--dark .hljs-title.class_.inherited__,.plv-markdown-render.plv-markdown-render--dark .hljs-title.function_{color:#d2a8ff}.plv-markdown-render.plv-markdown-render--dark .hljs-attr,.plv-markdown-render.plv-markdown-render--dark .hljs-attribute,.plv-markdown-render.plv-markdown-render--dark .hljs-literal,.plv-markdown-render.plv-markdown-render--dark .hljs-meta,.plv-markdown-render.plv-markdown-render--dark .hljs-number,.plv-markdown-render.plv-markdown-render--dark .hljs-operator,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-attr,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-class,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-id,.plv-markdown-render.plv-markdown-render--dark .hljs-variable{color:#79c0ff}.plv-markdown-render.plv-markdown-render--dark .hljs-meta .hljs-string,.plv-markdown-render.plv-markdown-render--dark .hljs-regexp,.plv-markdown-render.plv-markdown-render--dark .hljs-string{color:#a5d6ff}.plv-markdown-render.plv-markdown-render--dark .hljs-built_in,.plv-markdown-render.plv-markdown-render--dark .hljs-symbol{color:#ffa657}.plv-markdown-render.plv-markdown-render--dark .hljs-code,.plv-markdown-render.plv-markdown-render--dark .hljs-comment,.plv-markdown-render.plv-markdown-render--dark .hljs-formula{color:#8b949e}.plv-markdown-render.plv-markdown-render--dark .hljs-name,.plv-markdown-render.plv-markdown-render--dark .hljs-quote,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-pseudo,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-tag{color:#7ee787}.plv-markdown-render.plv-markdown-render--dark .hljs-subst{color:#c9d1d9}.plv-markdown-render.plv-markdown-render--dark .hljs-section{color:#1f6feb;font-weight:700}.plv-markdown-render.plv-markdown-render--dark .hljs-bullet{color:#f2cc60}.plv-markdown-render.plv-markdown-render--dark .hljs-emphasis{color:#c9d1d9;font-style:italic}.plv-markdown-render.plv-markdown-render--dark .hljs-strong{color:#c9d1d9;font-weight:700}.plv-markdown-render.plv-markdown-render--dark .hljs-addition{color:#aff5b4;background-color:#033a16}.plv-markdown-render.plv-markdown-render--dark .hljs-deletion{color:#ffdcd7;background-color:#67060c}.plv-markdown-render.plv-markdown-render--dark blockquote{border-left:4px solid #6a737d;color:#adadc0}.plv-markdown-render.plv-markdown-render--dark code,.plv-markdown-render.plv-markdown-render--dark pre{color:#fff;background:#292b2e}.plv-markdown-render.plv-markdown-render--dark td,.plv-markdown-render.plv-markdown-render--dark th{border:1px solid #6a737d}.plv-markdown-render{line-height:normal;word-break:break-all;padding:1em}.plv-markdown-render,.plv-markdown-render *{-webkit-box-sizing:border-box;box-sizing:border-box}.plv-markdown-render h1,.plv-markdown-render h2,.plv-markdown-render h3,.plv-markdown-render h4,.plv-markdown-render h5,.plv-markdown-render h6{font-weight:700;margin:.5em 0;line-height:1.25}.plv-markdown-render h1{font-size:2em}.plv-markdown-render h2{font-size:1.75em}.plv-markdown-render h3{font-size:1.5em}.plv-markdown-render h4{font-size:1.25em}.plv-markdown-render h5{font-size:1.1em}.plv-markdown-render h6{font-size:1em}.plv-markdown-render p{margin:0}.plv-markdown-render ol,.plv-markdown-render ul{margin:0;padding:0 0 0 2em}.plv-markdown-render ul{list-style-type:disc}.plv-markdown-render ol{list-style-type:decimal}.plv-markdown-render li{margin:.5em 0;list-style-position:outside}.plv-markdown-render table{width:100%;margin:1em 0;border-collapse:collapse;border-spacing:0}.plv-markdown-render td,.plv-markdown-render th{padding:1em}.plv-markdown-render img{display:inline-block;vertical-align:middle;max-width:35%}.plv-markdown-render blockquote{margin:1em 0;padding:.5em 1em;border-radius:4px}.plv-markdown-render code{display:inline-block;padding:.2em .4em;border-radius:4px}.plv-markdown-render pre{margin:.5em 0;padding:1em 0;overflow:auto;border-radius:4px}.plv-markdown-render a{color:#3f76fc;text-decoration:none}.plv-ai-playback-outline{width:100%;height:100%;overflow:hidden}.plv-ai-playback-outline__content{width:100%;height:100%;overflow-y:auto;box-sizing:border-box;padding:16px;position:relative}.plv-ai-playback-outline__content::-webkit-scrollbar{display:none}.plv-ai-playback-outline--color .plv-ai-playback-outline__content{background:#202127}.plv-ai-playback-outline__title{padding:10px 0;font-size:16px;font-weight:700;line-height:24px;display:flex;align-items:center;justify-content:space-between}.plv-ai-playback-outline--color .plv-ai-playback-outline__title{color:#fff}.plv-ai-playback-outline__min-map{display:flex;align-items:center;gap:4px;font-size:14px;cursor:pointer;-webkit-tap-highlight-color:transparent}.plv-ai-playback-outline__min-map span{display:flex;font-size:14px}.plv-ai-playback-outline__abstract{position:relative;box-sizing:border-box;padding:12px;margin-bottom:10px;border-radius:4px;font-size:14px;line-height:22px}.plv-ai-playback-outline--color .plv-ai-playback-outline__abstract{background:#ffffff1a;color:#fffc}.plv-ai-playback-outline__abstract-footer{text-align:right;cursor:pointer;-webkit-tap-highlight-color:transparent;line-height:22px}.plv-ai-playback-outline--color .plv-ai-playback-outline__abstract-footer{color:#3f76fc}.plv-ai-playback-outline__summary{padding:12px;font-size:14px;line-height:17px;border-radius:4px}.plv-ai-playback-outline--color .plv-ai-playback-outline__summary{background:#ffffff1a;color:#fffc}.plv-ai-playback-outline--color .plv-ai-playback-outline__summary-item{border-color:#ffffff1a}.plv-ai-playback-outline__summary-item+.plv-ai-playback-outline__summary-item{margin-top:12px;padding-top:12px;border-top-width:1px;border-top-style:solid}.plv-ai-playback-outline__summary-item-title{white-space:nowrap;display:flex;align-items:center;gap:8px;margin-bottom:8px}.plv-ai-playback-outline__summary-item-title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.plv-ai-playback-outline__summary-item-time{line-height:20px;cursor:pointer;border-bottom:1px solid currentColor;-webkit-tap-highlight-color:transparent}.plv-ai-playback-outline--color .plv-ai-playback-outline__summary-item-time{color:#5394f6}.plv-ai-playback-outline__summary-item__children{line-height:22px}.plv-ai-playback-outline__empty{position:absolute;top:50%;left:50%;width:146px;font-size:14px;transform:translate(-50%,-100px);white-space:nowrap;display:flex;flex-direction:column;align-items:center;justify-content:center}.plv-ai-playback-outline--color .plv-ai-playback-outline__empty{color:#fffc}.plv-ai-playback-outline__empty__icon{width:26px;height:18px;margin-bottom:15px}.plv-ai-outline-mind-map__control{position:absolute;bottom:10px;left:50%;transform:translate(-50%);width:140px;height:32px;padding:0 20px;cursor:pointer;-webkit-tap-highlight-color:transparent}.plv-ai-outline-mind-map__control .track{position:relative;height:100%}.plv-ai-outline-mind-map__control .track-line{position:absolute;top:50%;right:0;left:0;height:2px;background:#e0e0e0;transform:translateY(-50%)}.plv-ai-outline-mind-map__control .slider-thumb{position:absolute;top:50%;width:12px;height:12px;background:#fff;border:1px solid #bdbdbd;border-radius:50%;box-shadow:0 2px 4px #0003;transition:transform .2s ease,box-shadow .2s ease;transform:translate(-50%,-50%)}.plv-ai-outline-mind-map__control .slider-thumb.dragging{box-shadow:0 4px 8px #0003;transform:translate(-50%,-50%) scale(1.2)}.plv-ai-outline-mind-map__control .symbol{position:absolute;top:50%;font-size:20px;color:#757575;user-select:none;transition:color .2s ease;transform:translateY(-50%)}.plv-ai-outline-mind-map__control .minus{left:0}.plv-ai-outline-mind-map__control .plus{right:0}.plv-ai-outline-mind-map__control .slider-container:hover .track-line{background:#bdbdbd}.plv-ai-outline-mind-map__control .slider-container:hover .symbol{color:#fff}.plv-ai-outline-mind-map__control .slider-thumb:hover{transform:translate(-50%,-50%) scale(1.1)}.plv-ai-outline-mind-map{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;background:#0000004d;display:flex;align-items:center;justify-content:center}.plv-ai-outline-mind-map__content{width:90%;max-width:738px;height:90%;max-height:420px;background:#36373d;border:1px solid #fff;position:relative}.plv-ai-outline-mind-map__content-mind-map{width:100%;height:100%}.plv-ai-outline-mind-map__close{position:absolute;top:0;right:0;width:48px;height:48px;font-size:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent;color:#999}.fade-enter-active{animation:fade-in .3s}.fade-leave-active{animation:fade-in .35s reverse}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.plv-ai-message-box{position:fixed;top:0;left:0;z-index:3000;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.plv-ai-message-box__bg{position:absolute;width:100%;height:100%;background:#0009}.plv-ai-message-box__main{z-index:1;width:300px;overflow:hidden;background:#fff;border-radius:8px}.plv-ai-message-box__main--rotate{transform:rotate(90deg)}.plv-ai-message-box__header{box-sizing:border-box;padding:24px 0 16px;widows:100%}.plv-ai-message-box__header .plv-ai-message-box__title{font-size:16px;font-weight:500;line-height:24px;color:#333;text-align:center}.plv-ai-message-box__footer{box-sizing:border-box;display:flex;border-top:1px solid #ededef}.plv-ai-message-box__footer button{position:relative;box-sizing:border-box;display:inline-block;flex:1;width:100%;font-size:16px;line-height:48px;color:#3082fe;vertical-align:middle;background:#fff;border:none;-webkit-appearance:none}.plv-ai-message-box__footer button+button:before{position:absolute;top:0;bottom:0;left:0;display:block;width:1px;height:100%;margin:auto;content:\"\";background:#0000001a}.plv-ai-message-box__body{box-sizing:border-box;display:flex;justify-content:center;margin-bottom:10px;font-size:16px;line-height:24px;color:#333}.plv-ai-message-box__content{padding:0 14px 20px}.plv-ai-message-box__content a{color:#3082fe;text-decoration:none}.plv-ai-message-box__main:not(.plv-ai-message-box__main--rotate){display:flex;flex-direction:column;max-height:95%}.plv-ai-message-box__main:not(.plv-ai-message-box__main--rotate) .plv-ai-message-box__body{flex:1;overflow-y:auto}.plv-ai-digital-preview{width:100%;height:100%;display:flex;position:relative;border-radius:12px}.plv-ai-digital-preview__video{border-radius:inherit}.plv-ai-digital-preview__video--hidden{opacity:0;position:absolute;top:0;left:0;pointer-events:none}.plv-ai-digital-preview__video:not(.plv-ai-digital-preview__video--hidden){opacity:1}.plv-ai-digital-preview__direction--row .plv-ai-digital-preview__video{height:100%}.plv-ai-digital-preview__direction--column .plv-ai-digital-preview__video{width:100%}.plv-ai-digital-preview__fit-mode--cover .plv-ai-digital-preview__video{width:100%;height:100%;object-fit:cover}.plv-ai-digital-preview__fit-mode--contain .plv-ai-digital-preview__video{object-fit:contain}.plv-ai-digital-preview__loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3}.plv-ai-digital-preview__loading:after{content:\"\";display:block;width:40px;height:40px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.plv-ai-assistant-msg-user{position:relative;box-sizing:border-box;padding-right:40px;padding-left:40px;margin:0 16px}.plv-ai-assistant-msg-user__avatar{position:absolute;top:0;width:32px;height:32px;overflow:hidden;border-radius:50%;background-repeat:no-repeat;background-position:center center;background-size:cover}.plv-ai-assistant-msg-user__avatar:after{position:absolute;top:0;left:0;box-sizing:border-box;display:block;width:200%;height:200%;pointer-events:none;content:\"\";border:1px solid #e1e1e1;border-radius:50%;transform:scale(.5);transform-origin:0 0}.plv-ai-assistant-msg-user__avatar__left{left:0}.plv-ai-assistant-msg-user__avatar__right{right:0}.plv-ai-assistant-msg-user__nick-wrap{position:relative;box-sizing:border-box;display:flex;align-items:center;max-width:100%;font-size:12px;line-height:1.4}.plv-ai-assistant-msg-user__nick{color:#adadc0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-ai-assistant-msg-container{display:flex;flex-direction:column}.plv-ai-assistant-msg-container__align-right{align-items:flex-end}.plv-ai-assistant-msg-container__content{display:flex;align-items:flex-end;padding:3px 40px 0;margin:0 16px}.plv-ai-assistant-msg-container__content--hide-user{padding:0}.plv-ai-assistant-msg-container__content__inner{position:relative;max-width:100%}.plv-ai-assistant-msg-container__tips-bubble{position:absolute;bottom:calc(100% + 10px);left:50%;padding:10px 15px;font-size:14px;color:#fffc;white-space:nowrap;background-color:#424453f2;border-radius:4px;transform:translate(-50%)}.plv-ai-assistant-msg-container__tips-bubble:after{position:absolute;top:100%;left:50%;height:0;content:\"\";border-color:rgba(66,68,83,.95) transparent transparent transparent;border-style:solid;border-width:5px;transform:translate(-50%)}.plv-ai-assistant-msg-container__content__bubble{padding:8px 12px;font-size:16px;line-height:22px;color:#e4e4e4;word-break:break-word;background-color:#2b2c35;border-radius:0 6px 6px}.plv-ai-assistant-msg-container__content__bubble__align-right{border-radius:6px 0 6px 6px}.plv-ai-assistant-msg-container__content__suffix{flex-shrink:0;margin-left:10px;font-size:12px;white-space:nowrap}.plv-ai-assistant-msg-container__content__suffix:empty{display:none}.plv-ai-assistant-answer-msg__content{text-align:justify}@keyframes dot-loading{0%{opacity:1}50%{opacity:.3}to{opacity:1}}.plv-ai-assistant-answer-msg__content__markdown-render{color:inherit!important}.plv-ai-assistant-answer-msg__dot{display:inline-block;width:7px;height:7px;border-radius:50%}.plv-ai-assistant-answer-msg__dot1{animation:dot-loading linear infinite .9s}.plv-ai-assistant-answer-msg__dot2{margin:0 7px;animation:dot-loading linear infinite .9s;animation-delay:.3s}.plv-ai-assistant-answer-msg__dot3{animation:dot-loading linear infinite .9s;animation-delay:.6s}.plv-ai-assistant-chat-msg-item{margin:16px 0}.plv-ai-assistant-chat-msg-list{height:100%;overflow-y:auto}.plv-ai-assistant-chat-msg-list::-webkit-scrollbar{width:8px;border-radius:3px}.plv-ai-assistant-chat-msg-list::-webkit-scrollbar-thumb{border-radius:3px}.plv-ai-auto-textarea{display:flex;align-items:center;width:100%;min-height:36px;border-radius:12px;transition:.3s}.plv-ai-auto-textarea--multi-row{border-radius:6px}.plv-ai-auto-textarea__inner{box-sizing:border-box;flex:1;width:100%;min-height:17px;padding:0 12px;margin:8px 0;overflow-x:hidden;overflow-y:auto;font-family:inherit;font-size:14px;line-height:1.6;color:inherit;vertical-align:top;resize:none;background:transparent;border:none}.plv-ai-auto-textarea__inner::-webkit-scrollbar{display:none}.plv-ai-auto-textarea__inner::-webkit-scrollbar{width:4px}.plv-ai-auto-textarea__inner::placeholder{color:#adadc0}.plv-ai-auto-textarea__inner:disabled,.plv-ai-auto-textarea__inner:disabled::placeholder{color:#adadc080}.plv-ai-auto-textarea__inner--disabled{pointer-events:none}.plv-ai-audio-input{display:flex;width:100%}.plv-ai-audio-input__mode-switch{min-width:44px;width:44px;height:44px;background:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3cdefs%3e%3clinearGradient%20x1='0.0528460256755352'%20y1='0.1759304404258728'%20x2='1'%20y2='0.8796386718749998'%20id='master_svg0_332_58348'%3e%3cstop%20offset='0%25'%20stop-color='%236685FF'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%230A77FF'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cg%3e%3cg%3e%3cellipse%20cx='22'%20cy='22'%20rx='22'%20ry='22'%20fill='url(%23master_svg0_332_58348)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M22,9C14.8203,9,9,14.8203,9,22C9,29.1797,14.8203,35,22,35C29.1797,35,35,29.1797,35,22C34.992000000000004,14.82361,29.1764,9.00799465,22,9ZM21.997799999999998,11Q19.759700000000002,11.00043,17.71892,11.86361Q15.745239999999999,12.698409999999999,14.221820000000001,14.221820000000001Q12.698409999999999,15.745239999999999,11.86361,17.71892Q11,19.7607,11,22Q11,24.2393,11.86361,26.2811Q12.698409999999999,28.2548,14.22183,29.7782Q15.74525,31.3016,17.71892,32.136399999999995Q19.7607,33,22,33Q24.2393,33,26.2811,32.136399999999995Q28.2548,31.3016,29.7782,29.7782Q31.3016,28.2548,32.136399999999995,26.2811Q33,24.2393,33,22Q32.9975,19.7634,32.132999999999996,17.72241Q31.2972,15.74932,29.7739,14.22607Q28.2507,12.70281,26.2776,11.86704Q24.2376,11.00292,22,11L21.997799999999998,11Z'%20fill-rule='evenodd'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3crect%20x='19.03125'%20y='26'%20width='6'%20height='2'%20rx='1'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M17.8218428125,18.750281875Q17.8218428125,18.818701875,17.8151428125,18.886801875Q17.8084328125,18.954901875,17.7950828125,19.022011875Q17.7817328125,19.089121875,17.761872812500002,19.154601875Q17.7420128125,19.220081874999998,17.7158228125,19.283301875Q17.6896328125,19.346521875,17.6573828125,19.406871875Q17.6251228125,19.467211875,17.5871128125,19.524111875Q17.5490928125,19.581001875,17.505682812499998,19.633901875Q17.4622728125,19.686791875,17.4138928125,19.735181875Q17.3655028125,19.783561875,17.3126128125,19.826971874999998Q17.2597128125,19.870381875,17.2028228125,19.908401875Q17.1459228125,19.946411875,17.0855828125,19.978671875Q17.0252328125,20.010921875,16.9620128125,20.037111875Q16.898792812499998,20.063301875,16.8333128125,20.083161875000002Q16.7678328125,20.103021875,16.7007228125,20.116371875Q16.6336128125,20.129721875,16.5655128125,20.136431875Q16.4974128125,20.143131875,16.4289928125,20.143131875Q16.3605628125,20.143131875,16.2924628125,20.136431875Q16.2243728125,20.129721875,16.1572528125,20.116371875Q16.090142812499998,20.103021875,16.0246648125,20.083161875000002Q15.9591848125,20.063301875,15.8959668125,20.037111875Q15.8327488125,20.010921875,15.7724018125,19.978671875Q15.7120548125,19.946411875,15.655159812499999,19.908401875Q15.5982648125,19.870381875,15.5453708125,19.826971874999998Q15.4924758125,19.783561875,15.4440908125,19.735181875Q15.3957058125,19.686791875,15.3522968125,19.633901875Q15.3088878125,19.581001875,15.2708718125,19.524111875Q15.2328558125,19.467211875,15.2005998125,19.406871875Q15.1683438125,19.346521875,15.1421578125,19.283301875Q15.1159720125,19.220081874999998,15.0961088125,19.154601875Q15.0762455125,19.089121875,15.0628962125,19.022011875Q15.0495468125,18.954901875,15.0428398025,18.886801875Q15.0361328125,18.818701875,15.0361328125,18.750281875Q15.0361328125,18.681851875,15.0428398025,18.613751875Q15.0495468125,18.545661875,15.0628962125,18.478541875Q15.0762455125,18.411431874999998,15.0961088125,18.345953875Q15.1159720125,18.280473875,15.1421578125,18.217255875Q15.1683438125,18.154037875,15.2005998125,18.093690875Q15.2328558125,18.033343875,15.2708718125,17.976448875Q15.3088878125,17.919553875,15.3522968125,17.866659875Q15.3957058125,17.813764875,15.4440908125,17.765379875Q15.4924758125,17.716994875,15.5453708125,17.673585875Q15.5982648125,17.630176875,15.655159812499999,17.592160875Q15.7120548125,17.554144875,15.7724018125,17.521888875Q15.8327488125,17.489632875,15.8959668125,17.463446875Q15.9591848125,17.437261075,16.0246648125,17.417397875Q16.090142812499998,17.397534575,16.1572528125,17.384185275Q16.2243728125,17.370835875,16.2924628125,17.364128865Q16.3605628125,17.357421875,16.4289928125,17.357421875Q16.4974128125,17.357421875,16.5655128125,17.364128865Q16.6336128125,17.370835875,16.7007228125,17.384185275Q16.7678328125,17.397534575,16.8333128125,17.417397875Q16.898792812499998,17.437261075,16.9620128125,17.463446875Q17.0252328125,17.489632875,17.0855828125,17.521888875Q17.1459228125,17.554144875,17.2028228125,17.592160875Q17.2597128125,17.630176875,17.3126128125,17.673585875Q17.3655028125,17.716994875,17.4138928125,17.765379875Q17.4622728125,17.813764875,17.505682812499998,17.866659875Q17.5490928125,17.919553875,17.5871128125,17.976448875Q17.6251228125,18.033343875,17.6573828125,18.093690875Q17.6896328125,18.154037875,17.7158228125,18.217255875Q17.7420128125,18.280473875,17.761872812500002,18.345953875Q17.7817328125,18.411431874999998,17.7950828125,18.478541875Q17.8084328125,18.545661875,17.8151428125,18.613751875Q17.8218428125,18.681851875,17.8218428125,18.750281875Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M20.14286,20.143131875C20.91211,20.143141875,21.53572,19.519531875,21.53572,18.750281875C21.53572,17.981025875,20.91211,17.35742300851,20.14286,17.35742300851C19.373604,17.35742300851,18.75000113351,17.981025875,18.75,18.750281875C18.75000113351,19.519531875,19.373604,20.143141875,20.14286,20.143131875ZM23.85714,17.357421875C23.08789,17.35742300851,22.46429,17.981025875,22.46429,18.750281875C22.46429,19.519531875,23.08789,20.143141875,23.85714,20.143141875C24.6264,20.143141875,25.25,19.519531875,25.25,18.750281875C25.25,17.981025875,24.6264,17.35742300851,23.85714,17.357421875ZM27.57143,17.357421875C26.80218,17.35742300851,26.17857,17.981025875,26.17857,18.750281875C26.17857,19.519531875,26.80218,20.143141875,27.57143,20.143141875C28.34068,20.143141875,28.9643,19.519531875,28.9643,18.750281875C28.9643,17.981025875,28.34068,17.35742300851,27.57143,17.357421875Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M17.8218428125,22.465125625Q17.8218428125,22.533545625,17.8151428125,22.601645625Q17.8084328125,22.669745625,17.7950828125,22.736855625Q17.7817328125,22.803965625,17.761872812500002,22.869445625Q17.7420128125,22.934925624999998,17.7158228125,22.998145625Q17.6896328125,23.061365625,17.6573828125,23.121715625Q17.6251228125,23.182055625,17.5871128125,23.238955625Q17.5490928125,23.295845625,17.505682812499998,23.348745625Q17.4622728125,23.401635625,17.4138928125,23.450025625Q17.3655028125,23.498405625,17.3126128125,23.541815624999998Q17.2597128125,23.585225625,17.2028228125,23.623245625Q17.1459228125,23.661255625,17.0855828125,23.693515625Q17.0252328125,23.725765625,16.9620128125,23.751955625Q16.898792812499998,23.778145625,16.8333128125,23.798005625000002Q16.7678328125,23.817865625,16.7007228125,23.831215625Q16.6336128125,23.844565625,16.5655128125,23.851275625Q16.4974128125,23.857975625,16.4289928125,23.857975625Q16.3605628125,23.857975625,16.2924628125,23.851275625Q16.2243728125,23.844565625,16.1572528125,23.831215625Q16.090142812499998,23.817865625,16.0246648125,23.798005625000002Q15.9591848125,23.778145625,15.8959668125,23.751955625Q15.8327488125,23.725765625,15.7724018125,23.693515625Q15.7120548125,23.661255625,15.655159812499999,23.623245625Q15.5982648125,23.585225625,15.5453708125,23.541815624999998Q15.4924758125,23.498405625,15.4440908125,23.450025625Q15.3957058125,23.401635625,15.3522968125,23.348745625Q15.3088878125,23.295845625,15.2708718125,23.238955625Q15.2328558125,23.182055625,15.2005998125,23.121715625Q15.1683438125,23.061365625,15.1421578125,22.998145625Q15.1159720125,22.934925624999998,15.0961088125,22.869445625Q15.0762455125,22.803965625,15.0628962125,22.736855625Q15.0495468125,22.669745625,15.0428398025,22.601645625Q15.0361328125,22.533545625,15.0361328125,22.465125625Q15.0361328125,22.396695625,15.0428398025,22.328595625Q15.0495468125,22.260505625,15.0628962125,22.193385625Q15.0762455125,22.126275624999998,15.0961088125,22.060797625Q15.1159720125,21.995317625,15.1421578125,21.932099625Q15.1683438125,21.868881625,15.2005998125,21.808534625Q15.2328558125,21.748187625,15.2708718125,21.691292625Q15.3088878125,21.634397625,15.3522968125,21.581503625Q15.3957058125,21.528608625,15.4440908125,21.480223625Q15.4924758125,21.431838625,15.5453708125,21.388429625Q15.5982648125,21.345020625,15.655159812499999,21.307004625Q15.7120548125,21.268988625,15.7724018125,21.236732625Q15.8327488125,21.204476625,15.8959668125,21.178290625Q15.9591848125,21.152104825,16.0246648125,21.132241625Q16.090142812499998,21.112378325,16.1572528125,21.099029025Q16.2243728125,21.085679625,16.2924628125,21.078972615Q16.3605628125,21.072265625,16.4289928125,21.072265625Q16.4974128125,21.072265625,16.5655128125,21.078972615Q16.6336128125,21.085679625,16.7007228125,21.099029025Q16.7678328125,21.112378325,16.8333128125,21.132241625Q16.898792812499998,21.152104825,16.9620128125,21.178290625Q17.0252328125,21.204476625,17.0855828125,21.236732625Q17.1459228125,21.268988625,17.2028228125,21.307004625Q17.2597128125,21.345020625,17.3126128125,21.388429625Q17.3655028125,21.431838625,17.4138928125,21.480223625Q17.4622728125,21.528608625,17.505682812499998,21.581503625Q17.5490928125,21.634397625,17.5871128125,21.691292625Q17.6251228125,21.748187625,17.6573828125,21.808534625Q17.6896328125,21.868881625,17.7158228125,21.932099625Q17.7420128125,21.995317625,17.761872812500002,22.060797625Q17.7817328125,22.126275624999998,17.7950828125,22.193385625Q17.8084328125,22.260505625,17.8151428125,22.328595625Q17.8218428125,22.396695625,17.8218428125,22.465125625Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M20.14286,23.857975625C20.91211,23.857975625,21.53572,23.234375625,21.53572,22.465125625C21.53572,21.695868625,20.91211,21.072265625,20.14286,21.072265625C19.373604,21.072265625,18.75000113351,21.695868625,18.75,22.465125625C18.75000113351,23.234375625,19.373604,23.857975625,20.14286,23.857975625ZM23.85714,21.072265625C23.08789,21.072265625,22.46429,21.695868625,22.46429,22.465125625C22.46429,23.234375625,23.08789,23.857975625,23.85714,23.857975625C24.6264,23.857975625,25.25,23.234375625,25.25,22.465125625C25.25,21.695868625,24.6264,21.072265625,23.85714,21.072265625ZM27.57143,21.072265625C26.80218,21.072265625,26.17857,21.695868625,26.17857,22.465125625C26.17857,23.234375625,26.80218,23.857975625,27.57143,23.857975625C28.34068,23.857975625,28.9643,23.234375625,28.9643,22.465125625C28.9643,21.695868625,28.34068,21.072265625,27.57143,21.072265625Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e\") no-repeat left center;background-size:36px 36px;cursor:pointer}.plv-ai-audio-input__status{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;height:44px;border-radius:12px;background-color:#fff;transition:all .3s ease;cursor:pointer;user-select:none;outline:none;-webkit-tap-highlight-color:transparent}.plv-ai-audio-input__status-text{flex:1;display:flex;align-items:center;justify-content:center}.plv-ai-audio-input__status-tap,.plv-ai-audio-input__status-listening{display:flex;align-items:center;justify-content:center;width:100%}.plv-ai-audio-input__status-tap{color:#b2b2b2;font-size:14px}.plv-ai-audio-input__status-tap-item,.plv-ai-audio-input__status-breathing{display:flex;align-items:center;justify-content:space-between;gap:3px}.plv-ai-audio-input__status-tap__left,.plv-ai-audio-input__status-breathing__left{margin-right:8px}.plv-ai-audio-input__status-tap__right,.plv-ai-audio-input__status-breathing__right{margin-left:8px}.plv-ai-audio-input__status-tap__bar{width:2px;height:8px;background-color:#b2b2b2}.plv-ai-audio-input__status-listening{color:#3f76fc;font-size:14px}.plv-ai-audio-input__status-breathing__bar{width:2px;height:8px;background-color:#3f76fc;animation:breathing 1.5s infinite ease-in-out}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(1){animation-delay:.3s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(1){animation-delay:.3s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(2){animation-delay:.6s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(2){animation-delay:.6s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(3){animation-delay:.9s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(3){animation-delay:.9s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(4){animation-delay:1.2s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(4){animation-delay:1.2s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(5){animation-delay:1.5s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(5){animation-delay:1.5s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(6){animation-delay:1.8s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(6){animation-delay:1.8s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(7){animation-delay:2.1s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(7){animation-delay:2.1s}@keyframes breathing{0%,to{transform:scaleY(1)}50%{transform:scaleY(1.8)}}.plv-ai-msg-input-wrap{position:relative;z-index:999;display:flex;flex-direction:column;justify-content:flex-end;min-height:56px}.plv-ai-msg-input-wrap__main{box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;width:100%;padding:8px 16px 16px}.plv-ai-msg-input-wrap__main.plv-ai-msg-input-wrap__main--multi-row,.plv-ai-msg-input-wrap__main.plv-ai-msg-input-wrap__main--multi-row .plv-ai-auto-textarea{align-items:flex-end}.plv-ai-msg-input-wrap__input{position:relative;flex:1;min-height:40px;margin-right:12px}.c-mobile-msg-input-wrap__audio-switch-btn{min-width:44px;width:44px;height:44px;background:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3cdefs%3e%3clinearGradient%20x1='0.0528460256755352'%20y1='0.1759304404258728'%20x2='1'%20y2='0.8796386718749998'%20id='master_svg0_332_58348'%3e%3cstop%20offset='0%25'%20stop-color='%236685FF'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%230A77FF'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cg%3e%3cellipse%20cx='22'%20cy='22'%20rx='22'%20ry='22'%20fill='url(%23master_svg0_332_58348)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M19.853955,15.189435Q23.374265,17.73292,23.374265,22.08224Q23.374265,26.4062,19.571255,29.3967C19.395015,29.5353,19.177325,29.610599999999998,18.953125,29.610599999999998C18.40084,29.610599999999998,17.953125,29.1629,17.953125,28.610599999999998C17.953125,28.3039,18.093887,28.0141,18.334994000000002,27.8245Q21.374265,25.4346,21.374265,22.08224Q21.374265,18.7553,18.682662,16.81057C18.422442,16.62255,18.268311,16.32104,18.268311,16C18.268311,15.447715,18.716026,15,19.268315,15C19.478585,15,19.683515,15.0662859,19.853955,15.189435Z'%20fill-rule='evenodd'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M25.5080353125,9.236984Q30.8402053125,13.754059999999999,30.8402053125,21.430799999999998Q30.8402053125,29.0823,25.0342853125,34.435199999999995C24.8496153125,34.6055,24.6076253125,34.7,24.3564453125,34.7C23.8041603125,34.7,23.3564453125,34.252300000000005,23.3564453125,33.7C23.3564453125,33.4207,23.4732553125,33.1541,23.6786013125,32.9648Q28.8402153125,28.2059,28.8402053125,21.430799999999998Q28.8402053125,14.681370000000001,24.2158373125,10.763490000000001L24.2158373125,10.763490000000001C23.990989312499998,10.57301,23.8616573125,10.29395,23.8616573125,10C23.8616573125,9.447715,24.3093733125,9,24.861655312499998,9C25.0983753125,9,25.3274153125,9.0839743,25.5080353125,9.236984Z'%20fill-rule='evenodd'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='14'%20cy='22'%20rx='2'%20ry='2'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e\") no-repeat left center;background-size:36px 36px;cursor:pointer}.plv-ai-msg-input-wrap__input__set-nick{position:absolute;top:0;left:0;width:100%;height:100%}.plv-ai-msg-input-wrap__input__textarea{min-width:80px}.plv-ai-msg-input-wrap__emotion-btn{flex-shrink:0;width:24px;height:24px;margin:7px 7px 7px -9px}.plv-ai-msg-input-wrap__emotion-btn__icon{display:flex;font-size:24px!important}.plv-ai-msg-input-wrap__emotion-btn--disabled{opacity:.5}.plv-ai-msg-input-wrap__button{display:flex;flex-shrink:0;align-items:center;justify-content:center;min-width:88px;border-radius:12px;height:40px;text-align:center;cursor:pointer}.plv-ai-msg-input-wrap__button--disabled{cursor:not-allowed;opacity:.6}.plv-ai-msg-input-wrap__panel{flex-shrink:0;width:100%}.plv-ai-msg-input-wrap--alway-active .plv-ai-msg-input-wrap__main{padding:12px 12px 10px}.plv-ai-assistant-chat--dark{background-color:#202127}.plv-ai-assistant-chat--dark .pws-ai-assistant-chat-msg-list::-webkit-scrollbar-thumb{background-color:#46464f}.plv-ai-assistant-chat--dark .pws-primary-text-color{color:#fff}.plv-ai-assistant-chat--dark .pws-dark-basic-bg-20{background-color:#0003}.plv-ai-assistant-chat--dark .pws-normal-msg-bubble-color{background:linear-gradient(106deg,#6685ff 6%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat--dark .pws-ai-msg-bubble-color{color:#1d2129;background-color:#f5f5f5}.plv-ai-assistant-chat--dark .pws-ai-assistant-msg-dot{background-color:#1d2129}.plv-ai-assistant-chat--dark .pws-markdown-render{padding:0;background:none}.plv-ai-assistant-chat--dark .pws-markdown-render a{color:#3f76fc}.plv-ai-assistant-chat--dark .pws-chat-msg-user-nickname{color:#adadc0}.plv-ai-assistant-chat--dark .pws-msg-user-info-special .pws-chat-msg-user-nickname{color:#5394f6}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input{background-color:#ffffff1a}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input-textarea{color:#fff}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input-textarea::placeholder{color:#fff9}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input-textarea::-webkit-scrollbar-thumb{background-color:#ffffff1a}.plv-ai-assistant-chat--dark .pws-mobile-msg-input-suffix-icon{color:#adadc0}.plv-ai-assistant-chat--dark .pws-mobile-msg-send-button{background:linear-gradient(110deg,#6685ff 7%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat--light{background-color:#f2f2f2}.plv-ai-assistant-chat--light .pws-ai-assistant-chat-msg-list::-webkit-scrollbar-thumb{background-color:#6663}.plv-ai-assistant-chat--light .pws-ai-assistant-chat__not-config{filter:brightness(.3)}.plv-ai-assistant-chat--light .pws-primary-text-color{color:#000c}.plv-ai-assistant-chat--light .pws-light-basic-bg-20{background-color:#fff3}.plv-ai-assistant-chat--light .pws-normal-msg-bubble-color{background:linear-gradient(106deg,#6685ff 6%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat--light .pws-ai-msg-bubble-color{color:#fff;background:#0003}.plv-ai-assistant-chat--light .pws-ai-assistant-msg-dot{background-color:#fff}.plv-ai-assistant-chat--light .pws-markdown-render{padding:0;background:none}.plv-ai-assistant-chat--light .pws-markdown-render code{color:#24292e}.plv-ai-assistant-chat--light .pws-markdown-render a{color:#3f76fc}.plv-ai-assistant-chat--light .pws-chat-msg-user-nickname{color:#adadc0}.plv-ai-assistant-chat--light .pws-msg-user-info-special .pws-chat-msg-user-nickname{color:#3f76fc}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input{background-color:#ffffffe6}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input-textarea{color:#666}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input-textarea::placeholder{color:#969ba5}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input-textarea::-webkit-scrollbar-thumb{background-color:#1571d033}.plv-ai-assistant-chat--light .pws-mobile-msg-input-suffix-icon{color:#adadc0b3}.plv-ai-assistant-chat--light .pws-mobile-msg-send-button{background:linear-gradient(110deg,#6685ff 7%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat{display:flex;height:100%;box-sizing:border-box;overflow:auto;position:relative}.plv-ai-assistant-chat p{margin:0;padding:0}.plv-ai-assistant-chat img{vertical-align:middle;border:none}.plv-ai-assistant-chat input,.plv-ai-assistant-chat textarea,.plv-ai-assistant-chat select,.plv-ai-assistant-chat button{outline:none}.plv-ai-assistant-chat input[disabled]{opacity:1}.plv-ai-assistant-chat input[type=button],.plv-ai-assistant-chat input[type=submit],.plv-ai-assistant-chat input[type=reset],.plv-ai-assistant-chat button{-webkit-appearance:none;border:none}.plv-ai-assistant-chat__direction--row{flex-direction:row}.plv-ai-assistant-chat__direction--row .plv-ai-msg-input-wrap__main{padding-bottom:0}.plv-ai-assistant-chat__direction--row .plv-ai-assistant-chat__aside-right{width:0}.plv-ai-assistant-chat__direction--column{flex-direction:column;justify-content:flex-end}.plv-ai-assistant-chat__direction--column .plv-ai-assistant-chat__aside-left{position:absolute;background:inherit;top:0;left:0;width:100%;height:100%}.plv-ai-assistant-chat__direction--column .plv-ai-assistant-chat__aside-left .plv-ai-assistant-chat__digital-preview{border-radius:0!important}.plv-ai-assistant-chat__direction--column.plv-ai-assistant-chat__exist-digital .plv-ai-assistant-chat__aside-right{max-height:60%;background:none}.plv-ai-assistant-chat__aside-left{background:inherit}.plv-ai-assistant-chat__aside-right{flex:1;width:100%;height:100%;background:inherit}.plv-ai-assistant-chat__digital-preview__wrapper,.plv-ai-assistant-chat__chatroom{display:flex;flex-direction:column;height:100%;overflow:hidden}.plv-ai-assistant-chat__chatroom__not-config{display:flex;flex-direction:column;height:100%;overflow:hidden;align-items:center;justify-content:center}.plv-ai-assistant-chat__chatroom__not-config__image{width:112px;height:112px}.plv-ai-assistant-chat__chatroom__not-config__text{margin-top:18px;color:#fff}.plv-ai-assistant-chat__chatroom__msg-list{flex:1;overflow:hidden}")),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode("@charset \"UTF-8\";.plv-polyv-ui-empty-css{font-size:14px}.plv-click-out-side{display:none}.plv-popper{position:fixed;border:1px solid #e5e5e5;font-size:14px;background:#fff;border-radius:2px}.plv-popper .popper__arrow,.plv-popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:#0000;border-style:solid}.plv-popper .popper__arrow{border-width:6px}.plv-popper .popper__arrow:after{content:\" \";border-width:6px}.plv-popper[x-placement^=top]{margin-bottom:9px}.plv-popper[x-placement^=top] .popper__arrow{bottom:-7px;border-top-color:#e5e5e5;border-bottom-width:0}.plv-popper[x-placement^=top] .popper__arrow:after{bottom:1.5px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.plv-popper[x-placement^=bottom]{margin-top:9px}.plv-popper[x-placement^=bottom] .popper__arrow{top:-7px;border-top-width:0;border-bottom-color:#e5e5e5}.plv-popper[x-placement^=bottom] .popper__arrow:after{top:1.5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.plv-popper[x-placement=bottom-start] .popper__arrow,.plv-popper[x-placement=top-start] .popper__arrow{margin-left:-13px}.plv-popper[x-placement=bottom] .popper__arrow,.plv-popper[x-placement=top] .popper__arrow{left:50%!important;margin-left:-6px}.plv-popper[x-placement=bottom-end] .popper__arrow,.plv-popper[x-placement=top-end] .popper__arrow{margin-left:-13px}.plv-popper[x-placement^=right]{margin-left:9px}.plv-popper[x-placement^=right] .popper__arrow{left:-7px;border-right-color:#e5e5e5;border-left-width:0}.plv-popper[x-placement^=right] .popper__arrow:after{bottom:-6px;left:1.5px;border-right-color:#fff;border-left-width:0}.plv-popper[x-placement^=left]{margin-right:9px}.plv-popper[x-placement^=left] .popper__arrow{right:-7px;border-right-width:0;border-left-color:#e5e5e5}.plv-popper[x-placement^=left] .popper__arrow:after{right:1.5px;bottom:-6px;margin-left:-6px;border-right-width:0;border-left-color:#fff}.plv-popper[x-placement=left] .popper__arrow,.plv-popper[x-placement=right] .popper__arrow{top:50%!important;margin-top:-6px}.plv-popper[x-placement=left-end] .popper__arrow,.plv-popper[x-placement=left-start] .popper__arrow,.plv-popper[x-placement=right-end] .popper__arrow,.plv-popper[x-placement=right-start] .popper__arrow{margin-top:-11px}.plv-popper.plv-popper--dark{border:none;background:#0a0a11cc;color:#fff}.plv-popper.plv-popper--dark .popper__arrow:after{display:none}.plv-popper.plv-popper--dark[x-placement^=bottom] .popper__arrow{top:-4px!important;border-bottom-color:#0a0a11cc}.plv-popper.plv-popper--dark[x-placement^=top] .popper__arrow{bottom:-4px;border-top-color:#0a0a11cc}.plv-popper.plv-popper--dark[x-placement^=left] .popper__arrow{right:-4px;border-left-color:#0a0a11cc}.plv-popper.plv-popper--dark[x-placement^=right] .popper__arrow{left:-4px;border-right-color:#0a0a11cc}.plv-markdown-render.plv-markdown-render--light{color:#1d2129;background:#f5f5f5}.plv-markdown-render.plv-markdown-render--light pre code.hljs{display:block;overflow-x:auto;padding:1em}.plv-markdown-render.plv-markdown-render--light code.hljs{padding:3px 5px}.plv-markdown-render.plv-markdown-render--light .hljs{color:#24292e;background:#fff}.plv-markdown-render.plv-markdown-render--light .hljs-doctag,.plv-markdown-render.plv-markdown-render--light .hljs-keyword,.plv-markdown-render.plv-markdown-render--light .hljs-meta .hljs-keyword,.plv-markdown-render.plv-markdown-render--light .hljs-template-tag,.plv-markdown-render.plv-markdown-render--light .hljs-template-variable,.plv-markdown-render.plv-markdown-render--light .hljs-type,.plv-markdown-render.plv-markdown-render--light .hljs-variable.language_{color:#d73a49}.plv-markdown-render.plv-markdown-render--light .hljs-title,.plv-markdown-render.plv-markdown-render--light .hljs-title.class_,.plv-markdown-render.plv-markdown-render--light .hljs-title.class_.inherited__,.plv-markdown-render.plv-markdown-render--light .hljs-title.function_{color:#6f42c1}.plv-markdown-render.plv-markdown-render--light .hljs-attr,.plv-markdown-render.plv-markdown-render--light .hljs-attribute,.plv-markdown-render.plv-markdown-render--light .hljs-literal,.plv-markdown-render.plv-markdown-render--light .hljs-meta,.plv-markdown-render.plv-markdown-render--light .hljs-number,.plv-markdown-render.plv-markdown-render--light .hljs-operator,.plv-markdown-render.plv-markdown-render--light .hljs-selector-attr,.plv-markdown-render.plv-markdown-render--light .hljs-selector-class,.plv-markdown-render.plv-markdown-render--light .hljs-selector-id,.plv-markdown-render.plv-markdown-render--light .hljs-variable{color:#005cc5}.plv-markdown-render.plv-markdown-render--light .hljs-meta .hljs-string,.plv-markdown-render.plv-markdown-render--light .hljs-regexp,.plv-markdown-render.plv-markdown-render--light .hljs-string{color:#032f62}.plv-markdown-render.plv-markdown-render--light .hljs-built_in,.plv-markdown-render.plv-markdown-render--light .hljs-symbol{color:#e36209}.plv-markdown-render.plv-markdown-render--light .hljs-code,.plv-markdown-render.plv-markdown-render--light .hljs-comment,.plv-markdown-render.plv-markdown-render--light .hljs-formula{color:#6a737d}.plv-markdown-render.plv-markdown-render--light .hljs-name,.plv-markdown-render.plv-markdown-render--light .hljs-quote,.plv-markdown-render.plv-markdown-render--light .hljs-selector-pseudo,.plv-markdown-render.plv-markdown-render--light .hljs-selector-tag{color:#22863a}.plv-markdown-render.plv-markdown-render--light .hljs-subst{color:#24292e}.plv-markdown-render.plv-markdown-render--light .hljs-section{color:#005cc5;font-weight:700}.plv-markdown-render.plv-markdown-render--light .hljs-bullet{color:#735c0f}.plv-markdown-render.plv-markdown-render--light .hljs-emphasis{color:#24292e;font-style:italic}.plv-markdown-render.plv-markdown-render--light .hljs-strong{color:#24292e;font-weight:700}.plv-markdown-render.plv-markdown-render--light .hljs-addition{color:#22863a;background-color:#f0fff4}.plv-markdown-render.plv-markdown-render--light .hljs-deletion{color:#b31d28;background-color:#ffeef0}.plv-markdown-render.plv-markdown-render--light blockquote{border-left:4px solid #ddd;color:#6a737d;background:#fff}.plv-markdown-render.plv-markdown-render--light code,.plv-markdown-render.plv-markdown-render--light pre{background:#fff}.plv-markdown-render.plv-markdown-render--light td,.plv-markdown-render.plv-markdown-render--light th{border:1px solid #ccc}.plv-markdown-render.plv-markdown-render--dark{color:#adadc0;background:#141518}.plv-markdown-render.plv-markdown-render--dark pre code.hljs{display:block;overflow-x:auto;padding:1em}.plv-markdown-render.plv-markdown-render--dark code.hljs{padding:3px 5px}.plv-markdown-render.plv-markdown-render--dark .hljs{color:#c9d1d9;background:#292b2e}.plv-markdown-render.plv-markdown-render--dark .hljs-doctag,.plv-markdown-render.plv-markdown-render--dark .hljs-keyword,.plv-markdown-render.plv-markdown-render--dark .hljs-meta .hljs-keyword,.plv-markdown-render.plv-markdown-render--dark .hljs-template-tag,.plv-markdown-render.plv-markdown-render--dark .hljs-template-variable,.plv-markdown-render.plv-markdown-render--dark .hljs-type,.plv-markdown-render.plv-markdown-render--dark .hljs-variable.language_{color:#ff7b72}.plv-markdown-render.plv-markdown-render--dark .hljs-title,.plv-markdown-render.plv-markdown-render--dark .hljs-title.class_,.plv-markdown-render.plv-markdown-render--dark .hljs-title.class_.inherited__,.plv-markdown-render.plv-markdown-render--dark .hljs-title.function_{color:#d2a8ff}.plv-markdown-render.plv-markdown-render--dark .hljs-attr,.plv-markdown-render.plv-markdown-render--dark .hljs-attribute,.plv-markdown-render.plv-markdown-render--dark .hljs-literal,.plv-markdown-render.plv-markdown-render--dark .hljs-meta,.plv-markdown-render.plv-markdown-render--dark .hljs-number,.plv-markdown-render.plv-markdown-render--dark .hljs-operator,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-attr,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-class,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-id,.plv-markdown-render.plv-markdown-render--dark .hljs-variable{color:#79c0ff}.plv-markdown-render.plv-markdown-render--dark .hljs-meta .hljs-string,.plv-markdown-render.plv-markdown-render--dark .hljs-regexp,.plv-markdown-render.plv-markdown-render--dark .hljs-string{color:#a5d6ff}.plv-markdown-render.plv-markdown-render--dark .hljs-built_in,.plv-markdown-render.plv-markdown-render--dark .hljs-symbol{color:#ffa657}.plv-markdown-render.plv-markdown-render--dark .hljs-code,.plv-markdown-render.plv-markdown-render--dark .hljs-comment,.plv-markdown-render.plv-markdown-render--dark .hljs-formula{color:#8b949e}.plv-markdown-render.plv-markdown-render--dark .hljs-name,.plv-markdown-render.plv-markdown-render--dark .hljs-quote,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-pseudo,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-tag{color:#7ee787}.plv-markdown-render.plv-markdown-render--dark .hljs-subst{color:#c9d1d9}.plv-markdown-render.plv-markdown-render--dark .hljs-section{color:#1f6feb;font-weight:700}.plv-markdown-render.plv-markdown-render--dark .hljs-bullet{color:#f2cc60}.plv-markdown-render.plv-markdown-render--dark .hljs-emphasis{color:#c9d1d9;font-style:italic}.plv-markdown-render.plv-markdown-render--dark .hljs-strong{color:#c9d1d9;font-weight:700}.plv-markdown-render.plv-markdown-render--dark .hljs-addition{color:#aff5b4;background-color:#033a16}.plv-markdown-render.plv-markdown-render--dark .hljs-deletion{color:#ffdcd7;background-color:#67060c}.plv-markdown-render.plv-markdown-render--dark blockquote{border-left:4px solid #6a737d;color:#adadc0}.plv-markdown-render.plv-markdown-render--dark code,.plv-markdown-render.plv-markdown-render--dark pre{color:#fff;background:#292b2e}.plv-markdown-render.plv-markdown-render--dark td,.plv-markdown-render.plv-markdown-render--dark th{border:1px solid #6a737d}.plv-markdown-render{line-height:normal;word-break:break-all;padding:1em}.plv-markdown-render,.plv-markdown-render *{-webkit-box-sizing:border-box;box-sizing:border-box}.plv-markdown-render h1,.plv-markdown-render h2,.plv-markdown-render h3,.plv-markdown-render h4,.plv-markdown-render h5,.plv-markdown-render h6{font-weight:700;margin:.5em 0;line-height:1.25}.plv-markdown-render h1{font-size:2em}.plv-markdown-render h2{font-size:1.75em}.plv-markdown-render h3{font-size:1.5em}.plv-markdown-render h4{font-size:1.25em}.plv-markdown-render h5{font-size:1.1em}.plv-markdown-render h6{font-size:1em}.plv-markdown-render p{margin:0}.plv-markdown-render ol,.plv-markdown-render ul{margin:0;padding:0 0 0 2em}.plv-markdown-render ul{list-style-type:disc}.plv-markdown-render ol{list-style-type:decimal}.plv-markdown-render li{margin:.5em 0;list-style-position:outside}.plv-markdown-render table{width:100%;margin:1em 0;border-collapse:collapse;border-spacing:0}.plv-markdown-render td,.plv-markdown-render th{padding:1em}.plv-markdown-render img{display:inline-block;vertical-align:middle;max-width:35%}.plv-markdown-render blockquote{margin:1em 0;padding:.5em 1em;border-radius:4px}.plv-markdown-render code{display:inline-block;padding:.2em .4em;border-radius:4px}.plv-markdown-render pre{margin:.5em 0;padding:1em 0;overflow:auto;border-radius:4px}.plv-markdown-render a{color:#3f76fc;text-decoration:none}.plv-ai-playback-outline{width:100%;height:100%;overflow:hidden}.plv-ai-playback-outline__content{width:100%;height:100%;overflow-y:auto;box-sizing:border-box;padding:16px;position:relative}.plv-ai-playback-outline__content::-webkit-scrollbar{display:none}.plv-ai-playback-outline--color .plv-ai-playback-outline__content{background:#202127}.plv-ai-playback-outline__title{padding:10px 0;font-size:16px;font-weight:700;line-height:24px;display:flex;align-items:center;justify-content:space-between}.plv-ai-playback-outline--color .plv-ai-playback-outline__title{color:#fff}.plv-ai-playback-outline__min-map{display:flex;align-items:center;gap:4px;font-size:14px;cursor:pointer;-webkit-tap-highlight-color:transparent}.plv-ai-playback-outline__min-map span{display:flex;font-size:14px}.plv-ai-playback-outline__abstract{position:relative;box-sizing:border-box;padding:12px;margin-bottom:10px;border-radius:4px;font-size:14px;line-height:22px}.plv-ai-playback-outline--color .plv-ai-playback-outline__abstract{background:#ffffff1a;color:#fffc}.plv-ai-playback-outline__abstract-footer{text-align:right;cursor:pointer;-webkit-tap-highlight-color:transparent;line-height:22px}.plv-ai-playback-outline--color .plv-ai-playback-outline__abstract-footer{color:#3f76fc}.plv-ai-playback-outline__summary{padding:12px;font-size:14px;line-height:17px;border-radius:4px}.plv-ai-playback-outline--color .plv-ai-playback-outline__summary{background:#ffffff1a;color:#fffc}.plv-ai-playback-outline--color .plv-ai-playback-outline__summary-item{border-color:#ffffff1a}.plv-ai-playback-outline__summary-item+.plv-ai-playback-outline__summary-item{margin-top:12px;padding-top:12px;border-top-width:1px;border-top-style:solid}.plv-ai-playback-outline__summary-item-title{white-space:nowrap;display:flex;align-items:center;gap:8px;margin-bottom:8px}.plv-ai-playback-outline__summary-item-title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.plv-ai-playback-outline__summary-item-time{line-height:20px;cursor:pointer;border-bottom:1px solid currentColor;-webkit-tap-highlight-color:transparent}.plv-ai-playback-outline--color .plv-ai-playback-outline__summary-item-time{color:#5394f6}.plv-ai-playback-outline__summary-item__children{line-height:22px}.plv-ai-playback-outline__empty{position:absolute;top:50%;left:50%;width:146px;font-size:14px;transform:translate(-50%,-100px);white-space:nowrap;display:flex;flex-direction:column;align-items:center;justify-content:center}.plv-ai-playback-outline--color .plv-ai-playback-outline__empty{color:#fffc}.plv-ai-playback-outline__empty__icon{width:26px;height:18px;margin-bottom:15px}.plv-ai-outline-mind-map__control{width:200px;height:24px;background-color:#ffffff1a;display:flex;border-radius:4px;box-sizing:border-box;align-items:center;user-select:none}.plv-ai-outline-mind-map__control__left{width:100%;display:flex;align-items:center;height:100%;padding:0 8px}.plv-ai-outline-mind-map__control__right{display:flex;align-items:center;padding:0 10px;position:relative;height:100%}.plv-ai-outline-mind-map__control__right:before{position:absolute;top:0;left:0;content:\"\";display:block;height:100%;width:2px;background-color:#fff3}.plv-ai-outline-mind-map__control__icon{width:16px;height:16px;cursor:pointer;-webkit-tap-highlight-color:transparent;font-size:16px;color:#fff}.plv-ai-outline-mind-map__control__track{position:relative;width:100%;height:100%;cursor:pointer;margin:0 8px;flex:1;-webkit-tap-highlight-color:transparent}.plv-ai-outline-mind-map__control__track-line{position:absolute;top:50%;right:0;left:0;height:2px;width:100%;background-color:#ffffff4d;transform:translateY(-50%)}.plv-ai-outline-mind-map__control__slider-thumb{position:absolute;top:50%;width:8px;height:8px;background:#fff;border:1px solid #bdbdbd;border-radius:50%;box-shadow:0 2px 4px #0003;transition:transform .2s ease,box-shadow .2s ease;transform:translate(-50%,-50%)}.plv-ai-outline-mind-map__control__slider-thumb.dragging{box-shadow:0 4px 8px #0003;transform:translate(-50%,-50%) scale(1.2)}.plv-ai-outline-mind-map__control__slider-container:hover .track-line{background:#bdbdbd}.plv-ai-outline-mind-map__control__slider-thumb:hover{transform:translate(-50%,-50%) scale(1.1)}.plv-ai-outline-mind-map{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;background:#0000004d;display:flex;align-items:center;justify-content:center}.plv-ai-outline-mind-map__content{min-width:540px;min-height:376px;max-width:738px;max-height:420px;width:100%;height:100%;background:#36373d;border-radius:4px;position:relative;box-sizing:border-box;display:flex;flex-direction:column;box-shadow:0 0 10px #0000004d}.plv-ai-outline-mind-map__content--fullscreen{min-width:100%;min-height:100%;max-width:100%;max-height:100%;border-radius:0}.plv-ai-outline-mind-map__content--fullscreen .plv-ai-outline-mind-map__content-mind-map-container{max-height:100%}.plv-ai-outline-mind-map__content-mind-map-container{width:100%;height:100%;display:flex;box-sizing:border-box;background:#36373d;padding:20px;overflow:hidden}.plv-ai-outline-mind-map__content-mind-map{width:100%;height:100%}.plv-ai-outline-mind-map__header{box-sizing:border-box;height:48px;width:100%;display:flex;align-items:center;justify-content:flex-end;padding:0 12px;background:#36373d;flex-shrink:0;border-radius:4px;border:1px solid rgba(255,255,255,.1)}.plv-ai-outline-mind-map__icon{display:flex;align-items:center;justify-content:center;color:#fff;width:20px;height:20px;font-size:20px;cursor:pointer;-webkit-tap-highlight-color:transparent}.plv-ai-outline-mind-map__icon+.plv-ai-outline-mind-map__icon{margin-left:12px}.plv-ai-outline-mind-map__footer{box-sizing:border-box;width:100%;height:48px;display:flex;align-items:center;justify-content:center;background:#36373d;flex-shrink:0;border-radius:4px;border-top:1px solid rgba(255,255,255,.1)}.plv-ai-outline-mind-map__content--mobile{min-width:50vw;min-height:50vh;max-width:90vw;max-height:80vh;border:none;border-radius:8px}.plv-ai-outline-mind-map__content--mobile .plv-ai-outline-mind-map__header,.plv-ai-outline-mind-map__content--mobile .plv-ai-outline-mind-map__footer{border:none;border-radius:8px}.fade-enter-active{animation:fade-in .3s}.fade-leave-active{animation:fade-in .35s reverse}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.plv-ai-message-box{position:fixed;top:0;left:0;z-index:3000;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.plv-ai-message-box__bg{position:absolute;width:100%;height:100%;background:#0009}.plv-ai-message-box__main{z-index:1;width:300px;overflow:hidden;background:#fff;border-radius:8px}.plv-ai-message-box__main--rotate{transform:rotate(90deg)}.plv-ai-message-box__header{box-sizing:border-box;padding:24px 0 16px;widows:100%}.plv-ai-message-box__header .plv-ai-message-box__title{font-size:16px;font-weight:500;line-height:24px;color:#333;text-align:center}.plv-ai-message-box__footer{box-sizing:border-box;display:flex;border-top:1px solid #ededef}.plv-ai-message-box__footer button{position:relative;box-sizing:border-box;display:inline-block;flex:1;width:100%;font-size:16px;line-height:48px;color:#3082fe;vertical-align:middle;background:#fff;border:none;-webkit-appearance:none}.plv-ai-message-box__footer button+button:before{position:absolute;top:0;bottom:0;left:0;display:block;width:1px;height:100%;margin:auto;content:\"\";background:#0000001a}.plv-ai-message-box__body{box-sizing:border-box;display:flex;justify-content:center;margin-bottom:10px;font-size:16px;line-height:24px;color:#333}.plv-ai-message-box__content{padding:0 14px 20px}.plv-ai-message-box__content a{color:#3082fe;text-decoration:none}.plv-ai-message-box__main:not(.plv-ai-message-box__main--rotate){display:flex;flex-direction:column;max-height:95%}.plv-ai-message-box__main:not(.plv-ai-message-box__main--rotate) .plv-ai-message-box__body{flex:1;overflow-y:auto}.plv-ai-digital-preview{width:100%;height:100%;display:flex;position:relative;border-radius:12px}.plv-ai-digital-preview__video{border-radius:inherit}.plv-ai-digital-preview__video--hidden{opacity:0;position:absolute;top:0;left:0;pointer-events:none}.plv-ai-digital-preview__video:not(.plv-ai-digital-preview__video--hidden){opacity:1}.plv-ai-digital-preview__direction--row .plv-ai-digital-preview__video{height:100%}.plv-ai-digital-preview__direction--column .plv-ai-digital-preview__video{width:100%}.plv-ai-digital-preview__fit-mode--cover .plv-ai-digital-preview__video{width:100%;height:100%;object-fit:cover}.plv-ai-digital-preview__fit-mode--contain .plv-ai-digital-preview__video{object-fit:contain}.plv-ai-digital-preview__loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3}.plv-ai-digital-preview__loading:after{content:\"\";display:block;width:40px;height:40px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.plv-ai-assistant-msg-user{position:relative;box-sizing:border-box;padding-right:40px;padding-left:40px;margin:0 16px}.plv-ai-assistant-msg-user__avatar{position:absolute;top:0;width:32px;height:32px;overflow:hidden;border-radius:50%;background-repeat:no-repeat;background-position:center center;background-size:cover}.plv-ai-assistant-msg-user__avatar:after{position:absolute;top:0;left:0;box-sizing:border-box;display:block;width:200%;height:200%;pointer-events:none;content:\"\";border:1px solid #e1e1e1;border-radius:50%;transform:scale(.5);transform-origin:0 0}.plv-ai-assistant-msg-user__avatar__left{left:0}.plv-ai-assistant-msg-user__avatar__right{right:0}.plv-ai-assistant-msg-user__nick-wrap{position:relative;box-sizing:border-box;display:flex;align-items:center;max-width:100%;font-size:12px;line-height:1.4}.plv-ai-assistant-msg-user__nick{color:#adadc0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-ai-assistant-msg-container{display:flex;flex-direction:column}.plv-ai-assistant-msg-container__align-right{align-items:flex-end}.plv-ai-assistant-msg-container__content{display:flex;align-items:flex-end;padding:3px 40px 0;margin:0 16px}.plv-ai-assistant-msg-container__content--hide-user{padding:0}.plv-ai-assistant-msg-container__content__inner{position:relative;max-width:100%}.plv-ai-assistant-msg-container__tips-bubble{position:absolute;bottom:calc(100% + 10px);left:50%;padding:10px 15px;font-size:14px;color:#fffc;white-space:nowrap;background-color:#424453f2;border-radius:4px;transform:translate(-50%)}.plv-ai-assistant-msg-container__tips-bubble:after{position:absolute;top:100%;left:50%;height:0;content:\"\";border-color:rgba(66,68,83,.95) transparent transparent transparent;border-style:solid;border-width:5px;transform:translate(-50%)}.plv-ai-assistant-msg-container__content__bubble{padding:8px 12px;font-size:16px;line-height:22px;color:#e4e4e4;word-break:break-word;background-color:#2b2c35;border-radius:0 6px 6px}.plv-ai-assistant-msg-container__content__bubble__align-right{border-radius:6px 0 6px 6px}.plv-ai-assistant-msg-container__content__suffix{flex-shrink:0;margin-left:10px;font-size:12px;white-space:nowrap}.plv-ai-assistant-msg-container__content__suffix:empty{display:none}.plv-ai-assistant-answer-msg__content{text-align:justify}@keyframes dot-loading{0%{opacity:1}50%{opacity:.3}to{opacity:1}}.plv-ai-assistant-answer-msg__content__markdown-render{color:inherit!important}.plv-ai-assistant-answer-msg__dot{display:inline-block;width:7px;height:7px;border-radius:50%}.plv-ai-assistant-answer-msg__dot1{animation:dot-loading linear infinite .9s}.plv-ai-assistant-answer-msg__dot2{margin:0 7px;animation:dot-loading linear infinite .9s;animation-delay:.3s}.plv-ai-assistant-answer-msg__dot3{animation:dot-loading linear infinite .9s;animation-delay:.6s}.plv-ai-assistant-chat-msg-item{margin:16px 0}.plv-ai-assistant-chat-msg-list{height:100%;overflow-y:auto}.plv-ai-assistant-chat-msg-list::-webkit-scrollbar{width:8px;border-radius:3px}.plv-ai-assistant-chat-msg-list::-webkit-scrollbar-thumb{border-radius:3px}.plv-ai-auto-textarea{display:flex;align-items:center;width:100%;min-height:36px;border-radius:12px;transition:.3s}.plv-ai-auto-textarea--multi-row{border-radius:6px}.plv-ai-auto-textarea__inner{box-sizing:border-box;flex:1;width:100%;min-height:17px;padding:0 12px;margin:8px 0;overflow-x:hidden;overflow-y:auto;font-family:inherit;font-size:14px;line-height:1.6;color:inherit;vertical-align:top;resize:none;background:transparent;border:none}.plv-ai-auto-textarea__inner::-webkit-scrollbar{display:none}.plv-ai-auto-textarea__inner::-webkit-scrollbar{width:4px}.plv-ai-auto-textarea__inner::placeholder{color:#adadc0}.plv-ai-auto-textarea__inner:disabled,.plv-ai-auto-textarea__inner:disabled::placeholder{color:#adadc080}.plv-ai-auto-textarea__inner--disabled{pointer-events:none}.plv-ai-audio-input{display:flex;width:100%}.plv-ai-audio-input__mode-switch{min-width:44px;width:44px;height:44px;background:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3cdefs%3e%3clinearGradient%20x1='0.0528460256755352'%20y1='0.1759304404258728'%20x2='1'%20y2='0.8796386718749998'%20id='master_svg0_332_58348'%3e%3cstop%20offset='0%25'%20stop-color='%236685FF'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%230A77FF'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cg%3e%3cg%3e%3cellipse%20cx='22'%20cy='22'%20rx='22'%20ry='22'%20fill='url(%23master_svg0_332_58348)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M22,9C14.8203,9,9,14.8203,9,22C9,29.1797,14.8203,35,22,35C29.1797,35,35,29.1797,35,22C34.992000000000004,14.82361,29.1764,9.00799465,22,9ZM21.997799999999998,11Q19.759700000000002,11.00043,17.71892,11.86361Q15.745239999999999,12.698409999999999,14.221820000000001,14.221820000000001Q12.698409999999999,15.745239999999999,11.86361,17.71892Q11,19.7607,11,22Q11,24.2393,11.86361,26.2811Q12.698409999999999,28.2548,14.22183,29.7782Q15.74525,31.3016,17.71892,32.136399999999995Q19.7607,33,22,33Q24.2393,33,26.2811,32.136399999999995Q28.2548,31.3016,29.7782,29.7782Q31.3016,28.2548,32.136399999999995,26.2811Q33,24.2393,33,22Q32.9975,19.7634,32.132999999999996,17.72241Q31.2972,15.74932,29.7739,14.22607Q28.2507,12.70281,26.2776,11.86704Q24.2376,11.00292,22,11L21.997799999999998,11Z'%20fill-rule='evenodd'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3crect%20x='19.03125'%20y='26'%20width='6'%20height='2'%20rx='1'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M17.8218428125,18.750281875Q17.8218428125,18.818701875,17.8151428125,18.886801875Q17.8084328125,18.954901875,17.7950828125,19.022011875Q17.7817328125,19.089121875,17.761872812500002,19.154601875Q17.7420128125,19.220081874999998,17.7158228125,19.283301875Q17.6896328125,19.346521875,17.6573828125,19.406871875Q17.6251228125,19.467211875,17.5871128125,19.524111875Q17.5490928125,19.581001875,17.505682812499998,19.633901875Q17.4622728125,19.686791875,17.4138928125,19.735181875Q17.3655028125,19.783561875,17.3126128125,19.826971874999998Q17.2597128125,19.870381875,17.2028228125,19.908401875Q17.1459228125,19.946411875,17.0855828125,19.978671875Q17.0252328125,20.010921875,16.9620128125,20.037111875Q16.898792812499998,20.063301875,16.8333128125,20.083161875000002Q16.7678328125,20.103021875,16.7007228125,20.116371875Q16.6336128125,20.129721875,16.5655128125,20.136431875Q16.4974128125,20.143131875,16.4289928125,20.143131875Q16.3605628125,20.143131875,16.2924628125,20.136431875Q16.2243728125,20.129721875,16.1572528125,20.116371875Q16.090142812499998,20.103021875,16.0246648125,20.083161875000002Q15.9591848125,20.063301875,15.8959668125,20.037111875Q15.8327488125,20.010921875,15.7724018125,19.978671875Q15.7120548125,19.946411875,15.655159812499999,19.908401875Q15.5982648125,19.870381875,15.5453708125,19.826971874999998Q15.4924758125,19.783561875,15.4440908125,19.735181875Q15.3957058125,19.686791875,15.3522968125,19.633901875Q15.3088878125,19.581001875,15.2708718125,19.524111875Q15.2328558125,19.467211875,15.2005998125,19.406871875Q15.1683438125,19.346521875,15.1421578125,19.283301875Q15.1159720125,19.220081874999998,15.0961088125,19.154601875Q15.0762455125,19.089121875,15.0628962125,19.022011875Q15.0495468125,18.954901875,15.0428398025,18.886801875Q15.0361328125,18.818701875,15.0361328125,18.750281875Q15.0361328125,18.681851875,15.0428398025,18.613751875Q15.0495468125,18.545661875,15.0628962125,18.478541875Q15.0762455125,18.411431874999998,15.0961088125,18.345953875Q15.1159720125,18.280473875,15.1421578125,18.217255875Q15.1683438125,18.154037875,15.2005998125,18.093690875Q15.2328558125,18.033343875,15.2708718125,17.976448875Q15.3088878125,17.919553875,15.3522968125,17.866659875Q15.3957058125,17.813764875,15.4440908125,17.765379875Q15.4924758125,17.716994875,15.5453708125,17.673585875Q15.5982648125,17.630176875,15.655159812499999,17.592160875Q15.7120548125,17.554144875,15.7724018125,17.521888875Q15.8327488125,17.489632875,15.8959668125,17.463446875Q15.9591848125,17.437261075,16.0246648125,17.417397875Q16.090142812499998,17.397534575,16.1572528125,17.384185275Q16.2243728125,17.370835875,16.2924628125,17.364128865Q16.3605628125,17.357421875,16.4289928125,17.357421875Q16.4974128125,17.357421875,16.5655128125,17.364128865Q16.6336128125,17.370835875,16.7007228125,17.384185275Q16.7678328125,17.397534575,16.8333128125,17.417397875Q16.898792812499998,17.437261075,16.9620128125,17.463446875Q17.0252328125,17.489632875,17.0855828125,17.521888875Q17.1459228125,17.554144875,17.2028228125,17.592160875Q17.2597128125,17.630176875,17.3126128125,17.673585875Q17.3655028125,17.716994875,17.4138928125,17.765379875Q17.4622728125,17.813764875,17.505682812499998,17.866659875Q17.5490928125,17.919553875,17.5871128125,17.976448875Q17.6251228125,18.033343875,17.6573828125,18.093690875Q17.6896328125,18.154037875,17.7158228125,18.217255875Q17.7420128125,18.280473875,17.761872812500002,18.345953875Q17.7817328125,18.411431874999998,17.7950828125,18.478541875Q17.8084328125,18.545661875,17.8151428125,18.613751875Q17.8218428125,18.681851875,17.8218428125,18.750281875Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M20.14286,20.143131875C20.91211,20.143141875,21.53572,19.519531875,21.53572,18.750281875C21.53572,17.981025875,20.91211,17.35742300851,20.14286,17.35742300851C19.373604,17.35742300851,18.75000113351,17.981025875,18.75,18.750281875C18.75000113351,19.519531875,19.373604,20.143141875,20.14286,20.143131875ZM23.85714,17.357421875C23.08789,17.35742300851,22.46429,17.981025875,22.46429,18.750281875C22.46429,19.519531875,23.08789,20.143141875,23.85714,20.143141875C24.6264,20.143141875,25.25,19.519531875,25.25,18.750281875C25.25,17.981025875,24.6264,17.35742300851,23.85714,17.357421875ZM27.57143,17.357421875C26.80218,17.35742300851,26.17857,17.981025875,26.17857,18.750281875C26.17857,19.519531875,26.80218,20.143141875,27.57143,20.143141875C28.34068,20.143141875,28.9643,19.519531875,28.9643,18.750281875C28.9643,17.981025875,28.34068,17.35742300851,27.57143,17.357421875Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M17.8218428125,22.465125625Q17.8218428125,22.533545625,17.8151428125,22.601645625Q17.8084328125,22.669745625,17.7950828125,22.736855625Q17.7817328125,22.803965625,17.761872812500002,22.869445625Q17.7420128125,22.934925624999998,17.7158228125,22.998145625Q17.6896328125,23.061365625,17.6573828125,23.121715625Q17.6251228125,23.182055625,17.5871128125,23.238955625Q17.5490928125,23.295845625,17.505682812499998,23.348745625Q17.4622728125,23.401635625,17.4138928125,23.450025625Q17.3655028125,23.498405625,17.3126128125,23.541815624999998Q17.2597128125,23.585225625,17.2028228125,23.623245625Q17.1459228125,23.661255625,17.0855828125,23.693515625Q17.0252328125,23.725765625,16.9620128125,23.751955625Q16.898792812499998,23.778145625,16.8333128125,23.798005625000002Q16.7678328125,23.817865625,16.7007228125,23.831215625Q16.6336128125,23.844565625,16.5655128125,23.851275625Q16.4974128125,23.857975625,16.4289928125,23.857975625Q16.3605628125,23.857975625,16.2924628125,23.851275625Q16.2243728125,23.844565625,16.1572528125,23.831215625Q16.090142812499998,23.817865625,16.0246648125,23.798005625000002Q15.9591848125,23.778145625,15.8959668125,23.751955625Q15.8327488125,23.725765625,15.7724018125,23.693515625Q15.7120548125,23.661255625,15.655159812499999,23.623245625Q15.5982648125,23.585225625,15.5453708125,23.541815624999998Q15.4924758125,23.498405625,15.4440908125,23.450025625Q15.3957058125,23.401635625,15.3522968125,23.348745625Q15.3088878125,23.295845625,15.2708718125,23.238955625Q15.2328558125,23.182055625,15.2005998125,23.121715625Q15.1683438125,23.061365625,15.1421578125,22.998145625Q15.1159720125,22.934925624999998,15.0961088125,22.869445625Q15.0762455125,22.803965625,15.0628962125,22.736855625Q15.0495468125,22.669745625,15.0428398025,22.601645625Q15.0361328125,22.533545625,15.0361328125,22.465125625Q15.0361328125,22.396695625,15.0428398025,22.328595625Q15.0495468125,22.260505625,15.0628962125,22.193385625Q15.0762455125,22.126275624999998,15.0961088125,22.060797625Q15.1159720125,21.995317625,15.1421578125,21.932099625Q15.1683438125,21.868881625,15.2005998125,21.808534625Q15.2328558125,21.748187625,15.2708718125,21.691292625Q15.3088878125,21.634397625,15.3522968125,21.581503625Q15.3957058125,21.528608625,15.4440908125,21.480223625Q15.4924758125,21.431838625,15.5453708125,21.388429625Q15.5982648125,21.345020625,15.655159812499999,21.307004625Q15.7120548125,21.268988625,15.7724018125,21.236732625Q15.8327488125,21.204476625,15.8959668125,21.178290625Q15.9591848125,21.152104825,16.0246648125,21.132241625Q16.090142812499998,21.112378325,16.1572528125,21.099029025Q16.2243728125,21.085679625,16.2924628125,21.078972615Q16.3605628125,21.072265625,16.4289928125,21.072265625Q16.4974128125,21.072265625,16.5655128125,21.078972615Q16.6336128125,21.085679625,16.7007228125,21.099029025Q16.7678328125,21.112378325,16.8333128125,21.132241625Q16.898792812499998,21.152104825,16.9620128125,21.178290625Q17.0252328125,21.204476625,17.0855828125,21.236732625Q17.1459228125,21.268988625,17.2028228125,21.307004625Q17.2597128125,21.345020625,17.3126128125,21.388429625Q17.3655028125,21.431838625,17.4138928125,21.480223625Q17.4622728125,21.528608625,17.505682812499998,21.581503625Q17.5490928125,21.634397625,17.5871128125,21.691292625Q17.6251228125,21.748187625,17.6573828125,21.808534625Q17.6896328125,21.868881625,17.7158228125,21.932099625Q17.7420128125,21.995317625,17.761872812500002,22.060797625Q17.7817328125,22.126275624999998,17.7950828125,22.193385625Q17.8084328125,22.260505625,17.8151428125,22.328595625Q17.8218428125,22.396695625,17.8218428125,22.465125625Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M20.14286,23.857975625C20.91211,23.857975625,21.53572,23.234375625,21.53572,22.465125625C21.53572,21.695868625,20.91211,21.072265625,20.14286,21.072265625C19.373604,21.072265625,18.75000113351,21.695868625,18.75,22.465125625C18.75000113351,23.234375625,19.373604,23.857975625,20.14286,23.857975625ZM23.85714,21.072265625C23.08789,21.072265625,22.46429,21.695868625,22.46429,22.465125625C22.46429,23.234375625,23.08789,23.857975625,23.85714,23.857975625C24.6264,23.857975625,25.25,23.234375625,25.25,22.465125625C25.25,21.695868625,24.6264,21.072265625,23.85714,21.072265625ZM27.57143,21.072265625C26.80218,21.072265625,26.17857,21.695868625,26.17857,22.465125625C26.17857,23.234375625,26.80218,23.857975625,27.57143,23.857975625C28.34068,23.857975625,28.9643,23.234375625,28.9643,22.465125625C28.9643,21.695868625,28.34068,21.072265625,27.57143,21.072265625Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e\") no-repeat left center;background-size:36px 36px;cursor:pointer}.plv-ai-audio-input__status{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;height:44px;border-radius:12px;background-color:#fff;transition:all .3s ease;cursor:pointer;user-select:none;outline:none;-webkit-tap-highlight-color:transparent}.plv-ai-audio-input__status-text{flex:1;display:flex;align-items:center;justify-content:center}.plv-ai-audio-input__status-tap,.plv-ai-audio-input__status-listening{display:flex;align-items:center;justify-content:center;width:100%}.plv-ai-audio-input__status-tap{color:#b2b2b2;font-size:14px}.plv-ai-audio-input__status-tap-item,.plv-ai-audio-input__status-breathing{display:flex;align-items:center;justify-content:space-between;gap:3px}.plv-ai-audio-input__status-tap__left,.plv-ai-audio-input__status-breathing__left{margin-right:8px}.plv-ai-audio-input__status-tap__right,.plv-ai-audio-input__status-breathing__right{margin-left:8px}.plv-ai-audio-input__status-tap__bar{width:2px;height:8px;background-color:#b2b2b2}.plv-ai-audio-input__status-listening{color:#3f76fc;font-size:14px}.plv-ai-audio-input__status-breathing__bar{width:2px;height:8px;background-color:#3f76fc;animation:breathing 1.5s infinite ease-in-out}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(1){animation-delay:.3s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(1){animation-delay:.3s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(2){animation-delay:.6s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(2){animation-delay:.6s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(3){animation-delay:.9s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(3){animation-delay:.9s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(4){animation-delay:1.2s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(4){animation-delay:1.2s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(5){animation-delay:1.5s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(5){animation-delay:1.5s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(6){animation-delay:1.8s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(6){animation-delay:1.8s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(7){animation-delay:2.1s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(7){animation-delay:2.1s}@keyframes breathing{0%,to{transform:scaleY(1)}50%{transform:scaleY(1.8)}}.plv-ai-msg-input-wrap{position:relative;z-index:999;display:flex;flex-direction:column;justify-content:flex-end;min-height:56px}.plv-ai-msg-input-wrap__main{box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;width:100%;padding:8px 16px 16px}.plv-ai-msg-input-wrap__main.plv-ai-msg-input-wrap__main--multi-row,.plv-ai-msg-input-wrap__main.plv-ai-msg-input-wrap__main--multi-row .plv-ai-auto-textarea{align-items:flex-end}.plv-ai-msg-input-wrap__input{position:relative;flex:1;min-height:40px;margin-right:12px}.c-mobile-msg-input-wrap__audio-switch-btn{min-width:44px;width:44px;height:44px;background:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3cdefs%3e%3clinearGradient%20x1='0.0528460256755352'%20y1='0.1759304404258728'%20x2='1'%20y2='0.8796386718749998'%20id='master_svg0_332_58348'%3e%3cstop%20offset='0%25'%20stop-color='%236685FF'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%230A77FF'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cg%3e%3cellipse%20cx='22'%20cy='22'%20rx='22'%20ry='22'%20fill='url(%23master_svg0_332_58348)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M19.853955,15.189435Q23.374265,17.73292,23.374265,22.08224Q23.374265,26.4062,19.571255,29.3967C19.395015,29.5353,19.177325,29.610599999999998,18.953125,29.610599999999998C18.40084,29.610599999999998,17.953125,29.1629,17.953125,28.610599999999998C17.953125,28.3039,18.093887,28.0141,18.334994000000002,27.8245Q21.374265,25.4346,21.374265,22.08224Q21.374265,18.7553,18.682662,16.81057C18.422442,16.62255,18.268311,16.32104,18.268311,16C18.268311,15.447715,18.716026,15,19.268315,15C19.478585,15,19.683515,15.0662859,19.853955,15.189435Z'%20fill-rule='evenodd'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M25.5080353125,9.236984Q30.8402053125,13.754059999999999,30.8402053125,21.430799999999998Q30.8402053125,29.0823,25.0342853125,34.435199999999995C24.8496153125,34.6055,24.6076253125,34.7,24.3564453125,34.7C23.8041603125,34.7,23.3564453125,34.252300000000005,23.3564453125,33.7C23.3564453125,33.4207,23.4732553125,33.1541,23.6786013125,32.9648Q28.8402153125,28.2059,28.8402053125,21.430799999999998Q28.8402053125,14.681370000000001,24.2158373125,10.763490000000001L24.2158373125,10.763490000000001C23.990989312499998,10.57301,23.8616573125,10.29395,23.8616573125,10C23.8616573125,9.447715,24.3093733125,9,24.861655312499998,9C25.0983753125,9,25.3274153125,9.0839743,25.5080353125,9.236984Z'%20fill-rule='evenodd'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='14'%20cy='22'%20rx='2'%20ry='2'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e\") no-repeat left center;background-size:36px 36px;cursor:pointer}.plv-ai-msg-input-wrap__input__set-nick{position:absolute;top:0;left:0;width:100%;height:100%}.plv-ai-msg-input-wrap__input__textarea{min-width:80px}.plv-ai-msg-input-wrap__emotion-btn{flex-shrink:0;width:24px;height:24px;margin:7px 7px 7px -9px}.plv-ai-msg-input-wrap__emotion-btn__icon{display:flex;font-size:24px!important}.plv-ai-msg-input-wrap__emotion-btn--disabled{opacity:.5}.plv-ai-msg-input-wrap__button{display:flex;flex-shrink:0;align-items:center;justify-content:center;min-width:88px;border-radius:12px;height:40px;text-align:center;cursor:pointer}.plv-ai-msg-input-wrap__button--disabled{cursor:not-allowed;opacity:.6}.plv-ai-msg-input-wrap__panel{flex-shrink:0;width:100%}.plv-ai-msg-input-wrap--alway-active .plv-ai-msg-input-wrap__main{padding:12px 12px 10px}.plv-ai-assistant-chat--dark{background-color:#202127}.plv-ai-assistant-chat--dark .pws-ai-assistant-chat-msg-list::-webkit-scrollbar-thumb{background-color:#46464f}.plv-ai-assistant-chat--dark .pws-primary-text-color{color:#fff}.plv-ai-assistant-chat--dark .pws-dark-basic-bg-20{background-color:#0003}.plv-ai-assistant-chat--dark .pws-normal-msg-bubble-color{background:linear-gradient(106deg,#6685ff 6%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat--dark .pws-ai-msg-bubble-color{color:#1d2129;background-color:#f5f5f5}.plv-ai-assistant-chat--dark .pws-ai-assistant-msg-dot{background-color:#1d2129}.plv-ai-assistant-chat--dark .pws-markdown-render{padding:0;background:none}.plv-ai-assistant-chat--dark .pws-markdown-render a{color:#3f76fc}.plv-ai-assistant-chat--dark .pws-chat-msg-user-nickname{color:#adadc0}.plv-ai-assistant-chat--dark .pws-msg-user-info-special .pws-chat-msg-user-nickname{color:#5394f6}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input{background-color:#ffffff1a}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input-textarea{color:#fff}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input-textarea::placeholder{color:#fff9}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input-textarea::-webkit-scrollbar-thumb{background-color:#ffffff1a}.plv-ai-assistant-chat--dark .pws-mobile-msg-input-suffix-icon{color:#adadc0}.plv-ai-assistant-chat--dark .pws-mobile-msg-send-button{background:linear-gradient(110deg,#6685ff 7%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat--light{background-color:#f2f2f2}.plv-ai-assistant-chat--light .pws-ai-assistant-chat-msg-list::-webkit-scrollbar-thumb{background-color:#6663}.plv-ai-assistant-chat--light .pws-ai-assistant-chat__not-config{filter:brightness(.3)}.plv-ai-assistant-chat--light .pws-primary-text-color{color:#000c}.plv-ai-assistant-chat--light .pws-light-basic-bg-20{background-color:#fff3}.plv-ai-assistant-chat--light .pws-normal-msg-bubble-color{background:linear-gradient(106deg,#6685ff 6%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat--light .pws-ai-msg-bubble-color{color:#fff;background:#0003}.plv-ai-assistant-chat--light .pws-ai-assistant-msg-dot{background-color:#fff}.plv-ai-assistant-chat--light .pws-markdown-render{padding:0;background:none}.plv-ai-assistant-chat--light .pws-markdown-render code{color:#24292e}.plv-ai-assistant-chat--light .pws-markdown-render a{color:#3f76fc}.plv-ai-assistant-chat--light .pws-chat-msg-user-nickname{color:#adadc0}.plv-ai-assistant-chat--light .pws-msg-user-info-special .pws-chat-msg-user-nickname{color:#3f76fc}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input{background-color:#ffffffe6}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input-textarea{color:#666}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input-textarea::placeholder{color:#969ba5}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input-textarea::-webkit-scrollbar-thumb{background-color:#1571d033}.plv-ai-assistant-chat--light .pws-mobile-msg-input-suffix-icon{color:#adadc0b3}.plv-ai-assistant-chat--light .pws-mobile-msg-send-button{background:linear-gradient(110deg,#6685ff 7%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat{display:flex;height:100%;box-sizing:border-box;overflow:auto;position:relative}.plv-ai-assistant-chat p{margin:0;padding:0}.plv-ai-assistant-chat img{vertical-align:middle;border:none}.plv-ai-assistant-chat input,.plv-ai-assistant-chat textarea,.plv-ai-assistant-chat select,.plv-ai-assistant-chat button{outline:none}.plv-ai-assistant-chat input[disabled]{opacity:1}.plv-ai-assistant-chat input[type=button],.plv-ai-assistant-chat input[type=submit],.plv-ai-assistant-chat input[type=reset],.plv-ai-assistant-chat button{-webkit-appearance:none;border:none}.plv-ai-assistant-chat__direction--row{flex-direction:row}.plv-ai-assistant-chat__direction--row .plv-ai-msg-input-wrap__main{padding-bottom:0}.plv-ai-assistant-chat__direction--row .plv-ai-assistant-chat__aside-right{width:0}.plv-ai-assistant-chat__direction--column{flex-direction:column;justify-content:flex-end}.plv-ai-assistant-chat__direction--column .plv-ai-assistant-chat__aside-left{position:absolute;background:inherit;top:0;left:0;width:100%;height:100%}.plv-ai-assistant-chat__direction--column .plv-ai-assistant-chat__aside-left .plv-ai-assistant-chat__digital-preview{border-radius:0!important}.plv-ai-assistant-chat__direction--column.plv-ai-assistant-chat__exist-digital .plv-ai-assistant-chat__aside-right{max-height:60%;background:none}.plv-ai-assistant-chat__aside-left{background:inherit}.plv-ai-assistant-chat__aside-right{flex:1;width:100%;height:100%;background:inherit}.plv-ai-assistant-chat__digital-preview__wrapper,.plv-ai-assistant-chat__chatroom{display:flex;flex-direction:column;height:100%;overflow:hidden}.plv-ai-assistant-chat__chatroom__not-config{display:flex;flex-direction:column;height:100%;overflow:hidden;align-items:center;justify-content:center}.plv-ai-assistant-chat__chatroom__not-config__image{width:112px;height:112px}.plv-ai-assistant-chat__chatroom__not-config__text{margin-top:18px;color:#fff}.plv-ai-assistant-chat__chatroom__msg-list{flex:1;overflow:hidden}")),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defProps = Object.defineProperties;
|
|
4
4
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
@@ -581,6 +581,66 @@ IconBuilder_1(
|
|
|
581
581
|
</svg>
|
|
582
582
|
`
|
|
583
583
|
);
|
|
584
|
+
const AiIconCancelFullscreen = IconBuilder_1(
|
|
585
|
+
"cancel-fullscreen",
|
|
586
|
+
(data2) => `
|
|
587
|
+
<svg width="${data2.size}" height="${data2.size}" fill="none" viewBox="0 0 20 20">
|
|
588
|
+
<defs>
|
|
589
|
+
<clipPath><rect width="20" height="20" x="0" y="0" rx="0" /></clipPath>
|
|
590
|
+
</defs>
|
|
591
|
+
<g clip-path="url(#master_svg0_5_9186)">
|
|
592
|
+
<g transform="matrix(-1,0,0,-1,32.26953125,16.388671875)">
|
|
593
|
+
<path
|
|
594
|
+
fill="${data2.colorDesc[0]}"
|
|
595
|
+
fill-opacity="1"
|
|
596
|
+
fill-rule="evenodd"
|
|
597
|
+
d="M19.745876325,8.9165581475L19.745876325,12.5276689375L19.748098625,12.5276689375L19.748095225,13.2476720375L21.188101725,13.2476720375L21.188098925,12.5276689375L21.190320525,12.5276689375L21.190320525,8.1943359375Q21.190320025,8.1232032625,21.176443125,8.0534373775Q21.162565225,7.9836715175,21.135344025000002,7.9179534875Q21.108122825,7.8522354975,21.068603525,7.7930908174999995Q21.029084225,7.7339461775,20.978786425,7.6836477475Q20.928487825,7.6333494175,20.869343325,7.5938301675Q20.810198825,7.5543109775,20.744480625,7.5270896575Q20.678762425000002,7.4998683375,20.608996825,7.4859909975Q20.539231325,7.4721137275,20.468098625,7.4721137275L16.134765625,7.4721137275L16.134765625,7.4743359075L15.414762315,7.4743326275L15.414762315,8.9143392475L16.134765625,8.9143359675L16.134765625,8.9165581475L19.745876325,8.9165581475Z"
|
|
598
|
+
/>
|
|
599
|
+
</g>
|
|
600
|
+
<g>
|
|
601
|
+
<path
|
|
602
|
+
fill="${data2.colorDesc[0]}"
|
|
603
|
+
fill-opacity="1"
|
|
604
|
+
fill-rule="evenodd"
|
|
605
|
+
d="M2.77777779,3.5L2.77777779,7.833333L2.77999997,7.833333L2.77999669,8.5533361L4.22000331,8.5533361L4.22000003,7.833333L4.22222221,7.833333L4.22222221,4.22222221L7.833333,4.22222221L7.833333,4.22000003L8.5533361,4.22000331L8.5533361,2.77999669L7.833333,2.77999997L7.833333,2.77777779L3.5,2.77777779Q3.428867325,2.77777779,3.35910144,2.79165506Q3.28933558,2.8055324,3.22361755,2.83275372Q3.15789956,2.85997504,3.09875488,2.89949423Q3.03961024,2.93901348,2.9893118100000002,2.9893118100000002Q2.93901348,3.03961024,2.89949423,3.09875488Q2.85997504,3.15789956,2.83275372,3.22361755Q2.8055324,3.28933558,2.79165506,3.35910144Q2.77777779,3.428867325,2.77777779,3.5Z"
|
|
606
|
+
/>
|
|
607
|
+
</g>
|
|
608
|
+
<g>
|
|
609
|
+
<path
|
|
610
|
+
fill="${data2.colorDesc[0]}"
|
|
611
|
+
fill-opacity="1"
|
|
612
|
+
fill-rule="evenodd"
|
|
613
|
+
d="M15.779345225,11.4469888775L15.779348625,12.1669921875L15.777126325,12.1669921875L15.777126325,15.7781028875L12.166015625,15.7781028875L12.166015625,15.7803251875L11.446012315,15.7803217875L11.446012315,17.2203282875L12.166015625,17.2203254875L12.166015625,17.2225470875L16.499348625,17.2225470875Q16.570481325,17.2225465875,16.640246825,17.2086696875Q16.710012425000002,17.1947917875,16.775730625,17.167570587500002Q16.841448825,17.1403493875,16.900593325,17.1008300875Q16.959737825,17.0613107875,17.010036425,17.0110129875Q17.060334225,16.9607143875,17.099853525,16.9015698875Q17.139372825,16.8424253875,17.166594025000002,16.7767071875Q17.193815225,16.710988987500002,17.207692625,16.6412233875Q17.221570025,16.5714578875,17.221570525,16.5003251875L17.221570525,12.1669921875L17.219348925,12.1669921875L17.219351725,11.4469888775L15.779345225,11.4469888775Z"
|
|
614
|
+
/>
|
|
615
|
+
</g>
|
|
616
|
+
<g transform="matrix(-1,0,0,-1,16.3828125,32.279296875)">
|
|
617
|
+
<path
|
|
618
|
+
fill="${data2.colorDesc[0]}"
|
|
619
|
+
fill-opacity="1"
|
|
620
|
+
fill-rule="evenodd"
|
|
621
|
+
d="M7.47140294,15.4196451275L7.47140622,16.1396484375L7.46918404,16.1396484375L7.46918404,20.4729814375Q7.46918404,20.5441141375,7.48306131,20.6138796375Q7.49693865,20.683645237500002,7.52415997,20.7493634375Q7.55138129,20.8150816375,7.59090048,20.8742261375Q7.63041973,20.9333706375,7.68071806,20.9836692375Q7.73101649,21.0339670375,7.7901611299999995,21.0734863375Q7.84930581,21.1130056375,7.9150238,21.140226837500002Q7.98074183,21.1674480375,8.05050769,21.1813254375Q8.120273575,21.1952028375,8.19140625,21.1952033375L12.52473925,21.1952033375L12.52473925,21.1929817375L13.24474235,21.1929845375L13.24474235,19.7529780375L12.52473925,19.7529814375L12.52473925,19.7507591375L8.91362846,19.7507591375L8.91362846,16.1396484375L8.91140628,16.1396484375L8.91140956,15.4196451275L7.47140294,15.4196451275Z"
|
|
622
|
+
/>
|
|
623
|
+
</g>
|
|
624
|
+
<g transform="matrix(-1,0,0,-1,32.9921875,16.388671875)">
|
|
625
|
+
<path
|
|
626
|
+
fill="${data2.colorDesc[0]}"
|
|
627
|
+
fill-opacity="1"
|
|
628
|
+
fill-rule="evenodd"
|
|
629
|
+
d="M21.699654549999998,8.7034529475Q21.80092435,8.6021832775,21.85573105,8.469868097500001Q21.91053775,8.3375528875,21.91053775,8.1943359375Q21.91053775,8.1234221305,21.89670325,8.0538709175Q21.88286825,7.9843196875,21.85573055,7.9188038675Q21.82859325,7.8532880575,21.78919555,7.7943253775Q21.74979825,7.7353627075,21.699654549999998,7.6852190475Q21.64951135,7.6350754475,21.59054805,7.5956778575Q21.53158565,7.5562802575,21.46606925,7.5291427375Q21.40055375,7.5020052175,21.33100275,7.4881705675Q21.26145175,7.4743359075,21.19053795,7.4743359075Q21.04732085,7.4743359075,20.91500565,7.5291425575Q20.78269105,7.5839493275,20.68142125,7.6852188675L20.67985015,7.6836477475L15.98540556,12.3780923375L15.98697662,12.3796634375L15.47785545,12.8887801375L16.49609375,13.9070186375L17.0052107,13.3978967375L17.00678194,13.399467937499999L21.70122575,8.7050241275L21.699654549999998,8.7034529475Z"
|
|
630
|
+
/>
|
|
631
|
+
</g>
|
|
632
|
+
<g transform="matrix(-1,0,0,-1,16.3828125,33.0009765625)">
|
|
633
|
+
<path
|
|
634
|
+
fill="${data2.colorDesc[0]}"
|
|
635
|
+
fill-opacity="1"
|
|
636
|
+
fill-rule="evenodd"
|
|
637
|
+
d="M12.88585045,15.48224998125L12.37673335,15.99137145125L12.37516265,15.98980009125L7.68071806,20.68424468125L7.68228918,20.68581578125Q7.58101964,20.78708558125,7.52621293,20.91940018125Q7.47140622,21.05171538125,7.47140622,21.19493248125Q7.47140622,21.26584628125,7.48524088,21.33539728125Q7.49907553,21.40494828125,7.52621305,21.47046378125Q7.55335057,21.53598018125,7.59274817,21.59494258125Q7.63214576,21.65390588125,7.68228936,21.704049081249998Q7.73243302,21.75419278125,7.79139566,21.79359058125Q7.85035837,21.83298778125,7.91587418,21.86012508125Q7.98139,21.88726278125,8.05094123,21.90109728125Q8.120492443,21.91493228125,8.19140625,21.91493228125Q8.3346232,21.91493228125,8.466938410000001,21.86012558125Q8.59925359,21.80531888125,8.70052326,21.704049081249998L8.70209444,21.70562028125L13.396538249999999,17.01117647125L13.39496705,17.00960523125L13.90408895,16.50048828125L12.88585045,15.48224998125Z"
|
|
638
|
+
/>
|
|
639
|
+
</g>
|
|
640
|
+
</g>
|
|
641
|
+
</svg>
|
|
642
|
+
`
|
|
643
|
+
);
|
|
584
644
|
const AiIconClose = IconBuilder_1(
|
|
585
645
|
"close",
|
|
586
646
|
(data2) => `
|
|
@@ -598,6 +658,214 @@ const AiIconClose = IconBuilder_1(
|
|
|
598
658
|
</svg>
|
|
599
659
|
`
|
|
600
660
|
);
|
|
661
|
+
const AiIconToFullscreen = IconBuilder_1(
|
|
662
|
+
"to-fullscreen",
|
|
663
|
+
(data2) => `
|
|
664
|
+
<svg width="${data2.size}" height="${data2.size}" fill="none" viewBox="0 0 20 20">
|
|
665
|
+
<defs>
|
|
666
|
+
<clipPath><rect width="20" height="20" x="0" y="0" rx="0" /></clipPath>
|
|
667
|
+
</defs>
|
|
668
|
+
<g clip-path="url(#master_svg0_5_8949)">
|
|
669
|
+
<g>
|
|
670
|
+
<path
|
|
671
|
+
fill="${data2.colorDesc[0]}"
|
|
672
|
+
fill-opacity="1"
|
|
673
|
+
fill-rule="evenodd"
|
|
674
|
+
d="M15.777126325,4.22222221L15.777126325,7.833333L15.779348625,7.833333L15.779345225,8.5533361L17.219351725,8.5533361L17.219348925,7.833333L17.221570525,7.833333L17.221570525,3.5Q17.221570025,3.428867325,17.207693125,3.35910144Q17.193815225,3.28933558,17.166594025000002,3.22361755Q17.139372825,3.15789956,17.099853525,3.09875488Q17.060334225,3.03961024,17.010036425,2.9893118100000002Q16.959737825,2.93901348,16.900593325,2.89949423Q16.841448825,2.85997504,16.775730625,2.83275372Q16.710012425000002,2.8055324,16.640246825,2.79165506Q16.570481325,2.77777779,16.499348625,2.77777779L12.166015625,2.77777779L12.166015625,2.77999997L11.446012315,2.77999669L11.446012315,4.22000331L12.166015625,4.22000003L12.166015625,4.22222221L15.777126325,4.22222221Z"
|
|
675
|
+
/>
|
|
676
|
+
</g>
|
|
677
|
+
<g>
|
|
678
|
+
<path
|
|
679
|
+
fill="${data2.colorDesc[0]}"
|
|
680
|
+
fill-opacity="1"
|
|
681
|
+
fill-rule="evenodd"
|
|
682
|
+
d="M2.77777779,3.5L2.77777779,7.833333L2.77999997,7.833333L2.77999669,8.5533361L4.22000331,8.5533361L4.22000003,7.833333L4.22222221,7.833333L4.22222221,4.22222221L7.833333,4.22222221L7.833333,4.22000003L8.5533361,4.22000331L8.5533361,2.77999669L7.833333,2.77999997L7.833333,2.77777779L3.5,2.77777779Q3.428867325,2.77777779,3.35910144,2.79165506Q3.28933558,2.8055324,3.22361755,2.83275372Q3.15789956,2.85997504,3.09875488,2.89949423Q3.03961024,2.93901348,2.9893118100000002,2.9893118100000002Q2.93901348,3.03961024,2.89949423,3.09875488Q2.85997504,3.15789956,2.83275372,3.22361755Q2.8055324,3.28933558,2.79165506,3.35910144Q2.77777779,3.428867325,2.77777779,3.5Z"
|
|
683
|
+
/>
|
|
684
|
+
</g>
|
|
685
|
+
<g>
|
|
686
|
+
<path
|
|
687
|
+
fill="${data2.colorDesc[0]}"
|
|
688
|
+
fill-opacity="1"
|
|
689
|
+
fill-rule="evenodd"
|
|
690
|
+
d="M15.779345225,11.4469888775L15.779348625,12.1669921875L15.777126325,12.1669921875L15.777126325,15.7781028875L12.166015625,15.7781028875L12.166015625,15.7803251875L11.446012315,15.7803217875L11.446012315,17.2203282875L12.166015625,17.2203254875L12.166015625,17.2225470875L16.499348625,17.2225470875Q16.570481325,17.2225465875,16.640246825,17.2086696875Q16.710012425000002,17.1947917875,16.775730625,17.167570587500002Q16.841448825,17.1403493875,16.900593325,17.1008300875Q16.959737825,17.0613107875,17.010036425,17.0110129875Q17.060334225,16.9607143875,17.099853525,16.9015698875Q17.139372825,16.8424253875,17.166594025000002,16.7767071875Q17.193815225,16.710988987500002,17.207692625,16.6412233875Q17.221570025,16.5714578875,17.221570525,16.5003251875L17.221570525,12.1669921875L17.219348925,12.1669921875L17.219351725,11.4469888775L15.779345225,11.4469888775Z"
|
|
691
|
+
/>
|
|
692
|
+
</g>
|
|
693
|
+
<g>
|
|
694
|
+
<path
|
|
695
|
+
fill="${data2.colorDesc[0]}"
|
|
696
|
+
fill-opacity="1"
|
|
697
|
+
fill-rule="evenodd"
|
|
698
|
+
d="M2.77999669,11.4469888775L2.77999997,12.1669921875L2.77777779,12.1669921875L2.77777779,16.5003251875Q2.77777779,16.5714578875,2.79165506,16.6412233875Q2.8055324,16.710988987500002,2.83275372,16.7767071875Q2.85997504,16.8424253875,2.89949423,16.9015698875Q2.93901348,16.9607143875,2.9893118100000002,17.0110129875Q3.03961024,17.0613107875,3.09875488,17.1008300875Q3.15789956,17.1403493875,3.22361755,17.167570587500002Q3.28933558,17.1947917875,3.35910144,17.2086691875Q3.428867325,17.2225465875,3.5,17.2225470875L7.833333,17.2225470875L7.833333,17.2203254875L8.5533361,17.2203282875L8.5533361,15.7803217875L7.833333,15.7803251875L7.833333,15.7781028875L4.22222221,15.7781028875L4.22222221,12.1669921875L4.22000003,12.1669921875L4.22000331,11.4469888775L2.77999669,11.4469888775Z"
|
|
699
|
+
/>
|
|
700
|
+
</g>
|
|
701
|
+
<g>
|
|
702
|
+
<path
|
|
703
|
+
fill="${data2.colorDesc[0]}"
|
|
704
|
+
fill-opacity="1"
|
|
705
|
+
fill-rule="evenodd"
|
|
706
|
+
d="M17.009224862499998,4.00911701Q17.1104946625,3.90784734,17.1653013625,3.77553216Q17.2201080625,3.6432169500000002,17.2201080625,3.5Q17.2201080625,3.429086193,17.2062735625,3.35953498Q17.1924385625,3.28998375,17.1653008625,3.22446793Q17.1381635625,3.15895212,17.0987658625,3.09998944Q17.0593685625,3.04102677,17.009224862499998,2.99088311Q16.9590816625,2.9407395100000002,16.9001183625,2.90134192Q16.8411559625,2.86194432,16.7756395625,2.8348068Q16.7101240625,2.80766928,16.6405730625,2.79383463Q16.5710220625,2.77999997,16.5001082625,2.77999997Q16.3568911625,2.77999997,16.2245759625,2.83480662Q16.0922613625,2.88961339,15.9909915625,2.99088293L15.9894204625,2.9893118100000002L11.2949758725,7.6837564L11.2965469325,7.6853275L10.7874257625,8.1944442L11.8056640625,9.2126827L12.3147810125,8.7035608L12.3163522525,8.705131999999999L17.0107960625,4.01068819L17.009224862499998,4.00911701Z"
|
|
707
|
+
/>
|
|
708
|
+
</g>
|
|
709
|
+
<g>
|
|
710
|
+
<path
|
|
711
|
+
fill="${data2.colorDesc[0]}"
|
|
712
|
+
fill-opacity="1"
|
|
713
|
+
fill-rule="evenodd"
|
|
714
|
+
d="M8.1944442,10.78791404375L7.6853271,11.29703551375L7.6837564,11.29546415375L2.9893118100000002,15.98990874375L2.99088293,15.99147984375Q2.88961339,16.09274964375,2.83480668,16.22506424375Q2.77999997,16.35737944375,2.77999997,16.50059654375Q2.77999997,16.57151034375,2.79383463,16.64106134375Q2.80766928,16.71061234375,2.8348068,16.77612784375Q2.86194432,16.84164424375,2.90134192,16.90060664375Q2.9407395100000002,16.95956994375,2.99088311,17.009713143749998Q3.04102677,17.05985684375,3.09998941,17.09925464375Q3.15895212,17.13865184375,3.22446793,17.16578914375Q3.28998375,17.19292684375,3.35953498,17.20676134375Q3.429086193,17.22059634375,3.5,17.22059634375Q3.6432169500000002,17.22059634375,3.77553216,17.16578964375Q3.90784734,17.11098294375,4.00911701,17.009713143749998L4.01068819,17.01128434375L8.705131999999999,12.31684053375L8.7035608,12.31526929375L9.2126827,11.80615234375L8.1944442,10.78791404375Z"
|
|
715
|
+
/>
|
|
716
|
+
</g>
|
|
717
|
+
</g>
|
|
718
|
+
</svg>
|
|
719
|
+
`
|
|
720
|
+
);
|
|
721
|
+
const AiIconZoomIn = IconBuilder_1(
|
|
722
|
+
"zoom-in",
|
|
723
|
+
(data2) => `
|
|
724
|
+
<svg width="${data2.size}" height="${data2.size}" fill="none" viewBox="0 0 14 14">
|
|
725
|
+
<defs>
|
|
726
|
+
<clipPath>
|
|
727
|
+
<rect
|
|
728
|
+
width="14.000000953674316"
|
|
729
|
+
height="14.000000953674316"
|
|
730
|
+
x="0"
|
|
731
|
+
y="0"
|
|
732
|
+
rx="0"
|
|
733
|
+
/>
|
|
734
|
+
</clipPath>
|
|
735
|
+
</defs>
|
|
736
|
+
<g clip-path="url(#master_svg0_5_9506)">
|
|
737
|
+
<g>
|
|
738
|
+
<path
|
|
739
|
+
fill="${data2.colorDesc[0]}"
|
|
740
|
+
fill-opacity="1"
|
|
741
|
+
fill-rule="evenodd"
|
|
742
|
+
d="M3.0554851367645264,3.0554673745803833Q1.5322757667645264,4.5786770745803835,1.5322757367645263,6.732806374580384Q1.5322754367645264,8.886935374580382,3.0554850367645265,10.410144974580383Q4.578694836764527,11.933354474580383,6.732823636764526,11.933354474580383Q8.886952636764526,11.933354474580383,10.410161736764527,10.410144974580383Q11.933371336764527,8.886935374580382,11.933371336764527,6.732806374580384Q11.933371336764527,4.5786770745803835,10.410162736764526,3.055467474580383Q8.886953136764525,1.5322579145803834,6.732825036764527,1.5322579745803833Q4.578694336764526,1.5322576745803833,3.0554851367645264,3.0554673745803833ZM3.7154513367645263,9.750178974580383Q2.4656088367645266,8.500336274580384,2.4656088367645266,6.732806374580384Q2.4656090767645265,4.9652765745803835,3.7154514367645266,3.7154336745803835Q4.965293836764527,2.4655910745803835,6.732825036764527,2.465591344580383Q8.500354036764527,2.4655911645803834,9.750196236764527,3.7154336745803835Q11.000037936764526,4.9652765745803835,11.000037936764526,6.732806374580384Q11.000037936764526,8.500336274580384,9.750195736764526,9.750178974580383Q8.500352636764527,11.000022074580384,6.732823636764526,11.000022074580384Q4.965294336764527,11.000022074580384,3.7154513367645263,9.750178974580383Z"
|
|
743
|
+
/>
|
|
744
|
+
</g>
|
|
745
|
+
<g>
|
|
746
|
+
<path
|
|
747
|
+
fill="${data2.colorDesc[0]}"
|
|
748
|
+
fill-opacity="1"
|
|
749
|
+
fill-rule="evenodd"
|
|
750
|
+
d="M11.585663584558105,12.245612104370117L9.586686764558106,10.246671234370117L10.246647204558105,9.586698974370117L12.245624084558106,11.585639904370117L11.585663584558105,12.245612104370117Z"
|
|
751
|
+
/>
|
|
752
|
+
</g>
|
|
753
|
+
<g>
|
|
754
|
+
<path
|
|
755
|
+
fill="${data2.colorDesc[0]}"
|
|
756
|
+
fill-opacity="1"
|
|
757
|
+
fill-rule="evenodd"
|
|
758
|
+
d="M6.270833967572021,8.773334034057617L6.270833967572021,4.690000534057617L7.204167367572022,4.690000534057617L7.204167367572022,8.773334034057617L6.270833967572021,8.773334034057617Z"
|
|
759
|
+
/>
|
|
760
|
+
</g>
|
|
761
|
+
<g transform="matrix(0,1,-1,0,15.510840892791748,-2.0481019020080566)">
|
|
762
|
+
<path
|
|
763
|
+
fill="${data2.colorDesc[0]}"
|
|
764
|
+
fill-opacity="1"
|
|
765
|
+
fill-rule="evenodd"
|
|
766
|
+
d="M8.312804697399903,10.814702995391846L8.312804697399903,6.731369495391846L9.246138097399902,6.731369495391846L9.246138097399902,10.814702995391846L8.312804697399903,10.814702995391846Z"
|
|
767
|
+
/>
|
|
768
|
+
</g>
|
|
769
|
+
</g>
|
|
770
|
+
</svg>
|
|
771
|
+
`
|
|
772
|
+
);
|
|
773
|
+
const AiIconZoomOut = IconBuilder_1(
|
|
774
|
+
"zoom-out",
|
|
775
|
+
(data2) => `
|
|
776
|
+
<svg width="${data2.size}" height="${data2.size}" fill="none" viewBox="0 0 14 14">
|
|
777
|
+
<defs>
|
|
778
|
+
<clipPath>
|
|
779
|
+
<rect
|
|
780
|
+
width="14.000000953674316"
|
|
781
|
+
height="14.000000953674316"
|
|
782
|
+
x="0"
|
|
783
|
+
y="0"
|
|
784
|
+
rx="0"
|
|
785
|
+
/>
|
|
786
|
+
</clipPath>
|
|
787
|
+
</defs>
|
|
788
|
+
<g clip-path="url(#master_svg0_5_9514)">
|
|
789
|
+
<g>
|
|
790
|
+
<path
|
|
791
|
+
fill="${data2.colorDesc[0]}"
|
|
792
|
+
fill-opacity="1"
|
|
793
|
+
fill-rule="evenodd"
|
|
794
|
+
d="M3.0554851367645264,3.0554673745803833Q1.5322757667645264,4.5786770745803835,1.5322757367645263,6.732806374580384Q1.5322754367645264,8.886935374580382,3.0554850367645265,10.410144974580383Q4.578694836764527,11.933354474580383,6.732823636764526,11.933354474580383Q8.886952636764526,11.933354474580383,10.410161736764527,10.410144974580383Q11.933371336764527,8.886935374580382,11.933371336764527,6.732806374580384Q11.933371336764527,4.5786770745803835,10.410162736764526,3.055467474580383Q8.886953136764525,1.5322579145803834,6.732825036764527,1.5322579745803833Q4.578694336764526,1.5322576745803833,3.0554851367645264,3.0554673745803833ZM3.7154513367645263,9.750178974580383Q2.4656088367645266,8.500336274580384,2.4656088367645266,6.732806374580384Q2.4656090767645265,4.9652765745803835,3.7154514367645266,3.7154336745803835Q4.965293836764527,2.4655910745803835,6.732825036764527,2.465591344580383Q8.500354036764527,2.4655911645803834,9.750196236764527,3.7154336745803835Q11.000037936764526,4.9652765745803835,11.000037936764526,6.732806374580384Q11.000037936764526,8.500336274580384,9.750195736764526,9.750178974580383Q8.500352636764527,11.000022074580384,6.732823636764526,11.000022074580384Q4.965294336764527,11.000022074580384,3.7154513367645263,9.750178974580383Z"
|
|
795
|
+
/>
|
|
796
|
+
</g>
|
|
797
|
+
<g>
|
|
798
|
+
<path
|
|
799
|
+
fill="${data2.colorDesc[0]}"
|
|
800
|
+
fill-opacity="1"
|
|
801
|
+
fill-rule="evenodd"
|
|
802
|
+
d="M11.585663584558105,12.245612104370117L9.586686764558106,10.246671234370117L10.246647204558105,9.586698974370117L12.245624084558106,11.585639904370117L11.585663584558105,12.245612104370117Z"
|
|
803
|
+
/>
|
|
804
|
+
</g>
|
|
805
|
+
<g transform="matrix(0,1,-1,0,15.510840892791748,-2.0481019020080566)">
|
|
806
|
+
<path
|
|
807
|
+
fill="${data2.colorDesc[0]}"
|
|
808
|
+
fill-opacity="1"
|
|
809
|
+
fill-rule="evenodd"
|
|
810
|
+
d="M8.312804697399903,10.814702995391846L8.312804697399903,6.731369495391846L9.246138097399902,6.731369495391846L9.246138097399902,10.814702995391846L8.312804697399903,10.814702995391846Z"
|
|
811
|
+
/>
|
|
812
|
+
</g>
|
|
813
|
+
</g>
|
|
814
|
+
</svg>
|
|
815
|
+
`
|
|
816
|
+
);
|
|
817
|
+
const AiIconZoomRecover = IconBuilder_1(
|
|
818
|
+
"zoom-recover",
|
|
819
|
+
(data2) => `
|
|
820
|
+
<svg width="${data2.size}" height="${data2.size}" fill="none" viewBox="0 0 14 14">
|
|
821
|
+
<defs>
|
|
822
|
+
<clipPath><rect width="14" height="14" x="0" y="0" rx="0" /></clipPath>
|
|
823
|
+
</defs>
|
|
824
|
+
<g clip-path="url(#master_svg0_5_9179)">
|
|
825
|
+
<g>
|
|
826
|
+
<path
|
|
827
|
+
fill="${data2.colorDesc[0]}"
|
|
828
|
+
fill-opacity="1"
|
|
829
|
+
fill-rule="evenodd"
|
|
830
|
+
d="M13.3336581875,11.37483690625L13.3336581875,2.62483721625Q13.3336581875,2.17610564625,13.0163631875,1.85880692625Q12.6990641875,1.54150384625,12.2503261875,1.54150390625L1.7503254975,1.54150390625Q1.3015940375,1.54150390625,0.9842931075,1.85880482625Q0.6669921275,2.17610582625,0.6669921875,2.62483733625L0.6669921875,11.37483690625Q0.6669921875,11.82357600625,0.9842952075,12.14087490625Q1.3015939275,12.45816990625,1.7503254975,12.45816990625L12.2503261875,12.45816990625Q12.6990641875,12.45816990625,13.0163611875,12.14087290625Q13.3336581875,11.82357500625,13.3336581875,11.37483690625ZM12.2503261875,2.54150390625Q12.3336581875,2.54150390625,12.3336581875,2.62483721625L12.3336581875,11.37483690625Q12.3336581875,11.45816990625,12.2503261875,11.45816990625L1.7503254975,11.45816990625Q1.6669921875,11.45816990625,1.6669921875,11.37483690625L1.6669921875,2.62483715625Q1.6669921875,2.54150390625,1.7503254975,2.54150390625L12.2503261875,2.54150390625Z"
|
|
831
|
+
/>
|
|
832
|
+
</g>
|
|
833
|
+
<g>
|
|
834
|
+
<path
|
|
835
|
+
fill="${data2.colorDesc[0]}"
|
|
836
|
+
fill-opacity="1"
|
|
837
|
+
fill-rule="evenodd"
|
|
838
|
+
d="M4.16666663,6.16746515L4.16666663,8.75L4.16666436,9.2500024L5.1666688999999995,9.2500024L5.1666666,8.75L5.1666666,5.25Q5.1666665,5.2007543,5.1570592,5.152454846Q5.1474518,5.10415539,5.1286062,5.0586583Q5.1097608,5.01316121,5.0824013,4.97221494Q5.0550419,4.93126863,5.02022,4.89644665Q4.9853979,4.86162469,4.9444516,4.8342652600000005Q4.9035053,4.80690581,4.8580081,4.78806028Q4.8125112,4.76921475,4.7642117,4.7596074Q4.7159123,4.75000003,4.6666666,4.75Q4.5194091,4.75,4.39565837,4.82981607L3.22899178,5.5822871L2.80880475,5.85329461L3.35082361,6.6936662L3.77100825,6.422655L4.16666663,6.16746515Z"
|
|
839
|
+
/>
|
|
840
|
+
</g>
|
|
841
|
+
<g>
|
|
842
|
+
<path
|
|
843
|
+
fill="${data2.colorDesc[0]}"
|
|
844
|
+
fill-opacity="1"
|
|
845
|
+
fill-rule="evenodd"
|
|
846
|
+
d="M9.7086588175,6.16746515L9.7086588175,8.75L9.7086565475,9.2500024L10.7086610875,9.2500024L10.7086587875,8.75L10.7086587875,5.25Q10.7086586875,5.2007543,10.699051387499999,5.152454846Q10.6894439875,5.10415539,10.6705983875,5.0586583Q10.6517529875,5.01316121,10.6243934875,4.97221494Q10.597034087499999,4.93126863,10.5622121875,4.89644665Q10.5273900875,4.86162469,10.4864437875,4.8342652600000005Q10.445497487499999,4.80690581,10.4000002875,4.78806028Q10.3545033875,4.76921475,10.3062038875,4.7596074Q10.2579044875,4.75000003,10.2086587875,4.75Q10.0614012875,4.75,9.9376505575,4.82981607L8.7709839675,5.5822871L8.3507969375,5.85329461L8.8928157975,6.6936662L9.3130004375,6.422655L9.7086588175,6.16746515Z"
|
|
847
|
+
/>
|
|
848
|
+
</g>
|
|
849
|
+
<g>
|
|
850
|
+
<path
|
|
851
|
+
fill="${data2.colorDesc[0]}"
|
|
852
|
+
fill-opacity="1"
|
|
853
|
+
fill-rule="evenodd"
|
|
854
|
+
d="M7.5,5.83349609375L7.5,6.12516275375Q7.49999997,6.17440843375,7.4903926,6.22270783375Q7.48078522,6.27100730375,7.46193969,6.31650436375Q7.44309419,6.36200147375,7.41573477,6.40294778375Q7.38837531,6.44389408375,7.35355335,6.47871607375Q7.31873137,6.51353800375,7.27778509,6.54089743375Q7.23683879,6.56825685375,7.1913417,6.58710241375Q7.14584461,6.60594797375,7.097545154,6.61555534375Q7.0492457,6.62516272375,7,6.62516272375Q6.9507543,6.62516272375,6.902454846,6.61555528375Q6.85415539,6.60594797375,6.8086583,6.58710241375Q6.76316121,6.56825685375,6.72221494,6.54089743375Q6.68126863,6.51353800375,6.64644665,6.47871607375Q6.61162469,6.44389408375,6.5842652600000005,6.40294778375Q6.55690581,6.36200147375,6.53806028,6.31650436375Q6.51921475,6.2710072737499996,6.5096074,6.22270783375Q6.50000003,6.17440837375,6.5,6.12516272375L6.5,5.83349609375Q6.50000003,5.78425039375,6.5096074,5.73595093975Q6.51921478,5.68765148375,6.53806031,5.64215439375Q6.55690581,5.59665730375,6.58426523,5.55571103375Q6.61162469,5.51476472375,6.64644665,5.47994274375Q6.68126863,5.44512078375,6.72221491,5.4177613537500005Q6.76316121,5.39040190375,6.8086583,5.37155637375Q6.85415539,5.35271084375,6.902454846,5.34310349375Q6.9507543,5.33349612375,7,5.33349609375Q7.0492457,5.33349612375,7.097545154,5.34310349375Q7.14584461,5.35271087375,7.1913417,5.37155640375Q7.23683879,5.39040190375,7.27778506,5.41776132375Q7.31873137,5.44512078375,7.35355335,5.47994274375Q7.38837531,5.51476472375,7.4157347399999995,5.55571100375Q7.44309419,5.59665730375,7.46193972,5.64215439375Q7.48078525,5.68765148375,7.4903926,5.73595093975Q7.49999997,5.78425039375,7.5,5.83349609375Z"
|
|
855
|
+
/>
|
|
856
|
+
</g>
|
|
857
|
+
<g>
|
|
858
|
+
<path
|
|
859
|
+
fill="${data2.colorDesc[0]}"
|
|
860
|
+
fill-opacity="1"
|
|
861
|
+
fill-rule="evenodd"
|
|
862
|
+
d="M7.5,7.875L7.5,8.16666666Q7.49999997,8.21591234,7.4903926,8.26421174Q7.48078522,8.31251121,7.46193969,8.35800827Q7.44309419,8.40350538,7.41573477,8.44445169Q7.38837531,8.48539799,7.35355335,8.52021998Q7.31873137,8.55504191,7.27778509,8.58240134Q7.23683879,8.60976076,7.1913417,8.62860632Q7.14584461,8.64745188,7.097545154,8.65705925Q7.0492457,8.66666663,7,8.66666663Q6.9507543,8.66666663,6.902454846,8.65705919Q6.85415539,8.64745188,6.8086583,8.62860632Q6.76316121,8.60976076,6.72221494,8.58240134Q6.68126863,8.55504191,6.64644665,8.52021998Q6.61162469,8.48539799,6.5842652600000005,8.44445169Q6.55690581,8.40350538,6.53806028,8.35800827Q6.51921475,8.31251118,6.5096074,8.26421174Q6.50000003,8.21591228,6.5,8.16666663L6.5,7.875Q6.50000003,7.8257543,6.5096074,7.777454846Q6.51921478,7.72915539,6.53806031,7.6836583Q6.55690581,7.63816121,6.58426523,7.59721494Q6.61162469,7.55626863,6.64644665,7.52144665Q6.68126863,7.48662469,6.72221491,7.4592652600000005Q6.76316121,7.43190581,6.8086583,7.41306028Q6.85415539,7.39421475,6.902454846,7.3846074Q6.9507543,7.37500003,7,7.375Q7.0492457,7.37500003,7.097545154,7.3846074Q7.14584461,7.39421478,7.1913417,7.41306031Q7.23683879,7.43190581,7.27778506,7.45926523Q7.31873137,7.48662469,7.35355335,7.52144665Q7.38837531,7.55626863,7.4157347399999995,7.59721491Q7.44309419,7.63816121,7.46193972,7.6836583Q7.48078525,7.72915539,7.4903926,7.777454846Q7.49999997,7.8257543,7.5,7.875Z"
|
|
863
|
+
/>
|
|
864
|
+
</g>
|
|
865
|
+
</g>
|
|
866
|
+
</svg>
|
|
867
|
+
`
|
|
868
|
+
);
|
|
601
869
|
const useLineClamp = (lineCount = 3) => {
|
|
602
870
|
const isExpand = ref(false);
|
|
603
871
|
const isMultiLineClamp = ref(false);
|
|
@@ -5149,10 +5417,145 @@ var __component__$e = /* @__PURE__ */ normalizeComponent(
|
|
|
5149
5417
|
_sfc_staticRenderFns$e
|
|
5150
5418
|
);
|
|
5151
5419
|
const playbackOutline = __component__$e.exports;
|
|
5420
|
+
const useAppendTo = (elemRef, parentRef) => {
|
|
5421
|
+
function getBodyElement() {
|
|
5422
|
+
return document.body;
|
|
5423
|
+
}
|
|
5424
|
+
const appendToParent = computed(() => {
|
|
5425
|
+
let _parentRef2 = getBodyElement();
|
|
5426
|
+
if (unref(parentRef)) {
|
|
5427
|
+
_parentRef2 = unref(parentRef);
|
|
5428
|
+
}
|
|
5429
|
+
return _parentRef2;
|
|
5430
|
+
});
|
|
5431
|
+
function setAppend() {
|
|
5432
|
+
const elem = unref(elemRef);
|
|
5433
|
+
const parentElem = unref(appendToParent);
|
|
5434
|
+
if (!elem || !parentElem) {
|
|
5435
|
+
return;
|
|
5436
|
+
}
|
|
5437
|
+
parentElem.appendChild(elem);
|
|
5438
|
+
}
|
|
5439
|
+
watch(
|
|
5440
|
+
() => [unref(elemRef), unref(appendToParent)],
|
|
5441
|
+
() => {
|
|
5442
|
+
setAppend();
|
|
5443
|
+
},
|
|
5444
|
+
{
|
|
5445
|
+
immediate: true
|
|
5446
|
+
}
|
|
5447
|
+
);
|
|
5448
|
+
onBeforeUnmount(() => {
|
|
5449
|
+
const elem = unref(elemRef);
|
|
5450
|
+
if (elem && elem.parentNode) {
|
|
5451
|
+
elem.parentNode.removeChild(elem);
|
|
5452
|
+
}
|
|
5453
|
+
});
|
|
5454
|
+
};
|
|
5455
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
5456
|
+
__name: "map-control",
|
|
5457
|
+
props: {
|
|
5458
|
+
defaultScaleRate: PropUtils.number.def(1),
|
|
5459
|
+
currentScaleRate: PropUtils.number.def(1)
|
|
5460
|
+
},
|
|
5461
|
+
emits: {
|
|
5462
|
+
"update-mind-map-scale": emitFunc()
|
|
5463
|
+
},
|
|
5464
|
+
setup(__props, { emit }) {
|
|
5465
|
+
const props = __props;
|
|
5466
|
+
const isDragging = ref(false);
|
|
5467
|
+
const containerWidth = ref(0);
|
|
5468
|
+
const mindScale = ref(props.defaultScaleRate);
|
|
5469
|
+
const containerRect = ref();
|
|
5470
|
+
const trackRef = ref();
|
|
5471
|
+
watch(
|
|
5472
|
+
() => props.currentScaleRate,
|
|
5473
|
+
() => {
|
|
5474
|
+
mindScale.value = props.currentScaleRate;
|
|
5475
|
+
},
|
|
5476
|
+
{
|
|
5477
|
+
immediate: true
|
|
5478
|
+
}
|
|
5479
|
+
);
|
|
5480
|
+
const thumbPosition = computed(() => ({
|
|
5481
|
+
left: `${(mindScale.value - 0.1) / 1.9 * 100}%`
|
|
5482
|
+
}));
|
|
5483
|
+
const updateDimensions = () => {
|
|
5484
|
+
var _a;
|
|
5485
|
+
containerWidth.value = (_a = trackRef.value) == null ? void 0 : _a.offsetWidth;
|
|
5486
|
+
containerRect.value = trackRef.value.getBoundingClientRect();
|
|
5487
|
+
};
|
|
5488
|
+
const updateScale = (newScale) => {
|
|
5489
|
+
if (!containerRect.value) return;
|
|
5490
|
+
mindScale.value = Number(newScale);
|
|
5491
|
+
emit("update-mind-map-scale", mindScale.value);
|
|
5492
|
+
};
|
|
5493
|
+
const updateMindMapScale = (e) => {
|
|
5494
|
+
if (!containerRect.value) return;
|
|
5495
|
+
const rawScale = (e.clientX - containerRect.value.left) / containerRect.value.width;
|
|
5496
|
+
const newScale = Number(Math.min(2, Math.max(0.1, 0.1 + rawScale * 1.9)));
|
|
5497
|
+
if (mindScale.value !== newScale) {
|
|
5498
|
+
updateScale(newScale);
|
|
5499
|
+
}
|
|
5500
|
+
};
|
|
5501
|
+
const decrementScale = () => {
|
|
5502
|
+
if (mindScale.value <= 0.1) {
|
|
5503
|
+
return;
|
|
5504
|
+
}
|
|
5505
|
+
const newScale = Math.max(0.1, mindScale.value - 0.1);
|
|
5506
|
+
updateScale(newScale);
|
|
5507
|
+
};
|
|
5508
|
+
const incrementScale = () => {
|
|
5509
|
+
if (mindScale.value >= 2) {
|
|
5510
|
+
return;
|
|
5511
|
+
}
|
|
5512
|
+
const newScale = Math.min(2, mindScale.value + 0.1);
|
|
5513
|
+
updateScale(newScale);
|
|
5514
|
+
};
|
|
5515
|
+
const recoverScale = () => {
|
|
5516
|
+
mindScale.value = props.defaultScaleRate;
|
|
5517
|
+
updateScale(props.defaultScaleRate);
|
|
5518
|
+
};
|
|
5519
|
+
const handleScaleChange = (e) => {
|
|
5520
|
+
updateDimensions();
|
|
5521
|
+
updateMindMapScale(e);
|
|
5522
|
+
};
|
|
5523
|
+
const startDrag = (e) => {
|
|
5524
|
+
isDragging.value = true;
|
|
5525
|
+
updateMindMapScale(e);
|
|
5526
|
+
};
|
|
5527
|
+
const handleDrag = (e) => {
|
|
5528
|
+
if (isDragging.value) {
|
|
5529
|
+
updateMindMapScale(e);
|
|
5530
|
+
}
|
|
5531
|
+
};
|
|
5532
|
+
const endDrag = () => {
|
|
5533
|
+
isDragging.value = false;
|
|
5534
|
+
};
|
|
5535
|
+
onMounted(() => {
|
|
5536
|
+
updateDimensions();
|
|
5537
|
+
window.addEventListener("resize", updateDimensions);
|
|
5538
|
+
});
|
|
5539
|
+
onBeforeUnmount(() => {
|
|
5540
|
+
window.removeEventListener("resize", updateDimensions);
|
|
5541
|
+
});
|
|
5542
|
+
return { __sfc: true, props, emit, isDragging, containerWidth, mindScale, containerRect, trackRef, thumbPosition, updateDimensions, updateScale, updateMindMapScale, decrementScale, incrementScale, recoverScale, handleScaleChange, startDrag, handleDrag, endDrag, AiIconZoomIn, AiIconZoomOut, AiIconZoomRecover };
|
|
5543
|
+
}
|
|
5544
|
+
});
|
|
5545
|
+
var _sfc_render$d = function render2() {
|
|
5546
|
+
var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
|
|
5547
|
+
return _c("div", { staticClass: "plv-ai-outline-mind-map__control" }, [_c("div", { staticClass: "plv-ai-outline-mind-map__control__left" }, [_c(_setup.AiIconZoomOut, { staticClass: "plv-ai-outline-mind-map__control__icon", on: { "click": _setup.decrementScale } }), _c("div", { ref: "trackRef", staticClass: "plv-ai-outline-mind-map__control__track", on: { "click": _setup.handleScaleChange, "mousedown": _setup.startDrag, "mousemove": _setup.handleDrag, "mouseup": _setup.endDrag, "mouseleave": _setup.endDrag } }, [_c("div", { staticClass: "plv-ai-outline-mind-map__control__track-line" }), _c("div", { staticClass: "plv-ai-outline-mind-map__control__slider-thumb", class: { dragging: _setup.isDragging }, style: _setup.thumbPosition })]), _c(_setup.AiIconZoomIn, { staticClass: "plv-ai-outline-mind-map__control__icon", on: { "click": _setup.incrementScale } })], 1), _c("div", { staticClass: "plv-ai-outline-mind-map__control__right" }, [_c(_setup.AiIconZoomRecover, { staticClass: "plv-ai-outline-mind-map__control__icon", on: { "click": _setup.recoverScale } })], 1)]);
|
|
5548
|
+
};
|
|
5549
|
+
var _sfc_staticRenderFns$d = [];
|
|
5550
|
+
var __component__$d = /* @__PURE__ */ normalizeComponent(
|
|
5551
|
+
_sfc_main$d,
|
|
5552
|
+
_sfc_render$d,
|
|
5553
|
+
_sfc_staticRenderFns$d
|
|
5554
|
+
);
|
|
5555
|
+
const MapControl = __component__$d.exports;
|
|
5152
5556
|
const CONSTANTS = {
|
|
5153
5557
|
CHANGE_THEME: "changeTheme",
|
|
5154
5558
|
CHANGE_LAYOUT: "changeLayout",
|
|
5155
|
-
SET_DATA: "setData",
|
|
5156
5559
|
MODE: {
|
|
5157
5560
|
READONLY: "readonly",
|
|
5158
5561
|
EDIT: "edit"
|
|
@@ -5166,7 +5569,12 @@ const CONSTANTS = {
|
|
|
5166
5569
|
TIMELINE: "timeline",
|
|
5167
5570
|
TIMELINE2: "timeline2",
|
|
5168
5571
|
FISHBONE: "fishbone",
|
|
5169
|
-
|
|
5572
|
+
FISHBONE2: "fishbone2",
|
|
5573
|
+
RIGHT_FISHBONE: "rightFishbone",
|
|
5574
|
+
RIGHT_FISHBONE2: "rightFishbone2",
|
|
5575
|
+
VERTICAL_TIMELINE: "verticalTimeline",
|
|
5576
|
+
VERTICAL_TIMELINE2: "verticalTimeline2",
|
|
5577
|
+
VERTICAL_TIMELINE3: "verticalTimeline3"
|
|
5170
5578
|
},
|
|
5171
5579
|
DIR: {
|
|
5172
5580
|
UP: "up",
|
|
@@ -5221,14 +5629,15 @@ const CONSTANTS = {
|
|
|
5221
5629
|
NOT_ACTIVE: "notActive",
|
|
5222
5630
|
ACTIVE_ONLY: "activeOnly"
|
|
5223
5631
|
},
|
|
5224
|
-
|
|
5632
|
+
TAG_PLACEMENT: {
|
|
5225
5633
|
RIGHT: "right",
|
|
5226
5634
|
BOTTOM: "bottom"
|
|
5227
5635
|
},
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5636
|
+
IMG_PLACEMENT: {
|
|
5637
|
+
LEFT: "left",
|
|
5638
|
+
TOP: "top",
|
|
5639
|
+
RIGHT: "right",
|
|
5640
|
+
BOTTOM: "bottom"
|
|
5232
5641
|
}
|
|
5233
5642
|
};
|
|
5234
5643
|
const initRootNodePositionMap = {
|
|
@@ -5238,6 +5647,64 @@ const initRootNodePositionMap = {
|
|
|
5238
5647
|
[CONSTANTS.INIT_ROOT_NODE_POSITION.BOTTOM]: 1,
|
|
5239
5648
|
[CONSTANTS.INIT_ROOT_NODE_POSITION.CENTER]: 0.5
|
|
5240
5649
|
};
|
|
5650
|
+
[
|
|
5651
|
+
{
|
|
5652
|
+
name: "逻辑结构图",
|
|
5653
|
+
value: CONSTANTS.LAYOUT.LOGICAL_STRUCTURE
|
|
5654
|
+
},
|
|
5655
|
+
{
|
|
5656
|
+
name: "向左逻辑结构图",
|
|
5657
|
+
value: CONSTANTS.LAYOUT.LOGICAL_STRUCTURE_LEFT
|
|
5658
|
+
},
|
|
5659
|
+
{
|
|
5660
|
+
name: "思维导图",
|
|
5661
|
+
value: CONSTANTS.LAYOUT.MIND_MAP
|
|
5662
|
+
},
|
|
5663
|
+
{
|
|
5664
|
+
name: "组织结构图",
|
|
5665
|
+
value: CONSTANTS.LAYOUT.ORGANIZATION_STRUCTURE
|
|
5666
|
+
},
|
|
5667
|
+
{
|
|
5668
|
+
name: "目录组织图",
|
|
5669
|
+
value: CONSTANTS.LAYOUT.CATALOG_ORGANIZATION
|
|
5670
|
+
},
|
|
5671
|
+
{
|
|
5672
|
+
name: "时间轴",
|
|
5673
|
+
value: CONSTANTS.LAYOUT.TIMELINE
|
|
5674
|
+
},
|
|
5675
|
+
{
|
|
5676
|
+
name: "时间轴2",
|
|
5677
|
+
value: CONSTANTS.LAYOUT.TIMELINE2
|
|
5678
|
+
},
|
|
5679
|
+
{
|
|
5680
|
+
name: "竖向时间轴",
|
|
5681
|
+
value: CONSTANTS.LAYOUT.VERTICAL_TIMELINE
|
|
5682
|
+
},
|
|
5683
|
+
{
|
|
5684
|
+
name: "竖向时间轴2",
|
|
5685
|
+
value: CONSTANTS.LAYOUT.VERTICAL_TIMELINE2
|
|
5686
|
+
},
|
|
5687
|
+
{
|
|
5688
|
+
name: "竖向时间轴3",
|
|
5689
|
+
value: CONSTANTS.LAYOUT.VERTICAL_TIMELINE3
|
|
5690
|
+
},
|
|
5691
|
+
{
|
|
5692
|
+
name: "鱼骨图",
|
|
5693
|
+
value: CONSTANTS.LAYOUT.FISHBONE
|
|
5694
|
+
},
|
|
5695
|
+
{
|
|
5696
|
+
name: "鱼骨图2",
|
|
5697
|
+
value: CONSTANTS.LAYOUT.FISHBONE2
|
|
5698
|
+
},
|
|
5699
|
+
{
|
|
5700
|
+
name: "向右鱼骨图",
|
|
5701
|
+
value: CONSTANTS.LAYOUT.RIGHT_FISHBONE
|
|
5702
|
+
},
|
|
5703
|
+
{
|
|
5704
|
+
name: "向右鱼骨图2",
|
|
5705
|
+
value: CONSTANTS.LAYOUT.RIGHT_FISHBONE2
|
|
5706
|
+
}
|
|
5707
|
+
];
|
|
5241
5708
|
const layoutValueList = [
|
|
5242
5709
|
CONSTANTS.LAYOUT.LOGICAL_STRUCTURE,
|
|
5243
5710
|
CONSTANTS.LAYOUT.LOGICAL_STRUCTURE_LEFT,
|
|
@@ -5247,7 +5714,12 @@ const layoutValueList = [
|
|
|
5247
5714
|
CONSTANTS.LAYOUT.TIMELINE,
|
|
5248
5715
|
CONSTANTS.LAYOUT.TIMELINE2,
|
|
5249
5716
|
CONSTANTS.LAYOUT.VERTICAL_TIMELINE,
|
|
5250
|
-
CONSTANTS.LAYOUT.
|
|
5717
|
+
CONSTANTS.LAYOUT.VERTICAL_TIMELINE2,
|
|
5718
|
+
CONSTANTS.LAYOUT.VERTICAL_TIMELINE3,
|
|
5719
|
+
CONSTANTS.LAYOUT.FISHBONE,
|
|
5720
|
+
CONSTANTS.LAYOUT.FISHBONE2,
|
|
5721
|
+
CONSTANTS.LAYOUT.RIGHT_FISHBONE,
|
|
5722
|
+
CONSTANTS.LAYOUT.RIGHT_FISHBONE2
|
|
5251
5723
|
];
|
|
5252
5724
|
const nodeDataNoStylePropList = [
|
|
5253
5725
|
"text",
|
|
@@ -5282,8 +5754,10 @@ const nodeDataNoStylePropList = [
|
|
|
5282
5754
|
"customTextWidth",
|
|
5283
5755
|
"checkbox",
|
|
5284
5756
|
"dir",
|
|
5285
|
-
"needUpdate"
|
|
5757
|
+
"needUpdate",
|
|
5286
5758
|
// 重新创建节点内容
|
|
5759
|
+
"imgMap",
|
|
5760
|
+
"nodeLink"
|
|
5287
5761
|
];
|
|
5288
5762
|
const ERROR_TYPES = {
|
|
5289
5763
|
READ_CLIPBOARD_ERROR: "read_clipboard_error",
|
|
@@ -5324,7 +5798,8 @@ const richTextSupportStyleList = [
|
|
|
5324
5798
|
"fontWeight",
|
|
5325
5799
|
"fontStyle",
|
|
5326
5800
|
"textDecoration",
|
|
5327
|
-
"color"
|
|
5801
|
+
"color",
|
|
5802
|
+
"textAlign"
|
|
5328
5803
|
];
|
|
5329
5804
|
class View {
|
|
5330
5805
|
// 构造函数
|
|
@@ -5404,10 +5879,10 @@ class View {
|
|
|
5404
5879
|
});
|
|
5405
5880
|
}
|
|
5406
5881
|
switch (true) {
|
|
5407
|
-
case dirs.includes(CONSTANTS.DIR.UP):
|
|
5882
|
+
case dirs.includes(CONSTANTS.DIR.UP || CONSTANTS.DIR.LEFT):
|
|
5408
5883
|
mousewheelZoomActionReverse ? this.enlarge(cx2, cy2, isTouchPad) : this.narrow(cx2, cy2, isTouchPad);
|
|
5409
5884
|
break;
|
|
5410
|
-
case dirs.includes(CONSTANTS.DIR.DOWN):
|
|
5885
|
+
case dirs.includes(CONSTANTS.DIR.DOWN || CONSTANTS.DIR.RIGHT):
|
|
5411
5886
|
mousewheelZoomActionReverse ? this.narrow(cx2, cy2, isTouchPad) : this.enlarge(cx2, cy2, isTouchPad);
|
|
5412
5887
|
break;
|
|
5413
5888
|
}
|
|
@@ -11691,7 +12166,7 @@ const defaultTheme = {
|
|
|
11691
12166
|
// 关联线激活状态的颜色
|
|
11692
12167
|
associativeLineActiveColor: "rgba(2, 167, 240, 1)",
|
|
11693
12168
|
// 关联线样式
|
|
11694
|
-
associativeLineDasharray:
|
|
12169
|
+
associativeLineDasharray: "6,4",
|
|
11695
12170
|
// 关联线文字颜色
|
|
11696
12171
|
associativeLineTextColor: "rgb(51, 51, 51)",
|
|
11697
12172
|
// 关联线文字大小
|
|
@@ -11736,7 +12211,16 @@ const defaultTheme = {
|
|
|
11736
12211
|
// 节点鼠标hover和激活时显示的矩形边框的颜色,主题里不设置,默认会取hoverRectColor实例化选项的值
|
|
11737
12212
|
hoverRectColor: "",
|
|
11738
12213
|
// 点鼠标hover和激活时显示的矩形边框的圆角大小
|
|
11739
|
-
hoverRectRadius: 5
|
|
12214
|
+
hoverRectRadius: 5,
|
|
12215
|
+
// 文本对齐
|
|
12216
|
+
textAlign: "left",
|
|
12217
|
+
// right、center、justify、left
|
|
12218
|
+
// 图片放置位置,相对于整个文本内容
|
|
12219
|
+
imgPlacement: "top",
|
|
12220
|
+
// left、right、bottom、top
|
|
12221
|
+
// 标签放置位置
|
|
12222
|
+
tagPlacement: "right"
|
|
12223
|
+
// right(文字右侧)、bottom(文本内容下方)
|
|
11740
12224
|
// 下列样式也支持给节点设置,用于覆盖最外层的设置
|
|
11741
12225
|
// paddingX,
|
|
11742
12226
|
// paddingY,
|
|
@@ -11771,7 +12255,10 @@ const defaultTheme = {
|
|
|
11771
12255
|
endDir: [1, 0],
|
|
11772
12256
|
lineMarkerDir: "end",
|
|
11773
12257
|
hoverRectColor: "",
|
|
11774
|
-
hoverRectRadius: 5
|
|
12258
|
+
hoverRectRadius: 5,
|
|
12259
|
+
textAlign: "left",
|
|
12260
|
+
imgPlacement: "top",
|
|
12261
|
+
tagPlacement: "right"
|
|
11775
12262
|
},
|
|
11776
12263
|
// 三级及以下节点样式
|
|
11777
12264
|
node: {
|
|
@@ -11796,7 +12283,10 @@ const defaultTheme = {
|
|
|
11796
12283
|
endDir: [1, 0],
|
|
11797
12284
|
lineMarkerDir: "end",
|
|
11798
12285
|
hoverRectColor: "",
|
|
11799
|
-
hoverRectRadius: 5
|
|
12286
|
+
hoverRectRadius: 5,
|
|
12287
|
+
textAlign: "left",
|
|
12288
|
+
imgPlacement: "top",
|
|
12289
|
+
tagPlacement: "right"
|
|
11800
12290
|
},
|
|
11801
12291
|
// 概要节点样式
|
|
11802
12292
|
generalization: {
|
|
@@ -11820,7 +12310,10 @@ const defaultTheme = {
|
|
|
11820
12310
|
startDir: [0, 0],
|
|
11821
12311
|
endDir: [1, 0],
|
|
11822
12312
|
hoverRectColor: "",
|
|
11823
|
-
hoverRectRadius: 5
|
|
12313
|
+
hoverRectRadius: 5,
|
|
12314
|
+
textAlign: "left",
|
|
12315
|
+
imgPlacement: "top",
|
|
12316
|
+
tagPlacement: "right"
|
|
11824
12317
|
}
|
|
11825
12318
|
};
|
|
11826
12319
|
const nodeSizeIndependenceList = [
|
|
@@ -11851,7 +12344,8 @@ const nodeSizeIndependenceList = [
|
|
|
11851
12344
|
"hoverRectRadius",
|
|
11852
12345
|
"lineFlow",
|
|
11853
12346
|
"lineFlowDuration",
|
|
11854
|
-
"lineFlowForward"
|
|
12347
|
+
"lineFlowForward",
|
|
12348
|
+
"textAlign"
|
|
11855
12349
|
];
|
|
11856
12350
|
const checkIsNodeSizeIndependenceConfig = (config2) => {
|
|
11857
12351
|
let keys = Object.keys(config2);
|
|
@@ -12026,12 +12520,10 @@ const debounce$1 = (fn, wait = 300, ctx) => {
|
|
|
12026
12520
|
let timeout = null;
|
|
12027
12521
|
return (...args) => {
|
|
12028
12522
|
if (timeout) clearTimeout(timeout);
|
|
12029
|
-
const callNow = !timeout;
|
|
12030
12523
|
timeout = setTimeout(() => {
|
|
12031
12524
|
timeout = null;
|
|
12032
12525
|
fn.apply(ctx, args);
|
|
12033
12526
|
}, wait);
|
|
12034
|
-
if (callNow) fn.apply(ctx, args);
|
|
12035
12527
|
};
|
|
12036
12528
|
};
|
|
12037
12529
|
const asyncRun = (taskList, callback = () => {
|
|
@@ -12090,7 +12582,7 @@ const nextTick = function(fn, ctx) {
|
|
|
12090
12582
|
timerFunc(handle, 0);
|
|
12091
12583
|
};
|
|
12092
12584
|
};
|
|
12093
|
-
const checkNodeOuter = (mindMap, node) => {
|
|
12585
|
+
const checkNodeOuter = (mindMap, node, offsetX = 0, offsetY = 0) => {
|
|
12094
12586
|
let elRect = mindMap.elRect;
|
|
12095
12587
|
let { scaleX, scaleY, translateX, translateY } = mindMap.draw.transform();
|
|
12096
12588
|
let { left, top, width: width2, height: height2 } = node;
|
|
@@ -12100,17 +12592,17 @@ const checkNodeOuter = (mindMap, node) => {
|
|
|
12100
12592
|
top = top * scaleY + translateY;
|
|
12101
12593
|
let offsetLeft = 0;
|
|
12102
12594
|
let offsetTop = 0;
|
|
12103
|
-
if (left < 0) {
|
|
12104
|
-
offsetLeft = -left;
|
|
12595
|
+
if (left < 0 + offsetX) {
|
|
12596
|
+
offsetLeft = -left + offsetX;
|
|
12105
12597
|
}
|
|
12106
|
-
if (right > elRect.width) {
|
|
12107
|
-
offsetLeft = -(right - elRect.width);
|
|
12598
|
+
if (right > elRect.width - offsetX) {
|
|
12599
|
+
offsetLeft = -(right - elRect.width) - offsetX;
|
|
12108
12600
|
}
|
|
12109
|
-
if (top < 0) {
|
|
12110
|
-
offsetTop = -top;
|
|
12601
|
+
if (top < 0 + offsetY) {
|
|
12602
|
+
offsetTop = -top + offsetY;
|
|
12111
12603
|
}
|
|
12112
|
-
if (bottom > elRect.height) {
|
|
12113
|
-
offsetTop = -(bottom - elRect.height);
|
|
12604
|
+
if (bottom > elRect.height - offsetY) {
|
|
12605
|
+
offsetTop = -(bottom - elRect.height) - offsetY;
|
|
12114
12606
|
}
|
|
12115
12607
|
return {
|
|
12116
12608
|
isOuter: offsetLeft !== 0 || offsetTop !== 0,
|
|
@@ -12182,13 +12674,13 @@ const checkIsRichText = (str) => {
|
|
|
12182
12674
|
return false;
|
|
12183
12675
|
};
|
|
12184
12676
|
const isWhite = (color) => {
|
|
12185
|
-
color = String(color).
|
|
12677
|
+
color = String(color).replace(/\s+/g, "");
|
|
12186
12678
|
return ["#fff", "#ffffff", "#FFF", "#FFFFFF", "rgb(255,255,255)"].includes(
|
|
12187
12679
|
color
|
|
12188
12680
|
) || /rgba\(255,255,255,[^)]+\)/.test(color);
|
|
12189
12681
|
};
|
|
12190
12682
|
const isTransparent = (color) => {
|
|
12191
|
-
color = String(color).
|
|
12683
|
+
color = String(color).replace(/\s+/g, "");
|
|
12192
12684
|
return ["", "transparent"].includes(color) || /rgba\(\d+,\d+,\d+,0\)/.test(color);
|
|
12193
12685
|
};
|
|
12194
12686
|
const getVisibleColorFromTheme = (themeConfig) => {
|
|
@@ -12392,7 +12884,7 @@ const addDataToAppointNodes = (appointNodes, data2 = {}) => {
|
|
|
12392
12884
|
walk2(appointNodes);
|
|
12393
12885
|
return appointNodes;
|
|
12394
12886
|
};
|
|
12395
|
-
const createUidForAppointNodes = (appointNodes, createNewId = false, handle = null) => {
|
|
12887
|
+
const createUidForAppointNodes = (appointNodes, createNewId = false, handle = null, handleGeneralization = false) => {
|
|
12396
12888
|
const walk2 = (list) => {
|
|
12397
12889
|
list.forEach((node) => {
|
|
12398
12890
|
if (!node.data) {
|
|
@@ -12401,6 +12893,14 @@ const createUidForAppointNodes = (appointNodes, createNewId = false, handle = nu
|
|
|
12401
12893
|
if (createNewId || isUndef(node.data.uid)) {
|
|
12402
12894
|
node.data.uid = createUid();
|
|
12403
12895
|
}
|
|
12896
|
+
if (handleGeneralization) {
|
|
12897
|
+
const generalizationList = formatGetNodeGeneralization(node.data);
|
|
12898
|
+
generalizationList.forEach((gNode) => {
|
|
12899
|
+
if (createNewId || isUndef(gNode.uid)) {
|
|
12900
|
+
gNode.uid = createUid();
|
|
12901
|
+
}
|
|
12902
|
+
});
|
|
12903
|
+
}
|
|
12404
12904
|
handle && handle(node);
|
|
12405
12905
|
if (node.children && node.children.length > 0) {
|
|
12406
12906
|
walk2(node.children);
|
|
@@ -12592,6 +13092,9 @@ const transformTreeDataToObject = (data2) => {
|
|
|
12592
13092
|
walk2(data2, null);
|
|
12593
13093
|
return res;
|
|
12594
13094
|
};
|
|
13095
|
+
const getTwoPointDistance = (x1, y1, x2, y2) => {
|
|
13096
|
+
return Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2));
|
|
13097
|
+
};
|
|
12595
13098
|
const handleGetSvgDataExtraContent = ({
|
|
12596
13099
|
addContentToHeader,
|
|
12597
13100
|
addContentToFooter
|
|
@@ -12745,6 +13248,17 @@ const backgroundStyleProps = [
|
|
|
12745
13248
|
"backgroundPosition",
|
|
12746
13249
|
"backgroundSize"
|
|
12747
13250
|
];
|
|
13251
|
+
const shapeStyleProps = [
|
|
13252
|
+
"gradientStyle",
|
|
13253
|
+
"startColor",
|
|
13254
|
+
"endColor",
|
|
13255
|
+
"startDir",
|
|
13256
|
+
"endDir",
|
|
13257
|
+
"fillColor",
|
|
13258
|
+
"borderColor",
|
|
13259
|
+
"borderWidth",
|
|
13260
|
+
"borderDasharray"
|
|
13261
|
+
];
|
|
12748
13262
|
class Style2 {
|
|
12749
13263
|
// 设置背景样式
|
|
12750
13264
|
static setBackgroundStyle(el, themeConfig) {
|
|
@@ -12830,6 +13344,7 @@ class Style2 {
|
|
|
12830
13344
|
}
|
|
12831
13345
|
// 更新当前节点生效的样式数据
|
|
12832
13346
|
addToEffectiveStyles(styles) {
|
|
13347
|
+
if (!this.ctx.mindMap.painter) return;
|
|
12833
13348
|
this.ctx.effectiveStyles = __spreadValues(__spreadValues({}, this.ctx.effectiveStyles), styles);
|
|
12834
13349
|
}
|
|
12835
13350
|
// 矩形
|
|
@@ -12839,17 +13354,10 @@ class Style2 {
|
|
|
12839
13354
|
}
|
|
12840
13355
|
// 形状
|
|
12841
13356
|
shape(node) {
|
|
12842
|
-
const styles = {
|
|
12843
|
-
|
|
12844
|
-
|
|
12845
|
-
|
|
12846
|
-
startDir: this.merge("startDir"),
|
|
12847
|
-
endDir: this.merge("endDir"),
|
|
12848
|
-
fillColor: this.merge("fillColor"),
|
|
12849
|
-
borderColor: this.merge("borderColor"),
|
|
12850
|
-
borderWidth: this.merge("borderWidth"),
|
|
12851
|
-
borderDasharray: this.merge("borderDasharray")
|
|
12852
|
-
};
|
|
13357
|
+
const styles = {};
|
|
13358
|
+
shapeStyleProps.forEach((key) => {
|
|
13359
|
+
styles[key] = this.merge(key);
|
|
13360
|
+
});
|
|
12853
13361
|
if (styles.gradientStyle) {
|
|
12854
13362
|
if (!this._gradient) {
|
|
12855
13363
|
this._gradient = this.ctx.nodeDraw.gradient("linear");
|
|
@@ -12891,42 +13399,6 @@ class Style2 {
|
|
|
12891
13399
|
"text-decoration": styles.textDecoration
|
|
12892
13400
|
});
|
|
12893
13401
|
}
|
|
12894
|
-
// 生成内联样式
|
|
12895
|
-
createStyleText(customStyle = {}) {
|
|
12896
|
-
const styles = __spreadValues({
|
|
12897
|
-
color: this.merge("color"),
|
|
12898
|
-
fontFamily: this.merge("fontFamily"),
|
|
12899
|
-
fontSize: this.merge("fontSize"),
|
|
12900
|
-
fontWeight: this.merge("fontWeight"),
|
|
12901
|
-
fontStyle: this.merge("fontStyle"),
|
|
12902
|
-
textDecoration: this.merge("textDecoration")
|
|
12903
|
-
}, customStyle);
|
|
12904
|
-
return `
|
|
12905
|
-
color: ${styles.color};
|
|
12906
|
-
font-family: ${styles.fontFamily};
|
|
12907
|
-
font-size: ${styles.fontSize + "px"};
|
|
12908
|
-
font-weight: ${styles.fontWeight};
|
|
12909
|
-
font-style: ${styles.fontStyle};
|
|
12910
|
-
text-decoration: ${styles.textDecoration}
|
|
12911
|
-
`;
|
|
12912
|
-
}
|
|
12913
|
-
// 获取文本样式
|
|
12914
|
-
getTextFontStyle() {
|
|
12915
|
-
const styles = {
|
|
12916
|
-
color: this.merge("color"),
|
|
12917
|
-
fontFamily: this.merge("fontFamily"),
|
|
12918
|
-
fontSize: this.merge("fontSize"),
|
|
12919
|
-
fontWeight: this.merge("fontWeight"),
|
|
12920
|
-
fontStyle: this.merge("fontStyle"),
|
|
12921
|
-
textDecoration: this.merge("textDecoration")
|
|
12922
|
-
};
|
|
12923
|
-
return {
|
|
12924
|
-
italic: styles.fontStyle === "italic",
|
|
12925
|
-
bold: styles.fontWeight,
|
|
12926
|
-
fontSize: styles.fontSize,
|
|
12927
|
-
fontFamily: styles.fontFamily
|
|
12928
|
-
};
|
|
12929
|
-
}
|
|
12930
13402
|
// html文字节点
|
|
12931
13403
|
domText(node, fontSizeScale = 1) {
|
|
12932
13404
|
const styles = {
|
|
@@ -12935,7 +13407,8 @@ class Style2 {
|
|
|
12935
13407
|
fontSize: this.merge("fontSize"),
|
|
12936
13408
|
fontWeight: this.merge("fontWeight"),
|
|
12937
13409
|
fontStyle: this.merge("fontStyle"),
|
|
12938
|
-
textDecoration: this.merge("textDecoration")
|
|
13410
|
+
textDecoration: this.merge("textDecoration"),
|
|
13411
|
+
textAlign: this.merge("textAlign")
|
|
12939
13412
|
};
|
|
12940
13413
|
node.style.color = styles.color;
|
|
12941
13414
|
node.style.textDecoration = styles.textDecoration;
|
|
@@ -12943,6 +13416,7 @@ class Style2 {
|
|
|
12943
13416
|
node.style.fontSize = styles.fontSize * fontSizeScale + "px";
|
|
12944
13417
|
node.style.fontWeight = styles.fontWeight || "normal";
|
|
12945
13418
|
node.style.fontStyle = styles.fontStyle;
|
|
13419
|
+
node.style.textAlign = styles.textAlign;
|
|
12946
13420
|
}
|
|
12947
13421
|
// 标签文字
|
|
12948
13422
|
tagText(node, style) {
|
|
@@ -13119,12 +13593,31 @@ class Shape2 {
|
|
|
13119
13593
|
paddingX: actHeight > actWidth ? actOffset / 2 : 0,
|
|
13120
13594
|
paddingY: actHeight < actWidth ? actOffset / 2 : 0
|
|
13121
13595
|
};
|
|
13122
|
-
default:
|
|
13123
|
-
return {
|
|
13124
|
-
paddingX: 0,
|
|
13125
|
-
paddingY: 0
|
|
13126
|
-
};
|
|
13127
13596
|
}
|
|
13597
|
+
const extendShape = this.getShapeFromExtendList(shape);
|
|
13598
|
+
if (extendShape) {
|
|
13599
|
+
return extendShape.getPadding({
|
|
13600
|
+
node: this.node,
|
|
13601
|
+
width: width2,
|
|
13602
|
+
height: height2,
|
|
13603
|
+
paddingX,
|
|
13604
|
+
paddingY
|
|
13605
|
+
}) || {
|
|
13606
|
+
paddingX: 0,
|
|
13607
|
+
paddingY: 0
|
|
13608
|
+
};
|
|
13609
|
+
} else {
|
|
13610
|
+
return {
|
|
13611
|
+
paddingX: 0,
|
|
13612
|
+
paddingY: 0
|
|
13613
|
+
};
|
|
13614
|
+
}
|
|
13615
|
+
}
|
|
13616
|
+
// 从形状扩展列表里获取指定名称的形状
|
|
13617
|
+
getShapeFromExtendList(shape) {
|
|
13618
|
+
return this.mindMap.extendShapeList.find((item) => {
|
|
13619
|
+
return item.name === shape;
|
|
13620
|
+
});
|
|
13128
13621
|
}
|
|
13129
13622
|
// 创建形状节点
|
|
13130
13623
|
createShape() {
|
|
@@ -13149,7 +13642,13 @@ class Shape2 {
|
|
|
13149
13642
|
} else if (shape === CONSTANTS.SHAPE.CIRCLE) {
|
|
13150
13643
|
node = this.createCircle();
|
|
13151
13644
|
}
|
|
13152
|
-
|
|
13645
|
+
if (!node) {
|
|
13646
|
+
const extendShape = this.getShapeFromExtendList(shape);
|
|
13647
|
+
if (extendShape) {
|
|
13648
|
+
node = extendShape.createShape(this.node);
|
|
13649
|
+
}
|
|
13650
|
+
}
|
|
13651
|
+
return node || this.createRect();
|
|
13153
13652
|
}
|
|
13154
13653
|
// 获取节点减去节点边框宽度、hover节点边框宽度后的尺寸
|
|
13155
13654
|
getNodeSize() {
|
|
@@ -13412,7 +13911,7 @@ function renderGeneralization(forceRender) {
|
|
|
13412
13911
|
});
|
|
13413
13912
|
}
|
|
13414
13913
|
function updateGeneralizationData() {
|
|
13415
|
-
const childrenLength = this.
|
|
13914
|
+
const childrenLength = this.getChildrenLength();
|
|
13416
13915
|
const list = this.formatGetGeneralization();
|
|
13417
13916
|
const newList = [];
|
|
13418
13917
|
list.forEach((item) => {
|
|
@@ -13508,44 +14007,47 @@ const nodeGeneralizationMethods = {
|
|
|
13508
14007
|
handleGeneralizationMouseenter,
|
|
13509
14008
|
handleGeneralizationMouseleave
|
|
13510
14009
|
};
|
|
13511
|
-
const open = `<svg
|
|
13512
|
-
const close = `<svg
|
|
13513
|
-
const remove = `<svg width="14px" height="14px" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
14010
|
+
const open = `<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M475.136 327.168v147.968h-147.968v74.24h147.968v147.968h74.24v-147.968h147.968v-74.24h-147.968v-147.968h-74.24z m36.864-222.208c225.28 0 407.04 181.76 407.04 407.04s-181.76 407.04-407.04 407.04-407.04-181.76-407.04-407.04 181.76-407.04 407.04-407.04z m0-74.24c-265.216 0-480.768 215.552-480.768 480.768s215.552 480.768 480.768 480.768 480.768-215.552 480.768-480.768-215.552-480.768-480.768-480.768z"></path></svg>`;
|
|
14011
|
+
const close = `<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M512 105.472c225.28 0 407.04 181.76 407.04 407.04s-181.76 407.04-407.04 407.04-407.04-181.76-407.04-407.04 181.76-407.04 407.04-407.04z m0-74.24c-265.216 0-480.768 215.552-480.768 480.768s215.552 480.768 480.768 480.768 480.768-215.552 480.768-480.768-215.552-480.768-480.768-480.768z"></path><path d="M252.928 474.624h518.144v74.24h-518.144z"></path></svg>`;
|
|
14012
|
+
const remove = `<svg width="14px" height="14px" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path fill="#ffffff" d="M512 105.472c225.28 0 407.04 181.76 407.04 407.04s-181.76 407.04-407.04 407.04-407.04-181.76-407.04-407.04 181.76-407.04 407.04-407.04z m0-74.24c-265.216 0-480.768 215.552-480.768 480.768s215.552 480.768 480.768 480.768 480.768-215.552 480.768-480.768-215.552-480.768-480.768-480.768z"></path><path fill="#ffffff" d="M252.928 474.624h518.144v74.24h-518.144z"></path></svg>`;
|
|
13514
14013
|
const imgAdjust = `<svg width="12px" height="12px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#ffffff" d="M1008.128 614.4a25.6 25.6 0 0 0-27.648 5.632l-142.848 142.848L259.072 186.88 401.92 43.52A25.6 25.6 0 0 0 384 0h-358.4a25.6 25.6 0 0 0-25.6 25.6v358.4a25.6 25.6 0 0 0 43.52 17.92l143.36-142.848 578.048 578.048-142.848 142.848a25.6 25.6 0 0 0 17.92 43.52h358.4a25.6 25.6 0 0 0 25.6-25.6v-358.4a25.6 25.6 0 0 0-15.872-25.088z" /></svg>`;
|
|
14014
|
+
const quickCreateChild = `<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="48" height="48"><path d="M514.048 62.464q93.184 0 175.616 35.328t143.872 96.768 96.768 143.872 35.328 175.616q0 94.208-35.328 176.128t-96.768 143.36-143.872 96.768-175.616 35.328q-94.208 0-176.64-35.328t-143.872-96.768-96.768-143.36-35.328-176.128q0-93.184 35.328-175.616t96.768-143.872 143.872-96.768 176.64-35.328zM772.096 576.512q26.624 0 45.056-18.944t18.432-45.568-18.432-45.056-45.056-18.432l-192.512 0 0-192.512q0-26.624-18.944-45.568t-45.568-18.944-45.056 18.944-18.432 45.568l0 192.512-192.512 0q-26.624 0-45.056 18.432t-18.432 45.056 18.432 45.568 45.056 18.944l192.512 0 0 191.488q0 26.624 18.432 45.568t45.056 18.944 45.568-18.944 18.944-45.568l0-191.488 192.512 0z"></path></svg>`;
|
|
13515
14015
|
const btnsSvg = {
|
|
13516
14016
|
open,
|
|
13517
14017
|
close,
|
|
13518
14018
|
remove,
|
|
13519
|
-
imgAdjust
|
|
14019
|
+
imgAdjust,
|
|
14020
|
+
quickCreateChild
|
|
13520
14021
|
};
|
|
13521
14022
|
function createExpandNodeContent() {
|
|
13522
14023
|
if (this._openExpandNode) {
|
|
13523
14024
|
return;
|
|
13524
14025
|
}
|
|
13525
|
-
|
|
13526
|
-
|
|
14026
|
+
const { expandBtnSize, expandBtnIcon, isShowExpandNum } = this.mindMap.opt;
|
|
14027
|
+
let { close: close2, open: open2 } = expandBtnIcon || {};
|
|
14028
|
+
if (isShowExpandNum) {
|
|
13527
14029
|
this._openExpandNode = new Text();
|
|
13528
14030
|
this._openExpandNode.addClass("smm-expand-btn-text");
|
|
13529
14031
|
this._openExpandNode.attr({
|
|
13530
14032
|
"text-anchor": "middle",
|
|
13531
14033
|
"dominant-baseline": "middle",
|
|
13532
|
-
x:
|
|
14034
|
+
x: expandBtnSize / 2,
|
|
13533
14035
|
y: 2
|
|
13534
14036
|
});
|
|
13535
14037
|
} else {
|
|
13536
14038
|
this._openExpandNode = SVG(open2 || btnsSvg.open).size(
|
|
13537
|
-
|
|
13538
|
-
|
|
14039
|
+
expandBtnSize,
|
|
14040
|
+
expandBtnSize
|
|
13539
14041
|
);
|
|
13540
|
-
this._openExpandNode.x(0).y(-
|
|
14042
|
+
this._openExpandNode.x(0).y(-expandBtnSize / 2);
|
|
13541
14043
|
}
|
|
13542
14044
|
this._closeExpandNode = SVG(close2 || btnsSvg.close).size(
|
|
13543
|
-
|
|
13544
|
-
|
|
14045
|
+
expandBtnSize,
|
|
14046
|
+
expandBtnSize
|
|
13545
14047
|
);
|
|
13546
|
-
this._closeExpandNode.x(0).y(-
|
|
13547
|
-
this._fillExpandNode = new Circle().size(
|
|
13548
|
-
this._fillExpandNode.x(0).y(-
|
|
14048
|
+
this._closeExpandNode.x(0).y(-expandBtnSize / 2);
|
|
14049
|
+
this._fillExpandNode = new Circle().size(expandBtnSize);
|
|
14050
|
+
this._fillExpandNode.x(0).y(-expandBtnSize / 2);
|
|
13549
14051
|
this.style.iconBtn(
|
|
13550
14052
|
this._openExpandNode,
|
|
13551
14053
|
this._closeExpandNode,
|
|
@@ -13580,7 +14082,7 @@ function updateExpandBtnNode() {
|
|
|
13580
14082
|
this._fillExpandNode.stroke({
|
|
13581
14083
|
color: expandBtnStyle.strokeColor
|
|
13582
14084
|
});
|
|
13583
|
-
let count = this.sumNode(this.nodeData.children);
|
|
14085
|
+
let count = this.sumNode(this.nodeData.children || []);
|
|
13584
14086
|
if (typeof expandBtnNumHandler === "function") {
|
|
13585
14087
|
const res = expandBtnNumHandler(count, this);
|
|
13586
14088
|
if (!isUndef(res)) {
|
|
@@ -13602,7 +14104,7 @@ function updateExpandBtnPos() {
|
|
|
13602
14104
|
this.renderer.layout.renderExpandBtn(this, this._expandBtn);
|
|
13603
14105
|
}
|
|
13604
14106
|
function renderExpandBtn() {
|
|
13605
|
-
if (
|
|
14107
|
+
if (this.getChildrenLength() <= 0 || this.isRoot) {
|
|
13606
14108
|
return;
|
|
13607
14109
|
}
|
|
13608
14110
|
if (this._expandBtn) {
|
|
@@ -13715,9 +14217,9 @@ const nodeCommandWrapsMethods = {
|
|
|
13715
14217
|
setStyle,
|
|
13716
14218
|
setStyles
|
|
13717
14219
|
};
|
|
13718
|
-
const hyperlink = '<svg
|
|
13719
|
-
const note = '<svg
|
|
13720
|
-
const attachment = '<svg
|
|
14220
|
+
const hyperlink = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M435.484444 251.733333v68.892445L295.822222 320.682667a168.504889 168.504889 0 0 0-2.844444 336.952889h142.506666v68.892444H295.822222a237.397333 237.397333 0 0 1 0-474.794667h139.662222z m248.945778 0a237.397333 237.397333 0 0 1 0 474.851556H544.654222v-69.006222l139.776 0.056889a168.504889 168.504889 0 0 0 2.844445-336.952889H544.597333V251.676444h139.776z m-25.827555 203.946667a34.474667 34.474667 0 0 1 0 68.892444H321.649778a34.474667 34.474667 0 0 1 0-68.892444h336.952889z" ></path></svg>';
|
|
14221
|
+
const note = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M152.768 985.984 152.768 49.856l434.56 0 66.816 0 234.048 267.392 0 66.816 0 601.92L152.768 985.984 152.768 985.984zM654.144 193.088l0 124.16 108.736 0L654.144 193.088 654.144 193.088zM821.312 384.064l-167.168 0L587.328 384.064 587.328 317.312 587.328 116.736 219.584 116.736 219.584 919.04l601.728 0L821.312 384.064 821.312 384.064zM386.688 517.888 319.808 517.888 319.808 450.944l66.816 0L386.624 517.888 386.688 517.888zM386.688 651.584 319.808 651.584 319.808 584.704l66.816 0L386.624 651.584 386.688 651.584zM386.688 785.344 319.808 785.344l0-66.88 66.816 0L386.624 785.344 386.688 785.344zM721.024 517.888 453.632 517.888 453.632 450.944l267.392 0L721.024 517.888 721.024 517.888zM654.144 651.584 453.632 651.584 453.632 584.704l200.512 0L654.144 651.584 654.144 651.584zM620.672 785.344l-167.04 0 0-66.88 167.04 0L620.672 785.344 620.672 785.344z" ></path></svg>';
|
|
14222
|
+
const attachment = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" width="128" height="128"><path d="M516.373333 375.978667l136.576-136.576a147.797333 147.797333 0 0 1 208.853334-0.021334 147.690667 147.690667 0 0 1-0.042667 208.832l-204.8 204.778667v0.021333l-153.621333 153.6c-85.973333 85.973333-225.28 85.973333-311.253334 0.021334-85.994667-85.973333-85.973333-225.216 0.149334-311.36L431.146667 256.362667a21.333333 21.333333 0 0 0-30.165334-30.165334L162.069333 465.066667c-102.805333 102.826667-102.826667 269.056-0.149333 371.733333 102.613333 102.613333 268.970667 102.613333 371.584 0l153.6-153.642667h0.021333l0.021334-0.021333 204.778666-204.778667c74.325333-74.325333 74.346667-194.858667 0.021334-269.184-74.24-74.24-194.88-74.24-269.162667 0.042667l-136.576 136.554667-187.626667 187.626666a117.845333 117.845333 0 0 0-0.106666 166.826667 118.037333 118.037333 0 0 0 166.826666-0.106667l255.850667-255.829333a21.333333 21.333333 0 0 0-30.165333-30.165333L435.136 669.973333a75.370667 75.370667 0 0 1-106.496 0.106667 75.178667 75.178667 0 0 1 0.128-106.496l187.605333-187.605333z" ></path></svg>';
|
|
13721
14223
|
const nodeIconList = [
|
|
13722
14224
|
{
|
|
13723
14225
|
name: "优先级图标",
|
|
@@ -13725,43 +14227,43 @@ const nodeIconList = [
|
|
|
13725
14227
|
list: [
|
|
13726
14228
|
{
|
|
13727
14229
|
name: "1",
|
|
13728
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 511.957333 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 511.957333 1024 794.794667 794.752 1024 512.042667 1024z" fill="#E93B30"></path><path d="M580.309333 256h-75.52c-10.666667 29.824-30.165333 55.765333-58.709333 78.165333-28.416 22.314667-54.869333 37.418667-79.146667 45.397334v84.608a320 320 0 0 0 120.234667-70.698667v352.085333H580.266667V256z" fill="#FFFFFF"></path></svg>`
|
|
14230
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 511.957333 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 511.957333 1024 794.794667 794.752 1024 512.042667 1024z" fill="#E93B30"></path><path d="M580.309333 256h-75.52c-10.666667 29.824-30.165333 55.765333-58.709333 78.165333-28.416 22.314667-54.869333 37.418667-79.146667 45.397334v84.608a320 320 0 0 0 120.234667-70.698667v352.085333H580.266667V256z" fill="#FFFFFF"></path></svg>`
|
|
13729
14231
|
},
|
|
13730
14232
|
{
|
|
13731
14233
|
name: "2",
|
|
13732
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M511.957333 1024C229.248 1024 0 794.752 0 512S229.248 0 511.957333 0C794.752 0 1024 229.248 1024 512s-229.248 512-512.042667 512z" fill="#FA8D2E"></path><path d="M667.946667 658.602667h-185.301334c4.864-8.533333 11.178667-17.066667 19.072-25.984 7.808-8.874667 26.453333-26.837333 55.936-53.888 29.525333-27.008 49.877333-47.786667 61.226667-62.165334 16.981333-21.717333 29.44-42.453333 37.290667-62.293333 7.808-19.84 11.776-40.746667 11.776-62.677333 0-38.570667-13.738667-70.741333-41.088-96.725334C599.466667 268.928 561.706667 256 513.834667 256c-43.690667 0-80.128 11.136-109.354667 33.578667-29.098667 22.4-46.506667 59.306667-52.010667 110.805333l93.184 9.301333c1.792-27.349333 8.405333-46.890667 19.754667-58.624 11.434667-11.776 26.837333-17.664 46.165333-17.664 19.541333 0 34.858667 5.589333 45.909334 16.768 11.136 11.264 16.682667 27.221333 16.682666 48.042667 0 18.858667-6.4 37.930667-19.242666 57.258667-9.472 14.037333-35.157333 40.533333-77.098667 79.872-52.096 48.554667-87.04 87.509333-104.704 116.821333A226.688 226.688 0 0 0 341.333333 745.429333h326.613334v-86.826666z" fill="#FFFFFF"></path></svg>`
|
|
14234
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M511.957333 1024C229.248 1024 0 794.752 0 512S229.248 0 511.957333 0C794.752 0 1024 229.248 1024 512s-229.248 512-512.042667 512z" fill="#FA8D2E"></path><path d="M667.946667 658.602667h-185.301334c4.864-8.533333 11.178667-17.066667 19.072-25.984 7.808-8.874667 26.453333-26.837333 55.936-53.888 29.525333-27.008 49.877333-47.786667 61.226667-62.165334 16.981333-21.717333 29.44-42.453333 37.290667-62.293333 7.808-19.84 11.776-40.746667 11.776-62.677333 0-38.570667-13.738667-70.741333-41.088-96.725334C599.466667 268.928 561.706667 256 513.834667 256c-43.690667 0-80.128 11.136-109.354667 33.578667-29.098667 22.4-46.506667 59.306667-52.010667 110.805333l93.184 9.301333c1.792-27.349333 8.405333-46.890667 19.754667-58.624 11.434667-11.776 26.837333-17.664 46.165333-17.664 19.541333 0 34.858667 5.589333 45.909334 16.768 11.136 11.264 16.682667 27.221333 16.682666 48.042667 0 18.858667-6.4 37.930667-19.242666 57.258667-9.472 14.037333-35.157333 40.533333-77.098667 79.872-52.096 48.554667-87.04 87.509333-104.704 116.821333A226.688 226.688 0 0 0 341.333333 745.429333h326.613334v-86.826666z" fill="#FFFFFF"></path></svg>`
|
|
13733
14235
|
},
|
|
13734
14236
|
{
|
|
13735
14237
|
name: "3",
|
|
13736
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#2E66FA"></path><path d="M627.754667 731.733333c-29.354667 25.088-66.901333 37.632-112.725334 37.632-44.928 0-81.792-11.52-110.592-34.773333-33.066667-26.538667-49.877333-64.469333-50.304-114.133333h92.16c0.426667 21.76 7.552 38.314667 21.333334 49.664 12.288 10.88 28.117333 16.341333 47.402666 16.341333 20.309333 0 36.778667-6.101333 49.322667-18.432 12.544-12.330667 18.773333-29.568 18.773333-51.797333 0-21.290667-6.229333-38.186667-18.773333-50.773334-12.544-12.501333-29.866667-18.773333-52.138667-18.773333h-13.525333v-80.042667H512c42.112 0 63.274667-21.034667 63.274667-63.146666 0-20.309333-5.888-36.096-17.706667-47.445334a60.757333 60.757333 0 0 0-43.818667-17.066666c-17.493333 0-32 5.504-43.434666 16.298666-11.562667 10.88-17.792 25.728-18.773334 44.714667H359.68c0.981333-43.946667 16.042667-78.976 45.397333-104.96 29.354667-25.941333 65.706667-39.04 109.226667-39.04 44.928 0 81.792 13.525333 110.592 40.490667 28.8 26.922667 43.306667 61.610667 43.306667 104.149333 0 48.213333-19.413333 82.688-58.154667 103.552 43.52 23.125333 65.28 61.44 65.28 114.858667 0 48.128-15.957333 85.76-47.573333 112.682666z" fill="#FFFFFF"></path></svg>`
|
|
14238
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#2E66FA"></path><path d="M627.754667 731.733333c-29.354667 25.088-66.901333 37.632-112.725334 37.632-44.928 0-81.792-11.52-110.592-34.773333-33.066667-26.538667-49.877333-64.469333-50.304-114.133333h92.16c0.426667 21.76 7.552 38.314667 21.333334 49.664 12.288 10.88 28.117333 16.341333 47.402666 16.341333 20.309333 0 36.778667-6.101333 49.322667-18.432 12.544-12.330667 18.773333-29.568 18.773333-51.797333 0-21.290667-6.229333-38.186667-18.773333-50.773334-12.544-12.501333-29.866667-18.773333-52.138667-18.773333h-13.525333v-80.042667H512c42.112 0 63.274667-21.034667 63.274667-63.146666 0-20.309333-5.888-36.096-17.706667-47.445334a60.757333 60.757333 0 0 0-43.818667-17.066666c-17.493333 0-32 5.504-43.434666 16.298666-11.562667 10.88-17.792 25.728-18.773334 44.714667H359.68c0.981333-43.946667 16.042667-78.976 45.397333-104.96 29.354667-25.941333 65.706667-39.04 109.226667-39.04 44.928 0 81.792 13.525333 110.592 40.490667 28.8 26.922667 43.306667 61.610667 43.306667 104.149333 0 48.213333-19.413333 82.688-58.154667 103.552 43.52 23.125333 65.28 61.44 65.28 114.858667 0 48.128-15.957333 85.76-47.573333 112.682666z" fill="#FFFFFF"></path></svg>`
|
|
13737
14239
|
},
|
|
13738
14240
|
{
|
|
13739
14241
|
name: "4",
|
|
13740
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 512.042667 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 512.042667 1024 794.794667 794.752 1024 512.042667 1024z" fill="#6D768D"></path><path d="M600.96 256v309.802667h60.117333v81.536h-60.16v98.218666h-90.154666v-98.218666H311.466667v-81.237334L522.666667 256h78.293333zM510.72 399.104l-112.042667 166.698667h112.042667V399.104z" fill="#FFFFFF"></path></svg>`
|
|
14242
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 512.042667 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 512.042667 1024 794.794667 794.752 1024 512.042667 1024z" fill="#6D768D"></path><path d="M600.96 256v309.802667h60.117333v81.536h-60.16v98.218666h-90.154666v-98.218666H311.466667v-81.237334L522.666667 256h78.293333zM510.72 399.104l-112.042667 166.698667h112.042667V399.104z" fill="#FFFFFF"></path></svg>`
|
|
13741
14243
|
},
|
|
13742
14244
|
{
|
|
13743
14245
|
name: "5",
|
|
13744
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 512.042667 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 512.042667 1024 794.794667 794.752 1024 512.042667 1024z" fill="#6D768D"></path><path d="M470.912 343.552h175.786667V256H400.256l-47.786667 253.952 75.434667 10.837333c21.205333-23.552 45.269333-35.413333 72.021333-35.413333 21.546667 0 38.997333 7.509333 52.437334 22.4 13.312 15.018667 20.053333 37.418667 20.053333 67.328 0 31.872-6.741333 55.765333-20.181333 71.552-13.397333 15.872-29.866667 23.765333-49.237334 23.765333-17.066667 0-32.085333-6.186667-45.013333-18.432-13.013333-12.373333-20.821333-29.013333-23.466667-50.133333L341.333333 611.498667c5.546667 40.874667 22.485333 73.429333 50.730667 97.621333 28.330667 24.32 64.938667 36.437333 109.866667 36.437333 56.149333 0 100.053333-21.546667 131.754666-64.554666a176.64 176.64 0 0 0 34.816-107.52c0-48.042667-14.378667-87.210667-43.221333-117.333334-28.8-30.208-63.957333-45.312-105.514667-45.312-21.674667 0-42.922667 5.248-63.829333 15.616l14.976-82.901333z" fill="#FFFFFF"></path></svg>`
|
|
14246
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 512.042667 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 512.042667 1024 794.794667 794.752 1024 512.042667 1024z" fill="#6D768D"></path><path d="M470.912 343.552h175.786667V256H400.256l-47.786667 253.952 75.434667 10.837333c21.205333-23.552 45.269333-35.413333 72.021333-35.413333 21.546667 0 38.997333 7.509333 52.437334 22.4 13.312 15.018667 20.053333 37.418667 20.053333 67.328 0 31.872-6.741333 55.765333-20.181333 71.552-13.397333 15.872-29.866667 23.765333-49.237334 23.765333-17.066667 0-32.085333-6.186667-45.013333-18.432-13.013333-12.373333-20.821333-29.013333-23.466667-50.133333L341.333333 611.498667c5.546667 40.874667 22.485333 73.429333 50.730667 97.621333 28.330667 24.32 64.938667 36.437333 109.866667 36.437333 56.149333 0 100.053333-21.546667 131.754666-64.554666a176.64 176.64 0 0 0 34.816-107.52c0-48.042667-14.378667-87.210667-43.221333-117.333334-28.8-30.208-63.957333-45.312-105.514667-45.312-21.674667 0-42.922667 5.248-63.829333 15.616l14.976-82.901333z" fill="#FFFFFF"></path></svg>`
|
|
13745
14247
|
},
|
|
13746
14248
|
{
|
|
13747
14249
|
name: "6",
|
|
13748
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.794667 0 512.042667 0 229.205333 229.248 0 512 0c282.88 0 512 229.205333 512 512.042667C1024 794.794667 794.88 1024 512 1024z" fill="#6D768D"></path><path d="M519.210667 256c36.992 0 67.626667 10.368 91.776 31.189333 24.192 20.821333 39.68 51.029333 46.293333 90.709334l-90.197333 9.984c-2.176-18.56-7.978667-32.298667-17.28-41.173334-9.258667-8.874667-21.418667-13.226667-36.224-13.226666-19.754667 0-36.437333 8.789333-50.048 26.453333-13.696 17.664-22.314667 54.613333-25.856 110.549333 23.296-27.52 52.138667-41.258667 86.656-41.258666 38.997333 0 72.362667 14.805333 100.181333 44.544 27.733333 29.696 41.685333 68.010667 41.685333 114.858666 0 49.877333-14.634667 89.856-43.818666 119.936-29.226667 30.208-66.730667 45.226667-112.554667 45.226667-49.066667 0-89.429333-19.072-121.130667-57.344C357.12 658.218667 341.333333 595.541333 341.333333 508.416c0-89.344 16.469333-153.813333 49.493334-193.194667C423.722667 275.754667 466.56 256 519.168 256z m-9.472 241.834667c-17.962667 0-33.066667 6.997333-45.525334 21.12-12.330667 14.037333-18.56 34.858667-18.56 62.293333 0 30.421333 6.912 53.76 20.906667 70.4 13.952 16.469333 29.866667 24.746667 47.786667 24.746667 17.28 0 31.701333-6.826667 43.178666-20.309334 11.52-13.525333 17.237333-35.669333 17.237334-66.56 0-31.658667-6.186667-54.869333-18.517334-69.546666a58.197333 58.197333 0 0 0-46.506666-22.144z" fill="#FFFFFF"></path></svg>`
|
|
14250
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.794667 0 512.042667 0 229.205333 229.248 0 512 0c282.88 0 512 229.205333 512 512.042667C1024 794.794667 794.88 1024 512 1024z" fill="#6D768D"></path><path d="M519.210667 256c36.992 0 67.626667 10.368 91.776 31.189333 24.192 20.821333 39.68 51.029333 46.293333 90.709334l-90.197333 9.984c-2.176-18.56-7.978667-32.298667-17.28-41.173334-9.258667-8.874667-21.418667-13.226667-36.224-13.226666-19.754667 0-36.437333 8.789333-50.048 26.453333-13.696 17.664-22.314667 54.613333-25.856 110.549333 23.296-27.52 52.138667-41.258667 86.656-41.258666 38.997333 0 72.362667 14.805333 100.181333 44.544 27.733333 29.696 41.685333 68.010667 41.685333 114.858666 0 49.877333-14.634667 89.856-43.818666 119.936-29.226667 30.208-66.730667 45.226667-112.554667 45.226667-49.066667 0-89.429333-19.072-121.130667-57.344C357.12 658.218667 341.333333 595.541333 341.333333 508.416c0-89.344 16.469333-153.813333 49.493334-193.194667C423.722667 275.754667 466.56 256 519.168 256z m-9.472 241.834667c-17.962667 0-33.066667 6.997333-45.525334 21.12-12.330667 14.037333-18.56 34.858667-18.56 62.293333 0 30.421333 6.912 53.76 20.906667 70.4 13.952 16.469333 29.866667 24.746667 47.786667 24.746667 17.28 0 31.701333-6.826667 43.178666-20.309334 11.52-13.525333 17.237333-35.669333 17.237334-66.56 0-31.658667-6.186667-54.869333-18.517334-69.546666a58.197333 58.197333 0 0 0-46.506666-22.144z" fill="#FFFFFF"></path></svg>`
|
|
13749
14251
|
},
|
|
13750
14252
|
{
|
|
13751
14253
|
name: "7",
|
|
13752
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.752 0 512S229.248 0 512.042667 0C794.752 0 1024 229.248 1024 512s-229.248 512-511.957333 512z" fill="#6D768D"></path><path d="M673.024 273.066667H354.133333v86.869333h212.224a691.2 691.2 0 0 0-104.746666 187.989333c-26.026667 70.101333-39.978667 138.88-41.429334 206.293334h89.6c-0.298667-42.922667 6.698667-91.776 21.034667-146.474667a654.72 654.72 0 0 1 62.08-154.965333c27.136-48.554667 53.888-85.76 80.128-111.701334V273.066667z" fill="#FFFFFF"></path></svg>`
|
|
14254
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.752 0 512S229.248 0 512.042667 0C794.752 0 1024 229.248 1024 512s-229.248 512-511.957333 512z" fill="#6D768D"></path><path d="M673.024 273.066667H354.133333v86.869333h212.224a691.2 691.2 0 0 0-104.746666 187.989333c-26.026667 70.101333-39.978667 138.88-41.429334 206.293334h89.6c-0.298667-42.922667 6.698667-91.776 21.034667-146.474667a654.72 654.72 0 0 1 62.08-154.965333c27.136-48.554667 53.888-85.76 80.128-111.701334V273.066667z" fill="#FFFFFF"></path></svg>`
|
|
13753
14255
|
},
|
|
13754
14256
|
{
|
|
13755
14257
|
name: "8",
|
|
13756
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z" fill="#6D768D"></path><path d="M512.426667 256c46.208 0 82.048 11.861333 107.605333 35.541333 25.6 23.68 38.314667 53.674667 38.314667 89.898667 0 22.613333-5.802667 42.666667-17.578667 60.330667a111.445333 111.445333 0 0 1-49.450667 40.277333c26.965333 10.837333 47.36 26.752 61.312 47.658667 13.994667 20.906667 21.034667 45.013333 21.034667 72.362666 0 45.098667-14.336 81.834667-42.965333 109.952-28.586667 28.245333-66.602667 42.368-114.090667 42.368-44.245333 0-81.066667-11.648-110.464-34.986666-34.645333-27.52-52.010667-65.28-52.010667-113.365334 0-26.368 6.528-50.645333 19.626667-72.746666 13.056-22.144 33.578667-39.210667 61.696-51.242667-24.064-10.154667-41.557333-24.192-52.48-41.941333a109.824 109.824 0 0 1-16.512-58.666667c0-36.224 12.757333-66.218667 37.973333-89.898667 25.386667-23.68 61.354667-35.541333 108.032-35.541333z m1.28 265.429333c-22.784 0-39.722667 7.978667-50.901334 23.893334-11.136 15.786667-16.64 33.066667-16.64 51.498666 0 25.984 6.485333 46.208 19.712 60.714667 13.098667 14.506667 29.525333 21.802667 49.152 21.802667 19.242667 0 35.157333-6.997333 47.786667-20.992 12.629333-13.909333 18.858667-34.048 18.858667-60.416 0-23.082667-6.314667-41.557333-19.2-55.466667a63.274667 63.274667 0 0 0-48.725334-21.034667z m-0.341334-191.488c-17.792 0-32 5.333333-42.581333 16-10.538667 10.666667-15.872 24.746667-15.872 42.325334 0 18.645333 5.248 33.152 15.701333 43.648 10.453333 10.453333 24.362667 15.658667 41.770667 15.658666 17.664 0 31.658667-5.290667 42.24-15.872 10.538667-10.581333 15.872-25.173333 15.872-43.818666 0-17.493333-5.248-31.573333-15.701333-42.154667s-24.277333-15.786667-41.429334-15.786667z" fill="#FFFFFF"></path></svg>`
|
|
14258
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z" fill="#6D768D"></path><path d="M512.426667 256c46.208 0 82.048 11.861333 107.605333 35.541333 25.6 23.68 38.314667 53.674667 38.314667 89.898667 0 22.613333-5.802667 42.666667-17.578667 60.330667a111.445333 111.445333 0 0 1-49.450667 40.277333c26.965333 10.837333 47.36 26.752 61.312 47.658667 13.994667 20.906667 21.034667 45.013333 21.034667 72.362666 0 45.098667-14.336 81.834667-42.965333 109.952-28.586667 28.245333-66.602667 42.368-114.090667 42.368-44.245333 0-81.066667-11.648-110.464-34.986666-34.645333-27.52-52.010667-65.28-52.010667-113.365334 0-26.368 6.528-50.645333 19.626667-72.746666 13.056-22.144 33.578667-39.210667 61.696-51.242667-24.064-10.154667-41.557333-24.192-52.48-41.941333a109.824 109.824 0 0 1-16.512-58.666667c0-36.224 12.757333-66.218667 37.973333-89.898667 25.386667-23.68 61.354667-35.541333 108.032-35.541333z m1.28 265.429333c-22.784 0-39.722667 7.978667-50.901334 23.893334-11.136 15.786667-16.64 33.066667-16.64 51.498666 0 25.984 6.485333 46.208 19.712 60.714667 13.098667 14.506667 29.525333 21.802667 49.152 21.802667 19.242667 0 35.157333-6.997333 47.786667-20.992 12.629333-13.909333 18.858667-34.048 18.858667-60.416 0-23.082667-6.314667-41.557333-19.2-55.466667a63.274667 63.274667 0 0 0-48.725334-21.034667z m-0.341334-191.488c-17.792 0-32 5.333333-42.581333 16-10.538667 10.666667-15.872 24.746667-15.872 42.325334 0 18.645333 5.248 33.152 15.701333 43.648 10.453333 10.453333 24.362667 15.658667 41.770667 15.658666 17.664 0 31.658667-5.290667 42.24-15.872 10.538667-10.581333 15.872-25.173333 15.872-43.818666 0-17.493333-5.248-31.573333-15.701333-42.154667s-24.277333-15.786667-41.429334-15.786667z" fill="#FFFFFF"></path></svg>`
|
|
13757
14259
|
},
|
|
13758
14260
|
{
|
|
13759
14261
|
name: "9",
|
|
13760
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.794667 0 512.042667 0 229.333333 229.248 0 512 0c282.88 0 512 229.333333 512 512.042667C1024 794.794667 794.88 1024 512 1024z" fill="#6D768D"></path><path d="M497.28 256c49.365333 0 89.856 19.157333 121.429333 57.429333 31.701333 38.229333 47.488 101.205333 47.488 188.842667 0 89.173333-16.384 153.386667-49.365333 192.853333-32.853333 39.594667-75.605333 59.264-128.426667 59.264-37.888 0-68.608-10.154667-91.989333-30.506666s-38.4-50.816-45.013333-91.306667l90.112-9.984c2.261333 18.474667 8.021333 32.085333 17.28 41.088 9.173333 8.874667 21.418667 13.312 36.608 13.312 19.2 0 35.541333-8.874667 48.981333-26.752 13.44-17.749333 22.016-54.613333 25.770667-110.549333-23.466667 27.264-52.821333 40.874667-88.064 40.874666-38.314667 0-71.253333-14.72-99.114667-44.330666C355.242667 506.709333 341.333333 468.224 341.333333 420.864c0-49.493333 14.592-89.258667 43.946667-119.466667C414.549333 271.104 451.925333 256 497.237333 256z m-4.352 77.482667c-17.237333 0-31.658667 6.826667-43.008 20.437333-11.477333 13.653333-17.194667 35.84-17.194667 66.816 0 31.402667 6.229333 54.485333 18.645334 69.205333 12.458667 14.72 27.946667 22.101333 46.592 22.101334 18.005333 0 33.066667-7.082667 45.44-21.205334 12.330667-14.208 18.432-35.029333 18.432-62.506666 0-29.994667-6.912-53.376-20.821334-69.973334-13.824-16.597333-29.866667-24.874667-48.085333-24.874666z" fill="#FFFFFF"></path></svg>`
|
|
14262
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.794667 0 512.042667 0 229.333333 229.248 0 512 0c282.88 0 512 229.333333 512 512.042667C1024 794.794667 794.88 1024 512 1024z" fill="#6D768D"></path><path d="M497.28 256c49.365333 0 89.856 19.157333 121.429333 57.429333 31.701333 38.229333 47.488 101.205333 47.488 188.842667 0 89.173333-16.384 153.386667-49.365333 192.853333-32.853333 39.594667-75.605333 59.264-128.426667 59.264-37.888 0-68.608-10.154667-91.989333-30.506666s-38.4-50.816-45.013333-91.306667l90.112-9.984c2.261333 18.474667 8.021333 32.085333 17.28 41.088 9.173333 8.874667 21.418667 13.312 36.608 13.312 19.2 0 35.541333-8.874667 48.981333-26.752 13.44-17.749333 22.016-54.613333 25.770667-110.549333-23.466667 27.264-52.821333 40.874667-88.064 40.874666-38.314667 0-71.253333-14.72-99.114667-44.330666C355.242667 506.709333 341.333333 468.224 341.333333 420.864c0-49.493333 14.592-89.258667 43.946667-119.466667C414.549333 271.104 451.925333 256 497.237333 256z m-4.352 77.482667c-17.237333 0-31.658667 6.826667-43.008 20.437333-11.477333 13.653333-17.194667 35.84-17.194667 66.816 0 31.402667 6.229333 54.485333 18.645334 69.205333 12.458667 14.72 27.946667 22.101333 46.592 22.101334 18.005333 0 33.066667-7.082667 45.44-21.205334 12.330667-14.208 18.432-35.029333 18.432-62.506666 0-29.994667-6.912-53.376-20.821334-69.973334-13.824-16.597333-29.866667-24.874667-48.085333-24.874666z" fill="#FFFFFF"></path></svg>`
|
|
13761
14263
|
},
|
|
13762
14264
|
{
|
|
13763
14265
|
name: "10",
|
|
13764
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 511.957333 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 511.957333 1024 794.794667 794.752 1024 512.042667 1024z" fill="#6D768D"></path><path d="M619.946667 273.066667c46.976 0 83.754667 16.042667 110.250666 48.042666 31.573333 37.973333 47.36 100.864 47.36 188.672 0 87.722667-15.829333 150.698667-47.658666 189.056-26.325333 31.616-62.976 47.36-109.952 47.36-47.274667 0-85.418667-17.237333-114.346667-51.968-28.885333-34.602667-43.392-96.426667-43.392-185.386666 0-87.168 15.872-150.016 47.701333-188.416 26.282667-31.488 62.933333-47.36 110.037334-47.36z m-207.488 12.8v452.266666H325.504V411.690667A299.904 299.904 0 0 1 213.333333 476.373333V398.933333c22.656-7.296 47.36-21.12 73.856-41.514666 26.624-20.522667 44.842667-44.288 54.784-71.552h70.485334z m207.488 60.842666c-11.306667 0-21.461333 3.413333-30.336 10.24-8.874667 6.826667-15.786667 19.157333-20.693334 36.864-6.4 22.997333-9.642667 61.653333-9.642666 115.968 0 54.442667 2.944 91.733333 8.661333 112.128 5.802667 20.352 13.098667 33.877333 21.845333 40.618667 8.789333 6.741333 18.858667 10.154667 30.165334 10.154667 11.349333 0 21.376-3.498667 30.250666-10.325334 8.874667-6.826667 15.786667-19.157333 20.693334-36.778666 6.4-22.826667 9.642667-61.354667 9.642666-115.797334 0-54.314667-2.858667-91.648-8.661333-112.042666-5.802667-20.352-13.013333-33.962667-21.76-40.789334a47.616 47.616 0 0 0-30.165333-10.24z" fill="#FFFFFF"></path></svg>`
|
|
14266
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 511.957333 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 511.957333 1024 794.794667 794.752 1024 512.042667 1024z" fill="#6D768D"></path><path d="M619.946667 273.066667c46.976 0 83.754667 16.042667 110.250666 48.042666 31.573333 37.973333 47.36 100.864 47.36 188.672 0 87.722667-15.829333 150.698667-47.658666 189.056-26.325333 31.616-62.976 47.36-109.952 47.36-47.274667 0-85.418667-17.237333-114.346667-51.968-28.885333-34.602667-43.392-96.426667-43.392-185.386666 0-87.168 15.872-150.016 47.701333-188.416 26.282667-31.488 62.933333-47.36 110.037334-47.36z m-207.488 12.8v452.266666H325.504V411.690667A299.904 299.904 0 0 1 213.333333 476.373333V398.933333c22.656-7.296 47.36-21.12 73.856-41.514666 26.624-20.522667 44.842667-44.288 54.784-71.552h70.485334z m207.488 60.842666c-11.306667 0-21.461333 3.413333-30.336 10.24-8.874667 6.826667-15.786667 19.157333-20.693334 36.864-6.4 22.997333-9.642667 61.653333-9.642666 115.968 0 54.442667 2.944 91.733333 8.661333 112.128 5.802667 20.352 13.098667 33.877333 21.845333 40.618667 8.789333 6.741333 18.858667 10.154667 30.165334 10.154667 11.349333 0 21.376-3.498667 30.250666-10.325334 8.874667-6.826667 15.786667-19.157333 20.693334-36.778666 6.4-22.826667 9.642667-61.354667 9.642666-115.797334 0-54.314667-2.858667-91.648-8.661333-112.042666-5.802667-20.352-13.013333-33.962667-21.76-40.789334a47.616 47.616 0 0 0-30.165333-10.24z" fill="#FFFFFF"></path></svg>`
|
|
13765
14267
|
}
|
|
13766
14268
|
]
|
|
13767
14269
|
},
|
|
@@ -13771,35 +14273,35 @@ const nodeIconList = [
|
|
|
13771
14273
|
list: [
|
|
13772
14274
|
{
|
|
13773
14275
|
name: "1",
|
|
13774
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96V512l294.144-294.144A414.72 414.72 0 0 1 928 512c0 229.76-186.24 416-416 416z" fill="#FFFFFF"></path></svg>`
|
|
14276
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96V512l294.144-294.144A414.72 414.72 0 0 1 928 512c0 229.76-186.24 416-416 416z" fill="#FFFFFF"></path></svg>`
|
|
13775
14277
|
},
|
|
13776
14278
|
{
|
|
13777
14279
|
name: "2",
|
|
13778
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96V512h416c0 229.76-186.24 416-416 416z" fill="#FFFFFF"></path></svg>`
|
|
14280
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96V512h416c0 229.76-186.24 416-416 416z" fill="#FFFFFF"></path></svg>`
|
|
13779
14281
|
},
|
|
13780
14282
|
{
|
|
13781
14283
|
name: "3",
|
|
13782
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96V512l294.144 294.144A414.72 414.72 0 0 1 512 928z" fill="#FFFFFF"></path></svg>`
|
|
14284
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96V512l294.144 294.144A414.72 414.72 0 0 1 512 928z" fill="#FFFFFF"></path></svg>`
|
|
13783
14285
|
},
|
|
13784
14286
|
{
|
|
13785
14287
|
name: "4",
|
|
13786
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96v832z" fill="#FFFFFF"></path></svg>`
|
|
14288
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96v832z" fill="#FFFFFF"></path></svg>`
|
|
13787
14289
|
},
|
|
13788
14290
|
{
|
|
13789
14291
|
name: "5",
|
|
13790
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 512l-294.144 294.144A414.72 414.72 0 0 1 96 512c0-229.76 186.24-416 416-416V512z" fill="#FFFFFF"></path></svg>`
|
|
14292
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 512l-294.144 294.144A414.72 414.72 0 0 1 96 512c0-229.76 186.24-416 416-416V512z" fill="#FFFFFF"></path></svg>`
|
|
13791
14293
|
},
|
|
13792
14294
|
{
|
|
13793
14295
|
name: "6",
|
|
13794
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 512H96c0-229.76 186.24-416 416-416V512z" fill="#FFFFFF"></path></svg>`
|
|
14296
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 512H96c0-229.76 186.24-416 416-416V512z" fill="#FFFFFF"></path></svg>`
|
|
13795
14297
|
},
|
|
13796
14298
|
{
|
|
13797
14299
|
name: "7",
|
|
13798
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 512L217.856 217.856A414.72 414.72 0 0 1 512 96V512z" fill="#FFFFFF"></path></svg>`
|
|
14300
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 512L217.856 217.856A414.72 414.72 0 0 1 512 96V512z" fill="#FFFFFF"></path></svg>`
|
|
13799
14301
|
},
|
|
13800
14302
|
{
|
|
13801
14303
|
name: "8",
|
|
13802
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M0 512c0 282.752 229.248 512 512 512s512-229.248 512-512S794.752 0 512 0 0 229.248 0 512z" fill="#12BB37"></path><path d="M716.629333 341.333333h-51.328a35.072 35.072 0 0 0-28.330666 14.293334l-171.989334 233.984-77.909333-106.026667a35.2 35.2 0 0 0-28.330667-14.293333H307.413333c-7.082667 0-11.264 7.936-7.082666 13.653333l136.32 185.472a35.2 35.2 0 0 0 56.533333 0l230.4-313.429333a8.533333 8.533333 0 0 0-6.954667-13.653334z" fill="#FFFFFF"></path></svg>`
|
|
14304
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M0 512c0 282.752 229.248 512 512 512s512-229.248 512-512S794.752 0 512 0 0 229.248 0 512z" fill="#12BB37"></path><path d="M716.629333 341.333333h-51.328a35.072 35.072 0 0 0-28.330666 14.293334l-171.989334 233.984-77.909333-106.026667a35.2 35.2 0 0 0-28.330667-14.293333H307.413333c-7.082667 0-11.264 7.936-7.082666 13.653333l136.32 185.472a35.2 35.2 0 0 0 56.533333 0l230.4-313.429333a8.533333 8.533333 0 0 0-6.954667-13.653334z" fill="#FFFFFF"></path></svg>`
|
|
13803
14305
|
}
|
|
13804
14306
|
]
|
|
13805
14307
|
},
|
|
@@ -13809,83 +14311,83 @@ const nodeIconList = [
|
|
|
13809
14311
|
list: [
|
|
13810
14312
|
{
|
|
13811
14313
|
name: "1",
|
|
13812
|
-
icon: `<svg
|
|
14314
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1026 1024"><path d="M1.097856 1.097642h1021.804717v1021.804716H1.097856z" fill="#F09495" ></path><path d="M1024.000214 1024H0.000214V0h1024v1024z m-1021.804716-2.195284h1019.609433V2.195284H2.195498v1019.609432z" fill="#FFFFFF" ></path><path d="M234.695985 335.179887m-27.341259 0a27.341259 27.341259 0 1 0 54.682518 0 27.341259 27.341259 0 1 0-54.682518 0Z" fill="#040000" ></path><path d="M234.695985 363.519002c-15.666342 0-28.339115-12.772559-28.339115-28.339115 0-15.666342 12.772559-28.339115 28.339115-28.339115s28.339115 12.772559 28.339115 28.339115c0.099786 15.666342-12.672773 28.339115-28.339115 28.339115z m0-54.582732c-14.468914 0-26.243617 11.774703-26.243617 26.243617s11.774703 26.243617 26.243617 26.243617 26.243617-11.774703 26.243617-26.243617-11.774703-26.243617-26.243617-26.243617z" fill="#FFFFFF" ></path><path d="M776.232528 335.179887m-27.341259 0a27.341259 27.341259 0 1 0 54.682518 0 27.341259 27.341259 0 1 0-54.682518 0Z" fill="#040000" ></path><path d="M776.232528 363.519002c-15.666342 0-28.339115-12.772559-28.339115-28.339115 0-15.666342 12.772559-28.339115 28.339115-28.339115 15.666342 0 28.339115 12.772559 28.339115 28.339115 0 15.666342-12.772559 28.339115-28.339115 28.339115z m0-54.582732c-14.468914 0-26.243617 11.774703-26.243617 26.243617s11.774703 26.243617 26.243617 26.243617 26.243617-11.774703 26.243617-26.243617c-0.099786-14.468914-11.874488-26.243617-26.243617-26.243617z" fill="#FFFFFF" ></path><path d="M512.000214 671.656987c-52.58702 0-105.872539-17.961411-105.872539-52.387449S459.413194 566.882089 512.000214 566.882089s105.872539 17.961411 105.87254 52.387449S564.587234 671.656987 512.000214 671.656987z m0-74.240499c-21.952836 0-43.207172 3.592282-58.2748 9.77899-13.870201 5.68778-17.06334 11.275775-17.06334 12.07406s3.19314 6.386279 17.06334 12.07406c15.067628 6.186708 36.321965 9.77899 58.2748 9.77899s43.207172-3.592282 58.274801-9.77899c13.870201-5.68778 17.06334-11.275775 17.06334-12.07406s-3.19314-6.386279-17.06334-12.07406c-15.067628-6.286494-36.321965-9.77899-58.274801-9.77899z" fill="#040000" ></path></svg>`
|
|
13813
14315
|
},
|
|
13814
14316
|
{
|
|
13815
14317
|
name: "2",
|
|
13816
|
-
icon: `<svg
|
|
14318
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M0 0h1024v1024H0z" fill="#E6A6C9" ></path><path d="M315.1 368.1c-23.9 0-43.3-19.4-43.3-43.3s19.4-43.3 43.3-43.3 43.3 19.4 43.3 43.3-19.4 43.3-43.3 43.3z m0-74.7c-17.3 0-31.3 14.1-31.3 31.3 0 17.3 14.1 31.3 31.3 31.3 17.3 0 31.3-14.1 31.3-31.3 0-17.2-14-31.3-31.3-31.3zM738.7 368.1c-23.9 0-43.3-19.4-43.3-43.3s19.4-43.3 43.3-43.3 43.3 19.4 43.3 43.3-19.4 43.3-43.3 43.3z m0-74.7c-17.3 0-31.3 14.1-31.3 31.3 0 17.3 14.1 31.3 31.3 31.3 17.3 0 31.3-14.1 31.3-31.3 0-17.2-14-31.3-31.3-31.3zM293.5 698.8l-14.5-1.3c0.1-0.6 1.5-14.6 15.1-27.9 17.2-16.7 45-24.8 82.7-24 4.9-0.1 10.9-10.5 16.1-19.6 8.4-14.7 19-33.1 37.9-34.3 19.4-1.2 42.2 16.4 71.5 55.4 9.9 5.2 16.5 11.2 21.8 16.1 8.4 7.7 13.1 11.9 25.1 10.8 14.9-1.4 38.9-11.1 77.5-31.4 26.8-28.4 56.4-41.4 83.5-36.6 27.9 4.9 50.6 27.6 67.5 67.5l-13.4 5.7c-14.7-34.5-34.3-54.9-56.7-58.8-22.3-3.9-47.6 7.8-71.2 33.1l-0.8 0.9-1.1 0.6c-85.6 45.1-99.4 38-120.2 19.1-5.5-5-11.2-10.2-20.1-14.7l-1.5-0.8-1-1.4c-32.2-43.2-50.4-51.6-60-51-11.1 0.7-18.8 14-26.2 27-7.6 13.2-15.4 26.9-28.8 26.9h-0.2c-78.4-1.6-83 38.3-83 38.7z" fill="#040000" ></path></svg>`
|
|
13817
14319
|
},
|
|
13818
14320
|
{
|
|
13819
14321
|
name: "3",
|
|
13820
|
-
icon: `<svg
|
|
14322
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1026 1024" ><path d="M1.1 1.097642h1021.804716v1021.804716H1.1z" fill="#F7E983" ></path><path d="M1024.002358 1024H0.002358V0h1024v1024z m-1021.804716-2.195284h1019.609433V2.195284H2.197642v1019.609432z" fill="#FFFFFF" ></path><path d="M329.174412 344.491728a38.118106 10.277919 57.6 1 0 17.355867-11.014369 38.118106 10.277919 57.6 1 0-17.355867 11.014369Z" fill="#040000" ></path><path d="M644.769475 355.956059a11.175989 36.321965 30 1 0 36.321965-62.911488 11.175989 36.321965 30 1 0-36.321965 62.911488Z" fill="#040000" ></path><path d="M569.678445 671.158059c-26.343403 0-51.190021-5.288638-70.049503-14.967843-20.755408-10.577275-32.230754-25.445332-32.230755-41.710388 0-16.265056 11.475346-31.133112 32.230755-41.710387 18.859482-9.579419 43.805886-14.967843 70.049503-14.967843s51.190021 5.288638 70.049503 14.967843c20.755408 10.577275 32.230754 25.445332 32.230754 41.710387 0 16.265056-11.475346 31.133112-32.230754 41.710388-18.859482 9.679205-43.805886 14.967843-70.049503 14.967843z m0-95.095693c-49.693237 0-84.318846 20.356266-84.318846 38.517248s34.625609 38.517248 84.318846 38.517248 84.318846-20.356266 84.318846-38.517248-34.725395-38.517248-84.318846-38.517248z" fill="#040000" ></path></svg>`
|
|
13821
14323
|
},
|
|
13822
14324
|
{
|
|
13823
14325
|
name: "4",
|
|
13824
|
-
icon: `<svg
|
|
14326
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1026 1024" ><path d="M1.1 1.097642h1021.804716v1021.804716H1.1z" fill="#A6D9E2" ></path><path d="M1024.002358 1024H0.002358V0h1024v1024z m-1021.804716-2.195284h1019.609433V2.195284H2.197642v1019.609432z" fill="#FFFFFF" ></path><path d="M376.194134 348.950302m-23.44962 0a23.44962 23.44962 0 1 0 46.89924 0 23.44962 23.44962 0 1 0-46.89924 0Z" fill="#040000" ></path><path d="M629.150672 348.950302m-24.647047 0a24.647047 24.647047 0 1 0 49.294095 0 24.647047 24.647047 0 1 0-49.294095 0Z" fill="#040000" ></path><path d="M397.847613 603.503411c13.471058 8.282206 28.738258 14.468914 43.7061 19.458195 29.835899 9.978562 62.266225 14.169558 93.299551 7.483921 21.054765-4.490353 40.213604-14.369129 56.778016-28.039758 6.785422-5.587995-2.893783-15.167414-9.579419-9.579419-46.999026 38.916391-112.258819 31.033327-163.847983 6.086922-4.590138-2.195284-9.080491-4.490353-13.371272-7.184564-7.583707-4.590138-14.468914 7.184564-6.984993 11.774703z" fill="#040000" ></path><path d="M627.753674 534.052621c-31.033327 24.048334-58.474371 68.253362-37.419607 106.970182 10.577275 19.35841 29.835899 32.629897 48.795167 42.708244 7.982849 4.190996 15.067628-7.883064 7.084779-12.07406-25.245761-13.271487-53.485091-35.324108-49.094524-66.557006 2.793997-20.156695 15.766127-37.319821 29.736114-51.190022 3.392711-3.392711 6.984993-6.785422 10.776847-9.77899 2.993569-2.295069 2.394855-7.483921 0-9.878776-2.893783-3.19314-6.885208-2.49464-9.878776-0.199572z" fill="#040000" ></path></svg>`
|
|
13825
14327
|
},
|
|
13826
14328
|
{
|
|
13827
14329
|
name: "5",
|
|
13828
|
-
icon: `<svg
|
|
14330
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1026 1024" ><path d="M1.1 1.097642h1021.804716v1021.804716H1.1z" fill="#AD6F59" ></path><path d="M1024.002358 1024H0.002358V0h1024v1024z m-1021.804716-2.195284h1019.609433V2.195284H2.197642v1019.609432z" fill="#FFFFFF" ></path><path d="M411.829832 330.730879a38.118106 10.277919 57.6 1 0 17.355867-11.014368 38.118106 10.277919 57.6 1 0-17.355867 11.014368Z" fill="#040000" ></path><path d="M480.669675 609.989476c11.774703-25.844475 27.740401-51.788735 44.60417-73.342429 13.770415-17.462483 29.237186-33.92711 47.897096-44.803742 17.262912-10.078347 35.324108-13.67063 54.283376-6.58585 11.974274 4.390567 23.948548 14.468914 33.128825 24.547261 14.369129 15.865913 25.145975 34.625609 34.725394 53.684662 4.290782 8.581563 17.262912 0.997856 12.972131-7.583707-15.167414-30.334828-35.224323-63.763009-66.157864-80.327421-21.054765-11.37556-44.504385-11.475346-66.157864-1.895927-21.054765 9.280062-38.617034 25.644904-53.485091 42.907815-14.468914 16.863769-27.041902 35.324108-38.217891 54.582733-5.887351 10.178133-11.674917 20.555837-16.464627 31.232898-1.696355 3.692068-0.997856 7.982849 2.694212 10.277918 3.19314 1.895927 8.581563 0.898071 10.178133-2.694211z" fill="#040000" ></path><path d="M663.863649 338.091735a14.468914 33.727538 30 1 0 33.727538-58.417811 14.468914 33.727538 30 1 0-33.727538 58.417811Z" fill="#040000" ></path></svg>`
|
|
13829
14331
|
},
|
|
13830
14332
|
{
|
|
13831
14333
|
name: "6",
|
|
13832
|
-
icon: `<svg
|
|
14334
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M762.9 77.4H261.1L10.2 512l250.9 434.6h501.8L1013.8 512z" fill="#83CEE3" ></path><path d="M369 375.8m-34.6 0a34.6 34.6 0 1 0 69.2 0 34.6 34.6 0 1 0-69.2 0Z" fill="#040000" ></path><path d="M369 411.7c-19.8 0-36-16.1-36-36s16.1-36 36-36 36 16.1 36 36-16.1 36-36 36z m0-69.1c-18.3 0-33.2 14.9-33.2 33.2S350.7 409 369 409s33.2-14.9 33.2-33.2-14.9-33.2-33.2-33.2z" fill="#FFFFFF" ></path><path d="M672.2 333.6c-15.1 7.6-30.2 15.6-44.3 25-5.9 3.9-17 10.4-14.6 19.1 1.8 6.5 12 11.2 17.3 14.3 15.7 9.3 32.1 17.6 48.3 25.9 8.6 4.4 16.2-8.5 7.6-13-14.1-7.3-28.3-14.5-42.1-22.3-3.9-2.2-7.9-4.5-11.7-6.9-1.2-0.8-2.4-1.5-3.5-2.4-0.6-0.4-1.1-0.8-1.6-1.2 2.2 1.7-0.3-0.3-0.3-0.3-0.9 0.1-1.5-3.2-0.2 0.5 0.9 2.4 1.1 3.8 0.3 5.8 0.6-1.5-0.9 0.8-0.1 0 0.5-0.5 1-1.1 1.6-1.6 0.5-0.5 1-0.9 1.6-1.3 0.6-0.5 0 0 1.2-0.9 1.7-1.3 3.5-2.5 5.3-3.6 8.4-5.5 17.2-10.4 26-15.2 5.6-3 11.2-6 16.8-8.9 8.6-4.4 1-17.3-7.6-13zM578.2 720.9c-12.5-96.7-33.3-154.7-55.6-155.6-8.8 3.9-22.3 17.5-37.7 60.1-10.8 29.8-18.4 62.2-23 81.6-1.2 5.1-2.1 9.1-2.9 11.8l-9.3-2.4c0.7-2.6 1.6-6.6 2.8-11.6 14.9-63 36-136.8 67.5-148.8l0.8-0.3h0.8c18.2-0.4 33.2 19.5 45.8 60.8 10.2 33.3 16.7 74.6 20.5 103.3l-9.7 1.1z" fill="#040000" ></path></svg>`
|
|
13833
14335
|
},
|
|
13834
14336
|
{
|
|
13835
14337
|
name: "7",
|
|
13836
|
-
icon: `<svg
|
|
14338
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M762.9 77.4H261.1L10.2 512l250.9 434.6h501.8L1013.8 512z" fill="#8CC66D" ></path><path d="M375.778679 404.47473a14.5 33.8 30 1 0 33.8-58.543317 14.5 33.8 30 1 0-33.8 58.543317Z" fill="#040000" ></path><path d="M627.220263 374.211388a43.1 11.6 57.6 1 0 19.588408-12.431182 43.1 11.6 57.6 1 0-19.588408 12.431182Z" fill="#040000" ></path><path d="M451.1 548.5c17.6-9.3 63.9-30 105.3-16.2 17 20.3 32.7 98.8 28.8 138.1-27.5 10.2-82.5 10.2-106.1 5.8-8.3-10.5-32.7-81.8-35.3-114.6-0.4-5.5 2.5-10.6 7.3-13.1z" fill="#040000" ></path></svg>`
|
|
13837
14339
|
},
|
|
13838
14340
|
{
|
|
13839
14341
|
name: "8",
|
|
13840
|
-
icon: `<svg
|
|
14342
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M762.9 77.4H261.1L10.2 512l250.9 434.6h501.8L1013.8 512z" fill="#5A74B8" ></path><path d="M357.7 400m-34.6 0a34.6 34.6 0 1 0 69.2 0 34.6 34.6 0 1 0-69.2 0Z" fill="#040000" ></path><path d="M357.7 436c-19.8 0-36-16.1-36-36s16.1-36 36-36 36 16.1 36 36-16.2 36-36 36z m0-69.2c-18.3 0-33.2 14.9-33.2 33.2s14.9 33.2 33.2 33.2 33.2-14.9 33.2-33.2-14.9-33.2-33.2-33.2z" fill="#FFFFFF" ></path><path d="M676 400m-34.6 0a34.6 34.6 0 1 0 69.2 0 34.6 34.6 0 1 0-69.2 0Z" fill="#040000" ></path><path d="M676 436c-19.8 0-36-16.1-36-36s16.1-36 36-36 36 16.1 36 36-16.2 36-36 36z m0-69.2c-18.3 0-33.2 14.9-33.2 33.2s14.9 33.2 33.2 33.2c18.3 0 33.2-14.9 33.2-33.2s-14.9-33.2-33.2-33.2z" fill="#FFFFFF" ></path><path d="M347.6 684.1c0.3-0.9 0.6-1.7 0.9-2.6 0.2-0.5 1.4-3.2 0.3-0.8 0.6-1.4 1.3-2.9 2-4.3 3.2-6.3 6-10.7 10.9-15.3 4.3-4 10.8-7.5 17.1-6.1 3.9 0.9 7.9 4.9 11.1 7.2 3.1 2.2 6.3 4.5 9.7 6.2 7.5 3.8 15.3 4.4 23.4 1.9 4.7-1.5 9.2-3.6 13.6-5.9 5-2.6 10.7-5 14.2-9.5 4.5-5.7 6.1-8.5 11.4-14.1 1-1 2-2 3.1-3 0.2-0.2 2.2-1.7 0.6-0.5 0.6-0.4 1.2-0.9 1.8-1.3 1-0.6 2.1-1.3 3.2-1.7-2 0.8 0.2 0 0.6-0.1 2.3-0.7-0.3-0.2 1.2-0.3 2.8-0.1 3.6 0 5.5 1 3.8 1.9 6.6 4.7 9.5 7.8 4.5 5 7.5 11.1 11.7 16.2 1.8 2.2 3.7 4.3 5.4 6.5 8.1 10.3 17.7 22.2 32.2 22 8.8-0.1 16.6-5.2 22.6-11.2 4.2-4.1 7.7-8.9 11-13.7 2.9-4.2 4.6-9.9 6.2-13.5 3.2-7.1 7.2-13.1 13-18.1 4.8-4.2 11.1-6.5 16.7-5.3 10.5 2.4 17.2 12.1 23.1 20.2 4.7 6.5 9.8 13 16 18.2 7.8 6.4 17.1 11.4 27.5 11.1 14.1-0.4 25.5-9.5 34.2-19.9 3-3.6 3.6-8.8 0-12.4-3.1-3.1-9.4-3.7-12.4 0-6.3 7.6-14.7 15.9-24.9 14.7-2.2-0.3-5.3-1.5-7.9-3.1-3.5-2.1-6.1-4.4-9.1-7.5-4.9-5.1-6.8-8.1-10.9-13.8-7.3-10.1-16.1-19.6-28.2-23.7-18.5-6.3-35.7 5.6-46 20.1-2.4 3.3-4.4 6.9-6.1 10.6-1.8 3.9-2.7 8.5-5.2 11.9-3.1 4.4-6.2 8.8-10.2 12.5-3 2.8-5.7 4.4-8.6 5.1-0.4 0.1-1.7 0.1 0.1 0h-2.2c2.1 0.1 0 0-0.5-0.1-0.7-0.2-1.4-0.4-2-0.6 1.8 0.7-1.8-1.1-2.4-1.5l-1.2-0.9c1.5 1.2-0.9-0.9-1.2-1.1-4.7-4.3-8.4-9.5-12.3-14.4-10.9-13.6-20.9-34-41-34.9-14.2-0.6-24.5 10.6-32.4 20.8-1.2 1.6-2.5 3.2-3.7 4.8-1.5 1.9 1.1-1.4-0.4 0.5-0.4 0.5-0.8 1.2-1.3 1.6-1.7 1.4-4.6 2.6-6.6 3.6-2.9 1.6-5.9 3.2-9 4.5-1.6 0.7-3.4 1.2-5.1 1.7-2.2 0.6-0.7 0.5-2.8 0.4-2.8 0-3.9-0.4-6.6-1.9-3.9-2.2-7.5-4.9-11.1-7.5-5.6-4-10-6.9-17-7.5-10.5-0.9-20.3 3.2-28.2 9.9-9.4 8.1-16.4 20.2-20.1 32-3.6 11.2 13.3 15.8 16.8 5.1z" fill="#040000" ></path></svg>`
|
|
13841
14343
|
},
|
|
13842
14344
|
{
|
|
13843
14345
|
name: "9",
|
|
13844
|
-
icon: `<svg
|
|
14346
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M762.9 77.4H261.1L10.2 512l250.9 434.6h501.8L1013.8 512z" fill="#F0884F" ></path><path d="M287.2 382c6.4 2.3 11.6-3.7 15.4-7.9 5.1-5.5 10.2-11 16-15.9 0.8-0.7 1.7-1.4 2.5-2.1 1.2-0.9-1.7 1.3 0.2-0.2l1.2-0.9c2.1-1.5 4.3-2.9 6.5-4.3 2-1.2 4-2.2 6.1-3.2 0.6-0.3 1.2-0.6 1.9-0.9-0.3 0.2-1.5 0.6 0.2-0.1 1.3-0.5 2.6-1 4-1.5 11.2-3.7 21.8-4 33.4-1.1 19.5 4.9 36.4 17 51.2 30.2 8.6 7.7 21.4-5 12.7-12.7-25.2-22.6-57.1-42.1-92.2-36.2-20.4 3.4-37.7 16.1-51.6 30.9-2.3 2.4-4.5 5-6.8 7.4-0.7 0.7-1.9 1.5-2.4 2.4-0.5 0.8 2.3-1.5 0.8-0.7 1.3-0.7 3.9-1.4 5.8-0.7-11.1-3.7-15.8 13.7-4.9 17.5zM598 382c6.4 2.3 11.6-3.7 15.4-7.9 5.1-5.5 10.2-11 16-15.9 0.8-0.7 1.7-1.4 2.5-2.1 1.2-0.9-1.7 1.3 0.2-0.2l1.2-0.9c2.1-1.5 4.3-2.9 6.5-4.3 2-1.2 4-2.2 6.1-3.2 0.6-0.3 1.2-0.6 1.9-0.9-0.3 0.2-1.5 0.6 0.2-0.1 1.3-0.5 2.6-1 4-1.5 11.2-3.7 21.8-4 33.4-1.1 19.5 4.9 36.4 17 51.2 30.2 8.6 7.7 21.4-5 12.7-12.7-25.2-22.6-57.1-42.1-92.2-36.2-20.4 3.4-37.7 16.1-51.6 30.9-2.3 2.4-4.5 5-6.8 7.4-0.7 0.7-1.9 1.5-2.4 2.4-0.5 0.8 2.3-1.5 0.8-0.7 1.3-0.7 3.9-1.4 5.8-0.7-11.1-3.7-15.8 13.7-4.9 17.5zM505.9 527.1c3.4 0.7 6.8 1.7 10.2 2.8 6.7 2.2 10.4 3.5 16.6 7.7 1.6 1.1-0.5-0.5 0.6 0.5 0.6 0.5 1.1 1.1 1.7 1.6 1.5 1.4-0.1-0.4 0.5 0.6 0.4 0.6 0.7 1.2 1 1.8-1-2 0.1 0 0 0.5 0.1-2-0.1 0-0.1 0-0.1 0.8 0 0.7 0.1-0.5-0.1 0.4-0.1 0.7-0.3 1.1-0.6 1 0.7-0.9-0.4 1-1.6 2.5-4.6 5.4-8.1 7.8-6.8 4.6-14.4 8.2-22 11.4-7 3-7.4 11.9 0 14.8 7.4 2.8 15 5.3 22.4 8.1 3.1 1.1 4.2 1.5 6.9 2.9 1.1 0.6 2.1 1.2 3.2 1.8 1.2 0.8-0.7-0.5 0.1 0 0.4 0.3 0.8 0.7 1.1 1.1 0.6 0.8-1.1-1.2-0.2-0.2 0.8 0.9-0.3-1.4-0.1-0.2 0.1 0.9 0.2-1.9 0-0.9-0.1 0.5-0.8 1.8 0 0.2-0.2 0.5-0.5 1-0.8 1.4-0.3 0.3-0.9 1.3-0.3 0.5-0.5 0.7-1.1 1.3-1.7 1.9-6.9 7.3-15.9 12.8-24.4 18.1-8.3 5.3-0.6 18.5 7.7 13.2 9.9-6.3 20.9-12.8 28.6-21.8 4.8-5.5 8.1-12.9 4.2-19.9-3.4-6-10.5-8.9-16.6-11.4-8.6-3.5-17.5-6.2-26.2-9.5v14.8c14.4-6.1 47.2-18.8 41.2-40.3-3.5-12.9-19.4-18.9-30.8-22.6-3.4-1.1-6.9-2.1-10.5-2.9-9.1-2.2-13.3 12.5-3.6 14.6z" fill="#040000" ></path></svg>`
|
|
13845
14347
|
},
|
|
13846
14348
|
{
|
|
13847
14349
|
name: "10",
|
|
13848
|
-
icon: `<svg
|
|
14350
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M762.9 77.4H261.1L10.2 512l250.9 434.6h501.8L1013.8 512z" fill="#F6F180" ></path><path d="M342.9 400.6m-29.5 0a29.5 29.5 0 1 0 59 0 29.5 29.5 0 1 0-59 0Z" fill="#040000" ></path><path d="M342.9 431.3c-16.9 0-30.7-13.8-30.7-30.7s13.8-30.7 30.7-30.7 30.7 13.8 30.7 30.7-13.7 30.7-30.7 30.7z m0-59c-15.6 0-28.3 12.7-28.3 28.3s12.7 28.3 28.3 28.3 28.3-12.7 28.3-28.3-12.6-28.3-28.3-28.3z" fill="#FFFFFF" ></path><path d="M702 400.6m-29.5 0a29.5 29.5 0 1 0 59 0 29.5 29.5 0 1 0-59 0Z" fill="#040000" ></path><path d="M702 431.3c-16.9 0-30.7-13.8-30.7-30.7s13.8-30.7 30.7-30.7 30.7 13.8 30.7 30.7-13.8 30.7-30.7 30.7z m0-59c-15.6 0-28.3 12.7-28.3 28.3s12.7 28.3 28.3 28.3 28.3-12.7 28.3-28.3-12.7-28.3-28.3-28.3z" fill="#FFFFFF" ></path><path d="M358.7 519.9c20 22 45.5 40.4 71.3 54.8 51.2 28.5 111.7 39.9 168 19.5 44.3-16.1 80.7-47.8 110.2-83.9 3-3.7 3.6-8.9 0-12.5-3.1-3.1-9.5-3.7-12.5 0-25.5 31.4-56.2 59.7-93.7 76-27.1 11.7-56.6 15.7-85.8 12.2-24.7-2.9-49.5-11.8-71.5-23.4-18.7-9.8-36.6-22.2-51.1-34.3-7.8-6.5-15.5-13.3-22.4-20.9-7.7-8.5-20.1 4.1-12.5 12.5z" ></path></svg>`
|
|
13849
14351
|
},
|
|
13850
14352
|
{
|
|
13851
14353
|
name: "11",
|
|
13852
|
-
icon: `<svg
|
|
14354
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M48.2 844.9c-68.5-210.6 186-782.1 409.1-795.4 6.3-0.4 12.5 0.2 18.6 1.6C665.1 94.6 985.4 515 987.1 821.3c0.1 20-12.9 37.9-22.4 43.1-162.7 89.8-605.8 179.7-884.4 30.9-15-7.9-24.2-26.1-32.1-50.4z" fill="#F0884F" ></path><path d="M401 352.1m-52.4 0a52.4 52.4 0 1 0 104.8 0 52.4 52.4 0 1 0-104.8 0Z" fill="#FFFFFF" ></path><path d="M408.7 329m-29.3 0a29.3 29.3 0 1 0 58.6 0 29.3 29.3 0 1 0-58.6 0Z" fill="#040000" ></path><path d="M527.5 352.1m-52.4 0a52.4 52.4 0 1 0 104.8 0 52.4 52.4 0 1 0-104.8 0Z" fill="#FFFFFF" ></path><path d="M527.5 329m-29.3 0a29.3 29.3 0 1 0 58.6 0 29.3 29.3 0 1 0-58.6 0Z" fill="#040000" ></path><path d="M450.7 517c1.1-8.2 3.2-16.4 6.1-24.1 0.1-0.3 1-2.5 0.5-1.4s0.3-0.7 0.5-1c0.7-1.4 1.4-2.8 2.2-4.1 0.4-0.8 2.8-3.9 1.3-2.1 0.8-1 1.7-1.9 2.6-2.8 1-1-1.5 1 0.1 0 0.5-0.3 1-0.6 1.5-0.8-1.3 0.7-1.2 0.3 0 0.1 1.9-0.3-1.8 0.3 0.1 0 1.2-0.2 1.5 0.3 0-0.1 0.6 0.2 1.3 0.3 1.9 0.5 0.3 0.1-1.3-0.7 0.2 0.1 0.8 0.5 1.6 0.9 2.4 1.4 1.4 1 0-0.1 1.4 1.1 0.9 0.8 1.8 1.7 2.6 2.6 1.8 1.9 3.5 3.9 5 6.1 5.1 7.1 9.3 14.8 13.2 22.6 3.5 6.9 13.7 4.7 15.8-2.1 2.6-8.7 4.8-17.4 7.4-26.1 0.9-3.2 1.9-6.4 3.2-9.4-0.7 1.6 0.8-1.6 1.2-2.2l0.9-1.5c0.7-1.2-1.4 0.7 0.1-0.1 1.7-0.9-1.2 0.3-0.3 0.1 0.8-0.2 1-1.2 0.3-0.3-0.6 0.8 0.6 0-0.5 0.2-2 0.3 2.4 0.5-1.1 0 0.5 0.1 1.2 0.2 1.6 0.4-1.1-0.8-0.8-0.4 0.2 0.2 0.7 0.4 3.4 2.3 2.7 1.8 8.9 7.1 15.9 16.9 22.5 26 2.8 3.8 7.5 5.6 11.8 3.1 3.7-2.2 5.9-8 3.1-11.8-8.2-11.1-16.6-23-27.7-31.4-6.3-4.7-14.5-7.6-21.7-3-6.7 4.2-9.6 12.5-11.9 19.6-3.2 9.9-5.5 20-8.6 29.9 5.3-0.7 10.5-1.4 15.8-2.1-7.8-15.5-24.8-50.1-48-41.7-14.1 5.1-19.7 23-22.9 36.2-0.9 3.8-1.8 7.7-2.3 11.6-0.6 4.6 1.1 9.3 6 10.6 4.2 1 10.2-1.5 10.8-6.1z" fill="#040000" ></path></svg>`
|
|
13853
14355
|
},
|
|
13854
14356
|
{
|
|
13855
14357
|
name: "12",
|
|
13856
|
-
icon: `<svg
|
|
14358
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M485.538528 993.072489a362.00362 481.804818 3.149 1 0 52.933731-962.15464 362.00362 481.804818 3.149 1 0-52.933731 962.15464Z" fill="#AADCF0" ></path><path d="M688.2 334.1c-15.1 7.6-30.2 15.6-44.3 25-5.9 3.9-17 10.4-14.6 19.1 1.8 6.5 12 11.2 17.3 14.3 15.7 9.3 32.1 17.6 48.3 25.9 8.6 4.4 16.2-8.5 7.6-13-14.1-7.3-28.3-14.5-42.1-22.3-3.9-2.2-7.9-4.5-11.7-6.9-1.2-0.8-2.4-1.5-3.5-2.4-0.6-0.4-1.1-0.8-1.6-1.2 2.2 1.7-0.3-0.3-0.3-0.3-0.9 0.1-1.5-3.2-0.2 0.5 0.9 2.4 1.1 3.8 0.3 5.8 0.6-1.5-0.9 0.8-0.1 0 0.5-0.5 1-1.1 1.6-1.6 0.5-0.5 1-0.9 1.6-1.3 0.6-0.5 0 0 1.2-0.9 1.7-1.3 3.5-2.5 5.3-3.6 8.4-5.5 17.2-10.4 26-15.2 5.6-3 11.2-6 16.8-8.9 8.6-4.4 1-17.4-7.6-13zM375.8 347c13.4 6.8 26.7 14 39.5 21.9 1.8 1.2 3.7 2.3 5.5 3.5 0.9 0.6 1.7 1.2 2.6 1.8 0.9 0.6 1.9 1.4 1.6 1.1 1.1 0.9 2.1 1.9 3.1 2.8 1.2 1 0-0.3 0.1 0 0-0.2-0.8-2.4-0.3-4.1 1.5-5.5 2.3-2.7 0.8-2-0.4 0.2-0.9 0.8-1.3 1.1 1.7-1.4-1.6 1.1-2.3 1.6-3.4 2.3-6.9 4.4-10.4 6.4-14.9 8.6-30.3 16.4-45.6 24.3-8.6 4.4-1 17.4 7.6 13 15-7.7 30.1-15.4 44.8-23.8 6.2-3.6 13.8-7.3 18.7-12.7 7.6-8.3-3.8-16.6-9.9-20.9-8.7-6.1-18-11.3-27.3-16.4-6.5-3.6-13-7.1-19.6-10.4-8.6-4.5-16.3 8.5-7.6 12.8zM412.8 570.9c13.5 7.7 28.5 13.3 43.3 17.9 29.8 9.2 61.7 13.1 92.6 7.3 20.6-3.9 40-12.5 56.6-25.2 2.8-2.2 4.3-5.6 2.3-9-1.6-2.8-6.2-4.5-9-2.3-48.3 36.9-113.3 30-165.6 6.7-4.6-2.1-9.2-4.2-13.7-6.7-7.3-4.2-13.9 7.2-6.5 11.3z" fill="#040000" ></path><path d="M644.6 505.2c-30.1 21.5-60.6 62.5-39.1 99.8 10.7 18.6 30.3 30.9 49.1 40.1 7.8 3.8 14.6-7.9 6.8-11.7-23.6-11.5-53.7-31.4-49.4-60.9 2.8-18.9 15.8-34.6 29.5-47.2 2.5-2.3 5.1-4.6 7.8-6.7 0.5-0.4 0.9-0.7 1.4-1.1-0.4 0.3-1.2 0.9-0.1 0.1l0.9-0.6c6.9-5.1 0.2-16.8-6.9-11.8z" fill="#040000" ></path></svg>`
|
|
13857
14359
|
},
|
|
13858
14360
|
{
|
|
13859
14361
|
name: "13",
|
|
13860
|
-
icon: `<svg
|
|
14362
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M235.1 76.9c75.6-26.5 297.3-90.1 514.2-16.6 16.3 5.5 29.8 17.4 37.1 33 57.5 122.4 127.1 602.1 62.1 785.6a62.58 62.58 0 0 1-32.5 35.8c-109.5 51.8-428.1 136.7-609.3 37.2-14.4-7.9-25-21.3-29.7-37.1-41.9-140.6-37-627.7 19.1-798 6.1-18.7 20.5-33.4 39-39.9z" fill="#F9DABD" ></path><path d="M392.2 360.2m-35.2 0a35.2 35.2 0 1 0 70.4 0 35.2 35.2 0 1 0-70.4 0Z" fill="#040000" ></path><path d="M618.6 360.2m-35.2 0a35.2 35.2 0 1 0 70.4 0 35.2 35.2 0 1 0-70.4 0Z" fill="#040000" ></path><path d="M512 562.6c-36 0-65.3-29.3-65.3-65.3S476 432 512 432s65.3 29.3 65.3 65.3-29.3 65.3-65.3 65.3z m0-122.9c-31.7 0-57.6 25.8-57.6 57.6s25.8 57.6 57.6 57.6c31.7 0 57.6-25.8 57.6-57.6s-25.9-57.6-57.6-57.6z" fill="#040000" ></path></svg>`
|
|
13861
14363
|
},
|
|
13862
14364
|
{
|
|
13863
14365
|
name: "14",
|
|
13864
|
-
icon: `<svg
|
|
14366
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M178.1 971.5c38.1 15.9 98.7 26.6 171.3-12.3 3.7-2 8.4-1.6 11.6 1.1 43.3 35.9 123.3 80.8 236 10.9 3.8-2.4 8.7-2.4 12.6-0.2 41.8 23.9 191.6 58.2 246.6 14.2 4.4-3.5 9.1-6.6 14.5-8.5C1065 909.5 678.2-652 194.3 351c-37.5 77.8-38.4 94.1-71.9 211.3-27.6 96.3-29.1 231.3 1.4 348.1 7.2 27.3 27.3 49.9 54.3 61.1z" fill="#ABAAAA" ></path><path d="M468.9 349H418c-6.1 0-11.1-5-11.1-11.1V336c0-6.1 5-11.1 11.1-11.1h50.9c6.1 0 11.1 5 11.1 11.1v1.9c0 6.1-5 11.1-11.1 11.1zM643 471.9H390c-6.6 0-12-5.4-12-12s5.4-12 12-12h253c6.6 0 12 5.4 12 12s-5.4 12-12 12zM609 349h-61.2c-6 0-11-4.9-11-11v-2.1c0-6 4.9-11 11-11H609c6 0 11 4.9 11 11v2.1c0 6.1-4.9 11-11 11z" fill="#040000" ></path></svg>`
|
|
13865
14367
|
},
|
|
13866
14368
|
{
|
|
13867
14369
|
name: "15",
|
|
13868
|
-
icon: `<svg
|
|
14370
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M673.1 318.7c3.7-17.5 5.6-35.7 5.6-54.4 0-137.9-105.5-249.7-235.6-249.7S207.4 126.4 207.4 264.3c0 55.4 17.1 106.7 45.9 148.1-55.2 63.3-88.6 145.9-88.6 236.3 0 199.2 162.1 360.6 362.1 360.6 200 0 362.1-161.5 362.1-360.6 0.1-147.3-88.7-274-215.8-330z" fill="#4F8A54" ></path><path d="M392 246.2m-47.1 0a47.1 47.1 0 1 0 94.2 0 47.1 47.1 0 1 0-94.2 0Z" fill="#FFFFFF" ></path><path d="M386 252.8m-26.4 0a26.4 26.4 0 1 0 52.8 0 26.4 26.4 0 1 0-52.8 0Z" fill="#040000" ></path><path d="M505.6 246.2m-47.1 0a47.1 47.1 0 1 0 94.2 0 47.1 47.1 0 1 0-94.2 0Z" fill="#FFFFFF" ></path><path d="M501.4 252.8m-26.4 0a26.4 26.4 0 1 0 52.8 0 26.4 26.4 0 1 0-52.8 0Z" fill="#040000" ></path><path d="M474.3 364.8h-50.9c-6.1 0-11.1-5-11.1-11.1v-1.9c0-6.1 5-11.1 11.1-11.1h50.9c6.1 0 11.1 5 11.1 11.1v1.9c0 6.2-5 11.1-11.1 11.1z" fill="#040000" ></path></svg>`
|
|
13869
14371
|
},
|
|
13870
14372
|
{
|
|
13871
14373
|
name: "16",
|
|
13872
|
-
icon: `<svg
|
|
14374
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M246.4 227.6c-166.9 101.1-461.9 344 87 564.1 1.5 0.6 2.9 1.1 4.4 1.6 80.7 27.7 392.8 165.4 641-198.1 40-58.6 38.5-136.2-3.7-193.3C892 289.5 727 201.1 429.1 182.7c-64.1-4-127.8 11.6-182.7 44.9z" fill="#CF92BE" ></path><path d="M617.1 393.4c-17.4 8.8-34.9 18.1-51.2 28.9-6.9 4.6-20.3 12.3-17.4 22.6 1.2 4.3 5.6 7 9 9.5 3.7 2.7 7.6 5 11.5 7.3 18.2 10.8 37.1 20.3 55.9 30 10 5.1 18.9-10 8.8-15.1-16.4-8.4-32.9-16.9-49-26-4.5-2.6-9.1-5.2-13.5-8l-4.5-3c-0.7-0.5-1.3-1-2-1.5 1.6 1.2 0.7 0.4-0.2-0.2-1.3-0.9-0.3-0.9-0.5-0.3 0.2 0.2 0.4 0.5 0.6 0.7 1 1.9 1.3 3.7 0.8 5.7 0.1-0.6 0.7-1.4-0.6 1.3 0.7-1.5-0.1 0-0.2 0.1 0.6-0.6 1.2-1.3 1.9-1.9l1.8-1.5c1.8-1.6-0.6 0.3 1.2-0.9 2-1.5 4.1-2.9 6.2-4.3 10-6.5 20.4-12.4 30.9-18 6.5-3.5 13.1-7 19.7-10.4 9.6-5 0.8-20.1-9.2-15zM323.1 408.5c15.9 8.1 31.7 16.5 46.8 26 2.2 1.4 4.3 2.8 6.5 4.2 1 0.7 1.9 1.3 2.8 2 0.5 0.3 1 0.7 1.4 1.1-1.1-0.9-0.3-0.3 0.3 0.3 1.1 1 2.2 2.2 3.3 3.1 1.4 1.1-1-1.7-0.1-0.1-0.6-1.1-0.9-4.1 0.3-6.7 2.2-4.8 0.7 0.1 0-0.5 0 0-1.1 0.9-1.3 1 2.3-1.9 0 0-0.5 0.4-0.8 0.5-1.5 1.1-2.3 1.6-4 2.7-8.1 5.1-12.3 7.5-17.3 10-35.1 19.1-52.8 28.2-10 5.1-1.2 20.2 8.8 15.1 17.5-9 35-17.9 52-27.7 7.3-4.2 15.9-8.6 21.8-14.7 9.3-9.7-4.3-19.7-11.5-24.7-10.1-7.1-20.9-13.1-31.7-19-7.6-4.2-15.2-8.2-22.9-12.1-9.7-5.2-18.6 9.9-8.6 15zM513 592.1c-12.2 0-24.6-1.4-36.3-4.3-8-2-13.9-8.2-15.4-16.2s1.7-15.8 8.4-20.5c23.2-16.3 60.5-31.9 106.2-13 6.4 2.6 11 8.3 12.3 15.1 1.3 6.7-0.8 13.6-5.7 18.3-13.5 13.1-40.9 20.6-69.5 20.6z m-37.4-32.5c-3.4 2.4-4.9 6.2-4.2 10.2 0.8 4.1 3.6 7.1 7.7 8.1 39.1 9.7 81.2 0.7 96.1-13.7 2.4-2.3 3.4-5.6 2.7-8.9-0.7-3.4-2.9-6.2-6.1-7.5-41.2-17.2-75.1-3.1-96.2 11.8z" fill="#040000" ></path></svg>`
|
|
13873
14375
|
},
|
|
13874
14376
|
{
|
|
13875
14377
|
name: "17",
|
|
13876
|
-
icon: `<svg
|
|
14378
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M1008.6 465.7c0-124.9-95.5-226.2-213.4-226.2-12 0-23.8 1.1-35.2 3.1v-3.1c0-124.9-95.5-226.2-213.4-226.2S333.4 114.6 333.4 239.5c0 2.4 0 4.8 0.1 7.2-17.1-4.7-35-7.2-53.4-7.2-117.8 0-213.4 101.3-213.4 226.2 0 92.1 51.9 171.3 126.3 206.6-13.7 29.9-21.4 63.4-21.4 98.8 0 124.9 95.5 226.2 213.4 226.2 68.8 0 130-34.5 169-88.1 39 53.6 100.2 88.1 169 88.1 117.8 0 213.4-101.3 213.4-226.2 0-41.2-10.4-79.9-28.6-113.1 60.5-39.9 100.8-111.1 100.8-192.3z" fill="#8CC66D" ></path><path d="M437.8 400.7m-24.7 0a24.7 24.7 0 1 0 49.4 0 24.7 24.7 0 1 0-49.4 0Z" fill="#040000" ></path><path d="M649.7 400.7m-24.7 0a24.7 24.7 0 1 0 49.4 0 24.7 24.7 0 1 0-49.4 0Z" fill="#040000" ></path><path d="M527.3 625.9c6.3-14.2 13.1-28.3 17.9-43 6.2-19 8.3-38.6 10.5-58.3l2.1-19.2c0.7-6.2-9-6.1-9.7 0-1.7 16.3-2.8 32.8-5.7 48.9-4.2 23.7-13.8 45-23.5 66.7-2.5 5.6 5.9 10.5 8.4 4.9z" fill="#252525" ></path><path d="M447.7 522.3c20.3-0.1 40.6-0.2 61-0.4l96.6-0.6c7.5 0 14.9-0.1 22.4-0.1 16.6-0.1 16.7-25.9 0-25.8-20.3 0.1-40.6 0.2-61 0.4l-96.6 0.6c-7.5 0-14.9 0.1-22.4 0.1-16.6 0.1-16.7 25.9 0 25.8z" fill="#040000" ></path><path d="M495.4 508.2c-10.3 3.8-9.2 20.9-9.2 29.5 0.1 16 2.1 32.3 6.1 47.8 3.5 13.7 8.7 29.9 20.6 38.7 12.9 9.5 27.6 2.1 37.6-7.9 10.2-10.3 17.8-23 24.7-35.6 11.6-21.3 20.9-43.8 29.7-66.4 3-7.8-9.5-11.1-12.5-3.4-7.4 19.1-15.3 38.1-24.7 56.4-5.9 11.5-12.2 23-20.3 33.1-2.8 3.5-5.8 6.9-9.2 9.8-1.9 1.7-1.4 1.3-3.3 2.5-1.3 0.8-2.6 1.6-3.9 2.2-0.7 0.3 1-0.2-0.8 0.3-0.6 0.2-1.2 0.3-1.8 0.5-1.1 0.3-1.2 0.2-0.5 0.1-0.6 0-1.3 0-1.9 0.1-2.2 0.1 0.6 0.5-1.8-0.2l-1.8-0.6c1.5 0.5 0.2 0.1-0.5-0.3-0.8-0.5-2.9-2.1-1.7-1.1-1-0.9-2-1.7-2.8-2.7-0.4-0.5-0.9-1-1.3-1.5 0.4 0.5 0.1 0.2-0.5-0.7-0.8-1.3-1.7-2.5-2.4-3.9-0.7-1.3-1.4-2.5-2-3.8-0.4-0.8-0.8-1.6-1.1-2.4-0.1-0.2-0.5-1.1 0 0l-0.6-1.5a86.8 86.8 0 0 1-3.3-9.8c-4.4-14.9-6.2-27.9-6.8-42.8-0.3-6.6-0.3-13.1 0.4-19.7 0.2-1.5-0.3 1.5 0.1-0.5l0.3-1.8c0.2-0.9 0.5-1.8 0.7-2.8 0.4-1.9-0.7 1.1 0.3-0.7 0.5-1-1.3 1.2-0.3 0.5-0.3 0.3-1.1 0.8-2 1.1 7.7-2.9 4.3-15.4-3.5-12.5z" fill="#040000" ></path></svg>`
|
|
13877
14379
|
},
|
|
13878
14380
|
{
|
|
13879
14381
|
name: "18",
|
|
13880
|
-
icon: `<svg
|
|
14382
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M75.4 739.8c-78.7-134.4-194-455.7 401.4-579.6 9.8-2 19.2-6.2 29.2-7.5C656.8 133 947.3 205 1000.1 578.4c42.6 223.8 29.7 392.1-822 233.6-43.1-8-80.6-34.4-102.7-72.2z" fill="#F09495" ></path><path d="M704.6 875.4c-129 0-301.8-20.5-526.6-62.3-43.5-8.1-81.2-34.6-103.5-72.7-19.3-32.9-44.8-84.3-57.1-142.5-13.9-65.1-8.8-125.3 15.1-179.2 54.3-122.3 203.7-209.6 444-259.6 4.1-0.9 8.3-2.1 12.3-3.4 5.5-1.7 11.1-3.4 16.9-4.2 29-3.8 75.7-5.9 133.8 5.7 54.5 10.9 105.3 31 150.8 59.9C843.7 251 888.2 296 922.7 351c39.7 63.1 66.1 139.6 78.5 227.3 8.1 42.4 15.2 87.3 12.5 127.9-2.8 42.6-16.4 75.5-41.5 100.7-42.5 42.7-120.3 65-237.8 68.1-9.6 0.2-19.6 0.4-29.8 0.4zM76.3 739.3c22 37.6 59.2 63.7 102.1 71.7 242.5 45.1 424.4 65.3 556.1 61.9 116.9-3.1 194.1-25.2 236.3-67.5 55.4-55.6 44.4-142.5 28.3-226.7C976 415.8 903.4 291.5 789.2 219c-124-78.7-248.1-69.9-283.2-65.3-5.6 0.7-11.2 2.4-16.6 4.1-4.1 1.2-8.3 2.5-12.5 3.4C237.3 211.1 88.5 298 34.5 419.6c-54.6 122.8 2.8 253 41.8 319.7z" fill="#FFFFFF" ></path><path d="M424.1 442.5m-24.7 0a24.7 24.7 0 1 0 49.4 0 24.7 24.7 0 1 0-49.4 0Z" fill="#040000" ></path><path d="M635.9 442.5m-24.7 0a24.7 24.7 0 1 0 49.4 0 24.7 24.7 0 1 0-49.4 0Z" fill="#040000" ></path><path d="M426.2 543.3c17.1 7.9 36.6 26 25.5 46.1-6.9 12.5-19.8 21.2-31.7 28.4-4.5 2.7-0.4 9.8 4.1 7.1 17.4-10.5 41.6-27.6 39-51.1-1.6-14-12.4-24.8-23.5-32.3-3-2-6.1-3.9-9.3-5.4-4.8-2.1-8.9 5-4.1 7.2zM629.5 535.4c-21.8 11.7-40.6 37-25.7 61.3 8.2 13.4 22.2 22.7 35.7 30.3 4.7 2.7 8.9-4.6 4.2-7.2-15.5-8.7-39.9-23.9-36.9-45.2 1.6-11.4 10.7-20.7 19.6-27.2 2.4-1.7 4.8-3.4 7.4-4.8 4.7-2.5 0.4-9.8-4.3-7.2z" fill="#040000" ></path><path d="M457.2 584.6c25.6 25.6 66.7 41 101.8 28.3 18.2-6.6 33.2-19.1 45.5-33.8 4.2-5.1-3-12.4-7.3-7.3-18.5 22-43.3 38.1-73 35-18.6-1.9-36.2-10.8-50.9-22-2.9-2.2-6.1-4.8-8.8-7.5-4.7-4.7-12 2.6-7.3 7.3z" fill="#040000" ></path></svg>`
|
|
13881
14383
|
},
|
|
13882
14384
|
{
|
|
13883
14385
|
name: "19",
|
|
13884
|
-
icon: `<svg
|
|
14386
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M915.9 510.5c8.4-19 13.1-39.8 13.1-61.7 0-90-78.9-162.9-176.2-162.9-3.2 0-6.3 0.1-9.5 0.2v-0.2c0-94.8-116.2-171.6-259.6-171.6S224 191.2 224 286v2c-96.2 0-174.1 72-174.1 160.9 0 38 14.3 73 38.2 100.5-41.8 29.4-68.8 75.9-68.8 128.2 0 88.9 78 160.9 174.1 160.9 17.1 0 33.6-2.3 49.3-6.5 28.9 46.1 88.7 77.7 157.6 77.7 49.4 0 94-16.2 126-42.3 32 26.1 76.6 42.3 126 42.3 77.3 0 143-39.7 166.7-95 3.1 0.2 6.3 0.2 9.5 0.2 97.3 0 176.2-72.9 176.2-162.9 0-60.6-35.7-113.4-88.8-141.5z" fill="#5A74B8" ></path><path d="M357.6 449.5a46.6 73.2 0 1 0 93.2 0 46.6 73.2 0 1 0-93.2 0Z" fill="#FEFEFD" ></path><path d="M357.5 449.5a25.1 39.4 0 1 0 50.2 0 25.1 39.4 0 1 0-50.2 0Z" fill="#040000" ></path><path d="M531.3 449.5a46.6 73.2 0 1 0 93.2 0 46.6 73.2 0 1 0-93.2 0Z" fill="#FEFEFD" ></path><path d="M531.2 449.5a25.1 39.4 0 1 0 50.2 0 25.1 39.4 0 1 0-50.2 0Z" fill="#040000" ></path><path d="M426.7 574.6c20.9 29.9 59.7 52.2 96.2 38.6 19.2-7.2 34.7-21.2 47.6-36.9 2.8-3.5 3.4-8.3 0-11.7-2.9-2.9-8.9-3.5-11.7 0-16.5 20.2-40.9 40.9-68.1 35.5-17.3-3.4-31-13.2-42.9-25.9-2-2.2-3.9-4.4-5.8-6.7-1.6-1.9 1.1 1.5-0.4-0.6-0.2-0.2-0.3-0.5-0.5-0.7-6.2-8.7-20.6-0.4-14.4 8.4z" fill="#040000" ></path></svg>`
|
|
13885
14387
|
},
|
|
13886
14388
|
{
|
|
13887
14389
|
name: "20",
|
|
13888
|
-
icon: `<svg
|
|
14390
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M792.8 301.4c-8.2 0-16.2 0.4-24.2 1.3-12.3-81.8-129.2-145.9-271.8-145.9-137.1 0-250.5 59.3-269.9 136.6C105.3 295.5 7.4 391.2 7.4 508.9c0 119.1 100.2 215.6 223.7 215.6 5.3 0 10.6-0.2 15.8-0.5 14.4 80.5 130.4 143.2 271.3 143.2 135.9 0 248.6-58.3 269.4-134.6 1.7 0 3.4 0.1 5.1 0.1 123.6 0 223.7-96.5 223.7-215.6s-100-215.7-223.6-215.7z" fill="#F6CD50" ></path><path d="M435.9 431.5m-52.2 0a52.2 52.2 0 1 0 104.4 0 52.2 52.2 0 1 0-104.4 0Z" fill="#FAFAFA" ></path><path d="M588.1 431.5m-52.2 0a52.2 52.2 0 1 0 104.4 0 52.2 52.2 0 1 0-104.4 0Z" fill="#FAFAFA" ></path><path d="M435.9 431.5m-27.8 0a27.8 27.8 0 1 0 55.6 0 27.8 27.8 0 1 0-55.6 0Z" fill="#040000" ></path><path d="M601.9 407.4c-5.7 2.9-11.3 5.9-16.9 9-6.8 3.8-15.3 7.8-20.5 13.8-5.6 6.5 1.6 11.1 6.7 14.4 11.2 7.1 23.3 13 35.1 19 5.7 2.9 10.8-5.7 5.1-8.6-10.9-5.6-21.9-11.1-32.4-17.4-2.4-1.4-4.6-3.1-7-4.6 1 0.6-0.4-0.4-0.4-0.4-1.9-0.3-0.5 4.2 0.5 4.1-0.1 0-0.6 0.3 0.3-0.3 0.5-0.3 1-0.9 1.5-1.3 9.7-7.9 21.9-13.5 33.1-19.2 5.7-2.7 0.6-11.4-5.1-8.5zM406.6 547.6c11.5 14.4 27 26.7 42.7 36.3 32.2 19.8 71.2 27.2 107.6 15.4 29.5-9.6 54.6-29.1 75.5-51.6 10.8-11.6-6.6-29.1-17.5-17.5-9.4 10.1-19.5 19.7-30.8 27.7-4.6 3.2-9.3 6.2-14.2 8.9-5 2.8-9.9 5.1-14.1 6.7-4.6 1.7-9.3 3.2-14.1 4.4-2.2 0.5-4.4 1-6.6 1.4-1 0.2-2 0.3-2.9 0.5 2.6-0.4-2.1 0.2-2.5 0.3-4.1 0.4-8.3 0.5-12.5 0.4-2.2-0.1-4.4-0.2-6.6-0.4-1.1-0.1-2.2-0.2-3.2-0.3-1.5-0.2-1.4-0.2 0.1 0l-2.1-0.3c-7.8-1.3-15.4-3.4-22.8-6.2-0.9-0.4-1.8-0.7-2.8-1.1-3.1-1.2 2.3 1.1-0.7-0.3-1.5-0.7-2.9-1.3-4.4-2-3.7-1.8-7.2-3.7-10.8-5.8-5.7-3.4-11.1-7.1-16.4-11.1 3 2.3-1.1-0.9-1.8-1.5-1.1-0.9-2.1-1.7-3.1-2.6-2.1-1.8-4.2-3.7-6.3-5.6-4.4-4.1-8.7-8.4-12.4-13.1-4.2-5.2-13.1-4.3-17.5 0-5 5.1-4 12.2 0.2 17.4z" fill="#040000" ></path></svg>`
|
|
13889
14391
|
}
|
|
13890
14392
|
]
|
|
13891
14393
|
},
|
|
@@ -13895,95 +14397,95 @@ const nodeIconList = [
|
|
|
13895
14397
|
list: [
|
|
13896
14398
|
{
|
|
13897
14399
|
name: "1",
|
|
13898
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M809.728 429.696a18.901333 18.901333 0 0 0-15.274667-12.885333l-183.466666-26.624-81.92-166.272a18.901333 18.901333 0 0 0-34.005334 0l-81.92 166.272-183.594666 26.624a19.029333 19.029333 0 0 0-10.496 32.298666l132.693333 129.536-31.274667 182.741334a18.816 18.816 0 0 0 27.477334 19.84l164.138666-86.186667 164.096 86.058667a18.773333 18.773333 0 1 0 27.434667-19.84l-31.36-182.741334 132.693333-129.408a18.901333 18.901333 0 0 0 4.778667-19.413333z" fill="#FFFFFF"></path></svg>`
|
|
14400
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M809.728 429.696a18.901333 18.901333 0 0 0-15.274667-12.885333l-183.466666-26.624-81.92-166.272a18.901333 18.901333 0 0 0-34.005334 0l-81.92 166.272-183.594666 26.624a19.029333 19.029333 0 0 0-10.496 32.298666l132.693333 129.536-31.274667 182.741334a18.816 18.816 0 0 0 27.477334 19.84l164.138666-86.186667 164.096 86.058667a18.773333 18.773333 0 1 0 27.434667-19.84l-31.36-182.741334 132.693333-129.408a18.901333 18.901333 0 0 0 4.778667-19.413333z" fill="#FFFFFF"></path></svg>`
|
|
13899
14401
|
},
|
|
13900
14402
|
{
|
|
13901
14403
|
name: "2",
|
|
13902
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M644.565333 306.901333c32.128 0 65.834667-5.76 101.077334-17.237333a17.066667 17.066667 0 0 1 22.357333 16.213333v328.32c-1.109333 0.768 10.325333 27.093333-99.370667 19.84-109.653333-7.210667-181.76-45.098667-246.869333-45.098666-65.152 0-49.322667 2.688-74.154667 8.405333v168.064a24.746667 24.746667 0 0 1-24.490666 25.258667 22.528 22.528 0 0 1-17.28-7.253334 24.149333 24.149333 0 0 1-7.168-18.005333V281.258667C299.776 280.490667 328.106667 256 421.76 256s164.437333 50.901333 222.805333 50.901333z" fill="#FFFFFF"></path></svg>`
|
|
14404
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M644.565333 306.901333c32.128 0 65.834667-5.76 101.077334-17.237333a17.066667 17.066667 0 0 1 22.357333 16.213333v328.32c-1.109333 0.768 10.325333 27.093333-99.370667 19.84-109.653333-7.210667-181.76-45.098667-246.869333-45.098666-65.152 0-49.322667 2.688-74.154667 8.405333v168.064a24.746667 24.746667 0 0 1-24.490666 25.258667 22.528 22.528 0 0 1-17.28-7.253334 24.149333 24.149333 0 0 1-7.168-18.005333V281.258667C299.776 280.490667 328.106667 256 421.76 256s164.437333 50.901333 222.805333 50.901333z" fill="#FFFFFF"></path></svg>`
|
|
13903
14405
|
},
|
|
13904
14406
|
{
|
|
13905
14407
|
name: "3",
|
|
13906
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M524.074667 225.408l274.517333 274.517333a17.066667 17.066667 0 0 1 0 24.149334l-274.517333 274.517333a17.066667 17.066667 0 0 1-24.149334 0l-274.517333-274.517333a17.066667 17.066667 0 0 1 0-24.149334l274.517333-274.517333a17.066667 17.066667 0 0 1 24.149334 0z" fill="#FFFFFF"></path></svg>`
|
|
14408
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M524.074667 225.408l274.517333 274.517333a17.066667 17.066667 0 0 1 0 24.149334l-274.517333 274.517333a17.066667 17.066667 0 0 1-24.149334 0l-274.517333-274.517333a17.066667 17.066667 0 0 1 0-24.149334l274.517333-274.517333a17.066667 17.066667 0 0 1 24.149334 0z" fill="#FFFFFF"></path></svg>`
|
|
13907
14409
|
},
|
|
13908
14410
|
{
|
|
13909
14411
|
name: "4",
|
|
13910
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M317.866667 300.8h388.266666c9.386667 0 17.066667 7.68 17.066667 17.066667v388.266666a17.066667 17.066667 0 0 1-17.066667 17.066667h-388.266666a17.066667 17.066667 0 0 1-17.066667-17.066667v-388.266666c0-9.386667 7.68-17.066667 17.066667-17.066667z" fill="#FFFFFF"></path></svg>`
|
|
14412
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M317.866667 300.8h388.266666c9.386667 0 17.066667 7.68 17.066667 17.066667v388.266666a17.066667 17.066667 0 0 1-17.066667 17.066667h-388.266666a17.066667 17.066667 0 0 1-17.066667-17.066667v-388.266666c0-9.386667 7.68-17.066667 17.066667-17.066667z" fill="#FFFFFF"></path></svg>`
|
|
13911
14413
|
},
|
|
13912
14414
|
{
|
|
13913
14415
|
name: "5",
|
|
13914
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M498.346667 279.082667L248.789333 701.44a15.829333 15.829333 0 0 0 13.653334 23.893333h499.114666a15.829333 15.829333 0 0 0 13.653334-23.893333l-249.6-422.357333a15.829333 15.829333 0 0 0-27.264 0z" fill="#FFFFFF"></path></svg>`
|
|
14416
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M498.346667 279.082667L248.789333 701.44a15.829333 15.829333 0 0 0 13.653334 23.893333h499.114666a15.829333 15.829333 0 0 0 13.653334-23.893333l-249.6-422.357333a15.829333 15.829333 0 0 0-27.264 0z" fill="#FFFFFF"></path></svg>`
|
|
13915
14417
|
},
|
|
13916
14418
|
{
|
|
13917
14419
|
name: "6",
|
|
13918
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M497.749333 798.549333l-31.445333-28.501333C313.941333 631.722667 213.333333 540.501333 213.333333 428.8a160.981333 160.981333 0 0 1 162.730667-162.730667c51.498667 0 100.906667 23.978667 133.12 61.696a177.536 177.536 0 0 1 133.162667-61.696 160.981333 160.981333 0 0 1 162.730666 162.730667c0 111.701333-100.608 202.965333-252.970666 341.333333l-31.445334 28.458667a17.066667 17.066667 0 0 1-22.912 0z" fill="#FFFFFF"></path><path d="M634.538667 487.808L555.050667 426.24 507.306667 256a201.002667 201.002667 0 0 0-23.594667 20.394667l-0.256-0.256L525.653333 426.666667l-133.290666 59.946666a14.08 14.08 0 0 0-8.021334 15.957334l28.757334 126.378666a14.208 14.208 0 0 0 27.733333-6.229333l-26.24-115.114667 126.037333-56.704 76.416 59.136a14.250667 14.250667 0 0 0 19.968-2.474666 14.08 14.08 0 0 0-2.474666-19.797334z" fill="#6D768D"></path></svg>`
|
|
14420
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M497.749333 798.549333l-31.445333-28.501333C313.941333 631.722667 213.333333 540.501333 213.333333 428.8a160.981333 160.981333 0 0 1 162.730667-162.730667c51.498667 0 100.906667 23.978667 133.12 61.696a177.536 177.536 0 0 1 133.162667-61.696 160.981333 160.981333 0 0 1 162.730666 162.730667c0 111.701333-100.608 202.965333-252.970666 341.333333l-31.445334 28.458667a17.066667 17.066667 0 0 1-22.912 0z" fill="#FFFFFF"></path><path d="M634.538667 487.808L555.050667 426.24 507.306667 256a201.002667 201.002667 0 0 0-23.594667 20.394667l-0.256-0.256L525.653333 426.666667l-133.290666 59.946666a14.08 14.08 0 0 0-8.021334 15.957334l28.757334 126.378666a14.208 14.208 0 0 0 27.733333-6.229333l-26.24-115.114667 126.037333-56.704 76.416 59.136a14.250667 14.250667 0 0 0 19.968-2.474666 14.08 14.08 0 0 0-2.474666-19.797334z" fill="#6D768D"></path></svg>`
|
|
13919
14421
|
},
|
|
13920
14422
|
{
|
|
13921
14423
|
name: "7",
|
|
13922
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M497.749333 798.549333l-31.445333-28.501333C313.941333 631.722667 213.333333 540.501333 213.333333 428.8a160.981333 160.981333 0 0 1 162.730667-162.730667c51.498667 0 100.906667 23.978667 133.12 61.696a177.536 177.536 0 0 1 133.162667-61.696 160.981333 160.981333 0 0 1 162.730666 162.730667c0 111.701333-100.608 202.965333-252.970666 341.333333l-31.445334 28.458667a17.066667 17.066667 0 0 1-22.912 0z" fill="#FFFFFF"></path></svg>`
|
|
14424
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M497.749333 798.549333l-31.445333-28.501333C313.941333 631.722667 213.333333 540.501333 213.333333 428.8a160.981333 160.981333 0 0 1 162.730667-162.730667c51.498667 0 100.906667 23.978667 133.12 61.696a177.536 177.536 0 0 1 133.162667-61.696 160.981333 160.981333 0 0 1 162.730666 162.730667c0 111.701333-100.608 202.965333-252.970666 341.333333l-31.445334 28.458667a17.066667 17.066667 0 0 1-22.912 0z" fill="#FFFFFF"></path></svg>`
|
|
13923
14425
|
},
|
|
13924
14426
|
{
|
|
13925
14427
|
name: "8",
|
|
13926
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M374.656 273.194667c5.973333 4.48 12.117333 9.6 18.346667 15.36 6.272 5.717333 11.904 12.373333 16.896 19.84 2.517333 4.010667 5.504 8.490667 9.002666 13.482666a529.493333 529.493333 0 0 1 20.266667 32.213334h155.221333a169.813333 169.813333 0 0 0 9.770667-15.744c2.474667-4.48 5.248-8.96 8.234667-13.482667a460.842667 460.842667 0 0 1 23.253333-31.829333c4.992-6.229333 12.245333-12.373333 21.76-18.346667a34.261333 34.261333 0 0 0 10.112-9.728 31.274667 31.274667 0 0 0 5.248-11.989333 18.56 18.56 0 0 0-1.536-11.605334 17.664 17.664 0 0 0-10.112-8.618666c-4.48-1.493333-8.362667-2.005333-11.605333-1.493334a46.933333 46.933333 0 0 0-9.770667 2.602667c-3.242667 1.28-6.613333 2.645333-10.112 4.138667a32.426667 32.426667 0 0 1-12.757333 2.261333 26.026667 26.026667 0 0 1-12.373334-2.645333 45.653333 45.653333 0 0 1-8.96-6.357334l-8.661333-7.850666a30.336 30.336 0 0 0-11.989333-6.4c-9.984-3.968-18.005333-4.693333-24.021334-2.218667-5.973333 2.474667-11.946667 6.485333-17.962666 11.946667a88.618667 88.618667 0 0 1-11.989334 10.496 7.338667 7.338667 0 0 1-3.754666 1.493333 46.165333 46.165333 0 0 1-8.277334-5.205333 71.808 71.808 0 0 1-7.125333-4.906667 37.973333 37.973333 0 0 1-6.4-6.357333c-3.968-3.968-9.941333-6.613333-17.92-7.850667a31.061333 31.061333 0 0 0-21.76 4.138667c-8.533333 5.461333-14.506667 10.069333-18.048 13.824a29.354667 29.354667 0 0 1-15.744 7.893333 23.978667 23.978667 0 0 1-13.098667-0.768 987.733333 987.733333 0 0 0-14.634666-4.48 80.725333 80.725333 0 0 0-14.250667-2.986667 16.768 16.768 0 0 0-11.989333 2.986667c-6.997333 5.461333-9.258667 12.074667-6.741334 19.84a34.56 34.56 0 0 0 13.482667 18.346667z" fill="#FFFFFF"></path><path d="M780.757333 545.152a219.306667 219.306667 0 0 0-19.882666-65.536 224.981333 224.981333 0 0 0-33.365334-49.792 430.336 430.336 0 0 0-37.12-37.12c-14.506667-11.946667-27.264-23.296-38.272-34.048a544.512 544.512 0 0 1-27.733333-28.842667 305.28 305.28 0 0 1-22.485333-26.197333h-168.746667c-6.485333 8.490667-13.994667 17.493333-22.485333 26.965333a360.96 360.96 0 0 1-26.24 28.074667c-10.538667 10.24-22.272 21.12-35.285334 32.597333a305.493333 305.493333 0 0 0-41.6 44.16 250.026667 250.026667 0 0 0-49.493333 117.589334 216.106667 216.106667 0 0 0 1.877333 70.4 220.586667 220.586667 0 0 0 75.349334 126.549333c21.248 18.005333 47.146667 32.597333 77.653333 43.818667 30.464 11.264 65.493333 16.853333 104.96 16.853333 38.528 0 72.874667-4.864 103.125333-14.592a265.045333 265.045333 0 0 0 78.378667-39.338667c21.973333-16.469333 39.594667-35.797333 52.864-58.026666 13.226667-22.186667 22.101333-45.824 26.624-70.784 4.992-30.421333 5.632-58.026667 1.877333-82.773334z" fill="#FFFFFF"></path><path d="M593.322667 647.509333a20.48 20.48 0 0 1-11.861334 3.2h-50.133333v14.165334c0 4.266667-1.792 8.362667-5.376 12.373333a15.914667 15.914667 0 0 1-13.952 5.333333 24.917333 24.917333 0 0 1-14.336-3.882666c-3.84-2.602667-5.973333-7.210667-6.4-13.824v-14.165334h-48.725333a17.792 17.792 0 0 1-11.818667-3.882666 10.24 10.24 0 0 1-3.968-9.6c0-4.266667 1.578667-7.68 4.693333-10.24a16.768 16.768 0 0 1 11.093334-3.925334h48.682666v-24.789333h-48.682666a15.573333 15.573333 0 0 1-11.52-4.266667 13.525333 13.525333 0 0 1-4.266667-9.941333 15.36 15.36 0 0 1 4.693333-10.624 14.72 14.72 0 0 1 11.093334-4.949333h48.682666l0.725334-14.890667a1053.568 1053.568 0 0 1-40.832-42.538667l-10.752-9.898666a41.216 41.216 0 0 1-6.442667-11.690667c-1.92-4.992-0.938667-10.069333 2.858667-15.274667a13.653333 13.653333 0 0 1 15.786666-3.84c6.186667 2.090667 11.221333 4.821333 15.018667 8.106667 1.92 2.389333 5.248 5.888 10.026667 10.666667l15.061333 14.848 19.328 19.157333 22.186667-20.565333a987.605333 987.605333 0 0 1 29.397333-25.514667 21.162667 21.162667 0 0 1 14.293333-5.674667c5.290667 0 9.557333 2.133333 12.928 6.4 6.186667 7.082667 3.84 15.36-7.168 24.789334a179.072 179.072 0 0 0-12.885333 12.373333c-5.76 5.973333-11.52 11.733333-17.194667 17.408-6.698667 7.082667-14.08 14.378667-22.186666 21.973333v13.44h46.506666c6.698667 0 11.605333 1.536 14.72 4.608a14.165333 14.165333 0 0 1 4.650667 10.282667c0 4.266667-1.450667 7.936-4.309333 11.008-2.858667 3.029333-7.637333 4.352-14.336 3.84l-46.506667 0.768-0.768 24.064h45.866667c13.354667 0 20.053333 4.992 20.053333 14.933333 0.469333 4.693333-0.853333 8.106667-3.925333 10.24z" fill="#6D768D"></path></svg>`
|
|
14428
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M374.656 273.194667c5.973333 4.48 12.117333 9.6 18.346667 15.36 6.272 5.717333 11.904 12.373333 16.896 19.84 2.517333 4.010667 5.504 8.490667 9.002666 13.482666a529.493333 529.493333 0 0 1 20.266667 32.213334h155.221333a169.813333 169.813333 0 0 0 9.770667-15.744c2.474667-4.48 5.248-8.96 8.234667-13.482667a460.842667 460.842667 0 0 1 23.253333-31.829333c4.992-6.229333 12.245333-12.373333 21.76-18.346667a34.261333 34.261333 0 0 0 10.112-9.728 31.274667 31.274667 0 0 0 5.248-11.989333 18.56 18.56 0 0 0-1.536-11.605334 17.664 17.664 0 0 0-10.112-8.618666c-4.48-1.493333-8.362667-2.005333-11.605333-1.493334a46.933333 46.933333 0 0 0-9.770667 2.602667c-3.242667 1.28-6.613333 2.645333-10.112 4.138667a32.426667 32.426667 0 0 1-12.757333 2.261333 26.026667 26.026667 0 0 1-12.373334-2.645333 45.653333 45.653333 0 0 1-8.96-6.357334l-8.661333-7.850666a30.336 30.336 0 0 0-11.989333-6.4c-9.984-3.968-18.005333-4.693333-24.021334-2.218667-5.973333 2.474667-11.946667 6.485333-17.962666 11.946667a88.618667 88.618667 0 0 1-11.989334 10.496 7.338667 7.338667 0 0 1-3.754666 1.493333 46.165333 46.165333 0 0 1-8.277334-5.205333 71.808 71.808 0 0 1-7.125333-4.906667 37.973333 37.973333 0 0 1-6.4-6.357333c-3.968-3.968-9.941333-6.613333-17.92-7.850667a31.061333 31.061333 0 0 0-21.76 4.138667c-8.533333 5.461333-14.506667 10.069333-18.048 13.824a29.354667 29.354667 0 0 1-15.744 7.893333 23.978667 23.978667 0 0 1-13.098667-0.768 987.733333 987.733333 0 0 0-14.634666-4.48 80.725333 80.725333 0 0 0-14.250667-2.986667 16.768 16.768 0 0 0-11.989333 2.986667c-6.997333 5.461333-9.258667 12.074667-6.741334 19.84a34.56 34.56 0 0 0 13.482667 18.346667z" fill="#FFFFFF"></path><path d="M780.757333 545.152a219.306667 219.306667 0 0 0-19.882666-65.536 224.981333 224.981333 0 0 0-33.365334-49.792 430.336 430.336 0 0 0-37.12-37.12c-14.506667-11.946667-27.264-23.296-38.272-34.048a544.512 544.512 0 0 1-27.733333-28.842667 305.28 305.28 0 0 1-22.485333-26.197333h-168.746667c-6.485333 8.490667-13.994667 17.493333-22.485333 26.965333a360.96 360.96 0 0 1-26.24 28.074667c-10.538667 10.24-22.272 21.12-35.285334 32.597333a305.493333 305.493333 0 0 0-41.6 44.16 250.026667 250.026667 0 0 0-49.493333 117.589334 216.106667 216.106667 0 0 0 1.877333 70.4 220.586667 220.586667 0 0 0 75.349334 126.549333c21.248 18.005333 47.146667 32.597333 77.653333 43.818667 30.464 11.264 65.493333 16.853333 104.96 16.853333 38.528 0 72.874667-4.864 103.125333-14.592a265.045333 265.045333 0 0 0 78.378667-39.338667c21.973333-16.469333 39.594667-35.797333 52.864-58.026666 13.226667-22.186667 22.101333-45.824 26.624-70.784 4.992-30.421333 5.632-58.026667 1.877333-82.773334z" fill="#FFFFFF"></path><path d="M593.322667 647.509333a20.48 20.48 0 0 1-11.861334 3.2h-50.133333v14.165334c0 4.266667-1.792 8.362667-5.376 12.373333a15.914667 15.914667 0 0 1-13.952 5.333333 24.917333 24.917333 0 0 1-14.336-3.882666c-3.84-2.602667-5.973333-7.210667-6.4-13.824v-14.165334h-48.725333a17.792 17.792 0 0 1-11.818667-3.882666 10.24 10.24 0 0 1-3.968-9.6c0-4.266667 1.578667-7.68 4.693333-10.24a16.768 16.768 0 0 1 11.093334-3.925334h48.682666v-24.789333h-48.682666a15.573333 15.573333 0 0 1-11.52-4.266667 13.525333 13.525333 0 0 1-4.266667-9.941333 15.36 15.36 0 0 1 4.693333-10.624 14.72 14.72 0 0 1 11.093334-4.949333h48.682666l0.725334-14.890667a1053.568 1053.568 0 0 1-40.832-42.538667l-10.752-9.898666a41.216 41.216 0 0 1-6.442667-11.690667c-1.92-4.992-0.938667-10.069333 2.858667-15.274667a13.653333 13.653333 0 0 1 15.786666-3.84c6.186667 2.090667 11.221333 4.821333 15.018667 8.106667 1.92 2.389333 5.248 5.888 10.026667 10.666667l15.061333 14.848 19.328 19.157333 22.186667-20.565333a987.605333 987.605333 0 0 1 29.397333-25.514667 21.162667 21.162667 0 0 1 14.293333-5.674667c5.290667 0 9.557333 2.133333 12.928 6.4 6.186667 7.082667 3.84 15.36-7.168 24.789334a179.072 179.072 0 0 0-12.885333 12.373333c-5.76 5.973333-11.52 11.733333-17.194667 17.408-6.698667 7.082667-14.08 14.378667-22.186666 21.973333v13.44h46.506666c6.698667 0 11.605333 1.536 14.72 4.608a14.165333 14.165333 0 0 1 4.650667 10.282667c0 4.266667-1.450667 7.936-4.309333 11.008-2.858667 3.029333-7.637333 4.352-14.336 3.84l-46.506667 0.768-0.768 24.064h45.866667c13.354667 0 20.053333 4.992 20.053333 14.933333 0.469333 4.693333-0.853333 8.106667-3.925333 10.24z" fill="#6D768D"></path></svg>`
|
|
13927
14429
|
},
|
|
13928
14430
|
{
|
|
13929
14431
|
name: "9",
|
|
13930
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M512 213.333333l234.666667 341.333334h-128v213.333333h-213.333334v-213.333333h-128L512 213.333333z" fill="#FFFFFF"></path></svg>`
|
|
14432
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M512 213.333333l234.666667 341.333334h-128v213.333333h-213.333334v-213.333333h-128L512 213.333333z" fill="#FFFFFF"></path></svg>`
|
|
13931
14433
|
},
|
|
13932
14434
|
{
|
|
13933
14435
|
name: "10",
|
|
13934
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M533.333333 810.666667L298.666667 469.333333h128V256h213.333333v213.333333h128l-234.666667 341.333334z" fill="#FFFFFF"></path></svg>`
|
|
14436
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M533.333333 810.666667L298.666667 469.333333h128V256h213.333333v213.333333h128l-234.666667 341.333334z" fill="#FFFFFF"></path></svg>`
|
|
13935
14437
|
},
|
|
13936
14438
|
{
|
|
13937
14439
|
name: "11",
|
|
13938
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M213.333333 533.333333L554.666667 298.666667v128h213.333333v213.333333h-213.333333v128l-341.333334-234.666667z" fill="#FFFFFF"></path></svg>`
|
|
14440
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M213.333333 533.333333L554.666667 298.666667v128h213.333333v213.333333h-213.333333v128l-341.333334-234.666667z" fill="#FFFFFF"></path></svg>`
|
|
13939
14441
|
},
|
|
13940
14442
|
{
|
|
13941
14443
|
name: "12",
|
|
13942
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M810.666667 533.333333L469.333333 768v-128H256v-213.333333h213.333333V298.666667l341.333334 234.666666z" fill="#FFFFFF"></path></svg>`
|
|
14444
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M810.666667 533.333333L469.333333 768v-128H256v-213.333333h213.333333V298.666667l341.333334 234.666666z" fill="#FFFFFF"></path></svg>`
|
|
13943
14445
|
},
|
|
13944
14446
|
{
|
|
13945
14447
|
name: "13",
|
|
13946
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M0 512c0 282.752 229.248 512 512 512s512-229.248 512-512S794.752 0 512 0 0 229.248 0 512z" fill="#6D768D"></path><path d="M571.349333 508.586667l162.389334-162.346667a44.330667 44.330667 0 1 0-62.72-62.72l-162.389334 162.389333-162.517333-162.389333a44.330667 44.330667 0 1 0-62.72 62.72l162.389333 162.389333-162.389333 162.474667a44.330667 44.330667 0 1 0 62.72 62.72l162.389333-162.346667 162.389334 162.389334a44.330667 44.330667 0 1 0 62.72-62.72l-162.261334-162.56z" fill="#FFFFFF"></path></svg>`
|
|
14448
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M0 512c0 282.752 229.248 512 512 512s512-229.248 512-512S794.752 0 512 0 0 229.248 0 512z" fill="#6D768D"></path><path d="M571.349333 508.586667l162.389334-162.346667a44.330667 44.330667 0 1 0-62.72-62.72l-162.389334 162.389333-162.517333-162.389333a44.330667 44.330667 0 1 0-62.72 62.72l162.389333 162.389333-162.389333 162.474667a44.330667 44.330667 0 1 0 62.72 62.72l162.389333-162.346667 162.389334 162.389334a44.330667 44.330667 0 1 0 62.72-62.72l-162.261334-162.56z" fill="#FFFFFF"></path></svg>`
|
|
13947
14449
|
},
|
|
13948
14450
|
{
|
|
13949
14451
|
name: "14",
|
|
13950
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C233.386667 0 0 225.877333 0 512s225.877333 512 512 512 512-225.877333 512-512S790.613333 0 512 0z" fill="#6D768D"></path><path d="M726.144 311.210667l-277.333333 305.066666-124.8-124.8c-13.866667-13.866667-41.6-13.866667-55.466667 0-13.866667 13.866667-13.866667 41.6 0 55.466667l159.445333 152.533333c13.866667 13.866667 41.6 13.866667 55.466667 0l305.066667-332.8c13.866667-13.866667 13.866667-41.6 0-55.466666-20.778667-13.866667-48.512-13.866667-62.378667 0z" fill="#FFFFFF"></path></svg>`
|
|
14452
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C233.386667 0 0 225.877333 0 512s225.877333 512 512 512 512-225.877333 512-512S790.613333 0 512 0z" fill="#6D768D"></path><path d="M726.144 311.210667l-277.333333 305.066666-124.8-124.8c-13.866667-13.866667-41.6-13.866667-55.466667 0-13.866667 13.866667-13.866667 41.6 0 55.466667l159.445333 152.533333c13.866667 13.866667 41.6 13.866667 55.466667 0l305.066667-332.8c13.866667-13.866667 13.866667-41.6 0-55.466666-20.778667-13.866667-48.512-13.866667-62.378667 0z" fill="#FFFFFF"></path></svg>`
|
|
13951
14453
|
},
|
|
13952
14454
|
{
|
|
13953
14455
|
name: "15",
|
|
13954
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M541.952 755.626667a40.618667 40.618667 0 0 1-29.824 12.373333 41.344 41.344 0 0 1-30.122667-12.373333 40.106667 40.106667 0 0 1-12.672-30.122667c0-11.605333 4.096-21.845333 12.672-30.122667a40.405333 40.405333 0 0 1 30.122667-12.714666c11.605333 0 21.546667 4.138667 29.824 12.714666a40.32 40.32 0 0 1 12.714667 30.122667c0 11.861333-4.096 21.76-12.714667 30.122667zM450.986667 241.28A77.866667 77.866667 0 0 1 512.256 213.333333c24.874667 0 45.354667 8.917333 61.354667 27.946667 15.488 18.432 23.722667 41.685333 23.722666 69.674667 0 23.765333-33.152 200.533333-44.672 329.045333h-80.128C463.146667 511.402667 426.666667 334.677333 426.666667 310.954667c0-27.392 8.277333-50.645333 24.32-69.674667z" fill="#FFFFFF"></path></svg>`
|
|
14456
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M541.952 755.626667a40.618667 40.618667 0 0 1-29.824 12.373333 41.344 41.344 0 0 1-30.122667-12.373333 40.106667 40.106667 0 0 1-12.672-30.122667c0-11.605333 4.096-21.845333 12.672-30.122667a40.405333 40.405333 0 0 1 30.122667-12.714666c11.605333 0 21.546667 4.138667 29.824 12.714666a40.32 40.32 0 0 1 12.714667 30.122667c0 11.861333-4.096 21.76-12.714667 30.122667zM450.986667 241.28A77.866667 77.866667 0 0 1 512.256 213.333333c24.874667 0 45.354667 8.917333 61.354667 27.946667 15.488 18.432 23.722667 41.685333 23.722666 69.674667 0 23.765333-33.152 200.533333-44.672 329.045333h-80.128C463.146667 511.402667 426.666667 334.677333 426.666667 310.954667c0-27.392 8.277333-50.645333 24.32-69.674667z" fill="#FFFFFF"></path></svg>`
|
|
13955
14457
|
},
|
|
13956
14458
|
{
|
|
13957
14459
|
name: "16",
|
|
13958
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.794667 0 512 0z" fill="#6D768D"></path><path d="M490.666667 682.666667a64 64 0 1 1 0 128 64 64 0 0 1 0-128z m13.994666-490.752c61.397333 0 112.341333 14.634667 153.002667 43.946666 40.533333 29.269333 60.885333 72.618667 60.885333 130.133334 0 35.242667-12.373333 64.938667-29.952 89.045333-10.282667 14.677333-33.664 33.408-62.890666 56.192l-32.426667 22.357333c-15.701333 12.202667-29.696 26.453333-34.858667 42.666667-1.706667 5.546667-3.072 14.677333-3.968 24.533333-0.426667 4.949333-4.864 15.018667-15.232 15.018667h-83.328c-13.568 0-15.957333-10.581333-15.744-15.786667 1.493333-34.005333 4.608-64.213333 18.474667-80.469333 28.074667-32.896 91.904-73.813333 91.904-73.813333a104.106667 104.106667 0 0 0 23.552-24.021334c10.837333-14.933333 19.797333-31.317333 19.797333-49.237333 0-20.565333-6.016-39.338667-18.090666-56.32-12.032-16.938667-34.090667-25.386667-66.005334-25.386667-31.445333 0-53.76 10.410667-66.901333 31.274667-9.685333 15.445333-15.786667 29.610667-18.346667 45.013333-0.853333 5.461333-4.394667 16.981333-16.042666 16.981334H327.210667c-17.322667 0-21.12-11.221333-20.650667-16.64 6.272-68.138667 32.896-114.688 80-144.597334 32-20.565333 71.381333-30.890667 118.101333-30.890666z" fill="#FFFFFF"></path></svg>`
|
|
14460
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.794667 0 512 0z" fill="#6D768D"></path><path d="M490.666667 682.666667a64 64 0 1 1 0 128 64 64 0 0 1 0-128z m13.994666-490.752c61.397333 0 112.341333 14.634667 153.002667 43.946666 40.533333 29.269333 60.885333 72.618667 60.885333 130.133334 0 35.242667-12.373333 64.938667-29.952 89.045333-10.282667 14.677333-33.664 33.408-62.890666 56.192l-32.426667 22.357333c-15.701333 12.202667-29.696 26.453333-34.858667 42.666667-1.706667 5.546667-3.072 14.677333-3.968 24.533333-0.426667 4.949333-4.864 15.018667-15.232 15.018667h-83.328c-13.568 0-15.957333-10.581333-15.744-15.786667 1.493333-34.005333 4.608-64.213333 18.474667-80.469333 28.074667-32.896 91.904-73.813333 91.904-73.813333a104.106667 104.106667 0 0 0 23.552-24.021334c10.837333-14.933333 19.797333-31.317333 19.797333-49.237333 0-20.565333-6.016-39.338667-18.090666-56.32-12.032-16.938667-34.090667-25.386667-66.005334-25.386667-31.445333 0-53.76 10.410667-66.901333 31.274667-9.685333 15.445333-15.786667 29.610667-18.346667 45.013333-0.853333 5.461333-4.394667 16.981333-16.042666 16.981334H327.210667c-17.322667 0-21.12-11.221333-20.650667-16.64 6.272-68.138667 32.896-114.688 80-144.597334 32-20.565333 71.381333-30.890667 118.101333-30.890666z" fill="#FFFFFF"></path></svg>`
|
|
13959
14461
|
},
|
|
13960
14462
|
{
|
|
13961
14463
|
name: "17",
|
|
13962
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M336.256 410.026667H253.312a40.021333 40.021333 0 0 0-39.850667 43.264l23.296 278.101333c1.706667 20.693333 19.072 36.608 39.850667 36.608h59.648c11.050667 0 20.010667-8.96 20.010667-19.968v-318.037333a19.968 19.968 0 0 0-20.010667-19.968z m434.432 0h-178.944C653.312 182.314667 548.949333 170.666667 548.949333 170.666667c-44.288 0-35.114667 34.986667-38.442666 40.832 0 84.48-68.010667 155.093333-101.034667 184.362666a39.552 39.552 0 0 0-13.226667 29.653334v322.56c0 11.008 8.96 19.925333 20.010667 19.925333h233.728c30.378667 0 58.154667-17.152 71.68-44.373333 18.176-36.736 40.448-90.112 54.656-133.973334 13.781333-42.410667 26.24-94.976 33.578667-131.968a39.850667 39.850667 0 0 0-39.253334-47.658666z" fill="#FFFFFF"></path></svg>`
|
|
14464
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M336.256 410.026667H253.312a40.021333 40.021333 0 0 0-39.850667 43.264l23.296 278.101333c1.706667 20.693333 19.072 36.608 39.850667 36.608h59.648c11.050667 0 20.010667-8.96 20.010667-19.968v-318.037333a19.968 19.968 0 0 0-20.010667-19.968z m434.432 0h-178.944C653.312 182.314667 548.949333 170.666667 548.949333 170.666667c-44.288 0-35.114667 34.986667-38.442666 40.832 0 84.48-68.010667 155.093333-101.034667 184.362666a39.552 39.552 0 0 0-13.226667 29.653334v322.56c0 11.008 8.96 19.925333 20.010667 19.925333h233.728c30.378667 0 58.154667-17.152 71.68-44.373333 18.176-36.736 40.448-90.112 54.656-133.973334 13.781333-42.410667 26.24-94.976 33.578667-131.968a39.850667 39.850667 0 0 0-39.253334-47.658666z" fill="#FFFFFF"></path></svg>`
|
|
13963
14465
|
},
|
|
13964
14466
|
{
|
|
13965
14467
|
name: "18",
|
|
13966
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M796.16 413.909333c-31.146667-0.298667-115.626667-0.085333-146.858667-0.085333h-158.464c8.533333-7.68 15.914667-14.506667 23.594667-20.906667 29.781333-24.874667 25.813333-71.082667-14.208-88.874666-22.954667-10.24-44.970667-5.632-64 11.52-34.944 31.274667-69.632 62.677333-104.277333 93.994666a15.488 15.488 0 0 1-11.178667 4.437334c-11.221333-0.085333-26.88-0.128-46.933333-0.170667a17.066667 17.066667 0 0 0-17.109334 17.066667L256 719.701333a17.066667 17.066667 0 0 0 17.066667 17.152l49.578666-0.085333c3.968 0 7.466667 0.768 10.88 2.602667 15.829333 8.832 31.701333 17.493333 47.616 26.24a18.133333 18.133333 0 0 0 9.301334 2.346666h168.405333c6.186667 0 11.946667-0.981333 17.834667-2.56 29.44-7.253333 40.021333-30.293333 38.528-52.565333-0.768-9.728-4.266667-18.346667-9.984-26.24 19.626667-5.76 35.114667-16.213333 42.112-36.096 7.125333-20.394667 1.621333-38.4-12.672-53.333333 28.16-19.754667 34.858667-44.672 18.645333-75.648h140.458667c6.570667 0 13.013333-0.597333 19.370666-2.645334 31.957333-9.813333 48.810667-42.88 35.626667-71.552-10.154667-22.186667-28.629333-33.152-52.608-33.450666z" fill="#FFFFFF"></path></svg>`
|
|
14468
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M796.16 413.909333c-31.146667-0.298667-115.626667-0.085333-146.858667-0.085333h-158.464c8.533333-7.68 15.914667-14.506667 23.594667-20.906667 29.781333-24.874667 25.813333-71.082667-14.208-88.874666-22.954667-10.24-44.970667-5.632-64 11.52-34.944 31.274667-69.632 62.677333-104.277333 93.994666a15.488 15.488 0 0 1-11.178667 4.437334c-11.221333-0.085333-26.88-0.128-46.933333-0.170667a17.066667 17.066667 0 0 0-17.109334 17.066667L256 719.701333a17.066667 17.066667 0 0 0 17.066667 17.152l49.578666-0.085333c3.968 0 7.466667 0.768 10.88 2.602667 15.829333 8.832 31.701333 17.493333 47.616 26.24a18.133333 18.133333 0 0 0 9.301334 2.346666h168.405333c6.186667 0 11.946667-0.981333 17.834667-2.56 29.44-7.253333 40.021333-30.293333 38.528-52.565333-0.768-9.728-4.266667-18.346667-9.984-26.24 19.626667-5.76 35.114667-16.213333 42.112-36.096 7.125333-20.394667 1.621333-38.4-12.672-53.333333 28.16-19.754667 34.858667-44.672 18.645333-75.648h140.458667c6.570667 0 13.013333-0.597333 19.370666-2.645334 31.957333-9.813333 48.810667-42.88 35.626667-71.552-10.154667-22.186667-28.629333-33.152-52.608-33.450666z" fill="#FFFFFF"></path></svg>`
|
|
13967
14469
|
},
|
|
13968
14470
|
{
|
|
13969
14471
|
name: "19",
|
|
13970
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M270.506667 413.909333c31.146667-0.298667 115.626667-0.085333 146.858666-0.085333h158.464c-8.533333-7.68-15.914667-14.506667-23.594666-20.906667-29.781333-24.874667-25.813333-71.082667 14.208-88.874666 22.954667-10.24 44.970667-5.632 64 11.52 34.944 31.274667 69.632 62.677333 104.277333 93.994666 3.413333 2.986667 6.528 4.437333 11.178667 4.437334 11.221333-0.085333 26.88-0.128 46.933333-0.170667a17.066667 17.066667 0 0 1 17.109333 17.066667l0.682667 288.853333a17.066667 17.066667 0 0 1-17.066667 17.152l-49.578666-0.085333a22.101333 22.101333 0 0 0-10.88 2.602666c-15.829333 8.832-31.701333 17.493333-47.616 26.24a18.133333 18.133333 0 0 1-9.301334 2.346667h-168.405333a68.693333 68.693333 0 0 1-17.834667-2.56c-29.44-7.253333-40.021333-30.293333-38.528-52.565333 0.768-9.728 4.266667-18.346667 9.984-26.24-19.626667-5.76-35.114667-16.213333-42.112-36.096-7.125333-20.394667-1.621333-38.4 12.672-53.333334-28.16-19.754667-34.858667-44.672-18.645333-75.648H272.853333c-6.570667 0-13.013333-0.597333-19.370666-2.645333-31.957333-9.813333-48.810667-42.88-35.626667-71.552 10.154667-22.186667 28.629333-33.152 52.608-33.450667z" fill="#FFFFFF"></path></svg>`
|
|
14472
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M270.506667 413.909333c31.146667-0.298667 115.626667-0.085333 146.858666-0.085333h158.464c-8.533333-7.68-15.914667-14.506667-23.594666-20.906667-29.781333-24.874667-25.813333-71.082667 14.208-88.874666 22.954667-10.24 44.970667-5.632 64 11.52 34.944 31.274667 69.632 62.677333 104.277333 93.994666 3.413333 2.986667 6.528 4.437333 11.178667 4.437334 11.221333-0.085333 26.88-0.128 46.933333-0.170667a17.066667 17.066667 0 0 1 17.109333 17.066667l0.682667 288.853333a17.066667 17.066667 0 0 1-17.066667 17.152l-49.578666-0.085333a22.101333 22.101333 0 0 0-10.88 2.602666c-15.829333 8.832-31.701333 17.493333-47.616 26.24a18.133333 18.133333 0 0 1-9.301334 2.346667h-168.405333a68.693333 68.693333 0 0 1-17.834667-2.56c-29.44-7.253333-40.021333-30.293333-38.528-52.565333 0.768-9.728 4.266667-18.346667 9.984-26.24-19.626667-5.76-35.114667-16.213333-42.112-36.096-7.125333-20.394667-1.621333-38.4 12.672-53.333334-28.16-19.754667-34.858667-44.672-18.645333-75.648H272.853333c-6.570667 0-13.013333-0.597333-19.370666-2.645333-31.957333-9.813333-48.810667-42.88-35.626667-71.552 10.154667-22.186667 28.629333-33.152 52.608-33.450667z" fill="#FFFFFF"></path></svg>`
|
|
13971
14473
|
},
|
|
13972
14474
|
{
|
|
13973
14475
|
name: "20",
|
|
13974
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M667.733333 480.128H400v-111.36a97.706667 97.706667 0 0 1 97.621333-97.621333 97.706667 97.706667 0 0 1 97.578667 97.621333 28.885333 28.885333 0 0 0 57.813333 0A155.605333 155.605333 0 0 0 497.621333 213.333333a155.605333 155.605333 0 0 0-155.392 155.434667v111.36h-14.677333A28.885333 28.885333 0 0 0 298.666667 509.013333v292.010667a28.885333 28.885333 0 0 0 28.885333 28.885333h340.138667a28.885333 28.885333 0 0 0 28.928-28.885333V509.013333a28.885333 28.885333 0 0 0-28.928-28.885333z" fill="#FFFFFF"></path></svg>`
|
|
14476
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M667.733333 480.128H400v-111.36a97.706667 97.706667 0 0 1 97.621333-97.621333 97.706667 97.706667 0 0 1 97.578667 97.621333 28.885333 28.885333 0 0 0 57.813333 0A155.605333 155.605333 0 0 0 497.621333 213.333333a155.605333 155.605333 0 0 0-155.392 155.434667v111.36h-14.677333A28.885333 28.885333 0 0 0 298.666667 509.013333v292.010667a28.885333 28.885333 0 0 0 28.885333 28.885333h340.138667a28.885333 28.885333 0 0 0 28.928-28.885333V509.013333a28.885333 28.885333 0 0 0-28.928-28.885333z" fill="#FFFFFF"></path></svg>`
|
|
13975
14477
|
},
|
|
13976
14478
|
{
|
|
13977
14479
|
name: "21",
|
|
13978
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M400.042667 437.461333v-111.36a97.706667 97.706667 0 0 1 97.621333-97.621333 97.706667 97.706667 0 0 1 97.578667 97.621333 28.885333 28.885333 0 0 0 57.813333 0A155.605333 155.605333 0 0 0 497.621333 170.666667a155.605333 155.605333 0 0 0-155.392 155.434666v111.36h-14.677333A28.885333 28.885333 0 0 0 298.666667 466.346667v292.010666a28.885333 28.885333 0 0 0 28.885333 28.885334h340.138667a28.885333 28.885333 0 0 0 28.928-28.885334V466.346667a28.885333 28.885333 0 0 0-28.928-28.885334H400.042667z" fill="#FFFFFF"></path><path d="M595.242667 437.461333v-111.36a97.706667 97.706667 0 0 0-97.621334-97.621333 97.706667 97.706667 0 0 0-97.578666 97.621333 28.885333 28.885333 0 0 1-57.813334 0A155.605333 155.605333 0 0 1 497.621333 170.666667a155.605333 155.605333 0 0 1 155.434667 155.434666v111.36h14.634667c16 0 28.928 12.928 28.928 28.885334v292.010666a28.885333 28.885333 0 0 1-28.928 28.885334H327.552A28.885333 28.885333 0 0 1 298.666667 758.357333V466.346667c0-15.957333 12.928-28.885333 28.885333-28.885334h267.690667z" fill="#FFFFFF"></path></svg>`
|
|
14480
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M400.042667 437.461333v-111.36a97.706667 97.706667 0 0 1 97.621333-97.621333 97.706667 97.706667 0 0 1 97.578667 97.621333 28.885333 28.885333 0 0 0 57.813333 0A155.605333 155.605333 0 0 0 497.621333 170.666667a155.605333 155.605333 0 0 0-155.392 155.434666v111.36h-14.677333A28.885333 28.885333 0 0 0 298.666667 466.346667v292.010666a28.885333 28.885333 0 0 0 28.885333 28.885334h340.138667a28.885333 28.885333 0 0 0 28.928-28.885334V466.346667a28.885333 28.885333 0 0 0-28.928-28.885334H400.042667z" fill="#FFFFFF"></path><path d="M595.242667 437.461333v-111.36a97.706667 97.706667 0 0 0-97.621334-97.621333 97.706667 97.706667 0 0 0-97.578666 97.621333 28.885333 28.885333 0 0 1-57.813334 0A155.605333 155.605333 0 0 1 497.621333 170.666667a155.605333 155.605333 0 0 1 155.434667 155.434666v111.36h14.634667c16 0 28.928 12.928 28.928 28.885334v292.010666a28.885333 28.885333 0 0 1-28.928 28.885334H327.552A28.885333 28.885333 0 0 1 298.666667 758.357333V466.346667c0-15.957333 12.928-28.885333 28.885333-28.885334h267.690667z" fill="#FFFFFF"></path></svg>`
|
|
13979
14481
|
},
|
|
13980
14482
|
{
|
|
13981
14483
|
name: "22",
|
|
13982
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M511.999787 512.000213m-511.999787 0a511.999787 511.999787 0 1 0 1023.999573 0 511.999787 511.999787 0 1 0-1023.999573 0Z" fill="#6D768D"></path><path d="M381.354508 364.586941c0 54.015977 29.013321 103.935957 75.946635 130.986613a152.53327 152.53327 0 0 0 151.935936 0 151.12527 151.12527 0 0 0 75.946636-130.986613A151.594604 151.594604 0 0 0 533.333111 213.333671a151.594604 151.594604 0 0 0-151.89327 151.25327zM660.479725 498.901552a185.258589 185.258589 0 0 1-127.146614 50.346646c-49.066646 0-93.866628-19.199992-127.06128-50.346646C317.141201 544.853533 255.999893 637.440161 255.999893 744.106783c0 13.183995 10.709329 23.850657 23.978657 23.850657h506.709122a23.893323 23.893323 0 0 0 23.978657-23.893323c0-106.538622-61.098641-199.25325-150.186604-245.205232z" fill="#FFFFFF"></path></svg>`
|
|
14484
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M511.999787 512.000213m-511.999787 0a511.999787 511.999787 0 1 0 1023.999573 0 511.999787 511.999787 0 1 0-1023.999573 0Z" fill="#6D768D"></path><path d="M381.354508 364.586941c0 54.015977 29.013321 103.935957 75.946635 130.986613a152.53327 152.53327 0 0 0 151.935936 0 151.12527 151.12527 0 0 0 75.946636-130.986613A151.594604 151.594604 0 0 0 533.333111 213.333671a151.594604 151.594604 0 0 0-151.89327 151.25327zM660.479725 498.901552a185.258589 185.258589 0 0 1-127.146614 50.346646c-49.066646 0-93.866628-19.199992-127.06128-50.346646C317.141201 544.853533 255.999893 637.440161 255.999893 744.106783c0 13.183995 10.709329 23.850657 23.978657 23.850657h506.709122a23.893323 23.893323 0 0 0 23.978657-23.893323c0-106.538622-61.098641-199.25325-150.186604-245.205232z" fill="#FFFFFF"></path></svg>`
|
|
13983
14485
|
},
|
|
13984
14486
|
{
|
|
13985
14487
|
name: "23",
|
|
13986
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M445.610667 401.578667a129.322667 129.322667 0 1 0 258.645333 0 129.322667 129.322667 0 0 0-258.645333 0z m237.568 114.901333a157.354667 157.354667 0 0 1-216.362667 0 236.373333 236.373333 0 0 0-127.957333 209.706667c0 11.264 9.130667 20.394667 20.394666 20.394666h431.402667a20.394667 20.394667 0 0 0 20.394667-20.394666 236.373333 236.373333 0 0 0-127.872-209.706667zM409.813333 401.578667c0-40.362667 14.592-77.397333 38.698667-106.112a112.725333 112.725333 0 0 0-29.013333-3.925334 112.64 112.64 0 0 0-112.426667 112.469334 112.64 112.64 0 0 0 144.853333 107.648 164.693333 164.693333 0 0 1-42.112-110.08z m-18.602666 136.704a136.533333 136.533333 0 0 1-65.706667-34.474667 205.44 205.44 0 0 0-111.232 182.4c0 9.813333 7.936 17.706667 17.706667 17.706667H303.36a273.621333 273.621333 0 0 1 87.893333-165.632z" fill="#FFFFFF"></path></svg>`
|
|
14488
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M445.610667 401.578667a129.322667 129.322667 0 1 0 258.645333 0 129.322667 129.322667 0 0 0-258.645333 0z m237.568 114.901333a157.354667 157.354667 0 0 1-216.362667 0 236.373333 236.373333 0 0 0-127.957333 209.706667c0 11.264 9.130667 20.394667 20.394666 20.394666h431.402667a20.394667 20.394667 0 0 0 20.394667-20.394666 236.373333 236.373333 0 0 0-127.872-209.706667zM409.813333 401.578667c0-40.362667 14.592-77.397333 38.698667-106.112a112.725333 112.725333 0 0 0-29.013333-3.925334 112.64 112.64 0 0 0-112.426667 112.469334 112.64 112.64 0 0 0 144.853333 107.648 164.693333 164.693333 0 0 1-42.112-110.08z m-18.602666 136.704a136.533333 136.533333 0 0 1-65.706667-34.474667 205.44 205.44 0 0 0-111.232 182.4c0 9.813333 7.936 17.706667 17.706667 17.706667H303.36a273.621333 273.621333 0 0 1 87.893333-165.632z" fill="#FFFFFF"></path></svg>`
|
|
13987
14489
|
}
|
|
13988
14490
|
]
|
|
13989
14491
|
}
|
|
@@ -14034,10 +14536,11 @@ const defaultTagStyle = {
|
|
|
14034
14536
|
//width: 30 // 标签矩形的宽度,如果不设置,默认以文字的宽度+paddingX*2为宽度
|
|
14035
14537
|
};
|
|
14036
14538
|
function createImgNode() {
|
|
14037
|
-
|
|
14539
|
+
let img = this.getData("image");
|
|
14038
14540
|
if (!img) {
|
|
14039
14541
|
return;
|
|
14040
14542
|
}
|
|
14543
|
+
img = (this.mindMap.renderer.renderTree.data.imgMap || {})[img] || img;
|
|
14041
14544
|
const imgSize = this.getImgShowSize();
|
|
14042
14545
|
const node = new Image$1().load(img).size(...imgSize);
|
|
14043
14546
|
const { defaultNodeImage } = this.mindMap.opt;
|
|
@@ -14051,8 +14554,11 @@ function createImgNode() {
|
|
|
14051
14554
|
if (this.getData("imageTitle")) {
|
|
14052
14555
|
node.attr("title", this.getData("imageTitle"));
|
|
14053
14556
|
}
|
|
14557
|
+
node.on("click", (e) => {
|
|
14558
|
+
this.mindMap.emit("node_img_click", this, node, e);
|
|
14559
|
+
});
|
|
14054
14560
|
node.on("dblclick", (e) => {
|
|
14055
|
-
this.mindMap.emit("node_img_dblclick", this, e);
|
|
14561
|
+
this.mindMap.emit("node_img_dblclick", this, e, node);
|
|
14056
14562
|
});
|
|
14057
14563
|
node.on("mouseenter", (e) => {
|
|
14058
14564
|
this.mindMap.emit("node_img_mouseenter", this, node, e);
|
|
@@ -14206,8 +14712,9 @@ function createTextNode(specifyText) {
|
|
|
14206
14712
|
if (this.getData("resetRichText")) {
|
|
14207
14713
|
delete this.nodeData.data.resetRichText;
|
|
14208
14714
|
}
|
|
14209
|
-
|
|
14210
|
-
|
|
14715
|
+
const g2 = new G();
|
|
14716
|
+
const fontSize = this.getStyle("fontSize", false);
|
|
14717
|
+
const textAlign = this.getStyle("textAlign", false);
|
|
14211
14718
|
let textArr = [];
|
|
14212
14719
|
if (!isUndef(text)) {
|
|
14213
14720
|
textArr = String(text).split(/\n/gim);
|
|
@@ -14243,6 +14750,14 @@ function createTextNode(specifyText) {
|
|
|
14243
14750
|
}
|
|
14244
14751
|
const node = new Text().text(item);
|
|
14245
14752
|
node.addClass("smm-text-node-wrap");
|
|
14753
|
+
node.attr(
|
|
14754
|
+
"text-anchor",
|
|
14755
|
+
{
|
|
14756
|
+
left: "start",
|
|
14757
|
+
center: "middle",
|
|
14758
|
+
right: "end"
|
|
14759
|
+
}[textAlign] || "start"
|
|
14760
|
+
);
|
|
14246
14761
|
this.style.text(node);
|
|
14247
14762
|
node.y(
|
|
14248
14763
|
fontSize * noneRichTextNodeLineHeight * index + (noneRichTextNodeLineHeight - 1) * fontSize / 2
|
|
@@ -14493,10 +15008,10 @@ const nodeCreateContentsMethods = {
|
|
|
14493
15008
|
isUseCustomNodeContent
|
|
14494
15009
|
};
|
|
14495
15010
|
function renderExpandBtnPlaceholderRect() {
|
|
14496
|
-
if (
|
|
15011
|
+
if (this.getChildrenLength() <= 0 || this.isRoot) {
|
|
14497
15012
|
return;
|
|
14498
15013
|
}
|
|
14499
|
-
const { alwaysShowExpandBtn, notShowExpandBtn } = this.mindMap.opt;
|
|
15014
|
+
const { alwaysShowExpandBtn, notShowExpandBtn, expandBtnSize } = this.mindMap.opt;
|
|
14500
15015
|
if (!alwaysShowExpandBtn && !notShowExpandBtn) {
|
|
14501
15016
|
let { width: width2, height: height2 } = this;
|
|
14502
15017
|
if (!this._unVisibleRectRegionNode) {
|
|
@@ -14508,7 +15023,7 @@ function renderExpandBtnPlaceholderRect() {
|
|
|
14508
15023
|
this.group.add(this._unVisibleRectRegionNode);
|
|
14509
15024
|
this.renderer.layout.renderExpandBtnRect(
|
|
14510
15025
|
this._unVisibleRectRegionNode,
|
|
14511
|
-
|
|
15026
|
+
expandBtnSize,
|
|
14512
15027
|
width2,
|
|
14513
15028
|
height2,
|
|
14514
15029
|
this
|
|
@@ -14527,7 +15042,7 @@ function updateExpandBtnPlaceholderRect() {
|
|
|
14527
15042
|
this.needRerenderExpandBtnPlaceholderRect = false;
|
|
14528
15043
|
this.renderExpandBtnPlaceholderRect();
|
|
14529
15044
|
}
|
|
14530
|
-
if (this.
|
|
15045
|
+
if (this.getChildrenLength() > 0) {
|
|
14531
15046
|
if (!this._unVisibleRectRegionNode) {
|
|
14532
15047
|
this.renderExpandBtnPlaceholderRect();
|
|
14533
15048
|
}
|
|
@@ -14746,6 +15261,439 @@ const nodeCooperateMethods = {
|
|
|
14746
15261
|
removeUser,
|
|
14747
15262
|
emptyUser
|
|
14748
15263
|
};
|
|
15264
|
+
function initQuickCreateChildBtn() {
|
|
15265
|
+
if (this.isGeneralization) return;
|
|
15266
|
+
this._quickCreateChildBtn = null;
|
|
15267
|
+
this._showQuickCreateChildBtn = false;
|
|
15268
|
+
}
|
|
15269
|
+
function showQuickCreateChildBtn() {
|
|
15270
|
+
if (this.isGeneralization || this.getChildrenLength() > 0) return;
|
|
15271
|
+
if (this._quickCreateChildBtn) {
|
|
15272
|
+
this.group.add(this._quickCreateChildBtn);
|
|
15273
|
+
} else {
|
|
15274
|
+
const { quickCreateChildBtnIcon, expandBtnStyle, expandBtnSize } = this.mindMap.opt;
|
|
15275
|
+
const { icon, style } = quickCreateChildBtnIcon;
|
|
15276
|
+
let { color, fill } = expandBtnStyle || {
|
|
15277
|
+
color: "#808080",
|
|
15278
|
+
fill: "#fff"
|
|
15279
|
+
};
|
|
15280
|
+
color = style.color || color;
|
|
15281
|
+
const iconNode = SVG(icon || btnsSvg.quickCreateChild).size(
|
|
15282
|
+
expandBtnSize,
|
|
15283
|
+
expandBtnSize
|
|
15284
|
+
);
|
|
15285
|
+
iconNode.css({
|
|
15286
|
+
cursor: "pointer"
|
|
15287
|
+
});
|
|
15288
|
+
iconNode.x(0).y(-expandBtnSize / 2);
|
|
15289
|
+
this.style.iconNode(iconNode, color);
|
|
15290
|
+
const fillNode = new Circle().size(expandBtnSize);
|
|
15291
|
+
fillNode.x(0).y(-expandBtnSize / 2);
|
|
15292
|
+
fillNode.fill({ color: fill }).css({
|
|
15293
|
+
cursor: "pointer"
|
|
15294
|
+
});
|
|
15295
|
+
this._quickCreateChildBtn = new G();
|
|
15296
|
+
this._quickCreateChildBtn.add(fillNode).add(iconNode);
|
|
15297
|
+
this._quickCreateChildBtn.on("click", (e) => {
|
|
15298
|
+
e.stopPropagation();
|
|
15299
|
+
this.mindMap.emit("quick_create_btn_click", this);
|
|
15300
|
+
const { customQuickCreateChildBtnClick } = this.mindMap.opt;
|
|
15301
|
+
if (typeof customQuickCreateChildBtnClick === "function") {
|
|
15302
|
+
customQuickCreateChildBtnClick(this);
|
|
15303
|
+
return;
|
|
15304
|
+
}
|
|
15305
|
+
this.mindMap.execCommand("INSERT_CHILD_NODE", true, [this]);
|
|
15306
|
+
});
|
|
15307
|
+
this._quickCreateChildBtn.on("dblclick", (e) => {
|
|
15308
|
+
e.stopPropagation();
|
|
15309
|
+
});
|
|
15310
|
+
this._quickCreateChildBtn.addClass("smm-quick-create-child-btn");
|
|
15311
|
+
this.group.add(this._quickCreateChildBtn);
|
|
15312
|
+
}
|
|
15313
|
+
this._showQuickCreateChildBtn = true;
|
|
15314
|
+
this.renderer.layout.renderExpandBtn(this, this._quickCreateChildBtn);
|
|
15315
|
+
}
|
|
15316
|
+
function removeQuickCreateChildBtn() {
|
|
15317
|
+
if (this.isGeneralization) return;
|
|
15318
|
+
if (this._quickCreateChildBtn && this._showQuickCreateChildBtn) {
|
|
15319
|
+
this._quickCreateChildBtn.remove();
|
|
15320
|
+
this._showQuickCreateChildBtn = false;
|
|
15321
|
+
}
|
|
15322
|
+
}
|
|
15323
|
+
function hideQuickCreateChildBtn() {
|
|
15324
|
+
if (this.isGeneralization) return;
|
|
15325
|
+
const { isActive } = this.getData();
|
|
15326
|
+
if (!isActive) {
|
|
15327
|
+
this.removeQuickCreateChildBtn();
|
|
15328
|
+
}
|
|
15329
|
+
}
|
|
15330
|
+
const quickCreateChildBtnMethods = {
|
|
15331
|
+
initQuickCreateChildBtn,
|
|
15332
|
+
showQuickCreateChildBtn,
|
|
15333
|
+
removeQuickCreateChildBtn,
|
|
15334
|
+
hideQuickCreateChildBtn
|
|
15335
|
+
};
|
|
15336
|
+
function getImgTextMarin(dir, imgWidth, textWidth, imgHeight, textHeight) {
|
|
15337
|
+
const { imgTextMargin } = this.mindMap.opt;
|
|
15338
|
+
if (dir === "v") {
|
|
15339
|
+
return imgHeight > 0 && textHeight > 0 ? imgTextMargin : 0;
|
|
15340
|
+
} else {
|
|
15341
|
+
return imgWidth > 0 && textWidth > 0 ? imgTextMargin : 0;
|
|
15342
|
+
}
|
|
15343
|
+
}
|
|
15344
|
+
function getTagContentSize(space) {
|
|
15345
|
+
let maxTagHeight = 0;
|
|
15346
|
+
let width2 = this._tagData.reduce((sum, cur) => {
|
|
15347
|
+
maxTagHeight = Math.max(maxTagHeight, cur.height);
|
|
15348
|
+
return sum += cur.width;
|
|
15349
|
+
}, 0);
|
|
15350
|
+
width2 += (this._tagData.length - 1) * space;
|
|
15351
|
+
return {
|
|
15352
|
+
width: width2,
|
|
15353
|
+
height: maxTagHeight
|
|
15354
|
+
};
|
|
15355
|
+
}
|
|
15356
|
+
function getNodeRect() {
|
|
15357
|
+
if (this.isUseCustomNodeContent()) {
|
|
15358
|
+
const rect = this.measureCustomNodeContentSize(this._customNodeContent);
|
|
15359
|
+
return {
|
|
15360
|
+
width: this.hasCustomWidth() ? this.customTextWidth : rect.width,
|
|
15361
|
+
height: rect.height
|
|
15362
|
+
};
|
|
15363
|
+
}
|
|
15364
|
+
const { TAG_PLACEMENT, IMG_PLACEMENT } = CONSTANTS;
|
|
15365
|
+
const { textContentMargin } = this.mindMap.opt;
|
|
15366
|
+
const tagPlacement = this.getStyle("tagPlacement") || TAG_PLACEMENT.RIGHT;
|
|
15367
|
+
const tagIsBottom = tagPlacement === TAG_PLACEMENT.BOTTOM;
|
|
15368
|
+
const imgPlacement = this.getStyle("imgPlacement") || IMG_PLACEMENT.TOP;
|
|
15369
|
+
let imgContentWidth = 0;
|
|
15370
|
+
let imgContentHeight = 0;
|
|
15371
|
+
let textContentWidth = 0;
|
|
15372
|
+
let textContentHeight = 0;
|
|
15373
|
+
let tagContentWidth = 0;
|
|
15374
|
+
let tagContentHeight = 0;
|
|
15375
|
+
let spaceCount = 0;
|
|
15376
|
+
if (this._imgData) {
|
|
15377
|
+
imgContentWidth = this._imgData.width;
|
|
15378
|
+
imgContentHeight = this._imgData.height;
|
|
15379
|
+
}
|
|
15380
|
+
this.mindMap.nodeInnerPrefixList.forEach((item) => {
|
|
15381
|
+
const itemData = this[`_${item.name}Data`];
|
|
15382
|
+
if (itemData) {
|
|
15383
|
+
textContentWidth += itemData.width;
|
|
15384
|
+
textContentHeight = Math.max(textContentHeight, itemData.height);
|
|
15385
|
+
spaceCount++;
|
|
15386
|
+
}
|
|
15387
|
+
});
|
|
15388
|
+
if (this._prefixData) {
|
|
15389
|
+
textContentWidth += this._prefixData.width;
|
|
15390
|
+
textContentHeight = Math.max(textContentHeight, this._prefixData.height);
|
|
15391
|
+
spaceCount++;
|
|
15392
|
+
}
|
|
15393
|
+
if (this._iconData.length > 0) {
|
|
15394
|
+
textContentWidth += this._iconData.reduce((sum, cur) => {
|
|
15395
|
+
textContentHeight = Math.max(textContentHeight, cur.height);
|
|
15396
|
+
return sum += cur.width;
|
|
15397
|
+
}, 0) + (this._iconData.length - 1) * textContentMargin;
|
|
15398
|
+
spaceCount++;
|
|
15399
|
+
}
|
|
15400
|
+
if (this._textData) {
|
|
15401
|
+
textContentWidth += this._textData.width;
|
|
15402
|
+
textContentHeight = Math.max(textContentHeight, this._textData.height);
|
|
15403
|
+
spaceCount++;
|
|
15404
|
+
}
|
|
15405
|
+
if (this._hyperlinkData) {
|
|
15406
|
+
textContentWidth += this._hyperlinkData.width;
|
|
15407
|
+
textContentHeight = Math.max(textContentHeight, this._hyperlinkData.height);
|
|
15408
|
+
spaceCount++;
|
|
15409
|
+
}
|
|
15410
|
+
if (this._tagData.length > 0) {
|
|
15411
|
+
const { width: totalTagWidth, height: maxTagHeight } = this.getTagContentSize(textContentMargin);
|
|
15412
|
+
if (tagIsBottom) {
|
|
15413
|
+
tagContentWidth = totalTagWidth;
|
|
15414
|
+
tagContentHeight = maxTagHeight;
|
|
15415
|
+
} else {
|
|
15416
|
+
textContentWidth += totalTagWidth;
|
|
15417
|
+
textContentHeight = Math.max(textContentHeight, maxTagHeight);
|
|
15418
|
+
spaceCount++;
|
|
15419
|
+
}
|
|
15420
|
+
}
|
|
15421
|
+
if (this._noteData) {
|
|
15422
|
+
textContentWidth += this._noteData.width;
|
|
15423
|
+
textContentHeight = Math.max(textContentHeight, this._noteData.height);
|
|
15424
|
+
spaceCount++;
|
|
15425
|
+
}
|
|
15426
|
+
if (this._attachmentData) {
|
|
15427
|
+
textContentWidth += this._attachmentData.width;
|
|
15428
|
+
textContentHeight = Math.max(textContentHeight, this._attachmentData.height);
|
|
15429
|
+
spaceCount++;
|
|
15430
|
+
}
|
|
15431
|
+
if (this._postfixData) {
|
|
15432
|
+
textContentWidth += this._postfixData.width;
|
|
15433
|
+
textContentHeight = Math.max(textContentHeight, this._postfixData.height);
|
|
15434
|
+
spaceCount++;
|
|
15435
|
+
}
|
|
15436
|
+
this.mindMap.nodeInnerPostfixList.forEach((item) => {
|
|
15437
|
+
const itemData = this[`_${item.name}Data`];
|
|
15438
|
+
if (itemData) {
|
|
15439
|
+
textContentWidth += itemData.width;
|
|
15440
|
+
textContentHeight = Math.max(textContentHeight, itemData.height);
|
|
15441
|
+
spaceCount++;
|
|
15442
|
+
}
|
|
15443
|
+
});
|
|
15444
|
+
textContentWidth += (spaceCount - 1) * textContentMargin;
|
|
15445
|
+
if (tagIsBottom && textContentWidth > 0 && tagContentHeight > 0) {
|
|
15446
|
+
this._rectInfo.textContentWidthWithoutTag = textContentWidth;
|
|
15447
|
+
textContentWidth = Math.max(textContentWidth, tagContentWidth);
|
|
15448
|
+
textContentHeight = textContentHeight + textContentMargin + tagContentHeight;
|
|
15449
|
+
}
|
|
15450
|
+
this._rectInfo.textContentWidth = textContentWidth;
|
|
15451
|
+
this._rectInfo.textContentHeight = textContentHeight;
|
|
15452
|
+
let _width = 0;
|
|
15453
|
+
let _height = 0;
|
|
15454
|
+
if ([IMG_PLACEMENT.TOP, IMG_PLACEMENT.BOTTOM].includes(imgPlacement)) {
|
|
15455
|
+
_width = Math.max(imgContentWidth, textContentWidth);
|
|
15456
|
+
_height = imgContentHeight + textContentHeight + this.getImgTextMarin("v", 0, 0, imgContentHeight, textContentHeight);
|
|
15457
|
+
} else {
|
|
15458
|
+
_width = imgContentWidth + textContentWidth + this.getImgTextMarin("h", imgContentWidth, textContentWidth);
|
|
15459
|
+
_height = Math.max(imgContentHeight, textContentHeight);
|
|
15460
|
+
}
|
|
15461
|
+
const { paddingX, paddingY } = this.getPaddingVale();
|
|
15462
|
+
const { paddingX: shapePaddingX, paddingY: shapePaddingY } = this.shapeInstance.getShapePadding(_width, _height, paddingX, paddingY);
|
|
15463
|
+
this.shapePadding.paddingX = shapePaddingX;
|
|
15464
|
+
this.shapePadding.paddingY = shapePaddingY;
|
|
15465
|
+
const borderWidth = this.getBorderWidth();
|
|
15466
|
+
return {
|
|
15467
|
+
width: _width + paddingX * 2 + shapePaddingX * 2 + borderWidth,
|
|
15468
|
+
height: _height + paddingY * 2 + shapePaddingY * 2 + borderWidth
|
|
15469
|
+
};
|
|
15470
|
+
}
|
|
15471
|
+
function layout() {
|
|
15472
|
+
if (!this.group) return;
|
|
15473
|
+
this.group.clear();
|
|
15474
|
+
const {
|
|
15475
|
+
hoverRectPadding,
|
|
15476
|
+
openRealtimeRenderOnNodeTextEdit,
|
|
15477
|
+
textContentMargin,
|
|
15478
|
+
addCustomContentToNode
|
|
15479
|
+
} = this.mindMap.opt;
|
|
15480
|
+
const { width: width2, height: height2 } = this;
|
|
15481
|
+
let { paddingX, paddingY } = this.getPaddingVale();
|
|
15482
|
+
const halfBorderWidth = this.getBorderWidth() / 2;
|
|
15483
|
+
paddingX += this.shapePadding.paddingX + halfBorderWidth;
|
|
15484
|
+
paddingY += this.shapePadding.paddingY + halfBorderWidth;
|
|
15485
|
+
this.shapeNode = this.shapeInstance.createShape();
|
|
15486
|
+
this.shapeNode.addClass("smm-node-shape");
|
|
15487
|
+
this.shapeNode.translate(halfBorderWidth, halfBorderWidth);
|
|
15488
|
+
this.style.shape(this.shapeNode);
|
|
15489
|
+
this.group.add(this.shapeNode);
|
|
15490
|
+
this.renderExpandBtnPlaceholderRect();
|
|
15491
|
+
if (this.createUserListNode) this.createUserListNode();
|
|
15492
|
+
if (this.isGeneralization && this.generalizationBelongNode) {
|
|
15493
|
+
this.group.addClass("generalization_" + this.generalizationBelongNode.uid);
|
|
15494
|
+
}
|
|
15495
|
+
const addHoverNode = () => {
|
|
15496
|
+
this.hoverNode = new Rect().size(width2 + hoverRectPadding * 2, height2 + hoverRectPadding * 2).x(-hoverRectPadding).y(-hoverRectPadding);
|
|
15497
|
+
this.hoverNode.addClass("smm-hover-node");
|
|
15498
|
+
this.style.hoverNode(this.hoverNode, width2, height2);
|
|
15499
|
+
this.group.add(this.hoverNode);
|
|
15500
|
+
};
|
|
15501
|
+
if (this.isUseCustomNodeContent()) {
|
|
15502
|
+
const foreignObject = createForeignObjectNode({
|
|
15503
|
+
el: this._customNodeContent,
|
|
15504
|
+
width: width2,
|
|
15505
|
+
height: height2
|
|
15506
|
+
});
|
|
15507
|
+
this.group.add(foreignObject);
|
|
15508
|
+
addHoverNode();
|
|
15509
|
+
return;
|
|
15510
|
+
}
|
|
15511
|
+
const { IMG_PLACEMENT, TAG_PLACEMENT } = CONSTANTS;
|
|
15512
|
+
const imgPlacement = this.getStyle("imgPlacement") || IMG_PLACEMENT.TOP;
|
|
15513
|
+
const tagPlacement = this.getStyle("tagPlacement") || TAG_PLACEMENT.RIGHT;
|
|
15514
|
+
const tagIsBottom = tagPlacement === TAG_PLACEMENT.BOTTOM;
|
|
15515
|
+
let { textContentWidth, textContentHeight, textContentWidthWithoutTag } = this._rectInfo;
|
|
15516
|
+
const textContentHeightWithTag = textContentHeight;
|
|
15517
|
+
let totalTagWidth = 0;
|
|
15518
|
+
let maxTagHeight = 0;
|
|
15519
|
+
const hasTagContent = this._tagData && this._tagData.length > 0;
|
|
15520
|
+
if (hasTagContent) {
|
|
15521
|
+
const res = this.getTagContentSize(textContentMargin);
|
|
15522
|
+
totalTagWidth = res.width;
|
|
15523
|
+
maxTagHeight = res.height;
|
|
15524
|
+
if (tagIsBottom) {
|
|
15525
|
+
textContentHeight -= maxTagHeight + textContentMargin;
|
|
15526
|
+
}
|
|
15527
|
+
}
|
|
15528
|
+
let imgWidth = 0;
|
|
15529
|
+
let imgHeight = 0;
|
|
15530
|
+
if (this._imgData) {
|
|
15531
|
+
imgWidth = this._imgData.width;
|
|
15532
|
+
imgHeight = this._imgData.height;
|
|
15533
|
+
this.group.add(this._imgData.node);
|
|
15534
|
+
switch (imgPlacement) {
|
|
15535
|
+
case IMG_PLACEMENT.TOP:
|
|
15536
|
+
this._imgData.node.cx(width2 / 2).y(paddingY);
|
|
15537
|
+
break;
|
|
15538
|
+
case IMG_PLACEMENT.BOTTOM:
|
|
15539
|
+
this._imgData.node.cx(width2 / 2).y(height2 - paddingY - imgHeight);
|
|
15540
|
+
break;
|
|
15541
|
+
case IMG_PLACEMENT.LEFT:
|
|
15542
|
+
this._imgData.node.x(paddingX).cy(height2 / 2);
|
|
15543
|
+
break;
|
|
15544
|
+
case IMG_PLACEMENT.RIGHT:
|
|
15545
|
+
this._imgData.node.x(width2 - paddingX - imgWidth).cy(height2 / 2);
|
|
15546
|
+
break;
|
|
15547
|
+
}
|
|
15548
|
+
}
|
|
15549
|
+
let textContentNested = new G();
|
|
15550
|
+
let textContentOffsetX = 0;
|
|
15551
|
+
if (hasTagContent && tagIsBottom) {
|
|
15552
|
+
textContentOffsetX = textContentWidthWithoutTag < textContentWidth ? (textContentWidth - textContentWidthWithoutTag) / 2 : 0;
|
|
15553
|
+
}
|
|
15554
|
+
this.mindMap.nodeInnerPrefixList.forEach((item) => {
|
|
15555
|
+
const itemData = this[`_${item.name}Data`];
|
|
15556
|
+
if (itemData) {
|
|
15557
|
+
itemData.node.x(textContentOffsetX).y((textContentHeight - itemData.height) / 2);
|
|
15558
|
+
textContentNested.add(itemData.node);
|
|
15559
|
+
textContentOffsetX += itemData.width + textContentMargin;
|
|
15560
|
+
}
|
|
15561
|
+
});
|
|
15562
|
+
if (this._prefixData) {
|
|
15563
|
+
const foreignObject = createForeignObjectNode({
|
|
15564
|
+
el: this._prefixData.el,
|
|
15565
|
+
width: this._prefixData.width,
|
|
15566
|
+
height: this._prefixData.height
|
|
15567
|
+
});
|
|
15568
|
+
foreignObject.x(textContentOffsetX).y((textContentHeight - this._prefixData.height) / 2);
|
|
15569
|
+
textContentNested.add(foreignObject);
|
|
15570
|
+
textContentOffsetX += this._prefixData.width + textContentMargin;
|
|
15571
|
+
}
|
|
15572
|
+
let iconNested = new G();
|
|
15573
|
+
if (this._iconData && this._iconData.length > 0) {
|
|
15574
|
+
let iconLeft = 0;
|
|
15575
|
+
this._iconData.forEach((item) => {
|
|
15576
|
+
item.node.x(textContentOffsetX + iconLeft).y((textContentHeight - item.height) / 2);
|
|
15577
|
+
iconNested.add(item.node);
|
|
15578
|
+
iconLeft += item.width + textContentMargin;
|
|
15579
|
+
});
|
|
15580
|
+
textContentNested.add(iconNested);
|
|
15581
|
+
textContentOffsetX += iconLeft;
|
|
15582
|
+
}
|
|
15583
|
+
if (this._textData) {
|
|
15584
|
+
const oldX = this._textData.node.attr("data-offsetx") || 0;
|
|
15585
|
+
this._textData.node.attr("data-offsetx", textContentOffsetX);
|
|
15586
|
+
(this._textData.nodeContent || this._textData.node).x(-oldX).x(textContentOffsetX).y((textContentHeight - this._textData.height) / 2);
|
|
15587
|
+
if (openRealtimeRenderOnNodeTextEdit) {
|
|
15588
|
+
this._textData.node.opacity(
|
|
15589
|
+
this.mindMap.renderer.textEdit.getCurrentEditNode() === this ? 0 : 1
|
|
15590
|
+
);
|
|
15591
|
+
}
|
|
15592
|
+
textContentNested.add(this._textData.node);
|
|
15593
|
+
textContentOffsetX += this._textData.width + textContentMargin;
|
|
15594
|
+
}
|
|
15595
|
+
if (this._hyperlinkData) {
|
|
15596
|
+
this._hyperlinkData.node.x(textContentOffsetX).y((textContentHeight - this._hyperlinkData.height) / 2);
|
|
15597
|
+
textContentNested.add(this._hyperlinkData.node);
|
|
15598
|
+
textContentOffsetX += this._hyperlinkData.width + textContentMargin;
|
|
15599
|
+
}
|
|
15600
|
+
let tagNested = new G();
|
|
15601
|
+
if (hasTagContent) {
|
|
15602
|
+
if (tagIsBottom) {
|
|
15603
|
+
let tagLeft = 0;
|
|
15604
|
+
this._tagData.forEach((item) => {
|
|
15605
|
+
item.node.x(tagLeft).y((maxTagHeight - item.height) / 2);
|
|
15606
|
+
tagNested.add(item.node);
|
|
15607
|
+
tagLeft += item.width + textContentMargin;
|
|
15608
|
+
});
|
|
15609
|
+
tagNested.x((textContentWidth - totalTagWidth) / 2).y(textContentHeightWithTag - maxTagHeight);
|
|
15610
|
+
textContentNested.add(tagNested);
|
|
15611
|
+
} else {
|
|
15612
|
+
let tagLeft = 0;
|
|
15613
|
+
this._tagData.forEach((item) => {
|
|
15614
|
+
item.node.x(textContentOffsetX + tagLeft).y((textContentHeight - item.height) / 2);
|
|
15615
|
+
tagNested.add(item.node);
|
|
15616
|
+
tagLeft += item.width + textContentMargin;
|
|
15617
|
+
});
|
|
15618
|
+
textContentNested.add(tagNested);
|
|
15619
|
+
textContentOffsetX += tagLeft;
|
|
15620
|
+
}
|
|
15621
|
+
}
|
|
15622
|
+
if (this._noteData) {
|
|
15623
|
+
this._noteData.node.x(textContentOffsetX).y((textContentHeight - this._noteData.height) / 2);
|
|
15624
|
+
textContentNested.add(this._noteData.node);
|
|
15625
|
+
textContentOffsetX += this._noteData.width + textContentMargin;
|
|
15626
|
+
}
|
|
15627
|
+
if (this._attachmentData) {
|
|
15628
|
+
this._attachmentData.node.x(textContentOffsetX).y((textContentHeight - this._attachmentData.height) / 2);
|
|
15629
|
+
textContentNested.add(this._attachmentData.node);
|
|
15630
|
+
textContentOffsetX += this._attachmentData.width + textContentMargin;
|
|
15631
|
+
}
|
|
15632
|
+
if (this._postfixData) {
|
|
15633
|
+
const foreignObject = createForeignObjectNode({
|
|
15634
|
+
el: this._postfixData.el,
|
|
15635
|
+
width: this._postfixData.width,
|
|
15636
|
+
height: this._postfixData.height
|
|
15637
|
+
});
|
|
15638
|
+
foreignObject.x(textContentOffsetX).y((textContentHeight - this._postfixData.height) / 2);
|
|
15639
|
+
textContentNested.add(foreignObject);
|
|
15640
|
+
textContentOffsetX += this._postfixData.width + textContentMargin;
|
|
15641
|
+
}
|
|
15642
|
+
this.mindMap.nodeInnerPostfixList.forEach((item) => {
|
|
15643
|
+
const itemData = this[`_${item.name}Data`];
|
|
15644
|
+
if (itemData) {
|
|
15645
|
+
itemData.node.x(textContentOffsetX).y((textContentHeight - itemData.height) / 2);
|
|
15646
|
+
textContentNested.add(itemData.node);
|
|
15647
|
+
textContentOffsetX += itemData.width + textContentMargin;
|
|
15648
|
+
}
|
|
15649
|
+
});
|
|
15650
|
+
this.group.add(textContentNested);
|
|
15651
|
+
const { width: bboxWidth, height: bboxHeight } = textContentNested.bbox();
|
|
15652
|
+
let translateX = 0;
|
|
15653
|
+
let translateY = 0;
|
|
15654
|
+
switch (imgPlacement) {
|
|
15655
|
+
case IMG_PLACEMENT.TOP:
|
|
15656
|
+
translateX = width2 / 2 - bboxWidth / 2;
|
|
15657
|
+
translateY = paddingY + // 内边距
|
|
15658
|
+
imgHeight + // 图片高度
|
|
15659
|
+
this.getImgTextMarin("v", 0, 0, imgHeight, textContentHeightWithTag);
|
|
15660
|
+
break;
|
|
15661
|
+
case IMG_PLACEMENT.BOTTOM:
|
|
15662
|
+
translateX = width2 / 2 - bboxWidth / 2;
|
|
15663
|
+
translateY = paddingY;
|
|
15664
|
+
break;
|
|
15665
|
+
case IMG_PLACEMENT.LEFT:
|
|
15666
|
+
translateX = imgWidth + paddingX + this.getImgTextMarin("h", imgWidth, textContentWidth);
|
|
15667
|
+
translateY = height2 / 2 - bboxHeight / 2;
|
|
15668
|
+
break;
|
|
15669
|
+
case IMG_PLACEMENT.RIGHT:
|
|
15670
|
+
translateX = paddingX;
|
|
15671
|
+
translateY = height2 / 2 - bboxHeight / 2;
|
|
15672
|
+
break;
|
|
15673
|
+
}
|
|
15674
|
+
textContentNested.translate(translateX, translateY);
|
|
15675
|
+
addHoverNode();
|
|
15676
|
+
if (this._customContentAddToNodeAdd && this._customContentAddToNodeAdd.el) {
|
|
15677
|
+
const foreignObject = createForeignObjectNode(
|
|
15678
|
+
this._customContentAddToNodeAdd
|
|
15679
|
+
);
|
|
15680
|
+
this.group.add(foreignObject);
|
|
15681
|
+
if (addCustomContentToNode && typeof addCustomContentToNode.handle === "function") {
|
|
15682
|
+
addCustomContentToNode.handle({
|
|
15683
|
+
content: this._customContentAddToNodeAdd,
|
|
15684
|
+
element: foreignObject,
|
|
15685
|
+
node: this
|
|
15686
|
+
});
|
|
15687
|
+
}
|
|
15688
|
+
}
|
|
15689
|
+
this.mindMap.emit("node_layout_end", this);
|
|
15690
|
+
}
|
|
15691
|
+
const nodeLayoutMethods = {
|
|
15692
|
+
getImgTextMarin,
|
|
15693
|
+
getTagContentSize,
|
|
15694
|
+
getNodeRect,
|
|
15695
|
+
layout
|
|
15696
|
+
};
|
|
14749
15697
|
class MindMapNode {
|
|
14750
15698
|
// 构造函数
|
|
14751
15699
|
constructor(opt = {}) {
|
|
@@ -14806,22 +15754,23 @@ class MindMapNode {
|
|
|
14806
15754
|
this._generalizationList = [];
|
|
14807
15755
|
this._unVisibleRectRegionNode = null;
|
|
14808
15756
|
this._isMouseenter = false;
|
|
15757
|
+
this._customContentAddToNodeAdd = null;
|
|
14809
15758
|
this._rectInfo = {
|
|
14810
|
-
imgContentWidth: 0,
|
|
14811
|
-
imgContentHeight: 0,
|
|
14812
15759
|
textContentWidth: 0,
|
|
14813
|
-
textContentHeight: 0
|
|
15760
|
+
textContentHeight: 0,
|
|
15761
|
+
textContentWidthWithoutTag: 0
|
|
14814
15762
|
};
|
|
14815
15763
|
this._generalizationNodeWidth = 0;
|
|
14816
15764
|
this._generalizationNodeHeight = 0;
|
|
14817
|
-
this.textContentItemMargin = this.mindMap.opt.textContentMargin;
|
|
14818
|
-
this.blockContentMargin = this.mindMap.opt.imgTextMargin;
|
|
14819
15765
|
this.expandBtnSize = this.mindMap.opt.expandBtnSize;
|
|
14820
15766
|
this.isMultipleChoice = false;
|
|
14821
15767
|
this.needLayout = false;
|
|
14822
15768
|
this.isHide = false;
|
|
14823
15769
|
const proto = Object.getPrototypeOf(this);
|
|
14824
15770
|
if (!proto.bindEvent) {
|
|
15771
|
+
Object.keys(nodeLayoutMethods).forEach((item) => {
|
|
15772
|
+
proto[item] = nodeLayoutMethods[item];
|
|
15773
|
+
});
|
|
14825
15774
|
Object.keys(nodeGeneralizationMethods).forEach((item) => {
|
|
14826
15775
|
proto[item] = nodeGeneralizationMethods[item];
|
|
14827
15776
|
});
|
|
@@ -14845,6 +15794,12 @@ class MindMapNode {
|
|
|
14845
15794
|
Object.keys(nodeModifyWidthMethods).forEach((item) => {
|
|
14846
15795
|
proto[item] = nodeModifyWidthMethods[item];
|
|
14847
15796
|
});
|
|
15797
|
+
if (this.mindMap.opt.isShowCreateChildBtnIcon) {
|
|
15798
|
+
Object.keys(quickCreateChildBtnMethods).forEach((item) => {
|
|
15799
|
+
proto[item] = quickCreateChildBtnMethods[item];
|
|
15800
|
+
});
|
|
15801
|
+
this.initQuickCreateChildBtn();
|
|
15802
|
+
}
|
|
14848
15803
|
proto.bindEvent = true;
|
|
14849
15804
|
}
|
|
14850
15805
|
this.getSize();
|
|
@@ -14891,7 +15846,8 @@ class MindMapNode {
|
|
|
14891
15846
|
isUseCustomNodeContent: isUseCustomNodeContent2,
|
|
14892
15847
|
customCreateNodeContent,
|
|
14893
15848
|
createNodePrefixContent,
|
|
14894
|
-
createNodePostfixContent
|
|
15849
|
+
createNodePostfixContent,
|
|
15850
|
+
addCustomContentToNode
|
|
14895
15851
|
} = this.mindMap.opt;
|
|
14896
15852
|
const typeList = [
|
|
14897
15853
|
"custom",
|
|
@@ -14906,6 +15862,9 @@ class MindMapNode {
|
|
|
14906
15862
|
"postfix",
|
|
14907
15863
|
...this.mindMap.nodeInnerPrefixList.map((item) => {
|
|
14908
15864
|
return item.name;
|
|
15865
|
+
}),
|
|
15866
|
+
...this.mindMap.nodeInnerPostfixList.map((item) => {
|
|
15867
|
+
return item.name;
|
|
14909
15868
|
})
|
|
14910
15869
|
];
|
|
14911
15870
|
const createTypes = {};
|
|
@@ -14952,6 +15911,17 @@ class MindMapNode {
|
|
|
14952
15911
|
addXmlns(this._postfixData.el);
|
|
14953
15912
|
}
|
|
14954
15913
|
}
|
|
15914
|
+
this.mindMap.nodeInnerPostfixList.forEach((item) => {
|
|
15915
|
+
if (createTypes[item.name]) {
|
|
15916
|
+
this[`_${item.name}Data`] = item.createContent(this);
|
|
15917
|
+
}
|
|
15918
|
+
});
|
|
15919
|
+
if (addCustomContentToNode && typeof addCustomContentToNode.create === "function") {
|
|
15920
|
+
this._customContentAddToNodeAdd = addCustomContentToNode.create(this);
|
|
15921
|
+
if (this._customContentAddToNodeAdd && this._customContentAddToNodeAdd.el) {
|
|
15922
|
+
addXmlns(this._customContentAddToNodeAdd.el);
|
|
15923
|
+
}
|
|
15924
|
+
}
|
|
14955
15925
|
}
|
|
14956
15926
|
// 计算节点的宽高
|
|
14957
15927
|
getSize(recreateTypes, opt = {}) {
|
|
@@ -14968,255 +15938,6 @@ class MindMapNode {
|
|
|
14968
15938
|
this.height = height2;
|
|
14969
15939
|
return changed;
|
|
14970
15940
|
}
|
|
14971
|
-
// 计算节点尺寸信息
|
|
14972
|
-
getNodeRect() {
|
|
14973
|
-
if (this.isUseCustomNodeContent()) {
|
|
14974
|
-
const rect = this.measureCustomNodeContentSize(this._customNodeContent);
|
|
14975
|
-
return {
|
|
14976
|
-
width: this.hasCustomWidth() ? this.customTextWidth : rect.width,
|
|
14977
|
-
height: rect.height
|
|
14978
|
-
};
|
|
14979
|
-
}
|
|
14980
|
-
const { tagPosition } = this.mindMap.opt;
|
|
14981
|
-
const tagIsBottom = tagPosition === CONSTANTS.TAG_POSITION.BOTTOM;
|
|
14982
|
-
let imgContentWidth = 0;
|
|
14983
|
-
let imgContentHeight = 0;
|
|
14984
|
-
let textContentWidth = 0;
|
|
14985
|
-
let textContentHeight = 0;
|
|
14986
|
-
let tagContentWidth = 0;
|
|
14987
|
-
let tagContentHeight = 0;
|
|
14988
|
-
if (this._imgData) {
|
|
14989
|
-
this._rectInfo.imgContentWidth = imgContentWidth = this._imgData.width;
|
|
14990
|
-
this._rectInfo.imgContentHeight = imgContentHeight = this._imgData.height;
|
|
14991
|
-
}
|
|
14992
|
-
this.mindMap.nodeInnerPrefixList.forEach((item) => {
|
|
14993
|
-
const itemData = this[`_${item.name}Data`];
|
|
14994
|
-
if (itemData) {
|
|
14995
|
-
textContentWidth += itemData.width;
|
|
14996
|
-
textContentHeight = Math.max(textContentHeight, itemData.height);
|
|
14997
|
-
}
|
|
14998
|
-
});
|
|
14999
|
-
if (this._prefixData) {
|
|
15000
|
-
textContentWidth += this._prefixData.width;
|
|
15001
|
-
textContentHeight = Math.max(textContentHeight, this._prefixData.height);
|
|
15002
|
-
}
|
|
15003
|
-
if (this._iconData.length > 0) {
|
|
15004
|
-
textContentWidth += this._iconData.reduce((sum, cur) => {
|
|
15005
|
-
textContentHeight = Math.max(textContentHeight, cur.height);
|
|
15006
|
-
return sum += cur.width + this.textContentItemMargin;
|
|
15007
|
-
}, 0);
|
|
15008
|
-
}
|
|
15009
|
-
if (this._textData) {
|
|
15010
|
-
textContentWidth += this._textData.width;
|
|
15011
|
-
textContentHeight = Math.max(textContentHeight, this._textData.height);
|
|
15012
|
-
}
|
|
15013
|
-
if (this._hyperlinkData) {
|
|
15014
|
-
textContentWidth += this._hyperlinkData.width;
|
|
15015
|
-
textContentHeight = Math.max(
|
|
15016
|
-
textContentHeight,
|
|
15017
|
-
this._hyperlinkData.height
|
|
15018
|
-
);
|
|
15019
|
-
}
|
|
15020
|
-
if (this._tagData.length > 0) {
|
|
15021
|
-
let maxTagHeight = 0;
|
|
15022
|
-
const totalTagWidth = this._tagData.reduce((sum, cur) => {
|
|
15023
|
-
maxTagHeight = Math.max(maxTagHeight, cur.height);
|
|
15024
|
-
return sum += cur.width + this.textContentItemMargin;
|
|
15025
|
-
}, 0);
|
|
15026
|
-
if (tagIsBottom) {
|
|
15027
|
-
tagContentWidth = totalTagWidth;
|
|
15028
|
-
tagContentHeight = maxTagHeight;
|
|
15029
|
-
} else {
|
|
15030
|
-
textContentWidth += totalTagWidth;
|
|
15031
|
-
textContentHeight = Math.max(textContentHeight, maxTagHeight);
|
|
15032
|
-
}
|
|
15033
|
-
}
|
|
15034
|
-
if (this._noteData) {
|
|
15035
|
-
textContentWidth += this._noteData.width;
|
|
15036
|
-
textContentHeight = Math.max(textContentHeight, this._noteData.height);
|
|
15037
|
-
}
|
|
15038
|
-
if (this._attachmentData) {
|
|
15039
|
-
textContentWidth += this._attachmentData.width;
|
|
15040
|
-
textContentHeight = Math.max(
|
|
15041
|
-
textContentHeight,
|
|
15042
|
-
this._attachmentData.height
|
|
15043
|
-
);
|
|
15044
|
-
}
|
|
15045
|
-
if (this._postfixData) {
|
|
15046
|
-
textContentWidth += this._postfixData.width;
|
|
15047
|
-
textContentHeight = Math.max(textContentHeight, this._postfixData.height);
|
|
15048
|
-
}
|
|
15049
|
-
this._rectInfo.textContentWidth = textContentWidth;
|
|
15050
|
-
this._rectInfo.textContentHeight = textContentHeight;
|
|
15051
|
-
let margin = imgContentHeight > 0 && textContentHeight > 0 ? this.blockContentMargin : 0;
|
|
15052
|
-
const { paddingX, paddingY } = this.getPaddingVale();
|
|
15053
|
-
let _width = Math.max(imgContentWidth, textContentWidth);
|
|
15054
|
-
let _height = imgContentHeight + textContentHeight;
|
|
15055
|
-
if (tagIsBottom && tagContentHeight > 0 && textContentHeight > 0) {
|
|
15056
|
-
margin += this.blockContentMargin;
|
|
15057
|
-
_width = Math.max(_width, tagContentWidth);
|
|
15058
|
-
_height += tagContentHeight;
|
|
15059
|
-
}
|
|
15060
|
-
const { paddingX: shapePaddingX, paddingY: shapePaddingY } = this.shapeInstance.getShapePadding(_width, _height, paddingX, paddingY);
|
|
15061
|
-
this.shapePadding.paddingX = shapePaddingX;
|
|
15062
|
-
this.shapePadding.paddingY = shapePaddingY;
|
|
15063
|
-
const borderWidth = this.getBorderWidth();
|
|
15064
|
-
return {
|
|
15065
|
-
width: _width + paddingX * 2 + shapePaddingX * 2 + borderWidth,
|
|
15066
|
-
height: _height + paddingY * 2 + margin + shapePaddingY * 2 + borderWidth
|
|
15067
|
-
};
|
|
15068
|
-
}
|
|
15069
|
-
// 定位节点内容
|
|
15070
|
-
layout() {
|
|
15071
|
-
if (!this.group) return;
|
|
15072
|
-
this.group.clear();
|
|
15073
|
-
const { hoverRectPadding, tagPosition, openRealtimeRenderOnNodeTextEdit } = this.mindMap.opt;
|
|
15074
|
-
let { width: width2, height: height2, textContentItemMargin } = this;
|
|
15075
|
-
let { paddingY } = this.getPaddingVale();
|
|
15076
|
-
const halfBorderWidth = this.getBorderWidth() / 2;
|
|
15077
|
-
paddingY += this.shapePadding.paddingY + halfBorderWidth;
|
|
15078
|
-
this.shapeNode = this.shapeInstance.createShape();
|
|
15079
|
-
this.shapeNode.addClass("smm-node-shape");
|
|
15080
|
-
this.shapeNode.translate(halfBorderWidth, halfBorderWidth);
|
|
15081
|
-
this.style.shape(this.shapeNode);
|
|
15082
|
-
this.group.add(this.shapeNode);
|
|
15083
|
-
this.renderExpandBtnPlaceholderRect();
|
|
15084
|
-
if (this.createUserListNode) this.createUserListNode();
|
|
15085
|
-
if (this.isGeneralization && this.generalizationBelongNode) {
|
|
15086
|
-
this.group.addClass("generalization_" + this.generalizationBelongNode.uid);
|
|
15087
|
-
}
|
|
15088
|
-
const addHoverNode = () => {
|
|
15089
|
-
this.hoverNode = new Rect().size(width2 + hoverRectPadding * 2, height2 + hoverRectPadding * 2).x(-hoverRectPadding).y(-hoverRectPadding);
|
|
15090
|
-
this.hoverNode.addClass("smm-hover-node");
|
|
15091
|
-
this.style.hoverNode(this.hoverNode, width2, height2);
|
|
15092
|
-
this.group.add(this.hoverNode);
|
|
15093
|
-
};
|
|
15094
|
-
if (this.isUseCustomNodeContent()) {
|
|
15095
|
-
const foreignObject = createForeignObjectNode({
|
|
15096
|
-
el: this._customNodeContent,
|
|
15097
|
-
width: width2,
|
|
15098
|
-
height: height2
|
|
15099
|
-
});
|
|
15100
|
-
this.group.add(foreignObject);
|
|
15101
|
-
addHoverNode();
|
|
15102
|
-
return;
|
|
15103
|
-
}
|
|
15104
|
-
const tagIsBottom = tagPosition === CONSTANTS.TAG_POSITION.BOTTOM;
|
|
15105
|
-
const { textContentHeight } = this._rectInfo;
|
|
15106
|
-
let imgHeight = 0;
|
|
15107
|
-
if (this._imgData) {
|
|
15108
|
-
imgHeight = this._imgData.height;
|
|
15109
|
-
this.group.add(this._imgData.node);
|
|
15110
|
-
this._imgData.node.cx(width2 / 2).y(paddingY);
|
|
15111
|
-
}
|
|
15112
|
-
let textContentNested = new G();
|
|
15113
|
-
let textContentOffsetX = 0;
|
|
15114
|
-
this.mindMap.nodeInnerPrefixList.forEach((item) => {
|
|
15115
|
-
const itemData = this[`_${item.name}Data`];
|
|
15116
|
-
if (itemData) {
|
|
15117
|
-
itemData.node.x(textContentOffsetX).y((textContentHeight - itemData.height) / 2);
|
|
15118
|
-
textContentNested.add(itemData.node);
|
|
15119
|
-
textContentOffsetX += itemData.width + textContentItemMargin;
|
|
15120
|
-
}
|
|
15121
|
-
});
|
|
15122
|
-
if (this._prefixData) {
|
|
15123
|
-
const foreignObject = createForeignObjectNode({
|
|
15124
|
-
el: this._prefixData.el,
|
|
15125
|
-
width: this._prefixData.width,
|
|
15126
|
-
height: this._prefixData.height
|
|
15127
|
-
});
|
|
15128
|
-
foreignObject.x(textContentOffsetX).y((textContentHeight - this._prefixData.height) / 2);
|
|
15129
|
-
textContentNested.add(foreignObject);
|
|
15130
|
-
textContentOffsetX += this._prefixData.width + textContentItemMargin;
|
|
15131
|
-
}
|
|
15132
|
-
let iconNested = new G();
|
|
15133
|
-
if (this._iconData && this._iconData.length > 0) {
|
|
15134
|
-
let iconLeft = 0;
|
|
15135
|
-
this._iconData.forEach((item) => {
|
|
15136
|
-
item.node.x(textContentOffsetX + iconLeft).y((textContentHeight - item.height) / 2);
|
|
15137
|
-
iconNested.add(item.node);
|
|
15138
|
-
iconLeft += item.width + textContentItemMargin;
|
|
15139
|
-
});
|
|
15140
|
-
textContentNested.add(iconNested);
|
|
15141
|
-
textContentOffsetX += iconLeft;
|
|
15142
|
-
}
|
|
15143
|
-
if (this._textData) {
|
|
15144
|
-
const oldX = this._textData.node.attr("data-offsetx") || 0;
|
|
15145
|
-
this._textData.node.attr("data-offsetx", textContentOffsetX);
|
|
15146
|
-
(this._textData.nodeContent || this._textData.node).x(-oldX).x(textContentOffsetX).y((textContentHeight - this._textData.height) / 2);
|
|
15147
|
-
if (openRealtimeRenderOnNodeTextEdit) {
|
|
15148
|
-
this._textData.node.opacity(
|
|
15149
|
-
this.mindMap.renderer.textEdit.getCurrentEditNode() === this ? 0 : 1
|
|
15150
|
-
);
|
|
15151
|
-
}
|
|
15152
|
-
textContentNested.add(this._textData.node);
|
|
15153
|
-
textContentOffsetX += this._textData.width + textContentItemMargin;
|
|
15154
|
-
}
|
|
15155
|
-
if (this._hyperlinkData) {
|
|
15156
|
-
this._hyperlinkData.node.x(textContentOffsetX).y((textContentHeight - this._hyperlinkData.height) / 2);
|
|
15157
|
-
textContentNested.add(this._hyperlinkData.node);
|
|
15158
|
-
textContentOffsetX += this._hyperlinkData.width + textContentItemMargin;
|
|
15159
|
-
}
|
|
15160
|
-
let tagNested = new G();
|
|
15161
|
-
if (this._tagData && this._tagData.length > 0) {
|
|
15162
|
-
if (tagIsBottom) {
|
|
15163
|
-
let tagLeft = 0;
|
|
15164
|
-
this._tagData.forEach((item) => {
|
|
15165
|
-
item.node.x(tagLeft).y(0);
|
|
15166
|
-
tagNested.add(item.node);
|
|
15167
|
-
tagLeft += item.width + textContentItemMargin;
|
|
15168
|
-
});
|
|
15169
|
-
tagNested.cx(width2 / 2).y(
|
|
15170
|
-
paddingY + // 内边距
|
|
15171
|
-
imgHeight + // 图片高度
|
|
15172
|
-
textContentHeight + // 文本区域高度
|
|
15173
|
-
(imgHeight > 0 && textContentHeight > 0 ? this.blockContentMargin : 0) + // 图片和文本之间的间距
|
|
15174
|
-
this.blockContentMargin
|
|
15175
|
-
// 标签和文本之间的间距
|
|
15176
|
-
);
|
|
15177
|
-
this.group.add(tagNested);
|
|
15178
|
-
} else {
|
|
15179
|
-
let tagLeft = 0;
|
|
15180
|
-
this._tagData.forEach((item) => {
|
|
15181
|
-
item.node.x(textContentOffsetX + tagLeft).y((textContentHeight - item.height) / 2);
|
|
15182
|
-
tagNested.add(item.node);
|
|
15183
|
-
tagLeft += item.width + textContentItemMargin;
|
|
15184
|
-
});
|
|
15185
|
-
textContentNested.add(tagNested);
|
|
15186
|
-
textContentOffsetX += tagLeft;
|
|
15187
|
-
}
|
|
15188
|
-
}
|
|
15189
|
-
if (this._noteData) {
|
|
15190
|
-
this._noteData.node.x(textContentOffsetX).y((textContentHeight - this._noteData.height) / 2);
|
|
15191
|
-
textContentNested.add(this._noteData.node);
|
|
15192
|
-
textContentOffsetX += this._noteData.width;
|
|
15193
|
-
}
|
|
15194
|
-
if (this._attachmentData) {
|
|
15195
|
-
this._attachmentData.node.x(textContentOffsetX).y((textContentHeight - this._attachmentData.height) / 2);
|
|
15196
|
-
textContentNested.add(this._attachmentData.node);
|
|
15197
|
-
textContentOffsetX += this._attachmentData.width;
|
|
15198
|
-
}
|
|
15199
|
-
if (this._postfixData) {
|
|
15200
|
-
const foreignObject = createForeignObjectNode({
|
|
15201
|
-
el: this._postfixData.el,
|
|
15202
|
-
width: this._postfixData.width,
|
|
15203
|
-
height: this._postfixData.height
|
|
15204
|
-
});
|
|
15205
|
-
foreignObject.x(textContentOffsetX).y((textContentHeight - this._postfixData.height) / 2);
|
|
15206
|
-
textContentNested.add(foreignObject);
|
|
15207
|
-
textContentOffsetX += this._postfixData.width;
|
|
15208
|
-
}
|
|
15209
|
-
this.group.add(textContentNested);
|
|
15210
|
-
textContentNested.translate(
|
|
15211
|
-
width2 / 2 - textContentNested.bbox().width / 2,
|
|
15212
|
-
paddingY + // 内边距
|
|
15213
|
-
imgHeight + // 图片高度
|
|
15214
|
-
(imgHeight > 0 && textContentHeight > 0 ? this.blockContentMargin : 0)
|
|
15215
|
-
// 和图片的间距
|
|
15216
|
-
);
|
|
15217
|
-
addHoverNode();
|
|
15218
|
-
this.mindMap.emit("node_layout_end", this);
|
|
15219
|
-
}
|
|
15220
15941
|
// 给节点绑定事件
|
|
15221
15942
|
bindGroupEvent() {
|
|
15222
15943
|
this.group.on("click", (e) => {
|
|
@@ -15343,9 +16064,14 @@ class MindMapNode {
|
|
|
15343
16064
|
return;
|
|
15344
16065
|
}
|
|
15345
16066
|
this.updateNodeActiveClass();
|
|
15346
|
-
const {
|
|
16067
|
+
const {
|
|
16068
|
+
alwaysShowExpandBtn,
|
|
16069
|
+
notShowExpandBtn,
|
|
16070
|
+
isShowCreateChildBtnIcon,
|
|
16071
|
+
readonly
|
|
16072
|
+
} = this.mindMap.opt;
|
|
16073
|
+
const childrenLength = this.getChildrenLength();
|
|
15347
16074
|
if (!notShowExpandBtn) {
|
|
15348
|
-
const childrenLength = this.nodeData.children.length;
|
|
15349
16075
|
if (alwaysShowExpandBtn) {
|
|
15350
16076
|
if (this._expandBtn && childrenLength <= 0) {
|
|
15351
16077
|
this.removeExpandBtn();
|
|
@@ -15363,11 +16089,23 @@ class MindMapNode {
|
|
|
15363
16089
|
}
|
|
15364
16090
|
}
|
|
15365
16091
|
}
|
|
16092
|
+
if (isShowCreateChildBtnIcon) {
|
|
16093
|
+
if (childrenLength > 0) {
|
|
16094
|
+
this.removeQuickCreateChildBtn();
|
|
16095
|
+
} else {
|
|
16096
|
+
const { isActive } = this.getData();
|
|
16097
|
+
if (isActive) {
|
|
16098
|
+
this.showQuickCreateChildBtn();
|
|
16099
|
+
} else {
|
|
16100
|
+
this.hideQuickCreateChildBtn();
|
|
16101
|
+
}
|
|
16102
|
+
}
|
|
16103
|
+
}
|
|
15366
16104
|
this.updateDragHandle();
|
|
15367
16105
|
this.renderGeneralization(forceRender);
|
|
15368
16106
|
if (this.updateUserListNode) this.updateUserListNode();
|
|
15369
16107
|
const t2 = this.group.transform();
|
|
15370
|
-
this.nodeDataSnapshot = JSON.stringify(this.getData());
|
|
16108
|
+
this.nodeDataSnapshot = readonly ? "" : JSON.stringify(this.getData());
|
|
15371
16109
|
if (this.left !== t2.translateX || this.top !== t2.translateY) {
|
|
15372
16110
|
this.group.translate(this.left - t2.translateX, this.top - t2.translateY);
|
|
15373
16111
|
}
|
|
@@ -15404,10 +16142,17 @@ class MindMapNode {
|
|
|
15404
16142
|
// 根据是否激活更新节点
|
|
15405
16143
|
updateNodeByActive(active) {
|
|
15406
16144
|
if (this.group) {
|
|
16145
|
+
const { isShowCreateChildBtnIcon } = this.mindMap.opt;
|
|
15407
16146
|
if (active) {
|
|
15408
16147
|
this.showExpandBtn();
|
|
16148
|
+
if (isShowCreateChildBtnIcon) {
|
|
16149
|
+
this.showQuickCreateChildBtn();
|
|
16150
|
+
}
|
|
15409
16151
|
} else {
|
|
15410
16152
|
this.hideExpandBtn();
|
|
16153
|
+
if (isShowCreateChildBtnIcon) {
|
|
16154
|
+
this.hideQuickCreateChildBtn();
|
|
16155
|
+
}
|
|
15411
16156
|
}
|
|
15412
16157
|
this.updateNodeActiveClass();
|
|
15413
16158
|
this.updateDragHandle();
|
|
@@ -15595,9 +16340,11 @@ class MindMapNode {
|
|
|
15595
16340
|
if (this.getData("expand") === false) {
|
|
15596
16341
|
return;
|
|
15597
16342
|
}
|
|
15598
|
-
let childrenLen = this.
|
|
15599
|
-
if (this.mindMap.
|
|
15600
|
-
|
|
16343
|
+
let childrenLen = this.getChildrenLength();
|
|
16344
|
+
if (this.mindMap.renderer.layout.nodeIsRemoveAllLines) {
|
|
16345
|
+
if (this.mindMap.renderer.layout.nodeIsRemoveAllLines(this)) {
|
|
16346
|
+
childrenLen = 0;
|
|
16347
|
+
}
|
|
15601
16348
|
}
|
|
15602
16349
|
if (childrenLen > this._lines.length) {
|
|
15603
16350
|
new Array(childrenLen - this._lines.length).fill(0).forEach(() => {
|
|
@@ -15659,9 +16406,11 @@ class MindMapNode {
|
|
|
15659
16406
|
}
|
|
15660
16407
|
// 设置连线样式
|
|
15661
16408
|
styleLine(line2, childNode, enableMarker) {
|
|
15662
|
-
const
|
|
15663
|
-
const
|
|
15664
|
-
const
|
|
16409
|
+
const { enableInheritAncestorLineStyle } = this.mindMap.opt;
|
|
16410
|
+
const getName = enableInheritAncestorLineStyle ? "getSelfInhertStyle" : "getSelfStyle";
|
|
16411
|
+
const width2 = childNode[getName]("lineWidth") || childNode.getStyle("lineWidth", true);
|
|
16412
|
+
const color = childNode[getName]("lineColor") || this.getRainbowLineColor(childNode) || childNode.getStyle("lineColor", true);
|
|
16413
|
+
const dasharray = childNode[getName]("lineDasharray") || childNode.getStyle("lineDasharray", true);
|
|
15665
16414
|
this.style.line(
|
|
15666
16415
|
line2,
|
|
15667
16416
|
{
|
|
@@ -15845,6 +16594,10 @@ class MindMapNode {
|
|
|
15845
16594
|
hasCustomWidth() {
|
|
15846
16595
|
return this.checkEnableDragModifyNodeWidth() && this.customTextWidth !== void 0;
|
|
15847
16596
|
}
|
|
16597
|
+
// 获取子节点的数量
|
|
16598
|
+
getChildrenLength() {
|
|
16599
|
+
return this.nodeData.children ? this.nodeData.children.length : 0;
|
|
16600
|
+
}
|
|
15848
16601
|
}
|
|
15849
16602
|
class Lru {
|
|
15850
16603
|
constructor(max) {
|
|
@@ -15914,7 +16667,7 @@ class Base2 {
|
|
|
15914
16667
|
}
|
|
15915
16668
|
// 检查当前来源是否需要重新计算节点大小
|
|
15916
16669
|
checkIsNeedResizeSources() {
|
|
15917
|
-
return
|
|
16670
|
+
return this.renderer.checkHasRenderSource(CONSTANTS.CHANGE_THEME);
|
|
15918
16671
|
}
|
|
15919
16672
|
// 层级类型改变
|
|
15920
16673
|
checkIsLayerTypeChange(oldIndex, newIndex) {
|
|
@@ -15924,7 +16677,7 @@ class Base2 {
|
|
|
15924
16677
|
}
|
|
15925
16678
|
// 检查是否是结构布局改变重新渲染展开收起按钮占位元素
|
|
15926
16679
|
checkIsLayoutChangeRerenderExpandBtnPlaceholderRect(node) {
|
|
15927
|
-
if (this.renderer.
|
|
16680
|
+
if (this.renderer.checkHasRenderSource(CONSTANTS.CHANGE_LAYOUT)) {
|
|
15928
16681
|
node.needRerenderExpandBtnPlaceholderRect = true;
|
|
15929
16682
|
}
|
|
15930
16683
|
}
|
|
@@ -15935,9 +16688,33 @@ class Base2 {
|
|
|
15935
16688
|
lastData.isActive = curData.isActive;
|
|
15936
16689
|
lastData.expand = curData.expand;
|
|
15937
16690
|
lastData = JSON.stringify(lastData);
|
|
16691
|
+
} else {
|
|
16692
|
+
return false;
|
|
15938
16693
|
}
|
|
15939
16694
|
return lastData !== JSON.stringify(curData);
|
|
15940
16695
|
}
|
|
16696
|
+
// 检查库前置或后置内容是否改变了
|
|
16697
|
+
checkNodeFixChange(newNode, nodeInnerPrefixData, nodeInnerPostfixData) {
|
|
16698
|
+
let isNodeInnerPrefixChange = false;
|
|
16699
|
+
this.mindMap.nodeInnerPrefixList.forEach((item) => {
|
|
16700
|
+
if (item.updateNodeData) {
|
|
16701
|
+
const isChange = item.updateNodeData(newNode, nodeInnerPrefixData);
|
|
16702
|
+
if (isChange) {
|
|
16703
|
+
isNodeInnerPrefixChange = isChange;
|
|
16704
|
+
}
|
|
16705
|
+
}
|
|
16706
|
+
});
|
|
16707
|
+
let isNodeInnerPostfixChange = false;
|
|
16708
|
+
this.mindMap.nodeInnerPostfixList.forEach((item) => {
|
|
16709
|
+
if (item.updateNodeData) {
|
|
16710
|
+
const isChange = item.updateNodeData(newNode, nodeInnerPostfixData);
|
|
16711
|
+
if (isChange) {
|
|
16712
|
+
isNodeInnerPostfixChange = isChange;
|
|
16713
|
+
}
|
|
16714
|
+
}
|
|
16715
|
+
});
|
|
16716
|
+
return isNodeInnerPrefixChange || isNodeInnerPostfixChange;
|
|
16717
|
+
}
|
|
15941
16718
|
// 创建节点实例
|
|
15942
16719
|
createNode(data2, parent, isRoot, layerIndex, index, ancestors) {
|
|
15943
16720
|
const nodeInnerPrefixData = {};
|
|
@@ -15953,6 +16730,19 @@ class Base2 {
|
|
|
15953
16730
|
nodeInnerPrefixData[key] = value;
|
|
15954
16731
|
}
|
|
15955
16732
|
});
|
|
16733
|
+
const nodeInnerPostfixData = {};
|
|
16734
|
+
this.mindMap.nodeInnerPostfixList.forEach((item) => {
|
|
16735
|
+
if (item.createNodeData) {
|
|
16736
|
+
const [key, value] = item.createNodeData({
|
|
16737
|
+
data: data2,
|
|
16738
|
+
parent,
|
|
16739
|
+
ancestors,
|
|
16740
|
+
layerIndex,
|
|
16741
|
+
index
|
|
16742
|
+
});
|
|
16743
|
+
nodeInnerPostfixData[key] = value;
|
|
16744
|
+
}
|
|
16745
|
+
});
|
|
15956
16746
|
const uid = data2.data.uid;
|
|
15957
16747
|
let newNode = null;
|
|
15958
16748
|
if (data2 && data2._node && !this.renderer.reRender) {
|
|
@@ -15970,21 +16760,17 @@ class Base2 {
|
|
|
15970
16760
|
}
|
|
15971
16761
|
this.cacheNode(data2._node.uid, newNode);
|
|
15972
16762
|
this.checkIsLayoutChangeRerenderExpandBtnPlaceholderRect(newNode);
|
|
15973
|
-
|
|
15974
|
-
|
|
15975
|
-
|
|
15976
|
-
|
|
15977
|
-
|
|
15978
|
-
isNodeInnerPrefixChange = isChange;
|
|
15979
|
-
}
|
|
15980
|
-
}
|
|
15981
|
-
});
|
|
16763
|
+
const isNodeInnerFixChange = this.checkNodeFixChange(
|
|
16764
|
+
newNode,
|
|
16765
|
+
nodeInnerPrefixData,
|
|
16766
|
+
nodeInnerPostfixData
|
|
16767
|
+
);
|
|
15982
16768
|
const isResizeSource = this.checkIsNeedResizeSources();
|
|
15983
16769
|
const isNodeDataChange = this.checkIsNodeDataChange(
|
|
15984
16770
|
data2._node.nodeDataSnapshot,
|
|
15985
16771
|
data2.data
|
|
15986
16772
|
);
|
|
15987
|
-
if (isResizeSource || isNodeDataChange || isLayerTypeChange || newNode.getData("resetRichText") || newNode.getData("needUpdate") ||
|
|
16773
|
+
if (isResizeSource || isNodeDataChange || isLayerTypeChange || newNode.getData("resetRichText") || newNode.getData("needUpdate") || isNodeInnerFixChange) {
|
|
15988
16774
|
newNode.getSize();
|
|
15989
16775
|
newNode.needLayout = true;
|
|
15990
16776
|
}
|
|
@@ -16009,16 +16795,12 @@ class Base2 {
|
|
|
16009
16795
|
data2._node = newNode;
|
|
16010
16796
|
const isResizeSource = this.checkIsNeedResizeSources();
|
|
16011
16797
|
const isNodeDataChange = this.checkIsNodeDataChange(lastData, data2.data);
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
}
|
|
16019
|
-
}
|
|
16020
|
-
});
|
|
16021
|
-
if (isResizeSource || isNodeDataChange || isLayerTypeChange || newNode.getData("resetRichText") || newNode.getData("needUpdate") || isNodeInnerPrefixChange) {
|
|
16798
|
+
const isNodeInnerFixChange = this.checkNodeFixChange(
|
|
16799
|
+
newNode,
|
|
16800
|
+
nodeInnerPrefixData,
|
|
16801
|
+
nodeInnerPostfixData
|
|
16802
|
+
);
|
|
16803
|
+
if (isResizeSource || isNodeDataChange || isLayerTypeChange || newNode.getData("resetRichText") || newNode.getData("needUpdate") || isNodeInnerFixChange) {
|
|
16022
16804
|
newNode.getSize();
|
|
16023
16805
|
newNode.needLayout = true;
|
|
16024
16806
|
}
|
|
@@ -16398,9 +17180,9 @@ class Base2 {
|
|
|
16398
17180
|
}
|
|
16399
17181
|
class LogicalStructure extends Base2 {
|
|
16400
17182
|
// 构造函数
|
|
16401
|
-
constructor(opt = {},
|
|
17183
|
+
constructor(opt = {}, layout2) {
|
|
16402
17184
|
super(opt);
|
|
16403
|
-
this.isUseLeft =
|
|
17185
|
+
this.isUseLeft = layout2 === CONSTANTS.LAYOUT.LOGICAL_STRUCTURE_LEFT;
|
|
16404
17186
|
}
|
|
16405
17187
|
// 布局
|
|
16406
17188
|
doLayout(callback) {
|
|
@@ -17580,9 +18362,9 @@ class OrganizationStructure extends Base2 {
|
|
|
17580
18362
|
}
|
|
17581
18363
|
class Timeline2 extends Base2 {
|
|
17582
18364
|
// 构造函数
|
|
17583
|
-
constructor(opt = {},
|
|
18365
|
+
constructor(opt = {}, layout2) {
|
|
17584
18366
|
super(opt);
|
|
17585
|
-
this.layout =
|
|
18367
|
+
this.layout = layout2;
|
|
17586
18368
|
}
|
|
17587
18369
|
// 布局
|
|
17588
18370
|
doLayout(callback) {
|
|
@@ -17865,9 +18647,9 @@ class Timeline2 extends Base2 {
|
|
|
17865
18647
|
}
|
|
17866
18648
|
class VerticalTimeline extends Base2 {
|
|
17867
18649
|
// 构造函数
|
|
17868
|
-
constructor(opt = {},
|
|
18650
|
+
constructor(opt = {}, layout2) {
|
|
17869
18651
|
super(opt);
|
|
17870
|
-
this.layout =
|
|
18652
|
+
this.layout = layout2;
|
|
17871
18653
|
}
|
|
17872
18654
|
// 布局
|
|
17873
18655
|
doLayout(callback) {
|
|
@@ -17893,14 +18675,27 @@ class VerticalTimeline extends Base2 {
|
|
|
17893
18675
|
this.renderer.renderTree,
|
|
17894
18676
|
null,
|
|
17895
18677
|
(cur, parent, isRoot, layerIndex, index, ancestors) => {
|
|
17896
|
-
let newNode = this.createNode(
|
|
18678
|
+
let newNode = this.createNode(
|
|
18679
|
+
cur,
|
|
18680
|
+
parent,
|
|
18681
|
+
isRoot,
|
|
18682
|
+
layerIndex,
|
|
18683
|
+
index,
|
|
18684
|
+
ancestors
|
|
18685
|
+
);
|
|
17897
18686
|
if (isRoot) {
|
|
17898
18687
|
this.setNodeCenter(newNode);
|
|
17899
18688
|
} else {
|
|
17900
18689
|
if (parent._node.dir) {
|
|
17901
18690
|
newNode.dir = parent._node.dir;
|
|
17902
18691
|
} else {
|
|
17903
|
-
|
|
18692
|
+
if (this.layout === CONSTANTS.LAYOUT.VERTICAL_TIMELINE2) {
|
|
18693
|
+
newNode.dir = CONSTANTS.LAYOUT_GROW_DIR.LEFT;
|
|
18694
|
+
} else if (this.layout === CONSTANTS.LAYOUT.VERTICAL_TIMELINE3) {
|
|
18695
|
+
newNode.dir = CONSTANTS.LAYOUT_GROW_DIR.RIGHT;
|
|
18696
|
+
} else {
|
|
18697
|
+
newNode.dir = index % 2 === 0 ? CONSTANTS.LAYOUT_GROW_DIR.RIGHT : CONSTANTS.LAYOUT_GROW_DIR.LEFT;
|
|
18698
|
+
}
|
|
17904
18699
|
}
|
|
17905
18700
|
if (parent._node.isRoot) {
|
|
17906
18701
|
newNode.left = parent._node.left + (cur._node.width > parent._node.width ? -(cur._node.width - parent._node.width) / 2 : (parent._node.width - cur._node.width) / 2);
|
|
@@ -18382,22 +19177,78 @@ const utils = {
|
|
|
18382
19177
|
};
|
|
18383
19178
|
class Fishbone extends Base2 {
|
|
18384
19179
|
// 构造函数
|
|
18385
|
-
constructor(opt = {}) {
|
|
19180
|
+
constructor(opt = {}, layout2) {
|
|
18386
19181
|
super(opt);
|
|
19182
|
+
this.layout = layout2;
|
|
18387
19183
|
this.indent = 0.3;
|
|
18388
19184
|
this.childIndent = 0.5;
|
|
19185
|
+
this.fishTail = null;
|
|
19186
|
+
this.maxx = 0;
|
|
19187
|
+
this.headRatio = 1;
|
|
19188
|
+
this.tailRatio = 0.6;
|
|
19189
|
+
this.paddingXRatio = 0.3;
|
|
19190
|
+
this.fishHeadPathStr = "M4,181 C4,181, 0,177, 4,173 Q 96.09523809523809,0, 288.2857142857143,0 L 288.2857142857143,354 Q 48.047619047619044,354, 8,218.18367346938777 C8,218.18367346938777, 6,214.18367346938777, 8,214.18367346938777 L 41.183673469387756,214.18367346938777 Z";
|
|
19191
|
+
this.fishTailPathStr = "M 606.9342905223708 0 Q 713.1342905223709 -177 819.3342905223708 -177 L 766.2342905223709 0 L 819.3342905223708 177 Q 713.1342905223709 177 606.9342905223708 0 z";
|
|
19192
|
+
this.bindEvent();
|
|
19193
|
+
this.extendShape();
|
|
19194
|
+
this.beforeChange = this.beforeChange.bind(this);
|
|
19195
|
+
}
|
|
19196
|
+
// 重新渲染时,节点连线是否全部删除
|
|
19197
|
+
// 鱼尾鱼骨图会多渲染一些连线,按需删除无法删除掉,只能全部删除重新创建
|
|
19198
|
+
nodeIsRemoveAllLines(node) {
|
|
19199
|
+
return node.isRoot || node.layerIndex === 1;
|
|
19200
|
+
}
|
|
19201
|
+
// 是否是带鱼头鱼尾的鱼骨图
|
|
19202
|
+
isFishbone2() {
|
|
19203
|
+
return this.layout === CONSTANTS.LAYOUT.FISHBONE2;
|
|
19204
|
+
}
|
|
19205
|
+
bindEvent() {
|
|
19206
|
+
if (!this.isFishbone2()) return;
|
|
19207
|
+
this.onCheckUpdateFishTail = this.onCheckUpdateFishTail.bind(this);
|
|
19208
|
+
this.mindMap.on("afterExecCommand", this.onCheckUpdateFishTail);
|
|
19209
|
+
}
|
|
19210
|
+
unBindEvent() {
|
|
19211
|
+
this.mindMap.off("afterExecCommand", this.onCheckUpdateFishTail);
|
|
19212
|
+
}
|
|
19213
|
+
// 扩展节点形状
|
|
19214
|
+
extendShape() {
|
|
19215
|
+
if (!this.isFishbone2()) return;
|
|
19216
|
+
this.mindMap.addShape({
|
|
19217
|
+
name: "fishHead",
|
|
19218
|
+
createShape: (node) => {
|
|
19219
|
+
const rect = SVG(`<path d="${this.fishHeadPathStr}"></path>`);
|
|
19220
|
+
const { width: width2, height: height2 } = node.shapeInstance.getNodeSize();
|
|
19221
|
+
rect.size(width2, height2);
|
|
19222
|
+
return rect;
|
|
19223
|
+
},
|
|
19224
|
+
getPadding: ({ width: width2, height: height2, paddingX, paddingY }) => {
|
|
19225
|
+
width2 += paddingX * 2;
|
|
19226
|
+
height2 += paddingY * 2;
|
|
19227
|
+
let shapePaddingX = this.paddingXRatio * width2;
|
|
19228
|
+
let shapePaddingY = 0;
|
|
19229
|
+
width2 += shapePaddingX * 2;
|
|
19230
|
+
const newHeight = width2 / this.headRatio;
|
|
19231
|
+
shapePaddingY = (newHeight - height2) / 2;
|
|
19232
|
+
return {
|
|
19233
|
+
paddingX: shapePaddingX,
|
|
19234
|
+
paddingY: shapePaddingY
|
|
19235
|
+
};
|
|
19236
|
+
}
|
|
19237
|
+
});
|
|
18389
19238
|
}
|
|
18390
19239
|
// 布局
|
|
18391
19240
|
doLayout(callback) {
|
|
18392
19241
|
let task = [
|
|
18393
19242
|
() => {
|
|
18394
19243
|
this.computedBaseValue();
|
|
19244
|
+
this.addFishTail();
|
|
18395
19245
|
},
|
|
18396
19246
|
() => {
|
|
18397
19247
|
this.computedLeftTopValue();
|
|
18398
19248
|
},
|
|
18399
19249
|
() => {
|
|
18400
19250
|
this.adjustLeftTopValue();
|
|
19251
|
+
this.updateFishTailPosition();
|
|
18401
19252
|
},
|
|
18402
19253
|
() => {
|
|
18403
19254
|
callback(this.root);
|
|
@@ -18405,13 +19256,68 @@ class Fishbone extends Base2 {
|
|
|
18405
19256
|
];
|
|
18406
19257
|
asyncRun(task);
|
|
18407
19258
|
}
|
|
19259
|
+
// 创建鱼尾
|
|
19260
|
+
addFishTail() {
|
|
19261
|
+
if (!this.isFishbone2()) return;
|
|
19262
|
+
const exist = this.mindMap.lineDraw.findOne(".smm-layout-fishbone-tail");
|
|
19263
|
+
if (!exist) {
|
|
19264
|
+
this.fishTail = SVG(`<path d="${this.fishTailPathStr}"></path>`);
|
|
19265
|
+
this.fishTail.addClass("smm-layout-fishbone-tail");
|
|
19266
|
+
} else {
|
|
19267
|
+
this.fishTail = exist;
|
|
19268
|
+
}
|
|
19269
|
+
const tailHeight = this.root.height;
|
|
19270
|
+
const tailWidth = tailHeight * this.tailRatio;
|
|
19271
|
+
this.fishTail.size(tailWidth, tailHeight);
|
|
19272
|
+
this.styleFishTail();
|
|
19273
|
+
this.mindMap.lineDraw.add(this.fishTail);
|
|
19274
|
+
}
|
|
19275
|
+
// 如果根节点更新了形状样式,那么鱼尾也要更新
|
|
19276
|
+
onCheckUpdateFishTail(name2, node, data2) {
|
|
19277
|
+
if (name2 === "SET_NODE_DATA") {
|
|
19278
|
+
let hasShapeProp = false;
|
|
19279
|
+
Object.keys(data2).forEach((key) => {
|
|
19280
|
+
if (shapeStyleProps.includes(key)) {
|
|
19281
|
+
hasShapeProp = true;
|
|
19282
|
+
}
|
|
19283
|
+
});
|
|
19284
|
+
if (hasShapeProp) {
|
|
19285
|
+
this.styleFishTail();
|
|
19286
|
+
}
|
|
19287
|
+
}
|
|
19288
|
+
}
|
|
19289
|
+
styleFishTail() {
|
|
19290
|
+
this.root.style.shape(this.fishTail);
|
|
19291
|
+
}
|
|
19292
|
+
// 删除鱼尾
|
|
19293
|
+
removeFishTail() {
|
|
19294
|
+
const exist = this.mindMap.lineDraw.findOne(".smm-layout-fishbone-tail");
|
|
19295
|
+
if (exist) {
|
|
19296
|
+
exist.remove();
|
|
19297
|
+
}
|
|
19298
|
+
}
|
|
19299
|
+
// 更新鱼尾形状位置
|
|
19300
|
+
updateFishTailPosition() {
|
|
19301
|
+
if (!this.isFishbone2()) return;
|
|
19302
|
+
this.fishTail.x(this.maxx).cy(this.root.top + this.root.height / 2);
|
|
19303
|
+
}
|
|
18408
19304
|
// 遍历数据创建节点、计算根节点的位置,计算根节点的子节点的top值
|
|
18409
19305
|
computedBaseValue() {
|
|
18410
19306
|
walk(
|
|
18411
19307
|
this.renderer.renderTree,
|
|
18412
19308
|
null,
|
|
18413
19309
|
(node, parent, isRoot, layerIndex, index, ancestors) => {
|
|
18414
|
-
|
|
19310
|
+
if (isRoot && this.isFishbone2()) {
|
|
19311
|
+
node.data.shape = "fishHead";
|
|
19312
|
+
}
|
|
19313
|
+
let newNode = this.createNode(
|
|
19314
|
+
node,
|
|
19315
|
+
parent,
|
|
19316
|
+
isRoot,
|
|
19317
|
+
layerIndex,
|
|
19318
|
+
index,
|
|
19319
|
+
ancestors
|
|
19320
|
+
);
|
|
18415
19321
|
if (isRoot) {
|
|
18416
19322
|
this.setNodeCenter(newNode);
|
|
18417
19323
|
} else {
|
|
@@ -18422,10 +19328,11 @@ class Fishbone extends Base2 {
|
|
|
18422
19328
|
}
|
|
18423
19329
|
if (parent._node.isRoot) {
|
|
18424
19330
|
let marginY = this.getMarginY(layerIndex);
|
|
19331
|
+
const topOffset = this.isFishbone2() ? parent._node.height / 4 : 0;
|
|
18425
19332
|
if (this.checkIsTop(newNode)) {
|
|
18426
|
-
newNode.top = parent._node.top - newNode.height - marginY;
|
|
19333
|
+
newNode.top = parent._node.top - newNode.height - marginY + topOffset;
|
|
18427
19334
|
} else {
|
|
18428
|
-
newNode.top = parent._node.top + parent._node.height + marginY;
|
|
19335
|
+
newNode.top = parent._node.top + parent._node.height + marginY - topOffset;
|
|
18429
19336
|
}
|
|
18430
19337
|
}
|
|
18431
19338
|
}
|
|
@@ -18446,8 +19353,9 @@ class Fishbone extends Base2 {
|
|
|
18446
19353
|
(node, parent, isRoot, layerIndex) => {
|
|
18447
19354
|
if (node.isRoot) {
|
|
18448
19355
|
let marginX = this.getMarginX(layerIndex + 1);
|
|
18449
|
-
|
|
18450
|
-
let
|
|
19356
|
+
const heightOffsetRatio = this.isFishbone2() ? 2 : 1;
|
|
19357
|
+
let topTotalLeft = node.left + node.width + node.height / heightOffsetRatio + marginX;
|
|
19358
|
+
let bottomTotalLeft = node.left + node.width + node.height / heightOffsetRatio + marginX;
|
|
18451
19359
|
node.children.forEach((item) => {
|
|
18452
19360
|
if (this.checkIsTop(item)) {
|
|
18453
19361
|
item.left = topTotalLeft;
|
|
@@ -18495,19 +19403,27 @@ class Fishbone extends Base2 {
|
|
|
18495
19403
|
if (node.isRoot) {
|
|
18496
19404
|
let topTotalLeft = 0;
|
|
18497
19405
|
let bottomTotalLeft = 0;
|
|
19406
|
+
let maxx = -Infinity;
|
|
18498
19407
|
node.children.forEach((item) => {
|
|
18499
19408
|
if (this.checkIsTop(item)) {
|
|
18500
19409
|
item.left += topTotalLeft;
|
|
18501
19410
|
this.updateChildren(item.children, "left", topTotalLeft);
|
|
18502
19411
|
let { left, right } = this.getNodeBoundaries(item, "h");
|
|
19412
|
+
if (right > maxx) {
|
|
19413
|
+
maxx = right;
|
|
19414
|
+
}
|
|
18503
19415
|
topTotalLeft += right - left;
|
|
18504
19416
|
} else {
|
|
18505
19417
|
item.left += bottomTotalLeft;
|
|
18506
19418
|
this.updateChildren(item.children, "left", bottomTotalLeft);
|
|
18507
19419
|
let { left, right } = this.getNodeBoundaries(item, "h");
|
|
19420
|
+
if (right > maxx) {
|
|
19421
|
+
maxx = right;
|
|
19422
|
+
}
|
|
18508
19423
|
bottomTotalLeft += right - left;
|
|
18509
19424
|
}
|
|
18510
19425
|
});
|
|
19426
|
+
this.maxx = maxx;
|
|
18511
19427
|
}
|
|
18512
19428
|
},
|
|
18513
19429
|
true
|
|
@@ -18596,7 +19512,7 @@ class Fishbone extends Base2 {
|
|
|
18596
19512
|
}
|
|
18597
19513
|
let marginY = this.getMarginY(item.layerIndex);
|
|
18598
19514
|
let nodeLineX = item.left;
|
|
18599
|
-
let offset2 = node.height / 2 + marginY;
|
|
19515
|
+
let offset2 = node.height / 2 + marginY - (this.isFishbone2() ? node.height / 4 : 0);
|
|
18600
19516
|
let offsetX = offset2 / Math.tan(degToRad(this.mindMap.opt.fishboneDeg));
|
|
18601
19517
|
let line3 = this.lineDraw.path();
|
|
18602
19518
|
if (this.checkIsTop(item)) {
|
|
@@ -18619,9 +19535,10 @@ class Fishbone extends Base2 {
|
|
|
18619
19535
|
let nodeHalfTop = node.top + node.height / 2;
|
|
18620
19536
|
let offset = node.height / 2 + this.getMarginY(node.layerIndex + 1);
|
|
18621
19537
|
let line2 = this.lineDraw.path();
|
|
19538
|
+
const lineEndX = this.isFishbone2() ? this.maxx : maxx - offset / Math.tan(degToRad(this.mindMap.opt.fishboneDeg));
|
|
18622
19539
|
line2.plot(
|
|
18623
19540
|
this.transformPath(
|
|
18624
|
-
`M ${node.left + node.width},${nodeHalfTop} L ${
|
|
19541
|
+
`M ${node.left + node.width},${nodeHalfTop} L ${lineEndX},${nodeHalfTop}`
|
|
18625
19542
|
)
|
|
18626
19543
|
);
|
|
18627
19544
|
node.style.line(line2);
|
|
@@ -18733,7 +19650,16 @@ class Fishbone extends Base2 {
|
|
|
18733
19650
|
rect.size(width2, expandBtnSize).x(0).y(height2);
|
|
18734
19651
|
}
|
|
18735
19652
|
}
|
|
19653
|
+
// 切换切换为其他结构时的处理
|
|
19654
|
+
beforeChange() {
|
|
19655
|
+
if (!this.isFishbone2()) return;
|
|
19656
|
+
this.root.nodeData.data.shape = CONSTANTS.SHAPE.RECTANGLE;
|
|
19657
|
+
this.removeFishTail();
|
|
19658
|
+
this.unBindEvent();
|
|
19659
|
+
this.mindMap.removeShape("fishHead");
|
|
19660
|
+
}
|
|
18736
19661
|
}
|
|
19662
|
+
const SMM_NODE_EDIT_WRAP = "smm-node-edit-wrap";
|
|
18737
19663
|
class TextEdit {
|
|
18738
19664
|
// 构造函数
|
|
18739
19665
|
constructor(renderer) {
|
|
@@ -18747,6 +19673,7 @@ class TextEdit {
|
|
|
18747
19673
|
this.textNodePaddingX = 5;
|
|
18748
19674
|
this.textNodePaddingY = 3;
|
|
18749
19675
|
this.isNeedUpdateTextEditNode = false;
|
|
19676
|
+
this.mindMap.addEditNodeClass(SMM_NODE_EDIT_WRAP);
|
|
18750
19677
|
this.bindEvent();
|
|
18751
19678
|
}
|
|
18752
19679
|
// 事件
|
|
@@ -18868,6 +19795,15 @@ class TextEdit {
|
|
|
18868
19795
|
}
|
|
18869
19796
|
return this.showTextEdit;
|
|
18870
19797
|
}
|
|
19798
|
+
// 设置文本编辑框是否处于显示状态
|
|
19799
|
+
setIsShowTextEdit(val) {
|
|
19800
|
+
this.showTextEdit = val;
|
|
19801
|
+
if (val) {
|
|
19802
|
+
this.mindMap.keyCommand.stopCheckInSvg();
|
|
19803
|
+
} else {
|
|
19804
|
+
this.mindMap.keyCommand.recoveryCheckInSvg();
|
|
19805
|
+
}
|
|
19806
|
+
}
|
|
18871
19807
|
// 显示文本编辑框
|
|
18872
19808
|
// isInserting:是否是刚创建的节点
|
|
18873
19809
|
// isFromKeyDown:是否是在按键事件进入的编辑
|
|
@@ -18936,7 +19872,7 @@ class TextEdit {
|
|
|
18936
19872
|
this.mindMap.richText.showTextEdit = false;
|
|
18937
19873
|
} else {
|
|
18938
19874
|
this.cacheEditingText = this.getEditText();
|
|
18939
|
-
this.
|
|
19875
|
+
this.setIsShowTextEdit(false);
|
|
18940
19876
|
}
|
|
18941
19877
|
this.show({
|
|
18942
19878
|
node,
|
|
@@ -18959,9 +19895,7 @@ class TextEdit {
|
|
|
18959
19895
|
this.registerTmpShortcut();
|
|
18960
19896
|
if (!this.textEditNode) {
|
|
18961
19897
|
this.textEditNode = document.createElement("div");
|
|
18962
|
-
this.textEditNode.classList.add(
|
|
18963
|
-
CONSTANTS.EDIT_NODE_CLASS.SMM_NODE_EDIT_WRAP
|
|
18964
|
-
);
|
|
19898
|
+
this.textEditNode.classList.add(SMM_NODE_EDIT_WRAP);
|
|
18965
19899
|
this.textEditNode.style.cssText = `
|
|
18966
19900
|
position: fixed;
|
|
18967
19901
|
box-sizing: border-box;
|
|
@@ -19032,7 +19966,7 @@ class TextEdit {
|
|
|
19032
19966
|
} else {
|
|
19033
19967
|
this.textEditNode.style.lineHeight = "normal";
|
|
19034
19968
|
}
|
|
19035
|
-
this.
|
|
19969
|
+
this.setIsShowTextEdit(true);
|
|
19036
19970
|
if (isInserting || selectTextOnEnterEditText && !isFromKeyDown) {
|
|
19037
19971
|
selectAllInput(this.textEditNode);
|
|
19038
19972
|
} else {
|
|
@@ -19107,7 +20041,7 @@ class TextEdit {
|
|
|
19107
20041
|
this.textEditNode.style.fontSize = "inherit";
|
|
19108
20042
|
this.textEditNode.style.fontWeight = "normal";
|
|
19109
20043
|
this.textEditNode.style.transform = "translateY(0)";
|
|
19110
|
-
this.
|
|
20044
|
+
this.setIsShowTextEdit(false);
|
|
19111
20045
|
this.mindMap.execCommand("SET_NODE_TEXT", currentNode, text);
|
|
19112
20046
|
this.mindMap.render();
|
|
19113
20047
|
this.mindMap.emit(
|
|
@@ -19142,8 +20076,14 @@ const layouts = {
|
|
|
19142
20076
|
[CONSTANTS.LAYOUT.TIMELINE2]: Timeline2,
|
|
19143
20077
|
// 竖向时间轴
|
|
19144
20078
|
[CONSTANTS.LAYOUT.VERTICAL_TIMELINE]: VerticalTimeline,
|
|
20079
|
+
// 竖向时间轴2
|
|
20080
|
+
[CONSTANTS.LAYOUT.VERTICAL_TIMELINE2]: VerticalTimeline,
|
|
20081
|
+
// 竖向时间轴3
|
|
20082
|
+
[CONSTANTS.LAYOUT.VERTICAL_TIMELINE3]: VerticalTimeline,
|
|
19145
20083
|
// 鱼骨图
|
|
19146
|
-
[CONSTANTS.LAYOUT.FISHBONE]: Fishbone
|
|
20084
|
+
[CONSTANTS.LAYOUT.FISHBONE]: Fishbone,
|
|
20085
|
+
// 鱼骨图2
|
|
20086
|
+
[CONSTANTS.LAYOUT.FISHBONE2]: Fishbone
|
|
19147
20087
|
};
|
|
19148
20088
|
class Render {
|
|
19149
20089
|
// 构造函数
|
|
@@ -19155,11 +20095,13 @@ class Render {
|
|
|
19155
20095
|
this.reRender = false;
|
|
19156
20096
|
this.isRendering = false;
|
|
19157
20097
|
this.hasWaitRendering = false;
|
|
19158
|
-
this.waitRenderingParams = [];
|
|
19159
20098
|
this.nodeCache = {};
|
|
19160
20099
|
this.lastNodeCache = {};
|
|
19161
|
-
this.
|
|
20100
|
+
this.renderSourceList = [];
|
|
20101
|
+
this.renderCallbackList = [];
|
|
19162
20102
|
this.activeNodeList = [];
|
|
20103
|
+
this.emitNodeActiveEventTimer = null;
|
|
20104
|
+
this.renderTimer = null;
|
|
19163
20105
|
this.root = null;
|
|
19164
20106
|
this.textEdit = new TextEdit(this);
|
|
19165
20107
|
this.beingCopyData = null;
|
|
@@ -19173,8 +20115,16 @@ class Render {
|
|
|
19173
20115
|
}
|
|
19174
20116
|
// 设置布局结构
|
|
19175
20117
|
setLayout() {
|
|
19176
|
-
|
|
19177
|
-
|
|
20118
|
+
if (this.layout && this.layout.beforeChange) {
|
|
20119
|
+
this.layout.beforeChange();
|
|
20120
|
+
}
|
|
20121
|
+
const { layout: layout2 } = this.mindMap.opt;
|
|
20122
|
+
let L2 = layouts[layout2] || this.mindMap[layout2];
|
|
20123
|
+
if (!L2) {
|
|
20124
|
+
L2 = layouts[CONSTANTS.LAYOUT.LOGICAL_STRUCTURE];
|
|
20125
|
+
this.mindMap.opt.layout = CONSTANTS.LAYOUT.LOGICAL_STRUCTURE;
|
|
20126
|
+
}
|
|
20127
|
+
this.layout = new L2(this, layout2);
|
|
19178
20128
|
}
|
|
19179
20129
|
// 重新设置思维导图数据
|
|
19180
20130
|
setData(data2) {
|
|
@@ -19198,6 +20148,9 @@ class Render {
|
|
|
19198
20148
|
this.setRootNodeCenter();
|
|
19199
20149
|
});
|
|
19200
20150
|
const onViewDataChange = throttle$1(() => {
|
|
20151
|
+
if (!this.renderTree) {
|
|
20152
|
+
return;
|
|
20153
|
+
}
|
|
19201
20154
|
if (this.root) {
|
|
19202
20155
|
this.mindMap.emit("node_tree_render_start");
|
|
19203
20156
|
this.root.render(
|
|
@@ -19415,9 +20368,10 @@ class Render {
|
|
|
19415
20368
|
);
|
|
19416
20369
|
if (!isChange) return;
|
|
19417
20370
|
this.lastActiveNodeList = [...activeNodeList];
|
|
19418
|
-
this.
|
|
20371
|
+
clearTimeout(this.emitNodeActiveEventTimer);
|
|
20372
|
+
this.emitNodeActiveEventTimer = setTimeout(() => {
|
|
19419
20373
|
this.mindMap.emit("node_active", node, activeNodeList);
|
|
19420
|
-
});
|
|
20374
|
+
}, 0);
|
|
19421
20375
|
}
|
|
19422
20376
|
// 鼠标点击画布时清空当前激活节点列表
|
|
19423
20377
|
clearActiveNodeListOnDrawClick(e, eventType) {
|
|
@@ -19446,27 +20400,71 @@ class Render {
|
|
|
19446
20400
|
this.nodeCache = {};
|
|
19447
20401
|
this.lastNodeCache = {};
|
|
19448
20402
|
}
|
|
19449
|
-
//
|
|
19450
|
-
|
|
19451
|
-
|
|
19452
|
-
|
|
20403
|
+
// 保存触发渲染的参数
|
|
20404
|
+
addRenderParams(callback, source) {
|
|
20405
|
+
if (callback) {
|
|
20406
|
+
const index = this.renderCallbackList.findIndex((fn) => {
|
|
20407
|
+
return fn === callback;
|
|
20408
|
+
});
|
|
20409
|
+
if (index === -1) {
|
|
20410
|
+
this.renderCallbackList.push(callback);
|
|
20411
|
+
}
|
|
20412
|
+
}
|
|
20413
|
+
if (source) {
|
|
20414
|
+
const index = this.renderSourceList.findIndex((s2) => {
|
|
20415
|
+
return s2 === source;
|
|
20416
|
+
});
|
|
20417
|
+
if (index === -1) {
|
|
20418
|
+
this.renderSourceList.push(source);
|
|
20419
|
+
}
|
|
20420
|
+
}
|
|
20421
|
+
}
|
|
20422
|
+
// 判断是否包含某种触发渲染源
|
|
20423
|
+
checkHasRenderSource(val) {
|
|
20424
|
+
val = Array.isArray(val) ? val : [val];
|
|
20425
|
+
for (let i2 = 0; i2 < this.renderSourceList.length; i2++) {
|
|
20426
|
+
if (val.includes(this.renderSourceList[i2])) {
|
|
20427
|
+
return true;
|
|
20428
|
+
}
|
|
20429
|
+
}
|
|
20430
|
+
return false;
|
|
20431
|
+
}
|
|
20432
|
+
// 渲染完毕的操作
|
|
20433
|
+
onRenderEnd() {
|
|
20434
|
+
this.renderCallbackList.forEach((fn) => {
|
|
20435
|
+
fn();
|
|
20436
|
+
});
|
|
20437
|
+
this.isRendering = false;
|
|
20438
|
+
this.reRender = false;
|
|
20439
|
+
this.renderCallbackList = [];
|
|
20440
|
+
this.renderSourceList = [];
|
|
20441
|
+
this.mindMap.emit("node_tree_render_end");
|
|
20442
|
+
}
|
|
20443
|
+
// 渲染
|
|
20444
|
+
render(callback, source) {
|
|
20445
|
+
this.addRenderParams(callback, source);
|
|
20446
|
+
clearTimeout(this.renderTimer);
|
|
20447
|
+
this.renderTimer = setTimeout(() => {
|
|
20448
|
+
this._render();
|
|
20449
|
+
}, 0);
|
|
20450
|
+
}
|
|
20451
|
+
// 真正的渲染
|
|
20452
|
+
_render() {
|
|
20453
|
+
if (this.checkHasRenderSource(CONSTANTS.CHANGE_THEME)) {
|
|
19453
20454
|
this.resetUnExpandNodeStyle();
|
|
19454
20455
|
}
|
|
19455
20456
|
if (this.isRendering) {
|
|
19456
20457
|
this.hasWaitRendering = true;
|
|
19457
|
-
this.waitRenderingParams = [callback, source];
|
|
19458
20458
|
return;
|
|
19459
20459
|
}
|
|
19460
20460
|
this.isRendering = true;
|
|
19461
|
-
this.renderSource = source;
|
|
19462
20461
|
this.lastNodeCache = this.nodeCache;
|
|
19463
20462
|
this.nodeCache = {};
|
|
19464
20463
|
if (this.reRender) {
|
|
19465
20464
|
this.clearActiveNodeList();
|
|
19466
20465
|
}
|
|
19467
20466
|
if (!this.renderTree) {
|
|
19468
|
-
this.
|
|
19469
|
-
this.mindMap.emit("node_tree_render_end");
|
|
20467
|
+
this.onRenderEnd();
|
|
19470
20468
|
return;
|
|
19471
20469
|
}
|
|
19472
20470
|
this.mindMap.emit("node_tree_render_start");
|
|
@@ -19482,19 +20480,12 @@ class Render {
|
|
|
19482
20480
|
this.root = root2;
|
|
19483
20481
|
this.root.render(() => {
|
|
19484
20482
|
this.isRendering = false;
|
|
19485
|
-
callback && callback();
|
|
19486
20483
|
if (this.hasWaitRendering) {
|
|
19487
|
-
const params = this.waitRenderingParams;
|
|
19488
20484
|
this.hasWaitRendering = false;
|
|
19489
|
-
this.
|
|
19490
|
-
|
|
19491
|
-
} else {
|
|
19492
|
-
this.renderSource = "";
|
|
19493
|
-
if (this.reRender) {
|
|
19494
|
-
this.reRender = false;
|
|
19495
|
-
}
|
|
20485
|
+
this.render();
|
|
20486
|
+
return;
|
|
19496
20487
|
}
|
|
19497
|
-
this.
|
|
20488
|
+
this.onRenderEnd();
|
|
19498
20489
|
});
|
|
19499
20490
|
});
|
|
19500
20491
|
this.emitNodeActiveEvent();
|
|
@@ -20914,6 +21905,8 @@ class KeyCommand {
|
|
|
20914
21905
|
this.shortcutMapCache = {};
|
|
20915
21906
|
this.isPause = false;
|
|
20916
21907
|
this.isInSvg = false;
|
|
21908
|
+
this.isStopCheckInSvg = false;
|
|
21909
|
+
this.defaultEnableCheck = this.defaultEnableCheck.bind(this);
|
|
20917
21910
|
this.bindEvent();
|
|
20918
21911
|
}
|
|
20919
21912
|
// 扩展按键映射
|
|
@@ -20950,6 +21943,20 @@ class KeyCommand {
|
|
|
20950
21943
|
this.shortcutMap = this.shortcutMapCache;
|
|
20951
21944
|
this.shortcutMapCache = {};
|
|
20952
21945
|
}
|
|
21946
|
+
// 停止对鼠标是否在画布内的检查,前提是开启了enableShortcutOnlyWhenMouseInSvg选项
|
|
21947
|
+
// 库内部节点文本编辑、关联线文本编辑、外框文本编辑前都会暂停检查,否则无法响应回车快捷键用于结束编辑
|
|
21948
|
+
// 如果你新增了额外的文本编辑,也可以在编辑前调用此方法
|
|
21949
|
+
stopCheckInSvg() {
|
|
21950
|
+
const { enableShortcutOnlyWhenMouseInSvg } = this.mindMap.opt;
|
|
21951
|
+
if (!enableShortcutOnlyWhenMouseInSvg) return;
|
|
21952
|
+
this.isStopCheckInSvg = true;
|
|
21953
|
+
}
|
|
21954
|
+
// 恢复对鼠标是否在画布内的检查
|
|
21955
|
+
recoveryCheckInSvg() {
|
|
21956
|
+
const { enableShortcutOnlyWhenMouseInSvg } = this.mindMap.opt;
|
|
21957
|
+
if (!enableShortcutOnlyWhenMouseInSvg) return;
|
|
21958
|
+
this.isStopCheckInSvg = true;
|
|
21959
|
+
}
|
|
20953
21960
|
// 绑定事件
|
|
20954
21961
|
bindEvent() {
|
|
20955
21962
|
this.onKeydown = this.onKeydown.bind(this);
|
|
@@ -20957,10 +21964,6 @@ class KeyCommand {
|
|
|
20957
21964
|
this.isInSvg = true;
|
|
20958
21965
|
});
|
|
20959
21966
|
this.mindMap.on("svg_mouseleave", () => {
|
|
20960
|
-
if (this.mindMap.renderer.textEdit.isShowTextEdit()) return;
|
|
20961
|
-
if (this.mindMap.associativeLine && this.mindMap.associativeLine.showTextEdit) {
|
|
20962
|
-
return;
|
|
20963
|
-
}
|
|
20964
21967
|
this.isInSvg = false;
|
|
20965
21968
|
});
|
|
20966
21969
|
window.addEventListener("keydown", this.onKeydown);
|
|
@@ -20975,7 +21978,14 @@ class KeyCommand {
|
|
|
20975
21978
|
// 根据事件目标判断是否响应快捷键事件
|
|
20976
21979
|
defaultEnableCheck(e) {
|
|
20977
21980
|
const target = e.target;
|
|
20978
|
-
|
|
21981
|
+
if (target === document.body) return true;
|
|
21982
|
+
for (let i2 = 0; i2 < this.mindMap.editNodeClassList.length; i2++) {
|
|
21983
|
+
const cur = this.mindMap.editNodeClassList[i2];
|
|
21984
|
+
if (target.classList.contains(cur)) {
|
|
21985
|
+
return true;
|
|
21986
|
+
}
|
|
21987
|
+
}
|
|
21988
|
+
return false;
|
|
20979
21989
|
}
|
|
20980
21990
|
// 按键事件
|
|
20981
21991
|
onKeydown(e) {
|
|
@@ -20986,7 +21996,7 @@ class KeyCommand {
|
|
|
20986
21996
|
} = this.mindMap.opt;
|
|
20987
21997
|
const checkFn = typeof customCheckEnableShortcut === "function" ? customCheckEnableShortcut : this.defaultEnableCheck;
|
|
20988
21998
|
if (!checkFn(e)) return;
|
|
20989
|
-
if (this.isPause || enableShortcutOnlyWhenMouseInSvg && !this.isInSvg) {
|
|
21999
|
+
if (this.isPause || enableShortcutOnlyWhenMouseInSvg && !this.isStopCheckInSvg && !this.isInSvg) {
|
|
20990
22000
|
return;
|
|
20991
22001
|
}
|
|
20992
22002
|
Object.keys(this.shortcutMap).forEach((key) => {
|
|
@@ -21099,7 +22109,7 @@ class KeyCommand {
|
|
|
21099
22109
|
}
|
|
21100
22110
|
}
|
|
21101
22111
|
const name = "simple-mind-map";
|
|
21102
|
-
const version = "0.
|
|
22112
|
+
const version = "0.14.0-fix.1";
|
|
21103
22113
|
const description = "一个简单的web在线思维导图";
|
|
21104
22114
|
const authors = [
|
|
21105
22115
|
{
|
|
@@ -21254,15 +22264,16 @@ class Command {
|
|
|
21254
22264
|
if (this.mindMap.opt.readonly || this.isPause) {
|
|
21255
22265
|
return;
|
|
21256
22266
|
}
|
|
21257
|
-
|
|
22267
|
+
this.mindMap.emit("beforeAddHistory");
|
|
22268
|
+
const lastDataStr = this.history.length > 0 ? this.history[this.activeHistoryIndex] : null;
|
|
21258
22269
|
const data2 = this.getCopyData();
|
|
21259
|
-
|
|
21260
|
-
if (
|
|
22270
|
+
const dataStr = JSON.stringify(data2);
|
|
22271
|
+
if (lastDataStr && lastDataStr === dataStr) {
|
|
21261
22272
|
return;
|
|
21262
22273
|
}
|
|
21263
|
-
this.emitDataUpdatesEvent(
|
|
22274
|
+
this.emitDataUpdatesEvent(lastDataStr, dataStr);
|
|
21264
22275
|
this.history = this.history.slice(0, this.activeHistoryIndex + 1);
|
|
21265
|
-
this.history.push(
|
|
22276
|
+
this.history.push(dataStr);
|
|
21266
22277
|
if (this.history.length > this.mindMap.opt.maxHistoryCount) {
|
|
21267
22278
|
this.history.shift();
|
|
21268
22279
|
}
|
|
@@ -21280,15 +22291,16 @@ class Command {
|
|
|
21280
22291
|
return;
|
|
21281
22292
|
}
|
|
21282
22293
|
if (this.activeHistoryIndex - step >= 0) {
|
|
21283
|
-
const
|
|
22294
|
+
const lastDataStr = this.history[this.activeHistoryIndex];
|
|
21284
22295
|
this.activeHistoryIndex -= step;
|
|
21285
22296
|
this.mindMap.emit(
|
|
21286
22297
|
"back_forward",
|
|
21287
22298
|
this.activeHistoryIndex,
|
|
21288
22299
|
this.history.length
|
|
21289
22300
|
);
|
|
21290
|
-
const
|
|
21291
|
-
|
|
22301
|
+
const dataStr = this.history[this.activeHistoryIndex];
|
|
22302
|
+
const data2 = JSON.parse(dataStr);
|
|
22303
|
+
this.emitDataUpdatesEvent(lastDataStr, dataStr);
|
|
21292
22304
|
return data2;
|
|
21293
22305
|
}
|
|
21294
22306
|
}
|
|
@@ -21299,15 +22311,16 @@ class Command {
|
|
|
21299
22311
|
}
|
|
21300
22312
|
let len = this.history.length;
|
|
21301
22313
|
if (this.activeHistoryIndex + step <= len - 1) {
|
|
21302
|
-
const
|
|
22314
|
+
const lastDataStr = this.history[this.activeHistoryIndex];
|
|
21303
22315
|
this.activeHistoryIndex += step;
|
|
21304
22316
|
this.mindMap.emit(
|
|
21305
22317
|
"back_forward",
|
|
21306
22318
|
this.activeHistoryIndex,
|
|
21307
22319
|
this.history.length
|
|
21308
22320
|
);
|
|
21309
|
-
const
|
|
21310
|
-
|
|
22321
|
+
const dataStr = this.history[this.activeHistoryIndex];
|
|
22322
|
+
const data2 = JSON.parse(dataStr);
|
|
22323
|
+
this.emitDataUpdatesEvent(lastDataStr, dataStr);
|
|
21311
22324
|
return data2;
|
|
21312
22325
|
}
|
|
21313
22326
|
}
|
|
@@ -21333,11 +22346,13 @@ class Command {
|
|
|
21333
22346
|
return data2;
|
|
21334
22347
|
}
|
|
21335
22348
|
// 派发思维导图更新明细事件
|
|
21336
|
-
emitDataUpdatesEvent(
|
|
22349
|
+
emitDataUpdatesEvent(lastDataStr, dataStr) {
|
|
21337
22350
|
try {
|
|
21338
22351
|
const eventName = "data_change_detail";
|
|
21339
22352
|
const count = this.mindMap.event.listenerCount(eventName);
|
|
21340
|
-
if (count > 0 &&
|
|
22353
|
+
if (count > 0 && lastDataStr && dataStr) {
|
|
22354
|
+
const lastData = JSON.parse(lastDataStr);
|
|
22355
|
+
const data2 = JSON.parse(dataStr);
|
|
21341
22356
|
const lastDataObj = simpleDeepClone(transformTreeDataToObject(lastData));
|
|
21342
22357
|
const dataObj = simpleDeepClone(transformTreeDataToObject(data2));
|
|
21343
22358
|
const res = [];
|
|
@@ -21459,8 +22474,6 @@ const defaultOpt = {
|
|
|
21459
22474
|
mouseScaleCenterUseMousePosition: true,
|
|
21460
22475
|
// 最多显示几个标签
|
|
21461
22476
|
maxTag: 5,
|
|
21462
|
-
// 标签显示的位置,相对于节点文本,bottom(下方)、right(右侧)
|
|
21463
|
-
tagPosition: CONSTANTS.TAG_POSITION.RIGHT,
|
|
21464
22477
|
// 展开收缩按钮尺寸
|
|
21465
22478
|
expandBtnSize: 20,
|
|
21466
22479
|
// 节点里图片和文字的间距
|
|
@@ -21726,6 +22739,40 @@ const defaultOpt = {
|
|
|
21726
22739
|
// color: '',// 图标颜色,不手动设置则会使用节点文本的颜色
|
|
21727
22740
|
}
|
|
21728
22741
|
},
|
|
22742
|
+
// 是否显示快捷创建子节点按钮
|
|
22743
|
+
isShowCreateChildBtnIcon: true,
|
|
22744
|
+
// 自定义快捷创建子节点按钮图标
|
|
22745
|
+
quickCreateChildBtnIcon: {
|
|
22746
|
+
icon: "",
|
|
22747
|
+
// svg字符串,如果不是确定要使用svg自带的样式,否则请去除其中的fill等样式属性
|
|
22748
|
+
style: {
|
|
22749
|
+
// 图标大小使用的是expandBtnSize选项
|
|
22750
|
+
// color: '',// 图标颜色,不手动设置则会使用expandBtnStyle选项的color字段
|
|
22751
|
+
}
|
|
22752
|
+
},
|
|
22753
|
+
// 自定义快捷创建子节点按钮的点击操作,
|
|
22754
|
+
customQuickCreateChildBtnClick: null,
|
|
22755
|
+
// 添加自定义的节点内容
|
|
22756
|
+
// 可传递一个对象,格式如下:
|
|
22757
|
+
/*
|
|
22758
|
+
{
|
|
22759
|
+
// 返回要添加的DOM元素详细
|
|
22760
|
+
create: (node) => {
|
|
22761
|
+
return {
|
|
22762
|
+
el, // DOM节点
|
|
22763
|
+
width: 20, // 宽高
|
|
22764
|
+
height: 20
|
|
22765
|
+
}
|
|
22766
|
+
},
|
|
22767
|
+
// 处理生成的@svgdotjs/svg.js库的ForeignObject节点实例,可以设置其在节点内的位置
|
|
22768
|
+
handle: ({ content, element, node }) => {
|
|
22769
|
+
|
|
22770
|
+
}
|
|
22771
|
+
}
|
|
22772
|
+
*/
|
|
22773
|
+
addCustomContentToNode: null,
|
|
22774
|
+
// 节点连线样式是否允许继承祖先的连线样式
|
|
22775
|
+
enableInheritAncestorLineStyle: true,
|
|
21729
22776
|
// 【Select插件】
|
|
21730
22777
|
// 多选节点时鼠标移动到边缘时的画布移动偏移量
|
|
21731
22778
|
selectTranslateStep: 3,
|
|
@@ -21893,6 +22940,7 @@ const defaultOpt = {
|
|
|
21893
22940
|
// 【OuterFrame】插件
|
|
21894
22941
|
outerFramePaddingX: 10,
|
|
21895
22942
|
outerFramePaddingY: 10,
|
|
22943
|
+
defaultOuterFrameText: "外框",
|
|
21896
22944
|
// 【Painter】插件
|
|
21897
22945
|
// 是否只格式刷节点手动设置的样式,不考虑节点通过主题的应用的样式
|
|
21898
22946
|
onlyPainterNodeCustomStyles: false,
|
|
@@ -21908,7 +22956,12 @@ const defaultOpt = {
|
|
|
21908
22956
|
maxImgResizeWidthInheritTheme: false,
|
|
21909
22957
|
// 最大允许缩放的尺寸,maxImgResizeWidthInheritTheme选项设置为false时生效,不限制最大值可传递Infinity
|
|
21910
22958
|
maxImgResizeWidth: Infinity,
|
|
21911
|
-
maxImgResizeHeight: Infinity
|
|
22959
|
+
maxImgResizeHeight: Infinity,
|
|
22960
|
+
// 自定义删除按钮和尺寸调整按钮的内容
|
|
22961
|
+
// 默认为内置图标,你可以传递一个svg字符串,或者其他的html字符串
|
|
22962
|
+
// 整体大小请使用上面的minImgResizeWidth和minImgResizeHeight选项设置
|
|
22963
|
+
customDeleteBtnInnerHTML: "",
|
|
22964
|
+
customResizeBtnInnerHTML: ""
|
|
21912
22965
|
};
|
|
21913
22966
|
class MindMap2 {
|
|
21914
22967
|
// 构造函数
|
|
@@ -21928,9 +22981,17 @@ class MindMap2 {
|
|
|
21928
22981
|
this.cssEl = null;
|
|
21929
22982
|
this.cssTextMap = {};
|
|
21930
22983
|
this.nodeInnerPrefixList = [];
|
|
22984
|
+
this.nodeInnerPostfixList = [];
|
|
22985
|
+
this.editNodeClassList = [];
|
|
22986
|
+
this.extendShapeList = [];
|
|
21931
22987
|
this.initContainer();
|
|
21932
22988
|
this.initTheme();
|
|
21933
22989
|
this.initCache();
|
|
22990
|
+
MindMap2.pluginList.filter((plugin) => {
|
|
22991
|
+
return plugin.preload;
|
|
22992
|
+
}).forEach((plugin) => {
|
|
22993
|
+
this.initPlugin(plugin);
|
|
22994
|
+
});
|
|
21934
22995
|
this.event = new Event({
|
|
21935
22996
|
mindMap: this
|
|
21936
22997
|
});
|
|
@@ -21947,7 +23008,9 @@ class MindMap2 {
|
|
|
21947
23008
|
mindMap: this
|
|
21948
23009
|
});
|
|
21949
23010
|
this.batchExecution = new BatchExecution();
|
|
21950
|
-
MindMap2.pluginList.
|
|
23011
|
+
MindMap2.pluginList.filter((plugin) => {
|
|
23012
|
+
return !plugin.preload;
|
|
23013
|
+
}).forEach((plugin) => {
|
|
21951
23014
|
this.initPlugin(plugin);
|
|
21952
23015
|
});
|
|
21953
23016
|
this.addCss();
|
|
@@ -21972,6 +23035,7 @@ class MindMap2 {
|
|
|
21972
23035
|
if (data2.data && !data2.data.expand) {
|
|
21973
23036
|
data2.data.expand = true;
|
|
21974
23037
|
}
|
|
23038
|
+
createUidForAppointNodes([data2], false, null, true);
|
|
21975
23039
|
return data2;
|
|
21976
23040
|
}
|
|
21977
23041
|
// 创建容器元素
|
|
@@ -22037,12 +23101,30 @@ class MindMap2 {
|
|
|
22037
23101
|
removeCss() {
|
|
22038
23102
|
if (this.cssEl) document.head.removeChild(this.cssEl);
|
|
22039
23103
|
}
|
|
23104
|
+
// 检查某个编辑节点类名是否存在,返回索引
|
|
23105
|
+
checkEditNodeClassIndex(className) {
|
|
23106
|
+
return this.editNodeClassList.findIndex((item) => {
|
|
23107
|
+
return item === className;
|
|
23108
|
+
});
|
|
23109
|
+
}
|
|
23110
|
+
// 添加一个编辑节点类名
|
|
23111
|
+
addEditNodeClass(className) {
|
|
23112
|
+
const index = this.checkEditNodeClassIndex(className);
|
|
23113
|
+
if (index === -1) {
|
|
23114
|
+
this.editNodeClassList.push(className);
|
|
23115
|
+
}
|
|
23116
|
+
}
|
|
23117
|
+
// 删除一个编辑节点类名
|
|
23118
|
+
deleteEditNodeClass(className) {
|
|
23119
|
+
const index = this.checkEditNodeClassIndex(className);
|
|
23120
|
+
if (index !== -1) {
|
|
23121
|
+
this.editNodeClassList.splice(index, 1);
|
|
23122
|
+
}
|
|
23123
|
+
}
|
|
22040
23124
|
// 渲染,部分渲染
|
|
22041
23125
|
render(callback, source = "") {
|
|
22042
|
-
this.
|
|
22043
|
-
|
|
22044
|
-
this.renderer.render(callback, source);
|
|
22045
|
-
});
|
|
23126
|
+
this.initTheme();
|
|
23127
|
+
this.renderer.render(callback, source);
|
|
22046
23128
|
}
|
|
22047
23129
|
// 重新渲染
|
|
22048
23130
|
reRender(callback, source = "") {
|
|
@@ -22149,17 +23231,17 @@ class MindMap2 {
|
|
|
22149
23231
|
return this.opt.layout;
|
|
22150
23232
|
}
|
|
22151
23233
|
// 设置布局结构
|
|
22152
|
-
setLayout(
|
|
22153
|
-
if (!layoutValueList.includes(
|
|
22154
|
-
|
|
23234
|
+
setLayout(layout2, notRender = false) {
|
|
23235
|
+
if (!layoutValueList.includes(layout2)) {
|
|
23236
|
+
layout2 = CONSTANTS.LAYOUT.LOGICAL_STRUCTURE;
|
|
22155
23237
|
}
|
|
22156
|
-
this.opt.layout =
|
|
23238
|
+
this.opt.layout = layout2;
|
|
22157
23239
|
this.view.reset();
|
|
22158
23240
|
this.renderer.setLayout();
|
|
22159
23241
|
if (!notRender) {
|
|
22160
23242
|
this.render(null, CONSTANTS.CHANGE_LAYOUT);
|
|
22161
23243
|
}
|
|
22162
|
-
this.emit("layout_change",
|
|
23244
|
+
this.emit("layout_change", layout2);
|
|
22163
23245
|
}
|
|
22164
23246
|
// 执行命令
|
|
22165
23247
|
execCommand(...args) {
|
|
@@ -22167,6 +23249,7 @@ class MindMap2 {
|
|
|
22167
23249
|
}
|
|
22168
23250
|
// 更新画布数据,如果新的数据是在当前画布节点数据基础上增删改查后形成的,那么可以使用该方法来更新画布数据
|
|
22169
23251
|
updateData(data2) {
|
|
23252
|
+
data2 = this.handleData(data2);
|
|
22170
23253
|
this.emit("before_update_data", data2);
|
|
22171
23254
|
this.renderer.setData(data2);
|
|
22172
23255
|
this.render();
|
|
@@ -22182,8 +23265,7 @@ class MindMap2 {
|
|
|
22182
23265
|
this.command.clearHistory();
|
|
22183
23266
|
this.command.addHistory();
|
|
22184
23267
|
this.renderer.setData(data2);
|
|
22185
|
-
this.reRender(
|
|
22186
|
-
}, CONSTANTS.SET_DATA);
|
|
23268
|
+
this.reRender();
|
|
22187
23269
|
this.emit("set_data", data2);
|
|
22188
23270
|
}
|
|
22189
23271
|
// 动态设置思维导图数据,包括节点数据、布局、主题、视图
|
|
@@ -22382,6 +23464,32 @@ class MindMap2 {
|
|
|
22382
23464
|
// 思维导图图形的垂直缩放值
|
|
22383
23465
|
};
|
|
22384
23466
|
}
|
|
23467
|
+
// 扩展节点形状
|
|
23468
|
+
addShape(shape) {
|
|
23469
|
+
if (!shape) return;
|
|
23470
|
+
const exist = this.extendShapeList.find((item) => {
|
|
23471
|
+
return item.name === shape.name;
|
|
23472
|
+
});
|
|
23473
|
+
if (exist) return;
|
|
23474
|
+
this.extendShapeList.push(shape);
|
|
23475
|
+
}
|
|
23476
|
+
// 删除扩展的形状
|
|
23477
|
+
removeShape(name2) {
|
|
23478
|
+
const index = this.extendShapeList.findIndex((item) => {
|
|
23479
|
+
return item.name === name2;
|
|
23480
|
+
});
|
|
23481
|
+
if (index !== -1) {
|
|
23482
|
+
this.extendShapeList.splice(index, 1);
|
|
23483
|
+
}
|
|
23484
|
+
}
|
|
23485
|
+
// 获取SVG.js库的一些对象
|
|
23486
|
+
getSvgObjects() {
|
|
23487
|
+
return {
|
|
23488
|
+
SVG,
|
|
23489
|
+
G,
|
|
23490
|
+
Rect
|
|
23491
|
+
};
|
|
23492
|
+
}
|
|
22385
23493
|
// 添加插件
|
|
22386
23494
|
addPlugin(plugin, opt) {
|
|
22387
23495
|
let index = MindMap2.hasPlugin(plugin);
|
|
@@ -22432,6 +23540,22 @@ class MindMap2 {
|
|
|
22432
23540
|
MindMap2.instanceCount--;
|
|
22433
23541
|
}
|
|
22434
23542
|
}
|
|
23543
|
+
let _extendNodeDataNoStylePropList = [];
|
|
23544
|
+
MindMap2.extendNodeDataNoStylePropList = (list = []) => {
|
|
23545
|
+
_extendNodeDataNoStylePropList.push(...list);
|
|
23546
|
+
nodeDataNoStylePropList.push(...list);
|
|
23547
|
+
};
|
|
23548
|
+
MindMap2.resetNodeDataNoStylePropList = () => {
|
|
23549
|
+
_extendNodeDataNoStylePropList.forEach((item) => {
|
|
23550
|
+
const index = nodeDataNoStylePropList.findIndex((item2) => {
|
|
23551
|
+
return item2 === item;
|
|
23552
|
+
});
|
|
23553
|
+
if (index !== -1) {
|
|
23554
|
+
nodeDataNoStylePropList.splice(index, 1);
|
|
23555
|
+
}
|
|
23556
|
+
});
|
|
23557
|
+
_extendNodeDataNoStylePropList = [];
|
|
23558
|
+
};
|
|
22435
23559
|
MindMap2.pluginList = [];
|
|
22436
23560
|
MindMap2.usePlugin = (plugin, opt = {}) => {
|
|
22437
23561
|
if (MindMap2.hasPlugin(plugin) !== -1) return MindMap2;
|
|
@@ -22456,273 +23580,377 @@ MindMap2.removeTheme = (name2) => {
|
|
|
22456
23580
|
theme[name2] = null;
|
|
22457
23581
|
}
|
|
22458
23582
|
};
|
|
22459
|
-
|
|
22460
|
-
|
|
22461
|
-
|
|
23583
|
+
class TouchEvent {
|
|
23584
|
+
// 构造函数
|
|
23585
|
+
constructor({ mindMap }) {
|
|
23586
|
+
this.mindMap = mindMap;
|
|
23587
|
+
this.touchesNum = 0;
|
|
23588
|
+
this.singleTouchstartEvent = null;
|
|
23589
|
+
this.clickNum = 0;
|
|
23590
|
+
this.touchStartScaleView = null;
|
|
23591
|
+
this.lastTouchStartPosition = null;
|
|
23592
|
+
this.lastTouchStartDistance = 0;
|
|
23593
|
+
this.bindEvent();
|
|
22462
23594
|
}
|
|
22463
|
-
|
|
22464
|
-
|
|
22465
|
-
|
|
22466
|
-
|
|
22467
|
-
|
|
22468
|
-
|
|
22469
|
-
|
|
22470
|
-
|
|
22471
|
-
|
|
22472
|
-
|
|
22473
|
-
|
|
22474
|
-
|
|
22475
|
-
}
|
|
22476
|
-
parentElem.appendChild(elem);
|
|
23595
|
+
// 绑定事件
|
|
23596
|
+
bindEvent() {
|
|
23597
|
+
this.onTouchstart = this.onTouchstart.bind(this);
|
|
23598
|
+
this.onTouchmove = this.onTouchmove.bind(this);
|
|
23599
|
+
this.onTouchcancel = this.onTouchcancel.bind(this);
|
|
23600
|
+
this.onTouchend = this.onTouchend.bind(this);
|
|
23601
|
+
window.addEventListener("touchstart", this.onTouchstart, { passive: false });
|
|
23602
|
+
window.addEventListener("touchmove", this.onTouchmove, { passive: false });
|
|
23603
|
+
window.addEventListener("touchcancel", this.onTouchcancel, {
|
|
23604
|
+
passive: false
|
|
23605
|
+
});
|
|
23606
|
+
window.addEventListener("touchend", this.onTouchend, { passive: false });
|
|
22477
23607
|
}
|
|
22478
|
-
|
|
22479
|
-
|
|
22480
|
-
()
|
|
22481
|
-
|
|
22482
|
-
|
|
22483
|
-
|
|
22484
|
-
|
|
22485
|
-
|
|
22486
|
-
)
|
|
22487
|
-
|
|
22488
|
-
|
|
22489
|
-
if (
|
|
22490
|
-
|
|
22491
|
-
|
|
22492
|
-
|
|
22493
|
-
|
|
22494
|
-
|
|
22495
|
-
|
|
22496
|
-
|
|
22497
|
-
|
|
22498
|
-
},
|
|
22499
|
-
setup(__props, { emit }) {
|
|
22500
|
-
const isDragging = ref(false);
|
|
22501
|
-
const containerWidth = ref(0);
|
|
22502
|
-
const mindScale = ref(1);
|
|
22503
|
-
const containerRect = ref();
|
|
22504
|
-
const trackRef = ref();
|
|
22505
|
-
const thumbPosition = computed(() => ({
|
|
22506
|
-
left: `${(mindScale.value - 0.1) / 1.9 * 100}%`
|
|
22507
|
-
}));
|
|
22508
|
-
const updateDimensions = () => {
|
|
22509
|
-
var _a;
|
|
22510
|
-
containerWidth.value = (_a = trackRef.value) == null ? void 0 : _a.offsetWidth;
|
|
22511
|
-
containerRect.value = trackRef.value.getBoundingClientRect();
|
|
22512
|
-
};
|
|
22513
|
-
const updateScale = (newScale) => {
|
|
22514
|
-
if (!containerRect.value) return;
|
|
22515
|
-
mindScale.value = Number(newScale.toFixed(1));
|
|
22516
|
-
emit("update-mind-map-scale", mindScale.value);
|
|
22517
|
-
};
|
|
22518
|
-
const updateMindMapScale = (e) => {
|
|
22519
|
-
if (!containerRect.value) return;
|
|
22520
|
-
const rawScale = (e.clientX - containerRect.value.left) / containerRect.value.width;
|
|
22521
|
-
const newScale = Number(Math.min(2, Math.max(0.1, 0.1 + rawScale * 1.9)).toFixed(1));
|
|
22522
|
-
if (mindScale.value !== newScale) {
|
|
22523
|
-
updateScale(newScale);
|
|
23608
|
+
// 解绑事件
|
|
23609
|
+
unBindEvent() {
|
|
23610
|
+
window.removeEventListener("touchstart", this.onTouchstart);
|
|
23611
|
+
window.removeEventListener("touchmove", this.onTouchmove);
|
|
23612
|
+
window.removeEventListener("touchcancel", this.onTouchcancel);
|
|
23613
|
+
window.removeEventListener("touchend", this.onTouchend);
|
|
23614
|
+
}
|
|
23615
|
+
// 手指按下事件
|
|
23616
|
+
onTouchstart(e) {
|
|
23617
|
+
this.touchesNum = e.touches.length;
|
|
23618
|
+
this.touchStartScaleView = null;
|
|
23619
|
+
if (this.touchesNum === 1) {
|
|
23620
|
+
let touch = e.touches[0];
|
|
23621
|
+
if (this.lastTouchStartPosition) {
|
|
23622
|
+
this.lastTouchStartDistance = getTwoPointDistance(
|
|
23623
|
+
this.lastTouchStartPosition.x,
|
|
23624
|
+
this.lastTouchStartPosition.y,
|
|
23625
|
+
touch.clientX,
|
|
23626
|
+
touch.clientY
|
|
23627
|
+
);
|
|
22524
23628
|
}
|
|
22525
|
-
|
|
22526
|
-
|
|
22527
|
-
|
|
23629
|
+
this.lastTouchStartPosition = {
|
|
23630
|
+
x: touch.clientX,
|
|
23631
|
+
y: touch.clientY
|
|
23632
|
+
};
|
|
23633
|
+
this.singleTouchstartEvent = touch;
|
|
23634
|
+
this.dispatchMouseEvent("mousedown", touch.target, touch);
|
|
23635
|
+
}
|
|
23636
|
+
}
|
|
23637
|
+
// 手指移动事件
|
|
23638
|
+
onTouchmove(e) {
|
|
23639
|
+
let len = e.touches.length;
|
|
23640
|
+
if (len === 1) {
|
|
23641
|
+
let touch = e.touches[0];
|
|
23642
|
+
this.dispatchMouseEvent("mousemove", touch.target, touch);
|
|
23643
|
+
} else if (len === 2) {
|
|
23644
|
+
let { disableTouchZoom, minTouchZoomScale, maxTouchZoomScale } = this.mindMap.opt;
|
|
23645
|
+
if (disableTouchZoom) return;
|
|
23646
|
+
minTouchZoomScale = minTouchZoomScale === -1 ? -Infinity : minTouchZoomScale / 100;
|
|
23647
|
+
maxTouchZoomScale = maxTouchZoomScale === -1 ? Infinity : maxTouchZoomScale / 100;
|
|
23648
|
+
let touch1 = e.touches[0];
|
|
23649
|
+
let touch2 = e.touches[1];
|
|
23650
|
+
let ox = touch1.clientX - touch2.clientX;
|
|
23651
|
+
let oy = touch1.clientY - touch2.clientY;
|
|
23652
|
+
let distance = Math.sqrt(Math.pow(ox, 2) + Math.pow(oy, 2));
|
|
23653
|
+
let { x: touch1ClientX, y: touch1ClientY } = this.mindMap.toPos(
|
|
23654
|
+
touch1.clientX,
|
|
23655
|
+
touch1.clientY
|
|
23656
|
+
);
|
|
23657
|
+
let { x: touch2ClientX, y: touch2ClientY } = this.mindMap.toPos(
|
|
23658
|
+
touch2.clientX,
|
|
23659
|
+
touch2.clientY
|
|
23660
|
+
);
|
|
23661
|
+
let cx2 = (touch1ClientX + touch2ClientX) / 2;
|
|
23662
|
+
let cy2 = (touch1ClientY + touch2ClientY) / 2;
|
|
23663
|
+
const view = this.mindMap.view;
|
|
23664
|
+
if (!this.touchStartScaleView) {
|
|
23665
|
+
this.touchStartScaleView = {
|
|
23666
|
+
distance,
|
|
23667
|
+
scale: view.scale,
|
|
23668
|
+
x: view.x,
|
|
23669
|
+
y: view.y,
|
|
23670
|
+
cx: cx2,
|
|
23671
|
+
cy: cy2
|
|
23672
|
+
};
|
|
22528
23673
|
return;
|
|
22529
23674
|
}
|
|
22530
|
-
const
|
|
22531
|
-
|
|
22532
|
-
|
|
22533
|
-
|
|
22534
|
-
|
|
22535
|
-
|
|
23675
|
+
const viewBefore = this.touchStartScaleView;
|
|
23676
|
+
let scale = viewBefore.scale * (distance / viewBefore.distance);
|
|
23677
|
+
if (Math.abs(distance - viewBefore.distance) <= 10) {
|
|
23678
|
+
scale = viewBefore.scale;
|
|
23679
|
+
}
|
|
23680
|
+
scale = scale < minTouchZoomScale ? minTouchZoomScale : scale > maxTouchZoomScale ? maxTouchZoomScale : scale;
|
|
23681
|
+
const ratio = 1 - scale / viewBefore.scale;
|
|
23682
|
+
view.scale = scale;
|
|
23683
|
+
view.x = viewBefore.x + (cx2 - viewBefore.x) * ratio + (cx2 - viewBefore.cx) * scale;
|
|
23684
|
+
view.y = viewBefore.y + (cy2 - viewBefore.y) * ratio + (cy2 - viewBefore.cy) * scale;
|
|
23685
|
+
view.transform();
|
|
23686
|
+
this.mindMap.emit("scale", scale);
|
|
23687
|
+
}
|
|
23688
|
+
}
|
|
23689
|
+
// 手指取消事件
|
|
23690
|
+
onTouchcancel(e) {
|
|
23691
|
+
}
|
|
23692
|
+
// 手指松开事件
|
|
23693
|
+
onTouchend(e) {
|
|
23694
|
+
this.dispatchMouseEvent("mouseup", e.target);
|
|
23695
|
+
if (this.touchesNum === 1) {
|
|
23696
|
+
this.clickNum++;
|
|
23697
|
+
setTimeout(() => {
|
|
23698
|
+
this.clickNum = 0;
|
|
23699
|
+
this.lastTouchStartPosition = null;
|
|
23700
|
+
this.lastTouchStartDistance = 0;
|
|
23701
|
+
}, 300);
|
|
23702
|
+
let ev = this.singleTouchstartEvent;
|
|
23703
|
+
if (this.clickNum > 1 && this.lastTouchStartDistance <= 5) {
|
|
23704
|
+
this.clickNum = 0;
|
|
23705
|
+
this.dispatchMouseEvent("dblclick", ev.target, ev);
|
|
23706
|
+
}
|
|
23707
|
+
}
|
|
23708
|
+
this.touchesNum = 0;
|
|
23709
|
+
this.singleTouchstartEvent = null;
|
|
23710
|
+
this.touchStartScaleView = null;
|
|
23711
|
+
}
|
|
23712
|
+
// 发送鼠标事件
|
|
23713
|
+
dispatchMouseEvent(eventName, target, e) {
|
|
23714
|
+
let opt = {};
|
|
23715
|
+
if (e) {
|
|
23716
|
+
opt = {
|
|
23717
|
+
screenX: e.screenX,
|
|
23718
|
+
screenY: e.screenY,
|
|
23719
|
+
clientX: e.clientX,
|
|
23720
|
+
clientY: e.clientY,
|
|
23721
|
+
which: 1
|
|
23722
|
+
};
|
|
23723
|
+
}
|
|
23724
|
+
let event = new MouseEvent(eventName, __spreadValues({
|
|
23725
|
+
view: document.defaultView,
|
|
23726
|
+
bubbles: true,
|
|
23727
|
+
cancelable: true
|
|
23728
|
+
}, opt));
|
|
23729
|
+
target.dispatchEvent(event);
|
|
23730
|
+
}
|
|
23731
|
+
// 插件被移除前做的事情
|
|
23732
|
+
beforePluginRemove() {
|
|
23733
|
+
this.unBindEvent();
|
|
23734
|
+
}
|
|
23735
|
+
// 插件被卸载前做的事情
|
|
23736
|
+
beforePluginDestroy() {
|
|
23737
|
+
this.unBindEvent();
|
|
23738
|
+
}
|
|
23739
|
+
}
|
|
23740
|
+
TouchEvent.instanceName = "touchEvent";
|
|
23741
|
+
MindMap2.usePlugin(TouchEvent);
|
|
23742
|
+
const useOutlineMindMapData = () => {
|
|
23743
|
+
const outlineData = ref();
|
|
23744
|
+
const summaryList = computed(() => {
|
|
23745
|
+
var _a;
|
|
23746
|
+
return ((_a = outlineData.value) == null ? void 0 : _a.outlineContent) || [];
|
|
23747
|
+
});
|
|
23748
|
+
const mapDomTree = computed(() => {
|
|
23749
|
+
return transformOutline(summaryList.value);
|
|
23750
|
+
});
|
|
23751
|
+
function transformOutline(outline) {
|
|
23752
|
+
if (!outline.length) return null;
|
|
23753
|
+
const createNode = (item) => {
|
|
23754
|
+
if (!outline.length) return [];
|
|
23755
|
+
const secondChildrenNode = [];
|
|
23756
|
+
for (let i2 = 0; i2 < item.length; i2++) {
|
|
23757
|
+
secondChildrenNode.push({
|
|
23758
|
+
data: { text: item[i2] }
|
|
23759
|
+
});
|
|
22536
23760
|
}
|
|
22537
|
-
|
|
22538
|
-
updateScale(newScale);
|
|
23761
|
+
return secondChildrenNode;
|
|
22539
23762
|
};
|
|
22540
|
-
|
|
22541
|
-
|
|
22542
|
-
|
|
22543
|
-
|
|
22544
|
-
|
|
22545
|
-
|
|
22546
|
-
|
|
23763
|
+
return {
|
|
23764
|
+
data: {
|
|
23765
|
+
text: outline[0].title
|
|
23766
|
+
},
|
|
23767
|
+
children: outline.map((item) => ({
|
|
23768
|
+
data: { text: item.title },
|
|
23769
|
+
children: createNode(item.summary)
|
|
23770
|
+
}))
|
|
22547
23771
|
};
|
|
22548
|
-
|
|
22549
|
-
|
|
22550
|
-
|
|
23772
|
+
}
|
|
23773
|
+
function setOutlineData(data2) {
|
|
23774
|
+
outlineData.value = data2;
|
|
23775
|
+
}
|
|
23776
|
+
return {
|
|
23777
|
+
setOutlineData,
|
|
23778
|
+
mapDomTree
|
|
23779
|
+
};
|
|
23780
|
+
};
|
|
23781
|
+
const useMindMap = () => {
|
|
23782
|
+
let mindMap = null;
|
|
23783
|
+
function getMindMap() {
|
|
23784
|
+
if (!mindMap) {
|
|
23785
|
+
throw new Error("need init mindMap");
|
|
23786
|
+
}
|
|
23787
|
+
return mindMap;
|
|
23788
|
+
}
|
|
23789
|
+
const mindMapContainerRef = ref();
|
|
23790
|
+
const currentScaleRate = ref(1);
|
|
23791
|
+
const defaultScaleRate = ref(1);
|
|
23792
|
+
function initMindMap(data2) {
|
|
23793
|
+
return __async(this, null, function* () {
|
|
23794
|
+
yield nextTick$1();
|
|
23795
|
+
destroyMindMap();
|
|
23796
|
+
if (!data2 || !mindMapContainerRef.value) {
|
|
23797
|
+
return;
|
|
22551
23798
|
}
|
|
22552
|
-
|
|
22553
|
-
|
|
22554
|
-
|
|
22555
|
-
|
|
22556
|
-
|
|
22557
|
-
|
|
22558
|
-
|
|
22559
|
-
|
|
22560
|
-
|
|
22561
|
-
|
|
23799
|
+
mindMap = new MindMap2({
|
|
23800
|
+
el: mindMapContainerRef.value,
|
|
23801
|
+
data: data2,
|
|
23802
|
+
enableFreeDrag: false,
|
|
23803
|
+
readonly: true,
|
|
23804
|
+
// 只读
|
|
23805
|
+
isLimitMindMapInCanvas: true,
|
|
23806
|
+
// 限制在画布内
|
|
23807
|
+
initRootNodePosition: ["center", "center"],
|
|
23808
|
+
layout: "logicalStructure",
|
|
23809
|
+
disableTouchZoom: false,
|
|
23810
|
+
minZoomRatio: 10,
|
|
23811
|
+
maxZoomRatio: 200,
|
|
23812
|
+
minTouchZoomScale: 10,
|
|
23813
|
+
maxTouchZoomScale: 200
|
|
23814
|
+
});
|
|
23815
|
+
mindMap.setThemeConfig({
|
|
23816
|
+
backgroundColor: "#36373d",
|
|
23817
|
+
lineColor: "#EEEEEE",
|
|
23818
|
+
lineWidth: 3,
|
|
23819
|
+
lineStyle: "straight",
|
|
23820
|
+
lineRadius: 4,
|
|
23821
|
+
paddingX: 15,
|
|
23822
|
+
paddingY: 10,
|
|
23823
|
+
root: {
|
|
23824
|
+
shape: "rectangle",
|
|
23825
|
+
fillColor: "#36373d",
|
|
23826
|
+
color: "#EEEEEE",
|
|
23827
|
+
borderColor: "#EEEEEE",
|
|
23828
|
+
borderRadius: 4,
|
|
23829
|
+
borderWidth: 2,
|
|
23830
|
+
borderDasharray: "none"
|
|
23831
|
+
},
|
|
23832
|
+
second: {
|
|
23833
|
+
shape: "rectangle",
|
|
23834
|
+
lineColor: "transparent",
|
|
23835
|
+
fillColor: "transparent",
|
|
23836
|
+
color: "#EEEEEE",
|
|
23837
|
+
borderColor: "#EEEEEE",
|
|
23838
|
+
borderRadius: 5,
|
|
23839
|
+
borderWidth: 2
|
|
23840
|
+
},
|
|
23841
|
+
node: {
|
|
23842
|
+
shape: "rectangle",
|
|
23843
|
+
lineColor: "transparent",
|
|
23844
|
+
fillColor: "transparent",
|
|
23845
|
+
color: "#EEEEEE",
|
|
23846
|
+
borderColor: "transparent",
|
|
23847
|
+
borderRadius: 5,
|
|
23848
|
+
borderWidth: 0
|
|
23849
|
+
}
|
|
23850
|
+
});
|
|
23851
|
+
mindMap.on("node_tree_render_end", () => {
|
|
23852
|
+
if (!mindMap) return;
|
|
23853
|
+
mindMap.view.fit(
|
|
23854
|
+
() => {
|
|
23855
|
+
getMindMap().getElRectInfo();
|
|
23856
|
+
getMindMap().resize();
|
|
23857
|
+
return false;
|
|
23858
|
+
},
|
|
23859
|
+
false,
|
|
23860
|
+
0
|
|
23861
|
+
);
|
|
23862
|
+
});
|
|
23863
|
+
mindMap.on("scale", () => {
|
|
23864
|
+
currentScaleRate.value = getMindMap().view.scale;
|
|
23865
|
+
});
|
|
23866
|
+
mindMap.on("resize", () => {
|
|
23867
|
+
currentScaleRate.value = getMindMap().view.scale;
|
|
23868
|
+
defaultScaleRate.value = getMindMap().view.scale;
|
|
23869
|
+
});
|
|
22562
23870
|
});
|
|
22563
|
-
return { __sfc: true, emit, isDragging, containerWidth, mindScale, containerRect, trackRef, thumbPosition, updateDimensions, updateScale, updateMindMapScale, decrementScale, incrementScale, handleScaleChange, startDrag, handleDrag, endDrag };
|
|
22564
23871
|
}
|
|
22565
|
-
|
|
22566
|
-
|
|
22567
|
-
|
|
22568
|
-
|
|
22569
|
-
|
|
22570
|
-
|
|
22571
|
-
|
|
22572
|
-
|
|
22573
|
-
|
|
22574
|
-
|
|
23872
|
+
function destroyMindMap() {
|
|
23873
|
+
if (!mindMap) return;
|
|
23874
|
+
mindMap.destroy();
|
|
23875
|
+
mindMap = null;
|
|
23876
|
+
}
|
|
23877
|
+
function updateMindMapScale(scale) {
|
|
23878
|
+
if (!mindMap) return;
|
|
23879
|
+
mindMap.view.setScale(scale, 0, 0);
|
|
23880
|
+
if (scale === defaultScaleRate.value) {
|
|
23881
|
+
mindMap.view.fit(
|
|
23882
|
+
() => {
|
|
23883
|
+
getMindMap().getElRectInfo();
|
|
23884
|
+
getMindMap().resize();
|
|
23885
|
+
return false;
|
|
23886
|
+
},
|
|
23887
|
+
false,
|
|
23888
|
+
0
|
|
23889
|
+
);
|
|
23890
|
+
}
|
|
23891
|
+
}
|
|
23892
|
+
function resizeMindMap() {
|
|
23893
|
+
if (!mindMap) return;
|
|
23894
|
+
mindMap.resize();
|
|
23895
|
+
}
|
|
23896
|
+
return {
|
|
23897
|
+
mindMapContainerRef,
|
|
23898
|
+
currentScaleRate,
|
|
23899
|
+
defaultScaleRate,
|
|
23900
|
+
initMindMap,
|
|
23901
|
+
destroyMindMap,
|
|
23902
|
+
resizeMindMap,
|
|
23903
|
+
updateMindMapScale
|
|
23904
|
+
};
|
|
22575
23905
|
};
|
|
22576
|
-
var _sfc_staticRenderFns$d = [];
|
|
22577
|
-
var __component__$d = /* @__PURE__ */ normalizeComponent(
|
|
22578
|
-
_sfc_main$d,
|
|
22579
|
-
_sfc_render$d,
|
|
22580
|
-
_sfc_staticRenderFns$d
|
|
22581
|
-
);
|
|
22582
|
-
const MapControl = __component__$d.exports;
|
|
22583
23906
|
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
22584
23907
|
__name: "outline-mind-map",
|
|
22585
23908
|
setup(__props, { expose }) {
|
|
22586
23909
|
const { isMobile: isMobile2 } = useGlobalInject();
|
|
22587
|
-
const outlineData = ref();
|
|
22588
|
-
const summaryList = computed(() => {
|
|
22589
|
-
var _a;
|
|
22590
|
-
return ((_a = outlineData.value) == null ? void 0 : _a.outlineContent) || [];
|
|
22591
|
-
});
|
|
22592
|
-
const mapDomTree = computed(() => {
|
|
22593
|
-
return transformOutline(summaryList.value);
|
|
22594
|
-
});
|
|
22595
|
-
function transformOutline(outline) {
|
|
22596
|
-
if (!outline.length) return null;
|
|
22597
|
-
const createNode = (item) => {
|
|
22598
|
-
if (!outline.length) return [];
|
|
22599
|
-
const secondChildrenNode = [];
|
|
22600
|
-
for (let i2 = 0; i2 < item.length; i2++) {
|
|
22601
|
-
secondChildrenNode.push({
|
|
22602
|
-
data: { text: item[i2] }
|
|
22603
|
-
});
|
|
22604
|
-
}
|
|
22605
|
-
return secondChildrenNode;
|
|
22606
|
-
};
|
|
22607
|
-
return {
|
|
22608
|
-
data: {
|
|
22609
|
-
text: outline[0].title
|
|
22610
|
-
},
|
|
22611
|
-
children: outline.map((item) => ({
|
|
22612
|
-
data: { text: item.title },
|
|
22613
|
-
children: createNode(item.summary)
|
|
22614
|
-
}))
|
|
22615
|
-
};
|
|
22616
|
-
}
|
|
22617
|
-
let mindMap = null;
|
|
22618
|
-
const mindMapContainerRef = ref();
|
|
22619
|
-
function initMindMap() {
|
|
22620
|
-
return __async(this, null, function* () {
|
|
22621
|
-
yield nextTick$1();
|
|
22622
|
-
destroyMindMap();
|
|
22623
|
-
if (!mapDomTree.value || !mindMapContainerRef.value) {
|
|
22624
|
-
return;
|
|
22625
|
-
}
|
|
22626
|
-
mindMap = new MindMap2({
|
|
22627
|
-
el: mindMapContainerRef.value,
|
|
22628
|
-
data: mapDomTree.value,
|
|
22629
|
-
enableFreeDrag: false,
|
|
22630
|
-
readonly: true,
|
|
22631
|
-
// 只读
|
|
22632
|
-
isLimitMindMapInCanvas: true,
|
|
22633
|
-
// 限制在画布内
|
|
22634
|
-
initRootNodePosition: ["center", "center"],
|
|
22635
|
-
layout: "logicalStructure"
|
|
22636
|
-
});
|
|
22637
|
-
mindMap.setThemeConfig({
|
|
22638
|
-
backgroundColor: "#36373d",
|
|
22639
|
-
lineColor: "#EEEEEE",
|
|
22640
|
-
lineWidth: 3,
|
|
22641
|
-
lineStyle: "straight",
|
|
22642
|
-
lineRadius: 4,
|
|
22643
|
-
paddingX: 15,
|
|
22644
|
-
paddingY: 10,
|
|
22645
|
-
root: {
|
|
22646
|
-
shape: "rectangle",
|
|
22647
|
-
fillColor: "#36373d",
|
|
22648
|
-
color: "#EEEEEE",
|
|
22649
|
-
borderColor: "#EEEEEE",
|
|
22650
|
-
borderRadius: 4,
|
|
22651
|
-
borderWidth: 2,
|
|
22652
|
-
borderDasharray: "none"
|
|
22653
|
-
},
|
|
22654
|
-
second: {
|
|
22655
|
-
shape: "rectangle",
|
|
22656
|
-
lineColor: "transparent",
|
|
22657
|
-
fillColor: "transparent",
|
|
22658
|
-
color: "#EEEEEE",
|
|
22659
|
-
borderColor: "#EEEEEE",
|
|
22660
|
-
borderRadius: 5,
|
|
22661
|
-
borderWidth: 2
|
|
22662
|
-
},
|
|
22663
|
-
node: {
|
|
22664
|
-
shape: "rectangle",
|
|
22665
|
-
lineColor: "transparent",
|
|
22666
|
-
fillColor: "transparent",
|
|
22667
|
-
color: "#EEEEEE",
|
|
22668
|
-
borderColor: "transparent",
|
|
22669
|
-
borderRadius: 5,
|
|
22670
|
-
borderWidth: 0
|
|
22671
|
-
}
|
|
22672
|
-
});
|
|
22673
|
-
mindMap.on("node_tree_render_end", () => {
|
|
22674
|
-
mindMap == null ? void 0 : mindMap.view.fit(
|
|
22675
|
-
() => {
|
|
22676
|
-
mindMap == null ? void 0 : mindMap.getElRectInfo();
|
|
22677
|
-
mindMap == null ? void 0 : mindMap.resize();
|
|
22678
|
-
return false;
|
|
22679
|
-
},
|
|
22680
|
-
false,
|
|
22681
|
-
0
|
|
22682
|
-
);
|
|
22683
|
-
});
|
|
22684
|
-
});
|
|
22685
|
-
}
|
|
22686
|
-
function destroyMindMap() {
|
|
22687
|
-
if (!mindMap) return;
|
|
22688
|
-
mindMap.destroy();
|
|
22689
|
-
mindMap = null;
|
|
22690
|
-
}
|
|
22691
|
-
function updateMindMapScale(scale) {
|
|
22692
|
-
if (!mindMap) return;
|
|
22693
|
-
mindMap.view.setScale(scale, 0, 0);
|
|
22694
|
-
}
|
|
22695
23910
|
const wrapRef = ref();
|
|
22696
23911
|
useAppendTo(wrapRef);
|
|
22697
|
-
|
|
22698
|
-
|
|
22699
|
-
|
|
22700
|
-
|
|
22701
|
-
|
|
22702
|
-
|
|
22703
|
-
|
|
22704
|
-
|
|
22705
|
-
);
|
|
23912
|
+
const {
|
|
23913
|
+
mindMapContainerRef,
|
|
23914
|
+
currentScaleRate,
|
|
23915
|
+
defaultScaleRate,
|
|
23916
|
+
initMindMap,
|
|
23917
|
+
destroyMindMap,
|
|
23918
|
+
resizeMindMap,
|
|
23919
|
+
updateMindMapScale
|
|
23920
|
+
} = useMindMap();
|
|
23921
|
+
const { mapDomTree, setOutlineData } = useOutlineMindMapData();
|
|
23922
|
+
const isFullscreen = ref(false);
|
|
23923
|
+
function toggleFullscreen() {
|
|
23924
|
+
isFullscreen.value = !isFullscreen.value;
|
|
23925
|
+
nextTick$1(() => {
|
|
23926
|
+
resizeMindMap();
|
|
23927
|
+
});
|
|
23928
|
+
}
|
|
22706
23929
|
const visible2 = ref(false);
|
|
22707
23930
|
function openMindMap(data2) {
|
|
22708
|
-
|
|
23931
|
+
isFullscreen.value = false;
|
|
23932
|
+
setOutlineData(data2);
|
|
23933
|
+
initMindMap(mapDomTree.value);
|
|
22709
23934
|
visible2.value = true;
|
|
22710
|
-
initMindMap();
|
|
22711
23935
|
}
|
|
22712
23936
|
function closeMindMap() {
|
|
22713
23937
|
visible2.value = false;
|
|
23938
|
+
isFullscreen.value = false;
|
|
22714
23939
|
destroyMindMap();
|
|
22715
23940
|
}
|
|
22716
23941
|
expose({
|
|
22717
23942
|
openMindMap,
|
|
22718
23943
|
closeMindMap
|
|
22719
23944
|
});
|
|
22720
|
-
return { __sfc: true, isMobile: isMobile2,
|
|
23945
|
+
return { __sfc: true, isMobile: isMobile2, wrapRef, mindMapContainerRef, currentScaleRate, defaultScaleRate, initMindMap, destroyMindMap, resizeMindMap, updateMindMapScale, mapDomTree, setOutlineData, isFullscreen, toggleFullscreen, visible: visible2, openMindMap, closeMindMap, AiIconClose, AiIconToFullscreen, AiIconCancelFullscreen, MapControl };
|
|
22721
23946
|
}
|
|
22722
23947
|
});
|
|
22723
23948
|
var _sfc_render$c = function render3() {
|
|
22724
23949
|
var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
|
|
22725
|
-
return _setup.visible ? _c("div", { ref: "wrapRef", staticClass: "plv-ai-outline-mind-map" }, [_c("div", { staticClass: "plv-ai-outline-mind-map__content"
|
|
23950
|
+
return _setup.visible ? _c("div", { ref: "wrapRef", staticClass: "plv-ai-outline-mind-map" }, [_c("div", { staticClass: "plv-ai-outline-mind-map__content", class: {
|
|
23951
|
+
"plv-ai-outline-mind-map__content--mobile": _setup.isMobile(),
|
|
23952
|
+
"plv-ai-outline-mind-map__content--fullscreen": _setup.isFullscreen
|
|
23953
|
+
} }, [_c("div", { staticClass: "plv-ai-outline-mind-map__header" }, [!_setup.isMobile() ? [!_setup.isFullscreen ? _c(_setup.AiIconToFullscreen, { staticClass: "plv-ai-outline-mind-map__icon", on: { "click": _setup.toggleFullscreen } }) : _c(_setup.AiIconCancelFullscreen, { staticClass: "plv-ai-outline-mind-map__icon", on: { "click": _setup.toggleFullscreen } })] : _vm._e(), _c(_setup.AiIconClose, { staticClass: "plv-ai-outline-mind-map__icon", on: { "click": _setup.closeMindMap } })], 2), _c("div", { staticClass: "plv-ai-outline-mind-map__content-mind-map-container" }, [_c("div", { ref: "mindMapContainerRef", staticClass: "plv-ai-outline-mind-map__content-mind-map" })]), _c("div", { staticClass: "plv-ai-outline-mind-map__footer" }, [_c(_setup.MapControl, { attrs: { "default-scale-rate": _setup.defaultScaleRate, "currentScaleRate": _setup.currentScaleRate }, on: { "update-mind-map-scale": _setup.updateMindMapScale } })], 1)])]) : _vm._e();
|
|
22726
23954
|
};
|
|
22727
23955
|
var _sfc_staticRenderFns$c = [];
|
|
22728
23956
|
var __component__$c = /* @__PURE__ */ normalizeComponent(
|
|
@@ -33113,8 +34341,8 @@ const useAIGlobalProvider = (provideData) => {
|
|
|
33113
34341
|
console.log(
|
|
33114
34342
|
"%c@polyv/live-watch-ai-ui",
|
|
33115
34343
|
"background:#a20a1f;padding: 2px 6px;border-radius: 3px;color: #fff",
|
|
33116
|
-
"[version: 1.0.0-rc-
|
|
33117
|
-
"[buildTime: 2025-
|
|
34344
|
+
"[version: 1.0.0-rc-20250904.1]",
|
|
34345
|
+
"[buildTime: 2025-09-04 01:47:22]"
|
|
33118
34346
|
);
|
|
33119
34347
|
export {
|
|
33120
34348
|
AI_UI_INJECT_KEY,
|