From 754c15ee9a79867c29359cca980e5c37e7de9c44 Mon Sep 17 00:00:00 2001 From: linonetwo Date: Sun, 3 Sep 2023 14:21:40 +0800 Subject: [PATCH] Delete $__plugins_Gk0Wk_mindmap-elixir.json https://github.com/Gk0Wk/TiddlySeq/issues/11 --- tiddlers/$__plugins_Gk0Wk_mindmap-elixir.json | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 tiddlers/$__plugins_Gk0Wk_mindmap-elixir.json diff --git a/tiddlers/$__plugins_Gk0Wk_mindmap-elixir.json b/tiddlers/$__plugins_Gk0Wk_mindmap-elixir.json deleted file mode 100644 index 1ad0e915..00000000 --- a/tiddlers/$__plugins_Gk0Wk_mindmap-elixir.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "title": "$:/plugins/Gk0Wk/mindmap-elixir", - "type": "application/json", - "text": "{\"tiddlers\":{\"$:/plugins/Gk0Wk/mindmap-elixir/elixir.min.js\":{\"title\":\"$:/plugins/Gk0Wk/mindmap-elixir/elixir.min.js\",\"text\":\"/**\\n * Skipped minification because the original files appears to be already minified.\\n * Original file: /npm/mind-elixir@2.0.2/dist/MindElixir.js\\n *\\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\\n */\\n!function(e,t){\\\"object\\\"==typeof exports&&\\\"object\\\"==typeof module?module.exports=t():\\\"function\\\"==typeof define&&define.amd?define([],t):\\\"object\\\"==typeof exports?exports.MindElixir=t():e.MindElixir=t()}(self,(()=>(()=>{var e={74:(e,t,n)=>{\\\"use strict\\\";n.d(t,{Z:()=>u});var i=n(81),o=n.n(i),r=n(645),a=n.n(r),s=n(667),l=n.n(s),c=new URL(n(848),n.b),d=new URL(n(295),n.b),h=a()(o()),p=l()(c),m=l()(d);h.push([e.id,\\\".mind-elixir {\\\\n --gap: 30px;\\\\n --root-radius: 30px;\\\\n --main-radius: 20px;\\\\n --root-color: #ffffff;\\\\n --root-bgcolor: #4c4f69;\\\\n --main-color: #444446;\\\\n --main-bgcolor: #ffffff;\\\\n --topic-padding: 3px;\\\\n --color: #777777;\\\\n --bgcolor: #f6f6f6;\\\\n position: relative;\\\\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\\\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\\\\n}\\\\n.mind-elixir .hyper-link {\\\\n text-decoration: none;\\\\n}\\\\n.map-container {\\\\n user-select: none;\\\\n height: 100%;\\\\n width: 100%;\\\\n overflow: scroll;\\\\n font-size: 15px;\\\\n}\\\\n.map-container::-webkit-scrollbar {\\\\n width: 0px;\\\\n height: 0px;\\\\n}\\\\n.map-container .selected {\\\\n box-shadow: 0 0 0 2px #4dc4ff;\\\\n}\\\\n.map-container .lhs {\\\\n direction: rtl;\\\\n}\\\\n.map-container .lhs me-tpc {\\\\n direction: ltr;\\\\n}\\\\n.map-container .map-canvas {\\\\n height: 20000px;\\\\n width: 20000px;\\\\n position: relative;\\\\n user-select: none;\\\\n transition: all 0.3s;\\\\n transform: scale(1);\\\\n background-color: var(--bgcolor);\\\\n}\\\\n.map-container .map-canvas me-root {\\\\n position: absolute;\\\\n padding: 10px var(--gap);\\\\n color: var(--root-color);\\\\n background-color: var(--root-bgcolor);\\\\n border-radius: var(--root-radius);\\\\n}\\\\n.map-container .map-canvas me-root me-tpc {\\\\n display: block;\\\\n font-size: 25px;\\\\n white-space: pre-wrap;\\\\n}\\\\n.map-container .map-canvas me-root me-tpc #input-box {\\\\n padding: 10px var(--gap);\\\\n}\\\\n.map-container .box > me-wrapper {\\\\n position: absolute;\\\\n}\\\\n.map-container .box > me-wrapper > me-parent {\\\\n margin: var(--gap);\\\\n background-color: var(--main-bgcolor);\\\\n border: 1px solid var(--main-color);\\\\n border-radius: var(--main-radius);\\\\n padding: 0;\\\\n}\\\\n.map-container .box > me-wrapper > me-parent > me-tpc {\\\\n border-radius: var(--main-radius);\\\\n color: var(--main-color);\\\\n padding: 8px var(--gap);\\\\n}\\\\n.map-container .box > me-wrapper > me-parent > me-tpc #input-box {\\\\n padding: 8px var(--gap);\\\\n}\\\\n.map-container me-wrapper {\\\\n display: block;\\\\n pointer-events: none;\\\\n}\\\\n.map-container me-children,\\\\n.map-container me-parent {\\\\n display: inline-block;\\\\n vertical-align: middle;\\\\n}\\\\n.map-container me-parent {\\\\n position: relative;\\\\n cursor: pointer;\\\\n padding: 6px var(--gap);\\\\n margin-top: 10px;\\\\n}\\\\n.map-container me-parent me-tpc {\\\\n position: relative;\\\\n display: block;\\\\n border-radius: 3px;\\\\n color: var(--color);\\\\n pointer-events: all;\\\\n max-width: 800px;\\\\n white-space: pre-wrap;\\\\n padding: var(--topic-padding);\\\\n line-height: 1.2;\\\\n}\\\\n.map-container me-parent me-tpc .tags {\\\\n direction: ltr;\\\\n}\\\\n.map-container me-parent me-tpc .tags span {\\\\n display: inline-block;\\\\n border-radius: 3px;\\\\n padding: 2px 4px;\\\\n background: #d6f0f8;\\\\n color: #276f86;\\\\n margin: 0px;\\\\n font-size: 12px;\\\\n height: 16px;\\\\n line-height: 16px;\\\\n margin-right: 3px;\\\\n margin-top: 2px;\\\\n}\\\\n.map-container me-parent me-tpc .icons {\\\\n display: inline-block;\\\\n direction: ltr;\\\\n margin-right: 10px;\\\\n}\\\\n.map-container me-parent me-tpc .insert-preview {\\\\n position: absolute;\\\\n width: 100%;\\\\n left: 0px;\\\\n z-index: 9;\\\\n}\\\\n.map-container me-parent me-tpc .show {\\\\n background: #7ad5ff;\\\\n pointer-events: none;\\\\n opacity: 0.7;\\\\n}\\\\n.map-container me-parent me-tpc .before {\\\\n height: 14px;\\\\n top: -14px;\\\\n}\\\\n.map-container me-parent me-tpc .in {\\\\n height: 100%;\\\\n top: 0px;\\\\n}\\\\n.map-container me-parent me-tpc .after {\\\\n height: 14px;\\\\n bottom: -14px;\\\\n}\\\\n.map-container me-parent me-epd {\\\\n position: absolute;\\\\n height: 18px;\\\\n width: 18px;\\\\n opacity: 0.8;\\\\n background-image: url(\\\"+p+\\\");\\\\n background-repeat: no-repeat;\\\\n background-size: contain;\\\\n background-position: center;\\\\n pointer-events: all;\\\\n z-index: 9;\\\\n}\\\\n.map-container me-parent me-epd.minus {\\\\n background-image: url(\\\"+m+\\\") !important;\\\\n transition: all 0.3s;\\\\n opacity: 0;\\\\n}\\\\n.map-container me-parent me-epd.minus:hover {\\\\n opacity: 0.8;\\\\n}\\\\n.map-container .icon {\\\\n width: 1em;\\\\n height: 1em;\\\\n vertical-align: -0.15em;\\\\n fill: currentColor;\\\\n overflow: hidden;\\\\n}\\\\n.map-container .lines,\\\\n.map-container .subLines,\\\\n.map-container .topiclinks,\\\\n.map-container .linkcontroller {\\\\n position: absolute;\\\\n height: 102%;\\\\n width: 100%;\\\\n top: 0;\\\\n left: 0;\\\\n}\\\\n.map-container .topiclinks,\\\\n.map-container .linkcontroller {\\\\n pointer-events: none;\\\\n}\\\\n.map-container .topiclinks g,\\\\n.map-container .linkcontroller g {\\\\n pointer-events: all;\\\\n}\\\\n.map-container .lines,\\\\n.map-container .subLines {\\\\n pointer-events: none;\\\\n z-index: -1;\\\\n}\\\\n.map-container .topiclinks *,\\\\n.map-container .linkcontroller * {\\\\n z-index: 100;\\\\n}\\\\n.map-container .topiclinks g {\\\\n cursor: pointer;\\\\n}\\\\n.map-container #input-box {\\\\n position: absolute;\\\\n top: 0;\\\\n left: 0;\\\\n padding: var(--topic-padding);\\\\n background-color: #fff;\\\\n color: #666666;\\\\n width: max-content;\\\\n max-width: 800px;\\\\n z-index: 11;\\\\n direction: ltr;\\\\n user-select: auto;\\\\n}\\\\n.map-container me-tpc > img {\\\\n pointer-events: none;\\\\n display: block;\\\\n margin-top: 8px;\\\\n}\\\\n.map-container .circle {\\\\n position: absolute;\\\\n height: 10px;\\\\n width: 10px;\\\\n margin-top: -5px;\\\\n margin-left: -5px;\\\\n border-radius: 100%;\\\\n background: #aaa;\\\\n cursor: pointer;\\\\n}\\\\n\\\",\\\"\\\"]);const u=h},165:(e,t,n)=>{\\\"use strict\\\";n.d(t,{Z:()=>s});var i=n(81),o=n.n(i),r=n(645),a=n.n(r)()(o());a.push([e.id,\\\".mind-elixir .context-menu {\\\\n position: fixed;\\\\n top: 0;\\\\n left: 0;\\\\n width: 100%;\\\\n height: 100%;\\\\n z-index: 99;\\\\n}\\\\n.mind-elixir .context-menu .menu-list {\\\\n position: fixed;\\\\n list-style: none;\\\\n margin: 0;\\\\n padding: 0;\\\\n font: 300 15px 'Roboto', sans-serif;\\\\n color: #333;\\\\n box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.2);\\\\n}\\\\n.mind-elixir .context-menu .menu-list * {\\\\n transition: color 0.4s, background-color 0.4s;\\\\n}\\\\n.mind-elixir .context-menu .menu-list li {\\\\n min-width: 150px;\\\\n overflow: hidden;\\\\n white-space: nowrap;\\\\n padding: 6px 10px;\\\\n background-color: #fff;\\\\n border-bottom: 1px solid #ecf0f1;\\\\n}\\\\n.mind-elixir .context-menu .menu-list li a {\\\\n color: #333;\\\\n text-decoration: none;\\\\n}\\\\n.mind-elixir .context-menu .menu-list li.disabled {\\\\n color: #5e5e5e;\\\\n background-color: #f7f7f7;\\\\n}\\\\n.mind-elixir .context-menu .menu-list li.disabled:hover {\\\\n cursor: default;\\\\n background-color: #f7f7f7;\\\\n}\\\\n.mind-elixir .context-menu .menu-list li:hover {\\\\n cursor: pointer;\\\\n background-color: #ecf0f1;\\\\n}\\\\n.mind-elixir .context-menu .menu-list li:first-child {\\\\n border-radius: 5px 5px 0 0;\\\\n}\\\\n.mind-elixir .context-menu .menu-list li:last-child {\\\\n border-bottom: 0;\\\\n border-radius: 0 0 5px 5px;\\\\n}\\\\n.mind-elixir .context-menu .menu-list li span:last-child {\\\\n float: right;\\\\n}\\\\n\\\",\\\"\\\"]);const s=a},787:(e,t,n)=>{\\\"use strict\\\";n.d(t,{Z:()=>s});var i=n(81),o=n.n(i),r=n(645),a=n.n(r)()(o());a.push([e.id,\\\".mind-elixir .mobile-menu {\\\\n position: absolute;\\\\n left: 20px;\\\\n bottom: 70px;\\\\n z-index: 99;\\\\n margin: 0;\\\\n padding: 0;\\\\n color: #333;\\\\n border-radius: 5px;\\\\n box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.2);\\\\n overflow: hidden;\\\\n}\\\\n.mind-elixir .mobile-menu * {\\\\n transition: color 0.4s, background-color 0.4s;\\\\n}\\\\n.mind-elixir .mobile-menu div {\\\\n float: left;\\\\n text-align: center;\\\\n width: 30px;\\\\n overflow: hidden;\\\\n white-space: nowrap;\\\\n padding: 8px;\\\\n background-color: #fff;\\\\n border-bottom: 1px solid #ecf0f1;\\\\n}\\\\n.mind-elixir .mobile-menu div a {\\\\n color: #333;\\\\n text-decoration: none;\\\\n}\\\\n.mind-elixir .mobile-menu div.disabled {\\\\n color: #5e5e5e;\\\\n background-color: #f7f7f7;\\\\n}\\\\n.mind-elixir .mobile-menu div.disabled:hover {\\\\n cursor: default;\\\\n background-color: #f7f7f7;\\\\n}\\\\n.mind-elixir .mobile-menu div:hover {\\\\n cursor: pointer;\\\\n background-color: #ecf0f1;\\\\n}\\\\n\\\",\\\"\\\"]);const s=a},301:(e,t,n)=>{\\\"use strict\\\";n.d(t,{Z:()=>s});var i=n(81),o=n.n(i),r=n(645),a=n.n(r)()(o());a.push([e.id,\\\".mind-elixir-toolbar {\\\\n position: absolute;\\\\n background: #fff;\\\\n padding: 10px;\\\\n border-radius: 5px;\\\\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);\\\\n}\\\\n.mind-elixir-toolbar span:active {\\\\n opacity: 0.5;\\\\n}\\\\n.mind-elixir-toolbar.rb {\\\\n right: 20px;\\\\n bottom: 20px;\\\\n font-family: iconfont;\\\\n}\\\\n.mind-elixir-toolbar.rb span + span {\\\\n margin-left: 10px;\\\\n}\\\\n.mind-elixir-toolbar.lt {\\\\n font-size: 20px;\\\\n left: 20px;\\\\n top: 20px;\\\\n width: 20px;\\\\n}\\\\n.mind-elixir-toolbar.lt span {\\\\n display: block;\\\\n}\\\\n.mind-elixir-toolbar.lt span + span {\\\\n margin-top: 10px;\\\\n}\\\\n\\\",\\\"\\\"]);const s=a},645:e=>{\\\"use strict\\\";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=\\\"\\\",i=void 0!==t[5];return t[4]&&(n+=\\\"@supports (\\\".concat(t[4],\\\") {\\\")),t[2]&&(n+=\\\"@media \\\".concat(t[2],\\\" {\\\")),i&&(n+=\\\"@layer\\\".concat(t[5].length>0?\\\" \\\".concat(t[5]):\\\"\\\",\\\" {\\\")),n+=e(t),i&&(n+=\\\"}\\\"),t[2]&&(n+=\\\"}\\\"),t[4]&&(n+=\\\"}\\\"),n})).join(\\\"\\\")},t.i=function(e,n,i,o,r){\\\"string\\\"==typeof e&&(e=[[null,e,void 0]]);var a={};if(i)for(var s=0;s0?\\\" \\\".concat(d[5]):\\\"\\\",\\\" {\\\").concat(d[1],\\\"}\\\")),d[5]=r),n&&(d[2]?(d[1]=\\\"@media \\\".concat(d[2],\\\" {\\\").concat(d[1],\\\"}\\\"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]=\\\"@supports (\\\".concat(d[4],\\\") {\\\").concat(d[1],\\\"}\\\"),d[4]=o):d[4]=\\\"\\\".concat(o)),t.push(d))}},t}},667:e=>{\\\"use strict\\\";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['\\\"].*['\\\"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/[\\\"'() \\\\t\\\\n]|(%20)/.test(e)||t.needQuotes?'\\\"'.concat(e.replace(/\\\"/g,'\\\\\\\\\\\"').replace(/\\\\n/g,\\\"\\\\\\\\n\\\"),'\\\"'):e):e}},81:e=>{\\\"use strict\\\";e.exports=function(e){return e[1]}},379:e=>{\\\"use strict\\\";var t=[];function n(e){for(var n=-1,i=0;i{\\\"use strict\\\";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error(\\\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\\\");i.appendChild(n)}},216:e=>{\\\"use strict\\\";e.exports=function(e){var t=document.createElement(\\\"style\\\");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{\\\"use strict\\\";e.exports=function(e){var t=n.nc;t&&e.setAttribute(\\\"nonce\\\",t)}},795:e=>{\\\"use strict\\\";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i=\\\"\\\";n.supports&&(i+=\\\"@supports (\\\".concat(n.supports,\\\") {\\\")),n.media&&(i+=\\\"@media \\\".concat(n.media,\\\" {\\\"));var o=void 0!==n.layer;o&&(i+=\\\"@layer\\\".concat(n.layer.length>0?\\\" \\\".concat(n.layer):\\\"\\\",\\\" {\\\")),i+=n.css,o&&(i+=\\\"}\\\"),n.media&&(i+=\\\"}\\\"),n.supports&&(i+=\\\"}\\\");var r=n.sourceMap;r&&\\\"undefined\\\"!=typeof btoa&&(i+=\\\"\\\\n/*# sourceMappingURL=data:application/json;base64,\\\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r)))),\\\" */\\\")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{\\\"use strict\\\";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},857:()=>{!function(e){var t,n,i,o,r,a,s='',l=(l=document.getElementsByTagName(\\\"script\\\"))[l.length-1].getAttribute(\\\"data-injectcss\\\");if(l&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write(\\\"\\\")}catch(e){console}}function c(){r||(r=!0,i())}t=function(){var e,t,n,i;(i=document.createElement(\\\"div\\\")).innerHTML=s,s=null,(n=i.getElementsByTagName(\\\"svg\\\")[0])&&(n.setAttribute(\\\"aria-hidden\\\",\\\"true\\\"),n.style.position=\\\"absolute\\\",n.style.width=0,n.style.height=0,n.style.overflow=\\\"hidden\\\",e=n,(t=document.body).firstChild?(i=e,(n=t.firstChild).parentNode.insertBefore(i,n)):t.appendChild(e))},document.addEventListener?~[\\\"complete\\\",\\\"loaded\\\",\\\"interactive\\\"].indexOf(document.readyState)?setTimeout(t,0):(n=function(){document.removeEventListener(\\\"DOMContentLoaded\\\",n,!1),t()},document.addEventListener(\\\"DOMContentLoaded\\\",n,!1)):document.attachEvent&&(i=t,o=e.document,r=!1,(a=function(){try{o.documentElement.doScroll(\\\"left\\\")}catch(e){return void setTimeout(a,50)}c()})(),o.onreadystatechange=function(){\\\"complete\\\"==o.readyState&&(o.onreadystatechange=null,c())})}(window)},848:e=>{\\\"use strict\\\";e.exports=\\\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdD0iMTY1NjY1NDcxNzI0MiIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgICA8cGF0aCBkPSJNNTEyIDc0LjY2NjY2N0MyNzAuOTMzMzMzIDc0LjY2NjY2NyA3NC42NjY2NjcgMjcwLjkzMzMzMyA3NC42NjY2NjcgNTEyUzI3MC45MzMzMzMgOTQ5LjMzMzMzMyA1MTIgOTQ5LjMzMzMzMyA5NDkuMzMzMzMzIDc1My4wNjY2NjcgOTQ5LjMzMzMzMyA1MTIgNzUzLjA2NjY2NyA3NC42NjY2NjcgNTEyIDc0LjY2NjY2N3oiIHN0cm9rZS13aWR0aD0iNTQiIHN0cm9rZT0nYmxhY2snIGZpbGw9J3doaXRlJyA+PC9wYXRoPgogICAgPHBhdGggZD0iTTY4Mi42NjY2NjcgNDgwaC0xMzguNjY2NjY3VjM0MS4zMzMzMzNjMC0xNy4wNjY2NjctMTQuOTMzMzMzLTMyLTMyLTMycy0zMiAxNC45MzMzMzMtMzIgMzJ2MTM4LjY2NjY2N0gzNDEuMzMzMzMzYy0xNy4wNjY2NjcgMC0zMiAxNC45MzMzMzMtMzIgMzJzMTQuOTMzMzMzIDMyIDMyIDMyaDEzOC42NjY2NjdWNjgyLjY2NjY2N2MwIDE3LjA2NjY2NyAxNC45MzMzMzMgMzIgMzIgMzJzMzItMTQuOTMzMzMzIDMyLTMydi0xMzguNjY2NjY3SDY4Mi42NjY2NjdjMTcuMDY2NjY3IDAgMzItMTQuOTMzMzMzIDMyLTMycy0xNC45MzMzMzMtMzItMzItMzJ6Ij48L3BhdGg+Cjwvc3ZnPg==\\\"},295:e=>{\\\"use strict\\\";e.exports=\\\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdD0iMTY1NjY1NTU2NDk4NSIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgICA8cGF0aCBkPSJNNTEyIDc0LjY2NjY2N0MyNzAuOTMzMzMzIDc0LjY2NjY2NyA3NC42NjY2NjcgMjcwLjkzMzMzMyA3NC42NjY2NjcgNTEyUzI3MC45MzMzMzMgOTQ5LjMzMzMzMyA1MTIgOTQ5LjMzMzMzMyA5NDkuMzMzMzMzIDc1My4wNjY2NjcgOTQ5LjMzMzMzMyA1MTIgNzUzLjA2NjY2NyA3NC42NjY2NjcgNTEyIDc0LjY2NjY2N3oiIHN0cm9rZS13aWR0aD0iNTQiIHN0cm9rZT0nYmxhY2snIGZpbGw9J3doaXRlJyA+PC9wYXRoPgogICAgPHBhdGggZD0iTTY4Mi42NjY2NjcgNTQ0SDM0MS4zMzMzMzNjLTE3LjA2NjY2NyAwLTMyLTE0LjkzMzMzMy0zMi0zMnMxNC45MzMzMzMtMzIgMzItMzJoMzQxLjMzMzMzNGMxNy4wNjY2NjcgMCAzMiAxNC45MzMzMzMgMzIgMzJzLTE0LjkzMzMzMyAzMi0zMiAzMnoiPjwvcGF0aD4KPC9zdmc+\\\"}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={id:i,exports:{}};return e[i](r,r.exports,n),r.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.b=document.baseURI||self.location.href,n.nc=void 0;var i={};return(()=>{\\\"use strict\\\";n.d(i,{default:()=>ue});const e=30,t={name:\\\"Latte\\\",palette:[\\\"#dd7878\\\",\\\"#ea76cb\\\",\\\"#8839ef\\\",\\\"#e64553\\\",\\\"#fe640b\\\",\\\"#df8e1d\\\",\\\"#40a02b\\\",\\\"#209fb5\\\",\\\"#1e66f5\\\",\\\"#7287fd\\\"],cssVar:{\\\"--main-color\\\":\\\"#444446\\\",\\\"--main-bgcolor\\\":\\\"#ffffff\\\",\\\"--color\\\":\\\"#777777\\\",\\\"--bgcolor\\\":\\\"#f6f6f6\\\"}};function o(e){return e.replace(/&/g,\\\"&\\\").replace(/{if(e.parent=t,e.children)for(let t=0;t{let n=Date.now();return function(...i){Date.now()-n>=t&&(e.apply(this,i),n=Date.now())}};function c(e,t,n,i){const o=i-t,r=e-n;let a=Math.atan(Math.abs(o)/Math.abs(r))/3.14*180;r<0&&o>0&&(a=180-a),r<0&&o<0&&(a=180+a),r>0&&o<0&&(a=360-a);const s=a+30,l=a-30;return{x1:n+20*Math.cos(Math.PI*s/180),y1:i-20*Math.sin(Math.PI*s/180),x2:n+20*Math.cos(Math.PI*l/180),y2:i-20*Math.sin(Math.PI*l/180)}}function d(e,t,n){let i,o;const r=(e.cy-n)/(t-e.cx);return r>e.h/e.w||r<-e.h/e.w?e.cy-n<0?(i=e.cx-e.h/2/r,o=e.cy+e.h/2):(i=e.cx+e.h/2/r,o=e.cy-e.h/2):e.cx-t<0?(i=e.cx+e.w/2,o=e.cy-e.w*r/2):(i=e.cx-e.w/2,o=e.cy+e.w*r/2),{x:i,y:o}}function h(e,t,n){let i,o;const r=(e.cy-n)/(t-e.cx);return r>e.h/e.w||r<-e.h/e.w?e.cy-n<0?(i=e.cx-e.h/2/r,o=e.cy+e.h/2):(i=e.cx+e.h/2/r,o=e.cy-e.h/2):e.cx-t<0?(i=e.cx+e.w/2,o=e.cy-e.w*r/2):(i=e.cx-e.w/2,o=e.cy+e.w*r/2),{x:i,y:o}}function p(){return((new Date).getTime().toString(16)+Math.random().toString(16).substr(2)).substr(2,16)}function m(e){const t=e.parent.children,n=t.indexOf(e);return t.splice(n,1),t.length}function u(e){return JSON.parse(JSON.stringify(e,((e,t)=>{if(\\\"parent\\\"!==e)return t})))}const f=document,g=(e,t)=>(t?t.mindElixirBox:f).querySelector(`[data-nodeid=me${e}]`),b=function(e,t){if(e.textContent=t.topic,t.style&&(e.style.color=t.style.color||null,e.style.background=t.style.background||null,e.style.fontSize=t.style.fontSize+\\\"px\\\",e.style.fontWeight=t.style.fontWeight||\\\"normal\\\"),t.image){const n=t.image;if(n.url&&n.width&&n.height){const t=f.createElement(\\\"img\\\");t.src=n.url,t.style.width=n.width+\\\"px\\\",t.style.height=n.height+\\\"px\\\",e.appendChild(t)}}if(t.hyperLink){const n=f.createElement(\\\"a\\\");n.className=\\\"hyper-link\\\",n.target=\\\"_blank\\\",n.innerText=\\\"🔗\\\",n.href=t.hyperLink,e.appendChild(n),e.linkContainer=n}else e.linkContainer&&(e.linkContainer.remove(),e.linkContainer=null);if(t.icons&&t.icons.length){const n=f.createElement(\\\"span\\\");n.className=\\\"icons\\\",n.innerHTML=t.icons.map((e=>`${o(e)}`)).join(\\\"\\\"),e.appendChild(n)}if(t.tags&&t.tags.length){const n=f.createElement(\\\"div\\\");n.className=\\\"tags\\\",n.innerHTML=t.tags.map((e=>`${o(e)}`)).join(\\\"\\\"),e.appendChild(n)}t.branchColor&&(e.style.borderColor=t.branchColor)};const x=function(e){const t=f.createElement(\\\"me-epd\\\");return t.expanded=!1!==e,t.className=!1!==e?\\\"minus\\\":\\\"\\\",t},N=document,y=document,v=\\\"http://www.w3.org/2000/svg\\\",M=function(e,t){const n=y.createElementNS(v,\\\"path\\\");return n.setAttribute(\\\"d\\\",e),n.setAttribute(\\\"stroke\\\",t||\\\"#666\\\"),n.setAttribute(\\\"fill\\\",\\\"none\\\"),n.setAttribute(\\\"stroke-width\\\",\\\"3\\\"),n},C=function(e){const t=y.createElementNS(v,\\\"svg\\\");return t.setAttribute(\\\"class\\\",e),t},k=function(e,t,n,i){const o=y.createElementNS(v,\\\"line\\\");return o.setAttribute(\\\"x1\\\",e),o.setAttribute(\\\"y1\\\",t),o.setAttribute(\\\"x2\\\",n),o.setAttribute(\\\"y2\\\",i),o.setAttribute(\\\"stroke\\\",\\\"#bbb\\\"),o.setAttribute(\\\"fill\\\",\\\"none\\\"),o.setAttribute(\\\"stroke-width\\\",\\\"2\\\"),o},w=function(e,t){const n=y.createElementNS(v,\\\"path\\\");return n.setAttribute(\\\"d\\\",e),n.setAttribute(\\\"stroke\\\",t||\\\"#555\\\"),n.setAttribute(\\\"fill\\\",\\\"none\\\"),n.setAttribute(\\\"stroke-linecap\\\",\\\"square\\\"),n.setAttribute(\\\"stroke-width\\\",\\\"2\\\"),n};function z(e){return{nodeData:e.isFocusMode?e.nodeDataBackup:e.nodeData,linkData:e.linkData,direction:e.direction,theme:e.theme}}const E=function(e,t){if(!e)return;const n=e.nodeObj;!1===n.expanded&&(this.expandNode(e,!0),e=g(n.id));const i=t||this.generateNewObj();n.children?n.children.push(i):n.children=[i],a(this.nodeData);const o=e.parentElement,{grp:r,top:s}=this.createWrapper(i);if(\\\"ME-PARENT\\\"===o.tagName){if(o.children[1])o.nextSibling.appendChild(r);else{const e=this.createChildren([r]);o.appendChild(x(!0)),o.insertAdjacentElement(\\\"afterend\\\",e)}this.linkDiv(r.offsetParent)}else\\\"ME-ROOT\\\"===o.tagName&&(this.judgeDirection(r,i),o.nextSibling.appendChild(r),this.linkDiv());return{newTop:s,newNodeObj:i}};function j(e){this.dom=e,this.mousedown=!1,this.lastX=null,this.lastY=null}j.prototype={init(e,t){this.handleMouseMove=e=>{if(e.stopPropagation(),this.mousedown){if(!this.lastX)return this.lastX=e.pageX,void(this.lastY=e.pageY);const n=this.lastX-e.pageX,i=this.lastY-e.pageY;t(n,i),this.lastX=e.pageX,this.lastY=e.pageY}},this.handleMouseDown=e=>{e.stopPropagation(),this.mousedown=!0},this.handleClear=e=>{e.stopPropagation(),this.clear()},e.addEventListener(\\\"mousemove\\\",this.handleMouseMove),e.addEventListener(\\\"mouseleave\\\",this.handleClear),e.addEventListener(\\\"mouseup\\\",this.handleClear),this.dom.addEventListener(\\\"mousedown\\\",this.handleMouseDown)},destory(e){e.removeEventListener(\\\"mousemove\\\",this.handleMouseMove),e.removeEventListener(\\\"mouseleave\\\",this.handleClear),e.removeEventListener(\\\"mouseup\\\",this.handleClear),this.dom.removeEventListener(\\\"mousedown\\\",this.handleMouseDown)},clear(){this.mousedown=!1,this.lastX=null,this.lastY=null}};const L=function(e,t,n){let i=\\\"\\\";const o=t.offsetTop,r=t.offsetLeft,a=t.offsetWidth,s=t.offsetHeight;for(let t=0;t0&&(i+=L(g,c))}return i};function D({x1:e,y1:t,x2:n,y2:i}){return`M ${e} 10000 V ${i>t?i-20:i+20} C ${e} ${i} ${e} ${i} ${n>e?e+20:e-20} ${i} H ${n}`}function T({x1:e,y1:t,x2:n,y2:i}){return`M ${e} ${t} Q ${e} ${i} ${n} ${i}`}function A({pT:t,pL:n,pW:i,pH:o,cT:r,cL:a,cW:s,cH:l,direction:c,isFirst:d}){let h,p;h=d?t+o/2:t+o;const m=r+l;let u,f,g;return\\\"lhs\\\"===c?(g=n,u=g+e,f=g-e,p=a+e):\\\"rhs\\\"===c&&(g=n+i,u=g-e,f=g+e,p=a+s-e),`M ${u} ${h} C ${g} ${h} ${g} ${m} ${f} ${m} H ${p}`}const I={afterMoving:!1,mousedown:!1,lastX:null,lastY:null,onMove(e,t){if(this.mousedown){if(this.afterMoving=!0,!this.lastX)return this.lastX=e.pageX,void(this.lastY=e.pageY);const n=this.lastX-e.pageX,i=this.lastY-e.pageY;t.scrollTo(t.scrollLeft+n,t.scrollTop+i),this.lastX=e.pageX,this.lastY=e.pageY}},clear(){this.afterMoving=!1,this.mousedown=!1,this.lastX=null,this.lastY=null}};const S={addChild:\\\"插入子节点\\\",addParent:\\\"插入父节点\\\",addSibling:\\\"插入同级节点\\\",removeNode:\\\"删除节点\\\",focus:\\\"专注\\\",cancelFocus:\\\"取消专注\\\",moveUp:\\\"上移\\\",moveDown:\\\"下移\\\",link:\\\"连接\\\",clickTips:\\\"请点击目标节点\\\"},P={cn:S,zh_CN:S,zh_TW:{addChild:\\\"插入子節點\\\",addParent:\\\"插入父節點\\\",addSibling:\\\"插入同級節點\\\",removeNode:\\\"刪除節點\\\",focus:\\\"專注\\\",cancelFocus:\\\"取消專注\\\",moveUp:\\\"上移\\\",moveDown:\\\"下移\\\",link:\\\"連接\\\",clickTips:\\\"請點擊目標節點\\\"},en:{addChild:\\\"Add child\\\",addParent:\\\"Add parent\\\",addSibling:\\\"Add sibling\\\",removeNode:\\\"Remove node\\\",focus:\\\"Focus Mode\\\",cancelFocus:\\\"Cancel Focus Mode\\\",moveUp:\\\"Move up\\\",moveDown:\\\"Move down\\\",link:\\\"Link\\\",clickTips:\\\"Please click the target node\\\"},ru:{addChild:\\\"Добавить дочерний элемент\\\",addParent:\\\"Добавить родительский элемент\\\",addSibling:\\\"Добавить на этом уровне\\\",removeNode:\\\"Удалить узел\\\",focus:\\\"Режим фокусировки\\\",cancelFocus:\\\"Отменить режим фокусировки\\\",moveUp:\\\"Поднять выше\\\",moveDown:\\\"Опустить ниже\\\",link:\\\"Ссылка\\\",clickTips:\\\"Пожалуйста, нажмите на целевой узел\\\"},ja:{addChild:\\\"子ノードを追加する\\\",addParent:\\\"親ノードを追加します\\\",addSibling:\\\"兄弟ノードを追加する\\\",removeNode:\\\"ノードを削除\\\",focus:\\\"集中\\\",cancelFocus:\\\"集中解除\\\",moveUp:\\\"上へ移動\\\",moveDown:\\\"下へ移動\\\",link:\\\"コネクト\\\",clickTips:\\\"ターゲットノードをクリックしてください\\\"},pt:{addChild:\\\"Adicionar item filho\\\",addParent:\\\"Adicionar item pai\\\",addSibling:\\\"Adicionar item irmao\\\",removeNode:\\\"Remover item\\\",focus:\\\"Modo Foco\\\",cancelFocus:\\\"Cancelar Modo Foco\\\",moveUp:\\\"Mover para cima\\\",moveDown:\\\"Mover para baixo\\\",link:\\\"Link\\\",clickTips:\\\"Favor clicar no item alvo\\\"}};var O=n(379),H=n.n(O),Y=n(795),B=n.n(Y),$=n(569),R=n.n($),V=n(565),Z=n.n(V),W=n(216),F=n.n(W),U=n(589),X=n.n(U),G=n(165),_={};_.styleTagTransform=X(),_.setAttributes=Z(),_.insert=R().bind(null,\\\"head\\\"),_.domAPI=B(),_.insertStyleElement=F();H()(G.Z,_);G.Z&&G.Z.locals&&G.Z.locals;function q(e,t){const n=(e,t,n)=>{const i=document.createElement(\\\"li\\\");return i.id=e,i.innerHTML=`${o(t)}${o(n)}`,i},i=P[e.locale]?e.locale:\\\"en\\\",r=n(\\\"cm-add_child\\\",P[i].addChild,\\\"tab\\\"),a=n(\\\"cm-add_parent\\\",P[i].addParent,\\\"\\\"),s=n(\\\"cm-add_sibling\\\",P[i].addSibling,\\\"enter\\\"),l=n(\\\"cm-remove_child\\\",P[i].removeNode,\\\"delete\\\"),c=n(\\\"cm-fucus\\\",P[i].focus,\\\"\\\"),d=n(\\\"cm-unfucus\\\",P[i].cancelFocus,\\\"\\\"),h=n(\\\"cm-up\\\",P[i].moveUp,\\\"PgUp\\\"),p=n(\\\"cm-down\\\",P[i].moveDown,\\\"Pgdn\\\"),m=n(\\\"cm-down\\\",P[i].link,\\\"\\\"),u=document.createElement(\\\"ul\\\");if(u.className=\\\"menu-list\\\",u.appendChild(r),u.appendChild(a),u.appendChild(s),u.appendChild(l),t&&!t.focus||(u.appendChild(c),u.appendChild(d)),u.appendChild(h),u.appendChild(p),t&&!t.link||u.appendChild(m),t&&t.extend)for(let e=0;e{i.onclick(e)}}const f=document.createElement(\\\"div\\\");f.className=\\\"context-menu\\\",f.appendChild(u),f.hidden=!0,e.container.append(f);let g=!0;e.container.oncontextmenu=function(t){if(t.preventDefault(),!e.editable)return;const n=t.target;if(\\\"ME-TPC\\\"===n.tagName){g=\\\"ME-ROOT\\\"===n.parentElement.tagName,g?(c.className=\\\"disabled\\\",h.className=\\\"disabled\\\",p.className=\\\"disabled\\\",s.className=\\\"disabled\\\",l.className=\\\"disabled\\\"):(c.className=\\\"\\\",h.className=\\\"\\\",p.className=\\\"\\\",s.className=\\\"\\\",l.className=\\\"\\\"),e.selectNode(n),f.hidden=!1;const i=u.offsetHeight,o=u.offsetWidth;i+t.clientY>window.innerHeight?(u.style.top=\\\"\\\",u.style.bottom=\\\"0px\\\"):(u.style.bottom=\\\"\\\",u.style.top=t.clientY+15+\\\"px\\\"),o+t.clientX>window.innerWidth?(u.style.left=\\\"\\\",u.style.right=\\\"0px\\\"):(u.style.right=\\\"\\\",u.style.left=t.clientX+10+\\\"px\\\")}},f.onclick=e=>{e.target===f&&(f.hidden=!0)},r.onclick=()=>{e.addChild(),f.hidden=!0},a.onclick=()=>{e.insertParent(),f.hidden=!0},s.onclick=()=>{g||(e.insertSibling(),f.hidden=!0)},l.onclick=()=>{g||(e.removeNode(),f.hidden=!0)},c.onclick=()=>{g||(e.focusNode(e.currentNode),f.hidden=!0)},d.onclick=()=>{e.cancelFocus(),f.hidden=!0},h.onclick=()=>{g||(e.moveUpNode(),f.hidden=!0)},p.onclick=()=>{g||(e.moveDownNode(),f.hidden=!0)},m.onclick=()=>{f.hidden=!0;const t=e.currentNode,n=(e=>{const t=document.createElement(\\\"div\\\");return t.innerText=e,t.style.cssText=\\\"position:absolute;bottom:20px;left:50%;transform:translateX(-50%);\\\",t})(P[i].clickTips);e.container.appendChild(n),e.map.addEventListener(\\\"click\\\",(i=>{i.preventDefault(),n.remove(),\\\"ME-PARENT\\\"!==i.target.parentElement.tagName&&\\\"ME-ROOT\\\"!==i.target.parentElement.tagName||e.createLink(t,e.currentNode)}),{once:!0})}}var J=n(301),Q={};Q.styleTagTransform=X(),Q.setAttributes=Z(),Q.insert=R().bind(null,\\\"head\\\"),Q.domAPI=B(),Q.insertStyleElement=F();H()(J.Z,Q);J.Z&&J.Z.locals&&J.Z.locals;const K=(e,t)=>{const n=document.createElement(\\\"span\\\");return n.id=e,n.innerHTML=`\\\\n \\\\n `,n};function ee(e){e.container.append(function(e){const t=document.createElement(\\\"div\\\"),n=K(\\\"fullscreen\\\",\\\"full\\\"),i=K(\\\"toCenter\\\",\\\"living\\\"),o=K(\\\"zoomout\\\",\\\"move\\\"),r=K(\\\"zoomin\\\",\\\"add\\\");return document.createElement(\\\"span\\\").innerText=\\\"100%\\\",t.appendChild(n),t.appendChild(i),t.appendChild(o),t.appendChild(r),t.className=\\\"mind-elixir-toolbar rb\\\",n.onclick=()=>{e.container.requestFullscreen()},i.onclick=()=>{e.toCenter()},o.onclick=()=>{e.scaleVal<.6||e.scale(e.scaleVal-=.2)},r.onclick=()=>{e.scaleVal>1.6||e.scale(e.scaleVal+=.2)},t}(e)),e.container.append(function(e){const t=document.createElement(\\\"div\\\"),n=K(\\\"tbltl\\\",\\\"left\\\"),i=K(\\\"tbltr\\\",\\\"right\\\"),o=K(\\\"tblts\\\",\\\"side\\\");return t.appendChild(n),t.appendChild(i),t.appendChild(o),t.className=\\\"mind-elixir-toolbar lt\\\",n.onclick=()=>{e.initLeft()},i.onclick=()=>{e.initRight()},o.onclick=()=>{e.initSide()},t}(e))}const te=document,ne=function(e){if(!e)return;const t=e.getElementsByClassName(\\\"insert-preview\\\");for(const e of t||[])e.remove()},ie=function(e,t){const n=t.parentElement.parentElement.contains(e);return e&&\\\"ME-TPC\\\"===e.tagName&&e!==t&&!n&&!0!==e.nodeObj.root};function oe(e){let t,n,i;e.map.addEventListener(\\\"dragstart\\\",(function(e){t=e.target,t.parentElement.parentElement.style.opacity=\\\"0.5\\\",I.clear()})),e.map.addEventListener(\\\"dragend\\\",(async function(o){o.target.style.opacity=\\\"\\\",ne(i);const r=t.nodeObj;switch(n){case\\\"before\\\":e.moveNodeBefore(t,i),e.selectNode(g(r.id));break;case\\\"after\\\":e.moveNodeAfter(t,i),e.selectNode(g(r.id));break;case\\\"in\\\":e.moveNode(t,i)}t.parentElement.parentElement.style.opacity=\\\"1\\\",t=null})),e.map.addEventListener(\\\"dragover\\\",l((function(e){ne(i);const o=te.elementFromPoint(e.clientX,e.clientY-12);if(ie(o,t)){i=o;const t=o.getBoundingClientRect().y;e.clientY>t+o.clientHeight?n=\\\"after\\\":e.clientY>t+o.clientHeight/2&&(n=\\\"in\\\")}else{const o=te.elementFromPoint(e.clientX,e.clientY+12);if(ie(o,t)){i=o;const t=o.getBoundingClientRect().y;e.clientY0)n[0].className=i;else{const t=te.createElement(\\\"div\\\");t.className=i,e.appendChild(t)}}(i,n)}),200))}var re=n(787),ae={};ae.styleTagTransform=X(),ae.setAttributes=Z(),ae.insert=R().bind(null,\\\"head\\\"),ae.domAPI=B(),ae.insertStyleElement=F();H()(re.Z,ae);re.Z&&re.Z.locals&&re.Z.locals;function se(){this.handlers={}}se.prototype={showHandler:function(){},addListener:function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t)},fire:function(e,...t){if(this.handlers[e]instanceof Array){const n=this.handlers[e];for(let e=0;e{this.isUndo?this.isUndo=!1:[\\\"moveNode\\\",\\\"removeNode\\\",\\\"addChild\\\",\\\"finishEdit\\\",\\\"editStyle\\\",\\\"editTags\\\",\\\"editIcons\\\"].includes(e.name)&&this.history.push(e)})),this.history=[],this.isUndo=!1,this.undo=function(){const e=this.history.pop();e&&(this.isUndo=!0,\\\"moveNode\\\"===e.name?this.moveNode(de(e.obj.fromObj.id),de(e.obj.originParentId)):\\\"removeNode\\\"===e.name?e.originSiblingId?this.insertBefore(de(e.originSiblingId),e.obj):this.addChild(de(e.originParentId),e.obj):\\\"addChild\\\"===e.name||\\\"copyNode\\\"===e.name?this.removeNode(de(e.obj.id)):\\\"finishEdit\\\"===e.name?this.setNodeTopic(de(e.obj.id),e.origin):this.isUndo=!1)},this.container=he.createElement(\\\"div\\\"),this.container.className=\\\"map-container\\\",this.theme=x||t;const v=he.createElement(\\\"div\\\");var M;v.className=\\\"map-canvas\\\",this.map=v,this.map.setAttribute(\\\"tabindex\\\",\\\"0\\\"),this.container.appendChild(this.map),this.mindElixirBox.appendChild(this.container),this.root=he.createElement(\\\"me-root\\\"),this.mainNodes=he.createElement(\\\"me-children\\\"),this.mainNodes.className=\\\"box\\\",this.lines=C(\\\"lines\\\"),this.linkController=C(\\\"linkcontroller\\\"),this.P2=he.createElement(\\\"div\\\"),this.P3=he.createElement(\\\"div\\\"),this.P2.className=this.P3.className=\\\"circle\\\",this.line1=k(0,0,0,0),this.line2=k(0,0,0,0),this.linkController.appendChild(this.line1),this.linkController.appendChild(this.line2),this.linkSvgGroup=C(\\\"topiclinks\\\"),this.map.appendChild(this.root),this.map.appendChild(this.mainNodes),this.map.appendChild(this.lines),this.map.appendChild(this.linkController),this.map.appendChild(this.linkSvgGroup),this.map.appendChild(this.P2),this.map.appendChild(this.P3),this.overflowHidden?this.container.style.overflow=\\\"hidden\\\":((M=this).map.addEventListener(\\\"click\\\",(e=>{if(\\\"ME-EPD\\\"===e.target.tagName)M.expandNode(e.target.previousSibling);else{if(!M.editable)return;\\\"ME-PARENT\\\"===e.target.parentElement.tagName||\\\"ME-ROOT\\\"===e.target.parentElement.tagName?M.selectNode(e.target,!1,e):\\\"path\\\"===e.target.tagName?\\\"g\\\"===e.target.parentElement.tagName&&M.selectLink(e.target.parentElement):\\\"circle\\\"===e.target.className||(M.unselectNode(),M.hideLinkController&&M.hideLinkController())}})),M.map.addEventListener(\\\"dblclick\\\",(e=>{e.preventDefault(),M.editable&&(\\\"ME-PARENT\\\"!==e.target.parentElement.tagName&&\\\"ME-ROOT\\\"!==e.target.parentElement.tagName||M.beginEdit(e.target))})),M.map.addEventListener(\\\"mousemove\\\",(e=>{\\\"true\\\"!==e.target.contentEditable&&I.onMove(e,M.container)})),M.map.addEventListener(\\\"mousedown\\\",(e=>{\\\"true\\\"!==e.target.contentEditable&&(I.afterMoving=!1,I.mousedown=!0)})),M.map.addEventListener(\\\"mouseleave\\\",(e=>{I.clear()})),M.map.addEventListener(\\\"mouseup\\\",(e=>{I.clear()})))}function me(e,t){return async function(...n){this.before[t]&&!await this.before[t].apply(this,n)||e.apply(this,n)}}pe.prototype={addParentLink:a,getObjById:r,generateNewObj:function(){const e=p();return{topic:this.newTopicName||\\\"new node\\\",id:e}},insertSibling:me((function(e,t){const n=e||this.currentNode;if(!n)return;const i=n.nodeObj;if(!0===i.root)return void this.addChild();const o=t||this.generateNewObj();!function(e,t){const n=e.parent.children,i=n.indexOf(e);n.splice(i+1,0,t)}(i,o),a(this.nodeData);const r=n.parentElement,{grp:s,top:l}=this.createWrapper(o),c=r.parentNode.parentNode;c.insertBefore(s,r.parentNode.nextSibling),\\\"box\\\"===c.className?(this.judgeDirection(s,o),this.linkDiv()):this.linkDiv(s.offsetParent),t||this.createInputDiv(l.children[0]),this.selectNode(l.children[0],!0),this.bus.fire(\\\"operation\\\",{name:\\\"insertSibling\\\",obj:o})}),\\\"insertSibling\\\"),insertBefore:me((function(e,t){const n=e||this.currentNode;if(!n)return;const i=n.nodeObj;if(!0===i.root)return void this.addChild();const o=t||this.generateNewObj();!function(e,t){const n=e.parent.children,i=n.indexOf(e);n.splice(i,0,t)}(i,o),a(this.nodeData);const r=n.parentElement,{grp:s,top:l}=this.createWrapper(o),c=r.parentNode.parentNode;c.insertBefore(s,r.parentNode),\\\"box\\\"===c.className?(this.judgeDirection(s,o),this.linkDiv()):this.linkDiv(s.offsetParent),t||this.createInputDiv(l.children[0]),this.selectNode(l.children[0],!0),this.bus.fire(\\\"operation\\\",{name:\\\"insertSibling\\\",obj:o})}),\\\"insertBefore\\\"),insertParent:me((function(e,t){const n=e||this.currentNode;if(!n)return;const i=n.nodeObj;if(!0===i.root)return;const o=t||this.generateNewObj();!function(e,t){const n=e.parent.children,i=n.indexOf(e);n[i]=t,t.children=[e]}(i,o),a(this.nodeData);const r=n.parentElement.parentElement,{grp:s,top:l}=this.createWrapper(o,!0);l.appendChild(x(!0)),r.insertAdjacentElement(\\\"afterend\\\",s);const c=this.createChildren([r]);l.insertAdjacentElement(\\\"afterend\\\",c),\\\"box\\\"===r.parentNode.className?(s.className=r.className,r.className=\\\"\\\",r.querySelector(\\\".subLines\\\").remove(),this.linkDiv()):this.linkDiv(s.offsetParent),t||this.createInputDiv(l.children[0]),this.selectNode(l.children[0],!0),this.bus.fire(\\\"operation\\\",{name:\\\"insertParent\\\",obj:o})}),\\\"insertParent\\\"),addChild:me((function(e,t){const n=e||this.currentNode;if(!n)return;const{newTop:i,newNodeObj:o}=E.call(this,n,t);this.bus.fire(\\\"operation\\\",{name:\\\"addChild\\\",obj:o}),t||this.createInputDiv(i.children[0]),this.selectNode(i.children[0],!0)}),\\\"addChild\\\"),copyNode:me((function(e,t){const n=u(e.nodeObj);s(n);const{newNodeObj:i}=E.call(this,t,n);this.bus.fire(\\\"operation\\\",{name:\\\"copyNode\\\",obj:i})}),\\\"copyNode\\\"),moveNode:me((function(e,t){const n=e.nodeObj,i=t.nodeObj,o=n.parent.id;if(!1===i.expanded&&(this.expandNode(t,!0),e=g(n.id),t=g(i.id)),!function(e,t){let n=!0;for(;t.parent;){if(t.parent===e){n=!1;break}t=t.parent}return n}(n,i))return;!function(e,t){m(e),t.children?t.children.push(e):t.children=[e]}(n,i),a(this.nodeData);const r=e.parentElement,s=r.parentElement.parentElement,l=t.parentElement;if(\\\"box\\\"===s.className?r.parentElement.lastChild.remove():\\\"box\\\"===r.parentElement.className&&(r.style.cssText=\\\"\\\"),\\\"ME-PARENT\\\"===l.tagName)if(\\\"box\\\"===s.className&&(r.parentElement.className=\\\"\\\"),l.children[1])l.nextSibling.appendChild(r.parentElement);else{const e=this.createChildren([r.parentElement]);l.appendChild(x(!0)),l.parentElement.insertBefore(e,l.nextSibling)}else\\\"ME-ROOT\\\"===l.tagName&&(this.judgeDirection(r.parentElement,n),l.nextSibling.appendChild(r.parentElement));this.linkDiv(),this.bus.fire(\\\"operation\\\",{name:\\\"moveNode\\\",obj:{fromObj:n,toObj:i,originParentId:o}})}),\\\"moveNode\\\"),removeNode:me((function(e){const t=e||this.currentNode;if(!t)return;const n=t.nodeObj;if(!0===n.root)throw new Error(\\\"Can not remove root node\\\");const i=n.parent.children.findIndex((e=>e===n)),o=n.parent.children[i+1],r=o&&o.id,a=m(n),s=t.parentNode;if(0===a){const e=s.parentNode.parentNode.previousSibling;\\\"ME-ROOT\\\"!==e.tagName&&e.children[1].remove(),this.selectParent()}else this.selectPrevSibling()||this.selectNextSibling()||this.selectParent();for(const e in this.linkData){const t=this.linkData[e];t.from!==s.firstChild&&t.to!==s.firstChild||this.removeLink(this.mindElixirBox.querySelector(`[data-linkid=${this.linkData[e].id}]`))}s.parentNode.remove(),this.linkDiv(),this.bus.fire(\\\"operation\\\",{name:\\\"removeNode\\\",obj:n,originSiblingId:r,originParentId:n.parent.id})}),\\\"removeNode\\\"),moveUpNode:me((function(e){const t=e||this.currentNode;if(!t)return;const n=t.parentNode.parentNode,i=t.nodeObj;!function(e){const t=e.parent.children,n=t.indexOf(e),i=t[n];0===n?(t[n]=t[t.length-1],t[t.length-1]=i):(t[n]=t[n-1],t[n-1]=i)}(i),n.parentNode.insertBefore(n,n.previousSibling),this.linkDiv(),this.bus.fire(\\\"operation\\\",{name:\\\"moveUpNode\\\",obj:i})}),\\\"moveUpNode\\\"),moveDownNode:me((function(e){const t=e||this.currentNode;if(!t)return;const n=t.parentNode.parentNode,i=t.nodeObj;!function(e){const t=e.parent.children,n=t.indexOf(e),i=t[n];n===t.length-1?(t[n]=t[0],t[0]=i):(t[n]=t[n+1],t[n+1]=i)}(i),n.nextSibling?n.insertAdjacentElement(\\\"afterend\\\",n.nextSibling):n.parentNode.prepend(n),this.linkDiv(),this.bus.fire(\\\"operation\\\",{name:\\\"moveDownNode\\\",obj:i})}),\\\"moveDownNode\\\"),beginEdit:me((function(e){const t=e||this.currentNode;t&&this.createInputDiv(t)}),\\\"beginEdit\\\"),moveNodeBefore:me((function(e,t){const n=e.nodeObj,i=t.nodeObj,o=n.parent.id;!function(e,t){m(e);const n=t.parent.children;let i=0;for(let e=0;e{e-=a/this.scaleVal,t-=s/this.scaleVal;const c=d(r,e,t);l=c.x,p=c.y,this.P2.style.top=t+\\\"px\\\",this.P2.style.left=e+\\\"px\\\",this.currentLink.children[0].setAttribute(\\\"d\\\",`M ${l} ${p} C ${e} ${t} ${n} ${i} ${u} ${f}`),this.line1.setAttribute(\\\"x1\\\",l),this.line1.setAttribute(\\\"y1\\\",p),this.line1.setAttribute(\\\"x2\\\",e),this.line1.setAttribute(\\\"y2\\\",t),o.delta1.x=e-r.cx,o.delta1.y=t-r.cy})),this.helper2.init(this.map,((r,s)=>{n-=r/this.scaleVal,i-=s/this.scaleVal;const d=h(a,n,i);u=d.x,f=d.y;const m=c(n,i,u,f);this.P3.style.top=i+\\\"px\\\",this.P3.style.left=n+\\\"px\\\",this.currentLink.children[0].setAttribute(\\\"d\\\",`M ${l} ${p} C ${e} ${t} ${n} ${i} ${u} ${f}`),this.currentLink.children[1].setAttribute(\\\"d\\\",`M ${m.x1} ${m.y1} L ${u} ${f} L ${m.x2} ${m.y2}`),this.line2.setAttribute(\\\"x1\\\",n),this.line2.setAttribute(\\\"y1\\\",i),this.line2.setAttribute(\\\"x2\\\",u),this.line2.setAttribute(\\\"y2\\\",f),o.delta2.x=n-a.cx,o.delta2.y=i-a.cy}))},layout:function(){this.root.innerHTML=\\\"\\\",this.mainNodes.innerHTML=\\\"\\\";const e=this.createTopic(this.nodeData);b(e,this.nodeData),e.draggable=!1,this.root.appendChild(e);const t=this.nodeData.children;if(t&&0!==t.length){if(2===this.direction){let e=0,n=0;t.map((t=>{0===t.direction?e+=1:1===t.direction?n+=1:e<=n?(t.direction=0,e+=1):(t.direction=1,n+=1)}))}this.layoutChildren(this.nodeData.children,this.mainNodes,this.direction)}},linkDiv:function(t){const n=this.mainNodeHorizontalGap||65,i=this.mainNodeVerticalGap||25,o=this.root;o.style.cssText=`top:${1e4-o.offsetHeight/2}px;left:${1e4-o.offsetWidth/2}px;`;const r=this.mainNodes.children;this.lines.innerHTML=\\\"\\\";let a,s,l=0,c=0,d=0,h=0,p=0,m=0;if(2===this.direction){let e=0,t=0,n=0,o=0;for(let a=0;am?(s=1e4-Math.max(p)/2,a=\\\"r\\\",c=(p-o)/(t-1)):(s=1e4-Math.max(m)/2,a=\\\"l\\\",c=(m-n)/(e-1))}else{for(let e=0;e{e.stopPropagation();const t=e.key;if(\\\"Enter\\\"===t||\\\"Tab\\\"===t){if(e.shiftKey)return;e.preventDefault(),this.inputDiv.blur(),this.map.focus()}})),t.addEventListener(\\\"blur\\\",(()=>{if(!t)return;const i=e.nodeObj,o=t.textContent.trim();i.topic=\\\"\\\"===o?n:o,t.remove(),this.inputDiv=t=null,o!==n&&(e.childNodes[0].textContent=i.topic,this.linkDiv(),this.bus.fire(\\\"operation\\\",{name:\\\"finishEdit\\\",obj:i,origin:n}))}))},layoutChildren:function(e,t,n){let i;i=t||N.createElement(\\\"me-children\\\");for(let t=0;t0){if(a.appendChild(x(o.expanded)),r.appendChild(a),!1!==o.expanded){const e=this.layoutChildren(o.children);r.appendChild(e)}}else r.appendChild(a);i.appendChild(r)}return i},createWrapper:function(e,t){const n=f.createElement(\\\"me-wrapper\\\"),i=this.createParent(e);if(n.appendChild(i),!t&&e.children&&e.children.length>0&&(i.appendChild(x(e.expanded)),!1!==e.expanded)){const t=this.layoutChildren(e.children);n.appendChild(t)}return{grp:n,top:i}},createParent:function(e){const t=f.createElement(\\\"me-parent\\\"),n=this.createTopic(e);return b(n,e),t.appendChild(n),t},createChildren:function(e){const t=f.createElement(\\\"me-children\\\");return t.append(...e),t},createTopic:function(e){const t=f.createElement(\\\"me-tpc\\\");return t.nodeObj=e,t.dataset.nodeid=\\\"me\\\"+e.id,t.draggable=this.draggable,t},selectNode:function(e,t,n){if(e){if(\\\"string\\\"==typeof e)return this.selectNode(g(e));this.currentNode&&(this.currentNode.className=\\\"\\\"),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)}},unselectNode:function(){this.currentNode&&(this.currentNode.className=\\\"\\\"),this.currentNode=null,this.bus.fire(\\\"unselectNode\\\")},selectNextSibling:function(){if(!this.currentNode||\\\"meroot\\\"===this.currentNode.dataset.nodeid)return;const e=this.currentNode.parentElement.parentElement.nextSibling;let t;const n=this.currentNode.parentElement.parentElement;if(\\\"rhs\\\"===n.className||\\\"lhs\\\"===n.className){const e=this.mindElixirBox.querySelectorAll(\\\".\\\"+n.className),i=Array.from(e).indexOf(n);if(!(i+1=0))return!1;t=e[i-1].firstChild.firstChild}else{if(!e)return!1;t=e.firstChild.firstChild}return this.selectNode(t),!0},selectFirstChild:function(){if(!this.currentNode)return;const e=this.currentNode.parentElement.nextSibling;if(e&&e.firstChild){const t=e.firstChild.firstChild.firstChild;this.selectNode(t)}},selectParent:function(){if(!this.currentNode||\\\"meroot\\\"===this.currentNode.dataset.nodeid)return;const e=this.currentNode.parentElement.parentElement.parentElement.previousSibling;if(e){const t=e.firstChild;this.selectNode(t)}},getDataString:function(){const e=z(this);return JSON.stringify(e,((e,t)=>{if(\\\"parent\\\"!==e)return\\\"from\\\"===e||\\\"to\\\"===e?t.nodeObj.id:t}))},getData:function(){return JSON.parse(this.getDataString())},getDataMd:function(){const e=z(this).nodeData;let t=\\\"# \\\"+e.topic+\\\"\\\\n\\\\n\\\";return function e(n,i){for(let o=0;o{e.insertSibling()},9:()=>{e.addChild()},113:()=>{e.beginEdit()},38:()=>{e.selectPrevSibling()},40:()=>{e.selectNextSibling()},37:()=>{e.currentNode&&(\\\"rhs\\\"===e.currentNode.offsetParent.offsetParent.className?e.selectParent():(\\\"lhs\\\"===e.currentNode.offsetParent.offsetParent.className||e.currentNode.nodeObj.root)&&e.selectFirstChild())},39:()=>{e.currentNode&&(\\\"rhs\\\"===e.currentNode.offsetParent.offsetParent.className||e.currentNode.nodeObj.root?e.selectFirstChild():\\\"lhs\\\"===e.currentNode.offsetParent.offsetParent.className&&e.selectParent())},33(){e.moveUpNode()},34(){e.moveDownNode()},67(t){(t.metaKey||t.ctrlKey)&&(e.waitCopy=e.currentNode)},86(t){e.waitCopy&&(t.metaKey||t.ctrlKey)&&(e.copyNode(e.waitCopy,e.currentNode),e.waitCopy=null)},90:t=>{e.allowUndo&&(t.metaKey||t.ctrlKey)&&e.undo()},187:t=>{if(t.metaKey||t.ctrlKey){if(e.scaleVal>1.6)return;e.scale(e.scaleVal+=.2)}},189:t=>{if(t.metaKey||t.ctrlKey){if(e.scaleVal<.6)return;e.scale(e.scaleVal-=.2)}}};e.map.onkeydown=n=>{n.preventDefault(),e.editable&&n.target===n.currentTarget&&(8===n.keyCode||46===n.keyCode?e.currentLink?e.removeLink():e.removeNode():t[n.keyCode]&&t[n.keyCode](n))}}(this),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&this.mobileMenu?function(e,t){const n=(e,t)=>{const n=document.createElement(\\\"div\\\");return n.id=e,n.innerHTML=`\\\\n \\\\n `,n},i=n(\\\"cm-add_child\\\",\\\"zijiedian\\\"),o=n(\\\"cm-add_sibling\\\",\\\"tongjijiedian-\\\"),r=n(\\\"cm-remove_child\\\",\\\"shanchu2\\\"),a=n(\\\"cm-up\\\",\\\"rising\\\"),s=n(\\\"cm-down\\\",\\\"falling\\\"),l=n(\\\"cm-edit\\\",\\\"edit\\\"),c=document.createElement(\\\"ul\\\");if(c.className=\\\"menu-list\\\",t&&t.extend)for(let e=0;e{i.onclick(e)}}const d=document.createElement(\\\"mmenu\\\");d.className=\\\"mobile-menu\\\",d.appendChild(i),d.appendChild(o),d.appendChild(r),d.appendChild(a),d.appendChild(s),d.appendChild(l),d.hidden=!0,e.container.append(d);let h=!0;e.bus.addListener(\\\"unselectNode\\\",(function(){d.hidden=!0})),e.bus.addListener(\\\"selectNode\\\",(function(e){d.hidden=!1,h=!!e.root})),d.onclick=e=>{e.target===d&&(d.hidden=!0)},i.onclick=t=>{e.addChild()},o.onclick=t=>{h||e.insertSibling()},r.onclick=t=>{h||e.removeNode()},a.onclick=t=>{h||e.moveUpNode()},s.onclick=t=>{h||e.moveDownNode()},l.onclick=t=>{e.beginEdit()}}(this):this.contextMenu&&q(this,this.contextMenuOption),this.draggable&&oe(this);const t=this.theme.cssVar,n=Object.keys(t);for(let e=0;e({nodeData:{id:p(),topic:e||\\\"new topic\\\",root:!0,children:[]},linkData:{}});const ue=pe})(),i=i.default})()));\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\",\"Modern.TiddlyDev#Minify\":\"false\"},\"$:/plugins/Gk0Wk/mindmap-elixir/readme\":{\"title\":\"$:/plugins/Gk0Wk/mindmap-elixir/readme\",\"type\":\"text/vnd.tiddlywiki\",\"caption\":\"ChatGPT\",\"text\":\"<$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]\\\" variable=\\\"lang\\\">\\n<$list filter=\\\"[search[zh]]\\\">\\n\\n在 <$text text=\\\"TiddlyWiki\\\" /> 中使用思维导图。\\n\\n
\\n\\n
\\n\\n首先明确一件事:你需要先指定导图数据存储的位置,请先确定条目名称和字段。这里分别假设为`ABC`和`map`。\\n\\n在你希望的位置调用导图微件,即可显示导图:\\n\\n```html\\n<$elixir tiddler=\\\"ABC\\\" field=\\\"map\\\" />\\n```\\n\\n或者\\n\\n```html\\n<$mindmap tiddler=\\\"ABC\\\" field=\\\"map\\\" />\\n```\\n\\n然后即可出现上图所示的导图。导图可以:\\n\\n* 双击编辑节点;\\n* 右键节点显示菜单;\\n* 多语言,简中、繁重、英语、日语、葡萄牙语、俄语;\\n* 选中节点,Enter键创建兄弟节点;\\n* 选中节点,Tab键创建子节点;\\n* 定制导图样式,包括布局、颜色等,具体在左上角和右下角齿轮图标;\\n* 可以导出到 <$text text=\\\"XMind\\\" />、HTML 和 OPML,支持 OPML 导入(OPML是各种大纲和导图软件兼容的导入导出格式),详见右下角图标;\\n* 可以使用主题模板快速定制导图样式,可以导出当前导图的样式供后续使用或分享,详见右下角图标。\\n\\n这里请特别注意:请不要吝啬地分享你的主题,因为我认为导图应当有若干预置的主题供大家使用,但是我因为精力有限只创作了两个主题,希望各位能够在[[Issue区|https://github.com/Gk0Wk/TiddlySeq/issues]]分享一下主题,谢谢!\\n\\n---\\n\\n另外还可以添加各种可选参数来定制行为:\\n\\n|!参数 |!解释 |\\n|tiddler |导图存储在哪个条目中,不写则默认为当前条目 |\\n|field |导图存储在哪个字段中,不写则默认为text |\\n|component |微件的DOM标签类型,默认为div |\\n|className |微件的类名,用于自定义样式 |\\n|height |微件高度,默认为 300px |\\n|widget |微件宽度,默认为 100% |\\n\\n\\n\\n<$list filter=\\\"[!search[zh]]\\\">\\n\\nUsing Mind Map in <$text text=\\\"TiddlyWiki\\\" />.\\n\\n
\\n\\n
\\n\\nFirst make one thing clear: you need to specify where the mindmap data is stored first, please identify the entry name and field first. Assume here `ABC` and `map` respectively.\\n\\nCall the mindmap widget at the location you want to display the mindmap:\\n\\n```html\\n<$elixir tiddler=\\\"ABC\\\" field=\\\"map\\\" />\\n```\\n\\nOr\\n\\n```html\\n<$mindmap tiddler=\\\"ABC\\\" field=\\\"map\\\" />\\n```\\n\\nThen the mindmap shown above will appear. The mindmap can be.\\n\\n* Double-click to the edit node;\\n* Right-click to show the content menu;\\n* Multilingual, Simplified Chinese, Traditional Chinese, English, Japanese, Portuguese, Russian;\\n* Select the node and Enter key to create a sibling node;\\n* Select the node and Tab key to create a child node;\\n* Customized mindmap styles, including layout, colors, etc., specifically in the top left and bottom right gear icons;\\n* Export to <$text text=\\\"XMind\\\" />, HTML and OPML, support OPML import (OPML is an import and export format compatible with various outline and mindmap software), see the icon on the bottom right for details;\\n* You can use the theme template to quickly customize the style of the mindmap, you can export the style of the current mindmap for subsequent use or sharing, see the icon in the lower right corner for details.\\n\\nPlease pay special attention here: please don't be stingy to share your themes, because I think the mindmap should have several pre-set themes for everyone to use, but I only created two themes because of limited energy, I hope you can share the themes in the [[Issue area|https://github.com/Gk0Wk/TiddlySeq/issues]], thank you!\\n\\n---\\n\\nVarious optional parameters can also be added to customize the behavior:\\n\\n|!Attributes |!Explanation |\\n|tiddler |The entry in which the mindmap is stored, or the current entry by default if not written |\\n|field |Which field the mindmap is stored in, default to text if not written |\\n|component |DOM tag type for microware, default is div |\\n|className |Class name of the widget for custom styles |\\n|height |Height of the widget, default is 300px |\\n|widget |Width of the widget, default is 100% |\\n\\n\\n\\n\"},\"$:/plugins/Gk0Wk/mindmap-elixir/style.css\":{\"title\":\"$:/plugins/Gk0Wk/mindmap-elixir/style.css\",\"text\":\".mind-elixir-toolbar,\\n.gk0wk-elixir-operations-menu-container,\\n.gk0wk-elixir-theme-menu-container,\\n.gk0wk-elixir-export-menu-container {\\n background: <> !important;\\n color: <> !important;\\n fill: <> !important;\\n}\\n\\n.gk0wk-mind-elixir-container .node-menu input,\\n.gk0wk-mind-elixir-container .node-menu textarea {\\n color: black !important;\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/plugins/Gk0Wk/mindmap-elixir/themes/dark\":{\"text\":\"{\\n \\\"name\\\": \\\"Dark\\\",\\n \\\"palette\\\": [\\n \\\"#848FA0\\\",\\n \\\"#748BE9\\\",\\n \\\"#D2F9FE\\\",\\n \\\"#4145A5\\\",\\n \\\"#789AFA\\\",\\n \\\"#706CF4\\\",\\n \\\"#EF987F\\\",\\n \\\"#775DD5\\\",\\n \\\"#FCEECF\\\",\\n \\\"#DA7FBC\\\"\\n ],\\n \\\"cssVar\\\": {\\n \\\"--gap\\\": \\\"30px\\\",\\n \\\"--root-radius\\\": \\\"30px\\\",\\n \\\"--main-radius\\\": \\\"20px\\\",\\n \\\"--root-color\\\": \\\"#ffffff\\\",\\n \\\"--root-bgcolor\\\": \\\"#6467aa\\\",\\n \\\"--main-color\\\": \\\"#444446\\\",\\n \\\"--main-bgcolor\\\": \\\"#fafafa\\\",\\n \\\"--topic-padding\\\": \\\"5px\\\",\\n \\\"--color\\\": \\\"#ededed\\\",\\n \\\"--bgcolor\\\": \\\"#282828\\\"\\n }\\n}\\n\",\"type\":\"application/json\",\"tags\":\"$:/mindmap-elixir/themes\",\"caption\":\"dark\",\"title\":\"$:/plugins/Gk0Wk/mindmap-elixir/themes/dark\"},\"$:/plugins/Gk0Wk/mindmap-elixir/themes/default\":{\"text\":\"{\\n \\\"name\\\": \\\"Default\\\",\\n \\\"palette\\\": [\\n \\\"#848FA0\\\",\\n \\\"#748BE9\\\",\\n \\\"#D2F9FE\\\",\\n \\\"#4145A5\\\",\\n \\\"#789AFA\\\",\\n \\\"#706CF4\\\",\\n \\\"#EF987F\\\",\\n \\\"#775DD5\\\",\\n \\\"#FCEECF\\\",\\n \\\"#DA7FBC\\\"\\n ],\\n \\\"cssVar\\\": {\\n \\\"--gap\\\": \\\"30px\\\",\\n \\\"--root-radius\\\": \\\"30px\\\",\\n \\\"--main-radius\\\": \\\"20px\\\",\\n \\\"--root-color\\\": \\\"#ffffff\\\",\\n \\\"--root-bgcolor\\\": \\\"#4c4f69\\\",\\n \\\"--main-color\\\": \\\"#444446\\\",\\n \\\"--main-bgcolor\\\": \\\"#ffffff\\\",\\n \\\"--topic-padding\\\": \\\"5px\\\",\\n \\\"--color\\\": \\\"#777777\\\",\\n \\\"--bgcolor\\\": \\\"#f6f6f6\\\"\\n }\\n}\\n\",\"type\":\"application/json\",\"tags\":\"$:/mindmap-elixir/themes\",\"caption\":\"default\",\"title\":\"$:/plugins/Gk0Wk/mindmap-elixir/themes/default\"},\"$:/plugins/Gk0Wk/mindmap-elixir/widget.js\":{\"title\":\"$:/plugins/Gk0Wk/mindmap-elixir/widget.js\",\"module-type\":\"widget\",\"type\":\"application/javascript\",\"Modern.TiddlyDev#Origin\":\"widget.ts\",\"text\":\"\\\"use strict\\\";var __getOwnPropNames=Object.getOwnPropertyNames,__esm=(e,t)=>function(){return t=e?(0,e[__getOwnPropNames(e)[0]])(e=0):t},__commonJS=(e,t)=>function(){return t||(0,e[__getOwnPropNames(e)[0]])((t={exports:{}}).exports,t),t.exports},init_esbuild_inject=__esm({\\\"node_modules/.pnpm/tiddlywiki-plugin-dev@0.0.37_postcss@8.4.24_ts-node@10.9.1_tw5-typed@0.3.1/node_modules/tiddlywiki-plugin-dev/dist/js/esbuild-inject.js\\\"(){}}),require_FileSaver_min=__commonJS({\\\"node_modules/.pnpm/file-saver@2.0.5/node_modules/file-saver/dist/FileSaver.min.js\\\"(e,t){var n,i;init_esbuild_inject(),n=e,i=function(){function c(e,t,n){var i=new XMLHttpRequest;i.open(\\\"GET\\\",e),i.responseType=\\\"blob\\\",i.onload=function(){r(i.response,t,n)},i.onerror=function(){console.error(\\\"could not download file\\\")},i.send()}function a(e){var t=new XMLHttpRequest;t.open(\\\"HEAD\\\",e,!1);try{t.send()}catch(n){}return 200<=t.status&&t.status<=299}function s(e){try{e.dispatchEvent(new MouseEvent(\\\"click\\\"))}catch(n){var t=document.createEvent(\\\"MouseEvents\\\");t.initMouseEvent(\\\"click\\\",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var h=\\\"object\\\"==typeof window&&window.window===window?window:\\\"object\\\"==typeof self&&self.self===self?self:\\\"object\\\"==typeof global&&global.global===global?global:void 0,u=h.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),r=h.saveAs||(\\\"object\\\"!=typeof window||window!==h?function(){}:\\\"download\\\"in HTMLAnchorElement.prototype&&!u?function(e,t,n){var i=h.URL||h.webkitURL,r=document.createElement(\\\"a\\\");t=t||e.name||\\\"download\\\",r.download=t,r.rel=\\\"noopener\\\",\\\"string\\\"==typeof e?(r.href=e,r.origin===location.origin?s(r):a(r.href)?c(e,t,n):s(r,r.target=\\\"_blank\\\")):(r.href=i.createObjectURL(e),setTimeout(function(){i.revokeObjectURL(r.href)},4e4),setTimeout(function(){s(r)},0))}:\\\"msSaveOrOpenBlob\\\"in navigator?function(e,t,n){var i,r,o;t=t||e.name||\\\"download\\\",\\\"string\\\"!=typeof e?navigator.msSaveOrOpenBlob((r=e,void 0===(o=n)?o={autoBom:!1}:\\\"object\\\"!=typeof o&&(console.warn(\\\"Deprecated: Expected third argument to be a object\\\"),o={autoBom:!o}),o.autoBom&&/^\\\\s*(?:text\\\\/\\\\S*|application\\\\/xml|\\\\S*\\\\/\\\\S*\\\\+xml)\\\\s*;.*charset\\\\s*=\\\\s*utf-8/i.test(r.type)?new Blob([\\\"\\\\ufeff\\\",r],{type:r.type}):r),t):a(e)?c(e,t,n):((i=document.createElement(\\\"a\\\")).href=e,i.target=\\\"_blank\\\",setTimeout(function(){s(i)}))}:function(e,t,n,i){if((i=i||open(\\\"\\\",\\\"_blank\\\"))&&(i.document.title=i.document.body.innerText=\\\"downloading...\\\"),\\\"string\\\"==typeof e)return c(e,t,n);var r,o,a,s=\\\"application/octet-stream\\\"===e.type,l=/constructor/i.test(h.HTMLElement)||h.safari,d=/CriOS\\\\/[\\\\d]+/.test(navigator.userAgent);(d||s&&l||u)&&\\\"undefined\\\"!=typeof FileReader?((r=new FileReader).onloadend=function(){var e=r.result,e=d?e:e.replace(/^data:[^;]*;/,\\\"data:attachment/file;\\\");i?i.location.href=e:location=e,i=null},r.readAsDataURL(e)):(o=h.URL||h.webkitURL,a=o.createObjectURL(e),i?i.location=a:location.href=a,i=null,setTimeout(function(){o.revokeObjectURL(a)},4e4))});h.saveAs=r.saveAs=r,void 0!==t&&(t.exports=r)},\\\"function\\\"==typeof define&&define.amd?define([],i):void 0!==e?i():(i(),n.FileSaver={})}}),require_jszip_min=__commonJS({\\\"node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js\\\"(t,n){init_esbuild_inject(),function(e){\\\"object\\\"==typeof t&&void 0!==n?n.exports=e():\\\"function\\\"==typeof define&&define.amd?define([],e):(\\\"undefined\\\"!=typeof window?window:\\\"undefined\\\"!=typeof global?global:\\\"undefined\\\"!=typeof self?self:this).JSZip=e()}(function(){return function l(i,r,o){function a(t,e){if(!r[t]){if(!i[t]){var n=\\\"function\\\"==typeof require&&require;if(!e&&n)return n(t,!0);if(s)return s(t,!0);n=new Error(\\\"Cannot find module '\\\"+t+\\\"'\\\");throw n.code=\\\"MODULE_NOT_FOUND\\\",n}n=r[t]={exports:{}};i[t][0].call(n.exports,function(e){return a(i[t][1][e]||e)},n,n.exports,l,i,r,o)}return r[t].exports}for(var s=\\\"function\\\"==typeof require&&require,e=0;e>4,o=1>6:64,a=2>2)+u.charAt(r)+u.charAt(o)+u.charAt(a));return s.join(\\\"\\\")},n.decode=function(e){var t,n,i,r,o,a=0,s=0;if(\\\"data:\\\"===e.substr(0,\\\"data:\\\".length))throw new Error(\\\"Invalid base64 input, it looks like a data url.\\\");var l,d=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,\\\"\\\")).length/4;if(e.charAt(e.length-1)===u.charAt(64)&&d--,e.charAt(e.length-2)===u.charAt(64)&&d--,d%1!=0)throw new Error(\\\"Invalid base64 input, bad content length.\\\");for(l=new(c.uint8array?Uint8Array:Array)(0|d);a>4,n=(15&r)<<4|(r=u.indexOf(e.charAt(a++)))>>2,i=(3&r)<<6|(o=u.indexOf(e.charAt(a++))),l[s++]=t,64!==r&&(l[s++]=n),64!==o&&(l[s++]=i);return l}},{\\\"./support\\\":30,\\\"./utils\\\":32}],2:[function(e,t,n){var i=e(\\\"./external\\\"),r=e(\\\"./stream/DataWorker\\\"),o=e(\\\"./stream/Crc32Probe\\\"),a=e(\\\"./stream/DataLengthProbe\\\");function s(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}s.prototype={getContentWorker:function(){var e=new r(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a(\\\"data_length\\\")),t=this;return e.on(\\\"end\\\",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error(\\\"Bug : uncompressed data size mismatch\\\")}),e},getCompressedWorker:function(){return new r(i.Promise.resolve(this.compressedContent)).withStreamInfo(\\\"compressedSize\\\",this.compressedSize).withStreamInfo(\\\"uncompressedSize\\\",this.uncompressedSize).withStreamInfo(\\\"crc32\\\",this.crc32).withStreamInfo(\\\"compression\\\",this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new o).pipe(new a(\\\"uncompressedSize\\\")).pipe(t.compressWorker(n)).pipe(new a(\\\"compressedSize\\\")).withStreamInfo(\\\"compression\\\",t)},t.exports=s},{\\\"./external\\\":6,\\\"./stream/Crc32Probe\\\":25,\\\"./stream/DataLengthProbe\\\":26,\\\"./stream/DataWorker\\\":27}],3:[function(e,t,n){var i=e(\\\"./stream/GenericWorker\\\");n.STORE={magic:\\\"\\\\0\\\\0\\\",compressWorker:function(){return new i(\\\"STORE compression\\\")},uncompressWorker:function(){return new i(\\\"STORE decompression\\\")}},n.DEFLATE=e(\\\"./flate\\\")},{\\\"./flate\\\":7,\\\"./stream/GenericWorker\\\":28}],4:[function(e,t,n){var i=e(\\\"./utils\\\"),a=function(){for(var e=[],t=0;t<256;t++){for(var n=t,i=0;i<8;i++)n=1&n?3988292384^n>>>1:n>>>1;e[t]=n}return e}();t.exports=function(e,t){return void 0!==e&&e.length?(\\\"string\\\"!==i.getTypeOf(e)?function(e,t,n){var i=a,r=0+n;e^=-1;for(var o=0;o>>8^i[255&(e^t[o])];return-1^e}:function(e,t,n){var i=a,r=0+n;e^=-1;for(var o=0;o>>8^i[255&(e^t.charCodeAt(o))];return-1^e})(0|t,e,e.length):0}},{\\\"./utils\\\":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var i=\\\"undefined\\\"!=typeof Promise?Promise:e(\\\"lie\\\");t.exports={Promise:i}},{lie:37}],7:[function(e,t,n){var i=\\\"undefined\\\"!=typeof Uint8Array&&\\\"undefined\\\"!=typeof Uint16Array&&\\\"undefined\\\"!=typeof Uint32Array,r=e(\\\"pako\\\"),o=e(\\\"./utils\\\"),a=e(\\\"./stream/GenericWorker\\\"),s=i?\\\"uint8array\\\":\\\"array\\\";function l(e,t){a.call(this,\\\"FlateWorker/\\\"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic=\\\"\\\\b\\\\0\\\",o.inherits(l,a),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,e.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},n.compressWorker=function(e){return new l(\\\"Deflate\\\",e)},n.uncompressWorker=function(){return new l(\\\"Inflate\\\",{})}},{\\\"./stream/GenericWorker\\\":28,\\\"./utils\\\":32,pako:38}],8:[function(e,t,n){function _(e,t){for(var n=\\\"\\\",i=0;i>>=8;return n}function i(e,t,n,i,r,o){var a=e.file,s=e.compression,l=o!==k.utf8encode,d=w.transformTo(\\\"string\\\",o(a.name)),c=w.transformTo(\\\"string\\\",k.utf8encode(a.name)),h=a.comment,u=w.transformTo(\\\"string\\\",o(h)),f=w.transformTo(\\\"string\\\",k.utf8encode(h)),p=c.length!==a.name.length,h=f.length!==h.length,m=\\\"\\\",g=a.dir,b=a.date,v={crc32:0,compressedSize:0,uncompressedSize:0},y=(t&&!n||(v.crc32=e.crc32,v.compressedSize=e.compressedSize,v.uncompressedSize=e.uncompressedSize),0),l=(t&&(y|=8),l||!p&&!h||(y|=2048),0),x=0,c=(g&&(l|=16),\\\"UNIX\\\"===r?(x=798,l|=(65535&((o=a.unixPermissions)?o:g?16893:33204))<<16):(x=20,l|=63&(a.dosPermissions||0)),g=b.getUTCHours(),g=(g=((g<<=6)|b.getUTCMinutes())<<5)|b.getUTCSeconds()/2,a=b.getUTCFullYear()-1980,a=(a=((a<<=4)|b.getUTCMonth()+1)<<5)|b.getUTCDate(),p&&(b=_(1,1)+_(C(d),4)+c,m+=\\\"up\\\"+_(b.length,2)+b),h&&(p=_(1,1)+_(C(u),4)+f,m+=\\\"uc\\\"+_(p.length,2)+p),\\\"\\\"),c=(c=(c=(c=(c=(c=(c=(c=(c=(c+=\\\"\\\\n\\\\0\\\")+_(y,2))+s.magic)+_(g,2))+_(a,2))+_(v.crc32,4))+_(v.compressedSize,4))+_(v.uncompressedSize,4))+_(d.length,2))+_(m.length,2);return{fileRecord:M.LOCAL_FILE_HEADER+c+d+m,dirRecord:M.CENTRAL_FILE_HEADER+_(x,2)+c+_(u.length,2)+\\\"\\\\0\\\\0\\\\0\\\\0\\\"+_(l,4)+_(i,4)+d+m+u}}var w=e(\\\"../utils\\\"),r=e(\\\"../stream/GenericWorker\\\"),k=e(\\\"../utf8\\\"),C=e(\\\"../crc32\\\"),M=e(\\\"../signature\\\");function o(e,t,n,i){r.call(this,\\\"ZipFileWorker\\\"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}w.inherits(o,r),o.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,r.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))},o.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;t?(t=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:t.fileRecord,meta:{percent:0}})):this.accumulate=!0},o.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:(e=e,M.DATA_DESCRIPTOR+_(e.crc32,4)+_(e.compressedSize,4)+_(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},o.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return i.transformTo(\\\"string\\\",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=r},{\\\"../utils\\\":32}],19:[function(e,t,n){var i=e(\\\"./Uint8ArrayReader\\\");function r(e){i.call(this,e)}e(\\\"../utils\\\").inherits(r,i),r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{\\\"../utils\\\":32,\\\"./Uint8ArrayReader\\\":21}],20:[function(e,t,n){var i=e(\\\"./DataReader\\\");function r(e){i.call(this,e)}e(\\\"../utils\\\").inherits(r,i),r.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},r.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},r.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{\\\"../utils\\\":32,\\\"./DataReader\\\":18}],21:[function(e,t,n){var i=e(\\\"./ArrayReader\\\");function r(e){i.call(this,e)}e(\\\"../utils\\\").inherits(r,i),r.prototype.readData=function(e){var t;return this.checkOffset(e),0===e?new Uint8Array(0):(t=this.data.subarray(this.zero+this.index,this.zero+this.index+e),this.index+=e,t)},t.exports=r},{\\\"../utils\\\":32,\\\"./ArrayReader\\\":17}],22:[function(e,t,n){var i=e(\\\"../utils\\\"),r=e(\\\"../support\\\"),o=e(\\\"./ArrayReader\\\"),a=e(\\\"./StringReader\\\"),s=e(\\\"./NodeBufferReader\\\"),l=e(\\\"./Uint8ArrayReader\\\");t.exports=function(e){var t=i.getTypeOf(e);return i.checkSupport(t),\\\"string\\\"!==t||r.uint8array?\\\"nodebuffer\\\"===t?new s(e):r.uint8array?new l(i.transformTo(\\\"uint8array\\\",e)):new o(i.transformTo(\\\"array\\\",e)):new a(e)}},{\\\"../support\\\":30,\\\"../utils\\\":32,\\\"./ArrayReader\\\":17,\\\"./NodeBufferReader\\\":19,\\\"./StringReader\\\":20,\\\"./Uint8ArrayReader\\\":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER=\\\"PK\\u0003\\u0004\\\",n.CENTRAL_FILE_HEADER=\\\"PK\\u0001\\u0002\\\",n.CENTRAL_DIRECTORY_END=\\\"PK\\u0005\\u0006\\\",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\\\"PK\\u0006\\u0007\\\",n.ZIP64_CENTRAL_DIRECTORY_END=\\\"PK\\u0006\\u0006\\\",n.DATA_DESCRIPTOR=\\\"PK\\u0007\\\\b\\\"},{}],24:[function(e,t,n){var i=e(\\\"./GenericWorker\\\"),r=e(\\\"../utils\\\");function o(e){i.call(this,\\\"ConvertWorker to \\\"+e),this.destType=e}r.inherits(o,i),o.prototype.processChunk=function(e){this.push({data:r.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{\\\"../utils\\\":32,\\\"./GenericWorker\\\":28}],25:[function(e,t,n){var i=e(\\\"./GenericWorker\\\"),r=e(\\\"../crc32\\\");function o(){i.call(this,\\\"Crc32Probe\\\"),this.withStreamInfo(\\\"crc32\\\",0)}e(\\\"../utils\\\").inherits(o,i),o.prototype.processChunk=function(e){this.streamInfo.crc32=r(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{\\\"../crc32\\\":4,\\\"../utils\\\":32,\\\"./GenericWorker\\\":28}],26:[function(e,t,n){var i=e(\\\"../utils\\\"),r=e(\\\"./GenericWorker\\\");function o(e){r.call(this,\\\"DataLengthProbe for \\\"+e),this.propName=e,this.withStreamInfo(e,0)}i.inherits(o,r),o.prototype.processChunk=function(e){var t;e&&(t=this.streamInfo[this.propName]||0,this.streamInfo[this.propName]=t+e.data.length),r.prototype.processChunk.call(this,e)},t.exports=o},{\\\"../utils\\\":32,\\\"./GenericWorker\\\":28}],27:[function(e,t,n){var i=e(\\\"../utils\\\"),r=e(\\\"./GenericWorker\\\");function o(e){r.call(this,\\\"DataWorker\\\");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\\\"\\\",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=i.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}i.inherits(o,r),o.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished)||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0)},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\\\"string\\\":e=this.data.substring(this.index,t);break;case\\\"uint8array\\\":e=this.data.subarray(this.index,t);break;case\\\"array\\\":case\\\"nodebuffer\\\":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{\\\"../utils\\\":32,\\\"./GenericWorker\\\":28}],28:[function(e,t,n){function i(e){this.name=e||\\\"default\\\",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(e){this.emit(\\\"data\\\",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\\\"end\\\"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit(\\\"error\\\",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit(\\\"error\\\",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n \\\"+e:e}},t.exports=i},{}],29:[function(e,t,n){var d=e(\\\"../utils\\\"),o=e(\\\"./ConvertWorker\\\"),a=e(\\\"./GenericWorker\\\"),c=e(\\\"../base64\\\"),i=e(\\\"../support\\\"),r=e(\\\"../external\\\"),s=null;if(i.nodestream)try{s=e(\\\"../nodejs/NodejsStreamOutputAdapter\\\")}catch(u){}function l(e,l){return new r.Promise(function(n,i){var r=[],o=e._internalType,a=e._outputType,s=e._mimeType;e.on(\\\"data\\\",function(e,t){r.push(e),l&&l(t)}).on(\\\"error\\\",function(e){r=[],i(e)}).on(\\\"end\\\",function(){try{var e=function(e,t,n){switch(e){case\\\"blob\\\":return d.newBlob(d.transformTo(\\\"arraybuffer\\\",t),n);case\\\"base64\\\":return c.encode(t);default:return d.transformTo(e,t)}}(a,function(e,t){for(var n=0,i=null,r=0,o=0;o>>6:(n<65536?t[r++]=224|n>>>12:(t[r++]=240|n>>>18,t[r++]=128|n>>>12&63),t[r++]=128|n>>>6&63),t[r++]=128|63&n);return t},r.utf8decode=function(e){if(d.nodebuffer)return l.transformTo(\\\"nodebuffer\\\",e).toString(\\\"utf-8\\\");for(var t,n,i,r=e=l.transformTo(d.uint8array?\\\"uint8array\\\":\\\"array\\\",e),o=r.length,a=new Array(2*o),s=t=0;s>10&1023,a[t++]=56320|1023&n)}return a.length!==t&&(a.subarray?a=a.subarray(0,t):a.length=t),l.applyFromCharCode(a)},l.inherits(o,n),o.prototype.processChunk=function(e){var t=l.transformTo(d.uint8array?\\\"uint8array\\\":\\\"array\\\",e.data),n=(this.leftOver&&this.leftOver.length&&(d.uint8array?(n=t,(t=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),t.set(n,this.leftOver.length)):t=this.leftOver.concat(t),this.leftOver=null),function(e,t){for(var n=(t=(t=t||e.length)>e.length?e.length:t)-1;0<=n&&128==(192&e[n]);)n--;return!(n<0)&&0!==n&&n+h[e[n]]>t?n:t}(t)),i=t;n!==t.length&&(d.uint8array?(i=t.subarray(0,n),this.leftOver=t.subarray(n,t.length)):(i=t.slice(0,n),this.leftOver=t.slice(n,t.length))),this.push({data:r.utf8decode(i),meta:e.meta})},o.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=o,l.inherits(a,n),a.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=a},{\\\"./nodejsUtils\\\":14,\\\"./stream/GenericWorker\\\":28,\\\"./support\\\":30,\\\"./utils\\\":32}],32:[function(e,t,s){var l=e(\\\"./support\\\"),d=e(\\\"./base64\\\"),n=e(\\\"./nodejsUtils\\\"),c=e(\\\"./external\\\");function i(e){return e}function h(e,t){for(var n=0;n>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\\\"/\\\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){var e;this.extraFields[1]&&(e=i(this.extraFields[1].value),this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS)&&(this.diskNumberStart=e.readInt(4))},readExtraFields:function(e){var t,n,i,r=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(n<65536?t[r++]=224|n>>>12:(t[r++]=240|n>>>18,t[r++]=128|n>>>12&63),t[r++]=128|n>>>6&63),t[r++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new l.Buf8(e.length),n=0,i=t.length;n>10&1023,a[n++]=56320|1023&i)}return c(a,n)},n.utf8border=function(e,t){for(var n=(t=(t=t||e.length)>e.length?e.length:t)-1;0<=n&&128==(192&e[n]);)n--;return!(n<0)&&0!==n&&n+d[e[n]]>t?n:t}},{\\\"./common\\\":41}],43:[function(e,t,n){t.exports=function(e,t,n,i){for(var r=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){for(n-=a=2e3>>1:n>>>1;e[t]=n}return e}();t.exports=function(e,t,n,i){var r=s,o=i+n;e^=-1;for(var a=i;a>>8^r[255&(e^t[a])];return-1^e}},{}],46:[function(e,B,t){var s,h=e(\\\"../utils/common\\\"),l=e(\\\"./trees\\\"),u=e(\\\"./adler32\\\"),f=e(\\\"./crc32\\\"),n=e(\\\"./messages\\\"),d=0,c=0,p=-2,i=2,m=8,r=286,o=30,a=19,D=2*r+1,R=15,g=3,b=258,v=b+g+1,y=42,x=113;function _(e,t){return e.msg=n[t],t}function w(e){return(e<<1)-(4e.avail_out?e.avail_out:n)&&(h.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending)&&(t.pending_out=0)}function M(e,t){l._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,C(e.strm)}function z(e,t){e.pending_buf[e.pending++]=t}function S(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function N(e,t){var n,i,r=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-v?e.strstart-(e.w_size-v):0,d=e.window,c=e.w_mask,h=e.prev,u=e.strstart+b,f=d[o+a-1],p=d[o+a];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do{if(d[(n=t)+a]===p&&d[n+a-1]===f&&d[n]===d[o]&&d[++n]===d[o+1]){for(o+=2,n++;d[++o]===d[++n]&&d[++o]===d[++n]&&d[++o]===d[++n]&&d[++o]===d[++n]&&d[++o]===d[++n]&&d[++o]===d[++n]&&d[++o]===d[++n]&&d[++o]===d[++n]&&ol&&0!=--r);return a<=e.lookahead?a:e.lookahead}function E(e){var t,n,i,r,o,a,s,l,d,c=e.w_size;do{if(l=e.window_size-e.lookahead-e.strstart,e.strstart>=c+(c-v)){for(h.arraySet(e.window,e.window,c,c,0),e.match_start-=c,e.strstart-=c,e.block_start-=c,t=n=e.hash_size;i=e.head[--t],e.head[t]=c<=i?i-c:0,--n;);for(t=n=c;i=e.prev[--t],e.prev[t]=c<=i?i-c:0,--n;);l+=c}if(0===e.strm.avail_in)break;if(o=e.strm,a=e.window,s=e.strstart+e.lookahead,d=void 0,n=0===(d=(l=l)<(d=o.avail_in)?l:d)?0:(o.avail_in-=d,h.arraySet(a,o.input,o.next_in,d,s),1===o.state.wrap?o.adler=u(o.adler,a,d,s):2===o.state.wrap&&(o.adler=f(o.adler,a,d,s)),o.next_in+=d,o.total_in+=d,d),e.lookahead+=n,e.lookahead+e.insert>=g)for(r=e.strstart-e.insert,e.ins_h=e.window[r],e.ins_h=(e.ins_h<=g&&(e.ins_h=(e.ins_h<=g)if(i=l._tr_tally(e,e.strstart-e.match_start,e.match_length-g),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=g){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=g&&(e.ins_h=(e.ins_h<=g&&e.match_length<=e.prev_length){for(r=e.strstart+e.lookahead-g,i=l._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-g),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=r&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(E(e),0===e.lookahead&&t===d)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,M(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-v&&(M(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(M(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(M(e,!1),e.strm.avail_out),1)}),new L(4,4,8,4,T),new L(4,5,16,8,T),new L(4,6,32,32,T),new L(4,4,16,16,A),new L(8,16,32,32,A),new L(8,16,128,128,A),new L(8,32,128,256,A),new L(32,128,258,1024,A),new L(32,258,258,4096,A)],t.deflateInit=function(e,t){return j(e,t,m,15,8,0)},t.deflateInit2=j,t.deflateReset=O,t.deflateResetKeep=I,t.deflateSetHeader=function(e,t){return!e||!e.state||2!==e.state.wrap?p:(e.state.gzhead=t,c)},t.deflate=function(e,t){var n,i,r,o;if(!e||!e.state||5>8&255),z(i,i.gzhead.time>>16&255),z(i,i.gzhead.time>>24&255),z(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),z(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(z(i,255&i.gzhead.extra.length),z(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=f(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(z(i,0),z(i,0),z(i,0),z(i,0),z(i,0),z(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),z(i,3),i.status=x)):(a=m+(i.w_bits-8<<4)<<8,a|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(a|=32),a+=31-a%31,i.status=x,S(i,a),0!==i.strstart&&(S(i,e.adler>>>16),S(i,65535&e.adler)),e.adler=1)),69===i.status)if(i.gzhead.extra){for(r=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>r&&(e.adler=f(e.adler,i.pending_buf,i.pending-r,r)),C(e),r=i.pending,i.pending!==i.pending_buf_size));)z(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(e.adler=f(e.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=f(e.adler,i.pending_buf,i.pending-r,r)),C(e),r=i.pending,i.pending===i.pending_buf_size)){o=1;break}}while(o=i.gzindexr&&(e.adler=f(e.adler,i.pending_buf,i.pending-r,r)),0===o&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=f(e.adler,i.pending_buf,i.pending-r,r)),C(e),r=i.pending,i.pending===i.pending_buf_size)){o=1;break}}while(o=i.gzindexr&&(e.adler=f(e.adler,i.pending_buf,i.pending-r,r)),0===o&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&C(e),i.pending+2<=i.pending_buf_size&&(z(i,255&e.adler),z(i,e.adler>>8&255),e.adler=0,i.status=x)):i.status=x),0!==i.pending){if(C(e),0===e.avail_out)return i.last_flush=-1,c}else if(0===e.avail_in&&w(t)<=w(n)&&4!==t)return _(e,-5);if(666===i.status&&0!==e.avail_in)return _(e,-5);if(0!==e.avail_in||0!==i.lookahead||t!==d&&666!==i.status){var a=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(E(e),0===e.lookahead)){if(t===d)return 1;break}if(e.match_length=0,n=l._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(M(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(M(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(M(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,i,r,o,a=e.window;;){if(e.lookahead<=b){if(E(e),e.lookahead<=b&&t===d)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=g&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=g?(n=l._tr_tally(e,1,e.match_length-g),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=l._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(M(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(M(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(M(e,!1),0===e.strm.avail_out)?1:2}(i,t):s[i.level].func(i,t);if(3!==a&&4!==a||(i.status=666),1===a||3===a)return 0===e.avail_out&&(i.last_flush=-1),c;if(2===a&&(1===t?l._tr_align(i):5!==t&&(l._tr_stored_block(i,0,0,!1),3===t)&&(k(i.head),0===i.lookahead)&&(i.strstart=0,i.block_start=0,i.insert=0),C(e),0===e.avail_out))return i.last_flush=-1,c}return 4!==t||!(i.wrap<=0)&&(2===i.wrap?(z(i,255&e.adler),z(i,e.adler>>8&255),z(i,e.adler>>16&255),z(i,e.adler>>24&255),z(i,255&e.total_in),z(i,e.total_in>>8&255),z(i,e.total_in>>16&255),z(i,e.total_in>>24&255)):(S(i,e.adler>>>16),S(i,65535&e.adler)),C(e),0=n.w_size&&(0===o&&(k(n.head),n.strstart=0,n.block_start=0,n.insert=0),l=new h.Buf8(n.w_size),h.arraySet(l,t,d-n.w_size,n.w_size,0),t=l,d=n.w_size),l=e.avail_in,a=e.next_in,s=e.input,e.avail_in=d,e.next_in=0,e.input=t,E(n);n.lookahead>=g;){for(i=n.strstart,r=n.lookahead-(g-1);n.ins_h=(n.ins_h<>>=i=n>>>24,w-=i,0==(i=n>>>16&255))f[u++]=65535&n;else{if(!(16&i)){if(0==(64&i)){n=k[(65535&n)+(_&(1<>>=i,w-=i),w<15&&(_+=c[d++]<>>=i=n>>>24,w-=i,!(16&(i=n>>>16&255))){if(0==(64&i)){n=C[(65535&n)+(_&(1<>>=i,w-=i,(i=u-p)>3,_&=(1<<(w-=r<<3))-1,e.next_in=d,e.next_out=u,e.avail_in=d>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function o(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new A.Buf16(320),this.work=new A.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg=\\\"\\\",t.wrap&&(e.adler=1&t.wrap),t.mode=R,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new A.Buf32(i),t.distcode=t.distdyn=new A.Buf32(r),t.sane=1,t.back=-1,B):D}function s(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,a(e)):D}function l(e,t){var n,i;return!e||!e.state||(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=o.wsize?(A.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(r=o.wsize-o.wnext)&&(r=i),A.arraySet(o.window,t,n-i,r,o.wnext),(i-=r)?(A.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,n.check=I(n.check,S,2,0),c=d=0,n.mode=2;else if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&d)<<8)+(d>>8))%31)e.msg=\\\"incorrect header check\\\",n.mode=30;else if(8!=(15&d))e.msg=\\\"unknown compression method\\\",n.mode=30;else{if(c-=4,w=8+(15&(d>>>=4)),0===n.wbits)n.wbits=w;else if(w>n.wbits){e.msg=\\\"invalid window size\\\",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(S[0]=255&d,S[1]=d>>>8&255,n.check=I(n.check,S,2,0)),c=d=0,n.mode=3;case 3:for(;c<32;){if(0===s)break e;s--,d+=i[o++]<>>8&255,S[2]=d>>>16&255,S[3]=d>>>24&255,n.check=I(n.check,S,4,0)),c=d=0,n.mode=4;case 4:for(;c<16;){if(0===s)break e;s--,d+=i[o++]<>8),512&n.flags&&(S[0]=255&d,S[1]=d>>>8&255,n.check=I(n.check,S,2,0)),c=d=0,n.mode=5;case 5:if(1024&n.flags){for(;c<16;){if(0===s)break e;s--,d+=i[o++]<>>8&255,n.check=I(n.check,S,2,0)),c=d=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((f=s<(f=n.length)?s:f)&&(n.head&&(w=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),A.arraySet(n.head.extra,i,o,f,w)),512&n.flags&&(n.check=I(n.check,i,f,o)),s-=f,o+=f,n.length-=f),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;for(f=0;w=i[o+f++],n.head&&w&&n.length<65536&&(n.head.name+=String.fromCharCode(w)),w&&f>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;c<32;){if(0===s)break e;s--,d+=i[o++]<>>=7&c,c-=7&c,n.mode=27;else{for(;c<3;){if(0===s)break e;s--,d+=i[o++]<>>=1)){case 0:n.mode=14;break;case 1:E=T=void 0;var E,T=n;if(U){for(F=new A.Buf32(512),H=new A.Buf32(32),E=0;E<144;)T.lens[E++]=8;for(;E<256;)T.lens[E++]=9;for(;E<280;)T.lens[E++]=7;for(;E<288;)T.lens[E++]=8;for(j(1,T.lens,0,288,F,0,T.work,{bits:9}),E=0;E<32;)T.lens[E++]=5;j(2,T.lens,0,32,H,0,T.work,{bits:5}),U=!1}if(T.lencode=F,T.lenbits=9,T.distcode=H,T.distbits=5,n.mode=20,6!==t)break;d>>>=2,c-=2;break e;case 2:n.mode=17;break;case 3:e.msg=\\\"invalid block type\\\",n.mode=30}d>>>=2,c-=2}break;case 14:for(d>>>=7&c,c-=7&c;c<32;){if(0===s)break e;s--,d+=i[o++]<>>16^65535)){e.msg=\\\"invalid stored block lengths\\\",n.mode=30;break}if(n.length=65535&d,c=d=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(f=n.length){if(0===(f=l<(f=s>>=5,c-=5,n.ndist=1+(31&d),d>>>=5,c-=5,n.ncode=4+(15&d),d>>>=4,c-=4,286>>=3,c-=3}for(;n.have<19;)n.lens[N[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,C={bits:n.lenbits},k=j(0,n.lens,0,19,n.lencode,0,n.work,C),n.lenbits=C.bits,k){e.msg=\\\"invalid code lengths set\\\",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,v=65535&z,!((g=z>>>24)<=c);){if(0===s)break e;s--,d+=i[o++]<>>=g,c-=g,n.lens[n.have++]=v;else{if(16===v){for(M=g+2;c>>=g,c-=g,0===n.have){e.msg=\\\"invalid bit length repeat\\\",n.mode=30;break}w=n.lens[n.have-1],f=3+(3&d),d>>>=2,c-=2}else if(17===v){for(M=g+3;c>>=g)),d>>>=3,c=c-g-3}else{for(M=g+7;c>>=g)),d>>>=7,c=c-g-7}if(n.have+f>n.nlen+n.ndist){e.msg=\\\"invalid bit length repeat\\\",n.mode=30;break}for(;f--;)n.lens[n.have++]=w}}if(30===n.mode)break;if(0===n.lens[256]){e.msg=\\\"invalid code -- missing end-of-block\\\",n.mode=30;break}if(n.lenbits=9,C={bits:n.lenbits},k=j(1,n.lens,0,n.nlen,n.lencode,0,n.work,C),n.lenbits=C.bits,k){e.msg=\\\"invalid literal/lengths set\\\",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,C={bits:n.distbits},k=j(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,C),n.distbits=C.bits,k){e.msg=\\\"invalid distances set\\\",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=s&&258<=l){e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,n.hold=d,n.bits=c,O(e,u),a=e.next_out,r=e.output,l=e.avail_out,o=e.next_in,i=e.input,s=e.avail_in,d=n.hold,c=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;b=(z=n.lencode[d&(1<>>16&255,v=65535&z,!((g=z>>>24)<=c);){if(0===s)break e;s--,d+=i[o++]<>y)])>>>16&255,v=65535&z,!(y+(g=z>>>24)<=c);){if(0===s)break e;s--,d+=i[o++]<>>=y,c-=y,n.back+=y}if(d>>>=g,c-=g,n.back+=g,n.length=v,0===b){n.mode=26;break}if(32&b){n.back=-1,n.mode=12;break}if(64&b){e.msg=\\\"invalid literal/length code\\\",n.mode=30;break}n.extra=15&b,n.mode=22;case 22:if(n.extra){for(M=n.extra;c>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;b=(z=n.distcode[d&(1<>>16&255,v=65535&z,!((g=z>>>24)<=c);){if(0===s)break e;s--,d+=i[o++]<>y)])>>>16&255,v=65535&z,!(y+(g=z>>>24)<=c);){if(0===s)break e;s--,d+=i[o++]<>>=y,c-=y,n.back+=y}if(d>>>=g,c-=g,n.back+=g,64&b){e.msg=\\\"invalid distance code\\\",n.mode=30;break}n.offset=v,n.extra=15&b,n.mode=24;case 24:if(n.extra){for(M=n.extra;c>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg=\\\"invalid distance too far back\\\",n.mode=30;break}n.mode=25;case 25:if(0===l)break e;if(n.offset>(f=u-l)){if((f=n.offset-f)>n.whave&&n.sane){e.msg=\\\"invalid distance too far back\\\",n.mode=30;break}p=f>n.wnext?(f-=n.wnext,n.wsize-f):n.wnext-f,f>n.length&&(f=n.length),m=n.window}else m=r,p=a-n.offset,f=n.length;for(l-=f=lf?(m=L[I+a[y]],N[E+a[y]]):(m=96,0),l=1<<(p=v-C),x=d=1<>C)+(d-=l)]=p<<24|m<<16|g|0,0!==d;);for(l=1<>=1;if(0!==l?S=(S&l-1)+l:S=0,y++,0==--T[v]){if(v===_)break;v=t[n+a[y]]}if(w>>7)]}function o(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,n){e.bi_valid>i-n?(e.bi_buf|=t<>i-e.bi_valid,e.bi_valid+=n-i):(e.bi_buf|=t<>>=1,n<<=1,0<--t;);return n>>>1}function z(e,t,n){for(var i,r=new Array(16),o=0,a=1;a<=15;a++)r[a]=o=o+n[a-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=M(r[s]++,s))}}function S(e){for(var t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function N(e){8>1;1<=n;n--)E(e,o,n);for(r=l;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],E(e,o,1),i=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=i,o[2*r]=o[2*n]+o[2*i],e.depth[r]=(e.depth[n]>=e.depth[i]?e.depth[n]:e.depth[i])+1,o[2*n+1]=o[2*i+1]=r,e.heap[1]=r++,E(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1];for(var c,h,u,f,p,m=e,g=t.dyn_tree,b=t.max_code,v=t.stat_desc.static_tree,y=t.stat_desc.has_stree,x=t.stat_desc.extra_bits,_=t.stat_desc.extra_base,w=t.stat_desc.max_length,k=0,C=0;C<=15;C++)m.bl_count[C]=0;for(g[2*m.heap[m.heap_max]+1]=0,c=m.heap_max+1;c<573;c++)w<(C=g[2*g[2*(h=m.heap[c])+1]+1]+1)&&(C=w,k++),g[2*h+1]=C,b>=7;a<30;a++)for(y[a]=r<<7,t=0;t<1<>>=1)if(1&t&&0!==e.dyn_ltree[2*n])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(n=32;n<256;n++)if(0!==e.dyn_ltree[2*n])return 1;return 0}(e)),A(e,e.l_desc),A(e,e.d_desc),s=function(e){var t;for(L(e,e.dyn_ltree,e.l_desc.max_code),L(e,e.dyn_dtree,e.d_desc.max_code),A(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*c[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),r=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=r&&(r=o)):r=o=n+5,n+4<=r&&-1!==t)j(e,t,n,i);else if(4===e.strategy||o===r)k(e,2+(i?1:0),3),T(e,h,u);else{k(e,4+(i?1:0),3);var l=e,d=(t=e.l_desc.max_code+1,n=e.d_desc.max_code+1,s+1);for(k(l,t-257,5),k(l,n-1,5),k(l,d-4,4),a=0;a>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(p[n]+256+1)]++,e.dyn_dtree[2*w(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){k(e,2,3),C(e,256,h),16===(e=e).bi_valid?(o(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{\\\"../utils/common\\\":41}],53:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=\\\"\\\",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){!(function(e){function r(e){delete c[e]}function o(e){if(h)setTimeout(o,0,e);else{var t=c[e];if(t){h=!0;try{var n=t.callback,i=t.args;switch(i.length){case 0:n();break;case 1:n(i[0]);break;case 2:n(i[0],i[1]);break;case 3:n(i[0],i[1],i[2]);break;default:n.apply(a,i)}}finally{r(e),h=!1}}}}function t(e){e.source===n&&\\\"string\\\"==typeof e.data&&0===e.data.indexOf(l)&&o(+e.data.slice(l.length))}var n,a,i,s,l,d,c,h,u,f,p;(n=\\\"undefined\\\"==typeof self?void 0===e?this:e:self).setImmediate||(d=1,h=!(c={}),u=n.document,f=(f=Object.getPrototypeOf&&Object.getPrototypeOf(n))&&f.setTimeout?f:n,p=\\\"[object process]\\\"==={}.toString.call(n.process)?function(e){process.nextTick(function(){o(e)})}:function(){var e,t;if(n.postMessage&&!n.importScripts)return e=!0,t=n.onmessage,n.onmessage=function(){e=!1},n.postMessage(\\\"\\\",\\\"*\\\"),n.onmessage=t,e}()?(l=\\\"setImmediate$\\\"+Math.random()+\\\"$\\\",n.addEventListener?n.addEventListener(\\\"message\\\",t,!1):n.attachEvent(\\\"onmessage\\\",t),function(e){n.postMessage(l+e,\\\"*\\\")}):n.MessageChannel?((s=new MessageChannel).port1.onmessage=function(e){o(e.data)},function(e){s.port2.postMessage(e)}):u&&\\\"onreadystatechange\\\"in u.createElement(\\\"script\\\")?(i=u.documentElement,function(e){var t=u.createElement(\\\"script\\\");t.onreadystatechange=function(){o(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(o,0,e)},f.setImmediate=function(e){\\\"function\\\"!=typeof e&&(e=new Function(\\\"\\\"+e));for(var t=new Array(arguments.length-1),n=0;n{\\\"use strict\\\";n.d(t,{Z:()=>l});var i=n(81),o=n.n(i),a=n(645),r=n.n(a)()(o());r.push([e.id,\\\".mind-elixir .mobile-menu {\\\\\\\\n position: absolute;\\\\\\\\n left: 20px;\\\\\\\\n bottom: 70px;\\\\\\\\n z-index: 99;\\\\\\\\n margin: 0;\\\\\\\\n padding: 0;\\\\\\\\n color: #333;\\\\\\\\n border-radius: 5px;\\\\\\\\n box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.2);\\\\\\\\n overflow: hidden;\\\\\\\\n}\\\\\\\\n.mind-elixir .mobile-menu * {\\\\\\\\n transition: color 0.4s, background-color 0.4s;\\\\\\\\n}\\\\\\\\n.mind-elixir .mobile-menu div {\\\\\\\\n float: left;\\\\\\\\n text-align: center;\\\\\\\\n width: 30px;\\\\\\\\n overflow: hidden;\\\\\\\\n white-space: nowrap;\\\\\\\\n padding: 8px;\\\\\\\\n background-color: #fff;\\\\\\\\n border-bottom: 1px solid #ecf0f1;\\\\\\\\n}\\\\\\\\n.mind-elixir .mobile-menu div a {\\\\\\\\n color: #333;\\\\\\\\n text-decoration: none;\\\\\\\\n}\\\\\\\\n.mind-elixir .mobile-menu div.disabled {\\\\\\\\n color: #5e5e5e;\\\\\\\\n background-color: #f7f7f7;\\\\\\\\n}\\\\\\\\n.mind-elixir .mobile-menu div.disabled:hover {\\\\\\\\n cursor: default;\\\\\\\\n background-color: #f7f7f7;\\\\\\\\n}\\\\\\\\n.mind-elixir .mobile-menu div:hover {\\\\\\\\n cursor: pointer;\\\\\\\\n background-color: #ecf0f1;\\\\\\\\n}\\\\\\\\n\\\",\\\"\\\"]);const l=r},301:(e,t,n)=>{\\\"use strict\\\";n.d(t,{Z:()=>l});var i=n(81),o=n.n(i),a=n(645),r=n.n(a)()(o());r.push([e.id,\\\".mind-elixir-toolbar {\\\\\\\\n position: absolute;\\\\\\\\n background: #fff;\\\\\\\\n padding: 10px;\\\\\\\\n border-radius: 5px;\\\\\\\\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);\\\\\\\\n}\\\\\\\\n.mind-elixir-toolbar span:active {\\\\\\\\n opacity: 0.5;\\\\\\\\n}\\\\\\\\n.mind-elixir-toolbar.rb {\\\\\\\\n right: 20px;\\\\\\\\n bottom: 20px;\\\\\\\\n font-family: iconfont;\\\\\\\\n}\\\\\\\\n.mind-elixir-toolbar.rb span + span {\\\\\\\\n margin-left: 10px;\\\\\\\\n}\\\\\\\\n.mind-elixir-toolbar.lt {\\\\\\\\n font-size: 20px;\\\\\\\\n left: 20px;\\\\\\\\n top: 20px;\\\\\\\\n width: 20px;\\\\\\\\n}\\\\\\\\n.mind-elixir-toolbar.lt span {\\\\\\\\n display: block;\\\\\\\\n}\\\\\\\\n.mind-elixir-toolbar.lt span + span {\\\\\\\\n margin-top: 10px;\\\\\\\\n}\\\\\\\\n\\\",\\\"\\\"]);const l=r},645:e=>{\\\"use strict\\\";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=\\\"\\\",i=void 0!==t[5];return t[4]&&(n+=\\\"@supports (\\\".concat(t[4],\\\") {\\\")),t[2]&&(n+=\\\"@media \\\".concat(t[2],\\\" {\\\")),i&&(n+=\\\"@layer\\\".concat(t[5].length>0?\\\" \\\".concat(t[5]):\\\"\\\",\\\" {\\\")),n+=e(t),i&&(n+=\\\"}\\\"),t[2]&&(n+=\\\"}\\\"),t[4]&&(n+=\\\"}\\\"),n})).join(\\\"\\\")},t.i=function(e,n,i,o,a){\\\"string\\\"==typeof e&&(e=[[null,e,void 0]]);var r={};if(i)for(var l=0;l0?\\\" \\\".concat(d[5]):\\\"\\\",\\\" {\\\").concat(d[1],\\\"}\\\")),d[5]=a),n&&(d[2]?(d[1]=\\\"@media \\\".concat(d[2],\\\" {\\\").concat(d[1],\\\"}\\\"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]=\\\"@supports (\\\".concat(d[4],\\\") {\\\").concat(d[1],\\\"}\\\"),d[4]=o):d[4]=\\\"\\\".concat(o)),t.push(d))}},t}},667:e=>{\\\"use strict\\\";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^[\\\\'\\\"].*[\\\\'\\\"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/[\\\"\\\\'() \\\\\\\\t\\\\\\\\n]|(%20)/.test(e)||t.needQuotes?\\\\'\\\"\\\\'.concat(e.replace(/\\\"/g,\\\\'\\\\\\\\\\\\\\\\\\\"\\\\').replace(/\\\\\\\\n/g,\\\"\\\\\\\\\\\\\\\\n\\\"),\\\\'\\\"\\\\'):e):e}},81:e=>{\\\"use strict\\\";e.exports=function(e){return e[1]}},379:e=>{\\\"use strict\\\";var t=[];function n(e){for(var n=-1,i=0;i{\\\"use strict\\\";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error(\\\"Couldn\\\\'t find a style target. This probably means that the value for the \\\\'insert\\\\' parameter is invalid.\\\");i.appendChild(n)}},216:e=>{\\\"use strict\\\";e.exports=function(e){var t=document.createElement(\\\"style\\\");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{\\\"use strict\\\";e.exports=function(e){var t=n.nc;t&&e.setAttribute(\\\"nonce\\\",t)}},795:e=>{\\\"use strict\\\";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i=\\\"\\\";n.supports&&(i+=\\\"@supports (\\\".concat(n.supports,\\\") {\\\")),n.media&&(i+=\\\"@media \\\".concat(n.media,\\\" {\\\"));var o=void 0!==n.layer;o&&(i+=\\\"@layer\\\".concat(n.layer.length>0?\\\" \\\".concat(n.layer):\\\"\\\",\\\" {\\\")),i+=n.css,o&&(i+=\\\"}\\\"),n.media&&(i+=\\\"}\\\"),n.supports&&(i+=\\\"}\\\");var a=n.sourceMap;a&&\\\"undefined\\\"!=typeof btoa&&(i+=\\\"\\\\\\\\n/*# sourceMappingURL=data:application/json;base64,\\\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a)))),\\\" */\\\")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{\\\"use strict\\\";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},857:()=>{!function(e){var t,n,i,o,a,r,l=\\\\'\\\\',s=(s=document.getElementsByTagName(\\\"script\\\"))[s.length-1].getAttribute(\\\"data-injectcss\\\");if(s&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write(\\\"\\\")}catch(e){console}}function c(){a||(a=!0,i())}t=function(){var e,t,n,i;(i=document.createElement(\\\"div\\\")).innerHTML=l,l=null,(n=i.getElementsByTagName(\\\"svg\\\")[0])&&(n.setAttribute(\\\"aria-hidden\\\",\\\"true\\\"),n.style.position=\\\"absolute\\\",n.style.width=0,n.style.height=0,n.style.overflow=\\\"hidden\\\",e=n,(t=document.body).firstChild?(i=e,(n=t.firstChild).parentNode.insertBefore(i,n)):t.appendChild(e))},document.addEventListener?~[\\\"complete\\\",\\\"loaded\\\",\\\"interactive\\\"].indexOf(document.readyState)?setTimeout(t,0):(n=function(){document.removeEventListener(\\\"DOMContentLoaded\\\",n,!1),t()},document.addEventListener(\\\"DOMContentLoaded\\\",n,!1)):document.attachEvent&&(i=t,o=e.document,a=!1,(r=function(){try{o.documentElement.doScroll(\\\"left\\\")}catch(e){return void setTimeout(r,50)}c()})(),o.onreadystatechange=function(){\\\"complete\\\"==o.readyState&&(o.onreadystatechange=null,c())})}(window)},848:e=>{\\\"use strict\\\";e.exports=\\\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdD0iMTY1NjY1NDcxNzI0MiIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgICA8cGF0aCBkPSJNNTEyIDc0LjY2NjY2N0MyNzAuOTMzMzMzIDc0LjY2NjY2NyA3NC42NjY2NjcgMjcwLjkzMzMzMyA3NC42NjY2NjcgNTEyUzI3MC45MzMzMzMgOTQ5LjMzMzMzMyA1MTIgOTQ5LjMzMzMzMyA5NDkuMzMzMzMzIDc1My4wNjY2NjcgOTQ5LjMzMzMzMyA1MTIgNzUzLjA2NjY2NyA3NC42NjY2NjcgNTEyIDc0LjY2NjY2N3oiIHN0cm9rZS13aWR0aD0iNTQiIHN0cm9rZT0nYmxhY2snIGZpbGw9J3doaXRlJyA+PC9wYXRoPgogICAgPHBhdGggZD0iTTY4Mi42NjY2NjcgNDgwaC0xMzguNjY2NjY3VjM0MS4zMzMzMzNjMC0xNy4wNjY2NjctMTQuOTMzMzMzLTMyLTMyLTMycy0zMiAxNC45MzMzMzMtMzIgMzJ2MTM4LjY2NjY2N0gzNDEuMzMzMzMzYy0xNy4wNjY2NjcgMC0zMiAxNC45MzMzMzMtMzIgMzJzMTQuOTMzMzMzIDMyIDMyIDMyaDEzOC42NjY2NjdWNjgyLjY2NjY2N2MwIDE3LjA2NjY2NyAxNC45MzMzMzMgMzIgMzIgMzJzMzItMTQuOTMzMzMzIDMyLTMydi0xMzguNjY2NjY3SDY4Mi42NjY2NjdjMTcuMDY2NjY3IDAgMzItMTQuOTMzMzMzIDMyLTMycy0xNC45MzMzMzMtMzItMzItMzJ6Ij48L3BhdGg+Cjwvc3ZnPg==\\\"},295:e=>{\\\"use strict\\\";e.exports=\\\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdD0iMTY1NjY1NTU2NDk4NSIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgICA8cGF0aCBkPSJNNTEyIDc0LjY2NjY2N0MyNzAuOTMzMzMzIDc0LjY2NjY2NyA3NC42NjY2NjcgMjcwLjkzMzMzMyA3NC42NjY2NjcgNTEyUzI3MC45MzMzMzMgOTQ5LjMzMzMzMyA1MTIgOTQ5LjMzMzMzMyA5NDkuMzMzMzMzIDc1My4wNjY2NjcgOTQ5LjMzMzMzMyA1MTIgNzUzLjA2NjY2NyA3NC42NjY2NjcgNTEyIDc0LjY2NjY2N3oiIHN0cm9rZS13aWR0aD0iNTQiIHN0cm9rZT0nYmxhY2snIGZpbGw9J3doaXRlJyA+PC9wYXRoPgogICAgPHBhdGggZD0iTTY4Mi42NjY2NjcgNTQ0SDM0MS4zMzMzMzNjLTE3LjA2NjY2NyAwLTMyLTE0LjkzMzMzMy0zMi0zMnMxNC45MzMzMzMtMzIgMzItMzJoMzQxLjMzMzMzNGMxNy4wNjY2NjcgMCAzMiAxNC45MzMzMzMgMzIgMzJzLTE0LjkzMzMzMyAzMi0zMiAzMnoiPjwvcGF0aD4KPC9zdmc+\\\"}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var a=t[i]={id:i,exports:{}};return e[i](a,a.exports,n),a.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.b=document.baseURI||self.location.href,n.nc=void 0;var i={};return(()=>{\\\"use strict\\\";n.d(i,{default:()=>K});const e=30,t={name:\\\"Latte\\\",palette:[\\\"#dd7878\\\",\\\"#ea76cb\\\",\\\"#8839ef\\\",\\\"#e64553\\\",\\\"#fe640b\\\",\\\"#df8e1d\\\",\\\"#40a02b\\\",\\\"#209fb5\\\",\\\"#1e66f5\\\",\\\"#7287fd\\\"],cssVar:{\\\"--main-color\\\":\\\"#444446\\\",\\\"--main-bgcolor\\\":\\\"#ffffff\\\",\\\"--color\\\":\\\"#777777\\\",\\\"--bgcolor\\\":\\\"#f6f6f6\\\"}};function o(e){return e.replace(/&/g,\\\"&\\\").replace(/{if(e.parent=t,e.children)for(let t=0;t(t?t.mindElixirBox:s).querySelector(`[data-nodeid=me${e}]`),d=function(e,t){if(e.textContent=t.topic,t.style&&(e.style.color=t.style.color||null,e.style.background=t.style.background||null,e.style.fontSize=t.style.fontSize+\\\"px\\\",e.style.fontWeight=t.style.fontWeight||\\\"normal\\\"),t.image){const n=t.image;if(n.url&&n.width&&n.height){const t=s.createElement(\\\"img\\\");t.src=n.url,t.style.width=n.width+\\\"px\\\",t.style.height=n.height+\\\"px\\\",e.appendChild(t)}}if(t.hyperLink){const n=s.createElement(\\\"a\\\");n.className=\\\"hyper-link\\\",n.target=\\\"_blank\\\",n.innerText=\\\"🔗\\\",n.href=t.hyperLink,e.appendChild(n),e.linkContainer=n}else e.linkContainer&&(e.linkContainer.remove(),e.linkContainer=null);if(t.icons&&t.icons.length){const n=s.createElement(\\\"span\\\");n.className=\\\"icons\\\",n.innerHTML=t.icons.map((e=>`${o(e)}`)).join(\\\"\\\"),e.appendChild(n)}if(t.tags&&t.tags.length){const n=s.createElement(\\\"div\\\");n.className=\\\"tags\\\",n.innerHTML=t.tags.map((e=>`${o(e)}`)).join(\\\"\\\"),e.appendChild(n)}t.branchColor&&(e.style.borderColor=t.branchColor)};const h=function(e){const t=s.createElement(\\\"me-epd\\\");return t.expanded=!1!==e,t.className=!1!==e?\\\"minus\\\":\\\"\\\",t},p=document,m=document,u=\\\"http://www.w3.org/2000/svg\\\",f=function(e,t){const n=m.createElementNS(u,\\\"path\\\");return n.setAttribute(\\\"d\\\",e),n.setAttribute(\\\"stroke\\\",t||\\\"#666\\\"),n.setAttribute(\\\"fill\\\",\\\"none\\\"),n.setAttribute(\\\"stroke-width\\\",\\\"3\\\"),n},g=function(e){const t=m.createElementNS(u,\\\"svg\\\");return t.setAttribute(\\\"class\\\",e),t},b=function(e,t,n,i){const o=m.createElementNS(u,\\\"line\\\");return o.setAttribute(\\\"x1\\\",e),o.setAttribute(\\\"y1\\\",t),o.setAttribute(\\\"x2\\\",n),o.setAttribute(\\\"y2\\\",i),o.setAttribute(\\\"stroke\\\",\\\"#bbb\\\"),o.setAttribute(\\\"fill\\\",\\\"none\\\"),o.setAttribute(\\\"stroke-width\\\",\\\"2\\\"),o},x=function(e,t){const n=m.createElementNS(u,\\\"path\\\");return n.setAttribute(\\\"d\\\",e),n.setAttribute(\\\"stroke\\\",t||\\\"#555\\\"),n.setAttribute(\\\"fill\\\",\\\"none\\\"),n.setAttribute(\\\"stroke-linecap\\\",\\\"square\\\"),n.setAttribute(\\\"stroke-width\\\",\\\"2\\\"),n};function M(e){return{nodeData:e.isFocusMode?e.nodeDataBackup:e.nodeData,linkData:e.linkData,direction:e.direction,theme:e.theme}}function y(e,t,n){let i=\\\"\\\";const o=t.offsetTop,a=t.offsetLeft,r=t.offsetWidth,l=t.offsetHeight;for(let t=0;t0&&(i+=y(g,c))}return i}function v({x1:e,y1:t,x2:n,y2:i}){return`M ${e} 10000 V ${i>t?i-20:i+20} C ${e} ${i} ${e} ${i} ${n>e?e+20:e-20} ${i} H ${n}`}function N({x1:e,y1:t,x2:n,y2:i}){return`M ${e} ${t} Q ${e} ${i} ${n} ${i}`}function z({pT:t,pL:n,pW:i,pH:o,cT:a,cL:r,cW:l,cH:s,direction:c,isFirst:d}){let h,p;h=d?t+o/2:t+o;const m=a+s;let u,f,g;return\\\"lhs\\\"===c?(g=n-10,u=g+e,f=g-e,p=r+e-10):\\\"rhs\\\"===c&&(g=n+i+10,u=g-e,f=g+e,p=r+l-e+10),`M ${u} ${h} C ${g} ${h} ${g} ${m} ${f} ${m} H ${p}`}const C={afterMoving:!1,mousedown:!1,lastX:null,lastY:null,onMove(e,t){if(this.mousedown){if(this.afterMoving=!0,!this.lastX)return this.lastX=e.pageX,void(this.lastY=e.pageY);const n=this.lastX-e.pageX,i=this.lastY-e.pageY;t.scrollTo(t.scrollLeft+n,t.scrollTop+i),this.lastX=e.pageX,this.lastY=e.pageY}},clear(){this.afterMoving=!1,this.mousedown=!1,this.lastX=null,this.lastY=null}};const k={addChild:\\\"插入子节点\\\",addParent:\\\"插入父节点\\\",addSibling:\\\"插入同级节点\\\",removeNode:\\\"删除节点\\\",focus:\\\"专注\\\",cancelFocus:\\\"取消专注\\\",moveUp:\\\"上移\\\",moveDown:\\\"下移\\\",link:\\\"连接\\\",clickTips:\\\"请点击目标节点\\\"},w={cn:k,zh_CN:k,zh_TW:{addChild:\\\"插入子節點\\\",addParent:\\\"插入父節點\\\",addSibling:\\\"插入同級節點\\\",removeNode:\\\"刪除節點\\\",focus:\\\"專注\\\",cancelFocus:\\\"取消專注\\\",moveUp:\\\"上移\\\",moveDown:\\\"下移\\\",link:\\\"連接\\\",clickTips:\\\"請點擊目標節點\\\"},en:{addChild:\\\"Add child\\\",addParent:\\\"Add parent\\\",addSibling:\\\"Add sibling\\\",removeNode:\\\"Remove node\\\",focus:\\\"Focus Mode\\\",cancelFocus:\\\"Cancel Focus Mode\\\",moveUp:\\\"Move up\\\",moveDown:\\\"Move down\\\",link:\\\"Link\\\",clickTips:\\\"Please click the target node\\\"},ru:{addChild:\\\"Добавить дочерний элемент\\\",addParent:\\\"Добавить родительский элемент\\\",addSibling:\\\"Добавить на этом уровне\\\",removeNode:\\\"Удалить узел\\\",focus:\\\"Режим фокусировки\\\",cancelFocus:\\\"Отменить режим фокусировки\\\",moveUp:\\\"Поднять выше\\\",moveDown:\\\"Опустить ниже\\\",link:\\\"Ссылка\\\",clickTips:\\\"Пожалуйста, нажмите на целевой узел\\\"},ja:{addChild:\\\"子ノードを追加する\\\",addParent:\\\"親ノードを追加します\\\",addSibling:\\\"兄弟ノードを追加する\\\",removeNode:\\\"ノードを削除\\\",focus:\\\"集中\\\",cancelFocus:\\\"集中解除\\\",moveUp:\\\"上へ移動\\\",moveDown:\\\"下へ移動\\\",link:\\\"コネクト\\\",clickTips:\\\"ターゲットノードをクリックしてください\\\"},pt:{addChild:\\\"Adicionar item filho\\\",addParent:\\\"Adicionar item pai\\\",addSibling:\\\"Adicionar item irmao\\\",removeNode:\\\"Remover item\\\",focus:\\\"Modo Foco\\\",cancelFocus:\\\"Cancelar Modo Foco\\\",moveUp:\\\"Mover para cima\\\",moveDown:\\\"Mover para baixo\\\",link:\\\"Link\\\",clickTips:\\\"Favor clicar no item alvo\\\"}};var L=n(379),j=n.n(L),E=n(795),T=n.n(E),I=n(569),D=n.n(I),A=n(565),S=n.n(A),H=n(216),Y=n.n(H),P=n(589),B=n.n(P),O=n(165),R={};R.styleTagTransform=B(),R.setAttributes=S(),R.insert=D().bind(null,\\\"head\\\"),R.domAPI=T(),R.insertStyleElement=Y();j()(O.Z,R);O.Z&&O.Z.locals&&O.Z.locals;function Z(e,t){const n=(e,t,n)=>{const i=document.createElement(\\\"li\\\");return i.id=e,i.innerHTML=`${o(t)}${o(n)}`,i},i=w[e.locale]?e.locale:\\\"en\\\",a=n(\\\"cm-add_child\\\",w[i].addChild,\\\"tab\\\"),r=n(\\\"cm-add_parent\\\",w[i].addParent,\\\"\\\"),l=n(\\\"cm-add_sibling\\\",w[i].addSibling,\\\"enter\\\"),s=n(\\\"cm-remove_child\\\",w[i].removeNode,\\\"delete\\\"),c=n(\\\"cm-fucus\\\",w[i].focus,\\\"\\\"),d=n(\\\"cm-unfucus\\\",w[i].cancelFocus,\\\"\\\"),h=n(\\\"cm-up\\\",w[i].moveUp,\\\"PgUp\\\"),p=n(\\\"cm-down\\\",w[i].moveDown,\\\"Pgdn\\\"),m=n(\\\"cm-down\\\",w[i].link,\\\"\\\"),u=document.createElement(\\\"ul\\\");if(u.className=\\\"menu-list\\\",u.appendChild(a),u.appendChild(r),u.appendChild(l),u.appendChild(s),t&&!t.focus||(u.appendChild(c),u.appendChild(d)),u.appendChild(h),u.appendChild(p),t&&!t.link||u.appendChild(m),t&&t.extend)for(let e=0;e{i.onclick(e)}}const f=document.createElement(\\\"div\\\");f.className=\\\"context-menu\\\",f.appendChild(u),f.hidden=!0,e.container.append(f);let g=!0;e.container.oncontextmenu=function(t){if(t.preventDefault(),!e.editable)return;const n=t.target;if(\\\"ME-TPC\\\"===n.tagName){g=\\\"ME-ROOT\\\"===n.parentElement.tagName,g?(c.className=\\\"disabled\\\",h.className=\\\"disabled\\\",p.className=\\\"disabled\\\",l.className=\\\"disabled\\\",s.className=\\\"disabled\\\"):(c.className=\\\"\\\",h.className=\\\"\\\",p.className=\\\"\\\",l.className=\\\"\\\",s.className=\\\"\\\"),e.selectNode(n),f.hidden=!1;const i=u.offsetHeight,o=u.offsetWidth;i+t.clientY>window.innerHeight?(u.style.top=\\\"\\\",u.style.bottom=\\\"0px\\\"):(u.style.bottom=\\\"\\\",u.style.top=t.clientY+15+\\\"px\\\"),o+t.clientX>window.innerWidth?(u.style.left=\\\"\\\",u.style.right=\\\"0px\\\"):(u.style.right=\\\"\\\",u.style.left=t.clientX+10+\\\"px\\\")}},f.onclick=e=>{e.target===f&&(f.hidden=!0)},a.onclick=()=>{e.addChild(),f.hidden=!0},r.onclick=()=>{e.insertParent(),f.hidden=!0},l.onclick=()=>{g||(e.insertSibling(),f.hidden=!0)},s.onclick=()=>{g||(e.removeNode(),f.hidden=!0)},c.onclick=()=>{g||(e.focusNode(e.currentNode),f.hidden=!0)},d.onclick=()=>{e.cancelFocus(),f.hidden=!0},h.onclick=()=>{g||(e.moveUpNode(),f.hidden=!0)},p.onclick=()=>{g||(e.moveDownNode(),f.hidden=!0)},m.onclick=()=>{f.hidden=!0;const t=e.currentNode,n=(e=>{const t=document.createElement(\\\"div\\\");return t.innerText=e,t.style.cssText=\\\"position:absolute;bottom:20px;left:50%;transform:translateX(-50%);\\\",t})(w[i].clickTips);e.container.appendChild(n),e.map.addEventListener(\\\"click\\\",(i=>{i.preventDefault(),n.remove(),\\\"ME-PARENT\\\"!==i.target.parentElement.tagName&&\\\"ME-ROOT\\\"!==i.target.parentElement.tagName||e.createLink(t,e.currentNode)}),{once:!0})}}var $=n(301),F={};F.styleTagTransform=B(),F.setAttributes=S(),F.insert=D().bind(null,\\\"head\\\"),F.domAPI=T(),F.insertStyleElement=Y();j()($.Z,F);$.Z&&$.Z.locals&&$.Z.locals;const V=(e,t)=>{const n=document.createElement(\\\"span\\\");return n.id=e,n.innerHTML=`\\\\\\\\n \\\\\\\\n `,n};function W(e){e.container.append(function(e){const t=document.createElement(\\\"div\\\"),n=V(\\\"fullscreen\\\",\\\"full\\\"),i=V(\\\"toCenter\\\",\\\"living\\\"),o=V(\\\"zoomout\\\",\\\"move\\\"),a=V(\\\"zoomin\\\",\\\"add\\\");return document.createElement(\\\"span\\\").innerText=\\\"100%\\\",t.appendChild(n),t.appendChild(i),t.appendChild(o),t.appendChild(a),t.className=\\\"mind-elixir-toolbar rb\\\",n.onclick=()=>{e.container.requestFullscreen()},i.onclick=()=>{e.toCenter()},o.onclick=()=>{e.scaleVal<.6||e.scale(e.scaleVal-=.2)},a.onclick=()=>{e.scaleVal>1.6||e.scale(e.scaleVal+=.2)},t}(e)),e.container.append(function(e){const t=document.createElement(\\\"div\\\"),n=V(\\\"tbltl\\\",\\\"left\\\"),i=V(\\\"tbltr\\\",\\\"right\\\"),o=V(\\\"tblts\\\",\\\"side\\\");return t.appendChild(n),t.appendChild(i),t.appendChild(o),t.className=\\\"mind-elixir-toolbar lt\\\",n.onclick=()=>{e.initLeft()},i.onclick=()=>{e.initRight()},o.onclick=()=>{e.initSide()},t}(e))}var G=n(787),_={};_.styleTagTransform=B(),_.setAttributes=S(),_.insert=D().bind(null,\\\"head\\\"),_.domAPI=T(),_.insertStyleElement=Y();j()(G.Z,_);G.Z&&G.Z.locals&&G.Z.locals;function q(){this.handlers={}}q.prototype={showHandler:function(){},addListener:function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t)},fire:function(e,...t){if(this.handlers[e]instanceof Array){const n=this.handlers[e];for(let e=0;e{if(\\\"ME-EPD\\\"===e.target.tagName)m.expandNode(e.target.previousSibling);else{if(!m.editable)return;\\\"ME-PARENT\\\"===e.target.parentElement.tagName||\\\"ME-ROOT\\\"===e.target.parentElement.tagName?m.selectNode(e.target,!1,e):\\\"path\\\"===e.target.tagName?\\\"g\\\"===e.target.parentElement.tagName&&m.selectLink(e.target.parentElement):\\\"circle\\\"===e.target.className||(m.unselectNode(),m.hideLinkController&&m.hideLinkController())}})),m.map.addEventListener(\\\"dblclick\\\",(e=>{e.preventDefault(),m.editable&&(\\\"ME-PARENT\\\"!==e.target.parentElement.tagName&&\\\"ME-ROOT\\\"!==e.target.parentElement.tagName||m.beginEdit(e.target))})),m.map.addEventListener(\\\"mousemove\\\",(e=>{\\\"true\\\"!==e.target.contentEditable&&C.onMove(e,m.container)})),m.map.addEventListener(\\\"mousedown\\\",(e=>{\\\"true\\\"!==e.target.contentEditable&&(C.afterMoving=!1,C.mousedown=!0)})),m.map.addEventListener(\\\"mouseleave\\\",(e=>{C.clear()})),m.map.addEventListener(\\\"mouseup\\\",(e=>{C.clear()})))}X.prototype={addParentLink:r,getObjById:a,judgeDirection:function(e,t){if(0===this.direction)e.className=\\\"lhs\\\";else if(1===this.direction)e.className=\\\"rhs\\\";else if(2===this.direction){p.querySelectorAll(\\\".lhs\\\").length<=p.querySelectorAll(\\\".rhs\\\").length?(e.className=\\\"lhs\\\",t.direction=0):(e.className=\\\"rhs\\\",t.direction=1)}},setNodeTopic:function(e,t){e.childNodes[0].textContent=t,e.nodeObj.topic=t,this.linkDiv()},createLink:function(e,t,n,i){const o=this.map.getBoundingClientRect();if(!e||!t)return;const a=e.getBoundingClientRect(),r=t.getBoundingClientRect(),s=(a.x+a.width/2-o.x)/this.scaleVal,c=(a.y+a.height/2-o.y)/this.scaleVal,d=(r.x+r.width/2-o.x)/this.scaleVal,h=(r.y+r.height/2-o.y)/this.scaleVal;let p,f,g,b;n?(p=s+i.delta1.x,f=c+i.delta1.y,g=d+i.delta2.x,b=h+i.delta2.y):(c+h)/2-c<=a.height/2?(p=(a.x+a.width-o.x)/this.scaleVal+100,f=c,g=(r.x+r.width-o.x)/this.scaleVal+100,b=h):(p=(s+d)/2,f=(c+h)/2,g=(s+d)/2,b=(c+h)/2);const x={cx:s,cy:c,w:a.width,h:a.height},M={cx:d,cy:h,w:r.width,h:r.height},y=function(e,t,n){let i,o;const a=(e.cy-n)/(t-e.cx);return a>e.h/e.w||a<-e.h/e.w?e.cy-n<0?(i=e.cx-e.h/2/a,o=e.cy+e.h/2):(i=e.cx+e.h/2/a,o=e.cy-e.h/2):e.cx-t<0?(i=e.cx+e.w/2,o=e.cy-e.w*a/2):(i=e.cx-e.w/2,o=e.cy+e.w*a/2),{x:i,y:o}}(x,p,f),v=y.x,N=y.y,z=function(e,t,n){let i,o;const a=(e.cy-n)/(t-e.cx);return a>e.h/e.w||a<-e.h/e.w?e.cy-n<0?(i=e.cx-e.h/2/a,o=e.cy+e.h/2):(i=e.cx+e.h/2/a,o=e.cy-e.h/2):e.cx-t<0?(i=e.cx+e.w/2,o=e.cy-e.w*a/2):(i=e.cx-e.w/2,o=e.cy+e.w*a/2),{x:i,y:o}}(M,g,b),C=z.x,k=z.y,w=function(e,t,n,i){const o=i-t,a=e-n;let r=Math.atan(Math.abs(o)/Math.abs(a))/3.14*180;a<0&&o>0&&(r=180-r),a<0&&o<0&&(r=180+r),a>0&&o<0&&(r=360-r);const l=r+30,s=r-30;return{x1:n+20*Math.cos(Math.PI*l/180),y1:i-20*Math.sin(Math.PI*l/180),x2:n+20*Math.cos(Math.PI*s/180),y2:i-20*Math.sin(Math.PI*s/180)}}(g,b,C,k),L=function(e,t){const n=m.createElementNS(u,\\\"g\\\"),i=m.createElementNS(u,\\\"path\\\"),o=m.createElementNS(u,\\\"path\\\");return o.setAttribute(\\\"d\\\",t),o.setAttribute(\\\"stroke\\\",\\\"rgb(235, 95, 82)\\\"),o.setAttribute(\\\"fill\\\",\\\"none\\\"),o.setAttribute(\\\"stroke-linecap\\\",\\\"cap\\\"),o.setAttribute(\\\"stroke-width\\\",\\\"2\\\"),i.setAttribute(\\\"d\\\",e),i.setAttribute(\\\"stroke\\\",\\\"rgb(235, 95, 82)\\\"),i.setAttribute(\\\"fill\\\",\\\"none\\\"),i.setAttribute(\\\"stroke-linecap\\\",\\\"cap\\\"),i.setAttribute(\\\"stroke-width\\\",\\\"2\\\"),n.appendChild(i),n.appendChild(o),n}(`M ${v} ${N} C ${p} ${f} ${g} ${b} ${C} ${k}`,`M ${w.x1} ${w.y1} L ${C} ${k} L ${w.x2} ${w.y2}`);let j;n?(j={id:i.id,label:\\\"\\\",from:e,to:t,delta1:{x:p-s,y:f-c},delta2:{x:g-d,y:b-h}},this.linkData[i.id]=j,L.linkObj=j,L.dataset.linkid=i.id):(j={id:l(),label:\\\"\\\",from:e,to:t,delta1:{x:p-s,y:f-c},delta2:{x:g-d,y:b-h}},this.linkData[j.id]=j,L.linkObj=j,L.dataset.linkid=j.id,this.currentLink=L),this.linkSvgGroup.appendChild(L),n||this.showLinkController(p,f,g,b,j,x,M)},layout:function(){this.root.innerHTML=\\\"\\\",this.box.innerHTML=\\\"\\\";const e=this.createTopic(this.nodeData);d(e,this.nodeData),e.draggable=!1,this.root.appendChild(e);const t=this.nodeData.children;if(t&&0!==t.length){if(2===this.direction){let e=0,n=0;t.map((t=>{0===t.direction?e+=1:1===t.direction?n+=1:e<=n?(t.direction=0,e+=1):(t.direction=1,n+=1)}))}this.layoutChildren(this.nodeData.children,this.box,this.direction)}},linkDiv:function(t){const n=this.mainNodeHorizontalGap||65,i=this.mainNodeVerticalGap||25,o=this.root;o.style.cssText=`top:${1e4-o.offsetHeight/2}px;left:${1e4-o.offsetWidth/2}px;`;const a=this.box.children;this.lines.innerHTML=\\\"\\\";let r,l,s=0,d=0,h=0,p=0,m=0,u=0;if(2===this.direction){let e=0,t=0,n=0,o=0;for(let r=0;ru?(l=1e4-Math.max(m)/2,r=\\\"r\\\",d=(m-o)/(t-1)):(l=1e4-Math.max(u)/2,r=\\\"l\\\",d=(u-n)/(e-1))}else{for(let e=0;e0){if(r.appendChild(h(o.expanded)),a.appendChild(r),!1!==o.expanded){const e=this.layoutChildren(o.children);a.appendChild(e)}}else a.appendChild(r);i.appendChild(a)}return i},createWrapper:function(e,t){const n=s.createElement(\\\"me-wrapper\\\"),i=this.createParent(e);if(n.appendChild(i),!t&&e.children&&e.children.length>0&&(i.appendChild(h(e.expanded)),!1!==e.expanded)){const t=this.layoutChildren(e.children);n.appendChild(t)}return{grp:n,top:i}},createParent:function(e){const t=s.createElement(\\\"me-parent\\\"),n=this.createTopic(e);return d(n,e),t.appendChild(n),t},createTopic:function(e){const t=s.createElement(\\\"me-tpc\\\");return t.nodeObj=e,t.dataset.nodeid=\\\"me\\\"+e.id,t.draggable=this.draggable,t},selectNode:function(e,t,n){if(e){if(\\\"string\\\"==typeof e)return this.selectNode(c(e));this.currentNode&&(this.currentNode.className=\\\"\\\"),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)}},unselectNode:function(){this.currentNode&&(this.currentNode.className=\\\"\\\"),this.currentNode=null,this.bus.fire(\\\"unselectNode\\\")},selectNextSibling:function(){if(!this.currentNode||\\\"meroot\\\"===this.currentNode.dataset.nodeid)return;const e=this.currentNode.parentElement.parentElement.nextSibling;let t;const n=this.currentNode.parentElement.parentElement;if(\\\"rhs\\\"===n.className||\\\"lhs\\\"===n.className){const e=this.mindElixirBox.querySelectorAll(\\\".\\\"+n.className),i=Array.from(e).indexOf(n);if(!(i+1=0))return!1;t=e[i-1].firstChild.firstChild}else{if(!e)return!1;t=e.firstChild.firstChild}return this.selectNode(t),!0},selectFirstChild:function(){if(!this.currentNode)return;const e=this.currentNode.parentElement.nextSibling;if(e&&e.firstChild){const t=e.firstChild.firstChild.firstChild;this.selectNode(t)}},selectParent:function(){if(!this.currentNode||\\\"meroot\\\"===this.currentNode.dataset.nodeid)return;const e=this.currentNode.parentElement.parentElement.parentElement.previousSibling;if(e){const t=e.firstChild;this.selectNode(t)}},getDataString:function(){const e=M(this);return JSON.stringify(e,((e,t)=>{if(\\\"parent\\\"!==e)return\\\"from\\\"===e||\\\"to\\\"===e?t.nodeObj.id:t}))},getData:function(){return JSON.parse(this.getDataString())},getDataMd:function(){const e=M(this).nodeData;let t=\\\"# \\\"+e.topic+\\\"\\\\\\\\n\\\\\\\\n\\\";return function e(n,i){for(let o=0;o{const n=document.createElement(\\\"div\\\");return n.id=e,n.innerHTML=`\\\\\\\\n \\\\\\\\n `,n},i=n(\\\"cm-add_child\\\",\\\"zijiedian\\\"),o=n(\\\"cm-add_sibling\\\",\\\"tongjijiedian-\\\"),a=n(\\\"cm-remove_child\\\",\\\"shanchu2\\\"),r=n(\\\"cm-up\\\",\\\"rising\\\"),l=n(\\\"cm-down\\\",\\\"falling\\\"),s=n(\\\"cm-edit\\\",\\\"edit\\\"),c=document.createElement(\\\"ul\\\");if(c.className=\\\"menu-list\\\",t&&t.extend)for(let e=0;e{i.onclick(e)}}const d=document.createElement(\\\"mmenu\\\");d.className=\\\"mobile-menu\\\",d.appendChild(i),d.appendChild(o),d.appendChild(a),d.appendChild(r),d.appendChild(l),d.appendChild(s),d.hidden=!0,e.container.append(d);let h=!0;e.bus.addListener(\\\"unselectNode\\\",(function(){d.hidden=!0})),e.bus.addListener(\\\"selectNode\\\",(function(e){d.hidden=!1,h=!!e.root})),d.onclick=e=>{e.target===d&&(d.hidden=!0)},i.onclick=t=>{e.addChild()},o.onclick=t=>{h||e.insertSibling()},a.onclick=t=>{h||e.removeNode()},r.onclick=t=>{h||e.moveUpNode()},l.onclick=t=>{h||e.moveDownNode()},s.onclick=t=>{e.beginEdit()}}(this):this.contextMenu&&Z(this,this.contextMenuOption);const t=this.theme.cssVar,n=Object.keys(t);for(let e=0;e\\n\\n \\n \\n \\n \\n ${(e=e).nodeData.topic}\\n \\n \\n \\n
\\n \\n \\n \\n`])}e.data2Html=o,e[\\\"default\\\"]=function(i){i.exportHtml=function(){return o(i.getData())},i.exportHtmlFile=function(e){var t=i.getData(),n=o(t);r.saveAs(n,(e||t.nodeData.topic)+\\\".html\\\")}},Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:\\\"Module\\\"}})},\\\"object\\\"==typeof(n=e)&&typeof t<\\\"u\\\"?i(e,require_FileSaver_min()):\\\"function\\\"==typeof define&&define.amd?define([\\\"exports\\\",\\\"file-saver\\\"],i):i((n=typeof globalThis<\\\"u\\\"?globalThis:n||self)[\\\"@mind-elixir/export-html\\\"]={},n.fileSaver)}}),addIcon=(init_esbuild_inject(),init_esbuild_inject(),init_esbuild_inject(),()=>{if(\\\"undefined\\\"!=typeof window)if(!0!==globalThis.__mindmap_elixir_nodemenu_svg_loaded__){if(!0!==globalThis.__iconfont__svg__cssinject__)try{document.write(\\\"\\\"),globalThis.__iconfont__svg__cssinject__=!0}catch(e){console.error(e)}const t=()=>{var e=document.createElement(\\\"div\\\"),t=(e.innerHTML='',e.getElementsByTagName(\\\"svg\\\")[0]);t.setAttribute(\\\"aria-hidden\\\",\\\"true\\\"),t.style.position=\\\"absolute\\\",t.style.width=\\\"0\\\",t.style.height=\\\"0\\\",t.style.overflow=\\\"hidden\\\",document.body.firstChild?document.body.insertBefore(e,document.body.firstChild):document.body.appendChild(t)};if(document.addEventListener)if(-1<[\\\"complete\\\",\\\"loaded\\\",\\\"interactive\\\"].indexOf(document.readyState))setTimeout(t,0);else{const n=()=>{document.removeEventListener(\\\"DOMContentLoaded\\\",n,!1),t()};document.addEventListener(\\\"DOMContentLoaded\\\",n,!1)}globalThis.__mindmap_elixir_nodemenu_svg_loaded__=!0}}),cn=(init_esbuild_inject(),{addChild:\\\"插入子节点\\\",addParent:\\\"插入父节点\\\",addSibling:\\\"插入同级节点\\\",removeNode:\\\"删除节点\\\",focus:\\\"专注\\\",cancelFocus:\\\"取消专注\\\",moveUp:\\\"上移\\\",moveDown:\\\"下移\\\",link:\\\"连接\\\",clickTips:\\\"请点击目标节点\\\",font:\\\"文字\\\",background:\\\"背景\\\",tag:\\\"标签\\\",icon:\\\"图标\\\",tagsSeparate:\\\"多个标签半角逗号分隔\\\",iconsSeparate:\\\"多个图标半角逗号分隔\\\",url:\\\"URL\\\"}),languageMap={cn:cn,zh_CN:cn,zh_TW:{addChild:\\\"插入子節點\\\",addParent:\\\"插入父節點\\\",addSibling:\\\"插入同級節點\\\",removeNode:\\\"刪除節點\\\",focus:\\\"專注\\\",cancelFocus:\\\"取消專注\\\",moveUp:\\\"上移\\\",moveDown:\\\"下移\\\",link:\\\"連接\\\",clickTips:\\\"請點擊目標節點\\\",font:\\\"文字\\\",background:\\\"背景\\\",tag:\\\"標簽\\\",icon:\\\"圖標\\\",tagsSeparate:\\\"多個標簽半角逗號分隔\\\",iconsSeparate:\\\"多個圖標半角逗號分隔\\\",url:\\\"URL\\\"},en:{addChild:\\\"Add child\\\",addParent:\\\"Add parent\\\",addSibling:\\\"Add sibling\\\",removeNode:\\\"Remove node\\\",focus:\\\"Focus Mode\\\",cancelFocus:\\\"Cancel Focus Mode\\\",moveUp:\\\"Move up\\\",moveDown:\\\"Move down\\\",link:\\\"Link\\\",clickTips:\\\"Please click the target node\\\",font:\\\"Font\\\",background:\\\"Background\\\",tag:\\\"Tag\\\",icon:\\\"Icon\\\",tagsSeparate:\\\"Separate tags by comma\\\",iconsSeparate:\\\"Separate icons by comma\\\",url:\\\"URL\\\"},ru:{addChild:\\\"Добавить дочерний элемент\\\",addParent:\\\"Добавить родительский элемент\\\",addSibling:\\\"Добавить на этом уровне\\\",removeNode:\\\"Удалить узел\\\",focus:\\\"Режим фокусировки\\\",cancelFocus:\\\"Отменить режим фокусировки\\\",moveUp:\\\"Поднять выше\\\",moveDown:\\\"Опустить ниже\\\",link:\\\"Ссылка\\\",clickTips:\\\"Пожалуйста, нажмите на целевой узел\\\",font:\\\"Цвет шрифта\\\",background:\\\"Цвет фона\\\",tag:\\\"Тег\\\",icon:\\\"Иконка\\\",tagsSeparate:\\\"Разделяйте теги запятой\\\",iconsSeparate:\\\"Разделяйте иконки запятой\\\"},ja:{addChild:\\\"子ノードを追加する\\\",addParent:\\\"親ノードを追加します\\\",addSibling:\\\"兄弟ノードを追加する\\\",removeNode:\\\"ノードを削除\\\",focus:\\\"集中\\\",cancelFocus:\\\"集中解除\\\",moveUp:\\\"上へ移動\\\",moveDown:\\\"下へ移動\\\",link:\\\"コネクト\\\",clickTips:\\\"ターゲットノードをクリックしてください\\\",font:\\\"フォント\\\",background:\\\"バックグラウンド\\\",tag:\\\"タグ\\\",icon:\\\"アイコン\\\",tagsSeparate:\\\"複数タグはカンマ区切り\\\",iconsSeparate:\\\"複数アイコンはカンマ区切り\\\",url:\\\"URL\\\"},pt:{addChild:\\\"Adicionar item filho\\\",addParent:\\\"Adicionar item pai\\\",addSibling:\\\"Adicionar item irmao\\\",removeNode:\\\"Remover item\\\",focus:\\\"Modo Foco\\\",cancelFocus:\\\"Cancelar Modo Foco\\\",moveUp:\\\"Mover para cima\\\",moveDown:\\\"Mover para baixo\\\",link:\\\"Link\\\",clickTips:\\\"Favor clicar no item alvo\\\",font:\\\"Fonte\\\",background:\\\"Cor de fundo\\\",tag:\\\"Tag\\\",icon:\\\"Icone\\\",tagsSeparate:\\\"Separe tags por virgula\\\",iconsSeparate:\\\"Separe icones por virgula\\\",url:\\\"URL\\\"}},i18n_default=languageMap,createDiv=(init_esbuild_inject(),addIcon(),(e,t)=>{var n=document.createElement(\\\"div\\\");return n.id=e,n.innerHTML=t,n}),colorList=[\\\"#2c3e50\\\",\\\"#34495e\\\",\\\"#7f8c8d\\\",\\\"#94a5a6\\\",\\\"#bdc3c7\\\",\\\"#ecf0f1\\\",\\\"#8e44ad\\\",\\\"#9b59b6\\\",\\\"#2980b9\\\",\\\"#3298db\\\",\\\"#c0392c\\\",\\\"#e74c3c\\\",\\\"#d35400\\\",\\\"#f39c11\\\",\\\"#f1c40e\\\",\\\"#17a085\\\",\\\"#27ae61\\\",\\\"#2ecc71\\\"],node_menu_default=o=>{const a=(e,t)=>o.container.querySelectorAll(e).forEach(e=>{e.classList.remove(t)});var e=i18n_default[o.locale]?o.locale:\\\"en\\\",t=createDiv(\\\"nm-style\\\",`\\n
\\n
px
\\n ${[\\\"14\\\",\\\"24\\\"].map(e=>`
\\n \\n \\n
`).join(\\\"\\\")}
\\n\\n
\\n
\\n
\\n ${colorList.map(e=>`
`).join(\\\"\\\")}\\n
\\n
\\n ${i18n_default[e].font}\\n ${i18n_default[e].background}\\n
`),n=createDiv(\\\"nm-tag\\\",`${i18n_default[e].tag}`),i=createDiv(\\\"nm-icon\\\",`${i18n_default[e].icon}`),r=createDiv(\\\"nm-url\\\",i18n_default[e].url+''),e=createDiv(\\\"nm-memo\\\",`${i18n_default[e].memo||\\\"Memo\\\"}