mind-elixir-yg 1.1.27 → 1.1.29
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/dist/MindElixir.js +19 -19
- package/dist/MindElixirLite.js +69 -33
- package/dist/painter.js +2 -2
- package/package.json +1 -1
package/dist/MindElixir.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.MindElixir=n():e.MindElixir=n()}(self,function(){return t={8074:(e,n,t)=>{(e.exports=t(3645)(!1)).push([e.id,".mind-elixir {\n position: relative;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.mind-elixir .hyper-link {\n text-decoration: none;\n}\n.map-container {\n user-select: none;\n height: 100%;\n width: 100%;\n overflow: scroll;\n font-size: 15px;\n}\n.map-container::-webkit-scrollbar {\n width: 0px;\n height: 0px;\n}\n.map-container .focus-mode {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n background: #fff;\n}\n.map-container .map-canvas {\n height: 60000px;\n width: 20000px;\n position: relative;\n user-select: none;\n transition: all 0.3s;\n transform: scale(1);\n background: #f6f6f6;\n}\n.map-container .map-canvas .selected {\n outline: 2px solid #4dc4ff;\n}\n.map-container .map-canvas root {\n position: absolute;\n}\n.map-container .map-canvas root tpc {\n display: block;\n color: #ffffff;\n padding: 10px 15px;\n background-color: #00aaff;\n border-radius: 5px;\n font-size: 25px;\n white-space: pre-wrap;\n}\n.map-container .map-canvas root tpc [contentEditable] {\n position: absolute;\n top: 0;\n left: 0;\n background-color: #00aaff;\n max-width: 300px;\n z-index: 11;\n user-select: auto;\n}\n.map-container .box > grp {\n position: absolute;\n}\n.map-container .box > grp > t > tpc {\n background-color: #ffffff;\n border: 1px solid #444444;\n border-radius: 5px;\n color: #735c45;\n padding: 8px 10px;\n margin: 0;\n}\n.map-container .box > grp > t > tpc [contentEditable] {\n position: absolute;\n top: 0;\n left: 0;\n background-color: #fff;\n max-width: 300px;\n padding: 8px 10px;\n z-index: 11;\n direction: ltr;\n user-select: auto;\n}\n.map-container .box .lhs {\n direction: rtl;\n}\n.map-container .box .lhs tpc {\n direction: ltr;\n}\n.map-container .box grp {\n display: block;\n pointer-events: none;\n}\n.map-container .box children,\n.map-container .box t {\n display: inline-block;\n vertical-align: middle;\n}\n.map-container .box t {\n position: relative;\n cursor: pointer;\n padding: 0 15px;\n margin-top: 10px;\n}\n.map-container .box t tpc {\n position: relative;\n display: block;\n padding: 5px;\n border-radius: 3px;\n color: #666666;\n pointer-events: all;\n max-width: 800px;\n white-space: pre-wrap;\n}\n.map-container .box t tpc [contentEditable] {\n position: absolute;\n top: 0;\n left: 0;\n background-color: #fff;\n max-width: 300px;\n padding: 5px;\n z-index: 11;\n direction: ltr;\n user-select: auto;\n}\n.map-container .box t tpc .tags {\n direction: ltr;\n}\n.map-container .box t tpc .tags span {\n display: inline-block;\n border-radius: 3px;\n padding: 2px 4px;\n background: #d6f0f8;\n color: #276f86;\n margin: 0px;\n font-size: 12px;\n height: 20px;\n line-height: 16px;\n margin-right: 3px;\n margin-top: 2px;\n}\n.map-container .box t tpc .icons {\n display: inline-block;\n direction: ltr;\n margin-right: 10px;\n}\n.map-container .box t tpc .insert-preview {\n position: absolute;\n width: 100%;\n left: 0px;\n z-index: 9;\n}\n.map-container .box t tpc .before {\n height: 14px;\n top: -14px;\n}\n.map-container .box t tpc .show {\n background: #7ad5ff;\n pointer-events: none;\n opacity: 0.7;\n}\n.map-container .box t tpc .in {\n height: 100%;\n top: 0px;\n}\n.map-container .box t tpc .after {\n height: 14px;\n bottom: -14px;\n}\n.map-container .box t epd {\n position: absolute;\n height: 12px;\n width: 12px;\n line-height: 12px;\n text-align: center;\n border-radius: 50%;\n border: 1px solid #4f4f4f;\n background-color: #fff;\n pointer-events: all;\n z-index: 9;\n}\n.map-container .box t epd.minus {\n transition: all 0.3s;\n opacity: 0;\n}\n.map-container .box t epd.minus:hover {\n opacity: 1;\n}\n.map-container .icon {\n width: 1em;\n height: 1em;\n vertical-align: -0.15em;\n fill: currentColor;\n overflow: hidden;\n}\n.map-container .svg2nd,\n.map-container .svg3rd,\n.map-container .topiclinks,\n.map-container .linkcontroller {\n position: absolute;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n}\n.map-container .topiclinks,\n.map-container .linkcontroller {\n pointer-events: none;\n}\n.map-container .topiclinks g,\n.map-container .linkcontroller g {\n pointer-events: all;\n}\n.map-container .svg2nd,\n.map-container .svg3rd {\n pointer-events: none;\n z-index: -1;\n}\n.map-container .topiclinks *,\n.map-container .linkcontroller * {\n z-index: 100;\n}\n.map-container .topiclinks g {\n cursor: pointer;\n}\n.down t,\n.down children {\n display: block !important;\n}\n.down grp {\n display: inline-block !important;\n}\n.circle {\n position: absolute;\n height: 10px;\n width: 10px;\n margin-top: -5px;\n margin-left: -5px;\n border-radius: 100%;\n background: #aaa;\n cursor: pointer;\n}\n",""])},5165:(e,n,t)=>{(e.exports=t(3645)(!1)).push([e.id,"cmenu {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 99;\n}\ncmenu .menu-list {\n position: fixed;\n list-style: none;\n margin: 0;\n padding: 0;\n font: 300 15px 'Roboto', sans-serif;\n color: #333;\n box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.2);\n}\ncmenu .menu-list * {\n transition: color 0.4s, background-color 0.4s;\n}\ncmenu .menu-list li {\n min-width: 150px;\n overflow: hidden;\n white-space: nowrap;\n padding: 6px 10px;\n background-color: #fff;\n border-bottom: 1px solid #ecf0f1;\n}\ncmenu .menu-list li a {\n color: #333;\n text-decoration: none;\n}\ncmenu .menu-list li.disabled {\n color: #5e5e5e;\n background-color: #f7f7f7;\n}\ncmenu .menu-list li.disabled:hover {\n cursor: default;\n background-color: #f7f7f7;\n}\ncmenu .menu-list li:hover {\n cursor: pointer;\n background-color: #ecf0f1;\n}\ncmenu .menu-list li:first-child {\n border-radius: 5px 5px 0 0;\n}\ncmenu .menu-list li:last-child {\n border-bottom: 0;\n border-radius: 0 0 5px 5px;\n}\ncmenu .menu-list li span:last-child {\n float: right;\n}\n",""])},7787:(e,n,t)=>{(e.exports=t(3645)(!1)).push([e.id,"mmenu {\n position: absolute;\n left: 20px;\n bottom: 70px;\n z-index: 99;\n margin: 0;\n padding: 0;\n color: #333;\n border-radius: 5px;\n box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.2);\n overflow: hidden;\n}\nmmenu * {\n transition: color 0.4s, background-color 0.4s;\n}\nmmenu div {\n float: left;\n text-align: center;\n width: 30px;\n overflow: hidden;\n white-space: nowrap;\n padding: 8px;\n background-color: #fff;\n border-bottom: 1px solid #ecf0f1;\n}\nmmenu div a {\n color: #333;\n text-decoration: none;\n}\nmmenu div.disabled {\n color: #5e5e5e;\n background-color: #f7f7f7;\n}\nmmenu div.disabled:hover {\n cursor: default;\n background-color: #f7f7f7;\n}\nmmenu div:hover {\n cursor: pointer;\n background-color: #ecf0f1;\n}\n",""])},9519:(e,n,t)=>{(e.exports=t(3645)(!1)).push([e.id,"nmenu {\n position: absolute;\n right: 20px;\n top: 20px;\n background: #fff;\n padding: 10px;\n border-radius: 5px;\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);\n width: 240px;\n box-sizing: border-box;\n padding: 0 15px 15px;\n transition: 0.3s all;\n}\nnmenu.close {\n height: 30px;\n width: 50px;\n overflow: hidden;\n}\nnmenu .button-container {\n padding: 3px 0;\n direction: rtl;\n}\nnmenu #nm-tag {\n margin-top: 20px;\n}\nnmenu .nm-fontsize-container {\n display: flex;\n justify-content: space-around;\n margin-bottom: 20px;\n}\nnmenu .nm-fontsize-container div {\n height: 20px;\n width: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);\n background-color: white;\n color: tomato;\n border-radius: 100%;\n}\nnmenu .nm-fontcolor-container {\n margin-bottom: 10px;\n}\nnmenu input {\n background: #f7f9fa;\n border: 1px solid #dce2e6;\n border-radius: 3px;\n padding: 5px;\n margin: 10px 0;\n width: 100%;\n box-sizing: border-box;\n}\nnmenu .split6 {\n display: inline-block;\n width: 16.66%;\n margin-bottom: 5px;\n}\nnmenu .palette {\n border-radius: 100%;\n width: 16px;\n height: 16px;\n border: 1px solid #edf1f2;\n margin: auto;\n}\nnmenu .nmenu-selected,\nnmenu .palette:hover {\n box-shadow: tomato 0 0 0 2px;\n background-color: #c7e9fa;\n}\nnmenu .size-selected {\n background-color: tomato !important;\n border-color: tomato;\n fill: white;\n color: white;\n}\nnmenu .size-selected svg {\n color: #fff;\n}\nnmenu .bof {\n text-align: center;\n}\nnmenu .bof span {\n display: inline-block;\n font-size: 14px;\n border-radius: 4px;\n padding: 2px 5px;\n}\nnmenu .bof .selected {\n background-color: tomato;\n color: white;\n}\n.case-pass {\n border: 1px solid #ededed;\n background: #34b0a6;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.case-pass:hover {\n box-shadow: tomato 0 0 0 2px;\n font-size: 16px;\n}\n.case-notpass {\n border: 1px solid #ededed;\n background: #ff6277;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.case-notpass:hover {\n box-shadow: tomato 0 0 0 2px;\n font-size: 16px;\n}\n.case-block {\n border: 1px solid #ededed;\n background: #fbb24c;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.case-block:hover {\n box-shadow: tomato 0 0 0 2px;\n font-size: 16px;\n}\n.case-notrun {\n border: 1px solid #ededed;\n background: #808080;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.case-notrun:hover {\n box-shadow: tomato 0 0 0 2px;\n font-size: 16px;\n}\n.case-ignore {\n border: 1px solid #ededed;\n background: #808080;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.case-ignore:hover {\n box-shadow: tomato 0 0 0 2px;\n font-size: 16px;\n}\n.case-null {\n border: 1px solid #ededed;\n background: #ffffff;\n color: black;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.case-null:hover {\n box-shadow: tomato 0 0 0 2px;\n font-size: 16px;\n}\n.priority-one {\n border: 1px solid #ededed;\n background: #EF5350;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.priority-one:hover {\n box-shadow: #f1eeee 0 0 0 2px;\n font-size: 16px;\n}\n.priority-two {\n border: 1px solid #ededed;\n background: #FFB609;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.priority-two:hover {\n box-shadow: #f1f0ef 0 0 0 2px;\n font-size: 16px;\n}\n.priority-three {\n border: 1px solid #ededed;\n background: #4C91FF;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.priority-three:hover {\n box-shadow: #f3f1f0 0 0 0 2px;\n font-size: 16px;\n}\n.priority-four {\n border: 1px solid #ededed;\n background: #00D156;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.priority-four:hover {\n box-shadow: #f5f3f3 0 0 0 2px;\n font-size: 16px;\n}\n.priority-five {\n border: 1px solid #ededed;\n background: #8BBAC1;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.priority-five:hover {\n box-shadow: #f7f5f5 0 0 0 2px;\n font-size: 16px;\n}\n.priority-null {\n border: 1px solid #ededed;\n background: #ffffff;\n color: black;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.priority-null:hover {\n box-shadow: #faf8f8 0 0 0 2px;\n font-size: 16px;\n}\n.autoCase-css {\n border: 1px solid #ededed;\n background: #fb532f;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.autoCase-css:hover {\n box-shadow: #f7f5f5 0 0 0 2px;\n font-size: 16px;\n}\n.autoCase-null {\n border: 1px solid #ededed;\n background: #ffffff;\n color: black;\n font-size: 14px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.autoCase-null:hover {\n box-shadow: #faf8f8 0 0 0 2px;\n font-size: 16px;\n}\n.autoCase-add {\n border: 1px solid #ededed;\n background: #4c91ff;\n color: white;\n font-size: 14px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.autoCase-add:hover {\n box-shadow: #faf8f8 0 0 0 2px;\n font-size: 16px;\n}\n.custom-select {\n position: relative;\n display: inline-block;\n}\n.select-selected {\n background-color: #f1f1f1;\n padding: 10px;\n border: 1px solid #ccc;\n cursor: pointer;\n}\n.select-items {\n display: none;\n position: absolute;\n background-color: #f1f1f1;\n width: 100%;\n max-height: 200px;\n overflow-y: auto;\n border: 1px solid #ccc;\n z-index: 1;\n}\n.select-items div {\n padding: 10px;\n cursor: pointer;\n}\n.select-items div:hover {\n background-color: #ddd;\n}\n.select-items.show {\n display: block;\n}\n",""])},8301:(e,n,t)=>{(e.exports=t(3645)(!1)).push([e.id,"toolbar {\n position: absolute;\n background: #fff;\n padding: 10px;\n border-radius: 5px;\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);\n}\ntoolbar span:active {\n opacity: 0.5;\n}\n.rb {\n right: 20px;\n bottom: 20px;\n font-family: iconfont;\n}\n.rb span + span {\n margin-left: 10px;\n}\n.lt {\n font-size: 20px;\n left: 20px;\n top: 20px;\n width: 40px !important;\n}\n.lt span {\n display: block;\n}\n.lt span + span {\n margin-top: 10px;\n}\n.lb {\n left: 20px;\n bottom: 20px;\n width: 200px;\n font-family: iconfont;\n}\n.lb span + span {\n margin-left: 10px;\n}\n",""])},3645:e=>{"use strict";e.exports=function(t){var a=[];return a.toString=function(){return this.map(function(e){var n=function(e,n){var t=e[1]||"",i=e[3];if(!i)return t;if(n&&"function"==typeof btoa)return e=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(i),n=i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}),[t].concat(n).concat([e]).join("\n");return[t].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},a.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var t={},i=0;i<this.length;i++){var o=this[i][0];null!=o&&(t[o]=!0)}for(i=0;i<e.length;i++){var r=e[i];null!=r[0]&&t[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),a.push(r))}},a}},6194:(e,n,t)=>{var i=t(8074),o=("string"==typeof i&&(i=[[e.id,i,""]]),{hmr:!0});o.transform=void 0,o.insertInto=void 0,t(7399)(i,o);i.locals&&(e.exports=i.locals)},6684:(e,n,t)=>{var i=t(5165),o=("string"==typeof i&&(i=[[e.id,i,""]]),{hmr:!0});o.transform=void 0,o.insertInto=void 0,t(7399)(i,o);i.locals&&(e.exports=i.locals)},9721:(e,n,t)=>{var i=t(7787),o=("string"==typeof i&&(i=[[e.id,i,""]]),{hmr:!0});o.transform=void 0,o.insertInto=void 0,t(7399)(i,o);i.locals&&(e.exports=i.locals)},3832:(e,n,t)=>{var i=t(9519),o=("string"==typeof i&&(i=[[e.id,i,""]]),{hmr:!0});o.transform=void 0,o.insertInto=void 0,t(7399)(i,o);i.locals&&(e.exports=i.locals)},485:(e,n,t)=>{var i=t(8301),o=("string"==typeof i&&(i=[[e.id,i,""]]),{hmr:!0});o.transform=void 0,o.insertInto=void 0,t(7399)(i,o);i.locals&&(e.exports=i.locals)},7399:(e,n,i)=>{var t,o,r,l={},d=(t=function(){return window&&document&&document.all&&!window.atob},function(){return o=void 0===o?t.apply(this,arguments):o}),a=(r={},function(e,n){if("function"==typeof e)return e();if(void 0===r[e]){n=function(e,n){return(n||document).querySelector(e)}.call(this,e,n);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}r[e]=n}return r[e]}),s=null,c=0,p=[],h=i(1947);function u(e,n){for(var t=0;t<e.length;t++){var i=e[t],o=l[i.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](i.parts[r]);for(;r<i.parts.length;r++)o.parts.push(v(i.parts[r],n))}else{for(var a=[],r=0;r<i.parts.length;r++)a.push(v(i.parts[r],n));l[i.id]={id:i.id,refs:1,parts:a}}}}function f(e,n){for(var t=[],i={},o=0;o<e.length;o++){var r=e[o],a=n.base?r[0]+n.base:r[0],r={css:r[1],media:r[2],sourceMap:r[3]};i[a]?i[a].parts.push(r):t.push(i[a]={id:a,parts:[r]})}return t}function m(e,n){var t=a(e.insertInto);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=p[p.length-1];if("top"===e.insertAt)i?i.nextSibling?t.insertBefore(n,i.nextSibling):t.appendChild(n):t.insertBefore(n,t.firstChild),p.push(n);else if("bottom"===e.insertAt)t.appendChild(n);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");i=a(e.insertAt.before,t);t.insertBefore(n,i)}}function b(e){null!==e.parentNode&&(e.parentNode.removeChild(e),0<=(e=p.indexOf(e))&&p.splice(e,1))}function g(e){var n,t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce&&(n=i.nc)&&(e.attrs.nonce=n),x(t,e.attrs),m(e,t),t}function x(n,t){Object.keys(t).forEach(function(e){n.setAttribute(e,t[e])})}function v(n,e){var t,i,o,r,a;if(e.transform&&n.css){if(!(r="function"==typeof e.transform?e.transform(n.css):e.transform.default(n.css)))return function(){};n.css=r}return o=e.singleton?(r=c++,t=s=s||g(e),i=w.bind(null,t,r,!1),w.bind(null,t,r,!0)):n.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=e,a=document.createElement("link"),void 0===r.attrs.type&&(r.attrs.type="text/css"),r.attrs.rel="stylesheet",x(a,r.attrs),m(r,a),t=a,i=function(e,n,t){var i=t.css,t=t.sourceMap,o=void 0===n.convertToAbsoluteUrls&&t;(n.convertToAbsoluteUrls||o)&&(i=h(i));t&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");n=new Blob([i],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(n),o&&URL.revokeObjectURL(o)}.bind(null,t,e),function(){b(t),t.href&&URL.revokeObjectURL(t.href)}):(t=g(e),i=function(e,n){var t=n.css,n=n.media;n&&e.setAttribute("media",n);if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}.bind(null,t),function(){b(t)}),i(n),function(e){e?e.css===n.css&&e.media===n.media&&e.sourceMap===n.sourceMap||i(n=e):o()}}e.exports=function(e,a){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(a=a||{}).attrs="object"==typeof a.attrs?a.attrs:{},a.singleton||"boolean"==typeof a.singleton||(a.singleton=d()),a.insertInto||(a.insertInto="head"),a.insertAt||(a.insertAt="bottom");var s=f(e,a);return u(s,a),function(e){for(var n=[],t=0;t<s.length;t++){var i=s[t];(o=l[i.id]).refs--,n.push(o)}e&&u(f(e,a),a);for(var o,t=0;t<n.length;t++)if(0===(o=n[t]).refs){for(var r=0;r<o.parts.length;r++)o.parts[r]();delete l[o.id]}}};y=[];var y,N=function(e,n){return y[e]=n,y.filter(Boolean).join("\n")};function w(e,n,t,i){var t=t?"":i.css;e.styleSheet?e.styleSheet.cssText=N(n,t):(i=document.createTextNode(t),(t=e.childNodes)[n]&&e.removeChild(t[n]),t.length?e.insertBefore(i,t[n]):e.appendChild(i))}},1947:e=>{e.exports=function(e){var n="undefined"!=typeof window&&window.location;if(!n)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var t=n.protocol+"//"+n.host,i=t+n.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,n){n=n.trim().replace(/^"(.*)"$/,function(e,n){return n}).replace(/^'(.*)'$/,function(e,n){return n});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(n)?e:(e=0===n.indexOf("//")?n:0===n.indexOf("/")?t+n:i+n.replace(/^\.\//,""),"url("+JSON.stringify(e)+")")})}},3970:(e,n,t)=>{"use strict";t.d(n,{RL:()=>i,pX:()=>o,VW:()=>r,P8:()=>a,SJ:()=>s,jQ:()=>l,_r:()=>d});const i=0,o=1,r=2;const a=15,s=65,l=25,d=8},1283:(e,n,t)=>{"use strict";t.d(n,{EW:()=>i,J3:()=>o,U2:()=>r,hJ:()=>a,s5:()=>s});var N=t(5928),w=t(8591);const i=function(r,a,s,l){var d=this.map.getBoundingClientRect();if(r&&a){var c=r.getBoundingClientRect(),p=a.getBoundingClientRect(),h=(c.x+c.width/2-d.x)/this.scaleVal,u=(c.y+c.height/2-d.y)/this.scaleVal,f=(p.x+p.width/2-d.x)/this.scaleVal,m=(p.y+p.height/2-d.y)/this.scaleVal;let e,n,t,i;i=s?(e=h+l.delta1.x,n=u+l.delta1.y,t=f+l.delta2.x,m+l.delta2.y):(u+m)/2-u<=c.height/2?(e=(c.x+c.width-d.x)/this.scaleVal+100,n=u,t=(p.x+p.width-d.x)/this.scaleVal+100,m):(e=(h+f)/2,n=(u+m)/2,t=(h+f)/2,(u+m)/2);var d={cx:h,cy:u,w:c.width,h:c.height},c={cx:f,cy:m,w:p.width,h:p.height},p=(0,N.lk)(d,e,n),b=p.x,p=p.y,g=(0,N.Vg)(c,t,i),x=g.x,g=g.y,v=(0,N.Be)(t,i,x,g);const y=(0,w.Mi)(`M ${b} ${p} C ${e} ${n} ${t} ${i} ${x} `+g,`M ${v.x1} ${v.y1} L ${x} ${g} L ${v.x2} `+v.y2);let o;s?(o={id:l.id,label:"",from:r,to:a,delta1:{x:e-h,y:n-u},delta2:{x:t-f,y:i-m}},this.linkData[l.id]=o,y.linkObj=o,y.dataset.linkid=l.id):(o={id:(0,N.DO)(),label:"",from:r,to:a,delta1:{x:e-h,y:n-u},delta2:{x:t-f,y:i-m}},this.linkData[o.id]=o,y.linkObj=o,y.dataset.linkid=o.id,this.currentLink=y),this.linkSvgGroup.appendChild(y),s||this.showLinkController(e,n,t,i,o,d,c)}},o=function(e){let n;(n=e||this.currentLink)&&(this.hideLinkController(),e=n.linkObj.id,delete this.linkData[e],n.remove(),n=null)},r=function(e){e=(this.currentLink=e).linkObj;const n=e.from,t=e.to;var i=this.map.getBoundingClientRect(),o=n.getBoundingClientRect(),r=t.getBoundingClientRect(),a=(o.x+o.width/2-i.x)/this.scaleVal,s=(o.y+o.height/2-i.y)/this.scaleVal,l=(r.x+r.width/2-i.x)/this.scaleVal,i=(r.y+r.height/2-i.y)/this.scaleVal,o={cx:a,cy:s,w:o.width,h:o.height},r={cx:l,cy:i,w:r.width,h:r.height},a=a+e.delta1.x,s=s+e.delta1.y,l=l+e.delta2.x,i=i+e.delta2.y;this.showLinkController(a,s,l,i,e,o,r)},a=function(){this.linkController.style.display="none",this.P2.style.display="none",this.P3.style.display="none"},s=function(t,i,o,r,a,s,l){this.linkController.style.display="initial",this.P2.style.display="initial",this.P3.style.display="initial";var e=(0,N.lk)(s,t,i);let d=e.x,c=e.y;e=(0,N.Vg)(l,o,r);let p=e.x,h=e.y;this.P2.style.cssText=`top:${i}px;left:${t}px;`,this.P3.style.cssText=`top:${r}px;left:${o}px;`,this.line1.setAttribute("x1",d),this.line1.setAttribute("y1",c),this.line1.setAttribute("x2",t),this.line1.setAttribute("y2",i),this.line2.setAttribute("x1",o),this.line2.setAttribute("y1",r),this.line2.setAttribute("x2",p),this.line2.setAttribute("y2",h),this.helper1&&(this.helper1.destory(this.map),this.helper2.destory(this.map)),this.helper1=new N.Rj(this.P2),this.helper2=new N.Rj(this.P3),this.helper1.init(this.map,(e,n)=>{t-=e/this.scaleVal,i-=n/this.scaleVal;e=(0,N.lk)(s,t,i);d=e.x,c=e.y,this.P2.style.top=i+"px",this.P2.style.left=t+"px",this.currentLink.children[0].setAttribute("d",`M ${d} ${c} C ${t} ${i} ${o} ${r} ${p} `+h),this.line1.setAttribute("x1",d),this.line1.setAttribute("y1",c),this.line1.setAttribute("x2",t),this.line1.setAttribute("y2",i),a.delta1.x=t-s.cx,a.delta1.y=i-s.cy}),this.helper2.init(this.map,(e,n)=>{o-=e/this.scaleVal,r-=n/this.scaleVal;e=(0,N.Vg)(l,o,r),p=e.x,h=e.y,n=(0,N.Be)(o,r,p,h);this.P3.style.top=r+"px",this.P3.style.left=o+"px",this.currentLink.children[0].setAttribute("d",`M ${d} ${c} C ${t} ${i} ${o} ${r} ${p} `+h),this.currentLink.children[1].setAttribute("d",`M ${n.x1} ${n.y1} L ${p} ${h} L ${n.x2} `+n.y2),this.line2.setAttribute("x1",o),this.line2.setAttribute("y1",r),this.line2.setAttribute("x2",p),this.line2.setAttribute("y2",h),a.delta2.x=o-l.cx,a.delta2.y=r-l.cy})}},6398:(e,n,t)=>{"use strict";t.d(n,{Z:()=>i});t={addChild:"插入子节点",addSibling:"插入同级节点",removeNode:"删除节点",focus:"专注",cancelFocus:"取消专注",moveUp:"上移",moveDown:"下移",link:"连接",clickTips:"请点击目标节点",font:"文字",background:"背景",tag:"标签",icon:"图标",remarks:"备注",tagsSeparate:"多个标签半角逗号分隔",iconsSeparate:"多个图标半角逗号分隔",caseresult:"用例结果",priority:"优先级",autoCaseList:"自动化用例"};const i={cn:t,zh_CN:t,zh_TW:{addChild:"插入子節點",addSibling:"插入同級節點",removeNode:"刪除節點",focus:"專注",cancelFocus:"取消專注",moveUp:"上移",moveDown:"下移",link:"連接",clickTips:"請點擊目標節點",font:"文字",background:"背景",tag:"標簽",icon:"圖標",remarks:"備註",tagsSeparate:"多個標簽半角逗號分隔",iconsSeparate:"多個圖標半角逗號分隔",caseresult:"用例结果",priority:"优先级",autoCaseList:"自动化用例"},en:{addChild:"Add a child",addSibling:"Add a sibling",removeNode:"Remove node",focus:"Focus Mode",cancelFocus:"Cancel Focus Mode",moveUp:"Move up",moveDown:"Move down",link:"Link",clickTips:"Please click the target node",font:"Font",background:"Background",tag:"Tag",icon:"Icon",remarks:"Remark",tagsSeparate:"Separate tags by comma",iconsSeparate:"Separate icons by comma",caseresult:"caseresult",priority:"priority"},ja:{addChild:"子ノードを追加する",addSibling:"兄弟ノードを追加する",removeNode:"ノードを削除",focus:"集中",cancelFocus:"集中解除",moveUp:"上へ移動",moveDown:"下へ移動",link:"コネクト",clickTips:"ターゲットノードをクリックしてください",font:"フォント",background:"バックグラウンド",tag:"タグ",icon:"アイコン",remarks:"コメント",tagsSeparate:"複数タグはカンマ区切り",iconsSeparate:"複数アイコンはカンマ区切り",caseresult:"caseresult",priority:"priority"},pt:{addChild:"Adicionar item filho",addSibling:"Adicionar item irmao",removeNode:"Remover item",focus:"Modo Foco",cancelFocus:"Cancelar Modo Foco",moveUp:"Mover para cima",moveDown:"Mover para baixo",link:"Link",clickTips:"Favor clicar no item alvo",font:"Fonte",background:"Cor de fundo",tag:"Tag",icon:"Icone",remarks:"Remark",tagsSeparate:"Separe tags por virgula",iconsSeparate:"Separe icones por virgula",caseresult:"caseResult",priority:"priority"}}},8589:(e,n,t)=>{"use strict";t.d(n,{E:()=>z,default:()=>m});var n=t(3970),N=t(5928),i=t(9842),w=t(8591),o=t(3164),r=t(7733),a=t(1283),s=t(2327),k=t(9775),C=t(8347),L=t(3592),E=t(6398);const S=e=>{const n=document.createElement("div");return n.id=e,n},$=["#ffffff","#94a5a6","#9b59b6","#3298db","#c0392c","#e74c3c","#d35400","#f39c11","#f1c40e","#17a085","#27ae61","#2ecc71"];var d=function(e,a,s,l){return new(s=s||Promise)(function(t,n){function i(e){try{r(l.next(e))}catch(e){n(e)}}function o(e){try{r(l.throw(e))}catch(e){n(e)}}function r(e){var n;e.done?t(e.value):((n=e.value)instanceof s?n:new s(function(e){e(n)})).then(i,o)}r((l=l.apply(e,a||[])).next())})};function c(e,n){var t=n.parentNode.parentNode.contains(e);return e&&"TPC"===e.tagName&&e!==n&&!t&&!0!==e.nodeObj.root}const p=document,h=function(e){if(e)for(const n of e.getElementsByClassName("insert-preview")||[])n.remove()};function M(t){let a,s,l;t.map.addEventListener("dragstart",function(e){(a=e.target).parentNode.parentNode.style.opacity="0.5",N.Av.clear()}),t.map.addEventListener("dragend",function(n){return d(this,void 0,void 0,function*(){n.target.style.opacity="",h(l);var e=a.nodeObj;switch(s){case"before":t.moveNodeBefore(a,l),t.selectNode((0,i.YZ)(e.id));break;case"after":t.moveNodeAfter(a,l),t.selectNode((0,i.YZ)(e.id));break;case"in":t.moveNode(a,l)}a.parentNode.parentNode.style.opacity="1",a=null})}),t.map.addEventListener("dragover",(0,N.P2)(function(e){h(l);const n=p.elementFromPoint(e.clientX,e.clientY-12);if(c(n,a)){var t=(l=n).getBoundingClientRect().y;e.clientY>t+n.clientHeight?s="after":e.clientY>t+n.clientHeight/2&&(s="in")}else{const i=p.elementFromPoint(e.clientX,e.clientY+12);c(i,a)?(t=(l=i).getBoundingClientRect().y,e.clientY<t?s="before":e.clientY<t+i.clientHeight/2&&(s="in")):s=l=null}if(l){e=l,t=s;if(!t)return void!h(e);const o=e.getElementsByClassName("insert-preview");if(t=`insert-preview ${t} show`,0<o.length)o[0].className=t;else{const r=p.createElement("div");r.className=t,e.appendChild(r)}}},200))}var j=t(3231),O=t(6723),l=(t(6194),t(6684),t(485),t(3832),t(9721),t(9857),function(e,a,s,l){return new(s=s||Promise)(function(t,n){function i(e){try{r(l.next(e))}catch(e){n(e)}}function o(e){try{r(l.throw(e))}catch(e){n(e)}}function r(e){var n;e.done?t(e.value):((n=e.value)instanceof s?n:new s(function(e){e(n)})).then(i,o)}r((l=l.apply(e,a||[])).next())})});const z=i.YZ,D=document;function u({el:e,data:n,direction:t,locale:i,draggable:o,editable:r,contextMenu:a,contextMenuOption:s,toolBar:l,nodeMenu:d,keypress:c,before:p,newTopicName:h,allowUndo:u,primaryLinkStyle:f,overflowHidden:m,primaryNodeHorizontalGap:b,primaryNodeVerticalGap:g,mobileMenu:x,callingAnExternalInterface:v,enableExternalInterface:y,selectCaseList:N,showSelectCaseList:w}){e=document.querySelector(e);e&&(this.mindElixirBox=e,this.before=p||{},this.nodeData=n.nodeData,this.linkData=n.linkData||{},this.locale=i,this.contextMenuOption=s,this.contextMenu=void 0===a||a,this.toolBar=void 0===l||l,this.nodeMenu=void 0===d||d,this.keypress=void 0===c||c,this.mobileMenu=x,this.direction="number"==typeof t?t:1,this.draggable=void 0===o||o,this.newTopicName=h,this.editable=void 0===r||r,this.allowUndo=void 0===u||u,this.currentNode=null,this.currentLink=null,this.inputDiv=null,this.scaleVal=1,this.tempDirection=null,this.primaryLinkStyle=f||0,this.overflowHidden=m,this.primaryNodeHorizontalGap=b,this.primaryNodeVerticalGap=g,this.callingAnExternalInterface=v,this.enableExternalInterface=y,this.selectCaseList=N||[],this.showSelectCaseList=null!=w&&w,this.bus=new O.Z,this.bus.addListener("operation",e=>{this.isUndo?this.isUndo=!1:["moveNode","removeNode","addChild","finishEdit","editStyle","editTags","editIcons","editRemarks","editCaseRunStatus","editCasePriority","relationAutoCase"].includes(e.name)&&this.history.push(e)}),this.history=[],this.isUndo=!1,this.undo=function(){var e=this.history.pop();e&&(this.isUndo=!0,"moveNode"===e.name?this.moveNode(z(e.obj.fromObj.id),z(e.obj.originParentId)):"removeNode"===e.name?e.originSiblingId?this.insertBefore(z(e.originSiblingId),e.obj):this.addChild(z(e.originParentId),e.obj):"addChild"===e.name||"copyNode"===e.name?this.removeNode(z(e.obj.id)):"finishEdit"===e.name?this.setNodeTopic(z(e.obj.id),e.origin):this.isUndo=!1)})}function f(n){return function(...e){return l(this,void 0,void 0,function*(){this.before[n.name]&&!(yield this.before[n.name].apply(this,e))||n.apply(this,e)})}}u.prototype={addParentLink:N.iX,getObjById:N.cU,generateNewObj:N.yi,insertSibling:f(r.h),insertBefore:f(r.Vt),addChild:f(r.U_),copyNode:f(r.Bc),moveNode:f(r.Dv),removeNode:f(r.ZF),moveUpNode:f(r.fL),moveDownNode:f(r.gE),beginEdit:f(r.HS),moveNodeBefore:f(r.pe),moveNodeAfter:f(r.$c),updateNodeStyle:r.oo,updateNodeTags:r.KK,updateNodeIcons:r.DJ,updateNodeRemark:r.ST,updateNodeCaseStatus:r.G1,updateNodeCasePriority:r.kP,updateNodRelationAutoCase:r.OQ,processPrimaryNode:r.dN,setNodeTopic:r.ib,createLink:a.EW,removeLink:a.J3,selectLink:a.U2,hideLinkController:a.hJ,showLinkController:a.s5,layout:i.bK,linkDiv:s.Z,createInputDiv:i.co,createChildren:i.fh,createGroup:i.sS,createTop:i.HM,createTopic:i.HV,selectNode:o.UG,unselectNode:o.KW,selectNextSibling:o.dl,selectPrevSibling:o.nb,selectFirstChild:o.ji,selectParent:o.xG,getAllDataString:o.kS,getAllData:o.jl,getAllDataMd:o.Rg,scale:o.bA,toCenter:o.h7,changeContainerPosition:o.Tn,focusNode:o.dJ,cancelFocus:o.uj,initLeft:o.du,initRight:o.$8,initSide:o.jS,setLocale:o.i_,enableEdit:o.Lj,disableEdit:o.gw,expandNode:o.A2,refresh:o.bi,initLeftOnChange:o.nA,initRightOnChange:o.Nb,initSideOnChange:o.Qi,reduceXmind:o._F,addXmind:o.Ut,init:function(){if((0,N.iX)(this.nodeData),this.mindElixirBox.className+=" mind-elixir",this.mindElixirBox.innerHTML="",this.container=D.createElement("div"),this.container.className="map-container",this.overflowHidden&&(this.container.style.overflow="hidden"),this.map=D.createElement("div"),this.map.className="map-canvas",this.map.setAttribute("tabindex","0"),this.container.appendChild(this.map),this.mindElixirBox.appendChild(this.container),this.root=D.createElement("root"),this.box=D.createElement("children"),this.box.className="box",this.svg2nd=(0,w.c4)("svg2nd"),this.linkController=(0,w.c4)("linkcontroller"),this.P2=D.createElement("div"),this.P3=D.createElement("div"),this.P2.className=this.P3.className="circle",this.line1=(0,w.W5)(0,0,0,0),this.line2=(0,w.W5)(0,0,0,0),this.linkController.appendChild(this.line1),this.linkController.appendChild(this.line2),this.linkSvgGroup=(0,w.c4)("topiclinks"),this.map.appendChild(this.root),this.map.appendChild(this.box),this.map.appendChild(this.svg2nd),this.map.appendChild(this.linkController),this.map.appendChild(this.linkSvgGroup),this.map.appendChild(this.P2),this.map.appendChild(this.P3),this.toolBar&&(0,L.Z)(this),this.nodeMenu){var r=this,e=E.Z[r.locale]?r.locale:"en";let o;const t=S("nm-style"),i=S("nm-tag"),s=S("nm-icon"),l=S("nm-remarks"),d=S("nm-caseresult"),c=S("nm-priority"),p=S("nm-autoCaseList"),h=(t.innerHTML=`
|
|
1
|
+
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.MindElixir=n():e.MindElixir=n()}(self,function(){return t={8074:(e,n,t)=>{(e.exports=t(3645)(!1)).push([e.id,".mind-elixir {\n position: relative;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.mind-elixir .hyper-link {\n text-decoration: none;\n}\n.map-container {\n user-select: none;\n height: 100%;\n width: 100%;\n overflow: scroll;\n font-size: 15px;\n}\n.map-container::-webkit-scrollbar {\n width: 0px;\n height: 0px;\n}\n.map-container .focus-mode {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n background: #fff;\n}\n.map-container .map-canvas {\n height: 60000px;\n width: 20000px;\n position: relative;\n user-select: none;\n transition: all 0.3s;\n transform: scale(1);\n background: #f6f6f6;\n}\n.map-container .map-canvas .selected {\n outline: 2px solid #4dc4ff;\n}\n.map-container .map-canvas root {\n position: absolute;\n}\n.map-container .map-canvas root tpc {\n display: block;\n color: #ffffff;\n padding: 10px 15px;\n background-color: #00aaff;\n border-radius: 5px;\n font-size: 25px;\n white-space: pre-wrap;\n}\n.map-container .map-canvas root tpc [contentEditable] {\n position: absolute;\n top: 0;\n left: 0;\n background-color: #00aaff;\n max-width: 300px;\n z-index: 11;\n user-select: auto;\n}\n.map-container .box > grp {\n position: absolute;\n}\n.map-container .box > grp > t > tpc {\n background-color: #ffffff;\n border: 1px solid #444444;\n border-radius: 5px;\n color: #735c45;\n padding: 8px 10px;\n margin: 0;\n}\n.map-container .box > grp > t > tpc [contentEditable] {\n position: absolute;\n top: 0;\n left: 0;\n background-color: #fff;\n max-width: 300px;\n padding: 8px 10px;\n z-index: 11;\n direction: ltr;\n user-select: auto;\n}\n.map-container .box .lhs {\n direction: rtl;\n}\n.map-container .box .lhs tpc {\n direction: ltr;\n}\n.map-container .box grp {\n display: block;\n pointer-events: none;\n}\n.map-container .box children,\n.map-container .box t {\n display: inline-block;\n vertical-align: middle;\n}\n.map-container .box t {\n position: relative;\n cursor: pointer;\n padding: 0 15px;\n margin-top: 10px;\n}\n.map-container .box t tpc {\n position: relative;\n display: block;\n padding: 5px;\n border-radius: 3px;\n color: #666666;\n pointer-events: all;\n max-width: 800px;\n white-space: pre-wrap;\n}\n.map-container .box t tpc [contentEditable] {\n position: absolute;\n top: 0;\n left: 0;\n background-color: #fff;\n max-width: 300px;\n padding: 5px;\n z-index: 11;\n direction: ltr;\n user-select: auto;\n}\n.map-container .box t tpc .tags {\n direction: ltr;\n}\n.map-container .box t tpc .tags span {\n display: inline-block;\n border-radius: 3px;\n padding: 2px 4px;\n background: #d6f0f8;\n color: #276f86;\n margin: 0px;\n font-size: 12px;\n height: 20px;\n line-height: 16px;\n margin-right: 3px;\n margin-top: 2px;\n}\n.map-container .box t tpc .icons {\n display: inline-block;\n direction: ltr;\n margin-right: 10px;\n}\n.map-container .box t tpc .insert-preview {\n position: absolute;\n width: 100%;\n left: 0px;\n z-index: 9;\n}\n.map-container .box t tpc .before {\n height: 14px;\n top: -14px;\n}\n.map-container .box t tpc .show {\n background: #7ad5ff;\n pointer-events: none;\n opacity: 0.7;\n}\n.map-container .box t tpc .in {\n height: 100%;\n top: 0px;\n}\n.map-container .box t tpc .after {\n height: 14px;\n bottom: -14px;\n}\n.map-container .box t epd {\n position: absolute;\n height: 12px;\n width: 12px;\n line-height: 12px;\n text-align: center;\n border-radius: 50%;\n border: 1px solid #4f4f4f;\n background-color: #fff;\n pointer-events: all;\n z-index: 9;\n}\n.map-container .box t epd.minus {\n transition: all 0.3s;\n opacity: 0;\n}\n.map-container .box t epd.minus:hover {\n opacity: 1;\n}\n.map-container .icon {\n width: 1em;\n height: 1em;\n vertical-align: -0.15em;\n fill: currentColor;\n overflow: hidden;\n}\n.map-container .svg2nd,\n.map-container .svg3rd,\n.map-container .topiclinks,\n.map-container .linkcontroller {\n position: absolute;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n}\n.map-container .topiclinks,\n.map-container .linkcontroller {\n pointer-events: none;\n}\n.map-container .topiclinks g,\n.map-container .linkcontroller g {\n pointer-events: all;\n}\n.map-container .svg2nd,\n.map-container .svg3rd {\n pointer-events: none;\n z-index: -1;\n}\n.map-container .topiclinks *,\n.map-container .linkcontroller * {\n z-index: 100;\n}\n.map-container .topiclinks g {\n cursor: pointer;\n}\n.down t,\n.down children {\n display: block !important;\n}\n.down grp {\n display: inline-block !important;\n}\n.circle {\n position: absolute;\n height: 10px;\n width: 10px;\n margin-top: -5px;\n margin-left: -5px;\n border-radius: 100%;\n background: #aaa;\n cursor: pointer;\n}\n",""])},5165:(e,n,t)=>{(e.exports=t(3645)(!1)).push([e.id,"cmenu {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 99;\n}\ncmenu .menu-list {\n position: fixed;\n list-style: none;\n margin: 0;\n padding: 0;\n font: 300 15px 'Roboto', sans-serif;\n color: #333;\n box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.2);\n}\ncmenu .menu-list * {\n transition: color 0.4s, background-color 0.4s;\n}\ncmenu .menu-list li {\n min-width: 150px;\n overflow: hidden;\n white-space: nowrap;\n padding: 6px 10px;\n background-color: #fff;\n border-bottom: 1px solid #ecf0f1;\n}\ncmenu .menu-list li a {\n color: #333;\n text-decoration: none;\n}\ncmenu .menu-list li.disabled {\n color: #5e5e5e;\n background-color: #f7f7f7;\n}\ncmenu .menu-list li.disabled:hover {\n cursor: default;\n background-color: #f7f7f7;\n}\ncmenu .menu-list li:hover {\n cursor: pointer;\n background-color: #ecf0f1;\n}\ncmenu .menu-list li:first-child {\n border-radius: 5px 5px 0 0;\n}\ncmenu .menu-list li:last-child {\n border-bottom: 0;\n border-radius: 0 0 5px 5px;\n}\ncmenu .menu-list li span:last-child {\n float: right;\n}\n",""])},7787:(e,n,t)=>{(e.exports=t(3645)(!1)).push([e.id,"mmenu {\n position: absolute;\n left: 20px;\n bottom: 70px;\n z-index: 99;\n margin: 0;\n padding: 0;\n color: #333;\n border-radius: 5px;\n box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.2);\n overflow: hidden;\n}\nmmenu * {\n transition: color 0.4s, background-color 0.4s;\n}\nmmenu div {\n float: left;\n text-align: center;\n width: 30px;\n overflow: hidden;\n white-space: nowrap;\n padding: 8px;\n background-color: #fff;\n border-bottom: 1px solid #ecf0f1;\n}\nmmenu div a {\n color: #333;\n text-decoration: none;\n}\nmmenu div.disabled {\n color: #5e5e5e;\n background-color: #f7f7f7;\n}\nmmenu div.disabled:hover {\n cursor: default;\n background-color: #f7f7f7;\n}\nmmenu div:hover {\n cursor: pointer;\n background-color: #ecf0f1;\n}\n",""])},9519:(e,n,t)=>{(e.exports=t(3645)(!1)).push([e.id,"nmenu {\n position: absolute;\n right: 20px;\n top: 20px;\n background: #fff;\n padding: 10px;\n border-radius: 5px;\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);\n width: 240px;\n box-sizing: border-box;\n padding: 0 15px 15px;\n transition: 0.3s all;\n}\nnmenu.close {\n height: 30px;\n width: 50px;\n overflow: hidden;\n}\nnmenu .button-container {\n padding: 3px 0;\n direction: rtl;\n}\nnmenu #nm-tag {\n margin-top: 20px;\n}\nnmenu .nm-fontsize-container {\n display: flex;\n justify-content: space-around;\n margin-bottom: 20px;\n}\nnmenu .nm-fontsize-container div {\n height: 20px;\n width: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);\n background-color: white;\n color: tomato;\n border-radius: 100%;\n}\nnmenu .nm-fontcolor-container {\n margin-bottom: 10px;\n}\nnmenu input {\n background: #f7f9fa;\n border: 1px solid #dce2e6;\n border-radius: 3px;\n padding: 5px;\n margin: 10px 0;\n width: 100%;\n box-sizing: border-box;\n}\nnmenu .split6 {\n display: inline-block;\n width: 16.66%;\n margin-bottom: 5px;\n}\nnmenu .palette {\n border-radius: 100%;\n width: 16px;\n height: 16px;\n border: 1px solid #edf1f2;\n margin: auto;\n}\nnmenu .nmenu-selected,\nnmenu .palette:hover {\n box-shadow: tomato 0 0 0 2px;\n background-color: #c7e9fa;\n}\nnmenu .size-selected {\n background-color: tomato !important;\n border-color: tomato;\n fill: white;\n color: white;\n}\nnmenu .size-selected svg {\n color: #fff;\n}\nnmenu .bof {\n text-align: center;\n}\nnmenu .bof span {\n display: inline-block;\n font-size: 14px;\n border-radius: 4px;\n padding: 2px 5px;\n}\nnmenu .bof .selected {\n background-color: tomato;\n color: white;\n}\n.case-pass {\n border: 1px solid #ededed;\n background: #34b0a6;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.case-pass:hover {\n box-shadow: tomato 0 0 0 2px;\n font-size: 16px;\n}\n.case-notpass {\n border: 1px solid #ededed;\n background: #ff6277;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.case-notpass:hover {\n box-shadow: tomato 0 0 0 2px;\n font-size: 16px;\n}\n.case-block {\n border: 1px solid #ededed;\n background: #fbb24c;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.case-block:hover {\n box-shadow: tomato 0 0 0 2px;\n font-size: 16px;\n}\n.case-notrun {\n border: 1px solid #ededed;\n background: #808080;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.case-notrun:hover {\n box-shadow: tomato 0 0 0 2px;\n font-size: 16px;\n}\n.case-ignore {\n border: 1px solid #ededed;\n background: #808080;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.case-ignore:hover {\n box-shadow: tomato 0 0 0 2px;\n font-size: 16px;\n}\n.case-null {\n border: 1px solid #ededed;\n background: #ffffff;\n color: black;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.case-null:hover {\n box-shadow: tomato 0 0 0 2px;\n font-size: 16px;\n}\n.priority-one {\n border: 1px solid #ededed;\n background: #EF5350;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.priority-one:hover {\n box-shadow: #f1eeee 0 0 0 2px;\n font-size: 16px;\n}\n.priority-two {\n border: 1px solid #ededed;\n background: #FFB609;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.priority-two:hover {\n box-shadow: #f1f0ef 0 0 0 2px;\n font-size: 16px;\n}\n.priority-three {\n border: 1px solid #ededed;\n background: #4C91FF;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.priority-three:hover {\n box-shadow: #f3f1f0 0 0 0 2px;\n font-size: 16px;\n}\n.priority-four {\n border: 1px solid #ededed;\n background: #00D156;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.priority-four:hover {\n box-shadow: #f5f3f3 0 0 0 2px;\n font-size: 16px;\n}\n.priority-five {\n border: 1px solid #ededed;\n background: #8BBAC1;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.priority-five:hover {\n box-shadow: #f7f5f5 0 0 0 2px;\n font-size: 16px;\n}\n.priority-null {\n border: 1px solid #ededed;\n background: #ffffff;\n color: black;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.priority-null:hover {\n box-shadow: #faf8f8 0 0 0 2px;\n font-size: 16px;\n}\n.autoCase-css {\n border: 1px solid #ededed;\n background: #fb532f;\n color: #ffffff;\n font-size: 14px;\n -webkit-border-radius: 20px;\n border-radius: 20px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.autoCase-css:hover {\n box-shadow: #f7f5f5 0 0 0 2px;\n font-size: 16px;\n}\n.autoCase-null {\n border: 1px solid #ededed;\n background: #ffffff;\n color: black;\n font-size: 14px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.autoCase-null:hover {\n box-shadow: #faf8f8 0 0 0 2px;\n font-size: 16px;\n}\n.autoCase-add {\n border: 1px solid #ededed;\n background: #4c91ff;\n color: white;\n font-size: 14px;\n text-align: center;\n height: 28px;\n line-height: 28px;\n margin-right: 5px;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 52px;\n}\n.autoCase-add:hover {\n box-shadow: #faf8f8 0 0 0 2px;\n font-size: 16px;\n}\n.custom-select {\n position: relative;\n display: inline-block;\n}\n.select-selected {\n background-color: #f1f1f1;\n padding: 10px;\n border: 1px solid #ccc;\n cursor: pointer;\n}\n.select-items {\n display: none;\n position: absolute;\n background-color: #f1f1f1;\n width: 100%;\n max-height: 200px;\n overflow-y: auto;\n border: 1px solid #ccc;\n z-index: 1;\n}\n.select-items div {\n padding: 10px;\n cursor: pointer;\n}\n.select-items div:hover {\n background-color: #ddd;\n}\n.select-items.show {\n display: block;\n}\n",""])},8301:(e,n,t)=>{(e.exports=t(3645)(!1)).push([e.id,"toolbar {\n position: absolute;\n background: #fff;\n padding: 10px;\n border-radius: 5px;\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);\n}\ntoolbar span:active {\n opacity: 0.5;\n}\n.rb {\n right: 20px;\n bottom: 20px;\n font-family: iconfont;\n}\n.rb span + span {\n margin-left: 10px;\n}\n.lt {\n font-size: 20px;\n left: 20px;\n top: 20px;\n width: 40px !important;\n}\n.lt span {\n display: block;\n}\n.lt span + span {\n margin-top: 10px;\n}\n.lb {\n left: 20px;\n bottom: 20px;\n width: 200px;\n font-family: iconfont;\n}\n.lb span + span {\n margin-left: 10px;\n}\n",""])},3645:e=>{"use strict";e.exports=function(t){var a=[];return a.toString=function(){return this.map(function(e){var n=function(e,n){var t=e[1]||"",i=e[3];if(!i)return t;if(n&&"function"==typeof btoa)return e=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(i),n=i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}),[t].concat(n).concat([e]).join("\n");return[t].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},a.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var t={},i=0;i<this.length;i++){var o=this[i][0];null!=o&&(t[o]=!0)}for(i=0;i<e.length;i++){var r=e[i];null!=r[0]&&t[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),a.push(r))}},a}},6194:(e,n,t)=>{var i=t(8074),o=("string"==typeof i&&(i=[[e.id,i,""]]),{hmr:!0});o.transform=void 0,o.insertInto=void 0,t(7399)(i,o);i.locals&&(e.exports=i.locals)},6684:(e,n,t)=>{var i=t(5165),o=("string"==typeof i&&(i=[[e.id,i,""]]),{hmr:!0});o.transform=void 0,o.insertInto=void 0,t(7399)(i,o);i.locals&&(e.exports=i.locals)},9721:(e,n,t)=>{var i=t(7787),o=("string"==typeof i&&(i=[[e.id,i,""]]),{hmr:!0});o.transform=void 0,o.insertInto=void 0,t(7399)(i,o);i.locals&&(e.exports=i.locals)},3832:(e,n,t)=>{var i=t(9519),o=("string"==typeof i&&(i=[[e.id,i,""]]),{hmr:!0});o.transform=void 0,o.insertInto=void 0,t(7399)(i,o);i.locals&&(e.exports=i.locals)},485:(e,n,t)=>{var i=t(8301),o=("string"==typeof i&&(i=[[e.id,i,""]]),{hmr:!0});o.transform=void 0,o.insertInto=void 0,t(7399)(i,o);i.locals&&(e.exports=i.locals)},7399:(e,n,i)=>{var t,o,r,l={},d=(t=function(){return window&&document&&document.all&&!window.atob},function(){return o=void 0===o?t.apply(this,arguments):o}),a=(r={},function(e,n){if("function"==typeof e)return e();if(void 0===r[e]){n=function(e,n){return(n||document).querySelector(e)}.call(this,e,n);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}r[e]=n}return r[e]}),s=null,c=0,p=[],h=i(1947);function u(e,n){for(var t=0;t<e.length;t++){var i=e[t],o=l[i.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](i.parts[r]);for(;r<i.parts.length;r++)o.parts.push(v(i.parts[r],n))}else{for(var a=[],r=0;r<i.parts.length;r++)a.push(v(i.parts[r],n));l[i.id]={id:i.id,refs:1,parts:a}}}}function f(e,n){for(var t=[],i={},o=0;o<e.length;o++){var r=e[o],a=n.base?r[0]+n.base:r[0],r={css:r[1],media:r[2],sourceMap:r[3]};i[a]?i[a].parts.push(r):t.push(i[a]={id:a,parts:[r]})}return t}function m(e,n){var t=a(e.insertInto);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=p[p.length-1];if("top"===e.insertAt)i?i.nextSibling?t.insertBefore(n,i.nextSibling):t.appendChild(n):t.insertBefore(n,t.firstChild),p.push(n);else if("bottom"===e.insertAt)t.appendChild(n);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");i=a(e.insertAt.before,t);t.insertBefore(n,i)}}function g(e){null!==e.parentNode&&(e.parentNode.removeChild(e),0<=(e=p.indexOf(e))&&p.splice(e,1))}function b(e){var n,t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce&&(n=i.nc)&&(e.attrs.nonce=n),x(t,e.attrs),m(e,t),t}function x(n,t){Object.keys(t).forEach(function(e){n.setAttribute(e,t[e])})}function v(n,e){var t,i,o,r,a;if(e.transform&&n.css){if(!(r="function"==typeof e.transform?e.transform(n.css):e.transform.default(n.css)))return function(){};n.css=r}return o=e.singleton?(r=c++,t=s=s||b(e),i=w.bind(null,t,r,!1),w.bind(null,t,r,!0)):n.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=e,a=document.createElement("link"),void 0===r.attrs.type&&(r.attrs.type="text/css"),r.attrs.rel="stylesheet",x(a,r.attrs),m(r,a),t=a,i=function(e,n,t){var i=t.css,t=t.sourceMap,o=void 0===n.convertToAbsoluteUrls&&t;(n.convertToAbsoluteUrls||o)&&(i=h(i));t&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");n=new Blob([i],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(n),o&&URL.revokeObjectURL(o)}.bind(null,t,e),function(){g(t),t.href&&URL.revokeObjectURL(t.href)}):(t=b(e),i=function(e,n){var t=n.css,n=n.media;n&&e.setAttribute("media",n);if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}.bind(null,t),function(){g(t)}),i(n),function(e){e?e.css===n.css&&e.media===n.media&&e.sourceMap===n.sourceMap||i(n=e):o()}}e.exports=function(e,a){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(a=a||{}).attrs="object"==typeof a.attrs?a.attrs:{},a.singleton||"boolean"==typeof a.singleton||(a.singleton=d()),a.insertInto||(a.insertInto="head"),a.insertAt||(a.insertAt="bottom");var s=f(e,a);return u(s,a),function(e){for(var n=[],t=0;t<s.length;t++){var i=s[t];(o=l[i.id]).refs--,n.push(o)}e&&u(f(e,a),a);for(var o,t=0;t<n.length;t++)if(0===(o=n[t]).refs){for(var r=0;r<o.parts.length;r++)o.parts[r]();delete l[o.id]}}};y=[];var y,N=function(e,n){return y[e]=n,y.filter(Boolean).join("\n")};function w(e,n,t,i){var t=t?"":i.css;e.styleSheet?e.styleSheet.cssText=N(n,t):(i=document.createTextNode(t),(t=e.childNodes)[n]&&e.removeChild(t[n]),t.length?e.insertBefore(i,t[n]):e.appendChild(i))}},1947:e=>{e.exports=function(e){var n="undefined"!=typeof window&&window.location;if(!n)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var t=n.protocol+"//"+n.host,i=t+n.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,n){n=n.trim().replace(/^"(.*)"$/,function(e,n){return n}).replace(/^'(.*)'$/,function(e,n){return n});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(n)?e:(e=0===n.indexOf("//")?n:0===n.indexOf("/")?t+n:i+n.replace(/^\.\//,""),"url("+JSON.stringify(e)+")")})}},3970:(e,n,t)=>{"use strict";t.d(n,{RL:()=>i,pX:()=>o,VW:()=>r,P8:()=>a,SJ:()=>s,jQ:()=>l,_r:()=>d});const i=0,o=1,r=2;const a=15,s=65,l=25,d=8},1283:(e,n,t)=>{"use strict";t.d(n,{EW:()=>i,J3:()=>o,U2:()=>r,hJ:()=>a,s5:()=>s});var N=t(5928),w=t(8591);const i=function(r,a,s,l){var d=this.map.getBoundingClientRect();if(r&&a){var c=r.getBoundingClientRect(),p=a.getBoundingClientRect(),h=(c.x+c.width/2-d.x)/this.scaleVal,u=(c.y+c.height/2-d.y)/this.scaleVal,f=(p.x+p.width/2-d.x)/this.scaleVal,m=(p.y+p.height/2-d.y)/this.scaleVal;let e,n,t,i;i=s?(e=h+l.delta1.x,n=u+l.delta1.y,t=f+l.delta2.x,m+l.delta2.y):(u+m)/2-u<=c.height/2?(e=(c.x+c.width-d.x)/this.scaleVal+100,n=u,t=(p.x+p.width-d.x)/this.scaleVal+100,m):(e=(h+f)/2,n=(u+m)/2,t=(h+f)/2,(u+m)/2);var d={cx:h,cy:u,w:c.width,h:c.height},c={cx:f,cy:m,w:p.width,h:p.height},p=(0,N.lk)(d,e,n),g=p.x,p=p.y,b=(0,N.Vg)(c,t,i),x=b.x,b=b.y,v=(0,N.Be)(t,i,x,b);const y=(0,w.Mi)(`M ${g} ${p} C ${e} ${n} ${t} ${i} ${x} `+b,`M ${v.x1} ${v.y1} L ${x} ${b} L ${v.x2} `+v.y2);let o;s?(o={id:l.id,label:"",from:r,to:a,delta1:{x:e-h,y:n-u},delta2:{x:t-f,y:i-m}},this.linkData[l.id]=o,y.linkObj=o,y.dataset.linkid=l.id):(o={id:(0,N.DO)(),label:"",from:r,to:a,delta1:{x:e-h,y:n-u},delta2:{x:t-f,y:i-m}},this.linkData[o.id]=o,y.linkObj=o,y.dataset.linkid=o.id,this.currentLink=y),this.linkSvgGroup.appendChild(y),s||this.showLinkController(e,n,t,i,o,d,c)}},o=function(e){let n;(n=e||this.currentLink)&&(console.log(n),this.hideLinkController(),e=n.linkObj.id,console.log(e),delete this.linkData[e],n.remove(),n=null)},r=function(e){e=(this.currentLink=e).linkObj;const n=e.from,t=e.to;var i=this.map.getBoundingClientRect(),o=n.getBoundingClientRect(),r=t.getBoundingClientRect(),a=(o.x+o.width/2-i.x)/this.scaleVal,s=(o.y+o.height/2-i.y)/this.scaleVal,l=(r.x+r.width/2-i.x)/this.scaleVal,i=(r.y+r.height/2-i.y)/this.scaleVal,o={cx:a,cy:s,w:o.width,h:o.height},r={cx:l,cy:i,w:r.width,h:r.height},a=a+e.delta1.x,s=s+e.delta1.y,l=l+e.delta2.x,i=i+e.delta2.y;this.showLinkController(a,s,l,i,e,o,r)},a=function(){this.linkController.style.display="none",this.P2.style.display="none",this.P3.style.display="none"},s=function(t,i,o,r,a,s,l){this.linkController.style.display="initial",this.P2.style.display="initial",this.P3.style.display="initial";var e=(0,N.lk)(s,t,i);let d=e.x,c=e.y;e=(0,N.Vg)(l,o,r);let p=e.x,h=e.y;this.P2.style.cssText=`top:${i}px;left:${t}px;`,this.P3.style.cssText=`top:${r}px;left:${o}px;`,this.line1.setAttribute("x1",d),this.line1.setAttribute("y1",c),this.line1.setAttribute("x2",t),this.line1.setAttribute("y2",i),this.line2.setAttribute("x1",o),this.line2.setAttribute("y1",r),this.line2.setAttribute("x2",p),this.line2.setAttribute("y2",h),this.helper1&&(this.helper1.destory(this.map),this.helper2.destory(this.map)),this.helper1=new N.Rj(this.P2),this.helper2=new N.Rj(this.P3),this.helper1.init(this.map,(e,n)=>{t-=e/this.scaleVal,i-=n/this.scaleVal;e=(0,N.lk)(s,t,i);d=e.x,c=e.y,this.P2.style.top=i+"px",this.P2.style.left=t+"px",this.currentLink.children[0].setAttribute("d",`M ${d} ${c} C ${t} ${i} ${o} ${r} ${p} `+h),this.line1.setAttribute("x1",d),this.line1.setAttribute("y1",c),this.line1.setAttribute("x2",t),this.line1.setAttribute("y2",i),a.delta1.x=t-s.cx,a.delta1.y=i-s.cy}),this.helper2.init(this.map,(e,n)=>{o-=e/this.scaleVal,r-=n/this.scaleVal;e=(0,N.Vg)(l,o,r),p=e.x,h=e.y,n=(0,N.Be)(o,r,p,h);this.P3.style.top=r+"px",this.P3.style.left=o+"px",this.currentLink.children[0].setAttribute("d",`M ${d} ${c} C ${t} ${i} ${o} ${r} ${p} `+h),this.currentLink.children[1].setAttribute("d",`M ${n.x1} ${n.y1} L ${p} ${h} L ${n.x2} `+n.y2),this.line2.setAttribute("x1",o),this.line2.setAttribute("y1",r),this.line2.setAttribute("x2",p),this.line2.setAttribute("y2",h),a.delta2.x=o-l.cx,a.delta2.y=r-l.cy})}},6398:(e,n,t)=>{"use strict";t.d(n,{Z:()=>i});t={addChild:"插入子节点",addSibling:"插入同级节点",removeNode:"删除节点",focus:"专注",cancelFocus:"取消专注",moveUp:"上移",moveDown:"下移",link:"连接",clickTips:"请点击目标节点",font:"文字",background:"背景",tag:"标签",icon:"图标",remarks:"备注",tagsSeparate:"多个标签半角逗号分隔",iconsSeparate:"多个图标半角逗号分隔",caseresult:"用例结果",priority:"优先级",autoCaseList:"自动化用例"};const i={cn:t,zh_CN:t,zh_TW:{addChild:"插入子節點",addSibling:"插入同級節點",removeNode:"刪除節點",focus:"專注",cancelFocus:"取消專注",moveUp:"上移",moveDown:"下移",link:"連接",clickTips:"請點擊目標節點",font:"文字",background:"背景",tag:"標簽",icon:"圖標",remarks:"備註",tagsSeparate:"多個標簽半角逗號分隔",iconsSeparate:"多個圖標半角逗號分隔",caseresult:"用例结果",priority:"优先级",autoCaseList:"自动化用例"},en:{addChild:"Add a child",addSibling:"Add a sibling",removeNode:"Remove node",focus:"Focus Mode",cancelFocus:"Cancel Focus Mode",moveUp:"Move up",moveDown:"Move down",link:"Link",clickTips:"Please click the target node",font:"Font",background:"Background",tag:"Tag",icon:"Icon",remarks:"Remark",tagsSeparate:"Separate tags by comma",iconsSeparate:"Separate icons by comma",caseresult:"caseresult",priority:"priority"},ja:{addChild:"子ノードを追加する",addSibling:"兄弟ノードを追加する",removeNode:"ノードを削除",focus:"集中",cancelFocus:"集中解除",moveUp:"上へ移動",moveDown:"下へ移動",link:"コネクト",clickTips:"ターゲットノードをクリックしてください",font:"フォント",background:"バックグラウンド",tag:"タグ",icon:"アイコン",remarks:"コメント",tagsSeparate:"複数タグはカンマ区切り",iconsSeparate:"複数アイコンはカンマ区切り",caseresult:"caseresult",priority:"priority"},pt:{addChild:"Adicionar item filho",addSibling:"Adicionar item irmao",removeNode:"Remover item",focus:"Modo Foco",cancelFocus:"Cancelar Modo Foco",moveUp:"Mover para cima",moveDown:"Mover para baixo",link:"Link",clickTips:"Favor clicar no item alvo",font:"Fonte",background:"Cor de fundo",tag:"Tag",icon:"Icone",remarks:"Remark",tagsSeparate:"Separe tags por virgula",iconsSeparate:"Separe icones por virgula",caseresult:"caseResult",priority:"priority"}}},8589:(e,n,t)=>{"use strict";t.d(n,{E:()=>D,default:()=>f});var n=t(3970),N=t(5928),i=t(9842),w=t(8591),o=t(3164),r=t(7733),a=t(1283),s=t(2327),k=t(9775),C=t(8347),L=t(3592),E=t(6398);const S=e=>{const n=document.createElement("div");return n.id=e,n},$=["#ffffff","#94a5a6","#9b59b6","#3298db","#c0392c","#e74c3c","#d35400","#f39c11","#f1c40e","#17a085","#27ae61","#2ecc71"];var d=function(e,a,s,l){return new(s=s||Promise)(function(t,n){function i(e){try{r(l.next(e))}catch(e){n(e)}}function o(e){try{r(l.throw(e))}catch(e){n(e)}}function r(e){var n;e.done?t(e.value):((n=e.value)instanceof s?n:new s(function(e){e(n)})).then(i,o)}r((l=l.apply(e,a||[])).next())})};function c(e,n){var t=n.parentNode.parentNode.contains(e);return e&&"TPC"===e.tagName&&e!==n&&!t&&!0!==e.nodeObj.root}const p=document,h=function(e){if(e)for(const n of e.getElementsByClassName("insert-preview")||[])n.remove()};function M(t){let a,s,l;t.map.addEventListener("dragstart",function(e){(a=e.target).parentNode.parentNode.style.opacity="0.5",N.Av.clear()}),t.map.addEventListener("dragend",function(n){return d(this,void 0,void 0,function*(){n.target.style.opacity="",h(l);var e=a.nodeObj;switch(s){case"before":t.moveNodeBefore(a,l),t.selectNode((0,i.YZ)(e.id));break;case"after":t.moveNodeAfter(a,l),t.selectNode((0,i.YZ)(e.id));break;case"in":t.moveNode(a,l)}a.parentNode.parentNode.style.opacity="1",a=null})}),t.map.addEventListener("dragover",(0,N.P2)(function(e){h(l);const n=p.elementFromPoint(e.clientX,e.clientY-12);if(c(n,a)){var t=(l=n).getBoundingClientRect().y;e.clientY>t+n.clientHeight?s="after":e.clientY>t+n.clientHeight/2&&(s="in")}else{const i=p.elementFromPoint(e.clientX,e.clientY+12);c(i,a)?(t=(l=i).getBoundingClientRect().y,e.clientY<t?s="before":e.clientY<t+i.clientHeight/2&&(s="in")):s=l=null}if(l){e=l,t=s;if(!t)return void!h(e);const o=e.getElementsByClassName("insert-preview");if(t=`insert-preview ${t} show`,0<o.length)o[0].className=t;else{const r=p.createElement("div");r.className=t,e.appendChild(r)}}},200))}var j=t(3231),O=t(6723),l=(t(6194),t(6684),t(485),t(3832),t(9721),t(9857),function(e,a,s,l){return new(s=s||Promise)(function(t,n){function i(e){try{r(l.next(e))}catch(e){n(e)}}function o(e){try{r(l.throw(e))}catch(e){n(e)}}function r(e){var n;e.done?t(e.value):((n=e.value)instanceof s?n:new s(function(e){e(n)})).then(i,o)}r((l=l.apply(e,a||[])).next())})});const D=i.YZ,z=document;function T({el:e,data:n,direction:t,locale:i,draggable:o,editable:r,contextMenu:a,contextMenuOption:s,toolBar:l,nodeMenu:d,keypress:c,before:p,newTopicName:h,allowUndo:u,primaryLinkStyle:f,overflowHidden:m,primaryNodeHorizontalGap:g,primaryNodeVerticalGap:b,mobileMenu:x,callingAnExternalInterface:v,enableExternalInterface:y,selectCaseList:N,showSelectCaseList:w}){e=document.querySelector(e);e&&(this.mindElixirBox=e,this.before=p||{},this.nodeData=n.nodeData,this.linkData=n.linkData||{},this.locale=i,this.contextMenuOption=s,this.contextMenu=void 0===a||a,this.toolBar=void 0===l||l,this.nodeMenu=void 0===d||d,this.keypress=void 0===c||c,this.mobileMenu=x,this.direction="number"==typeof t?t:1,this.draggable=void 0===o||o,this.newTopicName=h,this.editable=void 0===r||r,this.allowUndo=void 0===u||u,this.currentNode=null,this.currentLink=null,this.inputDiv=null,this.scaleVal=1,this.tempDirection=null,this.primaryLinkStyle=f||0,this.overflowHidden=m,this.primaryNodeHorizontalGap=g,this.primaryNodeVerticalGap=b,this.callingAnExternalInterface=v,this.enableExternalInterface=y,this.selectCaseList=N||[],this.showSelectCaseList=null!=w&&w,this.bus=new O.Z,this.bus.addListener("operation",e=>{this.isUndo?this.isUndo=!1:["moveNode","removeNode","addChild","finishEdit","editStyle","editTags","editIcons","editRemarks","editCaseRunStatus","editCasePriority","relationAutoCase"].includes(e.name)&&this.history.push(e)}),this.history=[],this.isUndo=!1,this.undo=function(){var e=this.history.pop();e&&(this.isUndo=!0,"moveNode"===e.name?this.moveNode(D(e.obj.fromObj.id),D(e.obj.originParentId)):"removeNode"===e.name?e.originSiblingId?this.insertBefore(D(e.originSiblingId),e.obj):this.addChild(D(e.originParentId),e.obj):"addChild"===e.name||"copyNode"===e.name?this.removeNode(D(e.obj.id)):"finishEdit"===e.name?this.setNodeTopic(D(e.obj.id),e.origin):this.isUndo=!1)})}function u(n){return function(...e){return l(this,void 0,void 0,function*(){this.before[n.name]&&!(yield this.before[n.name].apply(this,e))||n.apply(this,e)})}}T.prototype={addParentLink:N.iX,getObjById:N.cU,generateNewObj:N.yi,insertSibling:u(r.h),insertBefore:u(r.Vt),addChild:u(r.U_),copyNode:u(r.Bc),moveNode:u(r.Dv),removeNode:u(r.ZF),moveUpNode:u(r.fL),moveDownNode:u(r.gE),beginEdit:u(r.HS),moveNodeBefore:u(r.pe),moveNodeAfter:u(r.$c),updateNodeStyle:r.oo,updateNodeTags:r.KK,updateNodeIcons:r.DJ,updateNodeRemark:r.ST,updateNodeCaseStatus:r.G1,updateNodeCasePriority:r.kP,updateNodRelationAutoCase:r.OQ,processPrimaryNode:r.dN,setNodeTopic:r.ib,createLink:a.EW,removeLink:a.J3,selectLink:a.U2,hideLinkController:a.hJ,showLinkController:a.s5,layout:i.bK,linkDiv:s.Z,createInputDiv:i.co,createChildren:i.fh,createGroup:i.sS,createTop:i.HM,createTopic:i.HV,selectNode:o.UG,unselectNode:o.KW,selectNextSibling:o.dl,selectPrevSibling:o.nb,selectFirstChild:o.ji,selectParent:o.xG,getAllDataString:o.kS,getAllData:o.jl,getAllDataMd:o.Rg,scale:o.bA,toCenter:o.h7,changeContainerPosition:o.Tn,focusNode:o.dJ,cancelFocus:o.uj,initLeft:o.du,initRight:o.$8,initSide:o.jS,setLocale:o.i_,enableEdit:o.Lj,disableEdit:o.gw,expandNode:o.A2,refresh:o.bi,initLeftOnChange:o.nA,initRightOnChange:o.Nb,initSideOnChange:o.Qi,reduceXmind:o._F,addXmind:o.Ut,init:function(){if((0,N.iX)(this.nodeData),console.log("ME_version "+T.version),console.log(this),this.mindElixirBox.className+=" mind-elixir",this.mindElixirBox.innerHTML="",this.container=z.createElement("div"),this.container.className="map-container",this.overflowHidden&&(this.container.style.overflow="hidden"),this.map=z.createElement("div"),this.map.className="map-canvas",this.map.setAttribute("tabindex","0"),this.container.appendChild(this.map),this.mindElixirBox.appendChild(this.container),this.root=z.createElement("root"),this.box=z.createElement("children"),this.box.className="box",this.svg2nd=(0,w.c4)("svg2nd"),this.linkController=(0,w.c4)("linkcontroller"),this.P2=z.createElement("div"),this.P3=z.createElement("div"),this.P2.className=this.P3.className="circle",this.line1=(0,w.W5)(0,0,0,0),this.line2=(0,w.W5)(0,0,0,0),this.linkController.appendChild(this.line1),this.linkController.appendChild(this.line2),this.linkSvgGroup=(0,w.c4)("topiclinks"),this.map.appendChild(this.root),this.map.appendChild(this.box),this.map.appendChild(this.svg2nd),this.map.appendChild(this.linkController),this.map.appendChild(this.linkSvgGroup),this.map.appendChild(this.P2),this.map.appendChild(this.P3),this.toolBar&&(0,L.Z)(this),this.nodeMenu){var r=this,e=E.Z[r.locale]?r.locale:"en";let o;const t=S("nm-style"),i=S("nm-tag"),s=S("nm-icon"),l=S("nm-remarks"),d=S("nm-caseresult"),c=S("nm-priority"),p=S("nm-autoCaseList"),h=(t.innerHTML=`
|
|
2
2
|
<div class="nm-fontsize-container">
|
|
3
3
|
${["15","24","32"].map(e=>`<div class="size" data-size="${e}">
|
|
4
4
|
<svg class="icon" style="width: ${e}px;height: ${e}px" aria-hidden="true">
|
|
@@ -34,37 +34,37 @@
|
|
|
34
34
|
<div class="button-container"><svg class="icon" aria-hidden="true">
|
|
35
35
|
<use xlink:href="#icon-close"></use>
|
|
36
36
|
</svg></div>
|
|
37
|
-
`,h.appendChild(t),h.appendChild(c),h.appendChild(i),h.appendChild(s),h.appendChild(d),r.showSelectCaseList&&h.appendChild(p),h.appendChild(l),h.hidden=!0,r.container.append(h),e=h.querySelectorAll(".size");const u=h.querySelector(".bold"),f=h.querySelector(".button-container"),m=h.querySelector(".font"),b=r.container.querySelector(".nm-tag"),g=r.container.querySelector(".nm-icon"),x=r.container.querySelector(".nm-remarks"),v=(h.querySelector(".nm-caseresult"),h.onclick=e=>{if(r.currentNode){const t=r.currentNode.nodeObj,i=e.target;var n;"palette"===i.className?(t.style||(t.style={}),a(".palette","nmenu-selected"),i.className="palette nmenu-selected","font"===o?"#ffffff"===i.dataset.color?t.style.color="":t.style.color=i.dataset.color:"background"===o&&("#ffffff"===i.dataset.color?t.style.background="":t.style.background=i.dataset.color),r.updateNodeStyle(t)):"background"===i.className?(a(".palette","nmenu-selected"),o="background",i.className="background selected",i.previousElementSibling.className="font",t.style&&t.style.background&&(h.querySelector('.palette[data-color="'+t.style.background+'"]').className="palette nmenu-selected")):"font"===i.className?(a(".palette","nmenu-selected"),o="font",i.className="font selected",i.nextElementSibling.className="background",t.style&&t.style.color&&(h.querySelector('.palette[data-color="'+t.style.color+'"]').className="palette nmenu-selected")):"case-pass"===i.className?r.updateNodeCaseStatus(r.currentNode.nodeObj,2):"case-notpass"===i.className?r.updateNodeCaseStatus(r.currentNode.nodeObj,3):"case-block"===i.className?r.updateNodeCaseStatus(r.currentNode.nodeObj,4):"case-notrun"===i.className?r.updateNodeCaseStatus(r.currentNode.nodeObj,1):"case-ignore"===i.className?r.updateNodeCaseStatus(r.currentNode.nodeObj,5):"case-null"===i.className?r.updateNodeCaseStatus(r.currentNode.nodeObj,""):"priority-one"===i.className?r.updateNodeCasePriority(r.currentNode.nodeObj,1):"priority-two"===i.className?r.updateNodeCasePriority(r.currentNode.nodeObj,2):"priority-three"===i.className?r.updateNodeCasePriority(r.currentNode.nodeObj,3):"priority-four"===i.className?r.updateNodeCasePriority(r.currentNode.nodeObj,4):"priority-five"===i.className?r.updateNodeCasePriority(r.currentNode.nodeObj,5):"priority-null"===i.className?r.updateNodeCasePriority(r.currentNode.nodeObj,""):"autoCase-null"===i.className?r.updateNodRelationAutoCase(r.currentNode.nodeObj,"",""):"autoCase-add"===i.className&&(e=v.value,n=v.options[v.selectedIndex].text,r.updateNodRelationAutoCase(r.currentNode.nodeObj,e,n))}},document.getElementById("autoCase")),y=(v&&v.addEventListener("change",function(){var e=v.options[v.selectedIndex];r.updateNodRelationAutoCase(r.currentNode.nodeObj,e.value,e.text)}),document.getElementById("searchInput"));y&&y.addEventListener("input",function(e){if(v){const v=document.getElementById("autoCase");v.selectedIndex=-1}for(var n=e.target.value.toLowerCase(),t=document.getElementById("autoCase").options,i=0;i<t.length;i++){var o=t[i];-1<o.text.toLowerCase().indexOf(n)?o.style.display="":o.style.display="none"}}),Array.from(e).map(e=>{e.onclick=e=>{r.currentNode.nodeObj.style||(r.currentNode.nodeObj.style={}),a(".size","size-selected");const n=e.currentTarget;r.currentNode.nodeObj.style.fontSize=n.dataset.size,n.className="size size-selected",r.updateNodeStyle(r.currentNode.nodeObj)}}),u.onclick=e=>{r.currentNode.nodeObj.style||(r.currentNode.nodeObj.style={}),"bold"===r.currentNode.nodeObj.style.fontWeight?(delete r.currentNode.nodeObj.style.fontWeight,e.currentTarget.className="bold"):(r.currentNode.nodeObj.style.fontWeight="bold",e.currentTarget.className="bold size-selected"),r.updateNodeStyle(r.currentNode.nodeObj)},b.onchange=e=>{r.currentNode&&(e.target.value?(e=e.target.value.split(","),r.updateNodeTags(r.currentNode.nodeObj,e)):r.updateNodeTags(r.currentNode.nodeObj,""))},g.onchange=e=>{r.currentNode&&(e.target.value?(e=e.target.value.split(","),r.updateNodeIcons(r.currentNode.nodeObj,e)):r.updateNodeIcons(r.currentNode.nodeObj,""))},x.onchange=e=>{r.currentNode&&(e.target.value?(e=e.target.value,r.updateNodeRemark(r.currentNode.nodeObj,e)):r.updateNodeRemark(r.currentNode.nodeObj,""))};let n="open";f.onclick=e=>{"open"===n?(n="close",h.className="close",f.innerHTML='<svg class="icon" aria-hidden="true"><use xlink:href="#icon-menu"></use></svg>'):(n="open",h.className="",f.innerHTML='<svg class="icon" aria-hidden="true"><use xlink:href="#icon-close"></use></svg>')},r.bus.addListener("unselectNode",function(){h.hidden=!0}),r.bus.addListener("selectNode",function(e){h.hidden=!1,a(".palette","nmenu-selected"),a(".size","size-selected"),a(".bold","size-selected"),o="font",m.className="font selected",m.nextElementSibling.className="background",e.style&&(e.style.fontSize&&(h.querySelector('.size[data-size="'+e.style.fontSize+'"]').className="size size-selected"),e.style.fontWeight&&(h.querySelector(".bold").className="bold size-selected"),e.style.color&&(h.querySelector('.palette[data-color="'+e.style.color+'"]').className="palette nmenu-selected")),e.tags?b.value=e.tags.join(","):b.value="",e.icons?g.value=e.icons.join(","):g.value="",e.remarks?x.value=e.remarks:x.value=""})}if(this.keypress){var n=this;const o={13:()=>{n.insertSibling()},9:()=>{n.addChild()},113:()=>{n.beginEdit()},38:()=>{n.selectPrevSibling()},40:()=>{n.selectNextSibling()},37:()=>{n.currentNode&&("rhs"===n.currentNode.offsetParent.offsetParent.className?n.selectParent():"lhs"!==n.currentNode.offsetParent.offsetParent.className&&!n.currentNode.nodeObj.root||n.selectFirstChild())},39:()=>{n.currentNode&&("rhs"===n.currentNode.offsetParent.offsetParent.className||n.currentNode.nodeObj.root?n.selectFirstChild():"lhs"===n.currentNode.offsetParent.offsetParent.className&&n.selectParent())},33(){n.moveUpNode()},34(){n.moveDownNode()},67(e){(e.metaKey||e.ctrlKey)&&(n.waitCopy=n.currentNode)},86(e){n.waitCopy&&(e.metaKey||e.ctrlKey)&&(n.copyNode(n.waitCopy,n.currentNode),n.waitCopy=null)},90:e=>{n.allowUndo&&(e.metaKey||e.ctrlKey)&&n.undo()},187:e=>{!e.metaKey&&!e.ctrlKey||1.6<n.scaleVal||n.scale(n.scaleVal+=.2)},189:e=>{!e.metaKey&&!e.ctrlKey||n.scaleVal<.6||n.scale(n.scaleVal-=.2)}};n.map.onkeydown=e=>{e.preventDefault(),n.editable&&e.target===e.currentTarget&&(8===e.keyCode||46===e.keyCode?n.currentLink?n.removeLink():n.removeNode():o[e.keyCode]&&o[e.keyCode](e))}}(0,N.tq)()&&this.mobileMenu?(0,j.Z)(this):this.contextMenu&&(0,C.Z)(this,this.contextMenuOption),this.draggable&&M(this),this.toCenter(),this.layout(),this.linkDiv(),this.overflowHidden||(0,k.Z)(this)}},u.LEFT=n.RL,u.RIGHT=n.pX,u.SIDE=n.VW,u.version="0.17.0",u.E=i.YZ,u.new=e=>({nodeData:{id:(0,N.DO)(),topic:e||"new topic",root:!0,children:[]},linkData:{}});const m=u},3164:(e,n,t)=>{"use strict";t.d(n,{UG:()=>o,KW:()=>a,dl:()=>s,nb:()=>l,ji:()=>d,xG:()=>c,kS:()=>p,jl:()=>h,Rg:()=>u,Lj:()=>f,gw:()=>m,bA:()=>b,h7:()=>g,Tn:()=>x,nA:()=>v,Nb:()=>y,Qi:()=>N,_F:()=>w,Ut:()=>k,dJ:()=>C,uj:()=>L,du:()=>E,$8:()=>S,jS:()=>$,i_:()=>M,A2:()=>j,bi:()=>O});var i=t(9842);function r(e){return e.isFocusMode?e.nodeDataBackup:e.nodeData}const o=function(e,n){if(e){if("string"==typeof e)return this.selectNode((0,i.YZ)(e));this.currentNode&&(this.currentNode.className=""),e.className="selected",this.currentNode=e,n?this.bus.fire("selectNewNode",e.nodeObj):this.bus.fire("selectNode",e.nodeObj)}},a=function(){this.currentNode&&(this.currentNode.className=""),this.currentNode=null,this.bus.fire("unselectNode")},s=function(){if(this.currentNode&&"meroot"!==this.currentNode.dataset.nodeid){var n=this.currentNode.parentElement.parentElement.nextSibling;let e;var t=this.currentNode.parentElement.parentElement;if("rhs"===t.className||"lhs"===t.className){var i=this.mindElixirBox.querySelectorAll("."+t.className),t=Array.from(i).indexOf(t);if(!(t+1<i.length))return!1;e=i[t+1].firstChild.firstChild}else{if(!n)return!1;e=n.firstChild.firstChild}return this.selectNode(e),!0}},l=function(){if(this.currentNode&&"meroot"!==this.currentNode.dataset.nodeid){var n=this.currentNode.parentElement.parentElement.previousSibling;let e;var t=this.currentNode.parentElement.parentElement;if("rhs"===t.className||"lhs"===t.className){var i=this.mindElixirBox.querySelectorAll("."+t.className),t=Array.from(i).indexOf(t);if(!(0<=t-1))return!1;e=i[t-1].firstChild.firstChild}else{if(!n)return!1;e=n.firstChild.firstChild}return this.selectNode(e),!0}},d=function(){var e;!this.currentNode||(e=this.currentNode.parentElement.nextSibling)&&e.firstChild&&(e=e.firstChild.firstChild.firstChild,this.selectNode(e))},c=function(){var e;!this.currentNode||"meroot"===this.currentNode.dataset.nodeid||(e=this.currentNode.parentElement.parentElement.parentElement.previousSibling)&&(e=e.firstChild,this.selectNode(e))},p=function(){var e={nodeData:r(this),linkData:this.linkData};return JSON.stringify(e,(e,n)=>{if("parent"!==e)return"from"===e||"to"===e?n.nodeObj.id:n})},h=function(){var e={nodeData:r(this),linkData:this.linkData};return JSON.parse(JSON.stringify(e,(e,n)=>{if("parent"!==e)return"from"===e||"to"===e?n.nodeObj.id:n}))},u=function(){var e=r(this);let o="# "+e.topic+"\n\n";return function n(t,i){for(let e=0;e<t.length;e++)o+=i<=6?"".padStart(i,"#")+" "+t[e].topic+"\n\n":"".padStart(i-7,"\t")+"- "+t[e].topic+"\n",t[e].children&&n(t[e].children,i+1)}(e.children,2),o},f=function(){this.editable=!0},m=function(){this.editable=!1},b=function(e){this.scaleVal=e,this.map.style.transform="scale("+e+")"},g=function(){this.container.scrollTo(1e4-this.container.offsetWidth/2,3e4-this.container.offsetHeight/2)},x=function(e,n){this.container.scrollTo(e,n)},v=function(){this.direction=0,this.init()},y=function(){this.direction=1,this.init()},N=function(){this.direction=2,this.init()},w=function(e){this.scale(e)},k=function(e){this.scale(e)};const C=function(e){e.nodeObj.root||(null===this.tempDirection&&(this.tempDirection=this.direction),this.isFocusMode||(this.nodeDataBackup=this.nodeData,this.isFocusMode=!0),this.nodeData=e.nodeObj,this.nodeData.root=!0,this.initRight())},L=function(){this.isFocusMode=!1,null!==this.tempDirection&&(delete this.nodeData.root,this.nodeData=this.nodeDataBackup,this.direction=this.tempDirection,this.tempDirection=null,this.init())},E=function(){this.direction=0,this.init()},S=function(){this.direction=1,this.init()},$=function(){this.direction=2,this.init()},M=function(e){this.locale=e,this.init()},j=function(e,n){const t=e.nodeObj;"boolean"==typeof n?t.expanded=n:!1!==t.expanded?t.expanded=!1:t.expanded=!0,this.layout(),this.linkDiv(),this.bus.fire("expandNode",t)},O=function(){this.addParentLink(this.nodeData),this.layout(),this.linkDiv()}},2327:(e,n,t)=>{"use strict";t.d(n,{Z:()=>function(n){var i=this.primaryNodeHorizontalGap||S.SJ,r=this.primaryNodeVerticalGap||S.jQ;const o=this.root,a=(o.style.cssText=`top:${3e4-o.offsetHeight/2}px;left:${1e4-o.offsetWidth/2}px;`,this.box.children);this.svg2nd.innerHTML="";let t=0,s,l=0,d=0,c=0,p=0,h=0,u;if(this.direction===S.VW){let n=0,t=0,i=0,o=0;for(let e=0;e<a.length;e++){var f=a[e];"lhs"===f.className?(p+=f.offsetHeight+r,i+=f.offsetHeight,n+=1):(h+=f.offsetHeight+r,o+=f.offsetHeight,t+=1)}l=p>h?(u=3e4-Math.max(p)/2,s="r",(p-o)/(t-1)):(u=3e4-Math.max(h)/2,s="l",(h-i)/(n-1))}else{for(let e=0;e<a.length;e++){var m=a[e];t+=m.offsetHeight+r}u=3e4-t/2}let b="";for(let e=0;e<a.length;e++){let n,t;const y=a[e];var g=y.offsetHeight;if("lhs"===y.className){y.style.top=u+d+"px",y.style.left=1e4-o.offsetWidth/2-i-y.offsetWidth+"px",n=1e4-o.offsetWidth/2-i-15,t=u+d+g/2;let e=1e4;2===this.primaryLinkStyle?(this.direction===S.VW&&(e=1e4-o.offsetWidth/6),t<1e4?b+=`M ${e} 10000
|
|
37
|
+
`,h.appendChild(t),h.appendChild(c),h.appendChild(i),h.appendChild(s),h.appendChild(d),r.showSelectCaseList&&h.appendChild(p),h.appendChild(l),h.hidden=!0,r.container.append(h),e=h.querySelectorAll(".size");const u=h.querySelector(".bold"),f=h.querySelector(".button-container"),m=h.querySelector(".font"),g=r.container.querySelector(".nm-tag"),b=r.container.querySelector(".nm-icon"),x=r.container.querySelector(".nm-remarks"),v=(h.querySelector(".nm-caseresult"),h.onclick=e=>{if(r.currentNode){const t=r.currentNode.nodeObj,i=e.target;var n;console.log("点击菜单",i,i.className,"mind.selectCaseList",r.selectCaseList),"palette"===i.className?(t.style||(t.style={}),a(".palette","nmenu-selected"),i.className="palette nmenu-selected","font"===o?"#ffffff"===i.dataset.color?t.style.color="":t.style.color=i.dataset.color:"background"===o&&("#ffffff"===i.dataset.color?t.style.background="":t.style.background=i.dataset.color),r.updateNodeStyle(t)):"background"===i.className?(a(".palette","nmenu-selected"),o="background",i.className="background selected",i.previousElementSibling.className="font",t.style&&t.style.background&&(h.querySelector('.palette[data-color="'+t.style.background+'"]').className="palette nmenu-selected")):"font"===i.className?(a(".palette","nmenu-selected"),o="font",i.className="font selected",i.nextElementSibling.className="background",t.style&&t.style.color&&(h.querySelector('.palette[data-color="'+t.style.color+'"]').className="palette nmenu-selected")):"case-pass"===i.className?r.updateNodeCaseStatus(r.currentNode.nodeObj,2):"case-notpass"===i.className?r.updateNodeCaseStatus(r.currentNode.nodeObj,3):"case-block"===i.className?r.updateNodeCaseStatus(r.currentNode.nodeObj,4):"case-notrun"===i.className?r.updateNodeCaseStatus(r.currentNode.nodeObj,1):"case-ignore"===i.className?r.updateNodeCaseStatus(r.currentNode.nodeObj,5):"case-null"===i.className?r.updateNodeCaseStatus(r.currentNode.nodeObj,""):"priority-one"===i.className?r.updateNodeCasePriority(r.currentNode.nodeObj,1):"priority-two"===i.className?r.updateNodeCasePriority(r.currentNode.nodeObj,2):"priority-three"===i.className?r.updateNodeCasePriority(r.currentNode.nodeObj,3):"priority-four"===i.className?r.updateNodeCasePriority(r.currentNode.nodeObj,4):"priority-five"===i.className?r.updateNodeCasePriority(r.currentNode.nodeObj,5):"priority-null"===i.className?r.updateNodeCasePriority(r.currentNode.nodeObj,""):"autoCase-null"===i.className?r.updateNodRelationAutoCase(r.currentNode.nodeObj,"",""):"autoCase-add"===i.className&&(e=v.value,n=v.options[v.selectedIndex].text,r.updateNodRelationAutoCase(r.currentNode.nodeObj,e,n))}},document.getElementById("autoCase")),y=(console.log("selectElement",v),v&&v.addEventListener("change",function(){var e=v.options[v.selectedIndex];console.log("Selected option value: ",e.value),console.log("Selected option text: ",e.text),r.updateNodRelationAutoCase(r.currentNode.nodeObj,e.value,e.text)}),document.getElementById("searchInput"));y&&y.addEventListener("input",function(e){if(v){const v=document.getElementById("autoCase");v.selectedIndex=-1}for(var n=e.target.value.toLowerCase(),t=(console.log("filter",n),document.getElementById("autoCase").options),i=0;i<t.length;i++){var o=t[i],r=o.text.toLowerCase();console.log("optionValue",r),-1<r.indexOf(n)?(o.style.display="",console.log("显示",r)):o.style.display="none"}}),Array.from(e).map(e=>{e.onclick=e=>{r.currentNode.nodeObj.style||(r.currentNode.nodeObj.style={}),a(".size","size-selected");const n=e.currentTarget;r.currentNode.nodeObj.style.fontSize=n.dataset.size,n.className="size size-selected",r.updateNodeStyle(r.currentNode.nodeObj)}}),u.onclick=e=>{r.currentNode.nodeObj.style||(r.currentNode.nodeObj.style={}),"bold"===r.currentNode.nodeObj.style.fontWeight?(delete r.currentNode.nodeObj.style.fontWeight,e.currentTarget.className="bold"):(r.currentNode.nodeObj.style.fontWeight="bold",e.currentTarget.className="bold size-selected"),r.updateNodeStyle(r.currentNode.nodeObj)},g.onchange=e=>{r.currentNode&&(e.target.value?(e=e.target.value.split(","),r.updateNodeTags(r.currentNode.nodeObj,e)):r.updateNodeTags(r.currentNode.nodeObj,""))},b.onchange=e=>{r.currentNode&&(e.target.value?(e=e.target.value.split(","),r.updateNodeIcons(r.currentNode.nodeObj,e)):r.updateNodeIcons(r.currentNode.nodeObj,""))},x.onchange=e=>{r.currentNode&&(e.target.value?(e=e.target.value,r.updateNodeRemark(r.currentNode.nodeObj,e)):r.updateNodeRemark(r.currentNode.nodeObj,""))};let n="open";f.onclick=e=>{"open"===n?(n="close",h.className="close",f.innerHTML='<svg class="icon" aria-hidden="true"><use xlink:href="#icon-menu"></use></svg>'):(n="open",h.className="",f.innerHTML='<svg class="icon" aria-hidden="true"><use xlink:href="#icon-close"></use></svg>')},r.bus.addListener("unselectNode",function(){h.hidden=!0}),r.bus.addListener("selectNode",function(e){h.hidden=!1,a(".palette","nmenu-selected"),a(".size","size-selected"),a(".bold","size-selected"),o="font",m.className="font selected",m.nextElementSibling.className="background",e.style&&(e.style.fontSize&&(h.querySelector('.size[data-size="'+e.style.fontSize+'"]').className="size size-selected"),e.style.fontWeight&&(h.querySelector(".bold").className="bold size-selected"),e.style.color&&(h.querySelector('.palette[data-color="'+e.style.color+'"]').className="palette nmenu-selected")),e.tags?g.value=e.tags.join(","):g.value="",e.icons?b.value=e.icons.join(","):b.value="",e.remarks?x.value=e.remarks:x.value=""})}if(this.keypress){var n=this;const o={13:()=>{n.insertSibling()},9:()=>{n.addChild()},113:()=>{n.beginEdit()},38:()=>{n.selectPrevSibling()},40:()=>{n.selectNextSibling()},37:()=>{n.currentNode&&("rhs"===n.currentNode.offsetParent.offsetParent.className?n.selectParent():"lhs"!==n.currentNode.offsetParent.offsetParent.className&&!n.currentNode.nodeObj.root||n.selectFirstChild())},39:()=>{n.currentNode&&("rhs"===n.currentNode.offsetParent.offsetParent.className||n.currentNode.nodeObj.root?n.selectFirstChild():"lhs"===n.currentNode.offsetParent.offsetParent.className&&n.selectParent())},33(){n.moveUpNode()},34(){n.moveDownNode()},67(e){(e.metaKey||e.ctrlKey)&&(n.waitCopy=n.currentNode)},86(e){n.waitCopy&&(e.metaKey||e.ctrlKey)&&(n.copyNode(n.waitCopy,n.currentNode),n.waitCopy=null)},90:e=>{n.allowUndo&&(e.metaKey||e.ctrlKey)&&n.undo()},187:e=>{!e.metaKey&&!e.ctrlKey||1.6<n.scaleVal||n.scale(n.scaleVal+=.2)},189:e=>{!e.metaKey&&!e.ctrlKey||n.scaleVal<.6||n.scale(n.scaleVal-=.2)}};n.map.onkeydown=e=>{e.preventDefault(),n.editable&&e.target===e.currentTarget&&(8===e.keyCode||46===e.keyCode?n.currentLink?n.removeLink():n.removeNode():o[e.keyCode]&&o[e.keyCode](e))}}(0,N.tq)()&&this.mobileMenu?(0,j.Z)(this):this.contextMenu&&(0,C.Z)(this,this.contextMenuOption),this.draggable&&M(this),this.toCenter(),this.layout(),this.linkDiv(),this.overflowHidden||(0,k.Z)(this)}},T.LEFT=n.RL,T.RIGHT=n.pX,T.SIDE=n.VW,T.version="0.17.0",T.E=i.YZ,T.new=e=>({nodeData:{id:(0,N.DO)(),topic:e||"new topic",root:!0,children:[]},linkData:{}});const f=T},3164:(e,n,t)=>{"use strict";t.d(n,{UG:()=>o,KW:()=>a,dl:()=>s,nb:()=>l,ji:()=>d,xG:()=>c,kS:()=>p,jl:()=>h,Rg:()=>u,Lj:()=>f,gw:()=>m,bA:()=>g,h7:()=>b,Tn:()=>x,nA:()=>v,Nb:()=>y,Qi:()=>N,_F:()=>w,Ut:()=>k,dJ:()=>C,uj:()=>L,du:()=>E,$8:()=>S,jS:()=>$,i_:()=>M,A2:()=>j,bi:()=>O});var i=t(9842);function r(e){return e.isFocusMode?e.nodeDataBackup:e.nodeData}const o=function(e,n){if(e){if(console.time("selectNode"),console.log("selectNode 点击",e,n),"string"==typeof e)return this.selectNode((0,i.YZ)(e));this.currentNode&&(this.currentNode.className=""),e.className="selected",this.currentNode=e,n?this.bus.fire("selectNewNode",e.nodeObj):this.bus.fire("selectNode",e.nodeObj),console.timeEnd("selectNode")}},a=function(){this.currentNode&&(this.currentNode.className=""),this.currentNode=null,this.bus.fire("unselectNode")},s=function(){if(this.currentNode&&"meroot"!==this.currentNode.dataset.nodeid){var n=this.currentNode.parentElement.parentElement.nextSibling;let e;var t=this.currentNode.parentElement.parentElement;if("rhs"===t.className||"lhs"===t.className){var i=this.mindElixirBox.querySelectorAll("."+t.className),t=Array.from(i).indexOf(t);if(!(t+1<i.length))return!1;e=i[t+1].firstChild.firstChild}else{if(!n)return!1;e=n.firstChild.firstChild}return this.selectNode(e),!0}},l=function(){if(this.currentNode&&"meroot"!==this.currentNode.dataset.nodeid){var n=this.currentNode.parentElement.parentElement.previousSibling;let e;var t=this.currentNode.parentElement.parentElement;if("rhs"===t.className||"lhs"===t.className){var i=this.mindElixirBox.querySelectorAll("."+t.className),t=Array.from(i).indexOf(t);if(!(0<=t-1))return!1;e=i[t-1].firstChild.firstChild}else{if(!n)return!1;e=n.firstChild.firstChild}return this.selectNode(e),!0}},d=function(){var e;!this.currentNode||(e=this.currentNode.parentElement.nextSibling)&&e.firstChild&&(e=e.firstChild.firstChild.firstChild,this.selectNode(e))},c=function(){var e;!this.currentNode||"meroot"===this.currentNode.dataset.nodeid||(e=this.currentNode.parentElement.parentElement.parentElement.previousSibling)&&(e=e.firstChild,this.selectNode(e))},p=function(){var e={nodeData:r(this),linkData:this.linkData};return JSON.stringify(e,(e,n)=>{if("parent"!==e)return"from"===e||"to"===e?n.nodeObj.id:n})},h=function(){var e={nodeData:r(this),linkData:this.linkData};return JSON.parse(JSON.stringify(e,(e,n)=>{if("parent"!==e)return"from"===e||"to"===e?n.nodeObj.id:n}))},u=function(){var e=r(this);let o="# "+e.topic+"\n\n";return function n(t,i){for(let e=0;e<t.length;e++)o+=i<=6?"".padStart(i,"#")+" "+t[e].topic+"\n\n":"".padStart(i-7,"\t")+"- "+t[e].topic+"\n",t[e].children&&n(t[e].children,i+1)}(e.children,2),o},f=function(){this.editable=!0},m=function(){this.editable=!1},g=function(e){this.scaleVal=e,this.map.style.transform="scale("+e+")"},b=function(){this.container.scrollTo(1e4-this.container.offsetWidth/2,3e4-this.container.offsetHeight/2)},x=function(e,n){this.container.scrollTo(e,n)},v=function(){this.direction=0,this.init()},y=function(){this.direction=1,this.init()},N=function(){this.direction=2,this.init()},w=function(e){console.log("缩小",e),this.scale(e)},k=function(e){console.log("放大",e),this.scale(e)};const C=function(e){e.nodeObj.root||(null===this.tempDirection&&(this.tempDirection=this.direction),this.isFocusMode||(this.nodeDataBackup=this.nodeData,this.isFocusMode=!0),this.nodeData=e.nodeObj,this.nodeData.root=!0,this.initRight())},L=function(){this.isFocusMode=!1,null!==this.tempDirection&&(delete this.nodeData.root,this.nodeData=this.nodeDataBackup,this.direction=this.tempDirection,this.tempDirection=null,this.init())},E=function(){this.direction=0,this.init()},S=function(){this.direction=1,this.init()},$=function(){this.direction=2,this.init()},M=function(e){this.locale=e,this.init()},j=function(e,n){const t=e.nodeObj;"boolean"==typeof n?t.expanded=n:!1!==t.expanded?t.expanded=!1:t.expanded=!0,this.layout(),this.linkDiv(),this.bus.fire("expandNode",t)},O=function(){this.addParentLink(this.nodeData),this.layout(),this.linkDiv()}},2327:(e,n,t)=>{"use strict";t.d(n,{Z:()=>function(n){var i=this.primaryNodeHorizontalGap||S.SJ,r=this.primaryNodeVerticalGap||S.jQ;console.time("linkDiv");const o=this.root,a=(o.style.cssText=`top:${3e4-o.offsetHeight/2}px;left:${1e4-o.offsetWidth/2}px;`,this.box.children);this.svg2nd.innerHTML="";let t=0,s,l=0,d=0,c=0,p=0,h=0,u;if(this.direction===S.VW){let n=0,t=0,i=0,o=0;for(let e=0;e<a.length;e++){var f=a[e];"lhs"===f.className?(p+=f.offsetHeight+r,i+=f.offsetHeight,n+=1):(h+=f.offsetHeight+r,o+=f.offsetHeight,t+=1)}l=p>h?(u=3e4-Math.max(p)/2,s="r",(p-o)/(t-1)):(u=3e4-Math.max(h)/2,s="l",(h-i)/(n-1))}else{for(let e=0;e<a.length;e++){var m=a[e];t+=m.offsetHeight+r}u=3e4-t/2}let g="";for(let e=0;e<a.length;e++){let n,t;const y=a[e];var b=y.offsetHeight;if("lhs"===y.className){y.style.top=u+d+"px",y.style.left=1e4-o.offsetWidth/2-i-y.offsetWidth+"px",n=1e4-o.offsetWidth/2-i-15,t=u+d+b/2;let e=1e4;2===this.primaryLinkStyle?(this.direction===S.VW&&(e=1e4-o.offsetWidth/6),t<1e4?g+=`M ${e} 10000
|
|
38
38
|
L ${e} ${t+20}
|
|
39
39
|
C ${e} ${t} ${e} ${t} ${e-20} ${t}
|
|
40
|
-
L ${n} `+t:
|
|
40
|
+
L ${n} `+t:g+=`M ${e} 10000
|
|
41
41
|
L ${e} ${t-20}
|
|
42
42
|
C ${e} ${t} ${e} ${t} ${e-20} ${t}
|
|
43
|
-
L ${n} `+t):
|
|
43
|
+
L ${n} `+t):g+=`M 10000 30000 C 10000 30000 ${1e4+2*i*.03} ${t} ${n} `+t,"l"===s?d+=b+l:d+=b+r}else{y.style.top=u+c+"px",y.style.left=1e4+o.offsetWidth/2+i+"px",n=1e4+o.offsetWidth/2+i+15,t=u+c+b/2;let e=1e4;2===this.primaryLinkStyle?(this.direction===S.VW&&(e=1e4+o.offsetWidth/6),t<1e4?g+=`M ${e} 10000
|
|
44
44
|
L ${e} ${t+20}
|
|
45
45
|
C ${e} ${t} ${e} ${t} ${e+20} ${t}
|
|
46
|
-
L ${n} `+t:
|
|
46
|
+
L ${n} `+t:g+=`M ${e} 10000
|
|
47
47
|
L ${e} ${t-20}
|
|
48
48
|
C ${e} ${t} ${e} ${t} ${e+20} ${t}
|
|
49
|
-
L ${n} `+t):
|
|
49
|
+
L ${n} `+t):g+=`M 10000 30000 C 10000 30000 ${1e4+2*i*.03} ${t} ${n} `+t,"r"===s?c+=b+l:c+=b+r}const N=y.children[0].children[1];N&&(N.style.top=(N.parentNode.offsetHeight-N.offsetHeight)/2+"px","lhs"===y.className?N.style.left="-10px":N.style.left=N.parentNode.offsetWidth-10+"px")}this.svg2nd.appendChild((0,L.g)(g));for(let e=0;e<a.length;e++){const w=a[e];if((!n||n===a[e])&&w.childElementCount){const k=(0,L.c4)("svg3rd");"svg"===w.lastChild.tagName&&w.lastChild.remove(),w.appendChild(k);var x=w.children[0],v=w.children[1].children;$="",!function r(a,e,s){const l=e.offsetTop;const d=e.offsetLeft;const c=e.offsetWidth;const p=e.offsetHeight;for(let o=0;o<a.length;o++){const h=a[o],u=h.children[0],f=u.offsetTop,m=u.offsetHeight;let e;e=s?l+p/2:l+p;const g=f+m;let n,t,i;const b=h.offsetParent.className,x=("lhs"===b?(n=d+S.P8,i=d,t=d-u.offsetWidth,f+m<l+p/2+50&&f+m>l+p/2-50?$+=`M ${n} ${e} L ${i} ${e} L ${i} ${g} L ${t} `+g:f+m>=l+p/2?$+=`M ${n} ${e}
|
|
50
50
|
L ${i} ${e}
|
|
51
|
-
L ${i} ${
|
|
51
|
+
L ${i} ${g-S._r}
|
|
52
52
|
A ${S._r} ${S._r} 0 0 1
|
|
53
|
-
${i-S._r},${
|
|
54
|
-
L ${t} `+
|
|
53
|
+
${i-S._r},${g}
|
|
54
|
+
L ${t} `+g:$+=`M ${n} ${e}
|
|
55
55
|
L ${i} ${e}
|
|
56
|
-
L ${i} ${
|
|
56
|
+
L ${i} ${g+S._r}
|
|
57
57
|
A ${S._r} ${S._r} 0 0 0
|
|
58
|
-
${i-S._r},${
|
|
59
|
-
L ${t} `+
|
|
58
|
+
${i-S._r},${g}
|
|
59
|
+
L ${t} `+g):"rhs"===b&&(n=d+c-S.P8,i=d+c,t=d+c+u.offsetWidth,f+m<l+p/2+50&&f+m>l+p/2-50?$+=`M ${n} ${e} L ${i} ${e} L ${i} ${g} L ${t} `+g:f+m>=l+p/2?$+=`M ${n} ${e}
|
|
60
60
|
L ${i} ${e}
|
|
61
|
-
L ${i} ${
|
|
62
|
-
A ${S._r} ${S._r} 0 0 0 ${i+S._r},${
|
|
63
|
-
L ${t} `+
|
|
61
|
+
L ${i} ${g-S._r}
|
|
62
|
+
A ${S._r} ${S._r} 0 0 0 ${i+S._r},${g}
|
|
63
|
+
L ${t} `+g:$+=`M ${n} ${e}
|
|
64
64
|
L ${i} ${e}
|
|
65
|
-
L ${i} ${
|
|
66
|
-
A ${S._r} ${S._r} 0 0 1 ${i+S._r},${
|
|
67
|
-
L ${t} `+b),u.children[1]);if(x&&(x.style.top=(u.offsetHeight-x.offsetHeight)/2+"px","lhs"===g?x.style.left="-10px":"rhs"===g&&(x.style.left=u.offsetWidth-10+"px"),x.expanded)){const v=h.children[1].children;0<v.length&&r(v,u)}}}(v,x,!0),k.appendChild((0,L.Ep)($))}}this.linkSvgGroup.innerHTML="";for(const C in this.linkData){var e=this.linkData[C];"string"==typeof e.from?this.createLink((0,E.YZ)(e.from),(0,E.YZ)(e.to),!0,e):this.createLink((0,E.YZ)(e.from.nodeObj.id),(0,E.YZ)(e.to.nodeObj.id),!0,e)}}});var L=t(8591),E=t(9842),S=t(3970);let $=""},9775:(e,n,t)=>{"use strict";t.d(n,{Z:()=>function(n){n.map.addEventListener("click",e=>{n.container.append((0,i.d)(n)),"EPD"===e.target.nodeName?n.expandNode(e.target.previousSibling):"T"===e.target.parentElement.nodeName||"ROOT"===e.target.parentElement.nodeName?n.selectNode(e.target):"path"===e.target.nodeName?"g"===e.target.parentElement.nodeName&&n.selectLink(e.target.parentElement):"circle"!==e.target.className&&(n.unselectNode(),n.hideLinkController())}),n.map.addEventListener("dblclick",e=>{e.preventDefault(),!n.editable||"T"!==e.target.parentElement.nodeName&&"ROOT"!==e.target.parentElement.nodeName||n.beginEdit(e.target)}),n.map.addEventListener("mousemove",e=>{"true"!==e.target.contentEditable&&o.Av.onMove(e,n.container,n)}),n.map.addEventListener("mousedown",e=>{"true"!==e.target.contentEditable&&(o.Av.afterMoving=!1,o.Av.mousedown=!0)}),n.map.addEventListener("mouseleave",e=>{o.Av.clear()}),n.map.addEventListener("mouseup",e=>{o.Av.clear()})}});var i=t(3592),o=t(5928)},7733:(e,n,t)=>{"use strict";t.d(n,{oo:()=>i,kP:()=>r,OQ:()=>a,G1:()=>s,KK:()=>p,DJ:()=>h,ST:()=>u,h:()=>m,Vt:()=>b,U_:()=>g,Bc:()=>x,fL:()=>v,gE:()=>y,ZF:()=>N,Dv:()=>w,pe:()=>k,$c:()=>C,HS:()=>L,ib:()=>E,dN:()=>function(e,n){{var t,i;this.direction===o.RL?e.className="lhs":this.direction===o.pX?e.className="rhs":this.direction===o.VW&&(t=c.querySelectorAll(".lhs").length,i=c.querySelectorAll(".rhs").length,t<=i?(e.className="lhs",n.direction=o.RL):(e.className="rhs",n.direction=o.pX))}}});var l=t(5928),d=t(9842),o=t(3970);const c=document,i=function(e){if(e.style){const t=(0,d.YZ)(e.id,this);var n={color:t.style.color&&(0,l.pD)(t.style.color),background:t.style.background&&(0,l.pD)(t.style.background),fontSize:t.style.fontSize&&t.style.fontSize+"px",fontWeight:t.style.fontWeight};t.style.color=e.style.color,t.style.background=e.style.background,t.style.fontSize=e.style.fontSize+"px",t.style.fontWeight=e.style.fontWeight||"normal",this.linkDiv(),this.bus.fire("operation",{name:"editStyle",obj:e,origin:n})}},r=function(e,n){var t=e.priority,n=(e.priority=n,(0,d.YZ)(e.id));(0,d.Lb)(n,e),this.linkDiv(),this.bus.fire("operation",{name:"editCasePriority",obj:e,origin:t})},a=function(e,n,t){var i=e,n=(e.autoCaseId=n,e.autoCaseName=t,(0,d.YZ)(e.id));(0,d.Lb)(n,e),this.linkDiv(),this.bus.fire("operation",{name:"relationAutoCase",obj:e,origin:i})},s=function(e,n){var t=e.caseRunStatus,n=(e.caseRunStatus=n,(0,d.YZ)(e.id));(0,d.Lb)(n,e),this.linkDiv(),this.bus.fire("operation",{name:"editCaseRunStatus",obj:e,origin:t})},p=function(e,n){var t=e.tags,n=(e.tags=n,(0,d.YZ)(e.id));(0,d.Lb)(n,e),this.linkDiv(),this.bus.fire("operation",{name:"editTags",obj:e,origin:t})},h=function(e,n){var t=e.icons,n=(e.icons=n,(0,d.YZ)(e.id));(0,d.Lb)(n,e),this.linkDiv(),this.bus.fire("operation",{name:"editIcons",obj:e,origin:t})},u=function(e,n){var t=e.remarks,n=(e.remarks=n,(0,d.YZ)(e.id));(0,d.Lb)(n,e),this.linkDiv(),this.bus.fire("operation",{name:"editRemarks",obj:e,origin:t})};function f(e,n){if(e){const i=e.nodeObj;!1===i.expanded&&(this.expandNode(e,!0),e=(0,d.YZ)(i.id));n=n||this.generateNewObj();i.children?i.children.push(n):i.children=[n],(0,l.iX)(this.nodeData);const o=e.parentElement;var{grp:e,top:t}=this.createGroup(n);if("T"===o.tagName){if(o.children[1])o.nextSibling.appendChild(e);else{const r=c.createElement("children");r.appendChild(e),o.appendChild((0,d.ff)(!0)),o.parentElement.insertBefore(r,o.nextSibling)}this.linkDiv(e.offsetParent)}else"ROOT"===o.tagName&&(this.processPrimaryNode(e,n),o.nextSibling.appendChild(e),this.linkDiv());return{newTop:t,newNodeObj:n}}}const m=function(e,n){e=e||this.currentNode;if(e){var t=e.nodeObj;if(!0===t.root)this.addChild();else{var i=n||this.generateNewObj(),t=((0,l._8)(t,i),(0,l.iX)(this.nodeData),e.parentElement),{grp:e,top:o}=this.createGroup(i);const r=t.parentNode.parentNode;r.insertBefore(e,t.parentNode.nextSibling),"box"===r.className?(this.processPrimaryNode(e,i),this.linkDiv()):this.linkDiv(e.offsetParent),n||this.createInputDiv(o.children[0]),this.selectNode(o.children[0],!0),this.bus.fire("operation",{name:"insertSibling",obj:i})}}},b=function(e,n){e=e||this.currentNode;if(e){var t=e.nodeObj;if(!0===t.root)this.addChild();else{var i=n||this.generateNewObj(),t=((0,l.Ep)(t,i),(0,l.iX)(this.nodeData),e.parentElement),{grp:e,top:o}=this.createGroup(i);const r=t.parentNode.parentNode;r.insertBefore(e,t.parentNode),"box"===r.className?(this.processPrimaryNode(e,i),this.linkDiv()):this.linkDiv(e.offsetParent),n||this.createInputDiv(o.children[0]),this.selectNode(o.children[0],!0),this.bus.fire("operation",{name:"insertSibling",obj:i})}}},g=function(e,n){var t,e=e||this.currentNode;e&&({newTop:e,newNodeObj:t}=f.call(this,e,n),n||this.createInputDiv(e.children[0]),this.selectNode(e.children[0],!0),this.bus.fire("operation",{name:"addChild",obj:t}))},x=function(e,n){e=JSON.parse(JSON.stringify(e.nodeObj,(e,n)=>{if("parent"!==e)return n})),(0,l.gz)(e),n=f.call(this,n,e).newNodeObj;this.bus.fire("operation",{name:"copyNode",obj:n})},v=function(e){e=e||this.currentNode;if(e){const n=e.parentNode.parentNode;e=e.nodeObj;(0,l.SS)(e),n.parentNode.insertBefore(n,n.previousSibling),this.linkDiv(),this.bus.fire("operation",{name:"moveUpNode",obj:e})}},y=function(e){e=e||this.currentNode;if(e){const n=e.parentNode.parentNode;e=e.nodeObj;(0,l.qD)(e),n.nextSibling?n.parentNode.insertBefore(n,n.nextSibling.nextSibling):n.parentNode.prepend(n),this.linkDiv(),this.bus.fire("operation",{name:"moveDownNode",obj:e})}},N=function(e){e=e||this.currentNode;if(e){const o=e.nodeObj;if(!0===o.root)throw new Error("Can not remove root node");var n=o.parent.children.findIndex(e=>e===o),n=o.parent.children[n+1],n=n&&n.id,t=(0,l.B6)(o);const r=e.parentNode;if("ROOT"!==r.tagName){if(0===t){const a=r.parentNode.parentNode.previousSibling;"ROOT"!==a.tagName&&a.children[1].remove(),this.selectParent()}else this.selectPrevSibling()||this.selectNextSibling();for(const s in this.linkData){var i=this.linkData[s];i.from!==r.firstChild&&i.to!==r.firstChild||this.removeLink(this.mindElixirBox.querySelector(`[data-linkid=${this.linkData[s].id}]`))}r.parentNode.remove(),this.linkDiv(),this.bus.fire("operation",{name:"removeNode",obj:o,originSiblingId:n,originParentId:o.parent.id})}}},w=function(e,n){var t=e.nodeObj,i=n.nodeObj,o=t.parent.id;if(!1===i.expanded&&(this.expandNode(n,!0),e=(0,d.YZ)(t.id),n=(0,d.YZ)(i.id)),(0,l.Jg)(t,i)){(0,l.md)(t,i),(0,l.iX)(this.nodeData);const r=e.parentElement;e=r.parentNode.parentNode;const a=n.parentElement;if("box"===e.className?r.parentNode.lastChild.remove():"box"===r.parentNode.className&&(r.style.cssText=""),"T"===a.tagName)if("box"===e.className&&(r.parentNode.className=""),a.children[1])a.nextSibling.appendChild(r.parentNode);else{const s=c.createElement("children");s.appendChild(r.parentNode),a.appendChild((0,d.ff)(!0)),a.parentElement.insertBefore(s,a.nextSibling)}else"ROOT"===a.tagName&&(this.processPrimaryNode(r.parentNode,t),a.nextSibling.appendChild(r.parentNode));this.linkDiv(),this.bus.fire("operation",{name:"moveNode",obj:{fromObj:t,toObj:i,originParentId:o}})}},k=function(e,n){var t=e.nodeObj,i=n.nodeObj,o=t.parent.id,e=((0,l.FY)(t,i),(0,l.iX)(this.nodeData),e.parentElement),e=e.parentNode,n=n.parentElement,r=n.parentNode;const a=n.parentNode.parentNode;a.insertBefore(e,r),this.linkDiv(),this.bus.fire("operation",{name:"moveNodeBefore",obj:{fromObj:t,toObj:i,originParentId:o}})},C=function(e,n){var t=e.nodeObj,i=n.nodeObj,o=t.parent.id,e=((0,l.QH)(t,i),(0,l.iX)(this.nodeData),e.parentElement),e=e.parentNode,n=n.parentElement,r=n.parentNode;const a=n.parentNode.parentNode;a.insertBefore(e,r.nextSibling),this.linkDiv(),this.bus.fire("operation",{name:"moveNodeAfter",obj:{fromObj:t,toObj:i,originParentId:o}})},L=function(e){e=e||this.currentNode;e&&this.createInputDiv(e)},E=function(e,n){e.childNodes[0].textContent=n,e.nodeObj.topic=n,this.linkDiv()}},8347:(e,n,t)=>{"use strict";t.d(n,{Z:()=>function(i,n){const t=(e,n,t)=>{const i=document.createElement("li");return i.id=e,i.innerHTML=`<span>${(0,x.F1)(n)}</span><span>${(0,x.F1)(t)}</span>`,i},o=g.Z[i.locale]?i.locale:"en",e=t("cm-add_child",g.Z[o].addChild,"tab"),r=t("cm-add_sibling",g.Z[o].addSibling,"enter"),a=t("cm-remove_child",g.Z[o].removeNode,"delete"),s=t("cm-fucus",g.Z[o].focus,""),l=t("cm-unfucus",g.Z[o].cancelFocus,""),d=t("cm-up",g.Z[o].moveUp,"PgUp"),c=t("cm-down",g.Z[o].moveDown,"Pgdn"),p=t("cm-down",g.Z[o].link,""),h=document.createElement("ul");h.className="menu-list",h.appendChild(e),h.appendChild(r),h.appendChild(a),n&&!n.focus||(h.appendChild(s),h.appendChild(l));h.appendChild(d),h.appendChild(c),n&&!n.link||h.appendChild(p);if(n&&n.extend)for(let e=0;e<n.extend.length;e++){const m=n.extend[e],b=t(m.name,m.name,m.key||"");h.appendChild(b),b.onclick=e=>{m.onclick(e)}}const u=document.createElement("cmenu");u.appendChild(h),u.hidden=!0,i.container.append(u);let f=!0;i.container.oncontextmenu=function(e){var n,t;e.preventDefault(),!i.editable||"TPC"===(n=e.target).tagName&&((f="ROOT"===n.parentElement.tagName)?(s.className="disabled",d.className="disabled",c.className="disabled",r.className="disabled",a.className="disabled"):(s.className="",d.className="",c.className="",r.className="",a.className=""),i.selectNode(n),u.hidden=!1,n=h.offsetHeight,t=h.offsetWidth,n+e.clientY>window.innerHeight?(h.style.top="",h.style.bottom="0px"):(h.style.bottom="",h.style.top=e.clientY+15+"px"),t+e.clientX>window.innerWidth?(h.style.left="",h.style.right="0px"):(h.style.right="",h.style.left=e.clientX+10+"px"))},u.onclick=e=>{e.target===u&&(u.hidden=!0)},e.onclick=e=>{i.addChild(),u.hidden=!0},r.onclick=e=>{f||(i.insertSibling(),u.hidden=!0)},a.onclick=e=>{f||(i.removeNode(),u.hidden=!0)},s.onclick=e=>{f||(i.focusNode(i.currentNode),u.hidden=!0)},l.onclick=e=>{i.cancelFocus(),u.hidden=!0},d.onclick=e=>{f||(i.moveUpNode(),u.hidden=!0)},c.onclick=e=>{f||(i.moveDownNode(),u.hidden=!0)},p.onclick=e=>{u.hidden=!0;const n=i.currentNode,t=(e=>{const n=document.createElement("div");return n.innerText=e,n.style.cssText="position:absolute;bottom:20px;left:50%;transform:translateX(-50%);",n})(g.Z[o].clickTips);i.container.appendChild(t),i.map.addEventListener("click",e=>{e.preventDefault(),t.remove(),"T"!==e.target.parentElement.nodeName&&"ROOT"!==e.target.parentElement.nodeName||i.createLink(n,i.currentNode)},{once:!0})}}});var g=t(6398),x=t(5928)},3231:(e,n,t)=>{"use strict";t.d(n,{Z:()=>function(n,t){const i=(e,n)=>{const t=document.createElement("div");return t.id=e,t.innerHTML=`<svg class="icon" aria-hidden="true">
|
|
65
|
+
L ${i} ${g+S._r}
|
|
66
|
+
A ${S._r} ${S._r} 0 0 1 ${i+S._r},${g}
|
|
67
|
+
L ${t} `+g),u.children[1]);if(x&&(x.style.top=(u.offsetHeight-x.offsetHeight)/2+"px","lhs"===b?x.style.left="-10px":"rhs"===b&&(x.style.left=u.offsetWidth-10+"px"),x.expanded)){const v=h.children[1].children;0<v.length&&r(v,u)}}}(v,x,!0),k.appendChild((0,L.Ep)($))}}this.linkSvgGroup.innerHTML="";for(const C in this.linkData){var e=this.linkData[C];"string"==typeof e.from?this.createLink((0,E.YZ)(e.from),(0,E.YZ)(e.to),!0,e):this.createLink((0,E.YZ)(e.from.nodeObj.id),(0,E.YZ)(e.to.nodeObj.id),!0,e)}console.timeEnd("linkDiv")}});var L=t(8591),E=t(9842),S=t(3970);let $=""},9775:(e,n,t)=>{"use strict";t.d(n,{Z:()=>function(n){n.map.addEventListener("click",e=>{console.log("test E function3",e,e.pageX,e.pageY,e.target.getBoundingClientRect(),n.container.offsetHeight,n.container.offsetWidth),n.container.append((0,i.d)(n)),"EPD"===e.target.nodeName?n.expandNode(e.target.previousSibling):"T"===e.target.parentElement.nodeName||"ROOT"===e.target.parentElement.nodeName?n.selectNode(e.target):"path"===e.target.nodeName?"g"===e.target.parentElement.nodeName&&n.selectLink(e.target.parentElement):"circle"!==e.target.className&&(n.unselectNode(),n.hideLinkController())}),n.map.addEventListener("dblclick",e=>{console.log("dblclick"),e.preventDefault(),!n.editable||"T"!==e.target.parentElement.nodeName&&"ROOT"!==e.target.parentElement.nodeName||n.beginEdit(e.target)}),n.map.addEventListener("mousemove",e=>{"true"!==e.target.contentEditable&&o.Av.onMove(e,n.container,n)}),n.map.addEventListener("mousedown",e=>{"true"!==e.target.contentEditable&&(o.Av.afterMoving=!1,o.Av.mousedown=!0)}),n.map.addEventListener("mouseleave",e=>{o.Av.clear()}),n.map.addEventListener("mouseup",e=>{o.Av.clear()})}});var i=t(3592),o=t(5928)},7733:(e,n,t)=>{"use strict";t.d(n,{oo:()=>i,kP:()=>r,OQ:()=>a,G1:()=>s,KK:()=>p,DJ:()=>h,ST:()=>u,h:()=>m,Vt:()=>g,U_:()=>b,Bc:()=>x,fL:()=>v,gE:()=>y,ZF:()=>N,Dv:()=>w,pe:()=>k,$c:()=>C,HS:()=>L,ib:()=>E,dN:()=>function(e,n){{var t,i;this.direction===o.RL?e.className="lhs":this.direction===o.pX?e.className="rhs":this.direction===o.VW&&(t=c.querySelectorAll(".lhs").length,i=c.querySelectorAll(".rhs").length,t<=i?(e.className="lhs",n.direction=o.RL):(e.className="rhs",n.direction=o.pX))}}});var l=t(5928),d=t(9842),o=t(3970);const c=document,i=function(e){if(e.style){const t=(0,d.YZ)(e.id,this);var n={color:t.style.color&&(0,l.pD)(t.style.color),background:t.style.background&&(0,l.pD)(t.style.background),fontSize:t.style.fontSize&&t.style.fontSize+"px",fontWeight:t.style.fontWeight};t.style.color=e.style.color,t.style.background=e.style.background,t.style.fontSize=e.style.fontSize+"px",t.style.fontWeight=e.style.fontWeight||"normal",this.linkDiv(),this.bus.fire("operation",{name:"editStyle",obj:e,origin:n})}},r=function(e,n){var t=e.priority,n=(e.priority=n,(0,d.YZ)(e.id));(0,d.Lb)(n,e),this.linkDiv(),this.bus.fire("operation",{name:"editCasePriority",obj:e,origin:t})},a=function(e,n,t){var i=e,n=(e.autoCaseId=n,e.autoCaseName=t,(0,d.YZ)(e.id));(0,d.Lb)(n,e),this.linkDiv(),this.bus.fire("operation",{name:"relationAutoCase",obj:e,origin:i})},s=function(e,n){var t=e.caseRunStatus,n=(e.caseRunStatus=n,(0,d.YZ)(e.id));(0,d.Lb)(n,e),this.linkDiv(),this.bus.fire("operation",{name:"editCaseRunStatus",obj:e,origin:t})},p=function(e,n){var t=e.tags,n=(e.tags=n,(0,d.YZ)(e.id));(0,d.Lb)(n,e),this.linkDiv(),this.bus.fire("operation",{name:"editTags",obj:e,origin:t})},h=function(e,n){var t=e.icons,n=(e.icons=n,(0,d.YZ)(e.id));(0,d.Lb)(n,e),this.linkDiv(),this.bus.fire("operation",{name:"editIcons",obj:e,origin:t})},u=function(e,n){console.log("是否进入",n);var t=e.remarks,n=(e.remarks=n,(0,d.YZ)(e.id));(0,d.Lb)(n,e),this.linkDiv(),this.bus.fire("operation",{name:"editRemarks",obj:e,origin:t})};function f(e,n){if(e){const i=e.nodeObj;!1===i.expanded&&(this.expandNode(e,!0),e=(0,d.YZ)(i.id));n=n||this.generateNewObj();i.children?i.children.push(n):i.children=[n],(0,l.iX)(this.nodeData);const o=e.parentElement;var{grp:e,top:t}=this.createGroup(n);if("T"===o.tagName){if(o.children[1])o.nextSibling.appendChild(e);else{const r=c.createElement("children");r.appendChild(e),o.appendChild((0,d.ff)(!0)),o.parentElement.insertBefore(r,o.nextSibling)}this.linkDiv(e.offsetParent)}else"ROOT"===o.tagName&&(this.processPrimaryNode(e,n),o.nextSibling.appendChild(e),this.linkDiv());return{newTop:t,newNodeObj:n}}}const m=function(e,n){e=e||this.currentNode;if(e){var t=e.nodeObj;if(!0===t.root)this.addChild();else{var i=n||this.generateNewObj(),t=((0,l._8)(t,i),(0,l.iX)(this.nodeData),e.parentElement),{grp:e,top:o}=(console.time("insertSibling_DOM"),this.createGroup(i));const r=t.parentNode.parentNode;r.insertBefore(e,t.parentNode.nextSibling),"box"===r.className?(this.processPrimaryNode(e,i),this.linkDiv()):this.linkDiv(e.offsetParent),n||this.createInputDiv(o.children[0]),this.selectNode(o.children[0],!0),console.timeEnd("insertSibling_DOM"),this.bus.fire("operation",{name:"insertSibling",obj:i})}}},g=function(e,n){e=e||this.currentNode;if(e){var t=e.nodeObj;if(!0===t.root)this.addChild();else{var i=n||this.generateNewObj(),t=((0,l.Ep)(t,i),(0,l.iX)(this.nodeData),e.parentElement),{grp:e,top:o}=(console.time("insertSibling_DOM"),this.createGroup(i));const r=t.parentNode.parentNode;r.insertBefore(e,t.parentNode),"box"===r.className?(this.processPrimaryNode(e,i),this.linkDiv()):this.linkDiv(e.offsetParent),n||this.createInputDiv(o.children[0]),this.selectNode(o.children[0],!0),console.timeEnd("insertSibling_DOM"),this.bus.fire("operation",{name:"insertSibling",obj:i})}}},b=function(e,n){console.time("addChild");var t,e=e||this.currentNode;e&&({newTop:e,newNodeObj:t}=f.call(this,e,n),console.timeEnd("addChild"),n||this.createInputDiv(e.children[0]),this.selectNode(e.children[0],!0),this.bus.fire("operation",{name:"addChild",obj:t}))},x=function(e,n){console.time("copyNode");e=JSON.parse(JSON.stringify(e.nodeObj,(e,n)=>{if("parent"!==e)return n})),(0,l.gz)(e),n=f.call(this,n,e).newNodeObj;console.timeEnd("copyNode"),this.bus.fire("operation",{name:"copyNode",obj:n})},v=function(e){e=e||this.currentNode;if(e){const n=e.parentNode.parentNode;e=e.nodeObj;(0,l.SS)(e),n.parentNode.insertBefore(n,n.previousSibling),this.linkDiv(),this.bus.fire("operation",{name:"moveUpNode",obj:e})}},y=function(e){e=e||this.currentNode;if(e){const n=e.parentNode.parentNode;e=e.nodeObj;(0,l.qD)(e),n.nextSibling?n.parentNode.insertBefore(n,n.nextSibling.nextSibling):n.parentNode.prepend(n),this.linkDiv(),this.bus.fire("operation",{name:"moveDownNode",obj:e})}},N=function(e){e=e||this.currentNode;if(e){const o=e.nodeObj;if(!0===o.root)throw new Error("Can not remove root node");var n=o.parent.children.findIndex(e=>e===o),n=o.parent.children[n+1],n=n&&n.id,t=(0,l.B6)(o);const r=e.parentNode;if("ROOT"!==r.tagName){if(0===t){const a=r.parentNode.parentNode.previousSibling;"ROOT"!==a.tagName&&a.children[1].remove(),this.selectParent()}else this.selectPrevSibling()||this.selectNextSibling();for(const s in this.linkData){var i=this.linkData[s];i.from!==r.firstChild&&i.to!==r.firstChild||this.removeLink(this.mindElixirBox.querySelector(`[data-linkid=${this.linkData[s].id}]`))}r.parentNode.remove(),this.linkDiv(),this.bus.fire("operation",{name:"removeNode",obj:o,originSiblingId:n,originParentId:o.parent.id})}}},w=function(e,n){var t=e.nodeObj,i=n.nodeObj,o=t.parent.id;if(!1===i.expanded&&(this.expandNode(n,!0),e=(0,d.YZ)(t.id),n=(0,d.YZ)(i.id)),(0,l.Jg)(t,i)){console.time("moveNode"),(0,l.md)(t,i),(0,l.iX)(this.nodeData);const r=e.parentElement;e=r.parentNode.parentNode;const a=n.parentElement;if("box"===e.className?r.parentNode.lastChild.remove():"box"===r.parentNode.className&&(r.style.cssText=""),"T"===a.tagName)if("box"===e.className&&(r.parentNode.className=""),a.children[1])a.nextSibling.appendChild(r.parentNode);else{const s=c.createElement("children");s.appendChild(r.parentNode),a.appendChild((0,d.ff)(!0)),a.parentElement.insertBefore(s,a.nextSibling)}else"ROOT"===a.tagName&&(this.processPrimaryNode(r.parentNode,t),a.nextSibling.appendChild(r.parentNode));this.linkDiv(),this.bus.fire("operation",{name:"moveNode",obj:{fromObj:t,toObj:i,originParentId:o}}),console.timeEnd("moveNode")}else console.warn("Invalid move")},k=function(e,n){var t=e.nodeObj,i=n.nodeObj,o=t.parent.id,e=((0,l.FY)(t,i),(0,l.iX)(this.nodeData),e.parentElement),e=e.parentNode,n=n.parentElement,r=n.parentNode;const a=n.parentNode.parentNode;a.insertBefore(e,r),this.linkDiv(),this.bus.fire("operation",{name:"moveNodeBefore",obj:{fromObj:t,toObj:i,originParentId:o}})},C=function(e,n){var t=e.nodeObj,i=n.nodeObj,o=t.parent.id,e=((0,l.QH)(t,i),(0,l.iX)(this.nodeData),e.parentElement),e=e.parentNode,n=n.parentElement,r=n.parentNode;const a=n.parentNode.parentNode;a.insertBefore(e,r.nextSibling),this.linkDiv(),this.bus.fire("operation",{name:"moveNodeAfter",obj:{fromObj:t,toObj:i,originParentId:o}})},L=function(e){e=e||this.currentNode;e&&this.createInputDiv(e)},E=function(e,n){e.childNodes[0].textContent=n,e.nodeObj.topic=n,this.linkDiv()}},8347:(e,n,t)=>{"use strict";t.d(n,{Z:()=>function(i,n){const t=(e,n,t)=>{const i=document.createElement("li");return i.id=e,i.innerHTML=`<span>${(0,x.F1)(n)}</span><span>${(0,x.F1)(t)}</span>`,i},o=b.Z[i.locale]?i.locale:"en",e=t("cm-add_child",b.Z[o].addChild,"tab"),r=t("cm-add_sibling",b.Z[o].addSibling,"enter"),a=t("cm-remove_child",b.Z[o].removeNode,"delete"),s=t("cm-fucus",b.Z[o].focus,""),l=t("cm-unfucus",b.Z[o].cancelFocus,""),d=t("cm-up",b.Z[o].moveUp,"PgUp"),c=t("cm-down",b.Z[o].moveDown,"Pgdn"),p=t("cm-down",b.Z[o].link,""),h=document.createElement("ul");h.className="menu-list",h.appendChild(e),h.appendChild(r),h.appendChild(a),n&&!n.focus||(h.appendChild(s),h.appendChild(l));h.appendChild(d),h.appendChild(c),n&&!n.link||h.appendChild(p);if(n&&n.extend)for(let e=0;e<n.extend.length;e++){const m=n.extend[e],g=t(m.name,m.name,m.key||"");h.appendChild(g),g.onclick=e=>{m.onclick(e)}}const u=document.createElement("cmenu");u.appendChild(h),u.hidden=!0,i.container.append(u);let f=!0;i.container.oncontextmenu=function(e){var n,t;e.preventDefault(),!i.editable||"TPC"===(n=e.target).tagName&&((f="ROOT"===n.parentElement.tagName)?(s.className="disabled",d.className="disabled",c.className="disabled",r.className="disabled",a.className="disabled"):(s.className="",d.className="",c.className="",r.className="",a.className=""),i.selectNode(n),u.hidden=!1,n=h.offsetHeight,t=h.offsetWidth,n+e.clientY>window.innerHeight?(h.style.top="",h.style.bottom="0px"):(h.style.bottom="",h.style.top=e.clientY+15+"px"),t+e.clientX>window.innerWidth?(h.style.left="",h.style.right="0px"):(h.style.right="",h.style.left=e.clientX+10+"px"))},u.onclick=e=>{e.target===u&&(u.hidden=!0)},e.onclick=e=>{i.addChild(),u.hidden=!0},r.onclick=e=>{f||(i.insertSibling(),u.hidden=!0)},a.onclick=e=>{f||(i.removeNode(),u.hidden=!0)},s.onclick=e=>{f||(i.focusNode(i.currentNode),u.hidden=!0)},l.onclick=e=>{i.cancelFocus(),u.hidden=!0},d.onclick=e=>{f||(i.moveUpNode(),u.hidden=!0)},c.onclick=e=>{f||(i.moveDownNode(),u.hidden=!0)},p.onclick=e=>{u.hidden=!0;const n=i.currentNode,t=(e=>{const n=document.createElement("div");return n.innerText=e,n.style.cssText="position:absolute;bottom:20px;left:50%;transform:translateX(-50%);",n})(b.Z[o].clickTips);i.container.appendChild(t),i.map.addEventListener("click",e=>{e.preventDefault(),t.remove(),"T"===e.target.parentElement.nodeName||"ROOT"===e.target.parentElement.nodeName?i.createLink(n,i.currentNode):console.log("取消连接")},{once:!0})}}});var b=t(6398),x=t(5928)},3231:(e,n,t)=>{"use strict";t.d(n,{Z:()=>function(n,t){const i=(e,n)=>{const t=document.createElement("div");return t.id=e,t.innerHTML=`<svg class="icon" aria-hidden="true">
|
|
68
68
|
<use xlink:href="#icon-${n}"></use>
|
|
69
69
|
</svg>`,t},e=i("cm-add_child","zijiedian"),o=i("cm-add_sibling","tongjijiedian-"),r=i("cm-remove_child","shanchu2"),a=i("cm-up","rising"),s=i("cm-down","falling"),l=i("cm-edit","edit"),d=document.createElement("ul");if(d.className="menu-list",t&&t.extend)for(let e=0;e<t.extend.length;e++){const h=t.extend[e],u=i(h.name,h.name);d.appendChild(u),u.onclick=e=>{h.onclick(e)}}const c=document.createElement("mmenu");c.appendChild(e),c.appendChild(o),c.appendChild(r),c.appendChild(a),c.appendChild(s),c.appendChild(l),c.hidden=!0,n.container.append(c);let p=!0;n.bus.addListener("unselectNode",function(){c.hidden=!0}),n.bus.addListener("selectNode",function(e){c.hidden=!1,p=!!e.root}),c.onclick=e=>{e.target===c&&(c.hidden=!0)},e.onclick=e=>{n.addChild()},o.onclick=e=>{p||n.insertSibling()},r.onclick=e=>{p||n.removeNode()},a.onclick=e=>{p||n.moveUpNode()},s.onclick=e=>{p||n.moveDownNode()},l.onclick=e=>{n.beginEdit()}}})},3592:(e,n,t)=>{"use strict";t.d(n,{Z:()=>function(e){e.container.append(function(n){const e=document.createElement("toolbar"),t=s("fullscreen","full"),i=s("toCenter","living"),o=s("zoomout","move"),r=s("zoomin","add"),a=document.createElement("span");return a.innerText="100%",e.appendChild(t),e.appendChild(i),e.appendChild(o),e.appendChild(r),e.className="rb",t.onclick=()=>{n.container.requestFullscreen()},i.onclick=()=>{n.toCenter(),n.enableExternalInterface&&n.callingAnExternalInterface.changePosition(1e4-n.container.offsetWidth/2,3e4-n.container.offsetHeight/2)},o.onclick=()=>{var e;n.scaleVal<.6||(e=n.scaleVal-=.2,n.scale(e),n.enableExternalInterface&&n.callingAnExternalInterface.reduceXmindOpen(e))},r.onclick=()=>{var e;1.6<n.scaleVal||(e=n.scaleVal+=.2,n.scale(e),n.enableExternalInterface&&n.callingAnExternalInterface.addXmindOpen(e))},e}(e)),e.container.append(function(e){const n=document.createElement("toolbar"),t=s("tbltl","left"),i=s("tbltr","right"),o=s("tblts","side");return n.appendChild(t),n.appendChild(i),n.appendChild(o),n.className="lt",t.onclick=()=>{e.initLeft(),e.enableExternalInterface&&e.callingAnExternalInterface.initLeftOnChangeOpen()},i.onclick=()=>{e.initRight(),e.enableExternalInterface&&e.callingAnExternalInterface.initRightOnChangeOpen()},o.onclick=()=>{e.initSide(),e.enableExternalInterface&&e.callingAnExternalInterface.initSideOnChangeOpen()},n}(e)),e.container.append(i(e))},d:()=>i});var h=t(8589);const s=(e,n)=>{const t=document.createElement("span");return t.id=e,t.innerHTML=`<svg class="icon" aria-hidden="true">
|
|
70
70
|
<use xlink:href="#icon-${n}"></use>
|
|
@@ -72,4 +72,4 @@
|
|
|
72
72
|
<div style='width:120px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;' title=${e}>${i.substring(0,12)}</div>
|
|
73
73
|
`,t},a=(e,n)=>{const t=document.createElement("div");return t.id=e,t.innerHTML=`
|
|
74
74
|
<div>备注</div>
|
|
75
|
-
`,t};function i(p){{var e="lbToolbar";const o=document.getElementById(e);null!==o&&(o.innerHTML=""),o}e=document.getElementById("lbToolbar");let n=e;null===e&&((n=document.createElement("toolbar")).id="lbToolbar");e=p.getAllData();const t=[],i=[];i.push(e.nodeData),function e(n,t){for(var i of n)i.remarks&&t.push({id:i.id,remarks:i.remarks}),i.children&&i.children.length&&e(i.children,t);return t}(i,t);e=a("","");return n.appendChild(e),t.map(c=>{const e=r(c.id,c.remarks);n.appendChild(e),e.onclick=()=>{{var a=c.id,s=p,l=1e4-s.container.offsetWidth/2,d=3e4-s.container.offsetHeight/2;s.selectNode((0,h.E)(a)),"root"!==a&&1!==a||s.container.scrollTo(l,d);let e=s.container.offsetWidth/2,n=s.container.offsetHeight/2,t=(0,h.E)(a).getBoundingClientRect().x,i=(0,h.E)(a).getBoundingClientRect().y,o=e,r=n;if(r=null!=(0,h.E)("root")?(o=(0,h.E)("root").getBoundingClientRect().x,(0,h.E)("root").getBoundingClientRect().y):null!=(0,h.E)("1")?(o=(0,h.E)("1").getBoundingClientRect().x,(0,h.E)("1").getBoundingClientRect().y):(o=(0,h.E)("0").getBoundingClientRect().x,(0,h.E)("0").getBoundingClientRect().y),!(20<t&&t<s.container.offsetWidth-100&&30<i&&i<750)){let e=l-Math.abs(o-t),n=d-Math.abs(r-i);t<=o&&i<=r?(e=l-Math.abs(o-t),n=d-Math.abs(r-i)):t>=o&&i<=r?(e=l+Math.abs(o-t),n=d-Math.abs(r-i)):t<=o&&i>=r?(e=l-Math.abs(o-t),n=d+Math.abs(r-i)):t>=o&&i>=r&&(e=l+Math.abs(o-t),n=d+Math.abs(r-i)),s.container.scrollTo(e,n)}return}}}),n.className="lb",n}},9842:(e,n,t)=>{"use strict";t.d(n,{fh:()=>function(n,e,t){let i;i=e||p.createElement("children");for(let e=0;e<n.length;e++){var o=n[e];const r=p.createElement("GRP"),a=(t===s.RL?r.className="lhs":t===s.pX?r.className="rhs":t===s.VW&&(o.direction===s.RL?r.className="lhs":o.direction===s.pX&&(r.className="rhs")),this.createTop(o));o.children&&0<o.children.length?(a.appendChild(h(o.expanded)),r.appendChild(a),!1!==o.expanded&&(o=this.createChildren(o.children),r.appendChild(o))):r.appendChild(a),i.appendChild(r)}return i},ff:()=>h,sS:()=>r,co:()=>function(o){if(console.time("createInputDiv"),o){let t=p.createElement("div"),i=o.childNodes[0].textContent;0<o.childNodes.length&&"SPAN"===o.childNodes[0].nodeName&&(i=o.childNodes[1].textContent),o.appendChild(t),t.innerText=i,t.contentEditable="true",t.spellcheck=!1,t.style.cssText=`min-width:${o.offsetWidth-8}px;`,this.direction===s.RL&&(t.style.right="0"),t.focus(),!function(e){const n=p.createRange(),t=(n.selectNodeContents(e),window.getSelection());t&&(t.removeAllRanges(),t.addRange(n))}(t),this.inputDiv=t,this.bus.fire("operation",{name:"beginEdit",obj:o.nodeObj}),t.addEventListener("keydown",e=>{e.stopPropagation();var n=e.key;"Enter"!==n&&"Tab"!==n||e.shiftKey||(e.preventDefault(),this.inputDiv.blur(),this.map.focus())}),t.addEventListener("blur",()=>{if(t){const n=o.nodeObj;var e=t.textContent.trim();n.topic=""===e?i:e,t.remove(),this.inputDiv=t=null,this.bus.fire("operation",{name:"finishEdit",obj:n,origin:i}),e!==i&&(0<o.childNodes.length&&"SPAN"===o.childNodes[0].nodeName?o.childNodes[1].textContent=n.topic:o.childNodes[0].textContent=n.topic,this.linkDiv())}})}},HM:()=>a,HV:()=>l,YZ:()=>i,bK:()=>function(){this.root.innerHTML="",this.box.innerHTML="";const e=this.createTopic(this.nodeData),i=(o(e,this.nodeData),e.draggable=!1,this.root.appendChild(e),this.nodeData.children);if(i&&0!==i.length){if(this.direction===s.VW){let n=0,t=0;i.map(e=>{void 0===e.direction?n<=t?(e.direction=s.RL,n+=1):(e.direction=s.pX,t+=1):e.direction===s.RL?n+=1:t+=1})}this.createChildren(this.nodeData.children,this.box,this.direction)}},Lb:()=>o});var s=t(3970),d=t(5928);const c={remarks:'<svg t="1647249431521" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2001" width="200" height="200"><path d="M121.342626 71.961962l578.789149 0c47.080272 0 53.999868 31.922037 53.999868 31.922037l0 232.620012L391.352199 726.977189 305.503972 931.907559 119.960139 931.907559c-54.004985 0-50.859341-41.538045-50.859341-41.538045L69.100798 109.420085C79.166037 67.88204 121.342626 71.961962 121.342626 71.961962L121.342626 71.961962zM668.284439 182.397167c0-16.597003-18.315134-30.049387-40.904619-30.049387L195.482183 152.34778c-22.592554 0-40.907689 13.453407-40.907689 30.049387l0 7.743358c0 16.598027 18.315134 30.055526 40.907689 30.055526l431.898661 0c22.589484 0 40.904619-13.4575 40.904619-30.055526L668.285462 182.397167 668.284439 182.397167zM668.452261 329.865823c0-16.598027-18.311041-30.055526-40.903595-30.055526L195.650005 299.810297c-22.588461 0-40.904619 13.4575-40.904619 30.055526l0 7.743358c0 16.598027 18.316158 30.049387 40.904619 30.049387l431.898661 0c22.592554 0 40.907689-13.45136 40.907689-30.049387l0-7.743358L668.452261 329.865823zM496.584915 476.473879c0-16.597003-12.184507-30.05041-27.217898-30.05041L181.963285 446.423469c-15.034415 0-27.217898 13.453407-27.217898 30.05041l0 7.744381c0 16.597003 12.1886 30.054503 27.217898 30.054503l287.403732 0c15.033391 0 27.217898-13.4575 27.217898-30.054503L496.584915 476.473879 496.584915 476.473879zM496.584915 476.473879M502.126118 931.907559 712.593598 931.907559c0 0 42.925648-1.382487 41.538045-70.615291-1.38351-69.235874 0-209.083969 0-209.083969L502.126118 931.907559 502.126118 931.907559zM502.126118 931.907559M456.43038 729.748303l96.925516 83.081207 400.358317-440.325587-91.578742-77.540004L456.43038 729.748303zM456.43038 729.748303M419.044912 772.673951l92.363617 76.153424c0 0-118.668727 107.752096-169.902598 107.752096C341.505931 956.579471 317.965795 940.215782 419.044912 772.673951L419.044912 772.673951zM419.044912 772.673951" p-id="2002" fill="#6966fd"></path></svg>'},p=document,i=(e,n)=>{const t=n?n.mindElixirBox:p;return t.querySelector(`[data-nodeid=me${e}]`)},o=function(e,n){if(e.innerText=n.topic,n.style&&(e.style.color=n.style.color||"inherit",e.style.background=n.style.background||"inherit",e.style.fontSize=n.style.fontSize+"px",e.style.fontWeight=n.style.fontWeight||"normal"),n.hyperLink){const t=p.createElement("a");t.className="hyper-link",t.target="_blank",t.innerText="🔗",t.href=n.hyperLink,e.appendChild(t)}if(n.icons){const i=p.createElement("span");i.className="icons",i.innerHTML=n.icons.map(e=>` <span>${(0,d.F1)(e)} </span>`).join(""),e.appendChild(i)}if(n.remarks){const o=p.createElement("span");o.className="remarks",o.innerHTML=` <span>${c.remarks}</span> `,e.appendChild(o)}if(n.tags){const r=p.createElement("div");r.className="tags",r.innerHTML=n.tags.map(e=>`<span>${(0,d.F1)(e)}</span>`).join(""),e.appendChild(r)}if(n.caseRunStatus){const a=p.createElement("div");switch(a.className="cases",n.caseRunStatus){case 1:a.innerHTML='<span class="case-notrun">未执行</span>';break;case 2:a.innerHTML='<span class="case-pass">通过</span>';break;case 3:a.innerHTML='<span class="case-notpass">未通过</span>';break;case 4:a.innerHTML='<span class="case-block">Block</span>';break;case 5:a.innerHTML='<span class="case-ignore">忽略</span>'}e.appendChild(a)}if(n.priority){const s=p.createElement("span");switch(s.className="priority",n.priority){case 1:s.innerHTML='<span class="priority-one">P1</span>';break;case 2:s.innerHTML='<span class="priority-two">P2</span>';break;case 3:s.innerHTML='<span class="priority-three">P3</span>';break;case 4:s.innerHTML='<span class="priority-four">P4</span>';break;case 5:s.innerHTML='<span class="priority-five">P5</span>'}e.prepend(s)}if(n.autoCaseName){const l=p.createElement("div");l.className="autoCase",l.innerHTML=`<span class="autoCase-css">${n.autoCaseName}</span>`,e.appendChild(l)}},r=function(e){const n=p.createElement("GRP"),t=this.createTop(e);return n.appendChild(t),e.children&&0<e.children.length&&(t.appendChild(h(e.expanded)),!1!==e.expanded&&(e=this.createChildren(e.children),n.appendChild(e))),{grp:n,top:t}},a=function(e){const n=p.createElement("t");var t=this.createTopic(e);return o(t,e),n.appendChild(t),n},l=function(e){const n=p.createElement("tpc");return n.nodeObj=e,n.dataset.nodeid="me"+e.id,n.draggable=this.draggable,n};const h=function(e){const n=p.createElement("epd");return n.innerText=!1!==e?"-":"+",n.expanded=!1!==e,n.className=!1!==e?"minus":"",n}},5928:(e,n,t)=>{"use strict";t.d(n,{F1:()=>function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/"/g,""")},tq:()=>i,pD:()=>o,cU:()=>r,iX:()=>a,gz:()=>function n(t){t.id=l();if(t.children)for(let e=0;e<t.children.length;e++)n(t.children[e])},P2:()=>s,Be:()=>function(e,n,t,i){n=i-n,e-=t;let o=Math.atan(Math.abs(n)/Math.abs(e))/3.14*180;e<0&&0<n&&(o=180-o);e<0&&n<0&&(o=180+o);0<e&&n<0&&(o=360-o);e=o+30;n=o-30;return{x1:t+20*Math.cos(Math.PI*e/180),y1:i-20*Math.sin(Math.PI*e/180),x2:t+20*Math.cos(Math.PI*n/180),y2:i-20*Math.sin(Math.PI*n/180)}},lk:()=>function(e,n,t){let i,o;var r=(e.cy-t)/(n-e.cx);o=r>e.h/e.w||r<-e.h/e.w?e.cy-t<0?(i=e.cx-e.h/2/r,e.cy+e.h/2):(i=e.cx+e.h/2/r,e.cy-e.h/2):e.cx-n<0?(i=e.cx+e.w/2,e.cy-e.w*r/2):(i=e.cx-e.w/2,e.cy+e.w*r/2);return{x:i,y:o}},Vg:()=>function(e,n,t){let i,o;var r=(e.cy-t)/(n-e.cx);o=r>e.h/e.w||r<-e.h/e.w?e.cy-t<0?(i=e.cx-e.h/2/r,e.cy+e.h/2):(i=e.cx+e.h/2/r,e.cy-e.h/2):e.cx-n<0?(i=e.cx+e.w/2,e.cy-e.w*r/2):(i=e.cx-e.w/2,e.cy+e.w*r/2);return{x:i,y:o}},DO:()=>l,yi:()=>function(){var e=l();return{topic:this.newTopicName||"new node",id:e}},Jg:()=>function(e,n){let t=!0;for(;n.parent;){if(n.parent===e){t=!1;break}n=n.parent}return t},SS:()=>function(e){const n=e.parent.children,t=n.indexOf(e),i=n[t];0===t?(n[t]=n[n.length-1],n[n.length-1]=i):(n[t]=n[t-1],n[t-1]=i)},qD:()=>function(e){const n=e.parent.children,t=n.indexOf(e),i=n[t];t===n.length-1?(n[t]=n[0],n[0]=i):(n[t]=n[t+1],n[t+1]=i)},B6:()=>d,_8:()=>function(e,n){const t=e.parent.children,i=t.indexOf(e);t.splice(i+1,0,n)},Ep:()=>function(e,n){const t=e.parent.children,i=t.indexOf(e);t.splice(i,0,n)},md:()=>function(e,n){d(e),n.children?n.children.push(e):n.children=[e]},FY:()=>function(e,n){d(e);const t=n.parent.children;let i=0;for(let e=0;e<t.length;e++)if(t[e]===n){i=e;break}t.splice(i,0,e)},QH:()=>function(e,n){d(e);const t=n.parent.children;let i=0;for(let e=0;e<t.length;e++)if(t[e]===n){i=e;break}t.splice(i+1,0,e)},Av:()=>c,Rj:()=>p});const i=()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),o=e=>e.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(e,n,t,i){return"#"+("0"+Number(n).toString(16)).substr(-2)+("0"+Number(t).toString(16)).substr(-2)+("0"+Number(i).toString(16)).substr(-2)}),r=function(n,t){if((t=t||this.nodeData).id===n)return t;if(!t.children||!t.children.length)return null;for(let e=0;e<t.children.length;e++){var i=r(n,t.children[e]);if(i)return i}},a=(n,e)=>{if(n.parent=e,n.children)for(let e=0;e<n.children.length;e++)a(n.children[e],n)};const s=(t,i)=>{var o=Date.now();return function(){var e=arguments,n=Date.now();i<=n-o&&(t.apply(this,e),o=Date.now())}};function l(){return((new Date).getTime().toString(16)+Math.random().toString(16).substr(2)).substr(2,16)}function d(e){const n=e.parent.children;e=n.indexOf(e);return n.splice(e,1),n.length}const c={afterMoving:!1,mousedown:!1,lastX:null,lastY:null,onMove(e,n,t){if(this.mousedown){if(this.afterMoving=!0,!this.lastX)return this.lastX=e.pageX,void(this.lastY=e.pageY);var i=this.lastX-e.pageX,o=this.lastY-e.pageY;n.scrollTo(n.scrollLeft+i,n.scrollTop+o),this.lastX=e.pageX,this.lastY=e.pageY,t.enableExternalInterface&&t.callingAnExternalInterface.changePosition(n.scrollLeft+i,n.scrollTop+o)}},clear(){this.afterMoving=!1,this.mousedown=!1,this.lastX=null,this.lastY=null}};function p(e){this.dom=e,this.mousedown=!1,this.lastX=null,this.lastY=null}p.prototype.init=function(e,i){this.handleMouseMove=e=>{if(e.stopPropagation(),this.mousedown){if(!this.lastX)return this.lastX=e.pageX,void(this.lastY=e.pageY);var n=this.lastX-e.pageX,t=this.lastY-e.pageY;i(n,t),this.lastX=e.pageX,this.lastY=e.pageY}},this.handleMouseDown=e=>{e.stopPropagation(),this.mousedown=!0},this.handleClear=e=>{e.stopPropagation(),this.clear()},e.addEventListener("mousemove",this.handleMouseMove),e.addEventListener("mouseleave",this.handleClear),e.addEventListener("mouseup",this.handleClear),this.dom.addEventListener("mousedown",this.handleMouseDown)},p.prototype.destory=function(e){e.removeEventListener("mousemove",this.handleMouseMove),e.removeEventListener("mouseleave",this.handleClear),e.removeEventListener("mouseup",this.handleClear),this.dom.removeEventListener("mousedown",this.handleMouseDown)},p.prototype.clear=function(){this.mousedown=!1,this.lastX=null,this.lastY=null}},6723:(e,n,t)=>{"use strict";function i(){this.handlers={}}t.d(n,{Z:()=>i}),i.prototype={showHandler:function(){},addListener:function(e,n){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(n)},fire:function(e,n){if(this.handlers[e]instanceof Array)for(var t=this.handlers[e],i=0;i<t.length;i++)t[i](n)},removeListener:function(e,n){if(this.handlers[e]){var t=this.handlers[e];if(n){if(t.length)for(var i=0;i<t.length;i++)t[i]===n&&this.handlers[e].splice(i,1)}else t.length=0}}}},8591:(e,n,t)=>{"use strict";t.d(n,{g:()=>i,c4:()=>o,W5:()=>s,Ep:()=>l,Mi:()=>d});const r=document,a="http://www.w3.org/2000/svg",i=function(e){const n=r.createElementNS(a,"path");return n.setAttribute("d",e),n.setAttribute("stroke","#666"),n.setAttribute("fill","none"),n.setAttribute("stroke-width","2"),n},o=function(e){const n=r.createElementNS(a,"svg");return n.setAttribute("class",e),n},s=function(e,n,t,i){const o=r.createElementNS(a,"line");return o.setAttribute("x1",e),o.setAttribute("y1",n),o.setAttribute("x2",t),o.setAttribute("y2",i),o.setAttribute("stroke","#bbb"),o.setAttribute("fill","none"),o.setAttribute("stroke-width","2"),o},l=function(e){const n=r.createElementNS(a,"path");return n.setAttribute("d",e),n.setAttribute("stroke","#555"),n.setAttribute("fill","none"),n.setAttribute("stroke-linecap","square"),n.setAttribute("stroke-width","1"),n.setAttribute("transform","translate(0.5,-0.5)"),n},d=function(e,n){const t=r.createElementNS(a,"g"),i=r.createElementNS(a,"path"),o=r.createElementNS(a,"path");return o.setAttribute("d",n),o.setAttribute("stroke","rgb(235, 95, 82)"),o.setAttribute("fill","none"),o.setAttribute("stroke-linecap","cap"),o.setAttribute("stroke-width","2"),i.setAttribute("d",e),i.setAttribute("stroke","rgb(235, 95, 82)"),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","cap"),i.setAttribute("stroke-width","2"),t.appendChild(i),t.appendChild(o),t}},9857:()=>{var e,n,t,i,o,r,a=window,s='<svg><symbol id="icon-edit" viewBox="0 0 1024 1024"><path d="M423.765333 128a42.666667 42.666667 0 0 1 3.2 85.205333L423.765333 213.333333H234.666667a64 64 0 0 0-63.872 60.245334L170.666667 277.333333v512a64 64 0 0 0 60.245333 63.872L234.666667 853.333333h512a64 64 0 0 0 63.872-60.245333L810.666667 789.333333v-189.098666a42.666667 42.666667 0 0 1 85.205333-3.2l0.128 3.2V789.333333a149.333333 149.333333 0 0 1-144.213333 149.248L746.666667 938.666667h-512a149.333333 149.333333 0 0 1-149.248-144.213334L85.333333 789.333333v-512a149.333333 149.333333 0 0 1 144.213334-149.248L234.666667 128h189.098666z m324.949334-53.248a42.666667 42.666667 0 0 1 60.330666 0l150.869334 150.869333a42.666667 42.666667 0 0 1 0 60.330667l-329.386667 329.386667a42.666667 42.666667 0 0 1-29.44 12.458666l-153.386667 2.517334a42.666667 42.666667 0 0 1-43.349333-43.349334l2.56-153.386666a42.666667 42.666667 0 0 1 12.458667-29.44z m30.165333 90.496L491.946667 452.266667l-1.493334 91.989333 92.032-1.493333 286.976-286.976-90.538666-90.538667z" ></path></symbol><symbol id="icon-rising" viewBox="0 0 1024 1024"><path d="M553.173333 803.84h-64l0.021334-474.581333-224.021334 224-45.269333-45.226667L521.6 206.293333l301.717333 301.696-45.269333 45.269334-224.853333-224.896v475.477333z" ></path></symbol><symbol id="icon-falling" viewBox="0 0 1024 1024"><path d="M553.173333 238.314667h-64l0.021334 474.602666-224.021334-224-45.269333 45.226667L521.6 835.861333l301.717333-301.717333-45.269333-45.226667-224.853333 224.853334V238.336z" ></path></symbol><symbol id="icon-shanchu2" viewBox="0 0 1024 1024"><path d="M516.60601807 107.93026734c-82.64382935 0-149.71865844 65.51751709-152.5729065 147.77160644H171.37136841c-21.40603638 0-38.92044068 17.38504028-38.92044068 38.92126465 0 21.40686036 17.38504028 38.92208862 38.92126466 38.92208862h42.94308471v435.40136719c0 81.73498536 55.39828492 148.55026245 123.90106201 148.55026245h348.99444581c68.37341309 0 123.90106201-66.42553711 123.901062-148.55026245V333.80477906h38.92126465c21.40686036 0 38.92126464-17.38586426 38.92126465-38.92208863 0-21.40686036-17.38504028-38.92126464-38.92126465-38.92126465H668.91854859C666.45321656 173.44860839 599.24902344 107.93109131 516.60601807 107.93109131z m-79.65939331 147.77160644c2.85424805-42.16442872 37.2354126-74.85809326 79.78875732-74.85809326s76.93450927 32.82302857 79.39984131 74.85809326H436.94662476z m-98.86047364 589.01165771c-24.2611084 0-50.98754883-31.13717651-50.98754883-75.76693725V333.80477906h450.97036744V769.33551026c0 44.50039673-26.72644043 75.76776123-50.98754884 75.76776122H338.08615112v-0.38973999z m0 0" ></path><path d="M390.37063599 751.17263794c17.77313232 0 32.43411255-17.7739563 32.43411255-40.08883667V482.35504151c0-22.31488037-14.53079224-40.08966065-32.43411255-40.08966065-17.77478027 0-32.43493653 17.77478027-32.43493653 40.08966065v228.72875976c0 22.18469239 14.27124023 40.08883667 32.43493653 40.08883667z m117.41308594 0c17.7739563 0 32.43411255-17.7739563 32.43411255-40.08883667V482.35504151c0-22.31488037-14.53079224-40.08966065-32.43411255-40.08966065-17.7739563 0-32.43493653 17.77478027-32.43493653 40.08966065v228.72875976c0 22.18469239 14.66098023 40.08883667 32.43493653 40.08883667z m123.51049804 0c17.7739563 0 32.43493653-17.7739563 32.43493652-40.08883667V482.35504151c0-22.31488037-14.53079224-40.08966065-32.43493652-40.08966065-17.7739563 0-32.43411255 17.77478027-32.43411255 40.08966065v228.72875976c0 22.18469239 14.14105224 40.08883667 32.43411255 40.08883667z m0 0" ></path></symbol><symbol id="icon-zijiedian" viewBox="0 0 1024 1024"><path d="M312.208 472c19.568-157.856 153.432-280 315.656-280 175.68 0 318.112 143.272 318.112 320S803.552 832 627.864 832c-162.224 0-296.08-122.144-315.656-280H120a40 40 0 0 1 0-80h192.208zM632 752c132.552 0 240-107.448 240-240 0-132.552-107.448-240-240-240-132.552 0-240 107.448-240 240 0 132.552 107.448 240 240 240z m-40-280v-80a40 40 0 0 1 80 0v80h80a40 40 0 0 1 0 80h-80v80a40 40 0 0 1-80 0v-80h-80a40 40 0 0 1 0-80h80z" ></path></symbol><symbol id="icon-tongjijiedian-" viewBox="0 0 1024 1024"><path d="M803.84 131.626667H410.24A59.733333 59.733333 0 0 0 350.506667 192v45.226667H199.68a51.626667 51.626667 0 0 0-51.626667 51.626666v465.92a51.626667 51.626667 0 0 0 51.626667 51.626667h187.52v-55.466667h-162.133333a21.333333 21.333333 0 0 1-21.333334-21.333333V313.386667a21.333333 21.333333 0 0 1 21.333334-21.333334h125.653333v64a59.733333 59.733333 0 0 0 59.733333 59.733334h393.386667a59.733333 59.733333 0 0 0 59.733333-59.733334V192a59.733333 59.733333 0 0 0-59.733333-60.373333z m4.266667 224.64a4.266667 4.266667 0 0 1-4.266667 4.266666H410.24a4.266667 4.266667 0 0 1-4.266667-4.266666V192a4.266667 4.266667 0 0 1 4.266667-4.266667h393.6a4.266667 4.266667 0 0 1 4.266667 4.266667zM716.16 749.44h-81.28v-81.493333a27.733333 27.733333 0 0 0-55.466667 0v81.28h-81.493333a27.733333 27.733333 0 1 0 0 55.466666h81.28v81.28a27.733333 27.733333 0 1 0 55.466667 0v-81.066666h81.28a27.733333 27.733333 0 0 0 0-55.466667z" ></path></symbol><symbol id="icon-close" viewBox="0 0 1024 1024"><path d="M557.312 513.248l265.28-263.904c12.544-12.48 12.608-32.704 0.128-45.248-12.512-12.576-32.704-12.608-45.248-0.128L512.128 467.904l-263.04-263.84c-12.448-12.48-32.704-12.544-45.248-0.064-12.512 12.48-12.544 32.736-0.064 45.28l262.976 263.776L201.6 776.8c-12.544 12.48-12.608 32.704-0.128 45.248a31.937 31.937 0 0 0 22.688 9.44c8.16 0 16.32-3.104 22.56-9.312l265.216-263.808 265.44 266.24c6.24 6.272 14.432 9.408 22.656 9.408a31.94 31.94 0 0 0 22.592-9.344c12.512-12.48 12.544-32.704 0.064-45.248L557.312 513.248z" fill="" ></path></symbol><symbol id="icon-menu" viewBox="0 0 1024 1024"><path d="M109.714 292.571h804.572c21.943 0 36.571-21.942 36.571-43.885 0-14.629-14.628-29.257-36.571-29.257H109.714c-21.943 0-36.571 14.628-36.571 36.571 0 14.629 14.628 36.571 36.571 36.571zM914.286 512H109.714c-21.943 0-36.571 14.629-36.571 36.571 0 14.629 14.628 36.572 36.571 36.572h804.572c21.943 0 36.571-21.943 36.571-43.886 0-14.628-14.628-29.257-36.571-29.257z m0 292.571H109.714c-21.943 0-36.571 14.629-36.571 36.572s14.628 36.571 36.571 36.571h804.572c21.943 0 36.571-21.943 36.571-36.571 0-21.943-14.628-36.572-36.571-36.572z" ></path></symbol><symbol id="icon-right" viewBox="0 0 1024 1024"><path d="M385 560.69999999L385 738.9c0 36.90000001 26.4 68.5 61.3 68.5l150.2 0c1.5 0 3-0.1 4.5-0.3 10.2 38.7 45.5 67.3 87.5 67.3 50 0 90.5-40.5 90.5-90.5s-40.5-90.5-90.5-90.5c-42 0-77.3 28.6-87.5 67.39999999-1.4-0.3-2.9-0.4-4.5-0.39999999L446.3 760.4c-6.8 0-14.3-8.9-14.3-21.49999999l0-427.00000001c0-12.7 7.40000001-21.5 14.30000001-21.5l150.19999999 0c1.5 0 3-0.2 4.5-0.4 10.2 38.8 45.5 67.3 87.5 67.3 50 0 90.5-40.5 90.5-90.4 0-49.9-40.5-90.6-90.5-90.59999999-42 0-77.3 28.6-87.5 67.39999999-1.4-0.2-2.9-0.4-4.49999999-0.4L446.3 243.3c-34.80000001 0-61.3 31.6-61.3 68.50000001L385 513.7l-79.1 0c-10.4-38.5-45.49999999-67-87.4-67-50 0-90.5 40.5-90.5 90.5s40.5 90.5 90.5 90.5c41.79999999 0 77.00000001-28.4 87.4-67L385 560.69999999z" fill="#333333" ></path></symbol><symbol id="icon-left" viewBox="0 0 1024 1024"><path d="M639 463.30000001L639 285.1c0-36.90000001-26.4-68.5-61.3-68.5l-150.2 0c-1.5 0-3 0.1-4.5 0.3-10.2-38.7-45.5-67.3-87.5-67.3-50 0-90.5 40.5-90.5 90.5s40.5 90.5 90.5 90.5c42 0 77.3-28.6 87.5-67.39999999 1.4 0.3 2.9 0.4 4.5 0.39999999L577.7 263.6c6.8 0 14.3 8.9 14.3 21.49999999l0 427.00000001c0 12.7-7.40000001 21.5-14.30000001 21.5l-150.19999999 0c-1.5 0-3 0.2-4.5 0.4-10.2-38.8-45.5-67.3-87.5-67.3-50 0-90.5 40.5-90.5 90.4 0 49.9 40.5 90.6 90.5 90.59999999 42 0 77.3-28.6 87.5-67.39999999 1.4 0.2 2.9 0.4 4.49999999 0.4L577.7 780.7c34.80000001 0 61.3-31.6 61.3-68.50000001L639 510.3l79.1 0c10.4 38.5 45.49999999 67 87.4 67 50 0 90.5-40.5 90.5-90.5s-40.5-90.5-90.5-90.5c-41.79999999 0-77.00000001 28.4-87.4 67L639 463.30000001z" fill="#333333" ></path></symbol><symbol id="icon-side" viewBox="0 0 1024 1024"><path d="M851.91168 328.45312c-59.97056 0-108.6208 48.47104-108.91264 108.36992l-137.92768 38.4a109.14304 109.14304 0 0 0-63.46752-46.58688l1.39264-137.11872c47.29344-11.86816 82.31936-54.66624 82.31936-105.64096 0-60.15488-48.76288-108.91776-108.91776-108.91776s-108.91776 48.76288-108.91776 108.91776c0 49.18784 32.60928 90.75712 77.38368 104.27392l-1.41312 138.87488a109.19936 109.19936 0 0 0-63.50336 48.55808l-138.93632-39.48544 0.01024-0.72704c0-60.15488-48.76288-108.91776-108.91776-108.91776s-108.91776 48.75776-108.91776 108.91776c0 60.15488 48.76288 108.91264 108.91776 108.91264 39.3984 0 73.91232-20.92032 93.03552-52.2496l139.19232 39.552-0.00512 0.2304c0 25.8304 9.00096 49.5616 24.02816 68.23424l-90.14272 132.63872a108.7488 108.7488 0 0 0-34.2528-5.504c-60.15488 0-108.91776 48.768-108.91776 108.91776 0 60.16 48.76288 108.91776 108.91776 108.91776 60.16 0 108.92288-48.75776 108.92288-108.91776 0-27.14624-9.9328-51.968-26.36288-71.04l89.04704-131.03104a108.544 108.544 0 0 0 37.6832 6.70208 108.672 108.672 0 0 0 36.48512-6.272l93.13792 132.57216a108.48256 108.48256 0 0 0-24.69888 69.0688c0 60.16 48.768 108.92288 108.91776 108.92288 60.16 0 108.91776-48.76288 108.91776-108.92288 0-60.14976-48.75776-108.91776-108.91776-108.91776a108.80512 108.80512 0 0 0-36.69504 6.3488l-93.07136-132.48a108.48768 108.48768 0 0 0 24.79616-72.22784l136.09984-37.888c18.99008 31.93856 53.84192 53.3504 93.69088 53.3504 60.16 0 108.92288-48.75776 108.92288-108.91264-0.00512-60.15488-48.77312-108.92288-108.92288-108.92288z" ></path></symbol><symbol id="icon-B" viewBox="0 0 1024 1024"><path d="M98.067692 65.457231H481.28c75.854769 0 132.411077 3.150769 169.668923 9.452307 37.336615 6.301538 70.656 19.534769 100.036923 39.620924 29.459692 20.007385 53.956923 46.710154 73.570462 80.029538 19.692308 33.398154 29.459692 70.734769 29.459692 112.167385 0 44.898462-12.130462 86.094769-36.233846 123.588923a224.886154 224.886154 0 0 1-98.461539 84.283077c58.368 17.092923 103.266462 46.08 134.695385 87.04 31.350154 40.96 47.025231 89.088 47.025231 144.462769 0 43.638154-10.082462 86.016-30.404923 127.212308-20.243692 41.196308-47.891692 74.043077-83.02277 98.697846-35.052308 24.654769-78.296615 39.778462-129.732923 45.449846-32.295385 3.465846-110.119385 5.671385-233.472 6.537846H98.067692V65.457231z m193.536 159.507692V446.621538h126.818462c75.460923 0 122.328615-1.024 140.603077-3.229538 33.083077-3.938462 59.155692-15.36 78.139077-34.343385 18.904615-18.904615 28.435692-43.874462 28.435692-74.830769 0-29.696-8.192-53.720615-24.497231-72.310154-16.384-18.510769-40.644923-29.696-72.940307-33.634461-19.140923-2.205538-74.279385-3.308308-165.415385-3.308308h-111.064615z m0 381.243077v256.315077h179.2c69.710769 0 113.979077-1.969231 132.726154-5.907692 28.750769-5.198769 52.145231-17.959385 70.262154-38.281847 18.116923-20.243692 27.096615-47.340308 27.096615-81.368615 0-28.750769-6.931692-53.169231-20.873846-73.255385a118.232615 118.232615 0 0 0-60.494769-43.795692c-26.387692-9.137231-83.574154-13.705846-171.638154-13.705846H291.603692z" ></path></symbol><symbol id="icon-a" viewBox="0 0 1024 1024"><path d="M757.76 665.6q0 20.48 1.536 34.304t7.68 22.016 18.944 12.288 34.304 4.096q-3.072 25.6-15.36 44.032-11.264 16.384-33.28 29.696t-62.976 13.312q-11.264 0-20.48-0.512t-17.408-2.56l-6.144-2.048-1.024 0q-4.096-1.024-10.24-4.096-2.048-2.048-4.096-2.048-1.024-1.024-2.048-1.024-14.336-8.192-23.552-17.408t-14.336-17.408q-6.144-10.24-9.216-20.48-63.488 75.776-178.176 75.776-48.128 0-88.064-15.36t-69.12-44.032-45.056-68.096-15.872-88.576 16.896-89.088 47.616-67.584 74.24-42.496 96.768-14.848q48.128 0 88.576 17.408t66.048 49.152q0-8.192 0.512-16.384t0.512-15.36q0-71.68-39.936-104.448t-128-32.768q-43.008 0-84.992 6.656t-84.992 17.92q14.336-28.672 25.088-47.616t24.064-29.184q30.72-24.576 158.72-24.576 79.872 0 135.168 13.824t90.624 43.52 51.2 75.264 15.872 108.032l0 200.704zM487.424 743.424q50.176 0 79.872-33.28t29.696-95.744q0-61.44-28.672-93.696t-76.8-32.256q-52.224 0-82.944 33.28t-30.72 94.72q0 58.368 31.744 92.672t77.824 34.304z" ></path></symbol><symbol id="icon-full" viewBox="0 0 1024 1024"><path d="M639.328 416c8.032 0 16.096-3.008 22.304-9.056l202.624-197.184-0.8 143.808c-0.096 17.696 14.144 32.096 31.808 32.192 0.064 0 0.128 0 0.192 0 17.6 0 31.904-14.208 32-31.808l1.248-222.208c0-0.672-0.352-1.248-0.384-1.92 0.032-0.512 0.288-0.896 0.288-1.408 0.032-17.664-14.272-32-31.968-32.032L671.552 96l-0.032 0c-17.664 0-31.968 14.304-32 31.968C639.488 145.632 653.824 160 671.488 160l151.872 0.224-206.368 200.8c-12.672 12.32-12.928 32.608-0.64 45.248C622.656 412.736 630.976 416 639.328 416z" ></path><path d="M896.032 639.552 896.032 639.552c-17.696 0-32 14.304-32.032 31.968l-0.224 151.872-200.832-206.4c-12.32-12.64-32.576-12.96-45.248-0.64-12.672 12.352-12.928 32.608-0.64 45.248l197.184 202.624-143.808-0.8c-0.064 0-0.128 0-0.192 0-17.6 0-31.904 14.208-32 31.808-0.096 17.696 14.144 32.096 31.808 32.192l222.24 1.248c0.064 0 0.128 0 0.192 0 0.64 0 1.12-0.32 1.76-0.352 0.512 0.032 0.896 0.288 1.408 0.288l0.032 0c17.664 0 31.968-14.304 32-31.968L928 671.584C928.032 653.952 913.728 639.584 896.032 639.552z" ></path><path d="M209.76 159.744l143.808 0.8c0.064 0 0.128 0 0.192 0 17.6 0 31.904-14.208 32-31.808 0.096-17.696-14.144-32.096-31.808-32.192L131.68 95.328c-0.064 0-0.128 0-0.192 0-0.672 0-1.248 0.352-1.888 0.384-0.448 0-0.8-0.256-1.248-0.256 0 0-0.032 0-0.032 0-17.664 0-31.968 14.304-32 31.968L96 352.448c-0.032 17.664 14.272 32 31.968 32.032 0 0 0.032 0 0.032 0 17.664 0 31.968-14.304 32-31.968l0.224-151.936 200.832 206.4c6.272 6.464 14.624 9.696 22.944 9.696 8.032 0 16.096-3.008 22.304-9.056 12.672-12.32 12.96-32.608 0.64-45.248L209.76 159.744z" ></path><path d="M362.368 617.056l-202.624 197.184 0.8-143.808c0.096-17.696-14.144-32.096-31.808-32.192-0.064 0-0.128 0-0.192 0-17.6 0-31.904 14.208-32 31.808l-1.248 222.24c0 0.704 0.352 1.312 0.384 2.016 0 0.448-0.256 0.832-0.256 1.312-0.032 17.664 14.272 32 31.968 32.032L352.448 928c0 0 0.032 0 0.032 0 17.664 0 31.968-14.304 32-31.968s-14.272-32-31.968-32.032l-151.936-0.224 206.4-200.832c12.672-12.352 12.96-32.608 0.64-45.248S375.008 604.704 362.368 617.056z" ></path></symbol><symbol id="icon-add" viewBox="0 0 1024 1024"><path d="M863.328 482.56l-317.344-1.12L545.984 162.816c0-17.664-14.336-32-32-32s-32 14.336-32 32l0 318.4L159.616 480.064c-0.032 0-0.064 0-0.096 0-17.632 0-31.936 14.24-32 31.904C127.424 529.632 141.728 544 159.392 544.064l322.592 1.152 0 319.168c0 17.696 14.336 32 32 32s32-14.304 32-32l0-318.944 317.088 1.12c0.064 0 0.096 0 0.128 0 17.632 0 31.936-14.24 32-31.904C895.264 496.992 880.96 482.624 863.328 482.56z" ></path></symbol><symbol id="icon-move" viewBox="0 0 1024 1024"><path d="M863.744 544 163.424 544c-17.664 0-32-14.336-32-32s14.336-32 32-32l700.32 0c17.696 0 32 14.336 32 32S881.44 544 863.744 544z" ></path></symbol><symbol id="icon-living" viewBox="0 0 1024 1024"><path d="M514.133333 488.533333m-106.666666 0a106.666667 106.666667 0 1 0 213.333333 0 106.666667 106.666667 0 1 0-213.333333 0Z" fill="#666666" ></path><path d="M512 64C264.533333 64 64 264.533333 64 512c0 236.8 183.466667 428.8 416 445.866667v-134.4c-53.333333-59.733333-200.533333-230.4-200.533333-334.933334 0-130.133333 104.533333-234.666667 234.666666-234.666666s234.666667 104.533333 234.666667 234.666666c0 61.866667-49.066667 153.6-145.066667 270.933334l-59.733333 68.266666V960C776.533333 942.933333 960 748.8 960 512c0-247.466667-200.533333-448-448-448z" fill="#666666" ></path></symbol></svg>',l=(l=document.getElementsByTagName("script"))[l.length-1].getAttribute("data-injectcss");if(l&&!a.__iconfont__svg__cssinject__){a.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(a){console}}function d(){o||(o=!0,t())}e=function(){var e,n,t,i;(i=document.createElement("div")).innerHTML=s,s=null,(t=i.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",e=t,(n=document.body).firstChild?(t=n.firstChild).parentNode.insertBefore(i=e,t):n.appendChild(e))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(e,0):(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),e()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(t=e,i=a.document,o=!1,(r=function(){try{i.documentElement.doScroll("left")}catch(e){return void setTimeout(r,50)}d()})(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,d())})}},o={},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),i(8589).default;function i(e){var n=o[e];if(void 0!==n)return n.exports;n=o[e]={id:e,exports:{}};return t[e](n,n.exports,i),n.exports}var t,o});
|
|
75
|
+
`,t};function i(p){{var e="lbToolbar";const o=document.getElementById(e);null!==o&&(o.innerHTML=""),o}e=document.getElementById("lbToolbar");let n=e;null===e&&((n=document.createElement("toolbar")).id="lbToolbar");e=p.getAllData();const t=[],i=[];i.push(e.nodeData),function e(n,t){for(var i of n)i.remarks&&t.push({id:i.id,remarks:i.remarks}),i.children&&i.children.length&&e(i.children,t);return t}(i,t);e=a("","");return n.appendChild(e),t.map(c=>{const e=r(c.id,c.remarks);n.appendChild(e),e.onclick=()=>{{var a=c.id,s=p,l=1e4-s.container.offsetWidth/2,d=3e4-s.container.offsetHeight/2;s.selectNode((0,h.E)(a)),"root"!==a&&1!==a||s.container.scrollTo(l,d);let e=s.container.offsetWidth/2,n=s.container.offsetHeight/2,t=(0,h.E)(a).getBoundingClientRect().x,i=(0,h.E)(a).getBoundingClientRect().y,o=(console.log("节点坐标",t,i,a),e),r=n;if(r=null!=(0,h.E)("root")?(o=(0,h.E)("root").getBoundingClientRect().x,(0,h.E)("root").getBoundingClientRect().y):null!=(0,h.E)("1")?(o=(0,h.E)("1").getBoundingClientRect().x,(0,h.E)("1").getBoundingClientRect().y):(o=(0,h.E)("0").getBoundingClientRect().x,(0,h.E)("0").getBoundingClientRect().y),console.log("(E(id).getBoundingClientRect()",(0,h.E)(a).getBoundingClientRect(),s.container.offsetHeight,s.container.offsetWidth,e,n),console.log("浮动中心",o,r,a),!(20<t&&t<s.container.offsetWidth-100&&30<i&&i<750)){let e=l-Math.abs(o-t),n=d-Math.abs(r-i);t<=o&&i<=r?(e=l-Math.abs(o-t),n=d-Math.abs(r-i)):t>=o&&i<=r?(e=l+Math.abs(o-t),n=d-Math.abs(r-i)):t<=o&&i>=r?(e=l-Math.abs(o-t),n=d+Math.abs(r-i)):t>=o&&i>=r&&(e=l+Math.abs(o-t),n=d+Math.abs(r-i)),console.log("点击备注-定位",e,n),s.container.scrollTo(e,n)}return}}}),n.className="lb",n}},9842:(e,n,t)=>{"use strict";t.d(n,{fh:()=>function(n,e,t){let i;i=e||p.createElement("children");for(let e=0;e<n.length;e++){var o=n[e];const r=p.createElement("GRP"),a=(t===s.RL?r.className="lhs":t===s.pX?r.className="rhs":t===s.VW&&(o.direction===s.RL?r.className="lhs":o.direction===s.pX&&(r.className="rhs")),this.createTop(o));o.children&&0<o.children.length?(a.appendChild(h(o.expanded)),r.appendChild(a),!1!==o.expanded&&(o=this.createChildren(o.children),r.appendChild(o))):r.appendChild(a),i.appendChild(r)}return i},ff:()=>h,sS:()=>r,co:()=>function(o){if(console.time("createInputDiv"),o){let t=p.createElement("div"),i=o.childNodes[0].textContent;console.log("点击节点 选择哪个数据进行操作create",o.childNodes[0].nodeName),0<o.childNodes.length&&"SPAN"===o.childNodes[0].nodeName&&(i=o.childNodes[1].textContent),o.appendChild(t),t.innerText=i,t.contentEditable="true",t.spellcheck=!1,t.style.cssText=`min-width:${o.offsetWidth-8}px;`,this.direction===s.RL&&(t.style.right="0"),t.focus(),!function(e){const n=p.createRange(),t=(n.selectNodeContents(e),window.getSelection());t&&(t.removeAllRanges(),t.addRange(n))}(t),this.inputDiv=t,this.bus.fire("operation",{name:"beginEdit",obj:o.nodeObj}),t.addEventListener("keydown",e=>{e.stopPropagation();var n=e.key;console.log(e,n),"Enter"!==n&&"Tab"!==n||e.shiftKey||(e.preventDefault(),this.inputDiv.blur(),this.map.focus())}),t.addEventListener("blur",()=>{if(t){const n=o.nodeObj;var e=t.textContent.trim();n.topic=""===e?i:e,t.remove(),this.inputDiv=t=null,this.bus.fire("operation",{name:"finishEdit",obj:n,origin:i}),e!==i&&(0<o.childNodes.length&&"SPAN"===o.childNodes[0].nodeName?o.childNodes[1].textContent=n.topic:o.childNodes[0].textContent=n.topic,this.linkDiv())}}),console.timeEnd("createInputDiv")}},HM:()=>a,HV:()=>l,YZ:()=>i,bK:()=>function(){console.time("layout"),this.root.innerHTML="",this.box.innerHTML="";const e=this.createTopic(this.nodeData),i=(o(e,this.nodeData),e.draggable=!1,this.root.appendChild(e),this.nodeData.children);if(i&&0!==i.length){if(this.direction===s.VW){let n=0,t=0;i.map(e=>{void 0===e.direction?n<=t?(e.direction=s.RL,n+=1):(e.direction=s.pX,t+=1):e.direction===s.RL?n+=1:t+=1})}this.createChildren(this.nodeData.children,this.box,this.direction),console.timeEnd("layout")}},Lb:()=>o});var s=t(3970),d=t(5928);const c={remarks:'<svg t="1647249431521" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2001" width="200" height="200"><path d="M121.342626 71.961962l578.789149 0c47.080272 0 53.999868 31.922037 53.999868 31.922037l0 232.620012L391.352199 726.977189 305.503972 931.907559 119.960139 931.907559c-54.004985 0-50.859341-41.538045-50.859341-41.538045L69.100798 109.420085C79.166037 67.88204 121.342626 71.961962 121.342626 71.961962L121.342626 71.961962zM668.284439 182.397167c0-16.597003-18.315134-30.049387-40.904619-30.049387L195.482183 152.34778c-22.592554 0-40.907689 13.453407-40.907689 30.049387l0 7.743358c0 16.598027 18.315134 30.055526 40.907689 30.055526l431.898661 0c22.589484 0 40.904619-13.4575 40.904619-30.055526L668.285462 182.397167 668.284439 182.397167zM668.452261 329.865823c0-16.598027-18.311041-30.055526-40.903595-30.055526L195.650005 299.810297c-22.588461 0-40.904619 13.4575-40.904619 30.055526l0 7.743358c0 16.598027 18.316158 30.049387 40.904619 30.049387l431.898661 0c22.592554 0 40.907689-13.45136 40.907689-30.049387l0-7.743358L668.452261 329.865823zM496.584915 476.473879c0-16.597003-12.184507-30.05041-27.217898-30.05041L181.963285 446.423469c-15.034415 0-27.217898 13.453407-27.217898 30.05041l0 7.744381c0 16.597003 12.1886 30.054503 27.217898 30.054503l287.403732 0c15.033391 0 27.217898-13.4575 27.217898-30.054503L496.584915 476.473879 496.584915 476.473879zM496.584915 476.473879M502.126118 931.907559 712.593598 931.907559c0 0 42.925648-1.382487 41.538045-70.615291-1.38351-69.235874 0-209.083969 0-209.083969L502.126118 931.907559 502.126118 931.907559zM502.126118 931.907559M456.43038 729.748303l96.925516 83.081207 400.358317-440.325587-91.578742-77.540004L456.43038 729.748303zM456.43038 729.748303M419.044912 772.673951l92.363617 76.153424c0 0-118.668727 107.752096-169.902598 107.752096C341.505931 956.579471 317.965795 940.215782 419.044912 772.673951L419.044912 772.673951zM419.044912 772.673951" p-id="2002" fill="#6966fd"></path></svg>'},p=document,i=(e,n)=>{const t=n?n.mindElixirBox:p;return t.querySelector(`[data-nodeid=me${e}]`)},o=function(e,n){if(e.innerText=n.topic,n.style&&(e.style.color=n.style.color||"inherit",e.style.background=n.style.background||"inherit",e.style.fontSize=n.style.fontSize+"px",e.style.fontWeight=n.style.fontWeight||"normal"),n.hyperLink){const t=p.createElement("a");t.className="hyper-link",t.target="_blank",t.innerText="🔗",t.href=n.hyperLink,e.appendChild(t)}if(n.icons){const i=p.createElement("span");i.className="icons",i.innerHTML=n.icons.map(e=>` <span>${(0,d.F1)(e)} </span>`).join(""),e.appendChild(i)}if(n.remarks){const o=p.createElement("span");o.className="remarks",o.innerHTML=` <span>${c.remarks}</span> `,e.appendChild(o)}if(n.tags){const r=p.createElement("div");r.className="tags",r.innerHTML=n.tags.map(e=>`<span>${(0,d.F1)(e)}</span>`).join(""),e.appendChild(r)}if(n.caseRunStatus){const a=p.createElement("div");switch(a.className="cases",n.caseRunStatus){case 1:a.innerHTML='<span class="case-notrun">未执行</span>';break;case 2:a.innerHTML='<span class="case-pass">通过</span>';break;case 3:a.innerHTML='<span class="case-notpass">未通过</span>';break;case 4:a.innerHTML='<span class="case-block">Block</span>';break;case 5:a.innerHTML='<span class="case-ignore">忽略</span>'}e.appendChild(a)}if(n.priority){const s=p.createElement("span");switch(s.className="priority",n.priority){case 1:s.innerHTML='<span class="priority-one">P1</span>';break;case 2:s.innerHTML='<span class="priority-two">P2</span>';break;case 3:s.innerHTML='<span class="priority-three">P3</span>';break;case 4:s.innerHTML='<span class="priority-four">P4</span>';break;case 5:s.innerHTML='<span class="priority-five">P5</span>'}e.prepend(s)}if(n.autoCaseName){const l=p.createElement("div");l.className="autoCase",l.innerHTML=`<span class="autoCase-css">${n.autoCaseName}</span>`,e.appendChild(l)}},r=function(e){const n=p.createElement("GRP"),t=this.createTop(e);return n.appendChild(t),e.children&&0<e.children.length&&(t.appendChild(h(e.expanded)),!1!==e.expanded&&(e=this.createChildren(e.children),n.appendChild(e))),{grp:n,top:t}},a=function(e){const n=p.createElement("t");var t=this.createTopic(e);return o(t,e),n.appendChild(t),n},l=function(e){const n=p.createElement("tpc");return n.nodeObj=e,n.dataset.nodeid="me"+e.id,n.draggable=this.draggable,n};const h=function(e){const n=p.createElement("epd");return n.innerText=!1!==e?"-":"+",n.expanded=!1!==e,n.className=!1!==e?"minus":"",n}},5928:(e,n,t)=>{"use strict";t.d(n,{F1:()=>function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/"/g,""")},tq:()=>i,pD:()=>o,cU:()=>r,iX:()=>a,gz:()=>function n(t){t.id=l();if(t.children)for(let e=0;e<t.children.length;e++)n(t.children[e])},P2:()=>s,Be:()=>function(e,n,t,i){n=i-n,e-=t;let o=Math.atan(Math.abs(n)/Math.abs(e))/3.14*180;e<0&&0<n&&(o=180-o);e<0&&n<0&&(o=180+o);0<e&&n<0&&(o=360-o);e=o+30;n=o-30;return{x1:t+20*Math.cos(Math.PI*e/180),y1:i-20*Math.sin(Math.PI*e/180),x2:t+20*Math.cos(Math.PI*n/180),y2:i-20*Math.sin(Math.PI*n/180)}},lk:()=>function(e,n,t){let i,o;var r=(e.cy-t)/(n-e.cx);o=r>e.h/e.w||r<-e.h/e.w?e.cy-t<0?(i=e.cx-e.h/2/r,e.cy+e.h/2):(i=e.cx+e.h/2/r,e.cy-e.h/2):e.cx-n<0?(i=e.cx+e.w/2,e.cy-e.w*r/2):(i=e.cx-e.w/2,e.cy+e.w*r/2);return{x:i,y:o}},Vg:()=>function(e,n,t){let i,o;var r=(e.cy-t)/(n-e.cx);o=r>e.h/e.w||r<-e.h/e.w?e.cy-t<0?(i=e.cx-e.h/2/r,e.cy+e.h/2):(i=e.cx+e.h/2/r,e.cy-e.h/2):e.cx-n<0?(i=e.cx+e.w/2,e.cy-e.w*r/2):(i=e.cx-e.w/2,e.cy+e.w*r/2);return{x:i,y:o}},DO:()=>l,yi:()=>function(){var e=l();return{topic:this.newTopicName||"new node",id:e}},Jg:()=>function(e,n){let t=!0;for(;n.parent;){if(n.parent===e){t=!1;break}n=n.parent}return t},SS:()=>function(e){const n=e.parent.children,t=n.indexOf(e),i=n[t];0===t?(n[t]=n[n.length-1],n[n.length-1]=i):(n[t]=n[t-1],n[t-1]=i)},qD:()=>function(e){const n=e.parent.children,t=n.indexOf(e),i=n[t];t===n.length-1?(n[t]=n[0],n[0]=i):(n[t]=n[t+1],n[t+1]=i)},B6:()=>d,_8:()=>function(e,n){const t=e.parent.children,i=t.indexOf(e);t.splice(i+1,0,n)},Ep:()=>function(e,n){const t=e.parent.children,i=t.indexOf(e);t.splice(i,0,n)},md:()=>function(e,n){d(e),n.children?n.children.push(e):n.children=[e]},FY:()=>function(e,n){d(e);const t=n.parent.children;let i=0;for(let e=0;e<t.length;e++)if(t[e]===n){i=e;break}t.splice(i,0,e)},QH:()=>function(e,n){d(e);const t=n.parent.children;let i=0;for(let e=0;e<t.length;e++)if(t[e]===n){i=e;break}t.splice(i+1,0,e)},Av:()=>c,Rj:()=>p});const i=()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),o=e=>e.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(e,n,t,i){return"#"+("0"+Number(n).toString(16)).substr(-2)+("0"+Number(t).toString(16)).substr(-2)+("0"+Number(i).toString(16)).substr(-2)}),r=function(n,t){if((t=t||this.nodeData).id===n)return t;if(!t.children||!t.children.length)return null;for(let e=0;e<t.children.length;e++){var i=r(n,t.children[e]);if(i)return i}},a=(n,e)=>{if(n.parent=e,n.children)for(let e=0;e<n.children.length;e++)a(n.children[e],n)};const s=(t,i)=>{var o=Date.now();return function(){var e=arguments,n=Date.now();i<=n-o&&(t.apply(this,e),o=Date.now())}};function l(){return((new Date).getTime().toString(16)+Math.random().toString(16).substr(2)).substr(2,16)}function d(e){const n=e.parent.children;e=n.indexOf(e);return n.splice(e,1),n.length}const c={afterMoving:!1,mousedown:!1,lastX:null,lastY:null,onMove(e,n,t){if(this.mousedown){if(this.afterMoving=!0,!this.lastX)return this.lastX=e.pageX,void(this.lastY=e.pageY);var i=this.lastX-e.pageX,o=this.lastY-e.pageY;n.scrollTo(n.scrollLeft+i,n.scrollTop+o),this.lastX=e.pageX,this.lastY=e.pageY,t.enableExternalInterface&&t.callingAnExternalInterface.changePosition(n.scrollLeft+i,n.scrollTop+o)}},clear(){this.afterMoving=!1,this.mousedown=!1,this.lastX=null,this.lastY=null}};function p(e){this.dom=e,this.mousedown=!1,this.lastX=null,this.lastY=null}p.prototype.init=function(e,i){this.handleMouseMove=e=>{if(e.stopPropagation(),this.mousedown){if(!this.lastX)return this.lastX=e.pageX,void(this.lastY=e.pageY);var n=this.lastX-e.pageX,t=this.lastY-e.pageY;i(n,t),this.lastX=e.pageX,this.lastY=e.pageY}},this.handleMouseDown=e=>{e.stopPropagation(),this.mousedown=!0},this.handleClear=e=>{e.stopPropagation(),this.clear()},e.addEventListener("mousemove",this.handleMouseMove),e.addEventListener("mouseleave",this.handleClear),e.addEventListener("mouseup",this.handleClear),this.dom.addEventListener("mousedown",this.handleMouseDown)},p.prototype.destory=function(e){e.removeEventListener("mousemove",this.handleMouseMove),e.removeEventListener("mouseleave",this.handleClear),e.removeEventListener("mouseup",this.handleClear),this.dom.removeEventListener("mousedown",this.handleMouseDown)},p.prototype.clear=function(){this.mousedown=!1,this.lastX=null,this.lastY=null}},6723:(e,n,t)=>{"use strict";function i(){this.handlers={}}t.d(n,{Z:()=>i}),i.prototype={showHandler:function(){console.log(this.handlers)},addListener:function(e,n){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(n)},fire:function(e,n){if(this.handlers[e]instanceof Array)for(var t=this.handlers[e],i=0;i<t.length;i++)t[i](n)},removeListener:function(e,n){if(this.handlers[e]){var t=this.handlers[e];if(n){if(t.length)for(var i=0;i<t.length;i++)t[i]===n&&this.handlers[e].splice(i,1)}else t.length=0}}}},8591:(e,n,t)=>{"use strict";t.d(n,{g:()=>i,c4:()=>o,W5:()=>s,Ep:()=>l,Mi:()=>d});const r=document,a="http://www.w3.org/2000/svg",i=function(e){const n=r.createElementNS(a,"path");return n.setAttribute("d",e),n.setAttribute("stroke","#666"),n.setAttribute("fill","none"),n.setAttribute("stroke-width","2"),n},o=function(e){const n=r.createElementNS(a,"svg");return n.setAttribute("class",e),n},s=function(e,n,t,i){const o=r.createElementNS(a,"line");return o.setAttribute("x1",e),o.setAttribute("y1",n),o.setAttribute("x2",t),o.setAttribute("y2",i),o.setAttribute("stroke","#bbb"),o.setAttribute("fill","none"),o.setAttribute("stroke-width","2"),o},l=function(e){const n=r.createElementNS(a,"path");return n.setAttribute("d",e),n.setAttribute("stroke","#555"),n.setAttribute("fill","none"),n.setAttribute("stroke-linecap","square"),n.setAttribute("stroke-width","1"),n.setAttribute("transform","translate(0.5,-0.5)"),n},d=function(e,n){const t=r.createElementNS(a,"g"),i=r.createElementNS(a,"path"),o=r.createElementNS(a,"path");return o.setAttribute("d",n),o.setAttribute("stroke","rgb(235, 95, 82)"),o.setAttribute("fill","none"),o.setAttribute("stroke-linecap","cap"),o.setAttribute("stroke-width","2"),i.setAttribute("d",e),i.setAttribute("stroke","rgb(235, 95, 82)"),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","cap"),i.setAttribute("stroke-width","2"),t.appendChild(i),t.appendChild(o),t}},9857:()=>{var e,n,t,i,o,r,a=window,s='<svg><symbol id="icon-edit" viewBox="0 0 1024 1024"><path d="M423.765333 128a42.666667 42.666667 0 0 1 3.2 85.205333L423.765333 213.333333H234.666667a64 64 0 0 0-63.872 60.245334L170.666667 277.333333v512a64 64 0 0 0 60.245333 63.872L234.666667 853.333333h512a64 64 0 0 0 63.872-60.245333L810.666667 789.333333v-189.098666a42.666667 42.666667 0 0 1 85.205333-3.2l0.128 3.2V789.333333a149.333333 149.333333 0 0 1-144.213333 149.248L746.666667 938.666667h-512a149.333333 149.333333 0 0 1-149.248-144.213334L85.333333 789.333333v-512a149.333333 149.333333 0 0 1 144.213334-149.248L234.666667 128h189.098666z m324.949334-53.248a42.666667 42.666667 0 0 1 60.330666 0l150.869334 150.869333a42.666667 42.666667 0 0 1 0 60.330667l-329.386667 329.386667a42.666667 42.666667 0 0 1-29.44 12.458666l-153.386667 2.517334a42.666667 42.666667 0 0 1-43.349333-43.349334l2.56-153.386666a42.666667 42.666667 0 0 1 12.458667-29.44z m30.165333 90.496L491.946667 452.266667l-1.493334 91.989333 92.032-1.493333 286.976-286.976-90.538666-90.538667z" ></path></symbol><symbol id="icon-rising" viewBox="0 0 1024 1024"><path d="M553.173333 803.84h-64l0.021334-474.581333-224.021334 224-45.269333-45.226667L521.6 206.293333l301.717333 301.696-45.269333 45.269334-224.853333-224.896v475.477333z" ></path></symbol><symbol id="icon-falling" viewBox="0 0 1024 1024"><path d="M553.173333 238.314667h-64l0.021334 474.602666-224.021334-224-45.269333 45.226667L521.6 835.861333l301.717333-301.717333-45.269333-45.226667-224.853333 224.853334V238.336z" ></path></symbol><symbol id="icon-shanchu2" viewBox="0 0 1024 1024"><path d="M516.60601807 107.93026734c-82.64382935 0-149.71865844 65.51751709-152.5729065 147.77160644H171.37136841c-21.40603638 0-38.92044068 17.38504028-38.92044068 38.92126465 0 21.40686036 17.38504028 38.92208862 38.92126466 38.92208862h42.94308471v435.40136719c0 81.73498536 55.39828492 148.55026245 123.90106201 148.55026245h348.99444581c68.37341309 0 123.90106201-66.42553711 123.901062-148.55026245V333.80477906h38.92126465c21.40686036 0 38.92126464-17.38586426 38.92126465-38.92208863 0-21.40686036-17.38504028-38.92126464-38.92126465-38.92126465H668.91854859C666.45321656 173.44860839 599.24902344 107.93109131 516.60601807 107.93109131z m-79.65939331 147.77160644c2.85424805-42.16442872 37.2354126-74.85809326 79.78875732-74.85809326s76.93450927 32.82302857 79.39984131 74.85809326H436.94662476z m-98.86047364 589.01165771c-24.2611084 0-50.98754883-31.13717651-50.98754883-75.76693725V333.80477906h450.97036744V769.33551026c0 44.50039673-26.72644043 75.76776123-50.98754884 75.76776122H338.08615112v-0.38973999z m0 0" ></path><path d="M390.37063599 751.17263794c17.77313232 0 32.43411255-17.7739563 32.43411255-40.08883667V482.35504151c0-22.31488037-14.53079224-40.08966065-32.43411255-40.08966065-17.77478027 0-32.43493653 17.77478027-32.43493653 40.08966065v228.72875976c0 22.18469239 14.27124023 40.08883667 32.43493653 40.08883667z m117.41308594 0c17.7739563 0 32.43411255-17.7739563 32.43411255-40.08883667V482.35504151c0-22.31488037-14.53079224-40.08966065-32.43411255-40.08966065-17.7739563 0-32.43493653 17.77478027-32.43493653 40.08966065v228.72875976c0 22.18469239 14.66098023 40.08883667 32.43493653 40.08883667z m123.51049804 0c17.7739563 0 32.43493653-17.7739563 32.43493652-40.08883667V482.35504151c0-22.31488037-14.53079224-40.08966065-32.43493652-40.08966065-17.7739563 0-32.43411255 17.77478027-32.43411255 40.08966065v228.72875976c0 22.18469239 14.14105224 40.08883667 32.43411255 40.08883667z m0 0" ></path></symbol><symbol id="icon-zijiedian" viewBox="0 0 1024 1024"><path d="M312.208 472c19.568-157.856 153.432-280 315.656-280 175.68 0 318.112 143.272 318.112 320S803.552 832 627.864 832c-162.224 0-296.08-122.144-315.656-280H120a40 40 0 0 1 0-80h192.208zM632 752c132.552 0 240-107.448 240-240 0-132.552-107.448-240-240-240-132.552 0-240 107.448-240 240 0 132.552 107.448 240 240 240z m-40-280v-80a40 40 0 0 1 80 0v80h80a40 40 0 0 1 0 80h-80v80a40 40 0 0 1-80 0v-80h-80a40 40 0 0 1 0-80h80z" ></path></symbol><symbol id="icon-tongjijiedian-" viewBox="0 0 1024 1024"><path d="M803.84 131.626667H410.24A59.733333 59.733333 0 0 0 350.506667 192v45.226667H199.68a51.626667 51.626667 0 0 0-51.626667 51.626666v465.92a51.626667 51.626667 0 0 0 51.626667 51.626667h187.52v-55.466667h-162.133333a21.333333 21.333333 0 0 1-21.333334-21.333333V313.386667a21.333333 21.333333 0 0 1 21.333334-21.333334h125.653333v64a59.733333 59.733333 0 0 0 59.733333 59.733334h393.386667a59.733333 59.733333 0 0 0 59.733333-59.733334V192a59.733333 59.733333 0 0 0-59.733333-60.373333z m4.266667 224.64a4.266667 4.266667 0 0 1-4.266667 4.266666H410.24a4.266667 4.266667 0 0 1-4.266667-4.266666V192a4.266667 4.266667 0 0 1 4.266667-4.266667h393.6a4.266667 4.266667 0 0 1 4.266667 4.266667zM716.16 749.44h-81.28v-81.493333a27.733333 27.733333 0 0 0-55.466667 0v81.28h-81.493333a27.733333 27.733333 0 1 0 0 55.466666h81.28v81.28a27.733333 27.733333 0 1 0 55.466667 0v-81.066666h81.28a27.733333 27.733333 0 0 0 0-55.466667z" ></path></symbol><symbol id="icon-close" viewBox="0 0 1024 1024"><path d="M557.312 513.248l265.28-263.904c12.544-12.48 12.608-32.704 0.128-45.248-12.512-12.576-32.704-12.608-45.248-0.128L512.128 467.904l-263.04-263.84c-12.448-12.48-32.704-12.544-45.248-0.064-12.512 12.48-12.544 32.736-0.064 45.28l262.976 263.776L201.6 776.8c-12.544 12.48-12.608 32.704-0.128 45.248a31.937 31.937 0 0 0 22.688 9.44c8.16 0 16.32-3.104 22.56-9.312l265.216-263.808 265.44 266.24c6.24 6.272 14.432 9.408 22.656 9.408a31.94 31.94 0 0 0 22.592-9.344c12.512-12.48 12.544-32.704 0.064-45.248L557.312 513.248z" fill="" ></path></symbol><symbol id="icon-menu" viewBox="0 0 1024 1024"><path d="M109.714 292.571h804.572c21.943 0 36.571-21.942 36.571-43.885 0-14.629-14.628-29.257-36.571-29.257H109.714c-21.943 0-36.571 14.628-36.571 36.571 0 14.629 14.628 36.571 36.571 36.571zM914.286 512H109.714c-21.943 0-36.571 14.629-36.571 36.571 0 14.629 14.628 36.572 36.571 36.572h804.572c21.943 0 36.571-21.943 36.571-43.886 0-14.628-14.628-29.257-36.571-29.257z m0 292.571H109.714c-21.943 0-36.571 14.629-36.571 36.572s14.628 36.571 36.571 36.571h804.572c21.943 0 36.571-21.943 36.571-36.571 0-21.943-14.628-36.572-36.571-36.572z" ></path></symbol><symbol id="icon-right" viewBox="0 0 1024 1024"><path d="M385 560.69999999L385 738.9c0 36.90000001 26.4 68.5 61.3 68.5l150.2 0c1.5 0 3-0.1 4.5-0.3 10.2 38.7 45.5 67.3 87.5 67.3 50 0 90.5-40.5 90.5-90.5s-40.5-90.5-90.5-90.5c-42 0-77.3 28.6-87.5 67.39999999-1.4-0.3-2.9-0.4-4.5-0.39999999L446.3 760.4c-6.8 0-14.3-8.9-14.3-21.49999999l0-427.00000001c0-12.7 7.40000001-21.5 14.30000001-21.5l150.19999999 0c1.5 0 3-0.2 4.5-0.4 10.2 38.8 45.5 67.3 87.5 67.3 50 0 90.5-40.5 90.5-90.4 0-49.9-40.5-90.6-90.5-90.59999999-42 0-77.3 28.6-87.5 67.39999999-1.4-0.2-2.9-0.4-4.49999999-0.4L446.3 243.3c-34.80000001 0-61.3 31.6-61.3 68.50000001L385 513.7l-79.1 0c-10.4-38.5-45.49999999-67-87.4-67-50 0-90.5 40.5-90.5 90.5s40.5 90.5 90.5 90.5c41.79999999 0 77.00000001-28.4 87.4-67L385 560.69999999z" fill="#333333" ></path></symbol><symbol id="icon-left" viewBox="0 0 1024 1024"><path d="M639 463.30000001L639 285.1c0-36.90000001-26.4-68.5-61.3-68.5l-150.2 0c-1.5 0-3 0.1-4.5 0.3-10.2-38.7-45.5-67.3-87.5-67.3-50 0-90.5 40.5-90.5 90.5s40.5 90.5 90.5 90.5c42 0 77.3-28.6 87.5-67.39999999 1.4 0.3 2.9 0.4 4.5 0.39999999L577.7 263.6c6.8 0 14.3 8.9 14.3 21.49999999l0 427.00000001c0 12.7-7.40000001 21.5-14.30000001 21.5l-150.19999999 0c-1.5 0-3 0.2-4.5 0.4-10.2-38.8-45.5-67.3-87.5-67.3-50 0-90.5 40.5-90.5 90.4 0 49.9 40.5 90.6 90.5 90.59999999 42 0 77.3-28.6 87.5-67.39999999 1.4 0.2 2.9 0.4 4.49999999 0.4L577.7 780.7c34.80000001 0 61.3-31.6 61.3-68.50000001L639 510.3l79.1 0c10.4 38.5 45.49999999 67 87.4 67 50 0 90.5-40.5 90.5-90.5s-40.5-90.5-90.5-90.5c-41.79999999 0-77.00000001 28.4-87.4 67L639 463.30000001z" fill="#333333" ></path></symbol><symbol id="icon-side" viewBox="0 0 1024 1024"><path d="M851.91168 328.45312c-59.97056 0-108.6208 48.47104-108.91264 108.36992l-137.92768 38.4a109.14304 109.14304 0 0 0-63.46752-46.58688l1.39264-137.11872c47.29344-11.86816 82.31936-54.66624 82.31936-105.64096 0-60.15488-48.76288-108.91776-108.91776-108.91776s-108.91776 48.76288-108.91776 108.91776c0 49.18784 32.60928 90.75712 77.38368 104.27392l-1.41312 138.87488a109.19936 109.19936 0 0 0-63.50336 48.55808l-138.93632-39.48544 0.01024-0.72704c0-60.15488-48.76288-108.91776-108.91776-108.91776s-108.91776 48.75776-108.91776 108.91776c0 60.15488 48.76288 108.91264 108.91776 108.91264 39.3984 0 73.91232-20.92032 93.03552-52.2496l139.19232 39.552-0.00512 0.2304c0 25.8304 9.00096 49.5616 24.02816 68.23424l-90.14272 132.63872a108.7488 108.7488 0 0 0-34.2528-5.504c-60.15488 0-108.91776 48.768-108.91776 108.91776 0 60.16 48.76288 108.91776 108.91776 108.91776 60.16 0 108.92288-48.75776 108.92288-108.91776 0-27.14624-9.9328-51.968-26.36288-71.04l89.04704-131.03104a108.544 108.544 0 0 0 37.6832 6.70208 108.672 108.672 0 0 0 36.48512-6.272l93.13792 132.57216a108.48256 108.48256 0 0 0-24.69888 69.0688c0 60.16 48.768 108.92288 108.91776 108.92288 60.16 0 108.91776-48.76288 108.91776-108.92288 0-60.14976-48.75776-108.91776-108.91776-108.91776a108.80512 108.80512 0 0 0-36.69504 6.3488l-93.07136-132.48a108.48768 108.48768 0 0 0 24.79616-72.22784l136.09984-37.888c18.99008 31.93856 53.84192 53.3504 93.69088 53.3504 60.16 0 108.92288-48.75776 108.92288-108.91264-0.00512-60.15488-48.77312-108.92288-108.92288-108.92288z" ></path></symbol><symbol id="icon-B" viewBox="0 0 1024 1024"><path d="M98.067692 65.457231H481.28c75.854769 0 132.411077 3.150769 169.668923 9.452307 37.336615 6.301538 70.656 19.534769 100.036923 39.620924 29.459692 20.007385 53.956923 46.710154 73.570462 80.029538 19.692308 33.398154 29.459692 70.734769 29.459692 112.167385 0 44.898462-12.130462 86.094769-36.233846 123.588923a224.886154 224.886154 0 0 1-98.461539 84.283077c58.368 17.092923 103.266462 46.08 134.695385 87.04 31.350154 40.96 47.025231 89.088 47.025231 144.462769 0 43.638154-10.082462 86.016-30.404923 127.212308-20.243692 41.196308-47.891692 74.043077-83.02277 98.697846-35.052308 24.654769-78.296615 39.778462-129.732923 45.449846-32.295385 3.465846-110.119385 5.671385-233.472 6.537846H98.067692V65.457231z m193.536 159.507692V446.621538h126.818462c75.460923 0 122.328615-1.024 140.603077-3.229538 33.083077-3.938462 59.155692-15.36 78.139077-34.343385 18.904615-18.904615 28.435692-43.874462 28.435692-74.830769 0-29.696-8.192-53.720615-24.497231-72.310154-16.384-18.510769-40.644923-29.696-72.940307-33.634461-19.140923-2.205538-74.279385-3.308308-165.415385-3.308308h-111.064615z m0 381.243077v256.315077h179.2c69.710769 0 113.979077-1.969231 132.726154-5.907692 28.750769-5.198769 52.145231-17.959385 70.262154-38.281847 18.116923-20.243692 27.096615-47.340308 27.096615-81.368615 0-28.750769-6.931692-53.169231-20.873846-73.255385a118.232615 118.232615 0 0 0-60.494769-43.795692c-26.387692-9.137231-83.574154-13.705846-171.638154-13.705846H291.603692z" ></path></symbol><symbol id="icon-a" viewBox="0 0 1024 1024"><path d="M757.76 665.6q0 20.48 1.536 34.304t7.68 22.016 18.944 12.288 34.304 4.096q-3.072 25.6-15.36 44.032-11.264 16.384-33.28 29.696t-62.976 13.312q-11.264 0-20.48-0.512t-17.408-2.56l-6.144-2.048-1.024 0q-4.096-1.024-10.24-4.096-2.048-2.048-4.096-2.048-1.024-1.024-2.048-1.024-14.336-8.192-23.552-17.408t-14.336-17.408q-6.144-10.24-9.216-20.48-63.488 75.776-178.176 75.776-48.128 0-88.064-15.36t-69.12-44.032-45.056-68.096-15.872-88.576 16.896-89.088 47.616-67.584 74.24-42.496 96.768-14.848q48.128 0 88.576 17.408t66.048 49.152q0-8.192 0.512-16.384t0.512-15.36q0-71.68-39.936-104.448t-128-32.768q-43.008 0-84.992 6.656t-84.992 17.92q14.336-28.672 25.088-47.616t24.064-29.184q30.72-24.576 158.72-24.576 79.872 0 135.168 13.824t90.624 43.52 51.2 75.264 15.872 108.032l0 200.704zM487.424 743.424q50.176 0 79.872-33.28t29.696-95.744q0-61.44-28.672-93.696t-76.8-32.256q-52.224 0-82.944 33.28t-30.72 94.72q0 58.368 31.744 92.672t77.824 34.304z" ></path></symbol><symbol id="icon-full" viewBox="0 0 1024 1024"><path d="M639.328 416c8.032 0 16.096-3.008 22.304-9.056l202.624-197.184-0.8 143.808c-0.096 17.696 14.144 32.096 31.808 32.192 0.064 0 0.128 0 0.192 0 17.6 0 31.904-14.208 32-31.808l1.248-222.208c0-0.672-0.352-1.248-0.384-1.92 0.032-0.512 0.288-0.896 0.288-1.408 0.032-17.664-14.272-32-31.968-32.032L671.552 96l-0.032 0c-17.664 0-31.968 14.304-32 31.968C639.488 145.632 653.824 160 671.488 160l151.872 0.224-206.368 200.8c-12.672 12.32-12.928 32.608-0.64 45.248C622.656 412.736 630.976 416 639.328 416z" ></path><path d="M896.032 639.552 896.032 639.552c-17.696 0-32 14.304-32.032 31.968l-0.224 151.872-200.832-206.4c-12.32-12.64-32.576-12.96-45.248-0.64-12.672 12.352-12.928 32.608-0.64 45.248l197.184 202.624-143.808-0.8c-0.064 0-0.128 0-0.192 0-17.6 0-31.904 14.208-32 31.808-0.096 17.696 14.144 32.096 31.808 32.192l222.24 1.248c0.064 0 0.128 0 0.192 0 0.64 0 1.12-0.32 1.76-0.352 0.512 0.032 0.896 0.288 1.408 0.288l0.032 0c17.664 0 31.968-14.304 32-31.968L928 671.584C928.032 653.952 913.728 639.584 896.032 639.552z" ></path><path d="M209.76 159.744l143.808 0.8c0.064 0 0.128 0 0.192 0 17.6 0 31.904-14.208 32-31.808 0.096-17.696-14.144-32.096-31.808-32.192L131.68 95.328c-0.064 0-0.128 0-0.192 0-0.672 0-1.248 0.352-1.888 0.384-0.448 0-0.8-0.256-1.248-0.256 0 0-0.032 0-0.032 0-17.664 0-31.968 14.304-32 31.968L96 352.448c-0.032 17.664 14.272 32 31.968 32.032 0 0 0.032 0 0.032 0 17.664 0 31.968-14.304 32-31.968l0.224-151.936 200.832 206.4c6.272 6.464 14.624 9.696 22.944 9.696 8.032 0 16.096-3.008 22.304-9.056 12.672-12.32 12.96-32.608 0.64-45.248L209.76 159.744z" ></path><path d="M362.368 617.056l-202.624 197.184 0.8-143.808c0.096-17.696-14.144-32.096-31.808-32.192-0.064 0-0.128 0-0.192 0-17.6 0-31.904 14.208-32 31.808l-1.248 222.24c0 0.704 0.352 1.312 0.384 2.016 0 0.448-0.256 0.832-0.256 1.312-0.032 17.664 14.272 32 31.968 32.032L352.448 928c0 0 0.032 0 0.032 0 17.664 0 31.968-14.304 32-31.968s-14.272-32-31.968-32.032l-151.936-0.224 206.4-200.832c12.672-12.352 12.96-32.608 0.64-45.248S375.008 604.704 362.368 617.056z" ></path></symbol><symbol id="icon-add" viewBox="0 0 1024 1024"><path d="M863.328 482.56l-317.344-1.12L545.984 162.816c0-17.664-14.336-32-32-32s-32 14.336-32 32l0 318.4L159.616 480.064c-0.032 0-0.064 0-0.096 0-17.632 0-31.936 14.24-32 31.904C127.424 529.632 141.728 544 159.392 544.064l322.592 1.152 0 319.168c0 17.696 14.336 32 32 32s32-14.304 32-32l0-318.944 317.088 1.12c0.064 0 0.096 0 0.128 0 17.632 0 31.936-14.24 32-31.904C895.264 496.992 880.96 482.624 863.328 482.56z" ></path></symbol><symbol id="icon-move" viewBox="0 0 1024 1024"><path d="M863.744 544 163.424 544c-17.664 0-32-14.336-32-32s14.336-32 32-32l700.32 0c17.696 0 32 14.336 32 32S881.44 544 863.744 544z" ></path></symbol><symbol id="icon-living" viewBox="0 0 1024 1024"><path d="M514.133333 488.533333m-106.666666 0a106.666667 106.666667 0 1 0 213.333333 0 106.666667 106.666667 0 1 0-213.333333 0Z" fill="#666666" ></path><path d="M512 64C264.533333 64 64 264.533333 64 512c0 236.8 183.466667 428.8 416 445.866667v-134.4c-53.333333-59.733333-200.533333-230.4-200.533333-334.933334 0-130.133333 104.533333-234.666667 234.666666-234.666666s234.666667 104.533333 234.666667 234.666666c0 61.866667-49.066667 153.6-145.066667 270.933334l-59.733333 68.266666V960C776.533333 942.933333 960 748.8 960 512c0-247.466667-200.533333-448-448-448z" fill="#666666" ></path></symbol></svg>',l=(l=document.getElementsByTagName("script"))[l.length-1].getAttribute("data-injectcss");if(l&&!a.__iconfont__svg__cssinject__){a.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(a){console&&console.log(a)}}function d(){o||(o=!0,t())}e=function(){var e,n,t,i;(i=document.createElement("div")).innerHTML=s,s=null,(t=i.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",e=t,(n=document.body).firstChild?(t=n.firstChild).parentNode.insertBefore(i=e,t):n.appendChild(e))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(e,0):(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),e()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(t=e,i=a.document,o=!1,(r=function(){try{i.documentElement.doScroll("left")}catch(e){return void setTimeout(r,50)}d()})(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,d())})}},o={},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),i(8589).default;function i(e){var n=o[e];if(void 0!==n)return n.exports;n=o[e]={id:e,exports:{}};return t[e](n,n.exports,i),n.exports}var t,o});
|