mind-elixir 4.4.2 → 4.4.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.
@@ -1,4 +1,4 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".map-container{--gap: 30px;--root-radius: 30px;--main-radius: 20px;--root-color: #ffffff;--root-bgcolor: #4c4f69;--root-border-color: rgba(0, 0, 0, 0);--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;-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;-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{outline:2px solid var(--selected);outline-offset:1px}.map-container .hyper-link{text-decoration:none;margin-left:.3em}.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);border:var(--root-border-color) 2px solid;white-space:pre-wrap;background-color:var(--root-bgcolor)}.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-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;width:max-content;max-width:35em;z-index:11;direction:ltr;-webkit-user-select:auto;user-select:auto;pointer-events:auto;background-color:var(--bgcolor)}.map-container me-tpc>*{pointer-events:none}.map-container me-tpc>a,.map-container me-tpc>iframe{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 4px 0 0;font-size:12px;line-height:1.3em}.map-container .icons{display:inline-block;direction:ltr;margin-left:5px}.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(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".map-container{--gap: 30px;--root-radius: 30px;--main-radius: 20px;--root-color: #ffffff;--root-bgcolor: #4c4f69;--root-border-color: rgba(0, 0, 0, 0);--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;-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;-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{outline:2px solid var(--selected);outline-offset:1px}.map-container .hyper-link{text-decoration:none;margin-left:.3em}.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);border:var(--root-border-color) 2px solid;white-space:pre-wrap;background-color:var(--root-bgcolor)}.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-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;width:max-content;max-width:35em;z-index:11;direction:ltr;-webkit-user-select:auto;user-select:auto;pointer-events:auto;background-color:var(--bgcolor)}.map-container me-tpc>*{pointer-events:none}.map-container me-tpc>a,.map-container me-tpc>iframe{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 4px 0 0;font-size:12px;line-height:1.3em}.map-container .icons{display:inline-block;direction:ltr;margin-left:5px}.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}.map-container .context-menu{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99}.map-container .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}.map-container .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}.map-container .context-menu .menu-list li span{line-height:20px}.map-container .context-menu .menu-list li a{color:#333;text-decoration:none}.map-container .context-menu .menu-list li.disabled{display:none}.map-container .context-menu .menu-list li:hover{filter:brightness(.95)}.map-container .context-menu .menu-list li:last-child{border-bottom:0}.map-container .context-menu .menu-list li span:last-child{float:right}.map-container .context-menu .key{font-size:10px;background-color:#f1f1f1;color:#333;padding:2px 5px;border-radius:3px}.map-container .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(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();
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__) {
@@ -98,7 +98,7 @@ const Ne = function() {
98
98
  topic: this.newTopicName,
99
99
  id: e
100
100
  };
101
- }, k = (e, t) => {
101
+ }, H = (e, t) => {
102
102
  let n = 0, o = 0;
103
103
  for (; t && t !== e; )
104
104
  n += t.offsetLeft, o += t.offsetTop, t = t.offsetParent;
@@ -106,7 +106,7 @@ const Ne = function() {
106
106
  }, x = (e, t) => {
107
107
  for (const n in t)
108
108
  e.setAttribute(n, t[n]);
109
- }, ae = (e) => e ? e.tagName === "ME-TPC" : !1, N = {
109
+ }, ae = (e) => e ? e.tagName === "ME-TPC" : !1, k = {
110
110
  moved: !1,
111
111
  // diffrentiate click and move
112
112
  mousedown: !1,
@@ -141,8 +141,8 @@ function ke(e) {
141
141
  e.helper2.clear();
142
142
  return;
143
143
  }
144
- if (N.moved) {
145
- N.clear();
144
+ if (k.moved) {
145
+ k.clear();
146
146
  return;
147
147
  }
148
148
  e.clearSelection();
@@ -161,16 +161,16 @@ function ke(e) {
161
161
  const n = t.target;
162
162
  ae(n) ? e.beginEdit(n) : n.tagName === "text" && (n.dataset.type === "custom-link" ? e.editArrowLabel(n.parentElement) : e.editSummary(n.parentElement));
163
163
  }), e.map.addEventListener("mousemove", (t) => {
164
- t.target.contentEditable !== "true" && N.onMove(t, e);
164
+ t.target.contentEditable !== "true" && k.onMove(t, e);
165
165
  }), e.map.addEventListener("mousedown", (t) => {
166
166
  const n = e.mouseSelectionButton === 0 ? 2 : 0;
167
- t.button === n && t.target.contentEditable !== "true" && (N.moved = !1, N.mousedown = !0);
167
+ t.button === n && t.target.contentEditable !== "true" && (k.moved = !1, k.mousedown = !0);
168
168
  }), e.map.addEventListener("mouseleave", (t) => {
169
169
  const n = e.mouseSelectionButton === 0 ? 2 : 0;
170
- t.button === n && N.clear();
170
+ t.button === n && k.clear();
171
171
  }), e.map.addEventListener("mouseup", (t) => {
172
172
  const n = e.mouseSelectionButton === 0 ? 2 : 0;
173
- t.button === n && N.clear();
173
+ t.button === n && k.clear();
174
174
  });
175
175
  }
176
176
  const He = {
@@ -202,7 +202,7 @@ const He = {
202
202
  };
203
203
  }
204
204
  };
