mind-elixir 4.2.2 → 4.2.3
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.iife.js +5 -7
- package/dist/MindElixir.js +363 -401
- package/dist/MindElixirLite.iife.js +5 -5
- package/dist/MindElixirLite.js +109 -110
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types/index.d.ts +0 -2
- package/package.json +1 -1
- package/dist/types/plugin/mobileMenu.d.ts +0 -3
package/dist/MindElixirLite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode(".mind-elixir{--gap: 30px;--root-radius: 30px;--main-radius: 20px;--root-color: #ffffff;--root-bgcolor: #4c4f69;--main-color: #444446;--main-bgcolor: #ffffff;--topic-padding: 3px;--color: #777777;--bgcolor: #f6f6f6;--selected: #4dc4ff;--panel-color: #444446;--panel-bgcolor: #ffffff;--panel-border-color: #eaeaea;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif}.mind-elixir .hyper-link{text-decoration:none;margin-left:.3em}.map-container{-webkit-user-select:none;user-select:none;height:100%;width:100%;overflow:scroll;font-size:15px}.map-container *{box-sizing:border-box}.map-container::-webkit-scrollbar{width:0px;height:0px}.map-container .selected{box-shadow:0 0 0 2px var(--selected)}.map-container .lhs{direction:rtl}.map-container .lhs me-tpc{direction:ltr}.map-container .map-canvas{height:20000px;width:20000px;position:relative;-webkit-user-select:none;user-select:none;transition:transform .3s;transform:scale(1);background-color:var(--bgcolor)}.map-container .map-canvas me-nodes{position:absolute;display:flex;justify-content:center;align-items:center;height:fit-content;width:fit-content}.map-container .map-canvas me-root{position:relative}.map-container .map-canvas me-root me-tpc{display:block;font-size:25px;color:var(--root-color);padding:10px var(--gap);border-radius:var(--root-radius);white-space:pre-wrap;background-color:var(--root-bgcolor)}.map-container .map-canvas me-root me-tpc #input-box{padding:10px var(--gap)}.map-container me-main>me-wrapper{position:relative;margin:45px 65px}.map-container me-main>me-wrapper>me-parent{margin:10px;padding:0}.map-container me-main>me-wrapper>me-parent>me-tpc{border-radius:var(--main-radius);background-color:var(--main-bgcolor);border:2px solid var(--main-color);color:var(--main-color);padding:8px 25px}.map-container me-main>me-wrapper>me-parent>me-tpc #input-box{padding:8px 25px}.map-container me-wrapper{display:block;pointer-events:none;width:fit-content}.map-container me-children,.map-container me-parent{display:inline-block;vertical-align:middle}.map-container me-parent{position:relative;cursor:pointer;padding:6px var(--gap);margin-top:10px}.map-container me-parent me-tpc{position:relative;display:block;border-radius:3px;color:var(--color);pointer-events:all;max-width:35em;white-space:pre-wrap;padding:var(--topic-padding)}.map-container me-parent me-tpc .insert-preview{position:absolute;width:100%;left:0;z-index:9}.map-container me-parent me-tpc .show{background:#7ad5ff;pointer-events:none;opacity:.7}.map-container me-parent me-tpc .before{height:14px;top:-14px}.map-container me-parent me-tpc .in{height:100%;top:0}.map-container me-parent me-tpc .after{height:14px;bottom:-14px}.map-container me-parent me-epd{position:absolute;height:18px;width:18px;opacity:.8;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdD0iMTY1NjY1NDcxNzI0MiIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgICA8cGF0aCBkPSJNNTEyIDc0LjY2NjY2N0MyNzAuOTMzMzMzIDc0LjY2NjY2NyA3NC42NjY2NjcgMjcwLjkzMzMzMyA3NC42NjY2NjcgNTEyUzI3MC45MzMzMzMgOTQ5LjMzMzMzMyA1MTIgOTQ5LjMzMzMzMyA5NDkuMzMzMzMzIDc1My4wNjY2NjcgOTQ5LjMzMzMzMyA1MTIgNzUzLjA2NjY2NyA3NC42NjY2NjcgNTEyIDc0LjY2NjY2N3oiIHN0cm9rZS13aWR0aD0iNTQiIHN0cm9rZT0nYmxhY2snIGZpbGw9J3doaXRlJyA+PC9wYXRoPgogICAgPHBhdGggZD0iTTY4Mi42NjY2NjcgNDgwaC0xMzguNjY2NjY3VjM0MS4zMzMzMzNjMC0xNy4wNjY2NjctMTQuOTMzMzMzLTMyLTMyLTMycy0zMiAxNC45MzMzMzMtMzIgMzJ2MTM4LjY2NjY2N0gzNDEuMzMzMzMzYy0xNy4wNjY2NjcgMC0zMiAxNC45MzMzMzMtMzIgMzJzMTQuOTMzMzMzIDMyIDMyIDMyaDEzOC42NjY2NjdWNjgyLjY2NjY2N2MwIDE3LjA2NjY2NyAxNC45MzMzMzMgMzIgMzIgMzJzMzItMTQuOTMzMzMzIDMyLTMydi0xMzguNjY2NjY3SDY4Mi42NjY2NjdjMTcuMDY2NjY3IDAgMzItMTQuOTMzMzMzIDMyLTMycy0xNC45MzMzMzMtMzItMzItMzJ6Ij48L3BhdGg+Cjwvc3ZnPg==);background-repeat:no-repeat;background-size:contain;background-position:center;pointer-events:all;z-index:9}.map-container me-parent me-epd.minus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdD0iMTY1NjY1NTU2NDk4NSIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgICA8cGF0aCBkPSJNNTEyIDc0LjY2NjY2N0MyNzAuOTMzMzMzIDc0LjY2NjY2NyA3NC42NjY2NjcgMjcwLjkzMzMzMyA3NC42NjY2NjcgNTEyUzI3MC45MzMzMzMgOTQ5LjMzMzMzMyA1MTIgOTQ5LjMzMzMzMyA5NDkuMzMzMzMzIDc1My4wNjY2NjcgOTQ5LjMzMzMzMyA1MTIgNzUzLjA2NjY2NyA3NC42NjY2NjcgNTEyIDc0LjY2NjY2N3oiIHN0cm9rZS13aWR0aD0iNTQiIHN0cm9rZT0nYmxhY2snIGZpbGw9J3doaXRlJyA+PC9wYXRoPgogICAgPHBhdGggZD0iTTY4Mi42NjY2NjcgNTQ0SDM0MS4zMzMzMzNjLTE3LjA2NjY2NyAwLTMyLTE0LjkzMzMzMy0zMi0zMnMxNC45MzMzMzMtMzIgMzItMzJoMzQxLjMzMzMzNGMxNy4wNjY2NjcgMCAzMiAxNC45MzMzMzMgMzIgMzJzLTE0LjkzMzMzMyAzMi0zMiAzMnoiPjwvcGF0aD4KPC9zdmc+)!important;transition:opacity .3s;opacity:0}.map-container me-parent me-epd.minus:hover{opacity:.8}.map-container .icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.map-container .lines,.map-container .summary,.map-container .subLines,.map-container .topiclinks,.map-container .linkcontroller{position:absolute;height:102%;width:100%;top:0;left:0}.map-container .topiclinks,.map-container .linkcontroller,.map-container .summary{pointer-events:none}.map-container .topiclinks text,.map-container .linkcontroller text,.map-container .summary text{pointer-events:all}.map-container .topiclinks .selected,.map-container .linkcontroller .selected,.map-container .summary .selected{pointer-events:none}.map-container .lines,.map-container .subLines{pointer-events:none;z-index:-1}.map-container .topiclinks *,.map-container .linkcontroller *{z-index:100}.map-container .topiclinks g{cursor:pointer}.map-container #input-box{position:absolute;top:0;left:0;padding:var(--topic-padding);color:var(--color);background-color:var(--bgcolor);width:max-content;max-width:35em;z-index:11;direction:ltr;-webkit-user-select:auto;user-select:auto;pointer-events:all}.map-container me-tpc>*{pointer-events:none}.map-container me-tpc>a{pointer-events:auto}.map-container me-tpc>img{display:block;margin-bottom:8px;object-fit:cover}.map-container me-tpc>.text{display:inline-block}.map-container .circle{position:absolute;height:10px;width:10px;margin-top:-5px;margin-left:-5px;border-radius:100%;background:#757575;border:2px solid #ffffff;cursor:pointer}.map-container .tags{direction:ltr}.map-container .tags span{display:inline-block;border-radius:3px;padding:2px 4px;background:#d6f0f8;color:#276f86;margin:2px 3px 0 0;font-size:12px;line-height:1.3em}.map-container .icons{display:inline-block;direction:ltr;margin-right:10px}.map-container .icons span{display:inline-block;line-height:1.3em}.map-container .mind-elixir-ghost{position:fixed;top:-100%;left:-100%;box-sizing:content-box;opacity:.5;background-color:#f6f6f6;max-width:200px;width:fit-content;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:8px 16px;border-radius:6px;border:#666666 2px solid}.map-container .selection-area{background:#4f90f22d;border:1px solid #4f90f2}.mind-elixir .context-menu{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99}.mind-elixir .context-menu .menu-list{position:fixed;list-style:none;margin:0;padding:0;color:var(--panel-color);box-shadow:0 12px 15px #0003;border-radius:5px;overflow:hidden}.mind-elixir .context-menu .menu-list li{min-width:200px;overflow:hidden;white-space:nowrap;padding:6px 10px;background:var(--panel-bgcolor);border-bottom:1px solid var(--panel-border-color);cursor:pointer}.mind-elixir .context-menu .menu-list li span{line-height:20px}.mind-elixir .context-menu .menu-list li a{color:#333;text-decoration:none}.mind-elixir .context-menu .menu-list li.disabled{display:none}.mind-elixir .context-menu .menu-list li:hover{filter:brightness(.95)}.mind-elixir .context-menu .menu-list li:last-child{border-bottom:0}.mind-elixir .context-menu .menu-list li span:last-child{float:right}.mind-elixir .context-menu .key{font-size:10px;background-color:#f1f1f1;color:#333;padding:2px 5px;border-radius:3px}.mind-elixir .tips{position:absolute;bottom:20px;left:50%;transform:translate(-50%);color:var(--panel-color);font-weight:bolder}.mind-elixir .mobile-menu{position:absolute;left:20px;bottom:70px;z-index:99;margin:0;padding:0;color:#333;border-radius:5px;box-shadow:0 12px 15px #0003;overflow:hidden}.mind-elixir .mobile-menu *{transition:color .4s,background-color .4s}.mind-elixir .mobile-menu div{float:left;text-align:center;width:30px;overflow:hidden;white-space:nowrap;padding:8px;background-color:#fff;border-bottom:1px solid #ecf0f1}.mind-elixir .mobile-menu div a{color:#333;text-decoration:none}.mind-elixir .mobile-menu div.disabled{color:#5e5e5e;background-color:#f7f7f7}.mind-elixir .mobile-menu div.disabled:hover{cursor:default;background-color:#f7f7f7}.mind-elixir .mobile-menu div:hover{cursor:pointer;background-color:#ecf0f1}.mind-elixir-toolbar{font-family:iconfont;position:absolute;color:var(--panel-color);background:var(--panel-bgcolor);padding:10px;border-radius:5px;box-shadow:0 1px 2px #0003}.mind-elixir-toolbar svg{display:inline-block}.mind-elixir-toolbar span:active{opacity:.5}.mind-elixir-toolbar.rb{right:20px;bottom:20px}.mind-elixir-toolbar.rb span+span{margin-left:10px}.mind-elixir-toolbar.lt{font-size:20px;left:20px;top:20px}.mind-elixir-toolbar.lt span{display:block}.mind-elixir-toolbar.lt span+span{margin-top:10px}")),document.head.appendChild(i)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode(".mind-elixir{--gap: 30px;--root-radius: 30px;--main-radius: 20px;--root-color: #ffffff;--root-bgcolor: #4c4f69;--main-color: #444446;--main-bgcolor: #ffffff;--topic-padding: 3px;--color: #777777;--bgcolor: #f6f6f6;--selected: #4dc4ff;--panel-color: #444446;--panel-bgcolor: #ffffff;--panel-border-color: #eaeaea;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif}.mind-elixir .hyper-link{text-decoration:none;margin-left:.3em}.map-container{-webkit-user-select:none;user-select:none;height:100%;width:100%;overflow:scroll;font-size:15px}.map-container *{box-sizing:border-box}.map-container::-webkit-scrollbar{width:0px;height:0px}.map-container .selected{box-shadow:0 0 0 2px var(--selected)}.map-container .lhs{direction:rtl}.map-container .lhs me-tpc{direction:ltr}.map-container .map-canvas{height:20000px;width:20000px;position:relative;-webkit-user-select:none;user-select:none;transition:transform .3s;transform:scale(1);background-color:var(--bgcolor)}.map-container .map-canvas me-nodes{position:absolute;display:flex;justify-content:center;align-items:center;height:fit-content;width:fit-content}.map-container .map-canvas me-root{position:relative}.map-container .map-canvas me-root me-tpc{display:block;font-size:25px;color:var(--root-color);padding:10px var(--gap);border-radius:var(--root-radius);white-space:pre-wrap;background-color:var(--root-bgcolor)}.map-container .map-canvas me-root me-tpc #input-box{padding:10px var(--gap)}.map-container me-main>me-wrapper{position:relative;margin:45px 65px}.map-container me-main>me-wrapper>me-parent{margin:10px;padding:0}.map-container me-main>me-wrapper>me-parent>me-tpc{border-radius:var(--main-radius);background-color:var(--main-bgcolor);border:2px solid var(--main-color);color:var(--main-color);padding:8px 25px}.map-container me-main>me-wrapper>me-parent>me-tpc #input-box{padding:8px 25px}.map-container me-wrapper{display:block;pointer-events:none;width:fit-content}.map-container me-children,.map-container me-parent{display:inline-block;vertical-align:middle}.map-container me-parent{position:relative;cursor:pointer;padding:6px var(--gap);margin-top:10px}.map-container me-parent me-tpc{position:relative;display:block;border-radius:3px;color:var(--color);pointer-events:all;max-width:35em;white-space:pre-wrap;padding:var(--topic-padding)}.map-container me-parent me-tpc .insert-preview{position:absolute;width:100%;left:0;z-index:9}.map-container me-parent me-tpc .show{background:#7ad5ff;pointer-events:none;opacity:.7}.map-container me-parent me-tpc .before{height:14px;top:-14px}.map-container me-parent me-tpc .in{height:100%;top:0}.map-container me-parent me-tpc .after{height:14px;bottom:-14px}.map-container me-parent me-epd{position:absolute;height:18px;width:18px;opacity:.8;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdD0iMTY1NjY1NDcxNzI0MiIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgICA8cGF0aCBkPSJNNTEyIDc0LjY2NjY2N0MyNzAuOTMzMzMzIDc0LjY2NjY2NyA3NC42NjY2NjcgMjcwLjkzMzMzMyA3NC42NjY2NjcgNTEyUzI3MC45MzMzMzMgOTQ5LjMzMzMzMyA1MTIgOTQ5LjMzMzMzMyA5NDkuMzMzMzMzIDc1My4wNjY2NjcgOTQ5LjMzMzMzMyA1MTIgNzUzLjA2NjY2NyA3NC42NjY2NjcgNTEyIDc0LjY2NjY2N3oiIHN0cm9rZS13aWR0aD0iNTQiIHN0cm9rZT0nYmxhY2snIGZpbGw9J3doaXRlJyA+PC9wYXRoPgogICAgPHBhdGggZD0iTTY4Mi42NjY2NjcgNDgwaC0xMzguNjY2NjY3VjM0MS4zMzMzMzNjMC0xNy4wNjY2NjctMTQuOTMzMzMzLTMyLTMyLTMycy0zMiAxNC45MzMzMzMtMzIgMzJ2MTM4LjY2NjY2N0gzNDEuMzMzMzMzYy0xNy4wNjY2NjcgMC0zMiAxNC45MzMzMzMtMzIgMzJzMTQuOTMzMzMzIDMyIDMyIDMyaDEzOC42NjY2NjdWNjgyLjY2NjY2N2MwIDE3LjA2NjY2NyAxNC45MzMzMzMgMzIgMzIgMzJzMzItMTQuOTMzMzMzIDMyLTMydi0xMzguNjY2NjY3SDY4Mi42NjY2NjdjMTcuMDY2NjY3IDAgMzItMTQuOTMzMzMzIDMyLTMycy0xNC45MzMzMzMtMzItMzItMzJ6Ij48L3BhdGg+Cjwvc3ZnPg==);background-repeat:no-repeat;background-size:contain;background-position:center;pointer-events:all;z-index:9}.map-container me-parent me-epd.minus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdD0iMTY1NjY1NTU2NDk4NSIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgICA8cGF0aCBkPSJNNTEyIDc0LjY2NjY2N0MyNzAuOTMzMzMzIDc0LjY2NjY2NyA3NC42NjY2NjcgMjcwLjkzMzMzMyA3NC42NjY2NjcgNTEyUzI3MC45MzMzMzMgOTQ5LjMzMzMzMyA1MTIgOTQ5LjMzMzMzMyA5NDkuMzMzMzMzIDc1My4wNjY2NjcgOTQ5LjMzMzMzMyA1MTIgNzUzLjA2NjY2NyA3NC42NjY2NjcgNTEyIDc0LjY2NjY2N3oiIHN0cm9rZS13aWR0aD0iNTQiIHN0cm9rZT0nYmxhY2snIGZpbGw9J3doaXRlJyA+PC9wYXRoPgogICAgPHBhdGggZD0iTTY4Mi42NjY2NjcgNTQ0SDM0MS4zMzMzMzNjLTE3LjA2NjY2NyAwLTMyLTE0LjkzMzMzMy0zMi0zMnMxNC45MzMzMzMtMzIgMzItMzJoMzQxLjMzMzMzNGMxNy4wNjY2NjcgMCAzMiAxNC45MzMzMzMgMzIgMzJzLTE0LjkzMzMzMyAzMi0zMiAzMnoiPjwvcGF0aD4KPC9zdmc+)!important;transition:opacity .3s;opacity:0}.map-container me-parent me-epd.minus:hover{opacity:.8}.map-container .icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.map-container .lines,.map-container .summary,.map-container .subLines,.map-container .topiclinks,.map-container .linkcontroller{position:absolute;height:102%;width:100%;top:0;left:0}.map-container .topiclinks,.map-container .linkcontroller,.map-container .summary{pointer-events:none}.map-container .topiclinks text,.map-container .linkcontroller text,.map-container .summary text{pointer-events:all}.map-container .topiclinks .selected,.map-container .linkcontroller .selected,.map-container .summary .selected{pointer-events:none}.map-container .lines,.map-container .subLines{pointer-events:none;z-index:-1}.map-container .topiclinks *,.map-container .linkcontroller *{z-index:100}.map-container .topiclinks g{cursor:pointer}.map-container #input-box{position:absolute;top:0;left:0;padding:var(--topic-padding);color:var(--color);background-color:var(--bgcolor);width:max-content;max-width:35em;z-index:11;direction:ltr;-webkit-user-select:auto;user-select:auto;pointer-events:all}.map-container me-tpc>*{pointer-events:none}.map-container me-tpc>a{pointer-events:auto}.map-container me-tpc>img{display:block;margin-bottom:8px;object-fit:cover}.map-container me-tpc>.text{display:inline-block}.map-container .circle{position:absolute;height:10px;width:10px;margin-top:-5px;margin-left:-5px;border-radius:100%;background:#757575;border:2px solid #ffffff;cursor:pointer}.map-container .tags{direction:ltr}.map-container .tags span{display:inline-block;border-radius:3px;padding:2px 4px;background:#d6f0f8;color:#276f86;margin:2px 3px 0 0;font-size:12px;line-height:1.3em}.map-container .icons{display:inline-block;direction:ltr;margin-right:10px}.map-container .icons span{display:inline-block;line-height:1.3em}.map-container .mind-elixir-ghost{position:fixed;top:-100%;left:-100%;box-sizing:content-box;opacity:.5;background-color:#f6f6f6;max-width:200px;width:fit-content;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:8px 16px;border-radius:6px;border:#666666 2px solid}.map-container .selection-area{background:#4f90f22d;border:1px solid #4f90f2}.mind-elixir .context-menu{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99}.mind-elixir .context-menu .menu-list{position:fixed;list-style:none;margin:0;padding:0;color:var(--panel-color);box-shadow:0 12px 15px #0003;border-radius:5px;overflow:hidden}.mind-elixir .context-menu .menu-list li{min-width:200px;overflow:hidden;white-space:nowrap;padding:6px 10px;background:var(--panel-bgcolor);border-bottom:1px solid var(--panel-border-color);cursor:pointer}.mind-elixir .context-menu .menu-list li span{line-height:20px}.mind-elixir .context-menu .menu-list li a{color:#333;text-decoration:none}.mind-elixir .context-menu .menu-list li.disabled{display:none}.mind-elixir .context-menu .menu-list li:hover{filter:brightness(.95)}.mind-elixir .context-menu .menu-list li:last-child{border-bottom:0}.mind-elixir .context-menu .menu-list li span:last-child{float:right}.mind-elixir .context-menu .key{font-size:10px;background-color:#f1f1f1;color:#333;padding:2px 5px;border-radius:3px}.mind-elixir .tips{position:absolute;bottom:20px;left:50%;transform:translate(-50%);color:var(--panel-color);font-weight:bolder}.mind-elixir-toolbar{font-family:iconfont;position:absolute;color:var(--panel-color);background:var(--panel-bgcolor);padding:10px;border-radius:5px;box-shadow:0 1px 2px #0003}.mind-elixir-toolbar svg{display:inline-block}.mind-elixir-toolbar span:active{opacity:.5}.mind-elixir-toolbar.rb{right:20px;bottom:20px}.mind-elixir-toolbar.rb span+span{margin-left:10px}.mind-elixir-toolbar.lt{font-size:20px;left:20px;top:20px}.mind-elixir-toolbar.lt span{display:block}.mind-elixir-toolbar.lt span+span{margin-top:10px}")),document.head.appendChild(i)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
(function(e) {
|
|
3
3
|
var t, n, o, s, i, r, l = '<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="" ></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="" ></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="" ></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="" ></path></symbol></svg>', c = (c = document.getElementsByTagName("script"))[c.length - 1].getAttribute("data-injectcss");
|
|
4
4
|
if (c && !e.__iconfont__svg__cssinject__) {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
s.readyState == "complete" && (s.onreadystatechange = null, d());
|
|
30
30
|
});
|
|
31
31
|
})(window);
|
|
32
|
-
const q = 0,
|
|
32
|
+
const q = 0, Q = 1, Z = 2, N = 30, ve = {
|
|
33
33
|
name: "Latte",
|
|
34
34
|
palette: ["#dd7878", "#ea76cb", "#8839ef", "#e64553", "#fe640b", "#df8e1d", "#40a02b", "#209fb5", "#1e66f5", "#7287fd"],
|
|
35
35
|
cssVar: {
|
|
@@ -57,22 +57,22 @@ const q = 0, Z = 1, ee = 2, N = 30, ve = {
|
|
|
57
57
|
function ie(e) {
|
|
58
58
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/"/g, """);
|
|
59
59
|
}
|
|
60
|
-
const
|
|
60
|
+
const K = function(e, t) {
|
|
61
61
|
if (t.id === e)
|
|
62
62
|
return t;
|
|
63
63
|
if (t.children && t.children.length) {
|
|
64
64
|
for (let n = 0; n < t.children.length; n++) {
|
|
65
|
-
const o =
|
|
65
|
+
const o = K(e, t.children[n]);
|
|
66
66
|
if (o)
|
|
67
67
|
return o;
|
|
68
68
|
}
|
|
69
69
|
return null;
|
|
70
70
|
} else
|
|
71
71
|
return null;
|
|
72
|
-
},
|
|
72
|
+
}, ee = (e, t) => {
|
|
73
73
|
if (e.parent = t, e.children)
|
|
74
74
|
for (let n = 0; n < e.children.length; n++)
|
|
75
|
-
|
|
75
|
+
ee(e.children[n], e);
|
|
76
76
|
};
|
|
77
77
|
function be(e, t, n, o) {
|
|
78
78
|
const s = o - t, i = e - n;
|
|
@@ -86,11 +86,11 @@ function be(e, t, n, o) {
|
|
|
86
86
|
y2: o - Math.sin(Math.PI * h / 180) * l
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function te() {
|
|
90
90
|
return ((/* @__PURE__ */ new Date()).getTime().toString(16) + Math.random().toString(16).substr(2)).substr(2, 16);
|
|
91
91
|
}
|
|
92
92
|
const $e = function() {
|
|
93
|
-
const e =
|
|
93
|
+
const e = te();
|
|
94
94
|
return {
|
|
95
95
|
topic: this.newTopicName,
|
|
96
96
|
id: e
|
|
@@ -100,7 +100,7 @@ const $e = function() {
|
|
|
100
100
|
for (; t && t !== e; )
|
|
101
101
|
n += t.offsetLeft, o += t.offsetTop, t = t.offsetParent;
|
|
102
102
|
return { offsetLeft: n, offsetTop: o };
|
|
103
|
-
},
|
|
103
|
+
}, x = (e, t) => {
|
|
104
104
|
for (const n in t)
|
|
105
105
|
e.setAttribute(n, t[n]);
|
|
106
106
|
}, re = (e) => e ? e.tagName === "ME-TPC" : !1, k = {
|
|
@@ -191,32 +191,32 @@ const De = {
|
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
|
-
},
|
|
194
|
+
}, U = document, He = function() {
|
|
195
195
|
this.nodes.innerHTML = "";
|
|
196
196
|
const e = this.createTopic(this.nodeData);
|
|
197
197
|
xe(e, this.nodeData), e.draggable = !1;
|
|
198
|
-
const t =
|
|
198
|
+
const t = U.createElement("me-root");
|
|
199
199
|
t.appendChild(e);
|
|
200
200
|
const n = this.nodeData.children || [];
|
|
201
|
-
if (this.direction ===
|
|
201
|
+
if (this.direction === Z) {
|
|
202
202
|
let o = 0, s = 0;
|
|
203
203
|
n.map((i) => {
|
|
204
|
-
i.direction === q ? o += 1 : i.direction ===
|
|
204
|
+
i.direction === q ? o += 1 : i.direction === Q ? s += 1 : o <= s ? (i.direction = q, o += 1) : (i.direction = Q, s += 1);
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
207
|
Be(this, n, t);
|
|
208
208
|
}, Be = function(e, t, n) {
|
|
209
|
-
const o =
|
|
209
|
+
const o = U.createElement("me-main");
|
|
210
210
|
o.className = "lhs";
|
|
211
|
-
const s =
|
|
211
|
+
const s = U.createElement("me-main");
|
|
212
212
|
s.className = "rhs";
|
|
213
213
|
for (let i = 0; i < t.length; i++) {
|
|
214
214
|
const r = t[i], { grp: l } = e.createWrapper(r);
|
|
215
|
-
e.direction ===
|
|
215
|
+
e.direction === Z ? r.direction === q ? o.appendChild(l) : s.appendChild(l) : e.direction === q ? o.appendChild(l) : s.appendChild(l);
|
|
216
216
|
}
|
|
217
217
|
e.nodes.appendChild(o), e.nodes.appendChild(n), e.nodes.appendChild(s), e.nodes.appendChild(e.lines);
|
|
218
218
|
}, Pe = function(e, t) {
|
|
219
|
-
const n =
|
|
219
|
+
const n = U.createElement("me-children");
|
|
220
220
|
for (let o = 0; o < t.length; o++) {
|
|
221
221
|
const s = t[o], { grp: i } = e.createWrapper(s);
|
|
222
222
|
n.appendChild(i);
|
|
@@ -316,13 +316,13 @@ const Re = function(e) {
|
|
|
316
316
|
return t.expanded = e !== !1, t.className = e !== !1 ? "minus" : "", t;
|
|
317
317
|
}, O = document, j = "http://www.w3.org/2000/svg", _e = function(e, t, n) {
|
|
318
318
|
const o = O.createElementNS(j, "path");
|
|
319
|
-
return
|
|
319
|
+
return x(o, {
|
|
320
320
|
d: e,
|
|
321
321
|
stroke: t || "#666",
|
|
322
322
|
fill: "none",
|
|
323
323
|
"stroke-width": n
|
|
324
324
|
}), o;
|
|
325
|
-
},
|
|
325
|
+
}, I = function(e) {
|
|
326
326
|
const t = O.createElementNS(j, "svg");
|
|
327
327
|
return t.setAttribute("class", e), t.setAttribute("overflow", "visible"), t;
|
|
328
328
|
}, le = function() {
|
|
@@ -335,10 +335,10 @@ const Re = function(e) {
|
|
|
335
335
|
"stroke-linecap": "cap",
|
|
336
336
|
"stroke-width": "2"
|
|
337
337
|
}, o = O.createElementNS(j, "g"), s = O.createElementNS(j, "path"), i = O.createElementNS(j, "path");
|
|
338
|
-
return
|
|
338
|
+
return x(i, {
|
|
339
339
|
d: t,
|
|
340
340
|
...n
|
|
341
|
-
}),
|
|
341
|
+
}), x(s, {
|
|
342
342
|
d: e,
|
|
343
343
|
...n,
|
|
344
344
|
"stroke-dasharray": "8,2"
|
|
@@ -370,13 +370,13 @@ const Re = function(e) {
|
|
|
370
370
|
const r = this.map.querySelectorAll("me-main > me-wrapper");
|
|
371
371
|
this.lines.innerHTML = "";
|
|
372
372
|
for (let l = 0; l < r.length; l++) {
|
|
373
|
-
const c = r[l], d = c.querySelector("me-tpc"), { offsetLeft: h, offsetTop: a } = A(this.nodes, d), f = d.offsetWidth, m = d.offsetHeight, u = c.parentNode.className, p = this.generateMainBranch({ pT: n, pL: o, pW: s, pH: i, cT: a, cL: h, cW: f, cH: m, direction: u, containerHeight: this.nodes.offsetHeight }), g = this.theme.palette,
|
|
374
|
-
d.style.borderColor =
|
|
375
|
-
const
|
|
376
|
-
if (
|
|
373
|
+
const c = r[l], d = c.querySelector("me-tpc"), { offsetLeft: h, offsetTop: a } = A(this.nodes, d), f = d.offsetWidth, m = d.offsetHeight, u = c.parentNode.className, p = this.generateMainBranch({ pT: n, pL: o, pW: s, pH: i, cT: a, cL: h, cW: f, cH: m, direction: u, containerHeight: this.nodes.offsetHeight }), g = this.theme.palette, y = d.nodeObj.branchColor || g[l % g.length];
|
|
374
|
+
d.style.borderColor = y, this.lines.appendChild(_e(p, y, "3"));
|
|
375
|
+
const v = c.children[0].children[1];
|
|
376
|
+
if (v && (v.style.top = (v.parentNode.offsetHeight - v.offsetHeight) / 2 + "px", u === "lhs" ? v.style.left = "-10px" : v.style.right = "-10px"), e && e !== c)
|
|
377
377
|
continue;
|
|
378
|
-
const
|
|
379
|
-
_.tagName === "svg" && _.remove(), c.appendChild(
|
|
378
|
+
const w = I("subLines"), _ = c.lastChild;
|
|
379
|
+
_.tagName === "svg" && _.remove(), c.appendChild(w), Se(this, w, y, c, u, !0);
|
|
380
380
|
}
|
|
381
381
|
this.renderArrow(), this.renderSummary(), this.bus.fire("linkDiv");
|
|
382
382
|
}, Se = function(e, t, n, o, s, i) {
|
|
@@ -385,15 +385,15 @@ const Re = function(e) {
|
|
|
385
385
|
return;
|
|
386
386
|
const c = r.offsetTop, d = r.offsetLeft, h = r.offsetWidth, a = r.offsetHeight;
|
|
387
387
|
for (let f = 0; f < l.length; f++) {
|
|
388
|
-
const m = l[f], u = m.firstChild, p = u.offsetTop, g = u.offsetLeft,
|
|
389
|
-
t.appendChild(_e(_,
|
|
388
|
+
const m = l[f], u = m.firstChild, p = u.offsetTop, g = u.offsetLeft, y = u.offsetWidth, v = u.offsetHeight, w = u.firstChild.nodeObj.branchColor || n, _ = e.generateSubBranch({ pT: c, pL: d, pW: h, pH: a, cT: p, cL: g, cW: y, cH: v, direction: s, isFirst: i });
|
|
389
|
+
t.appendChild(_e(_, w, "2"));
|
|
390
390
|
const E = u.children[1];
|
|
391
391
|
if (E) {
|
|
392
392
|
if (E.style.bottom = -(E.offsetHeight / 2) + "px", s === "lhs" ? E.style.left = "10px" : s === "rhs" && (E.style.right = "10px"), !E.expanded)
|
|
393
393
|
continue;
|
|
394
394
|
} else
|
|
395
395
|
continue;
|
|
396
|
-
Se(e, t,
|
|
396
|
+
Se(e, t, w, m, s);
|
|
397
397
|
}
|
|
398
398
|
};
|
|
399
399
|
const B = (e, t) => {
|
|
@@ -428,10 +428,10 @@ function Ye(e) {
|
|
|
428
428
|
e.container.append(We(e)), e.container.append(Xe(e));
|
|
429
429
|
}
|
|
430
430
|
/*! @viselect/vanilla v3.6.0 MIT | https://github.com/Simonwep/selection/tree/master/packages/vanilla */
|
|
431
|
-
var Ge = Object.defineProperty, Ke = (e, t, n) => t in e ? Ge(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n,
|
|
431
|
+
var Ge = Object.defineProperty, Ke = (e, t, n) => t in e ? Ge(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, b = (e, t, n) => Ke(e, typeof t != "symbol" ? t + "" : t, n);
|
|
432
432
|
class Ue {
|
|
433
433
|
constructor() {
|
|
434
|
-
|
|
434
|
+
b(this, "_listeners", /* @__PURE__ */ new Map()), b(this, "on", this.addEventListener), b(this, "off", this.removeEventListener), b(this, "emit", this.dispatchEvent);
|
|
435
435
|
}
|
|
436
436
|
addEventListener(t, n) {
|
|
437
437
|
const o = this._listeners.get(t) ?? /* @__PURE__ */ new Set();
|
|
@@ -466,7 +466,7 @@ const Ce = (e) => (t, n, o, s = {}) => {
|
|
|
466
466
|
for (const r of n)
|
|
467
467
|
i[e](r, o, { capture: !1, ...s });
|
|
468
468
|
return [t, n, o, s];
|
|
469
|
-
}, D = Ce("addEventListener"), M = Ce("removeEventListener"),
|
|
469
|
+
}, D = Ce("addEventListener"), M = Ce("removeEventListener"), X = (e) => {
|
|
470
470
|
var t;
|
|
471
471
|
const { clientX: n, clientY: o, target: s } = ((t = e.touches) == null ? void 0 : t[0]) ?? e;
|
|
472
472
|
return { x: n, y: o, target: s };
|
|
@@ -534,7 +534,7 @@ const { abs: H, max: he, min: de, ceil: ue } = Math, fe = (e = []) => ({
|
|
|
534
534
|
class tt extends Ue {
|
|
535
535
|
constructor(t) {
|
|
536
536
|
var n, o, s, i, r;
|
|
537
|
-
super(),
|
|
537
|
+
super(), b(this, "_options"), b(this, "_selection", fe()), b(this, "_area"), b(this, "_clippingElement"), b(this, "_targetElement"), b(this, "_targetBoundary"), b(this, "_targetBoundaryScrolled", !0), b(this, "_targetRect"), b(this, "_selectables", []), b(this, "_latestElement"), b(this, "_areaLocation", { y1: 0, x2: 0, y2: 0, x1: 0 }), b(this, "_areaRect", new DOMRect()), b(this, "_singleClick", !0), b(this, "_frame"), b(this, "_scrollAvailable", !0), b(this, "_scrollingActive", !1), b(this, "_scrollSpeed", { x: 0, y: 0 }), b(this, "_scrollDelta", { x: 0, y: 0 }), b(this, "disable", this._toggleStartEvents.bind(this, !1)), b(this, "enable", this._toggleStartEvents), this._options = {
|
|
538
538
|
selectionAreaClass: "selection-area",
|
|
539
539
|
selectionContainerClass: void 0,
|
|
540
540
|
selectables: [],
|
|
@@ -596,22 +596,22 @@ class tt extends Ue {
|
|
|
596
596
|
s(n, "mousedown", this._onTapStart), o.touch && s(n, "touchstart", this._onTapStart, { passive: !1 });
|
|
597
597
|
}
|
|
598
598
|
_onTapStart(t, n = !1) {
|
|
599
|
-
const { x: o, y: s, target: i } =
|
|
599
|
+
const { x: o, y: s, target: i } = X(t), { document: r, startAreas: l, boundaries: c, features: d, behaviour: h } = this._options, a = i.getBoundingClientRect();
|
|
600
600
|
if (t instanceof MouseEvent && !et(t, h.triggers))
|
|
601
601
|
return;
|
|
602
602
|
const f = P(l, r), m = P(c, r);
|
|
603
603
|
this._targetElement = m.find(
|
|
604
|
-
(
|
|
604
|
+
(y) => ae(y.getBoundingClientRect(), a)
|
|
605
605
|
);
|
|
606
|
-
const u = t.composedPath(), p = f.find((
|
|
607
|
-
if (this._targetBoundary = m.find((
|
|
606
|
+
const u = t.composedPath(), p = f.find((y) => u.includes(y));
|
|
607
|
+
if (this._targetBoundary = m.find((y) => u.includes(y)), !this._targetElement || !p || !this._targetBoundary || !n && this._emitEvent("beforestart", t) === !1)
|
|
608
608
|
return;
|
|
609
609
|
this._areaLocation = { x1: o, y1: s, x2: 0, y2: 0 };
|
|
610
610
|
const g = r.scrollingElement ?? r.body;
|
|
611
611
|
this._scrollDelta = { x: g.scrollLeft, y: g.scrollTop }, this._singleClick = !0, this.clearSelection(!1, !0), D(r, ["touchmove", "mousemove"], this._delayedTapMove, { passive: !1 }), D(r, ["mouseup", "touchcancel", "touchend"], this._onTapStop), D(r, "scroll", this._onScroll), d.deselectOnBlur && (this._targetBoundaryScrolled = !1, D(this._targetBoundary, "scroll", this._onStartAreaScroll));
|
|
612
612
|
}
|
|
613
613
|
_onSingleTap(t) {
|
|
614
|
-
const { singleTap: { intersect: n }, range: o } = this._options.features, s =
|
|
614
|
+
const { singleTap: { intersect: n }, range: o } = this._options.features, s = X(t);
|
|
615
615
|
let i;
|
|
616
616
|
if (n === "native")
|
|
617
617
|
i = s.target;
|
|
@@ -642,7 +642,7 @@ class tt extends Ue {
|
|
|
642
642
|
r.includes(i) && (r.length === 1 || t.ctrlKey || r.every((l) => this._selection.stored.includes(l))) ? this.deselect(i) : (this.select(i), this._latestElement = i);
|
|
643
643
|
}
|
|
644
644
|
_delayedTapMove(t) {
|
|
645
|
-
const { container: n, document: o, behaviour: { startThreshold: s } } = this._options, { x1: i, y1: r } = this._areaLocation, { x: l, y: c } =
|
|
645
|
+
const { container: n, document: o, behaviour: { startThreshold: s } } = this._options, { x1: i, y1: r } = this._areaLocation, { x: l, y: c } = X(t);
|
|
646
646
|
if (
|
|
647
647
|
// Single number for both coordinates
|
|
648
648
|
typeof s == "number" && H(l + c - (i + r)) >= s || // Different x and y threshold
|
|
@@ -677,7 +677,7 @@ class tt extends Ue {
|
|
|
677
677
|
}));
|
|
678
678
|
}
|
|
679
679
|
_onTapMove(t) {
|
|
680
|
-
const { _scrollSpeed: n, _areaLocation: o, _options: s, _frame: i } = this, { speedDivider: r } = s.behaviour.scrolling, l = this._targetElement, { x: c, y: d } =
|
|
680
|
+
const { _scrollSpeed: n, _areaLocation: o, _options: s, _frame: i } = this, { speedDivider: r } = s.behaviour.scrolling, l = this._targetElement, { x: c, y: d } = X(t);
|
|
681
681
|
if (o.x2 = c, o.y2 = d, this._scrollAvailable && !this._scrollingActive && (n.y || n.x)) {
|
|
682
682
|
this._scrollingActive = !0;
|
|
683
683
|
const h = () => {
|
|
@@ -713,8 +713,8 @@ class tt extends Ue {
|
|
|
713
713
|
let { x2: u, y2: p } = n;
|
|
714
714
|
const { behaviour: { scrolling: { startScrollMargins: g } } } = s;
|
|
715
715
|
u < a.left + g.x ? (t.x = c ? -H(a.left - u + g.x) : 0, u = u < a.left ? a.left : u) : u > a.right - g.x ? (t.x = d - c - h ? H(a.left + a.width - u - g.x) : 0, u = u > a.right ? a.right : u) : t.x = 0, p < a.top + g.y ? (t.y = i ? -H(a.top - p + g.y) : 0, p = p < a.top ? a.top : p) : p > a.bottom - g.y ? (t.y = r - i - l ? H(a.top + a.height - p - g.y) : 0, p = p > a.bottom ? a.bottom : p) : t.y = 0;
|
|
716
|
-
const
|
|
717
|
-
this._areaRect = new DOMRect(
|
|
716
|
+
const y = de(f, u), v = de(m, p), w = he(f, u), _ = he(m, p);
|
|
717
|
+
this._areaRect = new DOMRect(y, v, w - y, _ - v);
|
|
718
718
|
}
|
|
719
719
|
_redrawSelectionArea() {
|
|
720
720
|
const { x: t, y: n, width: o, height: s } = this._areaRect, { style: i } = this._area;
|
|
@@ -862,7 +862,7 @@ class tt extends Ue {
|
|
|
862
862
|
), this._latestElement = void 0, n || (this._emitEvent("move", null), this._emitEvent("stop", null)));
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
|
-
|
|
865
|
+
b(tt, "version", "3.6.0");
|
|
866
866
|
const nt = function(e, t = !0) {
|
|
867
867
|
this.theme = e;
|
|
868
868
|
const n = this.theme.cssVar, o = Object.keys(n);
|
|
@@ -965,7 +965,7 @@ const st = function(e, t, n) {
|
|
|
965
965
|
o.parentNode.children[1].remove();
|
|
966
966
|
this.linkDiv(), this.bus.fire("expandNode", n);
|
|
967
967
|
}, St = function(e) {
|
|
968
|
-
e && (e = JSON.parse(JSON.stringify(e)), this.nodeData = e.nodeData, this.arrows = e.arrows || [], this.summaries = e.summaries || []),
|
|
968
|
+
e && (e = JSON.parse(JSON.stringify(e)), this.nodeData = e.nodeData, this.arrows = e.arrows || [], this.summaries = e.summaries || []), ee(this.nodeData), this.layout(), this.linkDiv();
|
|
969
969
|
}, Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
970
970
|
__proto__: null,
|
|
971
971
|
cancelFocus: yt,
|
|
@@ -1018,7 +1018,7 @@ const st = function(e, t, n) {
|
|
|
1018
1018
|
}, pe = {
|
|
1019
1019
|
create: Lt
|
|
1020
1020
|
};
|
|
1021
|
-
function
|
|
1021
|
+
function J(e, t, n) {
|
|
1022
1022
|
const { offsetLeft: o, offsetTop: s } = A(e.nodes, t), i = t.offsetWidth, r = t.offsetHeight, l = o + i / 2, c = s + r / 2, d = l + n.x, h = c + n.y;
|
|
1023
1023
|
return {
|
|
1024
1024
|
w: i,
|
|
@@ -1039,7 +1039,7 @@ function z(e) {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
const Mt = function(e, t, n, o) {
|
|
1041
1041
|
const s = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
1042
|
-
return
|
|
1042
|
+
return x(s, {
|
|
1043
1043
|
"text-anchor": "middle",
|
|
1044
1044
|
x: t + "",
|
|
1045
1045
|
y: n + "",
|
|
@@ -1049,14 +1049,14 @@ const Mt = function(e, t, n, o) {
|
|
|
1049
1049
|
if (!t || !n)
|
|
1050
1050
|
return;
|
|
1051
1051
|
performance.now();
|
|
1052
|
-
const i =
|
|
1052
|
+
const i = J(e, t, o.delta1), r = J(e, n, o.delta2), { x: l, y: c } = z(i), { ctrlX: d, ctrlY: h } = i, { ctrlX: a, ctrlY: f } = r, { x: m, y: u } = z(r), p = be(a, f, m, u), g = Ie(
|
|
1053
1053
|
`M ${l} ${c} C ${d} ${h} ${a} ${f} ${m} ${u}`,
|
|
1054
1054
|
`M ${p.x1} ${p.y1} L ${m} ${u} L ${p.x2} ${p.y2}`
|
|
1055
|
-
),
|
|
1056
|
-
g.appendChild(
|
|
1055
|
+
), y = l / 8 + d * 3 / 8 + a * 3 / 8 + m / 8, v = c / 8 + h * 3 / 8 + f * 3 / 8 + u / 8, w = Mt(o.label, y, v, e.theme.cssVar["--color"]);
|
|
1056
|
+
g.appendChild(w), g.arrowObj = o, g.dataset.linkid = o.id, e.linkSvgGroup.appendChild(g), s || (e.arrows.push(o), e.currentArrow = g, Ne(e, o, i, r)), performance.now();
|
|
1057
1057
|
}, Tt = function(e, t) {
|
|
1058
1058
|
const n = {
|
|
1059
|
-
id:
|
|
1059
|
+
id: te(),
|
|
1060
1060
|
label: "Custom Link",
|
|
1061
1061
|
from: e.nodeObj.id,
|
|
1062
1062
|
to: t.nodeObj.id,
|
|
@@ -1087,7 +1087,7 @@ const Mt = function(e, t, n, o) {
|
|
|
1087
1087
|
});
|
|
1088
1088
|
}, At = function(e) {
|
|
1089
1089
|
this.currentArrow = e;
|
|
1090
|
-
const t = e.arrowObj, n = L(t.from), o = L(t.to), s =
|
|
1090
|
+
const t = e.arrowObj, n = L(t.from), o = L(t.to), s = J(this, n, t.delta1), i = J(this, o, t.delta2);
|
|
1091
1091
|
Ne(this, t, s, i);
|
|
1092
1092
|
}, $t = function() {
|
|
1093
1093
|
this.currentArrow = null, Te(this);
|
|
@@ -1097,41 +1097,41 @@ const Mt = function(e, t, n, o) {
|
|
|
1097
1097
|
var f;
|
|
1098
1098
|
e.linkController.style.display = "initial", e.P2.style.display = "initial", e.P3.style.display = "initial", e.nodes.appendChild(e.linkController), e.nodes.appendChild(e.P2), e.nodes.appendChild(e.P3);
|
|
1099
1099
|
let { x: s, y: i } = z(n), { ctrlX: r, ctrlY: l } = n, { ctrlX: c, ctrlY: d } = o, { x: h, y: a } = z(o);
|
|
1100
|
-
e.P2.style.cssText = `top:${l}px;left:${r}px;`, e.P3.style.cssText = `top:${d}px;left:${c}px;`,
|
|
1100
|
+
e.P2.style.cssText = `top:${l}px;left:${r}px;`, e.P3.style.cssText = `top:${d}px;left:${c}px;`, x(e.line1, {
|
|
1101
1101
|
x1: s + "",
|
|
1102
1102
|
y1: i + "",
|
|
1103
1103
|
x2: r + "",
|
|
1104
1104
|
y2: l + ""
|
|
1105
|
-
}),
|
|
1105
|
+
}), x(e.line2, {
|
|
1106
1106
|
x1: c + "",
|
|
1107
1107
|
y1: d + "",
|
|
1108
1108
|
x2: h + "",
|
|
1109
1109
|
y2: a + ""
|
|
1110
1110
|
}), e.helper1 && (e.helper1.destory(e.map), (f = e.helper2) == null || f.destory(e.map)), e.helper1 = pe.create(e.P2), e.helper2 = pe.create(e.P3), e.helper1.init(e.map, (m, u) => {
|
|
1111
|
-
var
|
|
1111
|
+
var v;
|
|
1112
1112
|
r = r + m / e.scaleVal, l = l + u / e.scaleVal;
|
|
1113
1113
|
const p = z({ ...n, ctrlX: r, ctrlY: l });
|
|
1114
1114
|
s = p.x, i = p.y;
|
|
1115
|
-
const g = s / 8 + r * 3 / 8 + c * 3 / 8 + h / 8,
|
|
1116
|
-
e.P2.style.top = l + "px", e.P2.style.left = r + "px", (
|
|
1115
|
+
const g = s / 8 + r * 3 / 8 + c * 3 / 8 + h / 8, y = i / 8 + l * 3 / 8 + d * 3 / 8 + a / 8;
|
|
1116
|
+
e.P2.style.top = l + "px", e.P2.style.left = r + "px", (v = e.currentArrow) == null || v.children[0].setAttribute("d", `M ${s} ${i} C ${r} ${l} ${c} ${d} ${h} ${a}`), x(e.currentArrow.children[2], {
|
|
1117
1117
|
x: g + "",
|
|
1118
|
-
y:
|
|
1119
|
-
}),
|
|
1118
|
+
y: y + ""
|
|
1119
|
+
}), x(e.line1, {
|
|
1120
1120
|
x1: s + "",
|
|
1121
1121
|
y1: i + "",
|
|
1122
1122
|
x2: r + "",
|
|
1123
1123
|
y2: l + ""
|
|
1124
1124
|
}), t.delta1.x = r - n.cx, t.delta1.y = l - n.cy;
|
|
1125
1125
|
}), e.helper2.init(e.map, (m, u) => {
|
|
1126
|
-
var
|
|
1126
|
+
var w, _;
|
|
1127
1127
|
c = c + m / e.scaleVal, d = d + u / e.scaleVal;
|
|
1128
1128
|
const p = z({ ...o, ctrlX: c, ctrlY: d });
|
|
1129
1129
|
h = p.x, a = p.y;
|
|
1130
|
-
const g = s / 8 + r * 3 / 8 + c * 3 / 8 + h / 8,
|
|
1131
|
-
e.P3.style.top = d + "px", e.P3.style.left = c + "px", (
|
|
1130
|
+
const g = s / 8 + r * 3 / 8 + c * 3 / 8 + h / 8, y = i / 8 + l * 3 / 8 + d * 3 / 8 + a / 8, v = be(c, d, h, a);
|
|
1131
|
+
e.P3.style.top = d + "px", e.P3.style.left = c + "px", (w = e.currentArrow) == null || w.children[0].setAttribute("d", `M ${s} ${i} C ${r} ${l} ${c} ${d} ${h} ${a}`), (_ = e.currentArrow) == null || _.children[1].setAttribute("d", `M ${v.x1} ${v.y1} L ${h} ${a} L ${v.x2} ${v.y2}`), x(e.currentArrow.children[2], {
|
|
1132
1132
|
x: g + "",
|
|
1133
|
-
y:
|
|
1134
|
-
}),
|
|
1133
|
+
y: y + ""
|
|
1134
|
+
}), x(e.line2, {
|
|
1135
1135
|
x1: c + "",
|
|
1136
1136
|
y1: d + "",
|
|
1137
1137
|
x2: h + "",
|
|
@@ -1164,7 +1164,7 @@ function Dt(e) {
|
|
|
1164
1164
|
});
|
|
1165
1165
|
}
|
|
1166
1166
|
function Ht() {
|
|
1167
|
-
this.arrows = this.arrows.filter((e) =>
|
|
1167
|
+
this.arrows = this.arrows.filter((e) => K(e.from, this.nodeData) && K(e.to, this.nodeData));
|
|
1168
1168
|
}
|
|
1169
1169
|
const Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1170
1170
|
__proto__: null,
|
|
@@ -1223,7 +1223,7 @@ const Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1223
1223
|
return t.setAttribute("id", e), t;
|
|
1224
1224
|
}, me = function(e, t) {
|
|
1225
1225
|
const n = document.createElementNS("http://www.w3.org/2000/svg", "path");
|
|
1226
|
-
return
|
|
1226
|
+
return x(n, {
|
|
1227
1227
|
d: e,
|
|
1228
1228
|
stroke: t || "#666",
|
|
1229
1229
|
fill: "none",
|
|
@@ -1232,7 +1232,7 @@ const Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1232
1232
|
}), n;
|
|
1233
1233
|
}, ge = function(e, t, n, o, s) {
|
|
1234
1234
|
const i = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
1235
|
-
return
|
|
1235
|
+
return x(i, {
|
|
1236
1236
|
"text-anchor": o,
|
|
1237
1237
|
x: t + "",
|
|
1238
1238
|
y: n + "",
|
|
@@ -1244,25 +1244,25 @@ const Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1244
1244
|
let s;
|
|
1245
1245
|
return o.parent ? s = (i = n.closest("me-main")) == null ? void 0 : i.className : s = (r = L(o.children[t].id).closest("me-main")) == null ? void 0 : r.className, s;
|
|
1246
1246
|
}, Ae = function(e, t) {
|
|
1247
|
-
var
|
|
1247
|
+
var ne;
|
|
1248
1248
|
const { id: n, text: o, parent: s, start: i, end: r } = t, l = e.nodes, d = L(s).nodeObj, h = jt(t);
|
|
1249
1249
|
let a = 1 / 0, f = 0, m = 0, u = 0;
|
|
1250
|
-
for (let
|
|
1251
|
-
const oe = (
|
|
1250
|
+
for (let R = i; R <= r; R++) {
|
|
1251
|
+
const oe = (ne = d.children) == null ? void 0 : ne[R];
|
|
1252
1252
|
if (!oe)
|
|
1253
1253
|
return e.removeSummary(n), null;
|
|
1254
|
-
const
|
|
1255
|
-
|
|
1254
|
+
const F = Ot(oe.id), { offsetLeft: W, offsetTop: se } = A(l, F);
|
|
1255
|
+
R === i && (m = se), R === r && (u = se + F.offsetHeight), W < a && (a = W), F.offsetWidth + W > f && (f = F.offsetWidth + W);
|
|
1256
1256
|
}
|
|
1257
1257
|
let p, g;
|
|
1258
|
-
const
|
|
1259
|
-
h === "lhs" ? (p = me(`M ${a + 10} ${
|
|
1258
|
+
const y = m + 10, v = u + 10, w = (y + v) / 2, _ = e.theme.cssVar["--color"];
|
|
1259
|
+
h === "lhs" ? (p = me(`M ${a + 10} ${y} c -5 0 -10 5 -10 10 L ${a} ${v - 10} c 0 5 5 10 10 10 M ${a} ${w} h -10`, _), g = ge(o, a - 20, w + 6, "end", _)) : (p = me(`M ${f - 10} ${y} c 5 0 10 5 10 10 L ${f} ${v - 10} c 0 5 -5 10 -10 10 M ${f} ${w} h 10`, _), g = ge(o, f + 20, w + 6, "start", _));
|
|
1260
1260
|
const E = zt("s-" + n);
|
|
1261
1261
|
return E.appendChild(p), E.appendChild(g), E.summaryObj = t, e.summarySvg.appendChild(E), E;
|
|
1262
1262
|
}, qt = function() {
|
|
1263
1263
|
let e = [];
|
|
1264
1264
|
this.currentNode ? e = [this.currentNode] : this.currentNodes && (e = this.currentNodes);
|
|
1265
|
-
const { parent: t, start: n, end: o } = Pt(e), s = { id:
|
|
1265
|
+
const { parent: t, start: n, end: o } = Pt(e), s = { id: te(), parent: t, start: n, end: o, text: "summary" }, i = Ae(this, s);
|
|
1266
1266
|
this.summaries.push(s), this.editSummary(i), this.bus.fire("operation", {
|
|
1267
1267
|
name: "createSummary",
|
|
1268
1268
|
obj: s
|
|
@@ -1276,7 +1276,7 @@ const Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1276
1276
|
});
|
|
1277
1277
|
}, Vt = function(e) {
|
|
1278
1278
|
const t = e.children[1].getBBox(), n = 6, o = 3, s = document.createElementNS("http://www.w3.org/2000/svg", "rect");
|
|
1279
|
-
|
|
1279
|
+
x(s, {
|
|
1280
1280
|
x: t.x - n + "",
|
|
1281
1281
|
y: t.y - n + "",
|
|
1282
1282
|
width: t.width + n * 2 + "",
|
|
@@ -1319,7 +1319,7 @@ const Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1319
1319
|
}, Symbol.toStringTag, { value: "Module" })), C = "http://www.w3.org/2000/svg";
|
|
1320
1320
|
function Yt(e, t) {
|
|
1321
1321
|
const n = document.createElementNS(C, "svg");
|
|
1322
|
-
return
|
|
1322
|
+
return x(n, {
|
|
1323
1323
|
version: "1.1",
|
|
1324
1324
|
xmlns: C,
|
|
1325
1325
|
height: e,
|
|
@@ -1335,7 +1335,7 @@ function Kt(e, t, n, o) {
|
|
|
1335
1335
|
return e.text ? i = e.text.textContent : i = e.childNodes[0].textContent, i.split(`
|
|
1336
1336
|
`).forEach((l, c) => {
|
|
1337
1337
|
const d = document.createElementNS(C, "text");
|
|
1338
|
-
|
|
1338
|
+
x(d, {
|
|
1339
1339
|
x: n + parseInt(t.paddingLeft) + "",
|
|
1340
1340
|
y: o + parseInt(t.paddingTop) + Gt(t.lineHeight, t.fontSize) * (c + 1) + parseFloat(t.fontSize) * (c + 1) + "",
|
|
1341
1341
|
"text-anchor": "start",
|
|
@@ -1351,21 +1351,21 @@ function Ut(e, t, n, o) {
|
|
|
1351
1351
|
let s = "";
|
|
1352
1352
|
(l = e.nodeObj) != null && l.dangerouslySetInnerHTML ? s = e.nodeObj.dangerouslySetInnerHTML : e.text ? s = e.text.textContent : s = e.childNodes[0].textContent;
|
|
1353
1353
|
const i = document.createElementNS(C, "foreignObject");
|
|
1354
|
-
|
|
1354
|
+
x(i, {
|
|
1355
1355
|
x: n + parseInt(t.paddingLeft) + "",
|
|
1356
1356
|
y: o + parseInt(t.paddingTop) + "",
|
|
1357
1357
|
width: t.width,
|
|
1358
1358
|
height: t.height
|
|
1359
1359
|
});
|
|
1360
1360
|
const r = document.createElement("div");
|
|
1361
|
-
return
|
|
1361
|
+
return x(r, {
|
|
1362
1362
|
xmlns: "http://www.w3.org/1999/xhtml",
|
|
1363
1363
|
style: `font-family: ${t.fontFamily}; font-size: ${t.fontSize}; font-weight: ${t.fontWeight}; color: ${t.color}; white-space: pre-wrap;`
|
|
1364
1364
|
}), r.innerHTML = s, i.appendChild(r), i;
|
|
1365
1365
|
}
|
|
1366
1366
|
function Jt(e, t) {
|
|
1367
1367
|
const n = getComputedStyle(t), { offsetLeft: o, offsetTop: s } = A(e.nodes, t), i = document.createElementNS(C, "rect");
|
|
1368
|
-
return
|
|
1368
|
+
return x(i, {
|
|
1369
1369
|
x: o + "",
|
|
1370
1370
|
y: s + "",
|
|
1371
1371
|
rx: n.borderRadius,
|
|
@@ -1377,9 +1377,9 @@ function Jt(e, t) {
|
|
|
1377
1377
|
"stroke-width": n.borderWidth
|
|
1378
1378
|
}), i;
|
|
1379
1379
|
}
|
|
1380
|
-
function
|
|
1380
|
+
function Y(e, t, n = !1) {
|
|
1381
1381
|
const o = getComputedStyle(t), { offsetLeft: s, offsetTop: i } = A(e.nodes, t), r = document.createElementNS(C, "rect");
|
|
1382
|
-
|
|
1382
|
+
x(r, {
|
|
1383
1383
|
x: s + "",
|
|
1384
1384
|
y: i + "",
|
|
1385
1385
|
rx: o.borderRadius,
|
|
@@ -1397,7 +1397,7 @@ function G(e, t, n = !1) {
|
|
|
1397
1397
|
}
|
|
1398
1398
|
function Qt(e, t) {
|
|
1399
1399
|
const n = getComputedStyle(t), { offsetLeft: o, offsetTop: s } = A(e.nodes, t), i = document.createElementNS(C, "a"), r = document.createElementNS(C, "text");
|
|
1400
|
-
return
|
|
1400
|
+
return x(r, {
|
|
1401
1401
|
x: o + "",
|
|
1402
1402
|
y: s + parseInt(n.fontSize) + "",
|
|
1403
1403
|
"text-anchor": "start",
|
|
@@ -1409,7 +1409,7 @@ function Qt(e, t) {
|
|
|
1409
1409
|
}
|
|
1410
1410
|
function Zt(e, t) {
|
|
1411
1411
|
const n = getComputedStyle(t), { offsetLeft: o, offsetTop: s } = A(e.nodes, t), i = document.createElementNS(C, "image");
|
|
1412
|
-
return
|
|
1412
|
+
return x(i, {
|
|
1413
1413
|
x: o + "",
|
|
1414
1414
|
y: s + "",
|
|
1415
1415
|
width: n.width + "",
|
|
@@ -1417,18 +1417,18 @@ function Zt(e, t) {
|
|
|
1417
1417
|
href: t.src
|
|
1418
1418
|
}), i;
|
|
1419
1419
|
}
|
|
1420
|
-
const
|
|
1420
|
+
const G = 100, en = '<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">', tn = (e, t = !1) => {
|
|
1421
1421
|
var a, f, m;
|
|
1422
|
-
const n = e.nodes, o = n.offsetHeight +
|
|
1423
|
-
|
|
1422
|
+
const n = e.nodes, o = n.offsetHeight + G * 2, s = n.offsetWidth + G * 2, i = Yt(o + "px", s + "px"), r = document.createElementNS(C, "svg"), l = document.createElementNS(C, "rect");
|
|
1423
|
+
x(l, {
|
|
1424
1424
|
x: "0",
|
|
1425
1425
|
y: "0",
|
|
1426
1426
|
width: `${s}`,
|
|
1427
1427
|
height: `${o}`,
|
|
1428
1428
|
fill: e.theme.cssVar["--bgcolor"]
|
|
1429
1429
|
}), i.appendChild(l), n.querySelectorAll(".subLines").forEach((u) => {
|
|
1430
|
-
const p = u.cloneNode(!0), { offsetLeft: g, offsetTop:
|
|
1431
|
-
p.setAttribute("x", `${g}`), p.setAttribute("y", `${
|
|
1430
|
+
const p = u.cloneNode(!0), { offsetLeft: g, offsetTop: y } = A(n, u.parentElement);
|
|
1431
|
+
p.setAttribute("x", `${g}`), p.setAttribute("y", `${y}`), r.appendChild(p);
|
|
1432
1432
|
});
|
|
1433
1433
|
const c = (a = n.querySelector(".lines")) == null ? void 0 : a.cloneNode(!0);
|
|
1434
1434
|
c && r.appendChild(c);
|
|
@@ -1436,18 +1436,18 @@ const K = 100, en = '<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "
|
|
|
1436
1436
|
d && r.appendChild(d);
|
|
1437
1437
|
const h = (m = n.querySelector(".summary")) == null ? void 0 : m.cloneNode(!0);
|
|
1438
1438
|
return h && r.appendChild(h), n.querySelectorAll("me-tpc").forEach((u) => {
|
|
1439
|
-
u.nodeObj.dangerouslySetInnerHTML ? r.appendChild(
|
|
1439
|
+
u.nodeObj.dangerouslySetInnerHTML ? r.appendChild(Y(e, u, !t)) : (r.appendChild(Jt(e, u)), r.appendChild(Y(e, u.text, !t)));
|
|
1440
1440
|
}), n.querySelectorAll(".tags > span").forEach((u) => {
|
|
1441
|
-
r.appendChild(
|
|
1441
|
+
r.appendChild(Y(e, u));
|
|
1442
1442
|
}), n.querySelectorAll(".icons > span").forEach((u) => {
|
|
1443
|
-
r.appendChild(
|
|
1443
|
+
r.appendChild(Y(e, u));
|
|
1444
1444
|
}), n.querySelectorAll(".hyper-link").forEach((u) => {
|
|
1445
1445
|
r.appendChild(Qt(e, u));
|
|
1446
1446
|
}), n.querySelectorAll("img").forEach((u) => {
|
|
1447
1447
|
r.appendChild(Zt(e, u));
|
|
1448
|
-
}),
|
|
1449
|
-
x:
|
|
1450
|
-
y:
|
|
1448
|
+
}), x(r, {
|
|
1449
|
+
x: G + "",
|
|
1450
|
+
y: G + "",
|
|
1451
1451
|
overflow: "visible"
|
|
1452
1452
|
}), i.appendChild(r), i;
|
|
1453
1453
|
}, nn = (e, t) => (t && e.insertAdjacentHTML("afterbegin", "<style>" + t + "</style>"), en + e.outerHTML);
|
|
@@ -1478,7 +1478,7 @@ const sn = function(e = !1, t) {
|
|
|
1478
1478
|
exportPng: rn,
|
|
1479
1479
|
exportSvg: sn
|
|
1480
1480
|
}, Symbol.toStringTag, { value: "Module" })), cn = {}, an = {
|
|
1481
|
-
getObjById:
|
|
1481
|
+
getObjById: K,
|
|
1482
1482
|
generateNewObj: $e,
|
|
1483
1483
|
layout: He,
|
|
1484
1484
|
linkDiv: Fe,
|
|
@@ -1497,7 +1497,7 @@ const sn = function(e = !1, t) {
|
|
|
1497
1497
|
init(e) {
|
|
1498
1498
|
if (!e || !e.nodeData)
|
|
1499
1499
|
return new Error("MindElixir: `data` is required");
|
|
1500
|
-
e.direction !== void 0 && (this.direction = e.direction), this.changeTheme(e.theme || this.theme, !1), this.nodeData = e.nodeData,
|
|
1500
|
+
e.direction !== void 0 && (this.direction = e.direction), this.changeTheme(e.theme || this.theme, !1), this.nodeData = e.nodeData, ee(this.nodeData), this.arrows = e.arrows || [], this.summaries = e.summaries || [], this.tidyArrow(), this.toolBar && Ye(this), this.toCenter(), this.layout(), this.linkDiv();
|
|
1501
1501
|
},
|
|
1502
1502
|
destroy() {
|
|
1503
1503
|
var e, t;
|
|
@@ -1520,7 +1520,7 @@ function dn({ pT: e, pL: t, pW: n, pH: o, cT: s, cL: i, cW: r, cH: l, direction:
|
|
|
1520
1520
|
const g = Math.abs(h - f) / 300 * N;
|
|
1521
1521
|
return c === "lhs" ? (p = t, m = p + N, u = p - N, a = i + N, `M ${m} ${h} C ${p} ${h} ${p + g} ${f} ${u} ${f} H ${a}`) : (p = t + n, m = p - N, u = p + N, a = i + r - N, `M ${m} ${h} C ${p} ${h} ${p - g} ${f} ${u} ${f} H ${a}`);
|
|
1522
1522
|
}
|
|
1523
|
-
const un = "4.2.
|
|
1523
|
+
const un = "4.2.3", V = document;
|
|
1524
1524
|
function $({
|
|
1525
1525
|
el: e,
|
|
1526
1526
|
direction: t,
|
|
@@ -1539,23 +1539,22 @@ function $({
|
|
|
1539
1539
|
generateMainBranch: u,
|
|
1540
1540
|
generateSubBranch: p,
|
|
1541
1541
|
overflowHidden: g,
|
|
1542
|
-
mobileMenu: v,
|
|
1543
1542
|
theme: y
|
|
1544
1543
|
}) {
|
|
1545
|
-
let
|
|
1546
|
-
const
|
|
1547
|
-
if (
|
|
1544
|
+
let v = null;
|
|
1545
|
+
const w = Object.prototype.toString.call(e);
|
|
1546
|
+
if (w === "[object HTMLDivElement]" ? v = e : w === "[object String]" && (v = document.querySelector(e)), !v)
|
|
1548
1547
|
throw new Error("MindElixir: el is not a valid element");
|
|
1549
|
-
|
|
1550
|
-
const
|
|
1551
|
-
this.theme = y || (
|
|
1552
|
-
const
|
|
1553
|
-
|
|
1548
|
+
v.className += " mind-elixir", v.innerHTML = "", v.style.setProperty("--gap", N + "px"), this.mindElixirBox = v, this.disposable = [], this.before = a || {}, this.locale = n || "en", this.contextMenuOption = r, this.contextMenu = i === void 0 ? !0 : i, this.toolBar = l === void 0 ? !0 : l, this.keypress = c === void 0 ? !0 : c, this.mouseSelectionButton = d || 0, this.direction = typeof t == "number" ? t : 1, this.draggable = o === void 0 ? !0 : o, this.newTopicName = f || "new node", this.editable = s === void 0 ? !0 : s, this.allowUndo = m === void 0 ? !1 : m, this.currentNode = null, this.currentArrow = null, this.scaleVal = 1, this.tempDirection = null, this.generateMainBranch = u || hn, this.generateSubBranch = p || dn, this.overflowHidden = g || !1, this.bus = De.create(), this.container = V.createElement("div"), this.selectionContainer = h || this.container, this.container.className = "map-container";
|
|
1549
|
+
const _ = window.matchMedia("(prefers-color-scheme: dark)");
|
|
1550
|
+
this.theme = y || (_.matches ? ye : ve);
|
|
1551
|
+
const E = V.createElement("div");
|
|
1552
|
+
E.className = "map-canvas", this.map = E, this.map.setAttribute("tabindex", "0"), this.container.appendChild(this.map), this.mindElixirBox.appendChild(this.container), this.nodes = V.createElement("me-nodes"), this.nodes.className = "main-node-container", this.lines = I("lines"), this.summarySvg = I("summary"), this.linkController = I("linkcontroller"), this.P2 = V.createElement("div"), this.P3 = V.createElement("div"), this.P2.className = this.P3.className = "circle", this.P2.style.display = this.P3.style.display = "none", this.line1 = le(), this.line2 = le(), this.linkController.appendChild(this.line1), this.linkController.appendChild(this.line2), this.linkSvgGroup = I("topiclinks"), this.map.appendChild(this.nodes), this.overflowHidden ? this.container.style.overflow = "hidden" : ke(this);
|
|
1554
1553
|
}
|
|
1555
1554
|
$.prototype = an;
|
|
1556
1555
|
$.LEFT = q;
|
|
1557
|
-
$.RIGHT =
|
|
1558
|
-
$.SIDE =
|
|
1556
|
+
$.RIGHT = Q;
|
|
1557
|
+
$.SIDE = Z;
|
|
1559
1558
|
$.THEME = ve;
|
|
1560
1559
|
$.DARK_THEME = ye;
|
|
1561
1560
|
$.version = un;
|