@codernote/record-tree 2.8.7 → 2.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +391 -388
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,45 +1,45 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.color-panel[data-v-d2cde42f]{background:#fff;border:1px solid #f2f2f2;width:164px;padding:5px 5px 0}.color-panel ul[data-v-d2cde42f]{list-style-type:none;margin:0}.color-panel ul li[data-v-d2cde42f]{display:inline-block;margin:0 5px;width:20px;height:20px;border-radius:100%;border:1px solid #f2f2f2;display:inline-flex;align-items:center;justify-content:center}.node-complex[data-v-6cfd6a1b]{display:flex;flex-direction:row;align-self:center;outline:none}.holder[data-v-6cfd6a1b]{width:0px;overflow:hidden;border-width:1px;border-style:solid;border-color:transparent;outline:none}.node-element[data-v-6cfd6a1b]{display:inline-block;position:relative;margin:5px 1px}.node-element:hover .node-del[data-v-6cfd6a1b]{display:block}.node-image img[data-v-6cfd6a1b]{outline:none}.node-audio[data-v-6cfd6a1b]{width:300px}.node-audio audio[data-v-6cfd6a1b]{width:300px;outline:none}.node-video video[data-v-6cfd6a1b]{outline:none;-o-object-fit:cover;object-fit:cover;background-color:#000}.node-del[data-v-6cfd6a1b]{cursor:pointer;display:none;width:15px;height:15px;position:absolute;top:-3px;right:-3px;background-color:#e6f7ff;background-size:100% 100%;border-radius:50%}.node-del[data-v-6cfd6a1b]:before,.node-del[data-v-6cfd6a1b]:after{content:"";position:absolute;top:50%;left:50%;width:2px;height:10px;background-color:#595959}.node-del[data-v-6cfd6a1b]:before{transform:translate(-50%,-50%) rotate(45deg)}.node-del[data-v-6cfd6a1b]:after{transform:translate(-50%,-50%) rotate(-45deg)}.node-file-wrap[data-v-6cfd6a1b]{width:260px;padding:10px 16px;display:flex;background:#f2f2f2;border-radius:5px;justify-content:center;align-items:center}.node-file-left[data-v-6cfd6a1b]{flex:1}.node-file-left h6[data-v-6cfd6a1b]{font-size:14px;font-weight:700;margin:0 0 5px;padding:0;white-space:nowrap}.node-file-left p[data-v-6cfd6a1b]{margin:0;padding:0;font-size:12px;color:#999}.node-file-right a[data-v-6cfd6a1b]{color:#52a770;font-size:14px}@keyframes blinkBorder-6cfd6a1b{0%,to{border-color:transparent}50%{border-color:#333}}.node-complex .holder[data-v-6cfd6a1b]:focus{animation:blinkBorder-6cfd6a1b 1s infinite}.fullscreen-handle[data-v-6cfd6a1b]{width:15px;height:15px;position:absolute;bottom:0;right:16px;cursor:pointer;background:#fff9}.resize-handle[data-v-6cfd6a1b]{width:15px;height:15px;position:absolute;bottom:0;right:0;cursor:se-resize;transform:rotate(90deg);background:#fff9}.resize-handle svg[data-v-6cfd6a1b]{cursor:se-resize}.media-placeholder[data-v-6cfd6a1b]{-o-object-fit:contain;object-fit:contain;border:1px dashed #d0d0d0;border-radius:4px;background:#fafafa;display:flex;align-items:center;justify-content:center;width:50px;height:50px}.media-placeholder img[data-v-6cfd6a1b]{width:20px;height:20px;animation:bounce-6cfd6a1b 1s ease-in-out infinite}.media-fail[data-v-6cfd6a1b]{-o-object-fit:contain;object-fit:contain;border-radius:4px;display:flex;align-items:center;justify-content:center}.media-fail img[data-v-6cfd6a1b]{width:40px;height:40px}@keyframes bounce-6cfd6a1b{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.ProseMirror{outline:none}.node-div[data-v-40ce1bbb]{display:flex;align-items:center;position:relative;margin-bottom:8px}.node-div>div[data-v-40ce1bbb]{flex:1}.node-icon[data-v-40ce1bbb]{touch-action:manipulation;position:relative;width:21px;height:21px;border-radius:100%;box-sizing:border-box;border:5px solid #fff;background-color:#fff;cursor:pointer;align-self:flex-start}.node-icon-with-children[data-v-40ce1bbb]:before{content:"";position:absolute;top:-20px;right:-30px;bottom:-10px;left:-20px;z-index:5}.node-icon-todo[data-v-40ce1bbb]{border-radius:0}.node-icon .node-circle[data-v-40ce1bbb]{display:block;position:absolute;width:7px;height:7px;left:50%;top:50%;transform:translate(-50%) translateY(-50%);border-radius:10px;background-color:#eee}.node-finished[data-v-40ce1bbb]{text-decoration:line-through;color:#999}.node-ul[data-v-dc61c4c0]{display:grid;grid-template-rows:1fr;transition:.25s grid-template-rows ease}.node-ul ul[data-v-dc61c4c0]{background-color:#fff;margin:0;padding:0;list-style:none;overflow:hidden}.node-li[data-v-dc61c4c0]{padding:0;list-style:none;margin:0;line-height:1.5;position:relative;overflow:hidden}[data-v-dc61c4c0] .sublevel .node-li{margin-left:15px}[data-v-dc61c4c0] .drag-over-top:before{content:"";width:100%;height:1px;top:0;background-color:#eee;position:absolute;z-index:100}[data-v-dc61c4c0] .drag-over-center{background-color:#eee}[data-v-dc61c4c0] .drag-over-bottom:after{content:"";width:100%;height:1px;background-color:#eee;position:absolute;bottom:0;z-index:100}[data-v-dc61c4c0] .has-child:not(.collapsed) .drag-over-bottom:after{left:15px}.collapsed>.node-ul[data-v-dc61c4c0]{grid-template-rows:0fr}[data-v-dc61c4c0] .collapsed .node-icon .node-line{display:none}[data-v-dc61c4c0] .collapsed.has-child>.node-div>.node-icon{background-color:#ddd}.tree-title[data-v-dc61c4c0]{padding-left:25px;font-weight:700;outline:none;font-size:1.125rem;line-height:1.5;width:100%}[data-v-dc61c4c0] .node-li.has-child.collapsed .node-icon:after{background-color:#aaa}[data-v-dc61c4c0] .node-li.dragging .node-icon .node-line{display:none}[data-v-dc61c4c0] .has-child>.node-div>.node-icon .node-line{content:"";position:absolute;top:20px;left:50%;height:9999px;width:1px;background-color:#f2f2f2}[data-v-dc61c4c0] .has-child>.node-div>.node-icon:hover .node-line{background-color:var(--line-color)}.dragging-image{max-width:300px;opacity:.5}.record-tree-popper-content{display:flex;flex-wrap:wrap;padding:10px;box-shadow:0 2px 12px #1d1c1c1f;border:1px solid rgba(29,28,28,.12);border-radius:5px;overflow:hidden;background:#fff;z-index:9999}.record-tree-popper-content-item{padding:8px 10px;display:flex;align-items:center;justify-content:center;cursor:pointer}.record-tree-popper-content-item.active{background:#f2f2f2}.record-tree-title-bar{position:relative;display:flex;padding:3px 0 5px}.record-tree-title{padding-left:25px;font-weight:700;outline:none;font-size:18px;line-height:1.5;width:100%}.record-tree-popper-reference{display:flex;position:absolute;top:0;left:0;text-align:center;border-radius:9999px;color:#fff}.record-tree-empty-icon{display:inline-block;border-radius:9999px}.record-tree-title .node-text{margin-left:0!important}.record-tree-title-bar .popper{transform:translate3d(0,22px,0)!important}.record-tree-title-finished{text-decoration:line-through;color:#999}.record-audio[data-v-e59bd63b]{position:absolute;background:#fff;padding:20px;width:400px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:10px;z-index:999;box-shadow:0 4px 6px #0000001a,0 1px 3px #00000014}.record-audio .recwave[data-v-e59bd63b]{width:300px;height:40px}.record-audio .audio-item[data-v-e59bd63b]{margin-top:10px;display:flex;align-items:center}.record-audio .audio-item a[data-v-e59bd63b]{color:#52a770;margin-left:10px;font-size:12px;cursor:pointer}.record-audio .audio-text[data-v-e59bd63b]{background:#f5f5f5;margin-top:10px;padding:8px 12px;border-radius:5px}.record-audio .buttons[data-v-e59bd63b]{margin-top:10px;display:flex;align-items:center}.record-audio .buttons .btn[data-v-e59bd63b]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.record-audio .buttons .finish[data-v-e59bd63b]{color:#fff;background:#1677ff;border:1px solid #1677ff}.record-audio .buttons .disabled[data-v-e59bd63b]{background:#eee;cursor:default;border-color:#eee}.record-audio .buttons .cancel[data-v-e59bd63b]{border:1px solid #eee}.record-audio .buttons .oper[data-v-e59bd63b]{margin-right:10px}.record-audio .main[data-v-e59bd63b]{display:flex;align-items:center}.record-audio .duration[data-v-e59bd63b]{width:60px;margin-left:10px;color:#999;font-size:12px}.wrap[data-v-e59bd63b]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-e59bd63b]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-audio-mobile[data-v-e59bd63b]{display:flex;width:100vw;position:absolute;background:#fff;padding:20px;left:50%;top:50%;transform:translate(-50%,-50%);z-index:999;align-items:center}.record-audio-mobile .recwave[data-v-e59bd63b]{flex:1;height:30px}.record-audio-mobile .oper[data-v-e59bd63b]{margin-right:10px}.record-video[data-v-9c809fcc]{position:absolute;background:#fff;padding:20px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:10px;z-index:999;box-shadow:0 4px 6px #0000001a,0 1px 3px #00000014}.video-item[data-v-9c809fcc]{width:300px}.buttons[data-v-9c809fcc]{margin-top:10px;display:flex;align-items:center}.buttons .btn[data-v-9c809fcc]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.buttons .finish[data-v-9c809fcc]{color:#fff;background:#1677ff;border:1px solid #1677ff}.buttons .disabled[data-v-9c809fcc]{background:#eee;cursor:default;border-color:#eee}.buttons .cancel[data-v-9c809fcc]{border:1px solid #eee}.buttons .oper[data-v-9c809fcc]{margin-right:10px}.wrap[data-v-9c809fcc]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-9c809fcc]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-video[data-v-69fc6ef1]{position:absolute;background:#fff;padding:20px;left:50%;top:50%;width:452px;transform:translate(-50%,-50%);border-radius:10px;z-index:999;box-shadow:0 4px 6px #0000001a,0 1px 3px #00000014}.video-item[data-v-69fc6ef1]{width:200px}.img-item[data-v-69fc6ef1]{width:200px;height:150px;border:1px dashed #eee;margin-left:10px}.img-item img[data-v-69fc6ef1]{width:200px}.record-content[data-v-69fc6ef1]{display:flex}.buttons[data-v-69fc6ef1]{margin-top:10px;display:flex;align-items:center}.buttons .btn[data-v-69fc6ef1]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.buttons .finish[data-v-69fc6ef1]{color:#fff;background:#1677ff;border:1px solid #1677ff}.buttons .disabled[data-v-69fc6ef1]{background:#eee;cursor:default;border-color:#eee}.buttons .cancel[data-v-69fc6ef1]{border:1px solid #eee}.buttons .oper[data-v-69fc6ef1]{margin-right:10px}.wrap[data-v-69fc6ef1]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-69fc6ef1]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-tree-mobile .record-tree{height:calc(100vh - 45px);overflow-y:scroll}.record-tree-mobile .record-tree-main{padding-left:0;padding-right:0}.record-tree-mobile .record-tree-options{padding:12px 0;display:flex;position:fixed}.record-tree-mobile .node-icon{margin-right:8px;border:3px solid #fff}.record-tree-mobile .node-icon .node-circle{width:10px;height:10px}.record-tree-mobile .node-file-wrap{width:200px}.record-tree-mobile .node-file-right{display:none}.record-tree-mobile .node-image img{width:auto;max-height:80px}.record-tree-mobile .node-audio,.record-tree-mobile .node-video{width:200px}.record-tree-mobile .node-audio audio{width:200px;outline:none}.record-tree-mobile .node-video video{width:200px;outline:none}.record-tree-container{position:relative;height:100%}.record-tree-main{padding-left:15px;padding-right:15px;overflow:scroll;flex:1}.record-tree{position:relative;padding-bottom:40px;display:flex;flex-direction:column;overflow:hidden;height:100%}.record-tree.record-tree-nobar{padding-bottom:0}.record-tree-options{position:absolute;bottom:0;left:0;width:100%;display:flex;justify-content:space-between;padding:5px 0;background:#fff;border-top:1px dotted #ddd;align-items:center}.record-tree-option-left{display:flex;flex:1}.record-tree-option-left-fixed{display:flex;position:relative;align-items:center;padding:0 10px}.record-tree-option-left-fixed:after{content:"";position:absolute;right:0;width:1px;background:#eee;height:20px;top:50%;transform:translateY(-50%)}.record-tree-option-left-scroll{display:flex;padding:0 10px;flex:1;align-items:center}.record-tree-option-left-scroll::-webkit-scrollbar{display:none}.record-tree-option-left-scroll-mobile{overflow-x:scroll}.record-tree-option-right{display:flex;align-items:center;justify-content:center;padding:0 10px;font-size:16px;position:relative}.record-tree-option-right:before{content:"";position:absolute;left:0;width:1px;background:#eee;height:20px;top:50%;transform:translateY(-50%)}.record-tree-option-item{margin:0 5px;cursor:pointer;display:flex;justify-content:center;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}img:fullscreen{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;-o-object-fit:contain;object-fit:contain}.record-tree .node-text{flex:1;border:none;outline:none;word-break:break-all;overflow:hidden;-webkit-user-select:text;-moz-user-select:text;user-select:text}.record-tree .node-text a{color:#0076ff;cursor:pointer}.record-tree .node-text mark{background-color:transparent;text-decoration:underline;text-decoration-color:#9acd32;text-decoration-thickness:2px;text-underline-offset:2px}.record-tree .node-text p{line-height:1.3}.date-popover{display:block;padding:5px 10px;background:#333;border-radius:4px;position:fixed;z-index:9999;transform:translate(-50%,-120%);font-size:12px;color:#666;text-align:center;transition:opacity .3s;color:#fff}.date-popover:after{content:"";position:absolute;top:95%;left:50%;transform:translate(-50%);border-width:6px;border-style:solid;border-color:#333 transparent transparent transparent}.date-popover.date-popover--bottom{transform:translate(-50%,20%)}.date-popover.date-popover--bottom:after{top:auto;bottom:95%;border-color:transparent transparent #333 transparent}.tiptap p.is-editor-empty:first-child:before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.top-bar{display:flex}.top-bar-left{flex:1}.top-bar-right{width:80px;display:flex;justify-content:center;align-items:center}.record-tree-lock{position:absolute;left:0;right:0;top:0;background:#fff;opacity:.5;pointer-events:none;height:100%}.record-tree-clipboard{position:fixed;left:0;top:0;right:0;display:flex;justify-content:space-between;background:#eee;padding:8px 20px;z-index:999}.record-tree-clipboard-text{flex:1;font-size:12px;color:#333;min-width:0}.record-tree-clipboard-text p{color:#999}.record-tree-clipboard-text div{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.record-tree-clipboard-operation{display:flex;align-items:center;justify-content:center}.record-tree-context-menu{position:fixed;z-index:10000;background:#fff;border-radius:6px;box-shadow:0 2px 12px #00000026;padding:4px 0;min-width:120px}.record-tree-context-menu .context-menu-item{display:flex;align-items:center;padding:8px 12px;cursor:pointer;font-size:14px;color:#333;transition:background-color .2s}.record-tree-context-menu .context-menu-item:hover{background-color:#f5f5f5}.record-tree-context-menu .context-menu-item svg{margin-right:8px}.record-tree-context-menu .context-menu-item span{white-space:nowrap}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import { openBlock as tt, createElementBlock as ut, createElementVNode as Ze, createVNode as bt, unref as We, Fragment as S0, renderList as T0, normalizeStyle as Pt, reactive as Ia, ref as ot, watch as Wt, withModifiers as Dt, normalizeClass as Ot, createCommentVNode as Tt, toDisplayString as Jt, nextTick as Ht, onMounted as G0, onBeforeUnmount as q0, createBlock as Ut, onUnmounted as _0, computed as e0, resolveComponent as Oa, createSlots as ca, withCtx as M0, pushScopeId as Fa, popScopeId as Na, Teleport as Ha } from "vue";
3
- import da from "vue3-popper";
2
+ import { openBlock as tt, createElementBlock as ct, createElementVNode as Ze, createVNode as bt, unref as We, Fragment as S0, renderList as T0, normalizeStyle as Pt, reactive as Oa, ref as lt, watch as Wt, withModifiers as Dt, normalizeClass as Ot, createCommentVNode as Tt, toDisplayString as Jt, nextTick as Ht, onMounted as G0, onBeforeUnmount as q0, createBlock as Ut, onUnmounted as _0, computed as e0, resolveComponent as Fa, createSlots as da, withCtx as M0, pushScopeId as Na, popScopeId as Ha, Teleport as Ya } from "vue";
3
+ import fa from "vue3-popper";
4
4
  import At from "vue-inline-svg";
5
- import { detectDeviceType as W0, truncateString as Ya, formatBytes as Va, getTag as fa, isTodoTag as va, getExt as R0, getTagStyle as ha, uuid as zt, getTagStyleById as Pa, parseMimeType as ma, getSize as _a, oss as pa } from "@codernote/utils";
6
- import Ua from "mitt";
7
- import { useEditor as za, EditorContent as Ga } from "@tiptap/vue-3";
8
- import qa from "@tiptap/extension-link";
9
- import Wa from "@tiptap/extension-highlight";
10
- import ja from "@tiptap/extension-placeholder";
11
- import { Mark as ba, mergeAttributes as $a, getMarkAttributes as Xa, Extension as Ka } from "@tiptap/core";
12
- import Za from "@tiptap/starter-kit";
13
- import ct from "dayjs";
14
- const Qa = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709866109224'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4677'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M742.832175%20461.155909h125.076465a50.844091%2050.844091%200%200%201%200%20101.688182h-137.787488l27.455809%2027.45581A50.844091%2050.844091%200%201%201%20685.378352%20660.973188l-107.789474-106.772592a50.844091%2050.844091%200%200%201%200-71.690169l107.789474-107.789474a50.844091%2050.844091%200%201%201%2072.198609%2071.690169z%20m-586.740815-305.064549h711.81728a50.844091%2050.844091%200%200%201%200%20101.688183h-711.81728a50.844091%2050.844091%200%200%201%200-101.688183z%20m0%20305.064549h305.064549a50.844091%2050.844091%200%201%201%200%20101.688182h-305.064549a50.844091%2050.844091%200%200%201%200-101.688182z%20m0%20305.064548h711.81728a50.844091%2050.844091%200%200%201%200%20101.688183h-711.81728a50.844091%2050.844091%200%200%201%200-101.688183z'%20fill='%232c2c2c'%20p-id='4678'%3e%3c/path%3e%3c/svg%3e", Ja = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709866100174'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4504'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M281.676266%20461.155909l-14.744786-14.744787a50.844091%2050.844091%200%200%201%2071.690168-72.19861l107.789474%20107.789474a50.844091%2050.844091%200%200%201%200%2071.690169L338.621648%20660.973188a50.844091%2050.844091%200%201%201-71.690168-71.690169l27.455809-27.455809H156.09136a50.844091%2050.844091%200%200%201%200-101.688183z%20m586.740814-305.064549a50.844091%2050.844091%200%200%201%200%20101.688183h-711.817279a50.844091%2050.844091%200%200%201%200-101.688183z%20m0%20610.129097a50.844091%2050.844091%200%200%201%200%20101.688183h-711.817279a50.844091%2050.844091%200%200%201%200-101.688183z%20m0-305.064548a50.844091%2050.844091%200%200%201%200%20101.688182h-305.064548a50.844091%2050.844091%200%200%201%200-101.688182z'%20fill='%232c2c2c'%20p-id='4505'%3e%3c/path%3e%3c/svg%3e", er = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709779202767'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4512'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M470.016%20976.896q-44.032%200-59.392-20.48t-15.36-65.536q0-20.48-0.512-64.512t-1.024-93.696-1.536-96.768-1.024-74.752q0-39.936-7.68-62.464t-35.328-21.504q-20.48%200-48.64-1.024t-49.664%200q-35.84%200-45.568-19.456t13.824-50.176q24.576-30.72%2057.344-72.704t67.584-86.016%2068.096-87.04%2058.88-75.776q23.552-29.696%2045.568-30.72t46.592%2026.624q24.576%2029.696%2056.832%2069.632t67.072%2082.432%2068.608%2083.968%2060.416%2073.216q29.696%2035.84%2023.04%2058.88t-43.52%2023.04q-11.264%200-25.088%200.512t-29.184%201.024-30.208%201.024-27.136%200.512q-25.6%201.024-32.256%2016.384t-5.632%2041.984q0%2029.696%200.512%2077.824t1.024%20100.352%201.536%20101.376%201.024%2079.872q0%2013.312-2.048%2027.648t-9.728%2026.112-21.504%2019.968-36.352%208.192q-27.648%200-52.736%200.512t-56.832%201.536z'%20p-id='4513'%3e%3c/path%3e%3c/svg%3e", tr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709779221999'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4657'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M564.224%2044.032q43.008%200%2058.368%2020.48t15.36%2065.536q0%2020.48%200.512%2064.512t0.512%2093.696%200.512%2096.768%200.512%2074.752q0%2038.912%207.68%2061.952t35.328%2022.016q19.456%200%2048.128%201.024t49.152%201.024q35.84%200%2045.568%2018.944t-13.824%2049.664q-24.576%2030.72-57.344%2072.704t-68.096%2086.016-69.12%2086.528-59.392%2075.264q-23.552%2029.696-45.568%2030.72t-45.568-27.648q-24.576-29.696-57.344-69.632t-67.072-82.432-67.584-83.968-59.904-74.24q-29.696-35.84-22.528-58.88t44.032-23.04l24.576%200q14.336%200%2029.696-0.512t30.208-1.536%2026.112-1.024q26.624%200%2032.768-15.36t6.144-41.984q0-29.696-0.512-77.824t-0.512-100.352-0.512-101.376-0.512-79.872q0-13.312%202.048-27.648t9.728-26.112%2020.992-19.456%2036.864-7.68q27.648%200%2053.248-0.512t57.344-0.512z'%20p-id='4658'%3e%3c/path%3e%3c/svg%3e", ar = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780159129'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8535'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M901.12%2068.224a202.88%20202.88%200%200%200-286.976%200l-0.64%200.832%200.512%200.512c-0.768%200.704-1.728%200.896-2.368%201.6L144.896%20537.792l-0.128%200.128-0.128%200.256-11.712%2011.712a47.296%2047.296%200%200%200-9.856%2014.656c-85.76%20109.76-79.36%20268.288%2021.76%20369.344%20100.864%20100.992%20259.008%20107.52%20368.832%2022.272a51.072%2051.072%200%200%200%2015.232-10.24l324.608-324.672a48.512%2048.512%200%200%200%201.024-68.8%2048.704%2048.704%200%200%200-68.864%200.896L475.776%20863.36l-0.256-0.256c-0.896%200.96-1.472%202.112-2.496%203.008a184%20184%200%200%201-260.352-259.968l0.256-0.384c0.896-0.96%201.92-1.536%202.944-2.432l-0.256-0.192%20464-464c0.64-0.704%200.896-1.664%201.536-2.432l0.256%200.256c0.256-0.256%200.384-0.576%200.64-0.768a106.88%20106.88%200%201%201%20151.232%20151.296l-0.768%200.64%200.512%200.512c-0.768%200.64-1.728%200.896-2.368%201.6l-478.592%20478.656c-11.392%2011.456-29.888%2010.112-41.152-1.344a28.224%2028.224%200%200%201-0.64-40.384l415.232-415.104a48.64%2048.64%200%200%200%200.896-68.8%2048.576%2048.576%200%200%200-68.736%200.896l-415.168%20415.296c-0.384%200.32-0.512%200.768-0.768%201.088-47.36%2048.96-46.976%20126.72%201.344%20174.976%2045.888%2046.08%20118.4%2048.128%20167.488%207.616%203.136-1.92%206.656-3.584%209.344-6.464l478.592-478.656c0.768-0.704%200.896-1.664%201.536-2.432l0.256%200.256%200.832-0.64a202.944%20202.944%200%200%200%200-286.976z'%20fill='%23030000'%20p-id='8536'%3e%3c/path%3e%3c/svg%3e", rr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780533791'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='25342'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M355.555556%20967.111111a28.444444%2028.444444%200%201%201%200-56.888889h312.888888a28.444444%2028.444444%200%201%201%200%2056.888889H355.555556z%20m128-56.888889v-100.878222a296.433778%20296.433778%200%200%201-182.727112-86.158222A296.718222%20296.718222%200%200%201%20213.333333%20512v-99.555556a28.444444%2028.444444%200%200%201%2056.888889%200v99.555556c0.142222%20133.475556%20108.316444%20241.635556%20241.777778%20241.777778%20133.475556-0.142222%20241.635556-108.302222%20241.777778-241.777778v-99.555556a28.444444%2028.444444%200%201%201%2056.888889%200v99.555556a296.718222%20296.718222%200%200%201-87.466667%20211.2A296.433778%20296.433778%200%200%201%20540.444444%20809.358222V910.222222h-56.888888z%20m-113.777778-391.111111v-312.888889C369.777778%20123.747556%20436.636444%2056.888889%20519.111111%2056.888889%20601.6%2056.888889%20668.444444%20123.747556%20668.444444%20206.222222v312.888889C668.444444%20601.585778%20601.6%20668.444444%20519.111111%20668.444444%20436.636444%20668.444444%20369.777778%20601.585778%20369.777778%20519.111111z'%20fill='%23323233'%20p-id='25343'%3e%3c/path%3e%3c/svg%3e", nr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780437481'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='16390'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M746.656%20310.528l110.688-49.184a42.656%2042.656%200%200%201%2060%2038.976v423.36a42.656%2042.656%200%200%201-60%2038.976l-110.688-49.184V768a85.344%2085.344%200%200%201-85.312%2085.344H192A85.344%2085.344%200%200%201%20106.656%20768V256A85.344%2085.344%200%200%201%20192%20170.656h469.344A85.344%2085.344%200%200%201%20746.656%20256v54.528zM320%20381.184v261.632a21.344%2021.344%200%200%200%2033.152%2017.728l196.224-130.784a21.344%2021.344%200%200%200%200-35.52l-196.224-130.784a21.344%2021.344%200%200%200-33.152%2017.728z'%20fill='%23000000'%20p-id='16391'%3e%3c/path%3e%3c/svg%3e", ir = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780461968'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='20299'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M813.812907%20828.826855l-31.770588%200%200%200L241.960751%20828.826855l-0.004093%200-31.766494%200c-35.092239%200-63.541175-28.369118-63.541175-63.365166L146.648988%20337.743234c0-34.996049%2028.448936-63.365166%2063.541175-63.365166l31.766494%200%200.004093%200%200%200%20103.249549%200%2039.709397-63.365166c0-8.749268%2022.99983-15.84078%2031.774681-15.84078l190.614315%200c8.769734%200%2031.770588%207.091512%2031.770588%2015.84078l39.712467%2063.365166%20103.250572%200%2031.770588%200c35.092239%200%2063.537082%2028.369118%2063.537082%2063.365166l0%20427.718455C877.349989%20800.457738%20848.905146%20828.826855%20813.812907%20828.826855L813.812907%20828.826855zM512.001023%20337.743234c-114.046453%200-206.504214%2092.201935-206.504214%20205.940372%200%20113.739461%2092.457762%20205.936279%20206.504214%20205.936279%20114.043383%200%20206.496028-92.196819%20206.500121-205.928093l0-0.016373C718.497051%20429.941076%20626.044406%20337.743234%20512.001023%20337.743234L512.001023%20337.743234zM512.001023%20686.254719c-78.958306%200-142.963039-63.828724-142.963039-142.571113%200-78.738295%2064.004733-142.571113%20142.963039-142.571113%2078.955236%200%20142.963039%2063.832817%20142.963039%20142.571113C654.964062%20622.425995%20590.95626%20686.254719%20512.001023%20686.254719L512.001023%20686.254719zM512.001023%20686.254719'%20fill='%23272636'%20p-id='20300'%3e%3c/path%3e%3c/svg%3e", sr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709785409899'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='37829'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%200C230.4%200%200%20230.4%200%20512s230.4%20512%20512%20512%20512-230.4%20512-512-230.4-512-512-512z%20m0%20960c-249.6%200-448-198.4-448-448s198.4-448%20448-448%20448%20198.4%20448%20448-198.4%20448-448%20448z'%20fill='%23333333'%20p-id='37830'%3e%3c/path%3e%3cpath%20d='M352%20352h320v320h-320z'%20fill='%23333333'%20p-id='37831'%3e%3c/path%3e%3c/svg%3e", or = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709785373002'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='30220'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M392.256%20515.008a119.744%20119.744%200%201%200%20239.488%200%20119.744%20119.744%200%201%200-239.488%200z'%20fill='%23333333'%20p-id='30221'%3e%3c/path%3e%3cpath%20d='M512%2068.032A447.488%20447.488%200%200%200%2065.024%20515.008%20447.424%20447.424%200%200%200%20512%20961.984a447.424%20447.424%200%200%200%20446.976-446.976A447.424%20447.424%200%200%200%20512%2068.032z%20m0%20829.952c-211.2%200-382.976-171.84-382.976-382.976S300.8%20132.032%20512%20132.032s382.976%20171.84%20382.976%20382.976S723.2%20897.984%20512%20897.984z'%20fill='%23333333'%20p-id='30222'%3e%3c/path%3e%3c/svg%3e", lr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1712145583790'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5884'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M734.165333%20350.165333l-384%20384L469.333333%20853.333333H170.666667v-298.666666l119.168%20119.168%20384-384L554.666667%20170.666667h298.666666v298.666666l-119.168-119.168zM256%20256v192H170.666667V170.666667h256v85.333333H256z%20m512%20512v-170.666667h85.333333v256h-256v-85.333333h170.666667z'%20fill='%234B4F54'%20p-id='5885'%3e%3c/path%3e%3c/svg%3e", ur = "data:image/svg+xml,%3csvg%20t='1714370428406'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4557'%20width='200'%20height='200'%3e%3cpath%20d='M213.333333%20213.333333h213.333334V128H170.666667a42.666667%2042.666667%200%200%200-42.666667%2042.666667v256h85.333333V213.333333zM170.666667%20896h256v-85.333333H213.333333v-213.333334H128v256a42.666667%2042.666667%200%200%200%2042.666667%2042.666667z%20m725.333333-42.666667v-256h-85.333333v213.333334h-213.333334v85.333333h256a42.666667%2042.666667%200%200%200%2042.666667-42.666667zM597.333333%20213.333333h213.333334v213.333334h85.333333V170.666667a42.666667%2042.666667%200%200%200-42.666667-42.666667h-256v85.333333z'%20fill='%23515151'%20p-id='4558'%3e%3c/path%3e%3c/svg%3e", cr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1718256873576'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8028'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M707.872%20484.64C745.376%20440.096%20768%20382.656%20768%20320c0-141.152-114.848-256-256-256l-128%200-128%200L192%2064l0%20896%2064%200%20128%200%20192%200c141.152%200%20256-114.848%20256-256C832%20611.04%20782.208%20529.504%20707.872%20484.64zM384%20192l101.504%200c55.968%200%20101.504%2057.408%20101.504%20128s-45.536%20128-101.504%20128L384%20448%20384%20192zM543.008%20832%20384%20832%20384%20576l159.008%200c58.464%200%20106.016%2057.408%20106.016%20128S601.44%20832%20543.008%20832z'%20fill='%23000000'%20p-id='8029'%3e%3c/path%3e%3c/svg%3e", dr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1718256954702'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9002'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M904%20816H120c-4.4%200-8%203.6-8%208v80c0%204.4%203.6%208%208%208h784c4.4%200%208-3.6%208-8v-80c0-4.4-3.6-8-8-8z%20m-650.3-80h85c4.2%200%208-2.7%209.3-6.8l53.7-166h219.2l53.2%20166c1.3%204%205%206.8%209.3%206.8h89.1c1.1%200%202.2-0.2%203.2-0.5%205.1-1.8%207.8-7.3%206-12.4L573.6%20118.6c-1.4-3.9-5.1-6.6-9.2-6.6H462.1c-4.2%200-7.9%202.6-9.2%206.6L244.5%20723.1c-0.4%201-0.5%202.1-0.5%203.2-0.1%205.3%204.3%209.7%209.7%209.7z%20m255.9-516.1h4.1l83.8%20263.8H424.9l84.7-263.8z'%20fill='%23333333'%20p-id='9003'%3e%3c/path%3e%3c/svg%3e", fr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1718341836843'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5749'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M79.25419%201010.518503l930.261375-930.261375a46.513269%2046.513269%200%201%200-65.772693-65.772693L13.481497%20944.74581c-17.739973%2018.233418-17.539385%2047.335679%200.448313%2065.32438%2017.988701%2017.987698%2047.090962%2018.188286%2065.32438%200.448313z'%20fill='%23E02020'%20p-id='5750'%3e%3c/path%3e%3c/svg%3e", vr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1721969717382'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4251'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M298.666667%20426.666667V341.333333a213.333333%20213.333333%200%201%201%20426.666666%200v85.333334h42.666667a85.333333%2085.333333%200%200%201%2085.333333%2085.333333v256a85.333333%2085.333333%200%200%201-85.333333%2085.333333H256a85.333333%2085.333333%200%200%201-85.333333-85.333333v-256a85.333333%2085.333333%200%200%201%2085.333333-85.333333h42.666667z%20m213.333333-213.333334a128%20128%200%200%200-128%20128v85.333334h256V341.333333a128%20128%200%200%200-128-128z'%20fill='green'%20p-id='4252'%3e%3c/path%3e%3c/svg%3e", hr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1721969878651'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7064'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M666.752%20194.517333L617.386667%20268.629333A128%20128%200%200%200%20384%20341.333333l0.042667%2085.333334h384a85.333333%2085.333333%200%200%201%2085.333333%2085.333333v256a85.333333%2085.333333%200%200%201-85.333333%2085.333333H256a85.333333%2085.333333%200%200%201-85.333333-85.333333v-256a85.333333%2085.333333%200%200%201%2085.333333-85.333333h42.666667V341.333333a213.333333%20213.333333%200%200%201%20368.085333-146.816z'%20fill='%23000000'%20p-id='7065'%3e%3c/path%3e%3c/svg%3e", mr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1724214601601'%20class='icon'%20viewBox='0%200%201035%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7572'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='202.1484375'%20height='200'%3e%3cpath%20d='M388.361%20382.546h194.18v64.727h-194.18v-64.727zM0%20576.726h258.907v64.728H0v-64.727z%20m1035.63-129.453H776.723v-64.727h258.907v64.727zM388.361%20900.361H323.635V382.546h64.727v517.815z%20m614.906%200H388.361v-64.726h582.542V447.273h64.727v453.088h-32.363zM32.363%20123.64h614.906v64.726H64.727v388.362H0V123.639h32.363z%20m647.27%20517.815H453.087v-64.727h194.18V123.639h64.728v517.815h-32.364z'%20fill='%23333333'%20p-id='7573'%3e%3c/path%3e%3c/svg%3e", _r = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1725435945575'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1036'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M896.074%20935.824c-10.233%200-20.465-3.901-28.275-11.707L99.65%20156.469c-15.626-15.616-15.634-40.942-0.019-56.568%2015.616-15.626%2040.942-15.634%2056.568-0.019L924.35%20867.531c15.626%2015.615%2015.634%2040.942%200.018%2056.568-7.811%207.816-18.054%2011.725-28.294%2011.725z'%20p-id='1037'%20fill='%23d81e06'%3e%3c/path%3e%3cpath%20d='M127.925%20935.824c-10.242%200-20.481-3.908-28.293-11.725-15.616-15.626-15.607-40.953%200.019-56.568L867.799%2099.882c15.627-15.616%2040.953-15.607%2056.568%200.019%2015.616%2015.626%2015.608%2040.953-0.018%2056.568L156.2%20924.117c-7.809%207.805-18.043%2011.707-28.275%2011.707z'%20p-id='1038'%20fill='%23d81e06'%3e%3c/path%3e%3c/svg%3e", pr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1725435953539'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1249'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M394.792%20797.429c-9.71%200-19.443-3.513-27.137-10.622L87.488%20527.917c-16.225-14.993-17.224-40.3-2.231-56.525%2014.993-16.226%2040.3-17.225%2056.524-2.231l280.167%20258.89c16.225%2014.993%2017.224%2040.3%202.231%2056.524-7.883%208.532-18.62%2012.854-29.387%2012.854z'%20p-id='1250'%20fill='%237cba59'%3e%3c/path%3e%3cpath%20d='M394.808%20797.429c-10.555%200-21.088-4.15-28.949-12.391-15.249-15.984-14.652-41.304%201.333-56.553l514.564-490.858c15.983-15.249%2041.303-14.652%2056.553%201.333%2015.248%2015.985%2014.651%2041.305-1.334%2056.553l-514.563%20490.86c-7.745%207.387-17.684%2011.056-27.604%2011.056z'%20p-id='1251'%20fill='%237cba59'%3e%3c/path%3e%3c/svg%3e", br = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1760004998012'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4876'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M672%20640c-8%200-16-3.2-22.4-9.6L512%20492.8l-137.6%20137.6c-12.8%2012.8-32%2012.8-44.8%200-12.8-12.8-12.8-32%200-44.8l160-160c12.8-12.8%2032-12.8%2044.8%200l160%20160c12.8%2012.8%2012.8%2032%200%2044.8-6.4%206.4-14.4%209.6-22.4%209.6z'%20fill='%23FEC10D'%20p-id='4877'%3e%3c/path%3e%3cpath%20d='M512%20960c-17.6%200-32-14.4-32-32V464c0-17.6%2014.4-32%2032-32s32%2014.4%2032%2032v464c0%2017.6-14.4%2032-32%2032z'%20fill='%23FEC10D'%20p-id='4878'%3e%3c/path%3e%3cpath%20d='M768%20768h-64c-17.6%200-32-14.4-32-32s14.4-32%2032-32h64c88%200%20160-72%20160-160%200-76.8-57.6-145.6-134.4-158.4-14.4-1.6-25.6-14.4-27.2-28.8C753.6%20227.2%20643.2%20128%20512%20128s-241.6%2099.2-254.4%20230.4c-1.6%2014.4-12.8%2025.6-27.2%2028.8-76.8%2011.2-134.4%2080-134.4%20156.8%200%2088%2072%20160%20160%20160h64c17.6%200%2032%2014.4%2032%2032s-14.4%2032-32%2032h-64C132.8%20768%2032%20667.2%2032%20544c0-100.8%2068.8-188.8%20164.8-216C224%20176%20355.2%2064%20512%2064c156.8%200%20288%20112%20315.2%20264C923.2%20355.2%20992%20443.2%20992%20544c0%20123.2-100.8%20224-224%20224z'%20fill='%23FEC10D'%20p-id='4879'%3e%3c/path%3e%3c/svg%3e", wr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1761639699991'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4671'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M490.666667%20712.533333c0-119.466667%2081.066667-217.6%20196.266666-247.466666l-64-64c-17.066667-17.066667-42.666667-17.066667-59.733333%200l-396.8%20396.8v-597.333334h682.666667v277.333334c34.133333%2017.066667%2064%2038.4%2085.333333%2064v-384c0-21.333333-17.066667-42.666667-42.666667-42.666667h-768c-21.333333%200-42.666667%2017.066667-42.666666%2042.666667v682.666666c0%2021.333333%2017.066667%2042.666667%2042.666666%2042.666667h435.2c-42.666667-42.666667-68.266667-102.4-68.266666-170.666667z'%20p-id='4672'%3e%3c/path%3e%3cpath%20d='M337.066667%20375.466667m-85.333334%200a85.333333%2085.333333%200%201%200%20170.666667%200%2085.333333%2085.333333%200%201%200-170.666667%200Z'%20p-id='4673'%3e%3c/path%3e%3cpath%20d='M746.666667%20904.533333c-106.666667%200-196.266667-85.333333-196.266667-196.266666s85.333333-196.266667%20196.266667-196.266667%20196.266667%2085.333333%20196.266666%20196.266667-85.333333%20196.266667-196.266666%20196.266666z%20m-17.066667-132.266666v38.4h38.4v-38.4h-38.4z%20m0-157.866667v115.2h38.4v-115.2h-38.4z'%20p-id='4674'%3e%3c/path%3e%3c/svg%3e", xt = {
15
- left: Qa,
16
- right: Ja,
17
- up: er,
18
- down: tr,
19
- attach: ar,
20
- audio: rr,
21
- video: nr,
22
- photo: ir,
23
- stop: sr,
24
- record: or,
25
- resize: lr,
26
- fullscreen: ur,
27
- bold: cr,
28
- color: dr,
29
- clear: fr,
30
- lock: vr,
31
- unlock: hr,
32
- relate: mr,
33
- close: _r,
34
- confirm: pr,
35
- uploading: br,
36
- fail: wr
5
+ import { detectDeviceType as W0, truncateString as Va, formatBytes as Pa, getTag as va, isTodoTag as ha, getExt as R0, getTagStyle as ma, uuid as zt, getTagStyleById as Ua, parseMimeType as _a, getSize as pa, oss as ba } from "@codernote/utils";
6
+ import za from "mitt";
7
+ import { useEditor as Ga, EditorContent as qa } from "@tiptap/vue-3";
8
+ import Wa from "@tiptap/extension-link";
9
+ import ja from "@tiptap/extension-highlight";
10
+ import $a from "@tiptap/extension-placeholder";
11
+ import { Mark as wa, mergeAttributes as Xa, getMarkAttributes as Ka, Extension as Za } from "@tiptap/core";
12
+ import Qa from "@tiptap/starter-kit";
13
+ import na from "dayjs";
14
+ const Ja = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709866109224'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4677'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M742.832175%20461.155909h125.076465a50.844091%2050.844091%200%200%201%200%20101.688182h-137.787488l27.455809%2027.45581A50.844091%2050.844091%200%201%201%20685.378352%20660.973188l-107.789474-106.772592a50.844091%2050.844091%200%200%201%200-71.690169l107.789474-107.789474a50.844091%2050.844091%200%201%201%2072.198609%2071.690169z%20m-586.740815-305.064549h711.81728a50.844091%2050.844091%200%200%201%200%20101.688183h-711.81728a50.844091%2050.844091%200%200%201%200-101.688183z%20m0%20305.064549h305.064549a50.844091%2050.844091%200%201%201%200%20101.688182h-305.064549a50.844091%2050.844091%200%200%201%200-101.688182z%20m0%20305.064548h711.81728a50.844091%2050.844091%200%200%201%200%20101.688183h-711.81728a50.844091%2050.844091%200%200%201%200-101.688183z'%20fill='%232c2c2c'%20p-id='4678'%3e%3c/path%3e%3c/svg%3e", er = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709866100174'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4504'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M281.676266%20461.155909l-14.744786-14.744787a50.844091%2050.844091%200%200%201%2071.690168-72.19861l107.789474%20107.789474a50.844091%2050.844091%200%200%201%200%2071.690169L338.621648%20660.973188a50.844091%2050.844091%200%201%201-71.690168-71.690169l27.455809-27.455809H156.09136a50.844091%2050.844091%200%200%201%200-101.688183z%20m586.740814-305.064549a50.844091%2050.844091%200%200%201%200%20101.688183h-711.817279a50.844091%2050.844091%200%200%201%200-101.688183z%20m0%20610.129097a50.844091%2050.844091%200%200%201%200%20101.688183h-711.817279a50.844091%2050.844091%200%200%201%200-101.688183z%20m0-305.064548a50.844091%2050.844091%200%200%201%200%20101.688182h-305.064548a50.844091%2050.844091%200%200%201%200-101.688182z'%20fill='%232c2c2c'%20p-id='4505'%3e%3c/path%3e%3c/svg%3e", tr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709779202767'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4512'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M470.016%20976.896q-44.032%200-59.392-20.48t-15.36-65.536q0-20.48-0.512-64.512t-1.024-93.696-1.536-96.768-1.024-74.752q0-39.936-7.68-62.464t-35.328-21.504q-20.48%200-48.64-1.024t-49.664%200q-35.84%200-45.568-19.456t13.824-50.176q24.576-30.72%2057.344-72.704t67.584-86.016%2068.096-87.04%2058.88-75.776q23.552-29.696%2045.568-30.72t46.592%2026.624q24.576%2029.696%2056.832%2069.632t67.072%2082.432%2068.608%2083.968%2060.416%2073.216q29.696%2035.84%2023.04%2058.88t-43.52%2023.04q-11.264%200-25.088%200.512t-29.184%201.024-30.208%201.024-27.136%200.512q-25.6%201.024-32.256%2016.384t-5.632%2041.984q0%2029.696%200.512%2077.824t1.024%20100.352%201.536%20101.376%201.024%2079.872q0%2013.312-2.048%2027.648t-9.728%2026.112-21.504%2019.968-36.352%208.192q-27.648%200-52.736%200.512t-56.832%201.536z'%20p-id='4513'%3e%3c/path%3e%3c/svg%3e", ar = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709779221999'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4657'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M564.224%2044.032q43.008%200%2058.368%2020.48t15.36%2065.536q0%2020.48%200.512%2064.512t0.512%2093.696%200.512%2096.768%200.512%2074.752q0%2038.912%207.68%2061.952t35.328%2022.016q19.456%200%2048.128%201.024t49.152%201.024q35.84%200%2045.568%2018.944t-13.824%2049.664q-24.576%2030.72-57.344%2072.704t-68.096%2086.016-69.12%2086.528-59.392%2075.264q-23.552%2029.696-45.568%2030.72t-45.568-27.648q-24.576-29.696-57.344-69.632t-67.072-82.432-67.584-83.968-59.904-74.24q-29.696-35.84-22.528-58.88t44.032-23.04l24.576%200q14.336%200%2029.696-0.512t30.208-1.536%2026.112-1.024q26.624%200%2032.768-15.36t6.144-41.984q0-29.696-0.512-77.824t-0.512-100.352-0.512-101.376-0.512-79.872q0-13.312%202.048-27.648t9.728-26.112%2020.992-19.456%2036.864-7.68q27.648%200%2053.248-0.512t57.344-0.512z'%20p-id='4658'%3e%3c/path%3e%3c/svg%3e", rr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780159129'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8535'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M901.12%2068.224a202.88%20202.88%200%200%200-286.976%200l-0.64%200.832%200.512%200.512c-0.768%200.704-1.728%200.896-2.368%201.6L144.896%20537.792l-0.128%200.128-0.128%200.256-11.712%2011.712a47.296%2047.296%200%200%200-9.856%2014.656c-85.76%20109.76-79.36%20268.288%2021.76%20369.344%20100.864%20100.992%20259.008%20107.52%20368.832%2022.272a51.072%2051.072%200%200%200%2015.232-10.24l324.608-324.672a48.512%2048.512%200%200%200%201.024-68.8%2048.704%2048.704%200%200%200-68.864%200.896L475.776%20863.36l-0.256-0.256c-0.896%200.96-1.472%202.112-2.496%203.008a184%20184%200%200%201-260.352-259.968l0.256-0.384c0.896-0.96%201.92-1.536%202.944-2.432l-0.256-0.192%20464-464c0.64-0.704%200.896-1.664%201.536-2.432l0.256%200.256c0.256-0.256%200.384-0.576%200.64-0.768a106.88%20106.88%200%201%201%20151.232%20151.296l-0.768%200.64%200.512%200.512c-0.768%200.64-1.728%200.896-2.368%201.6l-478.592%20478.656c-11.392%2011.456-29.888%2010.112-41.152-1.344a28.224%2028.224%200%200%201-0.64-40.384l415.232-415.104a48.64%2048.64%200%200%200%200.896-68.8%2048.576%2048.576%200%200%200-68.736%200.896l-415.168%20415.296c-0.384%200.32-0.512%200.768-0.768%201.088-47.36%2048.96-46.976%20126.72%201.344%20174.976%2045.888%2046.08%20118.4%2048.128%20167.488%207.616%203.136-1.92%206.656-3.584%209.344-6.464l478.592-478.656c0.768-0.704%200.896-1.664%201.536-2.432l0.256%200.256%200.832-0.64a202.944%20202.944%200%200%200%200-286.976z'%20fill='%23030000'%20p-id='8536'%3e%3c/path%3e%3c/svg%3e", nr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780533791'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='25342'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M355.555556%20967.111111a28.444444%2028.444444%200%201%201%200-56.888889h312.888888a28.444444%2028.444444%200%201%201%200%2056.888889H355.555556z%20m128-56.888889v-100.878222a296.433778%20296.433778%200%200%201-182.727112-86.158222A296.718222%20296.718222%200%200%201%20213.333333%20512v-99.555556a28.444444%2028.444444%200%200%201%2056.888889%200v99.555556c0.142222%20133.475556%20108.316444%20241.635556%20241.777778%20241.777778%20133.475556-0.142222%20241.635556-108.302222%20241.777778-241.777778v-99.555556a28.444444%2028.444444%200%201%201%2056.888889%200v99.555556a296.718222%20296.718222%200%200%201-87.466667%20211.2A296.433778%20296.433778%200%200%201%20540.444444%20809.358222V910.222222h-56.888888z%20m-113.777778-391.111111v-312.888889C369.777778%20123.747556%20436.636444%2056.888889%20519.111111%2056.888889%20601.6%2056.888889%20668.444444%20123.747556%20668.444444%20206.222222v312.888889C668.444444%20601.585778%20601.6%20668.444444%20519.111111%20668.444444%20436.636444%20668.444444%20369.777778%20601.585778%20369.777778%20519.111111z'%20fill='%23323233'%20p-id='25343'%3e%3c/path%3e%3c/svg%3e", ir = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780437481'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='16390'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M746.656%20310.528l110.688-49.184a42.656%2042.656%200%200%201%2060%2038.976v423.36a42.656%2042.656%200%200%201-60%2038.976l-110.688-49.184V768a85.344%2085.344%200%200%201-85.312%2085.344H192A85.344%2085.344%200%200%201%20106.656%20768V256A85.344%2085.344%200%200%201%20192%20170.656h469.344A85.344%2085.344%200%200%201%20746.656%20256v54.528zM320%20381.184v261.632a21.344%2021.344%200%200%200%2033.152%2017.728l196.224-130.784a21.344%2021.344%200%200%200%200-35.52l-196.224-130.784a21.344%2021.344%200%200%200-33.152%2017.728z'%20fill='%23000000'%20p-id='16391'%3e%3c/path%3e%3c/svg%3e", sr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780461968'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='20299'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M813.812907%20828.826855l-31.770588%200%200%200L241.960751%20828.826855l-0.004093%200-31.766494%200c-35.092239%200-63.541175-28.369118-63.541175-63.365166L146.648988%20337.743234c0-34.996049%2028.448936-63.365166%2063.541175-63.365166l31.766494%200%200.004093%200%200%200%20103.249549%200%2039.709397-63.365166c0-8.749268%2022.99983-15.84078%2031.774681-15.84078l190.614315%200c8.769734%200%2031.770588%207.091512%2031.770588%2015.84078l39.712467%2063.365166%20103.250572%200%2031.770588%200c35.092239%200%2063.537082%2028.369118%2063.537082%2063.365166l0%20427.718455C877.349989%20800.457738%20848.905146%20828.826855%20813.812907%20828.826855L813.812907%20828.826855zM512.001023%20337.743234c-114.046453%200-206.504214%2092.201935-206.504214%20205.940372%200%20113.739461%2092.457762%20205.936279%20206.504214%20205.936279%20114.043383%200%20206.496028-92.196819%20206.500121-205.928093l0-0.016373C718.497051%20429.941076%20626.044406%20337.743234%20512.001023%20337.743234L512.001023%20337.743234zM512.001023%20686.254719c-78.958306%200-142.963039-63.828724-142.963039-142.571113%200-78.738295%2064.004733-142.571113%20142.963039-142.571113%2078.955236%200%20142.963039%2063.832817%20142.963039%20142.571113C654.964062%20622.425995%20590.95626%20686.254719%20512.001023%20686.254719L512.001023%20686.254719zM512.001023%20686.254719'%20fill='%23272636'%20p-id='20300'%3e%3c/path%3e%3c/svg%3e", or = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709785409899'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='37829'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%200C230.4%200%200%20230.4%200%20512s230.4%20512%20512%20512%20512-230.4%20512-512-230.4-512-512-512z%20m0%20960c-249.6%200-448-198.4-448-448s198.4-448%20448-448%20448%20198.4%20448%20448-198.4%20448-448%20448z'%20fill='%23333333'%20p-id='37830'%3e%3c/path%3e%3cpath%20d='M352%20352h320v320h-320z'%20fill='%23333333'%20p-id='37831'%3e%3c/path%3e%3c/svg%3e", lr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709785373002'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='30220'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M392.256%20515.008a119.744%20119.744%200%201%200%20239.488%200%20119.744%20119.744%200%201%200-239.488%200z'%20fill='%23333333'%20p-id='30221'%3e%3c/path%3e%3cpath%20d='M512%2068.032A447.488%20447.488%200%200%200%2065.024%20515.008%20447.424%20447.424%200%200%200%20512%20961.984a447.424%20447.424%200%200%200%20446.976-446.976A447.424%20447.424%200%200%200%20512%2068.032z%20m0%20829.952c-211.2%200-382.976-171.84-382.976-382.976S300.8%20132.032%20512%20132.032s382.976%20171.84%20382.976%20382.976S723.2%20897.984%20512%20897.984z'%20fill='%23333333'%20p-id='30222'%3e%3c/path%3e%3c/svg%3e", ur = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1712145583790'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5884'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M734.165333%20350.165333l-384%20384L469.333333%20853.333333H170.666667v-298.666666l119.168%20119.168%20384-384L554.666667%20170.666667h298.666666v298.666666l-119.168-119.168zM256%20256v192H170.666667V170.666667h256v85.333333H256z%20m512%20512v-170.666667h85.333333v256h-256v-85.333333h170.666667z'%20fill='%234B4F54'%20p-id='5885'%3e%3c/path%3e%3c/svg%3e", cr = "data:image/svg+xml,%3csvg%20t='1714370428406'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4557'%20width='200'%20height='200'%3e%3cpath%20d='M213.333333%20213.333333h213.333334V128H170.666667a42.666667%2042.666667%200%200%200-42.666667%2042.666667v256h85.333333V213.333333zM170.666667%20896h256v-85.333333H213.333333v-213.333334H128v256a42.666667%2042.666667%200%200%200%2042.666667%2042.666667z%20m725.333333-42.666667v-256h-85.333333v213.333334h-213.333334v85.333333h256a42.666667%2042.666667%200%200%200%2042.666667-42.666667zM597.333333%20213.333333h213.333334v213.333334h85.333333V170.666667a42.666667%2042.666667%200%200%200-42.666667-42.666667h-256v85.333333z'%20fill='%23515151'%20p-id='4558'%3e%3c/path%3e%3c/svg%3e", dr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1718256873576'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8028'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M707.872%20484.64C745.376%20440.096%20768%20382.656%20768%20320c0-141.152-114.848-256-256-256l-128%200-128%200L192%2064l0%20896%2064%200%20128%200%20192%200c141.152%200%20256-114.848%20256-256C832%20611.04%20782.208%20529.504%20707.872%20484.64zM384%20192l101.504%200c55.968%200%20101.504%2057.408%20101.504%20128s-45.536%20128-101.504%20128L384%20448%20384%20192zM543.008%20832%20384%20832%20384%20576l159.008%200c58.464%200%20106.016%2057.408%20106.016%20128S601.44%20832%20543.008%20832z'%20fill='%23000000'%20p-id='8029'%3e%3c/path%3e%3c/svg%3e", fr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1718256954702'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9002'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M904%20816H120c-4.4%200-8%203.6-8%208v80c0%204.4%203.6%208%208%208h784c4.4%200%208-3.6%208-8v-80c0-4.4-3.6-8-8-8z%20m-650.3-80h85c4.2%200%208-2.7%209.3-6.8l53.7-166h219.2l53.2%20166c1.3%204%205%206.8%209.3%206.8h89.1c1.1%200%202.2-0.2%203.2-0.5%205.1-1.8%207.8-7.3%206-12.4L573.6%20118.6c-1.4-3.9-5.1-6.6-9.2-6.6H462.1c-4.2%200-7.9%202.6-9.2%206.6L244.5%20723.1c-0.4%201-0.5%202.1-0.5%203.2-0.1%205.3%204.3%209.7%209.7%209.7z%20m255.9-516.1h4.1l83.8%20263.8H424.9l84.7-263.8z'%20fill='%23333333'%20p-id='9003'%3e%3c/path%3e%3c/svg%3e", vr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1718341836843'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5749'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M79.25419%201010.518503l930.261375-930.261375a46.513269%2046.513269%200%201%200-65.772693-65.772693L13.481497%20944.74581c-17.739973%2018.233418-17.539385%2047.335679%200.448313%2065.32438%2017.988701%2017.987698%2047.090962%2018.188286%2065.32438%200.448313z'%20fill='%23E02020'%20p-id='5750'%3e%3c/path%3e%3c/svg%3e", hr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1721969717382'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4251'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M298.666667%20426.666667V341.333333a213.333333%20213.333333%200%201%201%20426.666666%200v85.333334h42.666667a85.333333%2085.333333%200%200%201%2085.333333%2085.333333v256a85.333333%2085.333333%200%200%201-85.333333%2085.333333H256a85.333333%2085.333333%200%200%201-85.333333-85.333333v-256a85.333333%2085.333333%200%200%201%2085.333333-85.333333h42.666667z%20m213.333333-213.333334a128%20128%200%200%200-128%20128v85.333334h256V341.333333a128%20128%200%200%200-128-128z'%20fill='green'%20p-id='4252'%3e%3c/path%3e%3c/svg%3e", mr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1721969878651'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7064'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M666.752%20194.517333L617.386667%20268.629333A128%20128%200%200%200%20384%20341.333333l0.042667%2085.333334h384a85.333333%2085.333333%200%200%201%2085.333333%2085.333333v256a85.333333%2085.333333%200%200%201-85.333333%2085.333333H256a85.333333%2085.333333%200%200%201-85.333333-85.333333v-256a85.333333%2085.333333%200%200%201%2085.333333-85.333333h42.666667V341.333333a213.333333%20213.333333%200%200%201%20368.085333-146.816z'%20fill='%23000000'%20p-id='7065'%3e%3c/path%3e%3c/svg%3e", _r = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1724214601601'%20class='icon'%20viewBox='0%200%201035%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7572'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='202.1484375'%20height='200'%3e%3cpath%20d='M388.361%20382.546h194.18v64.727h-194.18v-64.727zM0%20576.726h258.907v64.728H0v-64.727z%20m1035.63-129.453H776.723v-64.727h258.907v64.727zM388.361%20900.361H323.635V382.546h64.727v517.815z%20m614.906%200H388.361v-64.726h582.542V447.273h64.727v453.088h-32.363zM32.363%20123.64h614.906v64.726H64.727v388.362H0V123.639h32.363z%20m647.27%20517.815H453.087v-64.727h194.18V123.639h64.728v517.815h-32.364z'%20fill='%23333333'%20p-id='7573'%3e%3c/path%3e%3c/svg%3e", pr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1725435945575'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1036'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M896.074%20935.824c-10.233%200-20.465-3.901-28.275-11.707L99.65%20156.469c-15.626-15.616-15.634-40.942-0.019-56.568%2015.616-15.626%2040.942-15.634%2056.568-0.019L924.35%20867.531c15.626%2015.615%2015.634%2040.942%200.018%2056.568-7.811%207.816-18.054%2011.725-28.294%2011.725z'%20p-id='1037'%20fill='%23d81e06'%3e%3c/path%3e%3cpath%20d='M127.925%20935.824c-10.242%200-20.481-3.908-28.293-11.725-15.616-15.626-15.607-40.953%200.019-56.568L867.799%2099.882c15.627-15.616%2040.953-15.607%2056.568%200.019%2015.616%2015.626%2015.608%2040.953-0.018%2056.568L156.2%20924.117c-7.809%207.805-18.043%2011.707-28.275%2011.707z'%20p-id='1038'%20fill='%23d81e06'%3e%3c/path%3e%3c/svg%3e", br = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1725435953539'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1249'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M394.792%20797.429c-9.71%200-19.443-3.513-27.137-10.622L87.488%20527.917c-16.225-14.993-17.224-40.3-2.231-56.525%2014.993-16.226%2040.3-17.225%2056.524-2.231l280.167%20258.89c16.225%2014.993%2017.224%2040.3%202.231%2056.524-7.883%208.532-18.62%2012.854-29.387%2012.854z'%20p-id='1250'%20fill='%237cba59'%3e%3c/path%3e%3cpath%20d='M394.808%20797.429c-10.555%200-21.088-4.15-28.949-12.391-15.249-15.984-14.652-41.304%201.333-56.553l514.564-490.858c15.983-15.249%2041.303-14.652%2056.553%201.333%2015.248%2015.985%2014.651%2041.305-1.334%2056.553l-514.563%20490.86c-7.745%207.387-17.684%2011.056-27.604%2011.056z'%20p-id='1251'%20fill='%237cba59'%3e%3c/path%3e%3c/svg%3e", wr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1760004998012'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4876'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M672%20640c-8%200-16-3.2-22.4-9.6L512%20492.8l-137.6%20137.6c-12.8%2012.8-32%2012.8-44.8%200-12.8-12.8-12.8-32%200-44.8l160-160c12.8-12.8%2032-12.8%2044.8%200l160%20160c12.8%2012.8%2012.8%2032%200%2044.8-6.4%206.4-14.4%209.6-22.4%209.6z'%20fill='%23FEC10D'%20p-id='4877'%3e%3c/path%3e%3cpath%20d='M512%20960c-17.6%200-32-14.4-32-32V464c0-17.6%2014.4-32%2032-32s32%2014.4%2032%2032v464c0%2017.6-14.4%2032-32%2032z'%20fill='%23FEC10D'%20p-id='4878'%3e%3c/path%3e%3cpath%20d='M768%20768h-64c-17.6%200-32-14.4-32-32s14.4-32%2032-32h64c88%200%20160-72%20160-160%200-76.8-57.6-145.6-134.4-158.4-14.4-1.6-25.6-14.4-27.2-28.8C753.6%20227.2%20643.2%20128%20512%20128s-241.6%2099.2-254.4%20230.4c-1.6%2014.4-12.8%2025.6-27.2%2028.8-76.8%2011.2-134.4%2080-134.4%20156.8%200%2088%2072%20160%20160%20160h64c17.6%200%2032%2014.4%2032%2032s-14.4%2032-32%2032h-64C132.8%20768%2032%20667.2%2032%20544c0-100.8%2068.8-188.8%20164.8-216C224%20176%20355.2%2064%20512%2064c156.8%200%20288%20112%20315.2%20264C923.2%20355.2%20992%20443.2%20992%20544c0%20123.2-100.8%20224-224%20224z'%20fill='%23FEC10D'%20p-id='4879'%3e%3c/path%3e%3c/svg%3e", gr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1761639699991'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4671'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M490.666667%20712.533333c0-119.466667%2081.066667-217.6%20196.266666-247.466666l-64-64c-17.066667-17.066667-42.666667-17.066667-59.733333%200l-396.8%20396.8v-597.333334h682.666667v277.333334c34.133333%2017.066667%2064%2038.4%2085.333333%2064v-384c0-21.333333-17.066667-42.666667-42.666667-42.666667h-768c-21.333333%200-42.666667%2017.066667-42.666666%2042.666667v682.666666c0%2021.333333%2017.066667%2042.666667%2042.666666%2042.666667h435.2c-42.666667-42.666667-68.266667-102.4-68.266666-170.666667z'%20p-id='4672'%3e%3c/path%3e%3cpath%20d='M337.066667%20375.466667m-85.333334%200a85.333333%2085.333333%200%201%200%20170.666667%200%2085.333333%2085.333333%200%201%200-170.666667%200Z'%20p-id='4673'%3e%3c/path%3e%3cpath%20d='M746.666667%20904.533333c-106.666667%200-196.266667-85.333333-196.266667-196.266666s85.333333-196.266667%20196.266667-196.266667%20196.266667%2085.333333%20196.266666%20196.266667-85.333333%20196.266667-196.266666%20196.266666z%20m-17.066667-132.266666v38.4h38.4v-38.4h-38.4z%20m0-157.866667v115.2h38.4v-115.2h-38.4z'%20p-id='4674'%3e%3c/path%3e%3c/svg%3e", xt = {
15
+ left: Ja,
16
+ right: er,
17
+ up: tr,
18
+ down: ar,
19
+ attach: rr,
20
+ audio: nr,
21
+ video: ir,
22
+ photo: sr,
23
+ stop: or,
24
+ record: lr,
25
+ resize: ur,
26
+ fullscreen: cr,
27
+ bold: dr,
28
+ color: fr,
29
+ clear: vr,
30
+ lock: hr,
31
+ unlock: mr,
32
+ relate: _r,
33
+ close: pr,
34
+ confirm: br,
35
+ uploading: wr,
36
+ fail: gr
37
37
  }, t0 = (_, $) => {
38
38
  const K = _.__vccOpts || _;
39
39
  for (const [p, ue] of $)
40
40
  K[p] = ue;
41
41
  return K;
42
- }, gr = { class: "color-panel" }, yr = ["onClick"], xr = {
42
+ }, yr = { class: "color-panel" }, xr = ["onClick"], Sr = {
43
43
  __name: "index",
44
44
  emits: ["change"],
45
45
  setup(_, { emit: $ }) {
@@ -76,7 +76,7 @@ const Qa = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
76
76
  ], ue = (B) => {
77
77
  K("change", B);
78
78
  };
79
- return (B, ne) => (tt(), ut("div", gr, [
79
+ return (B, ne) => (tt(), ct("div", yr, [
80
80
  Ze("ul", null, [
81
81
  Ze("li", null, [
82
82
  bt(We(At), {
@@ -86,25 +86,27 @@ const Qa = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
86
86
  onClick: ne[0] || (ne[0] = (Y) => ue(null))
87
87
  }, null, 8, ["src"])
88
88
  ]),
89
- (tt(), ut(S0, null, T0(p, (Y) => Ze("li", {
89
+ (tt(), ct(S0, null, T0(p, (Y) => Ze("li", {
90
90
  key: Y,
91
91
  style: Pt({ backgroundColor: Y }),
92
92
  onClick: (pe) => ue(Y)
93
- }, null, 12, yr)), 64))
93
+ }, null, 12, xr)), 64))
94
94
  ])
95
95
  ]));
96
96
  }
97
- }, Sr = /* @__PURE__ */ t0(xr, [["__scopeId", "data-v-d2cde42f"]]), dt = Ia({
97
+ }, Tr = /* @__PURE__ */ t0(Sr, [["__scopeId", "data-v-d2cde42f"]]), ot = Oa({
98
98
  currentId: null,
99
99
  dragId: null,
100
100
  pos: null,
101
- isMobile: W0() === "mobile"
102
- }), m0 = {}, d0 = Ua();
103
- function Tr(_) {
101
+ isMobile: W0() === "mobile",
102
+ noteCreatedAt: null
103
+ // 当前笔记的创建时间,用于计算历史日期
104
+ }), m0 = {}, d0 = za();
105
+ function Mr(_) {
104
106
  return _ && _.uuid ? document.getElementById(_.uuid) : null;
105
107
  }
106
108
  function Xt(_, $ = !1) {
107
- const K = Tr(_), p = ".node-text";
109
+ const K = Mr(_), p = ".node-text";
108
110
  if (!K)
109
111
  return null;
110
112
  if ($) {
@@ -146,12 +148,12 @@ function s0(_, $ = 0, K = !1) {
146
148
  console.error("Error setting focus position:", ne);
147
149
  }
148
150
  }
149
- function Mr(_) {
151
+ function Rr(_) {
150
152
  const $ = _.getBoundingClientRect();
151
153
  return $.top >= 0 && $.left >= 0 && $.bottom <= (window.innerHeight || document.documentElement.clientHeight) && $.right <= (window.innerWidth || document.documentElement.clientWidth);
152
154
  }
153
155
  let r0 = null, f0 = null;
154
- function wa(_ = !0) {
156
+ function ga(_ = !0) {
155
157
  const $ = document.querySelector(".record-tree-options");
156
158
  if (!$)
157
159
  return;
@@ -159,8 +161,8 @@ function wa(_ = !0) {
159
161
  const K = window.visualViewport.height, p = () => {
160
162
  window.visualViewport.height < K && ($.style.display = "none", setTimeout(() => {
161
163
  if ($.style.display = "", _) {
162
- const B = dt.currentId, ne = Xt({ uuid: B });
163
- ne && !Mr(ne) && ne.scrollIntoView({
164
+ const B = ot.currentId, ne = Xt({ uuid: B });
165
+ ne && !Rr(ne) && ne.scrollIntoView({
164
166
  behavior: "smooth",
165
167
  block: "center"
166
168
  });
@@ -171,10 +173,10 @@ function wa(_ = !0) {
171
173
  r0 === p && (window.removeEventListener("resize", p), r0 = null), f0 = null;
172
174
  }, 500);
173
175
  }
174
- function ga(_) {
176
+ function ya(_) {
175
177
  return /<(?!!--)[^>]*>|<!--[\s\S]*?-->|<!DOCTYPE\s+html[^>]*>/i.test(_);
176
178
  }
177
- function na(_) {
179
+ function ia(_) {
178
180
  const $ = document.createElement("div");
179
181
  let K = _, p = [];
180
182
  for (; K && K.parentNode; )
@@ -190,8 +192,8 @@ function na(_) {
190
192
  }
191
193
  return $;
192
194
  }
193
- function ya(_, $) {
194
- if (!ga(_))
195
+ function xa(_, $) {
196
+ if (!ya(_))
195
197
  return {
196
198
  left: _.slice(0, $),
197
199
  right: _.slice($)
@@ -204,7 +206,7 @@ function ya(_, $) {
204
206
  if (Y.nodeType === Node.TEXT_NODE) {
205
207
  const pe = Y.textContent.length;
206
208
  if (p + pe >= $) {
207
- const ce = $ - p, ie = Y.splitText(ce), ge = na(Y), Ee = na(ie);
209
+ const ce = $ - p, ie = Y.splitText(ce), ge = ia(Y), Ee = ia(ie);
208
210
  return ue = !0, {
209
211
  left: ge.innerHTML,
210
212
  right: Ee.innerHTML
@@ -229,7 +231,7 @@ let n0 = null;
229
231
  function h0(_) {
230
232
  if (!_ || _ === "")
231
233
  return !0;
232
- if (!ga(_))
234
+ if (!ya(_))
233
235
  return _.trim() === "";
234
236
  if (/^(<[^>]+>\s*<\/[^>]+>\s*)+$/.test(_))
235
237
  return !0;
@@ -237,22 +239,22 @@ function h0(_) {
237
239
  const K = n0.textContent || n0.innerText || "";
238
240
  return n0.innerHTML = "", K.trim() === "";
239
241
  }
240
- function Rr(_) {
242
+ function Cr(_) {
241
243
  return h0(_.text) && !_.content;
242
244
  }
243
- const Cr = ["contenteditable"], kr = {
245
+ const kr = ["contenteditable"], Ar = {
244
246
  key: 0,
245
247
  class: "holder holder-left",
246
248
  contenteditable: "true",
247
249
  tabindex: "-1"
248
- }, Ar = {
250
+ }, Br = {
249
251
  class: "node-element",
250
252
  contenteditable: "false"
251
- }, Br = ["src", "width", "height"], Er = ["src"], Dr = ["src", "width", "height"], Lr = ["src"], Ir = {
253
+ }, Er = ["src", "width", "height"], Dr = ["src"], Lr = ["src", "width", "height"], Ir = ["src"], Or = {
252
254
  key: 4,
253
255
  contenteditable: !1,
254
256
  class: "node-file-wrap"
255
- }, Or = { class: "node-file-left" }, Fr = { class: "node-file-right" }, Nr = ["href", "download"], Hr = {
257
+ }, Fr = { class: "node-file-left" }, Nr = { class: "node-file-right" }, Hr = ["href", "download"], Yr = {
256
258
  __name: "media",
257
259
  props: {
258
260
  readOnly: {
@@ -270,7 +272,7 @@ const Cr = ["contenteditable"], kr = {
270
272
  },
271
273
  emits: ["remove", "change", "keydown", "focus"],
272
274
  setup(_, { expose: $, emit: K }) {
273
- const p = dt.isMobile, ue = K, B = _, ne = ot(), Y = ot(), pe = ot(), ce = ot(), ie = ot(), ge = ot(0);
275
+ const p = ot.isMobile, ue = K, B = _, ne = lt(), Y = lt(), pe = lt(), ce = lt(), ie = lt(), ge = lt(0);
274
276
  Wt(
275
277
  () => B.data.content,
276
278
  () => {
@@ -341,7 +343,7 @@ const Cr = ["contenteditable"], kr = {
341
343
  function he(W) {
342
344
  typeof W != "string" || !/http|https/.test(W) ? ge.value = 2 : ge.value = 1;
343
345
  }
344
- return (W, z) => (tt(), ut("div", {
346
+ return (W, z) => (tt(), ct("div", {
345
347
  class: "node-text",
346
348
  ref_key: "element",
347
349
  ref: ne,
@@ -354,9 +356,9 @@ const Cr = ["contenteditable"], kr = {
354
356
  contenteditable: !1,
355
357
  class: Ot(`node-complex node-${_.data.type}`)
356
358
  }, [
357
- _.readOnly ? Tt("", !0) : (tt(), ut("span", kr)),
358
- Ze("div", Ar, [
359
- _.data.type === "image" && !ge.value ? (tt(), ut("img", {
359
+ _.readOnly ? Tt("", !0) : (tt(), ct("span", Ar)),
360
+ Ze("div", Br, [
361
+ _.data.type === "image" && !ge.value ? (tt(), ct("img", {
360
362
  key: 0,
361
363
  ref_key: "resource",
362
364
  ref: pe,
@@ -364,8 +366,8 @@ const Cr = ["contenteditable"], kr = {
364
366
  width: _.data.size ? _.data.size.width : 80,
365
367
  height: _.data.size ? _.data.size.height : 80,
366
368
  onError: z[0] || (z[0] = (ke) => he(_.data.content))
367
- }, null, 40, Br)) : Tt("", !0),
368
- _.data.type === "audio" && !ge.value ? (tt(), ut("audio", {
369
+ }, null, 40, Er)) : Tt("", !0),
370
+ _.data.type === "audio" && !ge.value ? (tt(), ct("audio", {
369
371
  key: 1,
370
372
  ref_key: "resource",
371
373
  ref: pe,
@@ -373,8 +375,8 @@ const Cr = ["contenteditable"], kr = {
373
375
  controls: "",
374
376
  width: "300",
375
377
  onError: z[1] || (z[1] = (ke) => he(_.data.content))
376
- }, null, 40, Er)) : Tt("", !0),
377
- _.data.type === "video" && !ge.value ? (tt(), ut("video", {
378
+ }, null, 40, Dr)) : Tt("", !0),
379
+ _.data.type === "video" && !ge.value ? (tt(), ct("video", {
378
380
  key: 2,
379
381
  ref_key: "resource",
380
382
  ref: pe,
@@ -383,8 +385,8 @@ const Cr = ["contenteditable"], kr = {
383
385
  width: _.data.size ? _.data.size.width : 300,
384
386
  height: _.data.size ? _.data.size.width : 300,
385
387
  onError: z[2] || (z[2] = (ke) => he(_.data.content))
386
- }, null, 40, Dr)) : Tt("", !0),
387
- ge.value && (_.data.type === "image" || _.data.type === "audio" || _.data.type === "video") ? (tt(), ut("div", {
388
+ }, null, 40, Lr)) : Tt("", !0),
389
+ ge.value && (_.data.type === "image" || _.data.type === "audio" || _.data.type === "video") ? (tt(), ct("div", {
388
390
  key: 3,
389
391
  class: Ot(
390
392
  ge.value === 1 ? "media-fail" : "media-placeholder"
@@ -392,22 +394,22 @@ const Cr = ["contenteditable"], kr = {
392
394
  }, [
393
395
  Ze("img", {
394
396
  src: ge.value === 1 ? We(xt).fail : We(xt).uploading
395
- }, null, 8, Lr)
397
+ }, null, 8, Ir)
396
398
  ], 2)) : Tt("", !0),
397
- _.data.type === "file" ? (tt(), ut("div", Ir, [
398
- Ze("div", Or, [
399
- Ze("h6", null, Jt(We(Ya)(_.data.name, 20)), 1),
400
- Ze("p", null, Jt(We(Va)(_.data.size)), 1)
401
- ]),
399
+ _.data.type === "file" ? (tt(), ct("div", Or, [
402
400
  Ze("div", Fr, [
401
+ Ze("h6", null, Jt(We(Va)(_.data.name, 20)), 1),
402
+ Ze("p", null, Jt(We(Pa)(_.data.size)), 1)
403
+ ]),
404
+ Ze("div", Nr, [
403
405
  Ze("a", {
404
406
  href: X(_.data.content),
405
407
  download: _.data.name,
406
408
  tabindex: "-1"
407
- }, "下载", 8, Nr)
409
+ }, "下载", 8, Hr)
408
410
  ])
409
411
  ])) : Tt("", !0),
410
- !_.readOnly && !ge.value && !We(p) && (_.data.type === "image" || _.data.type === "video") ? (tt(), ut("div", {
412
+ !_.readOnly && !ge.value && !We(p) && (_.data.type === "image" || _.data.type === "video") ? (tt(), ct("div", {
411
413
  key: 5,
412
414
  class: "resize-handle",
413
415
  ref_key: "resizableBox",
@@ -420,7 +422,7 @@ const Cr = ["contenteditable"], kr = {
420
422
  height: 15
421
423
  }, null, 8, ["src"])
422
424
  ], 544)) : Tt("", !0),
423
- !_.readOnly && !ge.value && !We(p) && _.data.type === "image" ? (tt(), ut("div", {
425
+ !_.readOnly && !ge.value && !We(p) && _.data.type === "image" ? (tt(), ct("div", {
424
426
  key: 6,
425
427
  class: "fullscreen-handle",
426
428
  ref_key: "fullscreenBox",
@@ -433,13 +435,13 @@ const Cr = ["contenteditable"], kr = {
433
435
  height: 15
434
436
  }, null, 8, ["src"])
435
437
  ], 544)) : Tt("", !0),
436
- _.readOnly ? Tt("", !0) : (tt(), ut("div", {
438
+ _.readOnly ? Tt("", !0) : (tt(), ct("div", {
437
439
  key: 7,
438
440
  class: "node-del",
439
441
  onClick: Dt(ve, ["stop"])
440
442
  }))
441
443
  ]),
442
- _.readOnly ? Tt("", !0) : (tt(), ut("span", {
444
+ _.readOnly ? Tt("", !0) : (tt(), ct("span", {
443
445
  key: 1,
444
446
  ref_key: "holderRight",
445
447
  ref: ie,
@@ -448,9 +450,9 @@ const Cr = ["contenteditable"], kr = {
448
450
  tabindex: "-1"
449
451
  }, null, 512))
450
452
  ], 2)
451
- ], 40, Cr));
453
+ ], 40, kr));
452
454
  }
453
- }, Yr = /* @__PURE__ */ t0(Hr, [["__scopeId", "data-v-6cfd6a1b"]]), Vr = ba.create({
455
+ }, Vr = /* @__PURE__ */ t0(Yr, [["__scopeId", "data-v-6cfd6a1b"]]), Pr = wa.create({
454
456
  name: "textStyle",
455
457
  addOptions() {
456
458
  return {
@@ -466,17 +468,17 @@ const Cr = ["contenteditable"], kr = {
466
468
  ];
467
469
  },
468
470
  renderHTML({ HTMLAttributes: _ }) {
469
- return ["span", $a(this.options.HTMLAttributes, _), 0];
471
+ return ["span", Xa(this.options.HTMLAttributes, _), 0];
470
472
  },
471
473
  addCommands() {
472
474
  return {
473
475
  removeEmptyTextStyle: () => ({ state: _, commands: $ }) => {
474
- const K = Xa(_, this.type);
476
+ const K = Ka(_, this.type);
475
477
  return Object.entries(K).some(([, ue]) => !!ue) ? !0 : $.unsetMark(this.name);
476
478
  }
477
479
  };
478
480
  }
479
- }), Pr = Ka.create({
481
+ }), Ur = Za.create({
480
482
  name: "color",
481
483
  addOptions() {
482
484
  return {
@@ -508,74 +510,74 @@ const Cr = ["contenteditable"], kr = {
508
510
  unsetColor: () => ({ chain: _ }) => _().setMark("textStyle", { color: null }).removeEmptyTextStyle().run()
509
511
  };
510
512
  }
511
- }), xa = "date-popover", C0 = {
512
- 现在: () => ct().format("YYYY-MM-DD HH:mm:ss"),
513
- 前天: () => ct().subtract(2, "day").format("YYYY-MM-DD"),
514
- 前日: () => ct().subtract(2, "day").format("YYYY-MM-DD"),
515
- 昨天: () => ct().subtract(1, "day").format("YYYY-MM-DD"),
516
- 大前天: () => ct().subtract(3, "day").format("YYYY-MM-DD"),
517
- 昨日: () => ct().subtract(1, "day").format("YYYY-MM-DD"),
518
- 今天: () => ct().format("YYYY-MM-DD"),
519
- 今日: () => ct().format("YYYY-MM-DD"),
520
- 明天: () => ct().add(1, "day").format("YYYY-MM-DD"),
521
- 明日: () => ct().add(1, "day").format("YYYY-MM-DD"),
522
- 后天: () => ct().add(2, "day").format("YYYY-MM-DD"),
523
- 后日: () => ct().add(2, "day").format("YYYY-MM-DD"),
524
- 大后天: () => ct().add(3, "day").format("YYYY-MM-DD"),
525
- 上周今天: () => ct().subtract(1, "week").format("YYYY-MM-DD"),
526
- 下周今天: () => ct().add(1, "week").format("YYYY-MM-DD"),
527
- 上个月今天: () => ct().subtract(1, "month").format("YYYY-MM-DD"),
528
- 下个月今天: () => ct().add(1, "month").format("YYYY-MM-DD"),
529
- 去年今天: () => ct().subtract(1, "year").format("YYYY-MM-DD"),
530
- 明年今天: () => ct().add(1, "year").format("YYYY-MM-DD"),
531
- 本周开始: () => ct().startOf("week").format("YYYY-MM-DD"),
532
- 本周结束: () => ct().endOf("week").format("YYYY-MM-DD"),
533
- 本月开始: () => ct().startOf("month").format("YYYY-MM-DD"),
534
- 本月结束: () => ct().endOf("month").format("YYYY-MM-DD"),
535
- 本年开始: () => ct().startOf("year").format("YYYY-MM-DD"),
536
- 本年结束: () => ct().endOf("year").format("YYYY-MM-DD"),
537
- 上周开始: () => ct().subtract(1, "week").startOf("week").format("YYYY-MM-DD"),
538
- 上周结束: () => ct().subtract(1, "week").endOf("week").format("YYYY-MM-DD"),
539
- 上个月开始: () => ct().subtract(1, "month").startOf("month").format("YYYY-MM-DD"),
540
- 上个月结束: () => ct().subtract(1, "month").endOf("month").format("YYYY-MM-DD"),
541
- 去年开始: () => ct().subtract(1, "year").startOf("year").format("YYYY-MM-DD"),
542
- 去年结束: () => ct().subtract(1, "year").endOf("year").format("YYYY-MM-DD"),
543
- 下周开始: () => ct().add(1, "week").startOf("week").format("YYYY-MM-DD"),
544
- 下周结束: () => ct().add(1, "week").endOf("week").format("YYYY-MM-DD"),
545
- 下个月开始: () => ct().add(1, "month").startOf("month").format("YYYY-MM-DD"),
546
- 下个月结束: () => ct().add(1, "month").endOf("month").format("YYYY-MM-DD"),
547
- 明年开始: () => ct().add(1, "year").startOf("year").format("YYYY-MM-DD"),
548
- 明年结束: () => ct().add(1, "year").endOf("year").format("YYYY-MM-DD"),
549
- 今年: () => ct().format("YYYY"),
550
- 明年: () => ct().add(1, "year").format("YYYY"),
551
- 后年: () => ct().add(2, "year").format("YYYY"),
552
- 去年: () => ct().subtract(1, "year").format("YYYY"),
553
- 上个月: () => ct().subtract(1, "month").format("YYYY-MM"),
554
- 下个月: () => ct().add(1, "month").format("YYYY-MM"),
555
- 上上个月: () => ct().subtract(2, "month").format("YYYY-MM"),
556
- 上上周今天: () => ct().subtract(2, "week").format("YYYY-MM-DD"),
557
- 下下个月: () => ct().add(2, "month").format("YYYY-MM"),
558
- 下下周今天: () => ct().add(2, "week").format("YYYY-MM-DD")
559
- }, Sa = Object.keys(C0);
560
- Sa.sort((_, $) => $.length - _.length);
561
- const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) => _.tagName.toLowerCase() === "mark", k0 = () => {
562
- document.querySelectorAll(`.${xa}`).forEach(($) => {
513
+ }), Sa = "date-popover", dt = () => ot.noteCreatedAt ? na(ot.noteCreatedAt) : na(), C0 = {
514
+ 现在: () => dt().format("YYYY-MM-DD HH:mm:ss"),
515
+ 前天: () => dt().subtract(2, "day").format("YYYY-MM-DD"),
516
+ 前日: () => dt().subtract(2, "day").format("YYYY-MM-DD"),
517
+ 昨天: () => dt().subtract(1, "day").format("YYYY-MM-DD"),
518
+ 大前天: () => dt().subtract(3, "day").format("YYYY-MM-DD"),
519
+ 昨日: () => dt().subtract(1, "day").format("YYYY-MM-DD"),
520
+ 今天: () => dt().format("YYYY-MM-DD"),
521
+ 今日: () => dt().format("YYYY-MM-DD"),
522
+ 明天: () => dt().add(1, "day").format("YYYY-MM-DD"),
523
+ 明日: () => dt().add(1, "day").format("YYYY-MM-DD"),
524
+ 后天: () => dt().add(2, "day").format("YYYY-MM-DD"),
525
+ 后日: () => dt().add(2, "day").format("YYYY-MM-DD"),
526
+ 大后天: () => dt().add(3, "day").format("YYYY-MM-DD"),
527
+ 上周今天: () => dt().subtract(1, "week").format("YYYY-MM-DD"),
528
+ 下周今天: () => dt().add(1, "week").format("YYYY-MM-DD"),
529
+ 上个月今天: () => dt().subtract(1, "month").format("YYYY-MM-DD"),
530
+ 下个月今天: () => dt().add(1, "month").format("YYYY-MM-DD"),
531
+ 去年今天: () => dt().subtract(1, "year").format("YYYY-MM-DD"),
532
+ 明年今天: () => dt().add(1, "year").format("YYYY-MM-DD"),
533
+ 本周开始: () => dt().startOf("week").format("YYYY-MM-DD"),
534
+ 本周结束: () => dt().endOf("week").format("YYYY-MM-DD"),
535
+ 本月开始: () => dt().startOf("month").format("YYYY-MM-DD"),
536
+ 本月结束: () => dt().endOf("month").format("YYYY-MM-DD"),
537
+ 本年开始: () => dt().startOf("year").format("YYYY-MM-DD"),
538
+ 本年结束: () => dt().endOf("year").format("YYYY-MM-DD"),
539
+ 上周开始: () => dt().subtract(1, "week").startOf("week").format("YYYY-MM-DD"),
540
+ 上周结束: () => dt().subtract(1, "week").endOf("week").format("YYYY-MM-DD"),
541
+ 上个月开始: () => dt().subtract(1, "month").startOf("month").format("YYYY-MM-DD"),
542
+ 上个月结束: () => dt().subtract(1, "month").endOf("month").format("YYYY-MM-DD"),
543
+ 去年开始: () => dt().subtract(1, "year").startOf("year").format("YYYY-MM-DD"),
544
+ 去年结束: () => dt().subtract(1, "year").endOf("year").format("YYYY-MM-DD"),
545
+ 下周开始: () => dt().add(1, "week").startOf("week").format("YYYY-MM-DD"),
546
+ 下周结束: () => dt().add(1, "week").endOf("week").format("YYYY-MM-DD"),
547
+ 下个月开始: () => dt().add(1, "month").startOf("month").format("YYYY-MM-DD"),
548
+ 下个月结束: () => dt().add(1, "month").endOf("month").format("YYYY-MM-DD"),
549
+ 明年开始: () => dt().add(1, "year").startOf("year").format("YYYY-MM-DD"),
550
+ 明年结束: () => dt().add(1, "year").endOf("year").format("YYYY-MM-DD"),
551
+ 今年: () => dt().format("YYYY"),
552
+ 明年: () => dt().add(1, "year").format("YYYY"),
553
+ 后年: () => dt().add(2, "year").format("YYYY"),
554
+ 去年: () => dt().subtract(1, "year").format("YYYY"),
555
+ 上个月: () => dt().subtract(1, "month").format("YYYY-MM"),
556
+ 下个月: () => dt().add(1, "month").format("YYYY-MM"),
557
+ 上上个月: () => dt().subtract(2, "month").format("YYYY-MM"),
558
+ 上上周今天: () => dt().subtract(2, "week").format("YYYY-MM-DD"),
559
+ 下下个月: () => dt().add(2, "month").format("YYYY-MM"),
560
+ 下下周今天: () => dt().add(2, "week").format("YYYY-MM-DD")
561
+ }, Ta = Object.keys(C0);
562
+ Ta.sort((_, $) => $.length - _.length);
563
+ const zr = new RegExp(`(${Ta.join("|")})`, "g"), Gr = /<\/?mark>/g, Ma = (_) => _.tagName.toLowerCase() === "mark", k0 = () => {
564
+ document.querySelectorAll(`.${Sa}`).forEach(($) => {
563
565
  $.remove();
564
566
  });
565
- }, Gr = 50, N0 = (_) => {
566
- if (Ta(_.target)) {
567
+ }, qr = 50, N0 = (_) => {
568
+ if (Ma(_.target)) {
567
569
  k0();
568
570
  const $ = _.target.innerText;
569
571
  let K = _.target.getAttribute("data-time");
570
572
  if (!K && C0[$] && (K = C0[$]()), K) {
571
573
  const p = document.createElement("div");
572
- p.classList.add(xa);
574
+ p.classList.add(Sa);
573
575
  const { top: ue, bottom: B, left: ne, width: Y } = _.target.getBoundingClientRect();
574
- p.innerText = K, p.style.left = `${ne + parseInt(Y / 2)}px`, ue < Gr ? (p.classList.add("date-popover--bottom"), p.style.top = `${B}px`) : p.style.top = `${ue}px`, document.body.appendChild(p);
576
+ p.innerText = K, p.style.left = `${ne + parseInt(Y / 2)}px`, ue < qr ? (p.classList.add("date-popover--bottom"), p.style.top = `${B}px`) : p.style.top = `${ue}px`, document.body.appendChild(p);
575
577
  }
576
578
  }
577
579
  }, H0 = (_) => {
578
- Ta(_.target) && k0();
580
+ Ma(_.target) && k0();
579
581
  }, g0 = {
580
582
  install(_) {
581
583
  _.removeEventListener("mouseover", N0), _.removeEventListener("mouseout", H0), _.addEventListener("mouseover", N0), _.addEventListener("mouseout", H0);
@@ -584,12 +586,12 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
584
586
  _ && (_.removeEventListener("mouseover", N0), _.removeEventListener("mouseout", H0), k0());
585
587
  },
586
588
  getHtml(_) {
587
- return _.replace(zr, "").replace(Ur, (K) => `<mark data-time="${C0[K]()}">${K}</mark>`);
589
+ return _.replace(Gr, "").replace(zr, (K) => `<mark data-time="${C0[K]()}">${K}</mark>`);
588
590
  },
589
591
  clear() {
590
592
  k0();
591
593
  }
592
- }, qr = {
594
+ }, Wr = {
593
595
  __name: "text",
594
596
  props: {
595
597
  content: {
@@ -615,7 +617,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
615
617
  },
616
618
  emits: ["change", "keydown", "focus", "blur"],
617
619
  setup(_, { expose: $, emit: K }) {
618
- const p = ba.create({
620
+ const p = wa.create({
619
621
  name: "dateMark",
620
622
  // 允许解析 mark 标签
621
623
  parseHTML() {
@@ -644,14 +646,14 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
644
646
  }
645
647
  };
646
648
  }
647
- }), ue = ot(), B = _, ne = K, Y = ot(!1);
649
+ }), ue = lt(), B = _, ne = K, Y = lt(!1);
648
650
  let pe = null, ce = null;
649
- const ie = za({
651
+ const ie = Ga({
650
652
  content: B.content,
651
653
  editable: !B.readOnly,
652
654
  enableInputRules: !1,
653
655
  extensions: [
654
- Za.configure({
656
+ Qa.configure({
655
657
  hardBreak: !1,
656
658
  bulletList: !1,
657
659
  listItem: !1,
@@ -659,12 +661,12 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
659
661
  history: B.history
660
662
  }),
661
663
  p,
662
- qa,
663
664
  Wa,
664
- Vr,
665
+ ja,
665
666
  Pr,
667
+ Ur,
666
668
  ...B.placeholder ? [
667
- ja.configure({
669
+ $a.configure({
668
670
  placeholder: B.placeholder
669
671
  })
670
672
  ] : []
@@ -676,7 +678,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
676
678
  },
677
679
  handleKeyDown(b, X) {
678
680
  const { selection: he, doc: W } = b.state, { from: z, to: ke } = he, Ye = W.content.size - 1, Ve = z === 1 && ke === 1, Je = z === Ye && ke === Ye;
679
- return dt.pos = z, // 回车,缩进,光标上下移动
681
+ return ot.pos = z, // 回车,缩进,光标上下移动
680
682
  ["Enter", "Tab", "ArrowUp", "ArrowDown"].includes(X.key) || // 行首生效: 删除,和光标左移到上一行仅在
681
683
  ["Backspace", "ArrowLeft"].includes(X.key) && Ve || // 行尾生效:光标右移到下一行
682
684
  ["ArrowRight"].includes(X.key) && Je ? (ne("keydown", X), !0) : !1;
@@ -686,7 +688,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
686
688
  ge();
687
689
  },
688
690
  onFocus({ editor: b }) {
689
- const X = dt.pos;
691
+ const X = ot.pos;
690
692
  typeof X == "number" && b.commands.setTextSelection(X || 0), ne("focus"), g0.clear();
691
693
  },
692
694
  onBlur({ editor: b }) {
@@ -746,7 +748,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
746
748
  focus: Te,
747
749
  bold: ve,
748
750
  color: Ae
749
- }), (b, X) => (tt(), Ut(We(Ga), {
751
+ }), (b, X) => (tt(), Ut(We(qa), {
750
752
  editor: We(ie),
751
753
  ref_key: "container",
752
754
  ref: ue,
@@ -754,7 +756,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
754
756
  onCompositionend: Dt(Ee, ["stop"])
755
757
  }, null, 8, ["editor"]));
756
758
  }
757
- }, Ma = {
759
+ }, Ra = {
758
760
  __name: "index",
759
761
  props: {
760
762
  data: {
@@ -777,7 +779,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
777
779
  },
778
780
  emits: ["change", "keydown", "focus", "remove"],
779
781
  setup(_, { expose: $, emit: K }) {
780
- const p = ot(null), ue = ot(null), B = _, ne = K;
782
+ const p = lt(null), ue = lt(null), B = _, ne = K;
781
783
  function Y(Te) {
782
784
  ne("keydown", Te);
783
785
  }
@@ -817,7 +819,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
817
819
  return $({
818
820
  focus,
819
821
  dispatch: Ee
820
- }), (Te, G) => _.data.type ? (tt(), Ut(We(Yr), {
822
+ }), (Te, G) => _.data.type ? (tt(), Ut(We(Vr), {
821
823
  key: `media-${_.data.type}`,
822
824
  ref_key: "mediaEditor",
823
825
  ref: ue,
@@ -827,7 +829,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
827
829
  onKeydown: Y,
828
830
  onFocus: pe,
829
831
  onRemove: ie
830
- }, null, 8, ["data", "readOnly"])) : (tt(), Ut(We(qr), {
832
+ }, null, 8, ["data", "readOnly"])) : (tt(), Ut(We(Wr), {
831
833
  key: "text",
832
834
  ref_key: "textEditor",
833
835
  ref: p,
@@ -839,10 +841,10 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
839
841
  onFocus: pe
840
842
  }, null, 8, ["content", "readOnly", "placeholder"]));
841
843
  }
842
- }, Wr = {
844
+ }, jr = {
843
845
  class: "node-div",
844
846
  ref: "row"
845
- }, jr = {
847
+ }, $r = {
846
848
  __name: "node",
847
849
  props: {
848
850
  node: {
@@ -874,16 +876,16 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
874
876
  setup(_, { emit: $ }) {
875
877
  const K = _, p = $;
876
878
  let ue = 0, B = null;
877
- const ne = ot(null);
879
+ const ne = lt(null);
878
880
  G0(() => {
879
881
  m0[K.node.uuid] = ne.value;
880
882
  }), _0(() => {
881
883
  delete m0[K.node.uuid], B && (clearTimeout(B), B = null);
882
884
  });
883
885
  const Y = e0(() => {
884
- const z = fa(K.node.tag_id, K.tags);
886
+ const z = va(K.node.tag_id, K.tags);
885
887
  return z.created_at ? z : null;
886
- }), pe = e0(() => va(Y.value)), ce = e0(() => {
888
+ }), pe = e0(() => ha(Y.value)), ce = e0(() => {
887
889
  const z = R0(K.node);
888
890
  return pe.value && z.finished;
889
891
  });
@@ -909,7 +911,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
909
911
  }
910
912
  function ge() {
911
913
  const z = K.node;
912
- dt.currentId = z.uuid, dt.isMobile && wa();
914
+ ot.currentId = z.uuid, ot.isMobile && ga();
913
915
  }
914
916
  function Ee(z, ...ke) {
915
917
  switch (z.key) {
@@ -943,7 +945,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
943
945
  function Te(z) {
944
946
  var Ye;
945
947
  const ke = K.node;
946
- z.preventDefault(), !((Ye = ke.children) != null && Ye.length) && (dt.pos = null, p("toPrevFocus", ke, !0), he());
948
+ z.preventDefault(), !((Ye = ke.children) != null && Ye.length) && (ot.pos = null, p("toPrevFocus", ke, !0), he());
947
949
  }
948
950
  function G(z) {
949
951
  p("tab", z, K.node);
@@ -960,22 +962,22 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
960
962
  uuid: zt()
961
963
  }, Ve = ke.text;
962
964
  if (typeof Ve == "string") {
963
- const { left: Je, right: Pe } = ya(Ve, dt.pos - 1);
965
+ const { left: Je, right: Pe } = xa(Ve, ot.pos - 1);
964
966
  ke.text = Je, Ye.text = Pe;
965
967
  }
966
968
  ke.children ? ke.children.unshift(Ye) : ke.children = [Ye], W(), Ht(() => {
967
- dt.pos = 0, p("toFocus", Ye);
969
+ ot.pos = 0, p("toFocus", Ye);
968
970
  });
969
971
  } else
970
972
  p("enter", ke);
971
973
  }
972
974
  function ve(z) {
973
975
  const ke = K.node;
974
- z.currentTarget && (dt.pos = null, p("toPrevFocus", ke, !0));
976
+ z.currentTarget && (ot.pos = null, p("toPrevFocus", ke, !0));
975
977
  }
976
978
  function Ae(z) {
977
979
  const ke = K.node;
978
- z.currentTarget && (dt.pos = 0, p("toNextFocus", ke, !0, !0));
980
+ z.currentTarget && (ot.pos = 0, p("toNextFocus", ke, !0, !0));
979
981
  }
980
982
  function b() {
981
983
  p("toNextFocus", K.node, !1, !0);
@@ -989,7 +991,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
989
991
  function W(z = K.node) {
990
992
  p("change", z);
991
993
  }
992
- return (z, ke) => (tt(), ut("div", Wr, [
994
+ return (z, ke) => (tt(), ct("div", jr, [
993
995
  Ze("span", {
994
996
  class: Ot(["node-icon", {
995
997
  "node-icon-todo": pe.value,
@@ -999,7 +1001,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
999
1001
  }, [
1000
1002
  Ze("span", {
1001
1003
  class: "node-circle",
1002
- style: Pt(We(ha)(Y.value, _.node))
1004
+ style: Pt(We(ma)(Y.value, _.node))
1003
1005
  }, null, 4),
1004
1006
  Ze("span", {
1005
1007
  class: "node-line",
@@ -1008,7 +1010,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
1008
1010
  })
1009
1011
  }, null, 4)
1010
1012
  ], 2),
1011
- bt(We(Ma), {
1013
+ bt(We(Ra), {
1012
1014
  ref_key: "editor",
1013
1015
  ref: ne,
1014
1016
  class: Ot({
@@ -1024,13 +1026,13 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
1024
1026
  }, null, 8, ["class", "readOnly", "data", "tags"])
1025
1027
  ], 512));
1026
1028
  }
1027
- }, ia = /* @__PURE__ */ t0(jr, [["__scopeId", "data-v-40ce1bbb"]]);
1028
- function Ra(_) {
1029
+ }, sa = /* @__PURE__ */ t0($r, [["__scopeId", "data-v-40ce1bbb"]]);
1030
+ function Ca(_) {
1029
1031
  var ne;
1030
1032
  let K = (((ne = _.target) == null ? void 0 : ne.querySelector(".node-div")) || _.target).getBoundingClientRect(), p = _.clientY, ue = K.top + K.height / 3, B = K.top + K.height / 3 * 2;
1031
1033
  return p < ue ? "top" : p < B ? "center" : "bottom";
1032
1034
  }
1033
- function $r(_) {
1035
+ function Xr(_) {
1034
1036
  return /<(img|audio|video)/.test(_.text) || _.type;
1035
1037
  }
1036
1038
  function z0() {
@@ -1038,18 +1040,18 @@ function z0() {
1038
1040
  document.querySelectorAll(`.${_}`).forEach(($) => $.classList.remove(_));
1039
1041
  });
1040
1042
  }
1041
- function Xr(_, $) {
1043
+ function Kr(_, $) {
1042
1044
  var ne;
1043
- const K = _.currentTarget, p = dt.dragId ? document.getElementById(dt.dragId) : null;
1044
- if (!K || dt.dragId === $.uuid || p != null && p.querySelector(`[id="${$.uuid}"]`)) {
1045
+ const K = _.currentTarget, p = ot.dragId ? document.getElementById(ot.dragId) : null;
1046
+ if (!K || ot.dragId === $.uuid || p != null && p.querySelector(`[id="${$.uuid}"]`)) {
1045
1047
  _.dataTransfer.dropEffect = "none";
1046
1048
  return;
1047
1049
  }
1048
1050
  z0();
1049
- const ue = Ra(_), B = (ne = K.querySelector(".node-div")) == null ? void 0 : ne.classList;
1051
+ const ue = Ca(_), B = (ne = K.querySelector(".node-div")) == null ? void 0 : ne.classList;
1050
1052
  B && B.add(`drag-over-${ue}`);
1051
1053
  }
1052
- function Kr(_) {
1054
+ function Zr(_) {
1053
1055
  const K = new DOMParser().parseFromString(_, "text/html"), p = K.querySelector("img"), ue = K.querySelector("video"), B = K.querySelector("audio");
1054
1056
  return p ? {
1055
1057
  type: "image",
@@ -1068,22 +1070,22 @@ function y0(_, $, K = !0) {
1068
1070
  (ue) => ue.uuid === _.uuid || (K ? y0(_, ue) : !1)
1069
1071
  ) : !1;
1070
1072
  }
1071
- const Zr = {
1073
+ const Qr = {
1072
1074
  key: 0,
1073
1075
  class: /* @__PURE__ */ Ot({
1074
1076
  "node-ul": !0,
1075
1077
  readOnly: !0,
1076
1078
  sublevel: !0
1077
1079
  })
1078
- }, Qr = ["id"], Jr = {
1080
+ }, Jr = ["id"], en = {
1079
1081
  key: 1,
1080
1082
  class: /* @__PURE__ */ Ot({
1081
1083
  "node-ul": !0,
1082
1084
  sublevel: !0
1083
1085
  })
1084
- }, en = ["id", "onDragstart", "onDragover", "onDragend", "onDrop", "onDragleave", "onPaste"], tn = {
1086
+ }, tn = ["id", "onDragstart", "onDragover", "onDragend", "onDrop", "onDragleave", "onPaste"], an = {
1085
1087
  name: "tree-editor"
1086
- }, an = /* @__PURE__ */ Object.assign(tn, {
1088
+ }, rn = /* @__PURE__ */ Object.assign(an, {
1087
1089
  props: {
1088
1090
  nodes: {
1089
1091
  type: Array,
@@ -1147,7 +1149,7 @@ const Zr = {
1147
1149
  xe.dataTransfer.setDragImage(Ue, 0, 0), ne && d0.off("dragEnd", ne), ne = () => {
1148
1150
  const He = p.nodes.filter((se) => se !== Me);
1149
1151
  et(He);
1150
- }, d0.on("dragEnd", ne), dt.dragId = Me.uuid;
1152
+ }, d0.on("dragEnd", ne), ot.dragId = Me.uuid;
1151
1153
  }
1152
1154
  function ie(xe) {
1153
1155
  xe.currentTarget.classList.remove("dragging"), document.querySelectorAll(".dragging-image").forEach((Ue) => Ue.remove()), ne && (d0.off("dragEnd", ne), ne = null);
@@ -1160,7 +1162,7 @@ const Zr = {
1160
1162
  z(Ue, Me);
1161
1163
  else {
1162
1164
  let e = xe.dataTransfer.getData("dragNode");
1163
- const r = Ra(xe);
1165
+ const r = Ca(xe);
1164
1166
  try {
1165
1167
  e = JSON.parse(e);
1166
1168
  } catch {
@@ -1174,7 +1176,7 @@ const Zr = {
1174
1176
  )
1175
1177
  return;
1176
1178
  let c = [...p.nodes];
1177
- if (c.find((v) => v.uuid === e.uuid) ? c = c.filter((v) => v.uuid !== e.uuid) : d0.emit("dragEnd"), dt.dragId = null, r === "center" && (Me.collapsed = !1, Me.children ? Me.children.push(e) : Me.children = [e], Ht(() => {
1179
+ if (c.find((v) => v.uuid === e.uuid) ? c = c.filter((v) => v.uuid !== e.uuid) : d0.emit("dragEnd"), ot.dragId = null, r === "center" && (Me.collapsed = !1, Me.children ? Me.children.push(e) : Me.children = [e], Ht(() => {
1178
1180
  et(c);
1179
1181
  })), r === "top") {
1180
1182
  const v = c.findIndex((k) => k === Me);
@@ -1212,7 +1214,7 @@ const Zr = {
1212
1214
  const T = () => {
1213
1215
  const r = Xt(Me);
1214
1216
  r && s0(r, se);
1215
- }, e = dt.isMobile ? 30 : 0;
1217
+ }, e = ot.isMobile ? 30 : 0;
1216
1218
  setTimeout(T, e);
1217
1219
  }
1218
1220
  function G(xe) {
@@ -1226,7 +1228,7 @@ const Zr = {
1226
1228
  const He = () => {
1227
1229
  W(Ue);
1228
1230
  };
1229
- dt.isMobile ? setTimeout(He, 100) : setTimeout(He, 200);
1231
+ ot.isMobile ? setTimeout(He, 100) : setTimeout(He, 200);
1230
1232
  }
1231
1233
  et(Me);
1232
1234
  }
@@ -1245,14 +1247,14 @@ const Zr = {
1245
1247
  function b(xe) {
1246
1248
  const Me = p.nodes.findIndex((r) => r.uuid === xe.uuid), Ue = [...p.nodes], He = { text: "", uuid: zt() }, se = xe.text;
1247
1249
  if (typeof se == "string") {
1248
- const { left: r, right: c } = ya(se, dt.pos - 1);
1250
+ const { left: r, right: c } = xa(se, ot.pos - 1);
1249
1251
  Ue[Me].text = r, He.text = c;
1250
1252
  }
1251
1253
  Ue.splice(Me + 1, 0, He), et(Ue);
1252
1254
  const T = () => {
1253
1255
  const r = Xt(He);
1254
- r && (dt.pos = 0, r.focus());
1255
- }, e = dt.isMobile ? 50 : 0;
1256
+ r && (ot.pos = 0, r.focus());
1257
+ }, e = ot.isMobile ? 50 : 0;
1256
1258
  setTimeout(T, e);
1257
1259
  }
1258
1260
  function X(xe, Me = !1) {
@@ -1273,7 +1275,7 @@ const Zr = {
1273
1275
  v
1274
1276
  );
1275
1277
  };
1276
- dt.isMobile ? r() : setTimeout(r, 0);
1278
+ ot.isMobile ? r() : setTimeout(r, 0);
1277
1279
  }
1278
1280
  }
1279
1281
  function he(xe, Me = !1, Ue = !1) {
@@ -1284,12 +1286,12 @@ const Zr = {
1284
1286
  };
1285
1287
  if (Ue && ((e = xe.children) != null && e.length) && !xe.collapsed) {
1286
1288
  const r = xe.children[0];
1287
- dt.isMobile ? T(r) : setTimeout(() => T(r), 0);
1289
+ ot.isMobile ? T(r) : setTimeout(() => T(r), 0);
1288
1290
  } else if (se + 1 >= p.nodes.length)
1289
1291
  ue("focusNext", !0);
1290
1292
  else {
1291
1293
  const r = p.nodes[se + 1];
1292
- dt.isMobile ? T(r) : setTimeout(() => T(r), 0);
1294
+ ot.isMobile ? T(r) : setTimeout(() => T(r), 0);
1293
1295
  }
1294
1296
  }
1295
1297
  function W(xe, Me = !1) {
@@ -1297,7 +1299,7 @@ const Zr = {
1297
1299
  const He = () => {
1298
1300
  const T = Xt(xe);
1299
1301
  T && s0(T, Ue, Me);
1300
- }, se = dt.isMobile ? 30 : 0;
1302
+ }, se = ot.isMobile ? 30 : 0;
1301
1303
  setTimeout(He, se);
1302
1304
  }
1303
1305
  function z(xe, Me, Ue = 0) {
@@ -1307,7 +1309,7 @@ const Zr = {
1307
1309
  const r = [...p.nodes];
1308
1310
  let c = r.findIndex((v) => v === Me);
1309
1311
  e.forEach((v, k) => {
1310
- Rr(Me) && k === 0 ? (v.uuid = Me.uuid, r.splice(c, 1, {
1312
+ Cr(Me) && k === 0 ? (v.uuid = Me.uuid, r.splice(c, 1, {
1311
1313
  ...v,
1312
1314
  uuid: Me.uuid,
1313
1315
  children: Me.children
@@ -1325,7 +1327,7 @@ const Zr = {
1325
1327
  return Me;
1326
1328
  }
1327
1329
  function Ye(xe, Me = !1, Ue = p.nodes) {
1328
- const He = dt.currentId, se = [...Ue];
1330
+ const He = ot.currentId, se = [...Ue];
1329
1331
  if (!Me && (!He || !document.getElementById(He))) {
1330
1332
  const e = se[se.length - 1];
1331
1333
  !(e != null && e.type) && !e.text ? se[se.length - 1] = {
@@ -1361,8 +1363,8 @@ const Zr = {
1361
1363
  function Pe() {
1362
1364
  let xe = !1;
1363
1365
  p.nodes.forEach((Me) => {
1364
- if (Me.uuid || (Me.uuid = zt(), xe = !0), $r(Me) && !Me.type) {
1365
- const Ue = Kr(Me.text);
1366
+ if (Me.uuid || (Me.uuid = zt(), xe = !0), Xr(Me) && !Me.type) {
1367
+ const Ue = Zr(Me.text);
1366
1368
  Ue && (Me.type = Ue.type, Me.content = Ue.content), xe = !0;
1367
1369
  }
1368
1370
  }), xe && et();
@@ -1378,10 +1380,10 @@ const Zr = {
1378
1380
  ue("change", [...xe]);
1379
1381
  }
1380
1382
  return (xe, Me) => {
1381
- const Ue = Oa("tree-editor");
1382
- return _.readOnly ? (tt(), ut("div", Zr, [
1383
+ const Ue = Fa("tree-editor");
1384
+ return _.readOnly ? (tt(), ct("div", Qr, [
1383
1385
  Ze("ul", null, [
1384
- (tt(!0), ut(S0, null, T0(_.nodes, (He) => (tt(), ut("li", {
1386
+ (tt(!0), ct(S0, null, T0(_.nodes, (He) => (tt(), ct("li", {
1385
1387
  key: He.uuid,
1386
1388
  id: `${He.uuid}`,
1387
1389
  class: Ot({
@@ -1390,7 +1392,7 @@ const Zr = {
1390
1392
  "has-child": !!(He.children || []).length
1391
1393
  })
1392
1394
  }, [
1393
- bt(We(ia), {
1395
+ bt(We(sa), {
1394
1396
  readOnly: "",
1395
1397
  tags: _.tags,
1396
1398
  node: He,
@@ -1403,11 +1405,11 @@ const Zr = {
1403
1405
  nodes: He.children,
1404
1406
  sublevel: !0
1405
1407
  }, null, 8, ["onChange", "nodes"])) : Tt("", !0)
1406
- ], 10, Qr))), 128))
1408
+ ], 10, Jr))), 128))
1407
1409
  ])
1408
- ])) : (tt(), ut("div", Jr, [
1410
+ ])) : (tt(), ct("div", en, [
1409
1411
  Ze("ul", null, [
1410
- (tt(!0), ut(S0, null, T0(_.nodes, (He) => (tt(), ut("li", {
1412
+ (tt(!0), ct(S0, null, T0(_.nodes, (He) => (tt(), ct("li", {
1411
1413
  key: He.uuid,
1412
1414
  id: `${He.uuid}`,
1413
1415
  ref_for: !0,
@@ -1419,13 +1421,13 @@ const Zr = {
1419
1421
  "has-child": !!(He.children || []).length
1420
1422
  }),
1421
1423
  onDragstart: Dt((se) => ce(se, He), ["stop"]),
1422
- onDragover: Dt((se) => We(Xr)(se, He), ["stop", "prevent"]),
1424
+ onDragover: Dt((se) => We(Kr)(se, He), ["stop", "prevent"]),
1423
1425
  onDragend: Dt((se) => ie(se), ["stop", "prevent"]),
1424
1426
  onDrop: Dt((se) => ge(se, He), ["stop"]),
1425
1427
  onDragleave: Dt((se) => We(z0)(se, He), ["stop"]),
1426
1428
  onPaste: Dt((se) => Ee(se, He), ["stop"])
1427
1429
  }, [
1428
- (tt(), Ut(We(ia), {
1430
+ (tt(), Ut(We(sa), {
1429
1431
  key: `${He.uuid}-${He.type || "text"}`,
1430
1432
  node: He,
1431
1433
  tags: _.tags,
@@ -1451,12 +1453,12 @@ const Zr = {
1451
1453
  onFileUpload: Me[0] || (Me[0] = (...se) => xe.$emit("fileUpload", ...se)),
1452
1454
  onDbEnter: Ae
1453
1455
  }, null, 8, ["nodes", "tags", "enableDbEnter", "onChange", "onFocusPrev", "onFocusNext", "onTransfer"])) : Tt("", !0)
1454
- ], 42, en))), 128))
1456
+ ], 42, tn))), 128))
1455
1457
  ])
1456
1458
  ]));
1457
1459
  };
1458
1460
  }
1459
- }), rn = /* @__PURE__ */ t0(an, [["__scopeId", "data-v-dc61c4c0"]]), nn = { class: "record-tree-title-bar" }, sn = ["onClick"], on = {
1461
+ }), nn = /* @__PURE__ */ t0(rn, [["__scopeId", "data-v-dc61c4c0"]]), sn = { class: "record-tree-title-bar" }, on = ["onClick"], ln = {
1460
1462
  __name: "index",
1461
1463
  props: {
1462
1464
  readOnly: {
@@ -1503,9 +1505,9 @@ const Zr = {
1503
1505
  // 图标定位left值
1504
1506
  tagT: "3px"
1505
1507
  // 图标定位top值
1506
- }, ue = ot(null), B = _, ne = K;
1508
+ }, ue = lt(null), B = _, ne = K;
1507
1509
  $({ focus: Ee });
1508
- const Y = ot(null), pe = W0() === "mobile", ce = ot(!1), ie = e0(() => {
1510
+ const Y = lt(null), pe = W0() === "mobile", ce = lt(!1), ie = e0(() => {
1509
1511
  try {
1510
1512
  const W = JSON.parse(B.note.title);
1511
1513
  if (typeof W != "object")
@@ -1517,8 +1519,8 @@ const Zr = {
1517
1519
  };
1518
1520
  }
1519
1521
  }), ge = e0(() => {
1520
- const W = fa(B.note.tag_id, B.tags), z = R0(B.note);
1521
- return va(W) && z.finished;
1522
+ const W = va(B.note.tag_id, B.tags), z = R0(B.note);
1523
+ return ha(W) && z.finished;
1522
1524
  });
1523
1525
  Wt(
1524
1526
  () => {
@@ -1543,7 +1545,7 @@ const Zr = {
1543
1545
  z.tag_id === ke ? delete z.tag_id : z.tag_id = ke, ne("change", z.title, z);
1544
1546
  }
1545
1547
  function G() {
1546
- dt.currentId = "tree_title", pe && wa(!1);
1548
+ ot.currentId = "tree_title", pe && ga(!1);
1547
1549
  }
1548
1550
  function q(W) {
1549
1551
  if (W.type)
@@ -1586,9 +1588,9 @@ const Zr = {
1586
1588
  }
1587
1589
  }
1588
1590
  async function he(W) {
1589
- const z = ma(W.type), ke = URL.createObjectURL(W);
1591
+ const z = _a(W.type), ke = URL.createObjectURL(W);
1590
1592
  let Ye = {};
1591
- switch ((z.mainType === "image" || z.mainType === "video") && (Ye = await _a(W, z.mainType)), z.mainType) {
1593
+ switch ((z.mainType === "image" || z.mainType === "video") && (Ye = await pa(W, z.mainType)), z.mainType) {
1592
1594
  case "image":
1593
1595
  case "audio":
1594
1596
  case "video":
@@ -1606,7 +1608,7 @@ const Zr = {
1606
1608
  size: W.size
1607
1609
  });
1608
1610
  }
1609
- pa.uploadFile([W], (Ve, Je) => {
1611
+ ba.uploadFile([W], (Ve, Je) => {
1610
1612
  if (Je) {
1611
1613
  const Pe = Je[0];
1612
1614
  Pe.code === 0 && q({
@@ -1616,8 +1618,8 @@ const Zr = {
1616
1618
  }
1617
1619
  });
1618
1620
  }
1619
- return (W, z) => (tt(), ut("div", nn, [
1620
- _.tags.length ? (tt(), Ut(We(da), { key: 0 }, ca({
1621
+ return (W, z) => (tt(), ct("div", sn, [
1622
+ _.tags.length ? (tt(), Ut(We(fa), { key: 0 }, da({
1621
1623
  default: M0(() => [
1622
1624
  Ze("span", {
1623
1625
  class: "record-tree-popper-reference",
@@ -1626,7 +1628,7 @@ const Zr = {
1626
1628
  left: p.tagL,
1627
1629
  width: p.tagSize + "px",
1628
1630
  height: p.tagSize + "px",
1629
- ...We(Pa)(_.note.tag_id, _.tags, _.note)
1631
+ ...We(Ua)(_.note.tag_id, _.tags, _.note)
1630
1632
  })
1631
1633
  }, null, 4)
1632
1634
  ]),
@@ -1639,7 +1641,7 @@ const Zr = {
1639
1641
  class: "record-tree-popper-content",
1640
1642
  style: Pt({ width: p.popW, height: p.popH })
1641
1643
  }, [
1642
- (tt(!0), ut(S0, null, T0(_.tags, (ke) => (tt(), ut("span", {
1644
+ (tt(!0), ct(S0, null, T0(_.tags, (ke) => (tt(), ct("span", {
1643
1645
  class: Ot(["record-tree-popper-content-item", {
1644
1646
  active: _.note.tag_id === ke.created_at
1645
1647
  }]),
@@ -1651,16 +1653,16 @@ const Zr = {
1651
1653
  style: Pt({
1652
1654
  width: p.tagSize + "px",
1653
1655
  height: p.tagSize + "px",
1654
- ...We(ha)(ke)
1656
+ ...We(ma)(ke)
1655
1657
  })
1656
1658
  }, null, 4)
1657
- ], 10, sn))), 128))
1659
+ ], 10, on))), 128))
1658
1660
  ], 4)
1659
1661
  ]),
1660
1662
  key: "0"
1661
1663
  }
1662
1664
  ]), 1024)) : Tt("", !0),
1663
- bt(We(Ma), {
1665
+ bt(We(Ra), {
1664
1666
  id: "tree_title",
1665
1667
  ref_key: "recordTitle",
1666
1668
  ref: ue,
@@ -1686,7 +1688,7 @@ var pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1686
1688
  function j0(_) {
1687
1689
  return _ && _.__esModule && Object.prototype.hasOwnProperty.call(_, "default") ? _.default : _;
1688
1690
  }
1689
- function ln(_) {
1691
+ function un(_) {
1690
1692
  if (_.__esModule)
1691
1693
  return _;
1692
1694
  var $ = _.default;
@@ -1707,26 +1709,26 @@ function ln(_) {
1707
1709
  });
1708
1710
  }), K;
1709
1711
  }
1710
- var Ca = { exports: {} };
1711
- function un(_) {
1712
+ var ka = { exports: {} };
1713
+ function cn(_) {
1712
1714
  throw new Error('Could not dynamically require "' + _ + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1713
1715
  }
1714
1716
  var Y0 = { exports: {} };
1715
- const cn = {}, dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1717
+ const dn = {}, fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1716
1718
  __proto__: null,
1717
- default: cn
1718
- }, Symbol.toStringTag, { value: "Module" })), fn = /* @__PURE__ */ ln(dn);
1719
- var sa;
1719
+ default: dn
1720
+ }, Symbol.toStringTag, { value: "Module" })), vn = /* @__PURE__ */ un(fn);
1721
+ var oa;
1720
1722
  function A0() {
1721
- return sa || (sa = 1, function(_, $) {
1723
+ return oa || (oa = 1, function(_, $) {
1722
1724
  (function(K, p) {
1723
1725
  _.exports = p();
1724
1726
  })(pt, function() {
1725
1727
  var K = K || function(p, ue) {
1726
1728
  var B;
1727
- if (typeof window < "u" && window.crypto && (B = window.crypto), typeof self < "u" && self.crypto && (B = self.crypto), typeof globalThis < "u" && globalThis.crypto && (B = globalThis.crypto), !B && typeof window < "u" && window.msCrypto && (B = window.msCrypto), !B && typeof pt < "u" && pt.crypto && (B = pt.crypto), !B && typeof un == "function")
1729
+ if (typeof window < "u" && window.crypto && (B = window.crypto), typeof self < "u" && self.crypto && (B = self.crypto), typeof globalThis < "u" && globalThis.crypto && (B = globalThis.crypto), !B && typeof window < "u" && window.msCrypto && (B = window.msCrypto), !B && typeof pt < "u" && pt.crypto && (B = pt.crypto), !B && typeof cn == "function")
1728
1730
  try {
1729
- B = fn;
1731
+ B = vn;
1730
1732
  } catch {
1731
1733
  }
1732
1734
  var ne = function() {
@@ -2217,9 +2219,9 @@ function A0() {
2217
2219
  });
2218
2220
  }(Y0)), Y0.exports;
2219
2221
  }
2220
- var V0 = { exports: {} }, oa;
2221
- function vn() {
2222
- return oa || (oa = 1, function(_, $) {
2222
+ var V0 = { exports: {} }, la;
2223
+ function hn() {
2224
+ return la || (la = 1, function(_, $) {
2223
2225
  (function(K, p) {
2224
2226
  _.exports = p(A0());
2225
2227
  })(pt, function(K) {
@@ -2269,9 +2271,9 @@ function vn() {
2269
2271
  });
2270
2272
  }(V0)), V0.exports;
2271
2273
  }
2272
- var P0 = { exports: {} }, la;
2273
- function hn() {
2274
- return la || (la = 1, function(_, $) {
2274
+ var P0 = { exports: {} }, ua;
2275
+ function mn() {
2276
+ return ua || (ua = 1, function(_, $) {
2275
2277
  (function(K, p) {
2276
2278
  _.exports = p(A0());
2277
2279
  })(pt, function(K) {
@@ -2349,14 +2351,14 @@ function hn() {
2349
2351
  }
2350
2352
  (function(_, $) {
2351
2353
  (function(K, p, ue) {
2352
- _.exports = p(A0(), vn(), hn());
2354
+ _.exports = p(A0(), hn(), mn());
2353
2355
  })(pt, function(K) {
2354
2356
  return K.HmacSHA256;
2355
2357
  });
2356
- })(Ca);
2357
- var mn = Ca.exports;
2358
- const _n = /* @__PURE__ */ j0(mn);
2359
- var ka = { exports: {} };
2358
+ })(ka);
2359
+ var _n = ka.exports;
2360
+ const pn = /* @__PURE__ */ j0(_n);
2361
+ var Aa = { exports: {} };
2360
2362
  (function(_, $) {
2361
2363
  (function(K, p) {
2362
2364
  _.exports = p(A0());
@@ -2428,33 +2430,33 @@ var ka = { exports: {} };
2428
2430
  }
2429
2431
  }(), K.enc.Base64;
2430
2432
  });
2431
- })(ka);
2432
- var pn = ka.exports;
2433
- const bn = /* @__PURE__ */ j0(pn);
2434
- let Gt, i0 = "", x0 = "", Aa = null;
2435
- function wn() {
2433
+ })(Aa);
2434
+ var bn = Aa.exports;
2435
+ const wn = /* @__PURE__ */ j0(bn);
2436
+ let Gt, i0 = "", x0 = "", Ba = null;
2437
+ function gn() {
2436
2438
  var _ = "wss://iat-api.xfyun.cn/v2/iat", $ = "iat-api.xfyun.cn", K = "4f2bbe08d7ee54da888cfd009514e89f", p = "NTc3MWNlNDNiZWFmMGM2Yzk0ZjRlZjdi", ue = (/* @__PURE__ */ new Date()).toGMTString(), B = "hmac-sha256", ne = "host date request-line", Y = `host: ${$}
2437
2439
  date: ${ue}
2438
- GET /v2/iat HTTP/1.1`, pe = _n(Y, p), ce = bn.stringify(pe), ie = `api_key="${K}", algorithm="${B}", headers="${ne}", signature="${ce}"`, ge = btoa(ie);
2440
+ GET /v2/iat HTTP/1.1`, pe = pn(Y, p), ce = wn.stringify(pe), ie = `api_key="${K}", algorithm="${B}", headers="${ne}", signature="${ce}"`, ge = btoa(ie);
2439
2441
  return _ = `${_}?authorization=${ge}&date=${ue}&host=${$}`, _;
2440
2442
  }
2441
- function gn(_) {
2443
+ function yn(_) {
2442
2444
  for (var $ = "", K = new Uint8Array(_), p = K.byteLength, ue = 0; ue < p; ue++)
2443
2445
  $ += String.fromCharCode(K[ue]);
2444
2446
  return $;
2445
2447
  }
2446
- function yn(_) {
2448
+ function xn(_) {
2447
2449
  let $ = JSON.parse(_);
2448
2450
  if ($.data && $.data.result) {
2449
2451
  let K = $.data.result, p = "", ue = K.ws;
2450
2452
  for (let B = 0; B < ue.length; B++)
2451
2453
  p = p + ue[B].cw[0].w;
2452
- K.pgs ? (K.pgs === "apd" && (i0 = x0), x0 = i0 + p) : i0 = i0 + p, Aa(x0 || i0 || "");
2454
+ K.pgs ? (K.pgs === "apd" && (i0 = x0), x0 = i0 + p) : i0 = i0 + p, Ba(x0 || i0 || "");
2453
2455
  }
2454
2456
  $.code === 0 && $.data.status === 2 && Gt.close(), $.code !== 0 && (Gt.close(), console.error($));
2455
2457
  }
2456
- function xn(_) {
2457
- const $ = wn();
2458
+ function Sn(_) {
2459
+ const $ = gn();
2458
2460
  Gt = new WebSocket($), Gt.onopen = () => {
2459
2461
  var K = {
2460
2462
  common: {
@@ -2475,16 +2477,16 @@ function xn(_) {
2475
2477
  };
2476
2478
  Gt.send(JSON.stringify(K)), _();
2477
2479
  }, Gt.onmessage = (K) => {
2478
- yn(K.data);
2480
+ xn(K.data);
2479
2481
  }, Gt.onerror = (K) => {
2480
2482
  console.error(K);
2481
2483
  };
2482
2484
  }
2483
- function Sn(_, $) {
2484
- Gt = null, i0 = "", x0 = "", Aa = $, xn(() => {
2485
+ function Tn(_, $) {
2486
+ Gt = null, i0 = "", x0 = "", Ba = $, Sn(() => {
2485
2487
  const K = new FileReader();
2486
2488
  K.readAsArrayBuffer(_), K.onload = (p) => {
2487
- const ue = gn(p.target.result);
2489
+ const ue = yn(p.target.result);
2488
2490
  let B = 0;
2489
2491
  for (; B < ue.length; ) {
2490
2492
  const ne = ue.substring(B, B + 1280);
@@ -2506,7 +2508,7 @@ function Sn(_, $) {
2506
2508
  };
2507
2509
  });
2508
2510
  }
2509
- var Ba = { exports: {} };
2511
+ var Ea = { exports: {} };
2510
2512
  (function(_) {
2511
2513
  (function($) {
2512
2514
  var K = typeof window == "object" && !!window.document, p = K ? window : Object;
@@ -3338,9 +3340,9 @@ var Ba = { exports: {} };
3338
3340
  };
3339
3341
  G && (Ve(se("8HO5::覆盖导入{1}", 0, pe), 1), G.Destroy()), $[pe] = B;
3340
3342
  });
3341
- })(Ba);
3342
- var Tn = Ba.exports;
3343
- const U0 = /* @__PURE__ */ j0(Tn);
3343
+ })(Ea);
3344
+ var Mn = Ea.exports;
3345
+ const U0 = /* @__PURE__ */ j0(Mn);
3344
3346
  (function(_) {
3345
3347
  var $ = typeof window == "object" && !!window.document, K = $ ? window : Object, p = K.Recorder, ue = p.i18n;
3346
3348
  _(p, ue, ue.$T, $);
@@ -10494,7 +10496,7 @@ const U0 = /* @__PURE__ */ j0(Tn);
10494
10496
  -0.313819 * 2
10495
10497
  ];
10496
10498
  this.L3psycho_anal_ns = function(de, P, oe, je, qe, Ce, ze, Ge, $e, st) {
10497
- var Xe = de.internal_flags, yt = ce([2, s.BLKSIZE]), ft = ce([2, 3, s.BLKSIZE_s]), wt = Y(s.CBANDS + 1), Rt = Y(s.CBANDS + 1), vt = Y(s.CBANDS + 2), it = ne(2), _t = ne(2), Lt, Ke, lt, rt, St, jt, Ft, mt, p0 = ce([2, 576]), Yt, Kt = ne(s.CBANDS + 2), a0 = ne(s.CBANDS + 2);
10499
+ var Xe = de.internal_flags, yt = ce([2, s.BLKSIZE]), ft = ce([2, 3, s.BLKSIZE_s]), wt = Y(s.CBANDS + 1), Rt = Y(s.CBANDS + 1), vt = Y(s.CBANDS + 2), it = ne(2), _t = ne(2), Lt, Ke, ut, rt, St, jt, Ft, mt, p0 = ce([2, 576]), Yt, Kt = ne(s.CBANDS + 2), a0 = ne(s.CBANDS + 2);
10498
10500
  for (Te.fill(a0, 0), Lt = Xe.channels_out, de.mode == X.JOINT_STEREO && (Lt = 4), de.VBR == b.vbr_off ? Yt = Xe.ResvMax == 0 ? 0 : Xe.ResvSize / Xe.ResvMax * 0.5 : de.VBR == b.vbr_rh || de.VBR == b.vbr_mtrh || de.VBR == b.vbr_mt ? Yt = 0.6 : Yt = 1, Ke = 0; Ke < Xe.channels_out; Ke++) {
10499
10501
  var o0 = P[Ke], l0 = oe + 576 - 350 - H + 192;
10500
10502
  for (rt = 0; rt < 576; rt++) {
@@ -10513,7 +10515,7 @@ const U0 = /* @__PURE__ */ j0(Tn);
10513
10515
  {
10514
10516
  var aa = p0[Ke & 1], u0 = 0;
10515
10517
  for (rt = 0; rt < 9; rt++) {
10516
- for (var La = u0 + 64, It = 1; u0 < La; u0++)
10518
+ for (var Ia = u0 + 64, It = 1; u0 < Ia; u0++)
10517
10519
  It < Math.abs(aa[u0]) && (It = Math.abs(aa[u0]));
10518
10520
  Xe.nsPsy.last_en_subshort[Ke][rt] = Vt[rt + 3] = It, $t[1 + rt / 3] += It, It > Vt[rt + 3 - 2] ? It = It / Vt[rt + 3 - 2] : Vt[rt + 3 - 2] > It * 10 ? It = Vt[rt + 3 - 2] / (It * 10) : It = 0, D0[rt + 3] = It;
10519
10521
  }
@@ -10565,23 +10567,23 @@ const U0 = /* @__PURE__ */ j0(Tn);
10565
10567
  I0 = Vt[mt * 3 + 3] + Vt[mt * 3 + 4] + Vt[mt * 3 + 5], Vt[mt * 3 + 5] * 6 < I0 && (Nt *= 0.5, Vt[mt * 3 + 4] * 6 < I0 && (Nt *= 0.5)), Xe.thm[Ke].s[Ft][mt] = Nt;
10566
10568
  }
10567
10569
  }
10568
- for (Xe.nsPsy.lastAttacks[Ke] = Bt[2], jt = 0, lt = 0; lt < Xe.npart_l; lt++) {
10569
- for (var Zt = Xe.s3ind[lt][0], O0 = wt[Zt] * i[Kt[Zt]], Qt = Xe.s3_ll[jt++] * O0; ++Zt <= Xe.s3ind[lt][1]; )
10570
+ for (Xe.nsPsy.lastAttacks[Ke] = Bt[2], jt = 0, ut = 0; ut < Xe.npart_l; ut++) {
10571
+ for (var Zt = Xe.s3ind[ut][0], O0 = wt[Zt] * i[Kt[Zt]], Qt = Xe.s3_ll[jt++] * O0; ++Zt <= Xe.s3ind[ut][1]; )
10570
10572
  O0 = wt[Zt] * i[Kt[Zt]], Qt = R(
10571
10573
  Qt,
10572
10574
  Xe.s3_ll[jt++] * O0,
10573
10575
  Zt,
10574
- Zt - lt,
10576
+ Zt - ut,
10575
10577
  Xe
10576
10578
  );
10577
- Qt *= 0.158489319246111, Xe.blocktype_old[Ke & 1] == s.SHORT_TYPE ? vt[lt] = Qt : vt[lt] = O(
10578
- Math.min(Qt, Math.min(x * Xe.nb_1[Ke][lt], m * Xe.nb_2[Ke][lt])),
10579
+ Qt *= 0.158489319246111, Xe.blocktype_old[Ke & 1] == s.SHORT_TYPE ? vt[ut] = Qt : vt[ut] = O(
10580
+ Math.min(Qt, Math.min(x * Xe.nb_1[Ke][ut], m * Xe.nb_2[Ke][ut])),
10579
10581
  Qt,
10580
10582
  Yt
10581
- ), Xe.nb_2[Ke][lt] = Xe.nb_1[Ke][lt], Xe.nb_1[Ke][lt] = Qt;
10583
+ ), Xe.nb_2[Ke][ut] = Xe.nb_1[Ke][ut], Xe.nb_1[Ke][ut] = Qt;
10582
10584
  }
10583
- for (; lt <= s.CBANDS; ++lt)
10584
- wt[lt] = 0, vt[lt] = 0;
10585
+ for (; ut <= s.CBANDS; ++ut)
10586
+ wt[ut] = 0, vt[ut] = 0;
10585
10587
  a(Xe, wt, vt, Ke);
10586
10588
  }
10587
10589
  for ((de.mode == X.STEREO || de.mode == X.JOINT_STEREO) && p(), de.mode == X.JOINT_STEREO && p(), ee(de, _t, st, it), Ke = 0; Ke < Lt; Ke++) {
@@ -10613,11 +10615,11 @@ const U0 = /* @__PURE__ */ j0(Tn);
10613
10615
  }
10614
10616
  }
10615
10617
  ft[vt] = Ge * it;
10616
- for (var lt = 0; lt < yt; lt++) {
10618
+ for (var ut = 0; ut < yt; ut++) {
10617
10619
  var rt, St, jt, Ft, mt;
10618
- jt = st[lt], Ft = st[lt + 1], rt = 0 | Math.floor(0.5 + Xe * (jt - 0.5)), rt < 0 && (rt = 0), St = 0 | Math.floor(0.5 + Xe * (Ft - 0.5)), St > $e / 2 && (St = $e / 2), oe[lt] = (Rt[rt] + Rt[St]) / 2, P[lt] = Rt[St];
10620
+ jt = st[ut], Ft = st[ut + 1], rt = 0 | Math.floor(0.5 + Xe * (jt - 0.5)), rt < 0 && (rt = 0), St = 0 | Math.floor(0.5 + Xe * (Ft - 0.5)), St > $e / 2 && (St = $e / 2), oe[ut] = (Rt[rt] + Rt[St]) / 2, P[ut] = Rt[St];
10619
10621
  var p0 = wt * Ft;
10620
- ze[lt] = (p0 - ft[P[lt]]) / (ft[P[lt] + 1] - ft[P[lt]]), ze[lt] < 0 ? ze[lt] = 0 : ze[lt] > 1 && (ze[lt] = 1), mt = kt(Ge * st[lt] * Xe), mt = Math.min(mt, 15.5) / 15.5, Ce[lt] = Math.pow(
10622
+ ze[ut] = (p0 - ft[P[ut]]) / (ft[P[ut] + 1] - ft[P[ut]]), ze[ut] < 0 ? ze[ut] = 0 : ze[ut] > 1 && (ze[ut] = 1), mt = kt(Ge * st[ut] * Xe), mt = Math.min(mt, 15.5) / 15.5, Ce[ut] = Math.pow(
10621
10623
  10,
10622
10624
  1.25 * (1 - Math.cos(Math.PI * mt)) - 2.5
10623
10625
  );
@@ -10718,8 +10720,8 @@ const U0 = /* @__PURE__ */ j0(Tn);
10718
10720
  var _t;
10719
10721
  _t = Ae.MAX_VALUE;
10720
10722
  for (var Lt = 0; Lt < P.numlines_l[oe]; Lt++, it++) {
10721
- var Ke = wt * it / (1e3 * s.BLKSIZE), lt;
10722
- lt = this.ATHformula(Ke * 1e3, de) - 20, lt = Math.pow(10, 0.1 * lt), lt *= P.numlines_l[oe], _t > lt && (_t = lt);
10723
+ var Ke = wt * it / (1e3 * s.BLKSIZE), ut;
10724
+ ut = this.ATHformula(Ke * 1e3, de) - 20, ut = Math.pow(10, 0.1 * ut), ut *= P.numlines_l[oe], _t > ut && (_t = ut);
10723
10725
  }
10724
10726
  P.ATH.cb_l[oe] = _t, _t = -20 + Xe[oe] * 20 / 10, _t > 6 && (_t = 100), _t < -15 && (_t = -15), _t -= 8, P.minval_l[oe] = Math.pow(10, _t / 10) * P.numlines_l[oe];
10725
10727
  }
@@ -10740,8 +10742,8 @@ const U0 = /* @__PURE__ */ j0(Tn);
10740
10742
  var _t, vt = $e;
10741
10743
  Xe[oe] >= qe && (vt = st * (Xe[oe] - qe) / (Ce - qe) + $e * (Ce - Xe[oe]) / (Ce - qe)), ft[oe] = Math.pow(10, vt / 10), _t = Ae.MAX_VALUE;
10742
10744
  for (var Lt = 0; Lt < P.numlines_s[oe]; Lt++, it++) {
10743
- var Ke = wt * it / (1e3 * s.BLKSIZE_s), lt;
10744
- lt = this.ATHformula(Ke * 1e3, de) - 20, lt = Math.pow(10, 0.1 * lt), lt *= P.numlines_s[oe], _t > lt && (_t = lt);
10745
+ var Ke = wt * it / (1e3 * s.BLKSIZE_s), ut;
10746
+ ut = this.ATHformula(Ke * 1e3, de) - 20, ut = Math.pow(10, 0.1 * ut), ut *= P.numlines_s[oe], _t > ut && (_t = ut);
10745
10747
  }
10746
10748
  P.ATH.cb_s[oe] = _t, _t = -7 + Xe[oe] * 7 / 12, Xe[oe] > 12 && (_t *= 1 + Math.log(1 + _t) * 3.1), Xe[oe] < 12 && (_t *= 1 + Math.log(1 - _t) * 2.3), _t < -15 && (_t = -15), _t -= 8, P.minval_s[oe] = Math.pow(10, _t / 10) * P.numlines_s[oe];
10747
10749
  }
@@ -11374,19 +11376,19 @@ const U0 = /* @__PURE__ */ j0(Tn);
11374
11376
  }
11375
11377
  }, _[B] = ue;
11376
11378
  });
11377
- const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11379
+ const Da = (_) => (Na("data-v-e59bd63b"), _ = _(), Ha(), _), Rn = {
11378
11380
  key: 0,
11379
11381
  class: "record-audio-mobile"
11380
- }, Rn = /* @__PURE__ */ Ea(() => /* @__PURE__ */ Ze("div", { class: "recwave" }, null, -1)), Cn = {
11382
+ }, Cn = /* @__PURE__ */ Da(() => /* @__PURE__ */ Ze("div", { class: "recwave" }, null, -1)), kn = {
11381
11383
  key: 1,
11382
11384
  class: "record-audio"
11383
- }, kn = { class: "main" }, An = /* @__PURE__ */ Ea(() => /* @__PURE__ */ Ze("div", { class: "recwave" }, null, -1)), Bn = { class: "duration" }, En = {
11385
+ }, An = { class: "main" }, Bn = /* @__PURE__ */ Da(() => /* @__PURE__ */ Ze("div", { class: "recwave" }, null, -1)), En = { class: "duration" }, Dn = {
11384
11386
  key: 0,
11385
11387
  class: "audio-item"
11386
- }, Dn = ["src"], Ln = {
11388
+ }, Ln = ["src"], In = {
11387
11389
  key: 1,
11388
11390
  class: "audio-text"
11389
- }, In = { class: "buttons" }, On = {
11391
+ }, On = { class: "buttons" }, Fn = {
11390
11392
  __name: "audio",
11391
11393
  props: {
11392
11394
  responsive: {
@@ -11396,9 +11398,9 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11396
11398
  },
11397
11399
  emits: ["finish", "cancel"],
11398
11400
  setup(_, { emit: $ }) {
11399
- const K = _, p = $, ue = ot(null), B = ot(null), ne = ot(!1), Y = ot(!1), pe = ot(null), ce = ot(null), ie = ot("00:00"), ge = ot("100vw"), Ee = ot("");
11401
+ const K = _, p = $, ue = lt(null), B = lt(null), ne = lt(!1), Y = lt(!1), pe = lt(null), ce = lt(null), ie = lt("00:00"), ge = lt("100vw"), Ee = lt("");
11400
11402
  function Te() {
11401
- ge.value = dt.isMobile || K.responsive ? "100vw" : `${document.querySelector(".record-tree").clientWidth}px`, ue.value = U0({
11403
+ ge.value = ot.isMobile || K.responsive ? "100vw" : `${document.querySelector(".record-tree").clientWidth}px`, ue.value = U0({
11402
11404
  //本配置参数请参考下面的文档,有详细介绍
11403
11405
  type: "mp3",
11404
11406
  sampleRate: 16e3,
@@ -11435,7 +11437,7 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11435
11437
  function ve() {
11436
11438
  ue.value.stop(
11437
11439
  (W, z) => {
11438
- Y.value = !1, pe.value = window.URL.createObjectURL(W), ie.value = G(z), ce.value = W, dt.isMobile && Ae();
11440
+ Y.value = !1, pe.value = window.URL.createObjectURL(W), ie.value = G(z), ce.value = W, ot.isMobile && Ae();
11439
11441
  },
11440
11442
  (W) => {
11441
11443
  console.log("录音失败:" + W), Y.value = !1, pe.value = null, ce.value = null, ie.value = "00:00";
@@ -11460,18 +11462,18 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11460
11462
  type: ce.value.type,
11461
11463
  lastModified: z
11462
11464
  });
11463
- Sn(Ye, (Ve) => {
11465
+ Tn(Ye, (Ve) => {
11464
11466
  Ee.value = Ve;
11465
11467
  });
11466
11468
  }
11467
- return (W, z) => (tt(), ut("div", {
11469
+ return (W, z) => (tt(), ct("div", {
11468
11470
  class: "wrap",
11469
11471
  style: Pt({
11470
11472
  width: ge.value
11471
11473
  })
11472
11474
  }, [
11473
- We(dt).isMobile ? (tt(), ut("div", Mn, [
11474
- Y.value ? (tt(), ut("a", {
11475
+ We(ot).isMobile ? (tt(), ct("div", Rn, [
11476
+ Y.value ? (tt(), ct("a", {
11475
11477
  key: 1,
11476
11478
  onClick: ve,
11477
11479
  title: "停止录制",
@@ -11482,7 +11484,7 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11482
11484
  width: 24,
11483
11485
  height: 24
11484
11486
  }, null, 8, ["src"])
11485
- ])) : (tt(), ut("a", {
11487
+ ])) : (tt(), ct("a", {
11486
11488
  key: 0,
11487
11489
  onClick: q,
11488
11490
  title: "开始录制",
@@ -11494,23 +11496,23 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11494
11496
  height: 24
11495
11497
  }, null, 8, ["src"])
11496
11498
  ])),
11497
- Rn
11498
- ])) : (tt(), ut("div", Cn, [
11499
- Ze("div", kn, [
11500
- An,
11501
- Ze("div", Bn, Jt(ie.value), 1)
11499
+ Cn
11500
+ ])) : (tt(), ct("div", kn, [
11501
+ Ze("div", An, [
11502
+ Bn,
11503
+ Ze("div", En, Jt(ie.value), 1)
11502
11504
  ]),
11503
- pe.value && !We(dt).isMobile ? (tt(), ut("div", En, [
11505
+ pe.value && !We(ot).isMobile ? (tt(), ct("div", Dn, [
11504
11506
  Ze("audio", {
11505
11507
  src: pe.value,
11506
11508
  controls: "",
11507
11509
  ref: "audio"
11508
- }, null, 8, Dn),
11510
+ }, null, 8, Ln),
11509
11511
  Ze("a", { onClick: he }, "转文本")
11510
11512
  ])) : Tt("", !0),
11511
- Ee.value ? (tt(), ut("div", Ln, Jt(Ee.value), 1)) : Tt("", !0),
11512
- Ze("div", In, [
11513
- Y.value ? (tt(), ut("a", {
11513
+ Ee.value ? (tt(), ct("div", In, Jt(Ee.value), 1)) : Tt("", !0),
11514
+ Ze("div", On, [
11515
+ Y.value ? (tt(), ct("a", {
11514
11516
  key: 1,
11515
11517
  onClick: ve,
11516
11518
  title: "停止录制",
@@ -11521,7 +11523,7 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11521
11523
  width: 24,
11522
11524
  height: 24
11523
11525
  }, null, 8, ["src"])
11524
- ])) : (tt(), ut("a", {
11526
+ ])) : (tt(), ct("a", {
11525
11527
  key: 0,
11526
11528
  onClick: q,
11527
11529
  title: "开始录制",
@@ -11541,7 +11543,7 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11541
11543
  disabled: !ce.value
11542
11544
  })
11543
11545
  }, " 插入音频 ", 2),
11544
- Ee.value ? (tt(), ut("a", {
11546
+ Ee.value ? (tt(), ct("a", {
11545
11547
  key: 2,
11546
11548
  onClick: b,
11547
11549
  class: Ot({
@@ -11561,8 +11563,8 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11561
11563
  })
11562
11564
  ], 4));
11563
11565
  }
11564
- }, Fn = /* @__PURE__ */ t0(On, [["__scopeId", "data-v-e59bd63b"]]);
11565
- var Da = { exports: {} };
11566
+ }, Nn = /* @__PURE__ */ t0(Fn, [["__scopeId", "data-v-e59bd63b"]]);
11567
+ var La = { exports: {} };
11566
11568
  (function(_) {
11567
11569
  /**
11568
11570
  * {@link https://github.com/muaz-khan/RecordRTC|RecordRTC} is a WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
@@ -14110,9 +14112,9 @@ var Da = { exports: {} };
14110
14112
  }, this.blob = null;
14111
14113
  }
14112
14114
  typeof $ < "u" && ($.WebAssemblyRecorder = se);
14113
- })(Da);
14114
- var Nn = Da.exports;
14115
- const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14115
+ })(La);
14116
+ var Hn = La.exports;
14117
+ const Yn = { class: "record-video" }, Vn = { class: "buttons" }, Pn = {
14116
14118
  __name: "video",
14117
14119
  props: {
14118
14120
  responsive: {
@@ -14122,14 +14124,14 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14122
14124
  },
14123
14125
  emits: ["finish", "cancel"],
14124
14126
  setup(_, { emit: $ }) {
14125
- const K = _, p = $, ue = ot(null), B = ot(null), ne = ot(!1), Y = ot(null), pe = ot("100vw"), ce = ot(null);
14127
+ const K = _, p = $, ue = lt(null), B = lt(null), ne = lt(!1), Y = lt(null), pe = lt("100vw"), ce = lt(null);
14126
14128
  async function ie() {
14127
14129
  pe.value = K.responsive ? "100vw" : `${document.querySelector(".record-tree").clientWidth}px`, B.value = await navigator.mediaDevices.getUserMedia({
14128
14130
  video: !0,
14129
14131
  audio: !0
14130
14132
  }), Ht(() => {
14131
14133
  Te();
14132
- }), ue.value = new Nn.RecordRTCPromisesHandler(B.value, {
14134
+ }), ue.value = new Hn.RecordRTCPromisesHandler(B.value, {
14133
14135
  type: "video",
14134
14136
  mimeType: "video/webm;codecs=vp9"
14135
14137
  });
@@ -14164,13 +14166,13 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14164
14166
  function ve() {
14165
14167
  p("cancel");
14166
14168
  }
14167
- return (Ae, b) => (tt(), ut("div", {
14169
+ return (Ae, b) => (tt(), ct("div", {
14168
14170
  class: "wrap",
14169
14171
  style: Pt({
14170
14172
  width: pe.value
14171
14173
  })
14172
14174
  }, [
14173
- Ze("div", Hn, [
14175
+ Ze("div", Yn, [
14174
14176
  Ze("video", {
14175
14177
  muted: !1,
14176
14178
  volume: 1,
@@ -14179,8 +14181,8 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14179
14181
  ref: ce,
14180
14182
  class: "video-item"
14181
14183
  }, null, 512),
14182
- Ze("div", Yn, [
14183
- ne.value ? (tt(), ut("a", {
14184
+ Ze("div", Vn, [
14185
+ ne.value ? (tt(), ct("a", {
14184
14186
  key: 1,
14185
14187
  onClick: Ee,
14186
14188
  title: "停止录制",
@@ -14191,7 +14193,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14191
14193
  width: 24,
14192
14194
  height: 24
14193
14195
  }, null, 8, ["src"])
14194
- ])) : (tt(), ut("a", {
14196
+ ])) : (tt(), ct("a", {
14195
14197
  key: 0,
14196
14198
  onClick: ge,
14197
14199
  title: "开始录制",
@@ -14222,7 +14224,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14222
14224
  })
14223
14225
  ], 4));
14224
14226
  }
14225
- }, Pn = /* @__PURE__ */ t0(Vn, [["__scopeId", "data-v-9c809fcc"]]), Un = { class: "record-video" }, zn = { class: "record-content" }, Gn = { class: "img-item" }, qn = ["src"], Wn = { class: "buttons" }, jn = {
14227
+ }, Un = /* @__PURE__ */ t0(Pn, [["__scopeId", "data-v-9c809fcc"]]), zn = { class: "record-video" }, Gn = { class: "record-content" }, qn = { class: "img-item" }, Wn = ["src"], jn = { class: "buttons" }, $n = {
14226
14228
  __name: "photo",
14227
14229
  props: {
14228
14230
  responsive: {
@@ -14232,7 +14234,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14232
14234
  },
14233
14235
  emits: ["finish", "cancel"],
14234
14236
  setup(_, { emit: $ }) {
14235
- const K = _, p = $, ue = ot(null), B = ot(null), ne = ot("100vw"), Y = ot(null), pe = ot(null);
14237
+ const K = _, p = $, ue = lt(null), B = lt(null), ne = lt("100vw"), Y = lt(null), pe = lt(null);
14236
14238
  _0(() => {
14237
14239
  var G;
14238
14240
  (G = B.value) == null || G.stop(), B.value = null;
@@ -14260,14 +14262,14 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14260
14262
  function Te() {
14261
14263
  p("cancel");
14262
14264
  }
14263
- return ce(), (G, q) => (tt(), ut("div", {
14265
+ return ce(), (G, q) => (tt(), ct("div", {
14264
14266
  class: "wrap",
14265
14267
  style: Pt({
14266
14268
  width: ne.value
14267
14269
  })
14268
14270
  }, [
14269
- Ze("div", Un, [
14270
- Ze("div", zn, [
14271
+ Ze("div", zn, [
14272
+ Ze("div", Gn, [
14271
14273
  Ze("video", {
14272
14274
  muted: !0,
14273
14275
  volume: 0,
@@ -14277,11 +14279,11 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14277
14279
  ref: Y,
14278
14280
  class: "video-item"
14279
14281
  }, null, 512),
14280
- Ze("div", Gn, [
14281
- ue.value ? (tt(), ut("img", {
14282
+ Ze("div", qn, [
14283
+ ue.value ? (tt(), ct("img", {
14282
14284
  key: 0,
14283
14285
  src: ue.value
14284
- }, null, 8, qn)) : Tt("", !0)
14286
+ }, null, 8, Wn)) : Tt("", !0)
14285
14287
  ])
14286
14288
  ]),
14287
14289
  Ze("canvas", {
@@ -14291,7 +14293,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14291
14293
  ref_key: "canvas",
14292
14294
  ref: pe
14293
14295
  }, null, 512),
14294
- Ze("div", Wn, [
14296
+ Ze("div", jn, [
14295
14297
  Ze("a", {
14296
14298
  onClick: ie,
14297
14299
  title: "拍照",
@@ -14322,27 +14324,27 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14322
14324
  })
14323
14325
  ], 4));
14324
14326
  }
14325
- }, $n = /* @__PURE__ */ t0(jn, [["__scopeId", "data-v-69fc6ef1"]]), Xn = {
14327
+ }, Xn = /* @__PURE__ */ t0($n, [["__scopeId", "data-v-69fc6ef1"]]), Kn = {
14326
14328
  key: 0,
14327
14329
  class: "record-tree-clipboard"
14328
- }, Kn = { class: "record-tree-clipboard-text" }, Zn = /* @__PURE__ */ Ze("p", null, "来源剪切板", -1), Qn = { class: "record-tree-clipboard-operation" }, Jn = { class: "top-bar-left" }, ei = {
14330
+ }, Zn = { class: "record-tree-clipboard-text" }, Qn = /* @__PURE__ */ Ze("p", null, "来源剪切板", -1), Jn = { class: "record-tree-clipboard-operation" }, ei = { class: "top-bar-left" }, ti = {
14329
14331
  key: 0,
14330
14332
  class: "top-bar-right"
14331
- }, ti = { id: "root_tree" }, ai = {
14333
+ }, ai = { id: "root_tree" }, ri = {
14332
14334
  key: 1,
14333
14335
  class: "record-tree-options"
14334
- }, ri = { class: "record-tree-option-left" }, ni = { class: "record-tree-option-left-fixed" }, ii = {
14336
+ }, ni = { class: "record-tree-option-left" }, ii = { class: "record-tree-option-left-fixed" }, si = {
14335
14337
  key: 0,
14336
14338
  class: "record-tree-option-item",
14337
14339
  title: "字体颜色",
14338
14340
  style: { position: "relative" }
14339
- }, si = {
14341
+ }, oi = {
14340
14342
  key: 0,
14341
14343
  class: "record-tree-option-right"
14342
- }, oi = { style: { display: "none" } }, li = {
14344
+ }, li = { style: { display: "none" } }, ui = {
14343
14345
  key: 5,
14344
14346
  class: "record-tree-lock"
14345
- }, ua = "KEY_PENDING_NODES", ui = "tree_title", xi = {
14347
+ }, ca = "KEY_PENDING_NODES", ci = "tree_title", Si = {
14346
14348
  __name: "record-tree",
14347
14349
  props: {
14348
14350
  note: {
@@ -14408,7 +14410,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14408
14410
  setup(_, { expose: $, emit: K }) {
14409
14411
  const p = _, ue = K;
14410
14412
  $({ focusTitle: ht, focusContent: U });
14411
- const B = ot([{ text: "", uuid: zt() }]), ne = ot(null), Y = ot(!1), pe = ot(!1), ce = ot(!1), ie = ot(!1), ge = ot(!1), Ee = ot(p.initialLock), Te = ot(!1), G = ot({}), q = ot(null), ve = ot(null), Ae = ot(null), b = ot(null), X = ot(null);
14413
+ const B = lt([{ text: "", uuid: zt() }]), ne = lt(null), Y = lt(!1), pe = lt(!1), ce = lt(!1), ie = lt(!1), ge = lt(!1), Ee = lt(p.initialLock), Te = lt(!1), G = lt({}), q = lt(null), ve = lt(null), Ae = lt(null), b = lt(null), X = lt(null);
14412
14414
  let he = null, W = null;
14413
14415
  const z = e0(() => !!R0(p.note).rel), ke = e0(() => ge.value ? !0 : ie.value || p.note.created_at);
14414
14416
  Wt(
@@ -14421,8 +14423,9 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14421
14423
  }), Wt(
14422
14424
  () => p.note.created_at,
14423
14425
  (x, m) => {
14424
- x !== m && (Ee.value = p.initialLock);
14425
- }
14426
+ x !== m && (Ee.value = p.initialLock), ot.noteCreatedAt = x;
14427
+ },
14428
+ { immediate: !0 }
14426
14429
  ), Wt(
14427
14430
  () => p.note,
14428
14431
  (x, m) => {
@@ -14451,7 +14454,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14451
14454
  he && (clearTimeout(he), he = null), ae();
14452
14455
  });
14453
14456
  function Ye() {
14454
- typeof p.mobile == "boolean" && (dt.isMobile = p.mobile);
14457
+ typeof p.mobile == "boolean" && (ot.isMobile = p.mobile);
14455
14458
  }
14456
14459
  function Ve(x) {
14457
14460
  if (!x)
@@ -14541,7 +14544,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14541
14544
  });
14542
14545
  }
14543
14546
  function T(x) {
14544
- const m = dt.currentId;
14547
+ const m = ot.currentId;
14545
14548
  m && !Ee.value && Xt({ uuid: m }).dispatchEvent(x);
14546
14549
  }
14547
14550
  function e() {
@@ -14581,7 +14584,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14581
14584
  T(x);
14582
14585
  }
14583
14586
  function k() {
14584
- return m0[dt.currentId];
14587
+ return m0[ot.currentId];
14585
14588
  }
14586
14589
  function Z() {
14587
14590
  const x = k();
@@ -14604,7 +14607,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14604
14607
  m && !m.contains(x.target) && ae();
14605
14608
  }
14606
14609
  function De(x) {
14607
- dt.isMobile || p.readOnly || z.value || (x.preventDefault(), x.stopPropagation(), ae(), G.value = {
14610
+ ot.isMobile || p.readOnly || z.value || (x.preventDefault(), x.stopPropagation(), ae(), G.value = {
14608
14611
  left: `${x.clientX}px`,
14609
14612
  top: `${x.clientY}px`
14610
14613
  }, Te.value = !0, Ht(() => {
@@ -14621,16 +14624,16 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14621
14624
  Ee.value || Ae.value && Ae.value.click();
14622
14625
  }
14623
14626
  function Ne() {
14624
- Ee.value || (dt.isMobile ? X.value.click() : pe.value = !0);
14627
+ Ee.value || (ot.isMobile ? X.value.click() : pe.value = !0);
14625
14628
  }
14626
14629
  function ye() {
14627
14630
  Ee.value || (Y.value = !0);
14628
14631
  }
14629
14632
  function te() {
14630
- Ee.value || (dt.isMobile ? b.value.click() : ce.value = !0);
14633
+ Ee.value || (ot.isMobile ? b.value.click() : ce.value = !0);
14631
14634
  }
14632
14635
  function Be(x) {
14633
- typeof x == "string" ? dt.currentId === "" ? et(x) : q.value.appendNode({
14636
+ typeof x == "string" ? ot.currentId === "" ? et(x) : q.value.appendNode({
14634
14637
  uuid: zt(),
14635
14638
  text: x
14636
14639
  }) : Oe(x);
@@ -14639,9 +14642,9 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14639
14642
  if (!x.length)
14640
14643
  return;
14641
14644
  const le = Array.from(x).map(async (re) => {
14642
- const D = ma(re.type), we = URL.createObjectURL(re);
14645
+ const D = _a(re.type), we = URL.createObjectURL(re);
14643
14646
  let L = {};
14644
- switch ((D.mainType === "image" || D.mainType === "video") && (L = await _a(re, D.mainType)), D.mainType) {
14647
+ switch ((D.mainType === "image" || D.mainType === "video") && (L = await pa(re, D.mainType)), D.mainType) {
14645
14648
  case "image":
14646
14649
  case "audio":
14647
14650
  case "video":
@@ -14662,13 +14665,13 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14662
14665
  pending: !0
14663
14666
  };
14664
14667
  }
14665
- }), w = await Promise.all(le), N = dt.currentId === ui;
14668
+ }), w = await Promise.all(le), N = ot.currentId === ci;
14666
14669
  m ? m(w) : w.forEach((re, D) => {
14667
14670
  D === 0 && N ? et(re) : q.value.appendNode(re);
14668
14671
  });
14669
14672
  const me = p.note.created_at;
14670
14673
  let F = !1;
14671
- pa.uploadFile(x, (re, D) => {
14674
+ ba.uploadFile(x, (re, D) => {
14672
14675
  D && D.forEach((we, L) => {
14673
14676
  const H = w[L], t = we.data, o = N && L === 0;
14674
14677
  if (we.code === 0) {
@@ -14692,13 +14695,13 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14692
14695
  function j(x, m) {
14693
14696
  if (!x)
14694
14697
  return;
14695
- const le = `${ua}_${x}`, w = JSON.parse(window.localStorage.getItem(le) || "[]");
14698
+ const le = `${ca}_${x}`, w = JSON.parse(window.localStorage.getItem(le) || "[]");
14696
14699
  w.push(m), window.localStorage.setItem(le, JSON.stringify(w));
14697
14700
  }
14698
14701
  function fe(x) {
14699
14702
  if (!x)
14700
14703
  return;
14701
- const m = `${ua}_${x}`, le = window.localStorage.getItem(m);
14704
+ const m = `${ca}_${x}`, le = window.localStorage.getItem(m);
14702
14705
  le && Ht(() => {
14703
14706
  const w = JSON.parse(le);
14704
14707
  window.localStorage.removeItem(m), w.forEach((N) => {
@@ -14712,18 +14715,18 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14712
14715
  function A() {
14713
14716
  ge.value = !1, ht();
14714
14717
  }
14715
- return (x, m) => (tt(), ut("div", {
14718
+ return (x, m) => (tt(), ct("div", {
14716
14719
  class: Ot({
14717
14720
  "record-tree-container": !0,
14718
- "record-tree-mobile": We(dt).isMobile
14721
+ "record-tree-mobile": We(ot).isMobile
14719
14722
  })
14720
14723
  }, [
14721
- ge.value ? (tt(), ut("div", Xn, [
14722
- Ze("div", Kn, [
14723
- Zn,
14724
+ ge.value ? (tt(), ct("div", Kn, [
14725
+ Ze("div", Zn, [
14726
+ Qn,
14724
14727
  Ze("div", null, Jt(p.clipboard), 1)
14725
14728
  ]),
14726
- Ze("div", Qn, [
14729
+ Ze("div", Jn, [
14727
14730
  bt(We(At), {
14728
14731
  src: We(xt).close,
14729
14732
  width: 20,
@@ -14751,13 +14754,13 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14751
14754
  ),
14752
14755
  onMouseenter: Pe
14753
14756
  }, [
14754
- _.showTitle ? (tt(), ut("div", {
14757
+ _.showTitle ? (tt(), ct("div", {
14755
14758
  key: 0,
14756
14759
  class: "top-bar",
14757
14760
  onContextmenu: De
14758
14761
  }, [
14759
- Ze("div", Jn, [
14760
- bt(We(on), {
14762
+ Ze("div", ei, [
14763
+ bt(We(ln), {
14761
14764
  ref_key: "titleEditor",
14762
14765
  ref: ve,
14763
14766
  tags: _.tags,
@@ -14770,13 +14773,13 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14770
14773
  onDbEnter: He
14771
14774
  }, null, 8, ["tags", "readOnly", "enableDbEnter", "note"])
14772
14775
  ]),
14773
- z.value ? (tt(), ut("div", ei, [
14776
+ z.value ? (tt(), ct("div", ti, [
14774
14777
  bt(We(At), {
14775
14778
  src: We(xt).relate,
14776
14779
  width: 20,
14777
14780
  height: 20
14778
14781
  }, null, 8, ["src"])
14779
- ])) : _.readOnly ? Tt("", !0) : (tt(), ut("div", {
14782
+ ])) : _.readOnly ? Tt("", !0) : (tt(), ct("div", {
14780
14783
  key: 1,
14781
14784
  class: "top-bar-right",
14782
14785
  onClick: s
@@ -14793,15 +14796,15 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14793
14796
  class: "record-tree-main",
14794
14797
  onContextmenu: De
14795
14798
  }, [
14796
- Ze("div", ti, [
14797
- bt(rn, {
14799
+ Ze("div", ai, [
14800
+ bt(nn, {
14798
14801
  ref_key: "tree",
14799
14802
  ref: q,
14800
14803
  nodes: B.value,
14801
14804
  tags: _.tags,
14802
14805
  readOnly: _.readOnly || Ee.value,
14803
14806
  enableDbEnter: _.enableDbEnter,
14804
- isMobile: We(dt).isMobile,
14807
+ isMobile: We(ot).isMobile,
14805
14808
  onChange: se,
14806
14809
  onFileUpload: Oe,
14807
14810
  onDbEnter: m[0] || (m[0] = (le) => x.$emit("dbEnter"))
@@ -14809,9 +14812,9 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14809
14812
  ])
14810
14813
  ], 32)
14811
14814
  ], 38),
14812
- _.bar && !_.readOnly ? (tt(), ut("div", ai, [
14813
- Ze("div", ri, [
14814
- Ze("div", ni, [
14815
+ _.bar && !_.readOnly ? (tt(), ct("div", ri, [
14816
+ Ze("div", ni, [
14817
+ Ze("div", ii, [
14815
14818
  Ze("div", {
14816
14819
  class: "record-tree-option-item",
14817
14820
  onClick: e,
@@ -14860,7 +14863,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14860
14863
  Ze("div", {
14861
14864
  class: Ot({
14862
14865
  "record-tree-option-left-scroll": !0,
14863
- "record-tree-option-left-scroll-mobile": We(dt).isMobile
14866
+ "record-tree-option-left-scroll-mobile": We(ot).isMobile
14864
14867
  })
14865
14868
  }, [
14866
14869
  Ze("div", {
@@ -14874,12 +14877,12 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14874
14877
  height: 20
14875
14878
  }, null, 8, ["src"])
14876
14879
  ]),
14877
- We(dt).isMobile ? Tt("", !0) : (tt(), ut("div", ii, [
14878
- bt(We(da), {
14880
+ We(ot).isMobile ? Tt("", !0) : (tt(), ct("div", si, [
14881
+ bt(We(fa), {
14879
14882
  placement: "top",
14880
14883
  hover: !0,
14881
14884
  arrow: !0
14882
- }, ca({
14885
+ }, da({
14883
14886
  default: M0(() => [
14884
14887
  bt(We(At), {
14885
14888
  src: We(xt).color,
@@ -14892,7 +14895,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14892
14895
  Ee.value ? void 0 : {
14893
14896
  name: "content",
14894
14897
  fn: M0(() => [
14895
- bt(We(Sr), { onChange: M })
14898
+ bt(We(Tr), { onChange: M })
14896
14899
  ]),
14897
14900
  key: "0"
14898
14901
  }
@@ -14944,13 +14947,13 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14944
14947
  ])
14945
14948
  ], 2)
14946
14949
  ]),
14947
- We(dt).isMobile ? (tt(), ut("div", si, [
14950
+ We(ot).isMobile ? (tt(), ct("div", oi, [
14948
14951
  Ze("div", {
14949
14952
  class: "record-tree-option-item",
14950
14953
  onClick: Dt(be, ["stop"])
14951
14954
  }, Jt(ke.value ? "完成" : "取消"), 1)
14952
14955
  ])) : Tt("", !0),
14953
- Ze("div", oi, [
14956
+ Ze("div", li, [
14954
14957
  Ze("input", {
14955
14958
  type: "file",
14956
14959
  ref_key: "selectFile",
@@ -14975,28 +14978,28 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14975
14978
  }, null, 544)
14976
14979
  ])
14977
14980
  ])) : Tt("", !0),
14978
- Y.value ? (tt(), Ut(We(Fn), {
14981
+ Y.value ? (tt(), Ut(We(Nn), {
14979
14982
  key: 2,
14980
- isMobile: We(dt).isMobile,
14983
+ isMobile: We(ot).isMobile,
14981
14984
  responsive: _.responsive,
14982
14985
  onFinish: Be,
14983
14986
  onCancel: m[4] || (m[4] = (le) => Y.value = !1)
14984
14987
  }, null, 8, ["isMobile", "responsive"])) : Tt("", !0),
14985
- pe.value ? (tt(), Ut(We(Pn), {
14988
+ pe.value ? (tt(), Ut(We(Un), {
14986
14989
  key: 3,
14987
14990
  responsive: _.responsive,
14988
14991
  onFinish: Oe,
14989
14992
  onCancel: m[5] || (m[5] = (le) => pe.value = !1)
14990
14993
  }, null, 8, ["responsive"])) : Tt("", !0),
14991
- ce.value ? (tt(), Ut(We($n), {
14994
+ ce.value ? (tt(), Ut(We(Xn), {
14992
14995
  key: 4,
14993
14996
  responsive: _.responsive,
14994
14997
  onFinish: Oe,
14995
14998
  onCancel: m[6] || (m[6] = (le) => ce.value = !1)
14996
14999
  }, null, 8, ["responsive"])) : Tt("", !0),
14997
- Ee.value && !z.value ? (tt(), ut("div", li)) : Tt("", !0),
14998
- (tt(), Ut(Ha, { to: "body" }, [
14999
- Te.value && !_.readOnly && !z.value && !We(dt).isMobile ? (tt(), ut("div", {
15000
+ Ee.value && !z.value ? (tt(), ct("div", ui)) : Tt("", !0),
15001
+ (tt(), Ut(Ya, { to: "body" }, [
15002
+ Te.value && !_.readOnly && !z.value && !We(ot).isMobile ? (tt(), ct("div", {
15000
15003
  key: 0,
15001
15004
  class: "record-tree-context-menu",
15002
15005
  style: Pt(G.value),
@@ -15023,9 +15026,9 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
15023
15026
  }
15024
15027
  };
15025
15028
  export {
15026
- Fn as RecordAudio,
15027
- $n as RecordPhoto,
15028
- xi as RecordTree,
15029
- Pn as RecordVideo,
15030
- qr as TextEditor
15029
+ Nn as RecordAudio,
15030
+ Xn as RecordPhoto,
15031
+ Si as RecordTree,
15032
+ Un as RecordVideo,
15033
+ Wr as TextEditor
15031
15034
  };