205
- var M = /* @__PURE__ */ ((e) => (e.LHS = "lhs", e.RHS = "rhs", e))(M || {});
205
+ var T = /* @__PURE__ */ ((e) => (e.LHS = "lhs", e.RHS = "rhs", e))(T || {});
206
206
  const Q = document, De = function() {
207
207
  this.nodes.innerHTML = "";
208
208
  const e = this.createTopic(this.nodeData);
@@ -219,9 +219,9 @@ const Q = document, De = function() {
219
219
  Be(this, n, t);
220
220
  }, Be = function(e, t, n) {
221
221
  const o = Q.createElement("me-main");
222
- o.className = M.LHS;
222
+ o.className = T.LHS;
223
223
  const s = Q.createElement("me-main");
224
- s.className = M.RHS;
224
+ s.className = T.RHS;
225
225
  for (let i = 0; i < t.length; i++) {
226
226
  const r = t[i], { grp: l } = e.createWrapper(r);
227
227
  e.direction === te ? r.direction === j ? o.appendChild(l) : s.appendChild(l) : e.direction === j ? o.appendChild(l) : s.appendChild(l);
@@ -234,8 +234,8 @@ const Q = document, De = function() {
234
234
  n.appendChild(i);
235
235
  }
236
236
  return n;
237
- }, S = document, L = (e, t) => {
238
- const o = (t ? t.mindElixirBox : S).querySelector(`[data-nodeid=me${e}]`);
237
+ }, C = document, M = (e, t) => {
238
+ const o = (t ? t.mindElixirBox : C).querySelector(`[data-nodeid=me${e}]`);
239
239
  if (!o)
240
240
  throw new Error(`FindEle: Node ${e} not found, maybe it's collapsed.`);
241
241
  return o;
@@ -247,32 +247,32 @@ const Q = document, De = function() {
247
247
  if (t.image) {
248
248
  const n = t.image;
249
249
  if (n.url && n.width && n.height) {
250
- const o = S.createElement("img");
250
+ const o = C.createElement("img");
251
251
  o.src = n.url, o.style.width = n.width + "px", o.style.height = n.height + "px", n.fit && (o.style.objectFit = n.fit), e.appendChild(o), e.image = o;
252
252
  }
253
253
  } else
254
254
  e.image && (e.image = void 0);
255
255
  {
256
- const n = S.createElement("span");
256
+ const n = C.createElement("span");
257
257
  n.className = "text", n.textContent = t.topic, e.appendChild(n), e.text = n;
258
258
  }
259
259
  if (t.hyperLink) {
260
- const n = S.createElement("a");
260
+ const n = C.createElement("a");
261
261
  n.className = "hyper-link", n.target = "_blank", n.innerText = "🔗", n.href = t.hyperLink, e.appendChild(n), e.link = n;
262
262
  } else
263
263
  e.link && (e.link = void 0);
264
264
  if (t.icons && t.icons.length) {
265
- const n = S.createElement("span");
265
+ const n = C.createElement("span");
266
266
  n.className = "icons", n.innerHTML = t.icons.map((o) => `<span>${ce(o)}</span>`).join(""), e.appendChild(n), e.icons = n;
267
267
  } else
268
268
  e.icons && (e.icons = void 0);
269
269
  if (t.tags && t.tags.length) {
270
- const n = S.createElement("div");
270
+ const n = C.createElement("div");
271
271
  n.className = "tags", n.innerHTML = t.tags.map((o) => `<span>${ce(o)}</span>`).join(""), e.appendChild(n), e.tags = n;
272
272
  } else
273
273
  e.tags && (e.tags = void 0);
274
274
  }, ze = function(e, t) {
275
- const n = S.createElement("me-wrapper"), { p: o, tpc: s } = this.createParent(e);
275
+ const n = C.createElement("me-wrapper"), { p: o, tpc: s } = this.createParent(e);
276
276
  if (n.appendChild(o), !t && e.children && e.children.length > 0) {
277
277
  const i = Ve(e.expanded);
278
278
  if (o.appendChild(i), e.expanded !== !1) {
@@ -282,17 +282,17 @@ const Q = document, De = function() {
282
282
  }
283
283
  return { grp: n, top: o, tpc: s };
284
284
  }, Oe = function(e) {
285
- const t = S.createElement("me-parent"), n = this.createTopic(e);
285
+ const t = C.createElement("me-parent"), n = this.createTopic(e);
286
286
  return we(n, e), t.appendChild(n), { p: t, tpc: n };
287
287
  }, je = function(e) {
288
- const t = S.createElement("me-children");
288
+ const t = C.createElement("me-children");
289
289
  return t.append(...e), t;
290
290
  }, Re = function(e) {
291
- const t = S.createElement("me-tpc");
291
+ const t = C.createElement("me-tpc");
292
292
  return t.nodeObj = e, t.dataset.nodeid = "me" + e.id, t.draggable = this.draggable, t;
293
293
  };
294
294
  function _e(e) {
295
- const t = S.createRange();
295
+ const t = C.createRange();
296
296
  t.selectNodeContents(e);
297
297
  const n = window.getSelection();
298
298
  n && (n.removeAllRanges(), n.addRange(t));
@@ -300,7 +300,7 @@ function _e(e) {
300
300
  const qe = function(e) {
301
301
  if (!e)
302
302
  return;
303
- const t = S.createElement("div"), n = e.text.textContent;
303
+ const t = C.createElement("div"), n = e.text.textContent;
304
304
  e.appendChild(t), t.id = "input-box", t.textContent = n, t.contentEditable = "true", t.spellcheck = !1;
305
305
  const o = getComputedStyle(e);
306
306
  t.style.cssText = `min-width:${e.offsetWidth - 8}px;
@@ -332,7 +332,7 @@ const qe = function(e) {
332
332
  }));
333
333
  });
334
334
  }, Ve = function(e) {
335
- const t = S.createElement("me-epd");
335
+ const t = C.createElement("me-epd");
336
336
  return t.expanded = e !== !1, t.className = e !== !1 ? "minus" : "", t;
337
337
  }, W = document, F = "http://www.w3.org/2000/svg", Ee = function(e, t, n) {
338
338
  const o = W.createElementNS(F, "path");
@@ -389,18 +389,18 @@ const qe = function(e) {
389
389
  o && n(o);
390
390
  });
391
391
  }, Fe = function(e) {
392
- const t = this.map.querySelector("me-root"), n = t.offsetTop, o = t.offsetLeft, s = t.offsetWidth, i = t.offsetHeight;
393
- this.nodes.style.top = `${1e4 - this.nodes.offsetHeight / 2}px`, this.nodes.style.left = `${1e4 - o - s / 2}px`;
394
- const r = this.map.querySelectorAll("me-main > me-wrapper");
392
+ const t = this.map.querySelector("me-root"), n = t.offsetTop, o = t.offsetLeft, s = t.offsetWidth, i = t.offsetHeight, l = this.map.querySelector("me-nodes").offsetWidth;
393
+ this.nodes.style.top = `${1e4 - this.nodes.offsetHeight / 2}px`, this.alignment === "root" ? this.nodes.style.left = `${1e4 - o - s / 2}px` : this.nodes.style.left = `${1e4 - l / 2}px`;
394
+ const c = this.map.querySelectorAll("me-main > me-wrapper");
395
395
  this.lines.innerHTML = "";
396
- for (let l = 0; l < r.length; l++) {
397
- const c = r[l], d = c.querySelector("me-tpc"), { offsetLeft: a, offsetTop: u } = k(this.nodes, d), h = d.offsetWidth, f = d.offsetHeight, p = c.parentNode.className, g = this.generateMainBranch({ pT: n, pL: o, pW: s, pH: i, cT: u, cL: a, cW: h, cH: f, direction: p, containerHeight: this.nodes.offsetHeight }), m = this.theme.palette, v = d.nodeObj.branchColor || m[l % m.length];
398
- d.style.borderColor = v, this.lines.appendChild(Ee(g, v, "3"));
399
- const y = c.children[0].children[1];
400
- if (y && (y.style.top = (y.parentNode.offsetHeight - y.offsetHeight) / 2 + "px", p === M.LHS ? y.style.left = "-10px" : y.style.right = "-10px"), e && e !== c)
396
+ for (let d = 0; d < c.length; d++) {
397
+ const a = c[d], u = a.querySelector("me-tpc"), { offsetLeft: h, offsetTop: f } = H(this.nodes, u), m = u.offsetWidth, g = u.offsetHeight, p = a.parentNode.className, v = this.generateMainBranch({ pT: n, pL: o, pW: s, pH: i, cT: f, cL: h, cW: m, cH: g, direction: p, containerHeight: this.nodes.offsetHeight }), E = this.theme.palette, y = u.nodeObj.branchColor || E[d % E.length];
398
+ u.style.borderColor = y, this.lines.appendChild(Ee(v, y, "3"));
399
+ const _ = a.children[0].children[1];
400
+ if (_ && (_.style.top = (_.parentNode.offsetHeight - _.offsetHeight) / 2 + "px", p === T.LHS ? _.style.left = "-10px" : _.style.right = "-10px"), e && e !== a)
401
401
  continue;
402
- const _ = V("subLines"), E = c.lastChild;
403
- E.tagName === "svg" && E.remove(), c.appendChild(_), Ce(this, _, v, c, p, !0);
402
+ const w = V("subLines"), S = a.lastChild;
403
+ S.tagName === "svg" && S.remove(), a.appendChild(w), Ce(this, w, y, a, p, !0);
404
404
  }
405
405
  this.renderArrow(), this.renderSummary(), this.bus.fire("linkDiv");
406
406
  }, Ce = function(e, t, n, o, s, i) {
@@ -409,15 +409,15 @@ const qe = function(e) {
409
409
  return;
410
410
  const c = r.offsetTop, d = r.offsetLeft, a = r.offsetWidth, u = r.offsetHeight;
411
411
  for (let h = 0; h < l.length; h++) {
412
- const f = l[h], p = f.firstChild, g = p.offsetTop, m = p.offsetLeft, v = p.offsetWidth, y = p.offsetHeight, _ = p.firstChild.nodeObj.branchColor || n, E = e.generateSubBranch({ pT: c, pL: d, pW: a, pH: u, cT: g, cL: m, cW: v, cH: y, direction: s, isFirst: i });
413
- t.appendChild(Ee(E, _, "2"));
414
- const w = p.children[1];
412
+ const f = l[h], m = f.firstChild, g = m.offsetTop, p = m.offsetLeft, v = m.offsetWidth, E = m.offsetHeight, y = m.firstChild.nodeObj.branchColor || n, _ = e.generateSubBranch({ pT: c, pL: d, pW: a, pH: u, cT: g, cL: p, cW: v, cH: E, direction: s, isFirst: i });
413
+ t.appendChild(Ee(_, y, "2"));
414
+ const w = m.children[1];
415
415
  if (w) {
416
- if (w.style.bottom = -(w.offsetHeight / 2) + "px", s === M.LHS ? w.style.left = "10px" : s === M.RHS && (w.style.right = "10px"), !w.expanded)
416
+ if (w.style.bottom = -(w.offsetHeight / 2) + "px", s === T.LHS ? w.style.left = "10px" : s === T.RHS && (w.style.right = "10px"), !w.expanded)
417
417
  continue;
418
418
  } else
419
419
  continue;
420
- Ce(e, t, _, f, s);
420
+ Ce(e, t, y, f, s);
421
421
  }
422
422
  };
423
423
  const B = (e, t) => {
@@ -476,7 +476,7 @@ class Je {
476
476
  }
477
477
  }
478
478
  const de = (e, t = "px") => typeof e == "number" ? e + t : e;
479
- function $({ style: e }, t, n) {
479
+ function A({ style: e }, t, n) {
480
480
  if (typeof t == "object")
481
481
  for (const [o, s] of Object.entries(t))
482
482
  s !== void 0 && (e[o] = de(s));
@@ -490,7 +490,7 @@ const Le = (e) => (t, n, o, s = {}) => {
490
490
  for (const r of n)
491
491
  i[e](r, o, { capture: !1, ...s });
492
492
  return [t, n, o, s];
493
- }, P = Le("addEventListener"), A = Le("removeEventListener"), Y = (e) => {
493
+ }, P = Le("addEventListener"), N = Le("removeEventListener"), Y = (e) => {
494
494
  var t;
495
495
  const { clientX: n, clientY: o, target: s } = ((t = e.touches) == null ? void 0 : t[0]) ?? e;
496
496
  return { x: n, y: o, target: s };
@@ -603,12 +603,12 @@ class tt extends Je {
603
603
  for (const a of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))
604
604
  typeof this[a] == "function" && (this[a] = this[a].bind(this));
605
605
  const { document: l, selectionAreaClass: c, selectionContainerClass: d } = this._options;
606
- this._area = l.createElement("div"), this._clippingElement = l.createElement("div"), this._clippingElement.appendChild(this._area), this._area.classList.add(c), d && this._clippingElement.classList.add(d), $(this._area, {
606
+ this._area = l.createElement("div"), this._clippingElement = l.createElement("div"), this._clippingElement.appendChild(this._area), this._area.classList.add(c), d && this._clippingElement.classList.add(d), A(this._area, {
607
607
  willChange: "top, left, bottom, right, width, height",
608
608
  top: 0,
609
609
  left: 0,
610
610
  position: "fixed"
611
- }), $(this._clippingElement, {
611
+ }), A(this._clippingElement, {
612
612
  overflow: "hidden",
613
613
  position: "fixed",
614
614
  transform: "translate3d(0, 0, 0)",
@@ -620,7 +620,7 @@ class tt extends Je {
620
620
  }), this.enable();
621
621
  }
622
622
  _bindStartEvents(t = !0) {
623
- const { document: n, features: o } = this._options, s = t ? P : A;
623
+ const { document: n, features: o } = this._options, s = t ? P : N;
624
624
  s(n, "mousedown", this._onTapStart), o.touch && s(n, "touchstart", this._onTapStart, {
625
625
  passive: !1
626
626
  });
@@ -676,30 +676,30 @@ class tt extends Je {
676
676
  typeof s == "number" && D(l + c - (i + r)) >= s || // Different x and y threshold
677
677
  typeof s == "object" && D(l - i) >= s.x || D(c - r) >= s.y
678
678
  ) {
679
- if (A(o, ["mousemove", "touchmove"], this._delayedTapMove, { passive: !1 }), this._emitEvent("beforedrag", t) === !1) {
680
- A(o, ["mouseup", "touchcancel", "touchend"], this._onTapStop);
679
+ if (N(o, ["mousemove", "touchmove"], this._delayedTapMove, { passive: !1 }), this._emitEvent("beforedrag", t) === !1) {
680
+ N(o, ["mouseup", "touchcancel", "touchend"], this._onTapStop);
681
681
  return;
682
682
  }
683
- P(o, ["mousemove", "touchmove"], this._onTapMove, { passive: !1 }), $(this._area, "display", "block"), z(n, o)[0].appendChild(this._clippingElement), this.resolveSelectables(), this._singleClick = !1, this._targetRect = this._targetElement.getBoundingClientRect(), this._scrollAvailable = this._targetElement.scrollHeight !== this._targetElement.clientHeight || this._targetElement.scrollWidth !== this._targetElement.clientWidth, this._scrollAvailable && (P(this._targetElement, "wheel", this._manualScroll, { passive: !1 }), this._selectables = this._selectables.filter((d) => this._targetElement.contains(d))), this._setupSelectionArea(), this._emitEvent("start", t), this._onTapMove(t);
683
+ P(o, ["mousemove", "touchmove"], this._onTapMove, { passive: !1 }), A(this._area, "display", "block"), z(n, o)[0].appendChild(this._clippingElement), this.resolveSelectables(), this._singleClick = !1, this._targetRect = this._targetElement.getBoundingClientRect(), this._scrollAvailable = this._targetElement.scrollHeight !== this._targetElement.clientHeight || this._targetElement.scrollWidth !== this._targetElement.clientWidth, this._scrollAvailable && (P(this._targetElement, "wheel", this._manualScroll, { passive: !1 }), this._selectables = this._selectables.filter((d) => this._targetElement.contains(d))), this._setupSelectionArea(), this._emitEvent("start", t), this._onTapMove(t);
684
684
  }
685
685
  this._handleMoveEvent(t);
686
686
  }
687
687
  _setupSelectionArea() {
688
688
  const { _clippingElement: t, _targetElement: n, _area: o } = this, s = this._targetRect = n.getBoundingClientRect();
689
- this._scrollAvailable ? ($(t, {
689
+ this._scrollAvailable ? (A(t, {
690
690
  top: s.top,
691
691
  left: s.left,
692
692
  width: s.width,
693
693
  height: s.height
694
- }), $(o, {
694
+ }), A(o, {
695
695
  marginTop: -s.top,
696
696
  marginLeft: -s.left
697
- })) : ($(t, {
697
+ })) : (A(t, {
698
698
  top: 0,
699
699
  left: 0,
700
700
  width: "100%",
701
701
  height: "100%"
702
- }), $(o, {
702
+ }), A(o, {
703
703
  marginTop: 0,
704
704
  marginLeft: 0
705
705
  }));
@@ -734,12 +734,12 @@ class tt extends Je {
734
734
  this._scrollSpeed.y += o * n, this._scrollSpeed.x += s * n, this._onTapMove(t), t.preventDefault();
735
735
  }
736
736
  _recalculateSelectionAreaRect() {
737
- const { _scrollSpeed: t, _areaLocation: n, _areaRect: o, _targetElement: s, _options: i } = this, { scrollTop: r, scrollHeight: l, clientHeight: c, scrollLeft: d, scrollWidth: a, clientWidth: u } = s, h = this._targetRect, { x1: f, y1: p } = n;
738
- let { x2: g, y2: m } = n;
737
+ const { _scrollSpeed: t, _areaLocation: n, _areaRect: o, _targetElement: s, _options: i } = this, { scrollTop: r, scrollHeight: l, clientHeight: c, scrollLeft: d, scrollWidth: a, clientWidth: u } = s, h = this._targetRect, { x1: f, y1: m } = n;
738
+ let { x2: g, y2: p } = n;
739
739
  const { behaviour: { scrolling: { startScrollMargins: v } } } = i;
740
- g < h.left + v.x ? (t.x = d ? -D(h.left - g + v.x) : 0, g = g < h.left ? h.left : g) : g > h.right - v.x ? (t.x = a - d - u ? D(h.left + h.width - g - v.x) : 0, g = g > h.right ? h.right : g) : t.x = 0, m < h.top + v.y ? (t.y = r ? -D(h.top - m + v.y) : 0, m = m < h.top ? h.top : m) : m > h.bottom - v.y ? (t.y = l - r - c ? D(h.top + h.height - m - v.y) : 0, m = m > h.bottom ? h.bottom : m) : t.y = 0;
741
- const y = pe(f, g), _ = pe(p, m), E = fe(f, g), w = fe(p, m);
742
- o.x = y, o.y = _, o.width = E - y, o.height = w - _;
740
+ g < h.left + v.x ? (t.x = d ? -D(h.left - g + v.x) : 0, g = g < h.left ? h.left : g) : g > h.right - v.x ? (t.x = a - d - u ? D(h.left + h.width - g - v.x) : 0, g = g > h.right ? h.right : g) : t.x = 0, p < h.top + v.y ? (t.y = r ? -D(h.top - p + v.y) : 0, p = p < h.top ? h.top : p) : p > h.bottom - v.y ? (t.y = l - r - c ? D(h.top + h.height - p - v.y) : 0, p = p > h.bottom ? h.bottom : p) : t.y = 0;
741
+ const E = pe(f, g), y = pe(m, p), _ = fe(f, g), w = fe(m, p);
742
+ o.x = E, o.y = y, o.width = _ - E, o.height = w - y;
743
743
  }
744
744
  _redrawSelectionArea() {
745
745
  const { x: t, y: n, width: o, height: s } = this._areaRect, { style: i } = this._area;
@@ -748,30 +748,30 @@ class tt extends Je {
748
748
  _onTapStop(t, n) {
749
749
  var o;
750
750
  const { document: s, features: i } = this._options, { _singleClick: r } = this;
751
- A(s, ["mousemove", "touchmove"], this._delayedTapMove), A(s, ["touchmove", "mousemove"], this._onTapMove), A(s, ["mouseup", "touchcancel", "touchend"], this._onTapStop), A(s, "scroll", this._onScroll), this._keepSelection(), t && r && i.singleTap.allow ? this._onSingleTap(t) : !r && !n && (this._updateElementSelection(), this._emitEvent("stop", t)), this._scrollSpeed.x = 0, this._scrollSpeed.y = 0, A(this._targetElement, "wheel", this._manualScroll, { passive: !0 }), this._clippingElement.remove(), (o = this._frame) == null || o.cancel(), $(this._area, "display", "none");
751
+ N(s, ["mousemove", "touchmove"], this._delayedTapMove), N(s, ["touchmove", "mousemove"], this._onTapMove), N(s, ["mouseup", "touchcancel", "touchend"], this._onTapStop), N(s, "scroll", this._onScroll), this._keepSelection(), t && r && i.singleTap.allow ? this._onSingleTap(t) : !r && !n && (this._updateElementSelection(), this._emitEvent("stop", t)), this._scrollSpeed.x = 0, this._scrollSpeed.y = 0, N(this._targetElement, "wheel", this._manualScroll, { passive: !0 }), this._clippingElement.remove(), (o = this._frame) == null || o.cancel(), A(this._area, "display", "none");
752
752
  }
753
753
  _updateElementSelection() {
754
754
  const { _selectables: t, _options: n, _selection: o, _areaRect: s } = this, { stored: i, selected: r, touched: l } = o, { intersect: c, overlap: d } = n.behaviour, a = d === "invert", u = [], h = [], f = [];
755
755
  for (let g = 0; g < t.length; g++) {
756
- const m = t[g];
757
- if (ue(s, m.getBoundingClientRect(), c)) {
758
- if (r.includes(m))
759
- i.includes(m) && !l.includes(m) && l.push(m);
760
- else if (a && i.includes(m)) {
761
- f.push(m);
756
+ const p = t[g];
757
+ if (ue(s, p.getBoundingClientRect(), c)) {
758
+ if (r.includes(p))
759
+ i.includes(p) && !l.includes(p) && l.push(p);
760
+ else if (a && i.includes(p)) {
761
+ f.push(p);
762
762
  continue;
763
763
  } else
764
- h.push(m);
765
- u.push(m);
764
+ h.push(p);
765
+ u.push(p);
766
766
  }
767
767
  }
768
768
  a && h.push(...i.filter((g) => !r.includes(g)));
769
- const p = d === "keep";
769
+ const m = d === "keep";
770
770
  for (let g = 0; g < r.length; g++) {
771
- const m = r[g];
772
- !u.includes(m) && !// Check if user wants to keep previously selected elements, e.g.
771
+ const p = r[g];
772
+ !u.includes(p) && !// Check if user wants to keep previously selected elements, e.g.
773
773
  // not make them part of the current selection as soon as they're touched.
774
- (p && i.includes(m)) && f.push(m);
774
+ (m && i.includes(p)) && f.push(p);
775
775
  }
776
776
  o.selected = u, o.changed = { added: h, removed: f }, this._latestElement = void 0;
777
777
  }
@@ -919,7 +919,7 @@ function Me(e) {
919
919
  const st = function(e, t, n) {
920
920
  if (e) {
921
921
  if (this.clearSelection(), typeof e == "string") {
922
- const o = L(e);
922
+ const o = M(e);
923
923
  return o ? this.selectNode(o) : void 0;
924
924
  }
925
925
  e.className = "selected", e.scrollIntoView({ block: "nearest", inline: "nearest" }), this.currentNode = e, t ? this.bus.fire("selectNewNode", e.nodeObj) : this.bus.fire("selectNode", e.nodeObj, n);
@@ -1053,7 +1053,7 @@ const st = function(e, t, n) {
1053
1053
  create: Lt
1054
1054
  };
1055
1055
  function Z(e, t, n) {
1056
- const { offsetLeft: o, offsetTop: s } = k(e.nodes, t), i = t.offsetWidth, r = t.offsetHeight, l = o + i / 2, c = s + r / 2, d = l + n.x, a = c + n.y;
1056
+ const { offsetLeft: o, offsetTop: s } = H(e.nodes, t), i = t.offsetWidth, r = t.offsetHeight, l = o + i / 2, c = s + r / 2, d = l + n.x, a = c + n.y;
1057
1057
  return {
1058
1058
  w: i,
1059
1059
  h: r,
@@ -1083,14 +1083,14 @@ const Mt = function(e, t, n, o) {
1083
1083
  if (!t || !n)
1084
1084
  return;
1085
1085
  performance.now();
1086
- const i = Z(e, t, o.delta1), r = Z(e, n, o.delta2), { x: l, y: c } = O(i), { ctrlX: d, ctrlY: a } = i, { ctrlX: u, ctrlY: h } = r, { x: f, y: p } = O(r), g = U(u, h, f, p), m = `M ${g.x1} ${g.y1} L ${f} ${p} L ${g.x2} ${g.y2}`;
1086
+ const i = Z(e, t, o.delta1), r = Z(e, n, o.delta2), { x: l, y: c } = O(i), { ctrlX: d, ctrlY: a } = i, { ctrlX: u, ctrlY: h } = r, { x: f, y: m } = O(r), g = U(u, h, f, m), p = `M ${g.x1} ${g.y1} L ${f} ${m} L ${g.x2} ${g.y2}`;
1087
1087
  let v = "";
1088
1088
  if (o.bidirectional) {
1089
- const H = U(d, a, l, c);
1090
- v = `M ${H.x1} ${H.y1} L ${l} ${c} L ${H.x2} ${H.y2}`;
1089
+ const S = U(d, a, l, c);
1090
+ v = `M ${S.x1} ${S.y1} L ${l} ${c} L ${S.x2} ${S.y2}`;
1091
1091
  }
1092
- const y = We(`M ${l} ${c} C ${d} ${a} ${u} ${h} ${f} ${p}`, m, v), _ = l / 8 + d * 3 / 8 + u * 3 / 8 + f / 8, E = c / 8 + a * 3 / 8 + h * 3 / 8 + p / 8, w = Mt(o.label, _, E, e.theme.cssVar["--color"]);
1093
- y.appendChild(w), y.arrowObj = o, y.dataset.linkid = o.id, e.linkSvgGroup.appendChild(y), s || (e.arrows.push(o), e.currentArrow = y, $e(e, o, i, r)), performance.now();
1092
+ const E = We(`M ${l} ${c} C ${d} ${a} ${u} ${h} ${f} ${m}`, p, v), y = l / 8 + d * 3 / 8 + u * 3 / 8 + f / 8, _ = c / 8 + a * 3 / 8 + h * 3 / 8 + m / 8, w = Mt(o.label, y, _, e.theme.cssVar["--color"]);
1093
+ E.appendChild(w), E.arrowObj = o, E.dataset.linkid = o.id, e.linkSvgGroup.appendChild(E), s || (e.arrows.push(o), e.currentArrow = E, $e(e, o, i, r)), performance.now();
1094
1094
  }, Tt = function(e, t, n = {}) {
1095
1095
  const o = {
1096
1096
  id: oe(),
@@ -1125,7 +1125,7 @@ const Mt = function(e, t, n, o) {
1125
1125
  });
1126
1126
  }, At = function(e) {
1127
1127
  this.currentArrow = e;
1128
- const t = e.arrowObj, n = L(t.from), o = L(t.to), s = Z(this, n, t.delta1), i = Z(this, o, t.delta2);
1128
+ const t = e.arrowObj, n = M(t.from), o = M(t.to), s = Z(this, n, t.delta1), i = Z(this, o, t.delta2);
1129
1129
  $e(this, t, s, i);
1130
1130
  }, Nt = function() {
1131
1131
  this.currentArrow = null, se(this);
@@ -1149,16 +1149,16 @@ const Mt = function(e, t, n, o) {
1149
1149
  if (!e.currentArrow)
1150
1150
  return;
1151
1151
  r = r + h / e.scaleVal, l = l + f / e.scaleVal;
1152
- const p = O({ ...n, ctrlX: r, ctrlY: l });
1153
- s = p.x, i = p.y;
1154
- const g = s / 8 + r * 3 / 8 + c * 3 / 8 + a / 8, m = i / 8 + l * 3 / 8 + d * 3 / 8 + u / 8;
1152
+ const m = O({ ...n, ctrlX: r, ctrlY: l });
1153
+ s = m.x, i = m.y;
1154
+ const g = s / 8 + r * 3 / 8 + c * 3 / 8 + a / 8, p = i / 8 + l * 3 / 8 + d * 3 / 8 + u / 8;
1155
1155
  if (e.P2.style.top = l + "px", e.P2.style.left = r + "px", e.currentArrow.children[0].setAttribute("d", `M ${s} ${i} C ${r} ${l} ${c} ${d} ${a} ${u}`), t.bidirectional) {
1156
1156
  const v = U(r, l, s, i);
1157
1157
  e.currentArrow.children[2].setAttribute("d", `M ${v.x1} ${v.y1} L ${s} ${i} L ${v.x2} ${v.y2}`);
1158
1158
  }
1159
1159
  x(e.currentArrow.children[3], {
1160
1160
  x: g + "",
1161
- y: m + ""
1161
+ y: p + ""
1162
1162
  }), x(e.line1, {
1163
1163
  x1: s + "",
1164
1164
  y1: i + "",
@@ -1169,12 +1169,12 @@ const Mt = function(e, t, n, o) {
1169
1169
  if (!e.currentArrow)
1170
1170
  return;
1171
1171
  c = c + h / e.scaleVal, d = d + f / e.scaleVal;
1172
- const p = O({ ...o, ctrlX: c, ctrlY: d });
1173
- a = p.x, u = p.y;
1174
- const g = s / 8 + r * 3 / 8 + c * 3 / 8 + a / 8, m = i / 8 + l * 3 / 8 + d * 3 / 8 + u / 8, v = U(c, d, a, u);
1172
+ const m = O({ ...o, ctrlX: c, ctrlY: d });
1173
+ a = m.x, u = m.y;
1174
+ const g = s / 8 + r * 3 / 8 + c * 3 / 8 + a / 8, p = i / 8 + l * 3 / 8 + d * 3 / 8 + u / 8, v = U(c, d, a, u);
1175
1175
  e.P3.style.top = d + "px", e.P3.style.left = c + "px", e.currentArrow.children[0].setAttribute("d", `M ${s} ${i} C ${r} ${l} ${c} ${d} ${a} ${u}`), e.currentArrow.children[1].setAttribute("d", `M ${v.x1} ${v.y1} L ${a} ${u} L ${v.x2} ${v.y2}`), x(e.currentArrow.children[3], {
1176
1176
  x: g + "",
1177
- y: m + ""
1177
+ y: p + ""
1178
1178
  }), x(e.line2, {
1179
1179
  x1: c + "",
1180
1180
  y1: d + "",
@@ -1188,7 +1188,7 @@ function kt() {
1188
1188
  for (let e = 0; e < this.arrows.length; e++) {
1189
1189
  const t = this.arrows[e];
1190
1190
  try {
1191
- Te(this, L(t.from), L(t.to), t, !0);
1191
+ Te(this, M(t.from), M(t.to), t, !0);
1192
1192
  } catch {
1193
1193
  }
1194
1194
  }
@@ -1239,7 +1239,7 @@ const Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1239
1239
  let u = a.nodeObj;
1240
1240
  const h = [];
1241
1241
  for (; u.parent; ) {
1242
- const f = u.parent, p = f.children, g = p == null ? void 0 : p.indexOf(u);
1242
+ const f = u.parent, m = f.children, g = m == null ? void 0 : m.indexOf(u);
1243
1243
  u = f, h.unshift({ node: u, index: g });
1244
1244
  }
1245
1245
  return h.length > t && (t = h.length), h;
@@ -1282,26 +1282,26 @@ const Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1282
1282
  y: n + "",
1283
1283
  fill: s || "#666"
1284
1284
  }), i.innerHTML = e, i;
1285
- }, Ot = (e) => L(e).parentElement.parentElement, jt = function({ parent: e, start: t }) {
1286
- const n = L(e), o = n.nodeObj;
1285
+ }, Ot = (e) => M(e).parentElement.parentElement, jt = function({ parent: e, start: t }) {
1286
+ const n = M(e), o = n.nodeObj;
1287
1287
  let s;
1288
- return o.parent ? s = n.closest("me-main").className : s = L(o.children[t].id).closest("me-main").className, s;
1288
+ return o.parent ? s = n.closest("me-main").className : s = M(o.children[t].id).closest("me-main").className, s;
1289
1289
  }, Ae = function(e, t) {
1290
- var H;
1291
- const { id: n, text: o, parent: s, start: i, end: r } = t, l = e.nodes, d = L(s).nodeObj, a = jt(t);
1292
- let u = 1 / 0, h = 0, f = 0, p = 0;
1290
+ var S;
1291
+ const { id: n, text: o, parent: s, start: i, end: r } = t, l = e.nodes, d = M(s).nodeObj, a = jt(t);
1292
+ let u = 1 / 0, h = 0, f = 0, m = 0;
1293
1293
  for (let R = i; R <= r; R++) {
1294
- const ie = (H = d.children) == null ? void 0 : H[R];
1294
+ const ie = (S = d.children) == null ? void 0 : S[R];
1295
1295
  if (!ie)
1296
1296
  return e.removeSummary(n), null;
1297
- const I = Ot(ie.id), { offsetLeft: X, offsetTop: re } = k(l, I), le = i === r ? 10 : 20;
1298
- R === i && (f = re + le), R === r && (p = re + I.offsetHeight - le), X < u && (u = X), I.offsetWidth + X > h && (h = I.offsetWidth + X);
1297
+ const I = Ot(ie.id), { offsetLeft: X, offsetTop: re } = H(l, I), le = i === r ? 10 : 20;
1298
+ R === i && (f = re + le), R === r && (m = re + I.offsetHeight - le), X < u && (u = X), I.offsetWidth + X > h && (h = I.offsetWidth + X);
1299
1299
  }
1300
- let g, m;
1301
- const v = f + 10, y = p + 10, _ = (v + y) / 2, E = e.theme.cssVar["--color"];
1302
- a === M.LHS ? (g = ve(`M ${u + 10} ${v} c -5 0 -10 5 -10 10 L ${u} ${y - 10} c 0 5 5 10 10 10 M ${u} ${_} h -10`, E), m = ye(o, u - 20, _ + 6, "end", E)) : (g = ve(`M ${h - 10} ${v} c 5 0 10 5 10 10 L ${h} ${y - 10} c 0 5 -5 10 -10 10 M ${h} ${_} h 10`, E), m = ye(o, h + 20, _ + 6, "start", E));
1300
+ let g, p;
1301
+ const v = f + 10, E = m + 10, y = (v + E) / 2, _ = e.theme.cssVar["--color"];
1302
+ a === T.LHS ? (g = ve(`M ${u + 10} ${v} c -5 0 -10 5 -10 10 L ${u} ${E - 10} c 0 5 5 10 10 10 M ${u} ${y} h -10`, _), p = ye(o, u - 20, y + 6, "end", _)) : (g = ve(`M ${h - 10} ${v} c 5 0 10 5 10 10 L ${h} ${E - 10} c 0 5 -5 10 -10 10 M ${h} ${y} h 10`, _), p = ye(o, h + 20, y + 6, "start", _));
1303
1303
  const w = zt("s-" + n);
1304
- return w.appendChild(g), w.appendChild(m), w.summaryObj = t, e.summarySvg.appendChild(w), w;
1304
+ return w.appendChild(g), w.appendChild(p), w.summaryObj = t, e.summarySvg.appendChild(w), w;
1305
1305
  }, Rt = function() {
1306
1306
  let e = [];
1307
1307
  this.currentNode ? e = [this.currentNode] : this.currentNodes && (e = this.currentNodes);
@@ -1359,12 +1359,12 @@ const Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1359
1359
  renderSummary: Ft,
1360
1360
  selectSummary: Vt,
1361
1361
  unselectSummary: Wt
1362
- }, Symbol.toStringTag, { value: "Module" })), C = "http://www.w3.org/2000/svg";
1362
+ }, Symbol.toStringTag, { value: "Module" })), L = "http://www.w3.org/2000/svg";
1363
1363
  function Yt(e, t) {
1364
- const n = document.createElementNS(C, "svg");
1364
+ const n = document.createElementNS(L, "svg");
1365
1365
  return x(n, {
1366
1366
  version: "1.1",
1367
- xmlns: C,
1367
+ xmlns: L,
1368
1368
  height: e,
1369
1369
  width: t
1370
1370
  }), n;
@@ -1373,11 +1373,11 @@ function Gt(e, t) {
1373
1373
  return (parseInt(e) - parseInt(t)) / 2;
1374
1374
  }
1375
1375
  function Kt(e, t, n, o) {
1376
- const s = document.createElementNS(C, "g");
1376
+ const s = document.createElementNS(L, "g");
1377
1377
  let i = "";
1378
1378
  return e.text ? i = e.text.textContent : i = e.childNodes[0].textContent, i.split(`
1379
1379
  `).forEach((l, c) => {
1380
- const d = document.createElementNS(C, "text");
1380
+ const d = document.createElementNS(L, "text");
1381
1381
  x(d, {
1382
1382
  x: n + parseInt(t.paddingLeft) + "",
1383
1383
  y: o + parseInt(t.paddingTop) + Gt(t.lineHeight, t.fontSize) * (c + 1) + parseFloat(t.fontSize) * (c + 1) + "",
@@ -1393,7 +1393,7 @@ function Jt(e, t, n, o) {
1393
1393
  var l;
1394
1394
  let s = "";
1395
1395
  (l = e.nodeObj) != null && l.dangerouslySetInnerHTML ? s = e.nodeObj.dangerouslySetInnerHTML : e.text ? s = e.text.textContent : s = e.childNodes[0].textContent;
1396
- const i = document.createElementNS(C, "foreignObject");
1396
+ const i = document.createElementNS(L, "foreignObject");
1397
1397
  x(i, {
1398
1398
  x: n + parseInt(t.paddingLeft) + "",
1399
1399
  y: o + parseInt(t.paddingTop) + "",
@@ -1407,7 +1407,7 @@ function Jt(e, t, n, o) {
1407
1407
  }), r.innerHTML = s, i.appendChild(r), i;
1408
1408
  }
1409
1409
  function Ut(e, t) {
1410
- const n = getComputedStyle(t), { offsetLeft: o, offsetTop: s } = k(e.nodes, t), i = document.createElementNS(C, "rect");
1410
+ const n = getComputedStyle(t), { offsetLeft: o, offsetTop: s } = H(e.nodes, t), i = document.createElementNS(L, "rect");
1411
1411
  return x(i, {
1412
1412
  x: o + "",
1413
1413
  y: s + "",
@@ -1421,7 +1421,7 @@ function Ut(e, t) {
1421
1421
  }), i;
1422
1422
  }
1423
1423
  function G(e, t, n = !1) {
1424
- const o = getComputedStyle(t), { offsetLeft: s, offsetTop: i } = k(e.nodes, t), r = document.createElementNS(C, "rect");
1424
+ const o = getComputedStyle(t), { offsetLeft: s, offsetTop: i } = H(e.nodes, t), r = document.createElementNS(L, "rect");
1425
1425
  x(r, {
1426
1426
  x: s + "",
1427
1427
  y: i + "",
@@ -1433,13 +1433,13 @@ function G(e, t, n = !1) {
1433
1433
  stroke: o.borderColor,
1434
1434
  "stroke-width": o.borderWidth
1435
1435
  });
1436
- const l = document.createElementNS(C, "g");
1436
+ const l = document.createElementNS(L, "g");
1437
1437
  l.appendChild(r);
1438
1438
  let c;
1439
1439
  return n ? c = Jt(t, o, s, i) : c = Kt(t, o, s, i), l.appendChild(c), l;
1440
1440
  }
1441
1441
  function Qt(e, t) {
1442
- const n = getComputedStyle(t), { offsetLeft: o, offsetTop: s } = k(e.nodes, t), i = document.createElementNS(C, "a"), r = document.createElementNS(C, "text");
1442
+ const n = getComputedStyle(t), { offsetLeft: o, offsetTop: s } = H(e.nodes, t), i = document.createElementNS(L, "a"), r = document.createElementNS(L, "text");
1443
1443
  return x(r, {
1444
1444
  x: o + "",
1445
1445
  y: s + parseInt(n.fontSize) + "",
@@ -1451,7 +1451,7 @@ function Qt(e, t) {
1451
1451
  }), r.innerHTML = t.textContent, i.appendChild(r), i.setAttribute("href", t.href), i;
1452
1452
  }
1453
1453
  function Zt(e, t) {
1454
- const n = getComputedStyle(t), { offsetLeft: o, offsetTop: s } = k(e.nodes, t), i = document.createElementNS(C, "image");
1454
+ const n = getComputedStyle(t), { offsetLeft: o, offsetTop: s } = H(e.nodes, t), i = document.createElementNS(L, "image");
1455
1455
  return x(i, {
1456
1456
  x: o + "",
1457
1457
  y: s + "",
@@ -1462,32 +1462,32 @@ function Zt(e, t) {
1462
1462
  }
1463
1463
  const K = 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) => {
1464
1464
  var u, h, f;
1465
- const n = e.nodes, o = n.offsetHeight + K * 2, s = n.offsetWidth + K * 2, i = Yt(o + "px", s + "px"), r = document.createElementNS(C, "svg"), l = document.createElementNS(C, "rect");
1465
+ const n = e.nodes, o = n.offsetHeight + K * 2, s = n.offsetWidth + K * 2, i = Yt(o + "px", s + "px"), r = document.createElementNS(L, "svg"), l = document.createElementNS(L, "rect");
1466
1466
  x(l, {
1467
1467
  x: "0",
1468
1468
  y: "0",
1469
1469
  width: `${s}`,
1470
1470
  height: `${o}`,
1471
1471
  fill: e.theme.cssVar["--bgcolor"]
1472
- }), i.appendChild(l), n.querySelectorAll(".subLines").forEach((p) => {
1473
- const g = p.cloneNode(!0), { offsetLeft: m, offsetTop: v } = k(n, p.parentElement);
1474
- g.setAttribute("x", `${m}`), g.setAttribute("y", `${v}`), r.appendChild(g);
1472
+ }), i.appendChild(l), n.querySelectorAll(".subLines").forEach((m) => {
1473
+ const g = m.cloneNode(!0), { offsetLeft: p, offsetTop: v } = H(n, m.parentElement);
1474
+ g.setAttribute("x", `${p}`), g.setAttribute("y", `${v}`), r.appendChild(g);
1475
1475
  });
1476
1476
  const c = (u = n.querySelector(".lines")) == null ? void 0 : u.cloneNode(!0);
1477
1477
  c && r.appendChild(c);
1478
1478
  const d = (h = n.querySelector(".topiclinks")) == null ? void 0 : h.cloneNode(!0);
1479
1479
  d && r.appendChild(d);
1480
1480
  const a = (f = n.querySelector(".summary")) == null ? void 0 : f.cloneNode(!0);
1481
- return a && r.appendChild(a), n.querySelectorAll("me-tpc").forEach((p) => {
1482
- p.nodeObj.dangerouslySetInnerHTML ? r.appendChild(G(e, p, !t)) : (r.appendChild(Ut(e, p)), r.appendChild(G(e, p.text, !t)));
1483
- }), n.querySelectorAll(".tags > span").forEach((p) => {
1484
- r.appendChild(G(e, p));
1485
- }), n.querySelectorAll(".icons > span").forEach((p) => {
1486
- r.appendChild(G(e, p));
1487
- }), n.querySelectorAll(".hyper-link").forEach((p) => {
1488
- r.appendChild(Qt(e, p));
1489
- }), n.querySelectorAll("img").forEach((p) => {
1490
- r.appendChild(Zt(e, p));
1481
+ return a && r.appendChild(a), n.querySelectorAll("me-tpc").forEach((m) => {
1482
+ m.nodeObj.dangerouslySetInnerHTML ? r.appendChild(G(e, m, !t)) : (r.appendChild(Ut(e, m)), r.appendChild(G(e, m.text, !t)));
1483
+ }), n.querySelectorAll(".tags > span").forEach((m) => {
1484
+ r.appendChild(G(e, m));
1485
+ }), n.querySelectorAll(".icons > span").forEach((m) => {
1486
+ r.appendChild(G(e, m));
1487
+ }), n.querySelectorAll(".hyper-link").forEach((m) => {
1488
+ r.appendChild(Qt(e, m));
1489
+ }), n.querySelectorAll("img").forEach((m) => {
1490
+ r.appendChild(Zt(e, m));
1491
1491
  }), x(r, {
1492
1492
  x: K + "",
1493
1493
  y: K + "",
@@ -1530,7 +1530,7 @@ const sn = function(e = !1, t) {
1530
1530
  createParent: Oe,
1531
1531
  createChildren: je,
1532
1532
  createTopic: Re,
1533
- findEle: L,
1533
+ findEle: M,
1534
1534
  changeTheme: nt,
1535
1535
  ...Ct,
1536
1536
  ...cn,
@@ -1551,21 +1551,21 @@ function hn({ pT: e, pL: t, pW: n, pH: o, cT: s, cL: i, cW: r, cH: l, direction:
1551
1551
  let a = t + n / 2;
1552
1552
  const u = e + o / 2;
1553
1553
  let h;
1554
- c === M.LHS ? h = i + r : h = i;
1554
+ c === T.LHS ? h = i + r : h = i;
1555
1555
  const f = s + l / 2, g = (1 - Math.abs(f - u) / d) * 0.25 * (n / 2);
1556
- return c === M.LHS ? a = a - n / 10 - g : a = a + n / 10 + g, `M ${a} ${u} Q ${a} ${f} ${h} ${f}`;
1556
+ return c === T.LHS ? a = a - n / 10 - g : a = a + n / 10 + g, `M ${a} ${u} Q ${a} ${f} ${h} ${f}`;
1557
1557
  }
1558
1558
  function dn({ pT: e, pL: t, pW: n, pH: o, cT: s, cL: i, cW: r, cH: l, direction: c, isFirst: d }) {
1559
1559
  const a = parseInt(this.container.style.getPropertyValue("--gap"));
1560
1560
  let u = 0, h = 0;
1561
1561
  d ? u = e + o / 2 : u = e + o;
1562
1562
  const f = s + l;
1563
- let p = 0, g = 0, m = 0;
1563
+ let m = 0, g = 0, p = 0;
1564
1564
  const v = Math.abs(u - f) / 300 * a;
1565
- return c === M.LHS ? (m = t, p = m + a, g = m - a, h = i + a, `M ${p} ${u} C ${m} ${u} ${m + v} ${f} ${g} ${f} H ${h}`) : (m = t + n, p = m - a, g = m + a, h = i + r - a, `M ${p} ${u} C ${m} ${u} ${m - v} ${f} ${g} ${f} H ${h}`);
1565
+ return c === T.LHS ? (p = t, m = p + a, g = p - a, h = i + a, `M ${m} ${u} C ${p} ${u} ${p + v} ${f} ${g} ${f} H ${h}`) : (p = t + n, m = p - a, g = p + a, h = i + r - a, `M ${m} ${u} C ${p} ${u} ${p - v} ${f} ${g} ${f} H ${h}`);
1566
1566
  }
1567
- const un = "4.4.2", q = document;
1568
- function T({
1567
+ const un = "4.4.3", q = document;
1568
+ function $({
1569
1569
  el: e,
1570
1570
  direction: t,
1571
1571
  locale: n,
@@ -1580,30 +1580,31 @@ function T({
1580
1580
  before: u,
1581
1581
  newTopicName: h,
1582
1582
  allowUndo: f,
1583
- generateMainBranch: p,
1583
+ generateMainBranch: m,
1584
1584
  generateSubBranch: g,
1585
- overflowHidden: m,
1586
- theme: v
1585
+ overflowHidden: p,
1586
+ theme: v,
1587
+ alignment: E
1587
1588
  }) {
1588
1589
  let y = null;
1589
1590
  const _ = Object.prototype.toString.call(e);
1590
1591
  if (_ === "[object HTMLDivElement]" ? y = e : _ === "[object String]" && (y = document.querySelector(e)), !y)
1591
1592
  throw new Error("MindElixir: el is not a valid element");
1592
- y.style.position = "relative", y.innerHTML = "", this.mindElixirBox = y, this.disposable = [], this.before = u || {}, 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 = h || "new node", this.editable = s === void 0 ? !0 : s, this.allowUndo = f === void 0 ? !1 : f, this.currentNode = null, this.currentArrow = null, this.scaleVal = 1, this.tempDirection = null, this.generateMainBranch = p || hn, this.generateSubBranch = g || dn, this.overflowHidden = m || !1, this.bus = He.create(), this.container = q.createElement("div"), this.selectionContainer = a || this.container, this.container.className = "map-container";
1593
- const E = window.matchMedia("(prefers-color-scheme: dark)");
1594
- this.theme = v || (E.matches ? xe : be);
1595
- const w = q.createElement("div");
1596
- w.className = "map-canvas", this.map = w, this.map.setAttribute("tabindex", "0"), this.container.appendChild(this.map), this.mindElixirBox.appendChild(this.container), this.nodes = q.createElement("me-nodes"), this.nodes.className = "main-node-container", this.lines = V("lines"), this.summarySvg = V("summary"), this.linkController = V("linkcontroller"), this.P2 = q.createElement("div"), this.P3 = q.createElement("div"), this.P2.className = this.P3.className = "circle", this.P2.style.display = this.P3.style.display = "none", this.line1 = he(), this.line2 = he(), this.linkController.appendChild(this.line1), this.linkController.appendChild(this.line2), this.linkSvgGroup = V("topiclinks"), this.map.appendChild(this.nodes), this.overflowHidden ? this.container.style.overflow = "hidden" : ke(this);
1593
+ y.style.position = "relative", y.innerHTML = "", this.mindElixirBox = y, this.disposable = [], this.before = u || {}, 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 = h || "new node", this.editable = s === void 0 ? !0 : s, this.allowUndo = f === void 0 ? !1 : f, this.currentNode = null, this.currentArrow = null, this.scaleVal = 1, this.tempDirection = null, this.generateMainBranch = m || hn, this.generateSubBranch = g || dn, this.overflowHidden = p || !1, this.bus = He.create(), this.container = q.createElement("div"), this.selectionContainer = a || this.container, this.container.className = "map-container";
1594
+ const w = window.matchMedia("(prefers-color-scheme: dark)");
1595
+ this.theme = v || (w.matches ? xe : be);
1596
+ const S = q.createElement("div");
1597
+ S.className = "map-canvas", this.map = S, this.map.setAttribute("tabindex", "0"), this.container.appendChild(this.map), this.mindElixirBox.appendChild(this.container), this.nodes = q.createElement("me-nodes"), this.nodes.className = "main-node-container", this.lines = V("lines"), this.summarySvg = V("summary"), this.linkController = V("linkcontroller"), this.P2 = q.createElement("div"), this.P3 = q.createElement("div"), this.P2.className = this.P3.className = "circle", this.P2.style.display = this.P3.style.display = "none", this.line1 = he(), this.line2 = he(), this.linkController.appendChild(this.line1), this.linkController.appendChild(this.line2), this.linkSvgGroup = V("topiclinks"), this.alignment = E ?? "root", this.map.appendChild(this.nodes), this.overflowHidden ? this.container.style.overflow = "hidden" : ke(this);
1597
1598
  }
1598
- T.prototype = an;
1599
- T.LEFT = j;
1600
- T.RIGHT = ee;
1601
- T.SIDE = te;
1602
- T.THEME = be;
1603
- T.DARK_THEME = xe;
1604
- T.version = un;
1605
- T.E = L;
1606
- T.dragMoveHelper = N;
1599
+ $.prototype = an;
1600
+ $.LEFT = j;
1601
+ $.RIGHT = ee;
1602
+ $.SIDE = te;
1603
+ $.THEME = be;
1604
+ $.DARK_THEME = xe;
1605
+ $.version = un;
1606
+ $.E = M;
1607
+ $.dragMoveHelper = k;
1607
1608
  export {
1608
- T as default
1609
+ $ as default
1609
1610
  };